Documentation ¶
Overview ¶
Package dialogflow provides access to the Dialogflow API.
This package is DEPRECATED. Use package cloud.google.com/go/dialogflow/apiv2 instead.
For product documentation, see: https://cloud.google.com/dialogflow/
Creating a client ¶
Usage example:
import "google.golang.org/api/dialogflow/v3beta1" ... ctx := context.Background() dialogflowService, err := dialogflow.NewService(ctx)
In this example, Google Application Default Credentials are used for authentication.
For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options ¶
By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
dialogflowService, err := dialogflow.NewService(ctx, option.WithScopes(dialogflow.DialogflowScope))
To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
dialogflowService, err := dialogflow.NewService(ctx, option.WithAPIKey("AIza..."))
To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) dialogflowService, err := dialogflow.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See https://godoc.org/google.golang.org/api/option/ for details on options.
Index ¶
- Constants
- type GoogleCloudDialogflowCxV3AudioInput
- type GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata
- type GoogleCloudDialogflowCxV3BatchRunTestCasesResponse
- type GoogleCloudDialogflowCxV3ContinuousTestResult
- type GoogleCloudDialogflowCxV3ConversationTurn
- type GoogleCloudDialogflowCxV3ConversationTurnUserInput
- type GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput
- type GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata
- type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata
- type GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata
- type GoogleCloudDialogflowCxV3DtmfInput
- type GoogleCloudDialogflowCxV3EventHandler
- type GoogleCloudDialogflowCxV3EventInput
- type GoogleCloudDialogflowCxV3ExportAgentResponse
- type GoogleCloudDialogflowCxV3ExportFlowResponse
- type GoogleCloudDialogflowCxV3ExportTestCasesMetadata
- type GoogleCloudDialogflowCxV3ExportTestCasesResponse
- type GoogleCloudDialogflowCxV3Form
- type GoogleCloudDialogflowCxV3FormParameter
- type GoogleCloudDialogflowCxV3FormParameterFillBehavior
- type GoogleCloudDialogflowCxV3Fulfillment
- type GoogleCloudDialogflowCxV3FulfillmentConditionalCases
- type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase
- type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent
- type GoogleCloudDialogflowCxV3FulfillmentSetParameterAction
- type GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
- type GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata
- type GoogleCloudDialogflowCxV3ImportDocumentsResponse
- type GoogleCloudDialogflowCxV3ImportFlowResponse
- type GoogleCloudDialogflowCxV3ImportTestCasesMetadata
- type GoogleCloudDialogflowCxV3ImportTestCasesResponse
- type GoogleCloudDialogflowCxV3InputAudioConfig
- type GoogleCloudDialogflowCxV3Intent
- type GoogleCloudDialogflowCxV3IntentInput
- type GoogleCloudDialogflowCxV3IntentParameter
- type GoogleCloudDialogflowCxV3IntentTrainingPhrase
- type GoogleCloudDialogflowCxV3IntentTrainingPhrasePart
- type GoogleCloudDialogflowCxV3Page
- type GoogleCloudDialogflowCxV3PageInfo
- type GoogleCloudDialogflowCxV3PageInfoFormInfo
- type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo
- type GoogleCloudDialogflowCxV3QueryInput
- type GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata
- type GoogleCloudDialogflowCxV3ResponseMessage
- type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess
- type GoogleCloudDialogflowCxV3ResponseMessageEndInteraction
- type GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
- type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio
- type GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment
- type GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText
- type GoogleCloudDialogflowCxV3ResponseMessagePlayAudio
- type GoogleCloudDialogflowCxV3ResponseMessageText
- type GoogleCloudDialogflowCxV3RunContinuousTestMetadata
- type GoogleCloudDialogflowCxV3RunContinuousTestResponse
- type GoogleCloudDialogflowCxV3RunTestCaseMetadata
- type GoogleCloudDialogflowCxV3RunTestCaseResponse
- type GoogleCloudDialogflowCxV3SessionInfo
- type GoogleCloudDialogflowCxV3TestCase
- type GoogleCloudDialogflowCxV3TestCaseError
- type GoogleCloudDialogflowCxV3TestCaseResult
- type GoogleCloudDialogflowCxV3TestConfig
- type GoogleCloudDialogflowCxV3TestError
- type GoogleCloudDialogflowCxV3TestRunDifference
- type GoogleCloudDialogflowCxV3TextInput
- type GoogleCloudDialogflowCxV3TransitionRoute
- type GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
- type GoogleCloudDialogflowCxV3WebhookRequest
- type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo
- type GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
- type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue
- type GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult
- type GoogleCloudDialogflowCxV3WebhookResponse
- type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse
- type GoogleCloudDialogflowCxV3beta1Agent
- type GoogleCloudDialogflowCxV3beta1AgentValidationResult
- type GoogleCloudDialogflowCxV3beta1AudioInput
- type GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest
- type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata
- type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest
- type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse
- type GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse
- type GoogleCloudDialogflowCxV3beta1ContinuousTestResult
- type GoogleCloudDialogflowCxV3beta1ConversationTurn
- type GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
- type GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput
- type GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata
- type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
- type GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
- type GoogleCloudDialogflowCxV3beta1DetectIntentRequest
- type GoogleCloudDialogflowCxV3beta1DetectIntentResponse
- type GoogleCloudDialogflowCxV3beta1DtmfInput
- type GoogleCloudDialogflowCxV3beta1EntityType
- type GoogleCloudDialogflowCxV3beta1EntityTypeEntity
- type GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase
- type GoogleCloudDialogflowCxV3beta1Environment
- type GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
- type GoogleCloudDialogflowCxV3beta1EventHandler
- type GoogleCloudDialogflowCxV3beta1EventInput
- type GoogleCloudDialogflowCxV3beta1Experiment
- type GoogleCloudDialogflowCxV3beta1ExperimentDefinition
- type GoogleCloudDialogflowCxV3beta1ExperimentResult
- type GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval
- type GoogleCloudDialogflowCxV3beta1ExperimentResultMetric
- type GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics
- type GoogleCloudDialogflowCxV3beta1ExportAgentRequest
- type GoogleCloudDialogflowCxV3beta1ExportAgentResponse
- type GoogleCloudDialogflowCxV3beta1ExportFlowRequest
- type GoogleCloudDialogflowCxV3beta1ExportFlowResponse
- type GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
- type GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest
- type GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse
- type GoogleCloudDialogflowCxV3beta1Flow
- type GoogleCloudDialogflowCxV3beta1FlowValidationResult
- type GoogleCloudDialogflowCxV3beta1Form
- type GoogleCloudDialogflowCxV3beta1FormParameter
- type GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior
- type GoogleCloudDialogflowCxV3beta1FulfillIntentRequest
- type GoogleCloudDialogflowCxV3beta1FulfillIntentResponse
- type GoogleCloudDialogflowCxV3beta1Fulfillment
- type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases
- type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase
- type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent
- type GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction
- type GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
- type GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata
- type GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse
- type GoogleCloudDialogflowCxV3beta1ImportFlowRequest
- type GoogleCloudDialogflowCxV3beta1ImportFlowResponse
- type GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
- type GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest
- type GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse
- type GoogleCloudDialogflowCxV3beta1InputAudioConfig
- type GoogleCloudDialogflowCxV3beta1Intent
- type GoogleCloudDialogflowCxV3beta1IntentCoverage
- type GoogleCloudDialogflowCxV3beta1IntentCoverageIntent
- type GoogleCloudDialogflowCxV3beta1IntentInput
- type GoogleCloudDialogflowCxV3beta1IntentParameter
- type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase
- type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart
- type GoogleCloudDialogflowCxV3beta1ListAgentsResponse
- type GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse
- type GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse
- type GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse
- type GoogleCloudDialogflowCxV3beta1ListExperimentsResponse
- type GoogleCloudDialogflowCxV3beta1ListFlowsResponse
- type GoogleCloudDialogflowCxV3beta1ListIntentsResponse
- type GoogleCloudDialogflowCxV3beta1ListPagesResponse
- type GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse
- type GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse
- type GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse
- type GoogleCloudDialogflowCxV3beta1ListTestCasesResponse
- type GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse
- type GoogleCloudDialogflowCxV3beta1ListVersionsResponse
- type GoogleCloudDialogflowCxV3beta1ListWebhooksResponse
- type GoogleCloudDialogflowCxV3beta1LoadVersionRequest
- type GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse
- type GoogleCloudDialogflowCxV3beta1Match
- type GoogleCloudDialogflowCxV3beta1MatchIntentRequest
- type GoogleCloudDialogflowCxV3beta1MatchIntentResponse
- type GoogleCloudDialogflowCxV3beta1NluSettings
- type GoogleCloudDialogflowCxV3beta1OutputAudioConfig
- type GoogleCloudDialogflowCxV3beta1Page
- type GoogleCloudDialogflowCxV3beta1PageInfo
- type GoogleCloudDialogflowCxV3beta1PageInfoFormInfo
- type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo
- type GoogleCloudDialogflowCxV3beta1QueryInput
- type GoogleCloudDialogflowCxV3beta1QueryParameters
- type GoogleCloudDialogflowCxV3beta1QueryResult
- type GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata
- type GoogleCloudDialogflowCxV3beta1ResourceName
- type GoogleCloudDialogflowCxV3beta1ResponseMessage
- type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess
- type GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction
- type GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
- type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio
- type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment
- type GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
- type GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
- type GoogleCloudDialogflowCxV3beta1ResponseMessageText
- type GoogleCloudDialogflowCxV3beta1RestoreAgentRequest
- type GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
- type GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest
- type GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
- type GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
- type GoogleCloudDialogflowCxV3beta1RunTestCaseRequest
- type GoogleCloudDialogflowCxV3beta1RunTestCaseResponse
- type GoogleCloudDialogflowCxV3beta1SecuritySettings
- type GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult
- type GoogleCloudDialogflowCxV3beta1SessionEntityType
- type GoogleCloudDialogflowCxV3beta1SessionInfo
- type GoogleCloudDialogflowCxV3beta1SpeechToTextSettings
- type GoogleCloudDialogflowCxV3beta1StartExperimentRequest
- type GoogleCloudDialogflowCxV3beta1StopExperimentRequest
- type GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig
- type GoogleCloudDialogflowCxV3beta1TestCase
- type GoogleCloudDialogflowCxV3beta1TestCaseError
- type GoogleCloudDialogflowCxV3beta1TestCaseResult
- type GoogleCloudDialogflowCxV3beta1TestConfig
- type GoogleCloudDialogflowCxV3beta1TestError
- type GoogleCloudDialogflowCxV3beta1TestRunDifference
- type GoogleCloudDialogflowCxV3beta1TextInput
- type GoogleCloudDialogflowCxV3beta1TrainFlowRequest
- type GoogleCloudDialogflowCxV3beta1TransitionCoverage
- type GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition
- type GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode
- type GoogleCloudDialogflowCxV3beta1TransitionRoute
- type GoogleCloudDialogflowCxV3beta1TransitionRouteGroup
- type GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage
- type GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage
- type GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition
- type GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata
- type GoogleCloudDialogflowCxV3beta1ValidateAgentRequest
- type GoogleCloudDialogflowCxV3beta1ValidateFlowRequest
- type GoogleCloudDialogflowCxV3beta1ValidationMessage
- type GoogleCloudDialogflowCxV3beta1VariantsHistory
- type GoogleCloudDialogflowCxV3beta1Version
- type GoogleCloudDialogflowCxV3beta1VersionVariants
- type GoogleCloudDialogflowCxV3beta1VersionVariantsVariant
- type GoogleCloudDialogflowCxV3beta1VoiceSelectionParams
- type GoogleCloudDialogflowCxV3beta1Webhook
- type GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
- type GoogleCloudDialogflowCxV3beta1WebhookRequest
- type GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo
- type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
- type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue
- type GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult
- type GoogleCloudDialogflowCxV3beta1WebhookResponse
- type GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse
- type GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
- type GoogleCloudDialogflowV2AnnotatedMessagePart
- type GoogleCloudDialogflowV2ArticleAnswer
- type GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
- type GoogleCloudDialogflowV2BatchUpdateIntentsResponse
- type GoogleCloudDialogflowV2Context
- type GoogleCloudDialogflowV2ConversationEvent
- type GoogleCloudDialogflowV2EntityType
- type GoogleCloudDialogflowV2EntityTypeEntity
- type GoogleCloudDialogflowV2EventInput
- type GoogleCloudDialogflowV2ExportAgentResponse
- type GoogleCloudDialogflowV2FaqAnswer
- type GoogleCloudDialogflowV2HumanAgentAssistantEvent
- type GoogleCloudDialogflowV2Intent
- type GoogleCloudDialogflowV2IntentFollowupIntentInfo
- type GoogleCloudDialogflowV2IntentMessage
- type GoogleCloudDialogflowV2IntentMessageBasicCard
- type GoogleCloudDialogflowV2IntentMessageBasicCardButton
- type GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction
- type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard
- type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem
- type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction
- type GoogleCloudDialogflowV2IntentMessageCard
- type GoogleCloudDialogflowV2IntentMessageCardButton
- type GoogleCloudDialogflowV2IntentMessageCarouselSelect
- type GoogleCloudDialogflowV2IntentMessageCarouselSelectItem
- type GoogleCloudDialogflowV2IntentMessageColumnProperties
- type GoogleCloudDialogflowV2IntentMessageImage
- type GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion
- type GoogleCloudDialogflowV2IntentMessageListSelect
- type GoogleCloudDialogflowV2IntentMessageListSelectItem
- type GoogleCloudDialogflowV2IntentMessageMediaContent
- type GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject
- type GoogleCloudDialogflowV2IntentMessageQuickReplies
- type GoogleCloudDialogflowV2IntentMessageSelectItemInfo
- type GoogleCloudDialogflowV2IntentMessageSimpleResponse
- type GoogleCloudDialogflowV2IntentMessageSimpleResponses
- type GoogleCloudDialogflowV2IntentMessageSuggestion
- type GoogleCloudDialogflowV2IntentMessageSuggestions
- type GoogleCloudDialogflowV2IntentMessageTableCard
- type GoogleCloudDialogflowV2IntentMessageTableCardCell
- type GoogleCloudDialogflowV2IntentMessageTableCardRow
- type GoogleCloudDialogflowV2IntentMessageText
- type GoogleCloudDialogflowV2IntentParameter
- type GoogleCloudDialogflowV2IntentTrainingPhrase
- type GoogleCloudDialogflowV2IntentTrainingPhrasePart
- type GoogleCloudDialogflowV2KnowledgeOperationMetadata
- type GoogleCloudDialogflowV2Message
- type GoogleCloudDialogflowV2MessageAnnotation
- type GoogleCloudDialogflowV2OriginalDetectIntentRequest
- type GoogleCloudDialogflowV2QueryResult
- type GoogleCloudDialogflowV2Sentiment
- type GoogleCloudDialogflowV2SentimentAnalysisResult
- type GoogleCloudDialogflowV2SessionEntityType
- type GoogleCloudDialogflowV2SuggestArticlesResponse
- type GoogleCloudDialogflowV2SuggestFaqAnswersResponse
- type GoogleCloudDialogflowV2SuggestionResult
- type GoogleCloudDialogflowV2WebhookRequest
- type GoogleCloudDialogflowV2WebhookResponse
- type GoogleCloudDialogflowV2beta1AnnotatedMessagePart
- type GoogleCloudDialogflowV2beta1ArticleAnswer
- type GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
- type GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse
- type GoogleCloudDialogflowV2beta1Context
- type GoogleCloudDialogflowV2beta1ConversationEvent
- type GoogleCloudDialogflowV2beta1EntityType
- type GoogleCloudDialogflowV2beta1EntityTypeEntity
- type GoogleCloudDialogflowV2beta1EventInput
- type GoogleCloudDialogflowV2beta1ExportAgentResponse
- type GoogleCloudDialogflowV2beta1FaqAnswer
- type GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
- type GoogleCloudDialogflowV2beta1ImportDocumentsResponse
- type GoogleCloudDialogflowV2beta1Intent
- type GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo
- type GoogleCloudDialogflowV2beta1IntentMessage
- type GoogleCloudDialogflowV2beta1IntentMessageBasicCard
- type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton
- type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction
- type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard
- type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem
- type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction
- type GoogleCloudDialogflowV2beta1IntentMessageCard
- type GoogleCloudDialogflowV2beta1IntentMessageCardButton
- type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect
- type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem
- type GoogleCloudDialogflowV2beta1IntentMessageColumnProperties
- type GoogleCloudDialogflowV2beta1IntentMessageImage
- type GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion
- type GoogleCloudDialogflowV2beta1IntentMessageListSelect
- type GoogleCloudDialogflowV2beta1IntentMessageListSelectItem
- type GoogleCloudDialogflowV2beta1IntentMessageMediaContent
- type GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject
- type GoogleCloudDialogflowV2beta1IntentMessageQuickReplies
- type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent
- type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia
- type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
- type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard
- type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
- type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial
- type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri
- type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation
- type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
- type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion
- type GoogleCloudDialogflowV2beta1IntentMessageRbmText
- type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
- type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
- type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses
- type GoogleCloudDialogflowV2beta1IntentMessageSuggestion
- type GoogleCloudDialogflowV2beta1IntentMessageSuggestions
- type GoogleCloudDialogflowV2beta1IntentMessageTableCard
- type GoogleCloudDialogflowV2beta1IntentMessageTableCardCell
- type GoogleCloudDialogflowV2beta1IntentMessageTableCardRow
- type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
- type GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech
- type GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall
- type GoogleCloudDialogflowV2beta1IntentMessageText
- type GoogleCloudDialogflowV2beta1IntentParameter
- type GoogleCloudDialogflowV2beta1IntentTrainingPhrase
- type GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart
- type GoogleCloudDialogflowV2beta1KnowledgeAnswers
- type GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
- type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
- type GoogleCloudDialogflowV2beta1Message
- type GoogleCloudDialogflowV2beta1MessageAnnotation
- type GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
- type GoogleCloudDialogflowV2beta1QueryResult
- type GoogleCloudDialogflowV2beta1Sentiment
- type GoogleCloudDialogflowV2beta1SentimentAnalysisResult
- type GoogleCloudDialogflowV2beta1SessionEntityType
- type GoogleCloudDialogflowV2beta1SmartReplyAnswer
- type GoogleCloudDialogflowV2beta1SuggestArticlesResponse
- type GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse
- type GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
- type GoogleCloudDialogflowV2beta1SuggestionResult
- type GoogleCloudDialogflowV2beta1WebhookRequest
- type GoogleCloudDialogflowV2beta1WebhookResponse
- type GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata
- type GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata
- type GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata
- type GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata
- type GoogleCloudDialogflowV3alpha1ImportDocumentsResponse
- type GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata
- type GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata
- type GoogleLongrunningListOperationsResponse
- type GoogleLongrunningOperation
- type GoogleProtobufEmpty
- type GoogleRpcStatus
- type GoogleTypeLatLng
- type ProjectsLocationsAgentsCreateCall
- func (c *ProjectsLocationsAgentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsCreateCall
- func (c *ProjectsLocationsAgentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Agent, error)
- func (c *ProjectsLocationsAgentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsCreateCall
- func (c *ProjectsLocationsAgentsCreateCall) Header() http.Header
- type ProjectsLocationsAgentsDeleteCall
- func (c *ProjectsLocationsAgentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsDeleteCall
- func (c *ProjectsLocationsAgentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsDeleteCall
- func (c *ProjectsLocationsAgentsDeleteCall) Header() http.Header
- type ProjectsLocationsAgentsEntityTypesCreateCall
- func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesCreateCall
- func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1EntityType, error)
- func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesCreateCall
- func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Header() http.Header
- func (c *ProjectsLocationsAgentsEntityTypesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesCreateCall
- type ProjectsLocationsAgentsEntityTypesDeleteCall
- func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesDeleteCall
- func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesDeleteCall
- func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Force(force bool) *ProjectsLocationsAgentsEntityTypesDeleteCall
- func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Header() http.Header
- type ProjectsLocationsAgentsEntityTypesGetCall
- func (c *ProjectsLocationsAgentsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesGetCall
- func (c *ProjectsLocationsAgentsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1EntityType, error)
- func (c *ProjectsLocationsAgentsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesGetCall
- func (c *ProjectsLocationsAgentsEntityTypesGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEntityTypesGetCall
- func (c *ProjectsLocationsAgentsEntityTypesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesGetCall
- type ProjectsLocationsAgentsEntityTypesListCall
- func (c *ProjectsLocationsAgentsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesListCall
- func (c *ProjectsLocationsAgentsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse, error)
- func (c *ProjectsLocationsAgentsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesListCall
- func (c *ProjectsLocationsAgentsEntityTypesListCall) Header() http.Header
- func (c *ProjectsLocationsAgentsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEntityTypesListCall
- func (c *ProjectsLocationsAgentsEntityTypesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesListCall
- func (c *ProjectsLocationsAgentsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEntityTypesListCall
- func (c *ProjectsLocationsAgentsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEntityTypesListCall
- func (c *ProjectsLocationsAgentsEntityTypesListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentsEntityTypesPatchCall
- func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesPatchCall
- func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1EntityType, error)
- func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesPatchCall
- func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentsEntityTypesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesPatchCall
- func (c *ProjectsLocationsAgentsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEntityTypesPatchCall
- type ProjectsLocationsAgentsEntityTypesService
- func (r *ProjectsLocationsAgentsEntityTypesService) Create(parent string, ...) *ProjectsLocationsAgentsEntityTypesCreateCall
- func (r *ProjectsLocationsAgentsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEntityTypesDeleteCall
- func (r *ProjectsLocationsAgentsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEntityTypesGetCall
- func (r *ProjectsLocationsAgentsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEntityTypesListCall
- func (r *ProjectsLocationsAgentsEntityTypesService) Patch(nameid string, ...) *ProjectsLocationsAgentsEntityTypesPatchCall
- type ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall
- func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall
- func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse, error)
- func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall
- func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) Header() http.Header
- func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall
- func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall
- func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall
- func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentsEnvironmentsContinuousTestResultsService
- type ProjectsLocationsAgentsEnvironmentsCreateCall
- func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsCreateCall
- func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsCreateCall
- func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Header() http.Header
- type ProjectsLocationsAgentsEnvironmentsDeleteCall
- func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsDeleteCall
- func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsDeleteCall
- func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Header() http.Header
- type ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Experiment, error)
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall) Header() http.Header
- type ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall) Header() http.Header
- type ProjectsLocationsAgentsEnvironmentsExperimentsGetCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Experiment, error)
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall
- type ProjectsLocationsAgentsEnvironmentsExperimentsListCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsListCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListExperimentsResponse, error)
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsListCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) Header() http.Header
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsExperimentsListCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsExperimentsListCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsExperimentsListCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Experiment, error)
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall
- type ProjectsLocationsAgentsEnvironmentsExperimentsService
- func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Create(parent string, ...) *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall
- func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall
- func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Get(name string) *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall
- func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsExperimentsListCall
- func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Patch(name string, ...) *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall
- func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Start(name string, ...) *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall
- func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Stop(name string, ...) *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall
- type ProjectsLocationsAgentsEnvironmentsExperimentsStartCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Experiment, error)
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall) Header() http.Header
- type ProjectsLocationsAgentsEnvironmentsExperimentsStopCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Experiment, error)
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall
- func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall) Header() http.Header
- type ProjectsLocationsAgentsEnvironmentsGetCall
- func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsGetCall
- func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Environment, error)
- func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsGetCall
- func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentsEnvironmentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsGetCall
- type ProjectsLocationsAgentsEnvironmentsListCall
- func (c *ProjectsLocationsAgentsEnvironmentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsListCall
- func (c *ProjectsLocationsAgentsEnvironmentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse, error)
- func (c *ProjectsLocationsAgentsEnvironmentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsListCall
- func (c *ProjectsLocationsAgentsEnvironmentsListCall) Header() http.Header
- func (c *ProjectsLocationsAgentsEnvironmentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsListCall
- func (c *ProjectsLocationsAgentsEnvironmentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsListCall
- func (c *ProjectsLocationsAgentsEnvironmentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsListCall
- func (c *ProjectsLocationsAgentsEnvironmentsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall
- func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall
- func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse, error)
- func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall
- func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Header() http.Header
- func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall
- func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall
- func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall
- func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentsEnvironmentsPatchCall
- func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsPatchCall
- func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsPatchCall
- func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsPatchCall
- type ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall
- func (c *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall
- func (c *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall
- func (c *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall) Header() http.Header
- type ProjectsLocationsAgentsEnvironmentsService
- func (r *ProjectsLocationsAgentsEnvironmentsService) Create(parent string, ...) *ProjectsLocationsAgentsEnvironmentsCreateCall
- func (r *ProjectsLocationsAgentsEnvironmentsService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsDeleteCall
- func (r *ProjectsLocationsAgentsEnvironmentsService) Get(name string) *ProjectsLocationsAgentsEnvironmentsGetCall
- func (r *ProjectsLocationsAgentsEnvironmentsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsListCall
- func (r *ProjectsLocationsAgentsEnvironmentsService) LookupEnvironmentHistory(name string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall
- func (r *ProjectsLocationsAgentsEnvironmentsService) Patch(name string, ...) *ProjectsLocationsAgentsEnvironmentsPatchCall
- func (r *ProjectsLocationsAgentsEnvironmentsService) RunContinuousTest(environment string, ...) *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall
- type ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1DetectIntentResponse, error)
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Header() http.Header
- type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error)
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Header() http.Header
- type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Header() http.Header
- type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error)
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall
- type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse, error)
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Header() http.Header
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error)
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall
- type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService
- func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Create(parent string, ...) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall
- func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall
- func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall
- func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall
- func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Patch(nameid string, ...) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall
- type ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1FulfillIntentResponse, error)
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Header() http.Header
- type ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1MatchIntentResponse, error)
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall
- func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Header() http.Header
- type ProjectsLocationsAgentsEnvironmentsSessionsService
- func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) DetectIntent(sessionid string, ...) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall
- func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) FulfillIntent(sessionid string, ...) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall
- func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) MatchIntent(sessionid string, ...) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall
- type ProjectsLocationsAgentsExportCall
- func (c *ProjectsLocationsAgentsExportCall) Context(ctx context.Context) *ProjectsLocationsAgentsExportCall
- func (c *ProjectsLocationsAgentsExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentsExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsExportCall
- func (c *ProjectsLocationsAgentsExportCall) Header() http.Header
- type ProjectsLocationsAgentsFlowsCreateCall
- func (c *ProjectsLocationsAgentsFlowsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsCreateCall
- func (c *ProjectsLocationsAgentsFlowsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Flow, error)
- func (c *ProjectsLocationsAgentsFlowsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsCreateCall
- func (c *ProjectsLocationsAgentsFlowsCreateCall) Header() http.Header
- func (c *ProjectsLocationsAgentsFlowsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsCreateCall
- type ProjectsLocationsAgentsFlowsDeleteCall
- func (c *ProjectsLocationsAgentsFlowsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsDeleteCall
- func (c *ProjectsLocationsAgentsFlowsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentsFlowsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsDeleteCall
- func (c *ProjectsLocationsAgentsFlowsDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsDeleteCall
- func (c *ProjectsLocationsAgentsFlowsDeleteCall) Header() http.Header
- type ProjectsLocationsAgentsFlowsExportCall
- func (c *ProjectsLocationsAgentsFlowsExportCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsExportCall
- func (c *ProjectsLocationsAgentsFlowsExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentsFlowsExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsExportCall
- func (c *ProjectsLocationsAgentsFlowsExportCall) Header() http.Header
- type ProjectsLocationsAgentsFlowsGetCall
- func (c *ProjectsLocationsAgentsFlowsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsGetCall
- func (c *ProjectsLocationsAgentsFlowsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Flow, error)
- func (c *ProjectsLocationsAgentsFlowsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsGetCall
- func (c *ProjectsLocationsAgentsFlowsGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentsFlowsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsGetCall
- func (c *ProjectsLocationsAgentsFlowsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsGetCall
- type ProjectsLocationsAgentsFlowsGetValidationResultCall
- func (c *ProjectsLocationsAgentsFlowsGetValidationResultCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsGetValidationResultCall
- func (c *ProjectsLocationsAgentsFlowsGetValidationResultCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1FlowValidationResult, error)
- func (c *ProjectsLocationsAgentsFlowsGetValidationResultCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsGetValidationResultCall
- func (c *ProjectsLocationsAgentsFlowsGetValidationResultCall) Header() http.Header
- func (c *ProjectsLocationsAgentsFlowsGetValidationResultCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsGetValidationResultCall
- func (c *ProjectsLocationsAgentsFlowsGetValidationResultCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsGetValidationResultCall
- type ProjectsLocationsAgentsFlowsImportCall
- func (c *ProjectsLocationsAgentsFlowsImportCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsImportCall
- func (c *ProjectsLocationsAgentsFlowsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentsFlowsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsImportCall
- func (c *ProjectsLocationsAgentsFlowsImportCall) Header() http.Header
- type ProjectsLocationsAgentsFlowsListCall
- func (c *ProjectsLocationsAgentsFlowsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsListCall
- func (c *ProjectsLocationsAgentsFlowsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListFlowsResponse, error)
- func (c *ProjectsLocationsAgentsFlowsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsListCall
- func (c *ProjectsLocationsAgentsFlowsListCall) Header() http.Header
- func (c *ProjectsLocationsAgentsFlowsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsListCall
- func (c *ProjectsLocationsAgentsFlowsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsListCall
- func (c *ProjectsLocationsAgentsFlowsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsListCall
- func (c *ProjectsLocationsAgentsFlowsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsListCall
- func (c *ProjectsLocationsAgentsFlowsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentsFlowsPagesCreateCall
- func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesCreateCall
- func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Page, error)
- func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesCreateCall
- func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Header() http.Header
- func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesCreateCall
- type ProjectsLocationsAgentsFlowsPagesDeleteCall
- func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesDeleteCall
- func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesDeleteCall
- func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsPagesDeleteCall
- func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Header() http.Header
- type ProjectsLocationsAgentsFlowsPagesGetCall
- func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesGetCall
- func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Page, error)
- func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesGetCall
- func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentsFlowsPagesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsPagesGetCall
- func (c *ProjectsLocationsAgentsFlowsPagesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesGetCall
- type ProjectsLocationsAgentsFlowsPagesListCall
- func (c *ProjectsLocationsAgentsFlowsPagesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesListCall
- func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListPagesResponse, error)
- func (c *ProjectsLocationsAgentsFlowsPagesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesListCall
- func (c *ProjectsLocationsAgentsFlowsPagesListCall) Header() http.Header
- func (c *ProjectsLocationsAgentsFlowsPagesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsPagesListCall
- func (c *ProjectsLocationsAgentsFlowsPagesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesListCall
- func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsPagesListCall
- func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsPagesListCall
- func (c *ProjectsLocationsAgentsFlowsPagesListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentsFlowsPagesPatchCall
- func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesPatchCall
- func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Page, error)
- func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesPatchCall
- func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesPatchCall
- func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsPagesPatchCall
- type ProjectsLocationsAgentsFlowsPagesService
- func (r *ProjectsLocationsAgentsFlowsPagesService) Create(parent string, ...) *ProjectsLocationsAgentsFlowsPagesCreateCall
- func (r *ProjectsLocationsAgentsFlowsPagesService) Delete(name string) *ProjectsLocationsAgentsFlowsPagesDeleteCall
- func (r *ProjectsLocationsAgentsFlowsPagesService) Get(name string) *ProjectsLocationsAgentsFlowsPagesGetCall
- func (r *ProjectsLocationsAgentsFlowsPagesService) List(parent string) *ProjectsLocationsAgentsFlowsPagesListCall
- func (r *ProjectsLocationsAgentsFlowsPagesService) Patch(nameid string, ...) *ProjectsLocationsAgentsFlowsPagesPatchCall
- type ProjectsLocationsAgentsFlowsPatchCall
- func (c *ProjectsLocationsAgentsFlowsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPatchCall
- func (c *ProjectsLocationsAgentsFlowsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Flow, error)
- func (c *ProjectsLocationsAgentsFlowsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPatchCall
- func (c *ProjectsLocationsAgentsFlowsPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentsFlowsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPatchCall
- func (c *ProjectsLocationsAgentsFlowsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsPatchCall
- type ProjectsLocationsAgentsFlowsService
- func (r *ProjectsLocationsAgentsFlowsService) Create(parent string, ...) *ProjectsLocationsAgentsFlowsCreateCall
- func (r *ProjectsLocationsAgentsFlowsService) Delete(name string) *ProjectsLocationsAgentsFlowsDeleteCall
- func (r *ProjectsLocationsAgentsFlowsService) Export(name string, ...) *ProjectsLocationsAgentsFlowsExportCall
- func (r *ProjectsLocationsAgentsFlowsService) Get(name string) *ProjectsLocationsAgentsFlowsGetCall
- func (r *ProjectsLocationsAgentsFlowsService) GetValidationResult(name string) *ProjectsLocationsAgentsFlowsGetValidationResultCall
- func (r *ProjectsLocationsAgentsFlowsService) Import(parent string, ...) *ProjectsLocationsAgentsFlowsImportCall
- func (r *ProjectsLocationsAgentsFlowsService) List(parent string) *ProjectsLocationsAgentsFlowsListCall
- func (r *ProjectsLocationsAgentsFlowsService) Patch(nameid string, ...) *ProjectsLocationsAgentsFlowsPatchCall
- func (r *ProjectsLocationsAgentsFlowsService) Train(name string, ...) *ProjectsLocationsAgentsFlowsTrainCall
- func (r *ProjectsLocationsAgentsFlowsService) Validate(name string, ...) *ProjectsLocationsAgentsFlowsValidateCall
- type ProjectsLocationsAgentsFlowsTrainCall
- func (c *ProjectsLocationsAgentsFlowsTrainCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTrainCall
- func (c *ProjectsLocationsAgentsFlowsTrainCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentsFlowsTrainCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTrainCall
- func (c *ProjectsLocationsAgentsFlowsTrainCall) Header() http.Header
- type ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, error)
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Header() http.Header
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall
- type ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Header() http.Header
- type ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, error)
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall
- type ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse, error)
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Header() http.Header
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, error)
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall
- func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall
- type ProjectsLocationsAgentsFlowsTransitionRouteGroupsService
- func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Create(parent string, ...) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall
- func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Delete(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall
- func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Get(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall
- func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) List(parent string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall
- func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Patch(nameid string, ...) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall
- type ProjectsLocationsAgentsFlowsValidateCall
- func (c *ProjectsLocationsAgentsFlowsValidateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsValidateCall
- func (c *ProjectsLocationsAgentsFlowsValidateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1FlowValidationResult, error)
- func (c *ProjectsLocationsAgentsFlowsValidateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsValidateCall
- func (c *ProjectsLocationsAgentsFlowsValidateCall) Header() http.Header
- type ProjectsLocationsAgentsFlowsVersionsCreateCall
- func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsCreateCall
- func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsCreateCall
- func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Header() http.Header
- type ProjectsLocationsAgentsFlowsVersionsDeleteCall
- func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsDeleteCall
- func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsDeleteCall
- func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Header() http.Header
- type ProjectsLocationsAgentsFlowsVersionsGetCall
- func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsGetCall
- func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Version, error)
- func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsGetCall
- func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsVersionsGetCall
- type ProjectsLocationsAgentsFlowsVersionsListCall
- func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsListCall
- func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListVersionsResponse, error)
- func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsListCall
- func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Header() http.Header
- func (c *ProjectsLocationsAgentsFlowsVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsVersionsListCall
- func (c *ProjectsLocationsAgentsFlowsVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsVersionsListCall
- func (c *ProjectsLocationsAgentsFlowsVersionsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsVersionsListCall
- func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentsFlowsVersionsLoadCall
- func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsLoadCall
- func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsLoadCall
- func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Header() http.Header
- type ProjectsLocationsAgentsFlowsVersionsPatchCall
- func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsPatchCall
- func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Version, error)
- func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsPatchCall
- func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsVersionsPatchCall
- type ProjectsLocationsAgentsFlowsVersionsService
- func (r *ProjectsLocationsAgentsFlowsVersionsService) Create(parent string, ...) *ProjectsLocationsAgentsFlowsVersionsCreateCall
- func (r *ProjectsLocationsAgentsFlowsVersionsService) Delete(name string) *ProjectsLocationsAgentsFlowsVersionsDeleteCall
- func (r *ProjectsLocationsAgentsFlowsVersionsService) Get(name string) *ProjectsLocationsAgentsFlowsVersionsGetCall
- func (r *ProjectsLocationsAgentsFlowsVersionsService) List(parent string) *ProjectsLocationsAgentsFlowsVersionsListCall
- func (r *ProjectsLocationsAgentsFlowsVersionsService) Load(name string, ...) *ProjectsLocationsAgentsFlowsVersionsLoadCall
- func (r *ProjectsLocationsAgentsFlowsVersionsService) Patch(name string, ...) *ProjectsLocationsAgentsFlowsVersionsPatchCall
- type ProjectsLocationsAgentsGetCall
- func (c *ProjectsLocationsAgentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsGetCall
- func (c *ProjectsLocationsAgentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Agent, error)
- func (c *ProjectsLocationsAgentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsGetCall
- func (c *ProjectsLocationsAgentsGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsGetCall
- type ProjectsLocationsAgentsGetValidationResultCall
- func (c *ProjectsLocationsAgentsGetValidationResultCall) Context(ctx context.Context) *ProjectsLocationsAgentsGetValidationResultCall
- func (c *ProjectsLocationsAgentsGetValidationResultCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1AgentValidationResult, error)
- func (c *ProjectsLocationsAgentsGetValidationResultCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsGetValidationResultCall
- func (c *ProjectsLocationsAgentsGetValidationResultCall) Header() http.Header
- func (c *ProjectsLocationsAgentsGetValidationResultCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsGetValidationResultCall
- func (c *ProjectsLocationsAgentsGetValidationResultCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsGetValidationResultCall
- type ProjectsLocationsAgentsIntentsCreateCall
- func (c *ProjectsLocationsAgentsIntentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsCreateCall
- func (c *ProjectsLocationsAgentsIntentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Intent, error)
- func (c *ProjectsLocationsAgentsIntentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsCreateCall
- func (c *ProjectsLocationsAgentsIntentsCreateCall) Header() http.Header
- func (c *ProjectsLocationsAgentsIntentsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsCreateCall
- type ProjectsLocationsAgentsIntentsDeleteCall
- func (c *ProjectsLocationsAgentsIntentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsDeleteCall
- func (c *ProjectsLocationsAgentsIntentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentsIntentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsDeleteCall
- func (c *ProjectsLocationsAgentsIntentsDeleteCall) Header() http.Header
- type ProjectsLocationsAgentsIntentsGetCall
- func (c *ProjectsLocationsAgentsIntentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsGetCall
- func (c *ProjectsLocationsAgentsIntentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Intent, error)
- func (c *ProjectsLocationsAgentsIntentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsGetCall
- func (c *ProjectsLocationsAgentsIntentsGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentsIntentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsIntentsGetCall
- func (c *ProjectsLocationsAgentsIntentsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsGetCall
- type ProjectsLocationsAgentsIntentsListCall
- func (c *ProjectsLocationsAgentsIntentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsListCall
- func (c *ProjectsLocationsAgentsIntentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListIntentsResponse, error)
- func (c *ProjectsLocationsAgentsIntentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsListCall
- func (c *ProjectsLocationsAgentsIntentsListCall) Header() http.Header
- func (c *ProjectsLocationsAgentsIntentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsIntentsListCall
- func (c *ProjectsLocationsAgentsIntentsListCall) IntentView(intentView string) *ProjectsLocationsAgentsIntentsListCall
- func (c *ProjectsLocationsAgentsIntentsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsListCall
- func (c *ProjectsLocationsAgentsIntentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsIntentsListCall
- func (c *ProjectsLocationsAgentsIntentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsIntentsListCall
- func (c *ProjectsLocationsAgentsIntentsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentsIntentsPatchCall
- func (c *ProjectsLocationsAgentsIntentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsPatchCall
- func (c *ProjectsLocationsAgentsIntentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Intent, error)
- func (c *ProjectsLocationsAgentsIntentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsPatchCall
- func (c *ProjectsLocationsAgentsIntentsPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentsIntentsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsPatchCall
- func (c *ProjectsLocationsAgentsIntentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsIntentsPatchCall
- type ProjectsLocationsAgentsIntentsService
- func (r *ProjectsLocationsAgentsIntentsService) Create(parent string, ...) *ProjectsLocationsAgentsIntentsCreateCall
- func (r *ProjectsLocationsAgentsIntentsService) Delete(name string) *ProjectsLocationsAgentsIntentsDeleteCall
- func (r *ProjectsLocationsAgentsIntentsService) Get(name string) *ProjectsLocationsAgentsIntentsGetCall
- func (r *ProjectsLocationsAgentsIntentsService) List(parent string) *ProjectsLocationsAgentsIntentsListCall
- func (r *ProjectsLocationsAgentsIntentsService) Patch(nameid string, ...) *ProjectsLocationsAgentsIntentsPatchCall
- type ProjectsLocationsAgentsListCall
- func (c *ProjectsLocationsAgentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsListCall
- func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListAgentsResponse, error)
- func (c *ProjectsLocationsAgentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsListCall
- func (c *ProjectsLocationsAgentsListCall) Header() http.Header
- func (c *ProjectsLocationsAgentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsListCall
- func (c *ProjectsLocationsAgentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsListCall
- func (c *ProjectsLocationsAgentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsListCall
- func (c *ProjectsLocationsAgentsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentsPatchCall
- func (c *ProjectsLocationsAgentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsPatchCall
- func (c *ProjectsLocationsAgentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Agent, error)
- func (c *ProjectsLocationsAgentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsPatchCall
- func (c *ProjectsLocationsAgentsPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsPatchCall
- type ProjectsLocationsAgentsRestoreCall
- func (c *ProjectsLocationsAgentsRestoreCall) Context(ctx context.Context) *ProjectsLocationsAgentsRestoreCall
- func (c *ProjectsLocationsAgentsRestoreCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentsRestoreCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsRestoreCall
- func (c *ProjectsLocationsAgentsRestoreCall) Header() http.Header
- type ProjectsLocationsAgentsService
- func (r *ProjectsLocationsAgentsService) Create(parent string, ...) *ProjectsLocationsAgentsCreateCall
- func (r *ProjectsLocationsAgentsService) Delete(name string) *ProjectsLocationsAgentsDeleteCall
- func (r *ProjectsLocationsAgentsService) Export(name string, ...) *ProjectsLocationsAgentsExportCall
- func (r *ProjectsLocationsAgentsService) Get(name string) *ProjectsLocationsAgentsGetCall
- func (r *ProjectsLocationsAgentsService) GetValidationResult(name string) *ProjectsLocationsAgentsGetValidationResultCall
- func (r *ProjectsLocationsAgentsService) List(parent string) *ProjectsLocationsAgentsListCall
- func (r *ProjectsLocationsAgentsService) Patch(nameid string, ...) *ProjectsLocationsAgentsPatchCall
- func (r *ProjectsLocationsAgentsService) Restore(name string, ...) *ProjectsLocationsAgentsRestoreCall
- func (r *ProjectsLocationsAgentsService) Validate(name string, ...) *ProjectsLocationsAgentsValidateCall
- type ProjectsLocationsAgentsSessionsDetectIntentCall
- func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsDetectIntentCall
- func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1DetectIntentResponse, error)
- func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsDetectIntentCall
- func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Header() http.Header
- type ProjectsLocationsAgentsSessionsEntityTypesCreateCall
- func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall
- func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error)
- func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall
- func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Header() http.Header
- type ProjectsLocationsAgentsSessionsEntityTypesDeleteCall
- func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall
- func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall
- func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Header() http.Header
- type ProjectsLocationsAgentsSessionsEntityTypesGetCall
- func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesGetCall
- func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error)
- func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesGetCall
- func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall
- type ProjectsLocationsAgentsSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse, error)
- func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Header() http.Header
- func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentsSessionsEntityTypesPatchCall
- func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall
- func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error)
- func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall
- func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall
- type ProjectsLocationsAgentsSessionsEntityTypesService
- func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Create(parent string, ...) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall
- func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall
- func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall
- func (r *ProjectsLocationsAgentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsSessionsEntityTypesListCall
- func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Patch(nameid string, ...) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall
- type ProjectsLocationsAgentsSessionsFulfillIntentCall
- func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsFulfillIntentCall
- func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1FulfillIntentResponse, error)
- func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsFulfillIntentCall
- func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Header() http.Header
- type ProjectsLocationsAgentsSessionsMatchIntentCall
- func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsMatchIntentCall
- func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1MatchIntentResponse, error)
- func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsMatchIntentCall
- func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Header() http.Header
- type ProjectsLocationsAgentsSessionsService
- func (r *ProjectsLocationsAgentsSessionsService) DetectIntent(sessionid string, ...) *ProjectsLocationsAgentsSessionsDetectIntentCall
- func (r *ProjectsLocationsAgentsSessionsService) FulfillIntent(sessionid string, ...) *ProjectsLocationsAgentsSessionsFulfillIntentCall
- func (r *ProjectsLocationsAgentsSessionsService) MatchIntent(sessionid string, ...) *ProjectsLocationsAgentsSessionsMatchIntentCall
- type ProjectsLocationsAgentsTestCasesBatchDeleteCall
- func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesBatchDeleteCall
- func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesBatchDeleteCall
- func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) Header() http.Header
- type ProjectsLocationsAgentsTestCasesBatchRunCall
- func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesBatchRunCall
- func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesBatchRunCall
- func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) Header() http.Header
- type ProjectsLocationsAgentsTestCasesCalculateCoverageCall
- func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall
- func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse, error)
- func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall
- func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Header() http.Header
- func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall
- func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Type(type_ string) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall
- type ProjectsLocationsAgentsTestCasesCreateCall
- func (c *ProjectsLocationsAgentsTestCasesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesCreateCall
- func (c *ProjectsLocationsAgentsTestCasesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TestCase, error)
- func (c *ProjectsLocationsAgentsTestCasesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesCreateCall
- func (c *ProjectsLocationsAgentsTestCasesCreateCall) Header() http.Header
- type ProjectsLocationsAgentsTestCasesExportCall
- func (c *ProjectsLocationsAgentsTestCasesExportCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesExportCall
- func (c *ProjectsLocationsAgentsTestCasesExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentsTestCasesExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesExportCall
- func (c *ProjectsLocationsAgentsTestCasesExportCall) Header() http.Header
- type ProjectsLocationsAgentsTestCasesGetCall
- func (c *ProjectsLocationsAgentsTestCasesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesGetCall
- func (c *ProjectsLocationsAgentsTestCasesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TestCase, error)
- func (c *ProjectsLocationsAgentsTestCasesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesGetCall
- func (c *ProjectsLocationsAgentsTestCasesGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentsTestCasesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesGetCall
- type ProjectsLocationsAgentsTestCasesImportCall
- func (c *ProjectsLocationsAgentsTestCasesImportCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesImportCall
- func (c *ProjectsLocationsAgentsTestCasesImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentsTestCasesImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesImportCall
- func (c *ProjectsLocationsAgentsTestCasesImportCall) Header() http.Header
- type ProjectsLocationsAgentsTestCasesListCall
- func (c *ProjectsLocationsAgentsTestCasesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesListCall
- func (c *ProjectsLocationsAgentsTestCasesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListTestCasesResponse, error)
- func (c *ProjectsLocationsAgentsTestCasesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesListCall
- func (c *ProjectsLocationsAgentsTestCasesListCall) Header() http.Header
- func (c *ProjectsLocationsAgentsTestCasesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesListCall
- func (c *ProjectsLocationsAgentsTestCasesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsTestCasesListCall
- func (c *ProjectsLocationsAgentsTestCasesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsTestCasesListCall
- func (c *ProjectsLocationsAgentsTestCasesListCall) Pages(ctx context.Context, ...) error
- func (c *ProjectsLocationsAgentsTestCasesListCall) View(view string) *ProjectsLocationsAgentsTestCasesListCall
- type ProjectsLocationsAgentsTestCasesPatchCall
- func (c *ProjectsLocationsAgentsTestCasesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesPatchCall
- func (c *ProjectsLocationsAgentsTestCasesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TestCase, error)
- func (c *ProjectsLocationsAgentsTestCasesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesPatchCall
- func (c *ProjectsLocationsAgentsTestCasesPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentsTestCasesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsTestCasesPatchCall
- type ProjectsLocationsAgentsTestCasesResultsGetCall
- func (c *ProjectsLocationsAgentsTestCasesResultsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesResultsGetCall
- func (c *ProjectsLocationsAgentsTestCasesResultsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TestCaseResult, error)
- func (c *ProjectsLocationsAgentsTestCasesResultsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesResultsGetCall
- func (c *ProjectsLocationsAgentsTestCasesResultsGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentsTestCasesResultsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesResultsGetCall
- type ProjectsLocationsAgentsTestCasesResultsListCall
- func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesResultsListCall
- func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse, error)
- func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesResultsListCall
- func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Filter(filter string) *ProjectsLocationsAgentsTestCasesResultsListCall
- func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Header() http.Header
- func (c *ProjectsLocationsAgentsTestCasesResultsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesResultsListCall
- func (c *ProjectsLocationsAgentsTestCasesResultsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsTestCasesResultsListCall
- func (c *ProjectsLocationsAgentsTestCasesResultsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsTestCasesResultsListCall
- func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentsTestCasesResultsService
- type ProjectsLocationsAgentsTestCasesRunCall
- func (c *ProjectsLocationsAgentsTestCasesRunCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesRunCall
- func (c *ProjectsLocationsAgentsTestCasesRunCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentsTestCasesRunCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesRunCall
- func (c *ProjectsLocationsAgentsTestCasesRunCall) Header() http.Header
- type ProjectsLocationsAgentsTestCasesService
- func (r *ProjectsLocationsAgentsTestCasesService) BatchDelete(parent string, ...) *ProjectsLocationsAgentsTestCasesBatchDeleteCall
- func (r *ProjectsLocationsAgentsTestCasesService) BatchRun(parent string, ...) *ProjectsLocationsAgentsTestCasesBatchRunCall
- func (r *ProjectsLocationsAgentsTestCasesService) CalculateCoverage(agent string) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall
- func (r *ProjectsLocationsAgentsTestCasesService) Create(parent string, ...) *ProjectsLocationsAgentsTestCasesCreateCall
- func (r *ProjectsLocationsAgentsTestCasesService) Export(parent string, ...) *ProjectsLocationsAgentsTestCasesExportCall
- func (r *ProjectsLocationsAgentsTestCasesService) Get(name string) *ProjectsLocationsAgentsTestCasesGetCall
- func (r *ProjectsLocationsAgentsTestCasesService) Import(parent string, ...) *ProjectsLocationsAgentsTestCasesImportCall
- func (r *ProjectsLocationsAgentsTestCasesService) List(parent string) *ProjectsLocationsAgentsTestCasesListCall
- func (r *ProjectsLocationsAgentsTestCasesService) Patch(nameid string, ...) *ProjectsLocationsAgentsTestCasesPatchCall
- func (r *ProjectsLocationsAgentsTestCasesService) Run(name string, ...) *ProjectsLocationsAgentsTestCasesRunCall
- type ProjectsLocationsAgentsValidateCall
- func (c *ProjectsLocationsAgentsValidateCall) Context(ctx context.Context) *ProjectsLocationsAgentsValidateCall
- func (c *ProjectsLocationsAgentsValidateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1AgentValidationResult, error)
- func (c *ProjectsLocationsAgentsValidateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsValidateCall
- func (c *ProjectsLocationsAgentsValidateCall) Header() http.Header
- type ProjectsLocationsAgentsWebhooksCreateCall
- func (c *ProjectsLocationsAgentsWebhooksCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksCreateCall
- func (c *ProjectsLocationsAgentsWebhooksCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Webhook, error)
- func (c *ProjectsLocationsAgentsWebhooksCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksCreateCall
- func (c *ProjectsLocationsAgentsWebhooksCreateCall) Header() http.Header
- type ProjectsLocationsAgentsWebhooksDeleteCall
- func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksDeleteCall
- func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksDeleteCall
- func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Force(force bool) *ProjectsLocationsAgentsWebhooksDeleteCall
- func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Header() http.Header
- type ProjectsLocationsAgentsWebhooksGetCall
- func (c *ProjectsLocationsAgentsWebhooksGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksGetCall
- func (c *ProjectsLocationsAgentsWebhooksGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Webhook, error)
- func (c *ProjectsLocationsAgentsWebhooksGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksGetCall
- func (c *ProjectsLocationsAgentsWebhooksGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentsWebhooksGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsWebhooksGetCall
- type ProjectsLocationsAgentsWebhooksListCall
- func (c *ProjectsLocationsAgentsWebhooksListCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksListCall
- func (c *ProjectsLocationsAgentsWebhooksListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListWebhooksResponse, error)
- func (c *ProjectsLocationsAgentsWebhooksListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksListCall
- func (c *ProjectsLocationsAgentsWebhooksListCall) Header() http.Header
- func (c *ProjectsLocationsAgentsWebhooksListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsWebhooksListCall
- func (c *ProjectsLocationsAgentsWebhooksListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsWebhooksListCall
- func (c *ProjectsLocationsAgentsWebhooksListCall) PageToken(pageToken string) *ProjectsLocationsAgentsWebhooksListCall
- func (c *ProjectsLocationsAgentsWebhooksListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentsWebhooksPatchCall
- func (c *ProjectsLocationsAgentsWebhooksPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksPatchCall
- func (c *ProjectsLocationsAgentsWebhooksPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Webhook, error)
- func (c *ProjectsLocationsAgentsWebhooksPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksPatchCall
- func (c *ProjectsLocationsAgentsWebhooksPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentsWebhooksPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsWebhooksPatchCall
- type ProjectsLocationsAgentsWebhooksService
- func (r *ProjectsLocationsAgentsWebhooksService) Create(parent string, ...) *ProjectsLocationsAgentsWebhooksCreateCall
- func (r *ProjectsLocationsAgentsWebhooksService) Delete(name string) *ProjectsLocationsAgentsWebhooksDeleteCall
- func (r *ProjectsLocationsAgentsWebhooksService) Get(name string) *ProjectsLocationsAgentsWebhooksGetCall
- func (r *ProjectsLocationsAgentsWebhooksService) List(parent string) *ProjectsLocationsAgentsWebhooksListCall
- func (r *ProjectsLocationsAgentsWebhooksService) Patch(nameid string, ...) *ProjectsLocationsAgentsWebhooksPatchCall
- type ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
- type ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
- type ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
- func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
- type ProjectsLocationsOperationsService
- func (r *ProjectsLocationsOperationsService) Cancel(name string) *ProjectsLocationsOperationsCancelCall
- func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
- func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsSecuritySettingsCreateCall
- func (c *ProjectsLocationsSecuritySettingsCreateCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsCreateCall
- func (c *ProjectsLocationsSecuritySettingsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SecuritySettings, error)
- func (c *ProjectsLocationsSecuritySettingsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsCreateCall
- func (c *ProjectsLocationsSecuritySettingsCreateCall) Header() http.Header
- type ProjectsLocationsSecuritySettingsDeleteCall
- func (c *ProjectsLocationsSecuritySettingsDeleteCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsDeleteCall
- func (c *ProjectsLocationsSecuritySettingsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsSecuritySettingsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsDeleteCall
- func (c *ProjectsLocationsSecuritySettingsDeleteCall) Header() http.Header
- type ProjectsLocationsSecuritySettingsGetCall
- func (c *ProjectsLocationsSecuritySettingsGetCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsGetCall
- func (c *ProjectsLocationsSecuritySettingsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SecuritySettings, error)
- func (c *ProjectsLocationsSecuritySettingsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsGetCall
- func (c *ProjectsLocationsSecuritySettingsGetCall) Header() http.Header
- func (c *ProjectsLocationsSecuritySettingsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSecuritySettingsGetCall
- type ProjectsLocationsSecuritySettingsListCall
- func (c *ProjectsLocationsSecuritySettingsListCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsListCall
- func (c *ProjectsLocationsSecuritySettingsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse, error)
- func (c *ProjectsLocationsSecuritySettingsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsListCall
- func (c *ProjectsLocationsSecuritySettingsListCall) Header() http.Header
- func (c *ProjectsLocationsSecuritySettingsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSecuritySettingsListCall
- func (c *ProjectsLocationsSecuritySettingsListCall) PageSize(pageSize int64) *ProjectsLocationsSecuritySettingsListCall
- func (c *ProjectsLocationsSecuritySettingsListCall) PageToken(pageToken string) *ProjectsLocationsSecuritySettingsListCall
- func (c *ProjectsLocationsSecuritySettingsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsSecuritySettingsPatchCall
- func (c *ProjectsLocationsSecuritySettingsPatchCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsPatchCall
- func (c *ProjectsLocationsSecuritySettingsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SecuritySettings, error)
- func (c *ProjectsLocationsSecuritySettingsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsPatchCall
- func (c *ProjectsLocationsSecuritySettingsPatchCall) Header() http.Header
- func (c *ProjectsLocationsSecuritySettingsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSecuritySettingsPatchCall
- type ProjectsLocationsSecuritySettingsService
- func (r *ProjectsLocationsSecuritySettingsService) Create(parent string, ...) *ProjectsLocationsSecuritySettingsCreateCall
- func (r *ProjectsLocationsSecuritySettingsService) Delete(name string) *ProjectsLocationsSecuritySettingsDeleteCall
- func (r *ProjectsLocationsSecuritySettingsService) Get(name string) *ProjectsLocationsSecuritySettingsGetCall
- func (r *ProjectsLocationsSecuritySettingsService) List(parent string) *ProjectsLocationsSecuritySettingsListCall
- func (r *ProjectsLocationsSecuritySettingsService) Patch(name string, ...) *ProjectsLocationsSecuritySettingsPatchCall
- type ProjectsLocationsService
- type ProjectsOperationsCancelCall
- func (c *ProjectsOperationsCancelCall) Context(ctx context.Context) *ProjectsOperationsCancelCall
- func (c *ProjectsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsOperationsCancelCall
- func (c *ProjectsOperationsCancelCall) Header() http.Header
- type ProjectsOperationsGetCall
- func (c *ProjectsOperationsGetCall) Context(ctx context.Context) *ProjectsOperationsGetCall
- func (c *ProjectsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsOperationsGetCall
- func (c *ProjectsOperationsGetCall) Header() http.Header
- func (c *ProjectsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsOperationsGetCall
- type ProjectsOperationsListCall
- func (c *ProjectsOperationsListCall) Context(ctx context.Context) *ProjectsOperationsListCall
- func (c *ProjectsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
- func (c *ProjectsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsOperationsListCall
- func (c *ProjectsOperationsListCall) Filter(filter string) *ProjectsOperationsListCall
- func (c *ProjectsOperationsListCall) Header() http.Header
- func (c *ProjectsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsOperationsListCall
- func (c *ProjectsOperationsListCall) PageSize(pageSize int64) *ProjectsOperationsListCall
- func (c *ProjectsOperationsListCall) PageToken(pageToken string) *ProjectsOperationsListCall
- func (c *ProjectsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
- type ProjectsOperationsService
- type ProjectsService
- type Service
Constants ¶
const ( // See, edit, configure, and delete your Google Cloud Platform data CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform" // View, manage and query your Dialogflow agents DialogflowScope = "https://www.googleapis.com/auth/dialogflow" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleCloudDialogflowCxV3AudioInput ¶
type GoogleCloudDialogflowCxV3AudioInput struct { // Audio: The natural language speech audio to be processed. A single // request can contain up to 1 minute of speech audio data. The // transcribed text cannot contain more than 256 bytes. For // non-streaming audio detect intent, both `config` and `audio` must be // provided. For streaming audio detect intent, `config` must be // provided in the first request and `audio` must be provided in all // following requests. Audio string `json:"audio,omitempty"` // Config: Required. Instructs the speech recognizer how to process the // speech audio. Config *GoogleCloudDialogflowCxV3InputAudioConfig `json:"config,omitempty"` // ForceSendFields is a list of field names (e.g. "Audio") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Audio") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3AudioInput: Represents the natural speech audio to be processed.
func (*GoogleCloudDialogflowCxV3AudioInput) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3AudioInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata ¶
type GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata struct { // Errors: The test errors. Errors []*GoogleCloudDialogflowCxV3TestError `json:"errors,omitempty"` // ForceSendFields is a list of field names (e.g. "Errors") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Errors") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata: Metadata returned for the TestCases.BatchRunTestCases long running operation.
func (*GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3BatchRunTestCasesResponse ¶
type GoogleCloudDialogflowCxV3BatchRunTestCasesResponse struct { // Results: The test case results. The detailed conversation turns are // empty in this response. Results []*GoogleCloudDialogflowCxV3TestCaseResult `json:"results,omitempty"` // ForceSendFields is a list of field names (e.g. "Results") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Results") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3BatchRunTestCasesResponse: The response message for TestCases.BatchRunTestCases.
func (*GoogleCloudDialogflowCxV3BatchRunTestCasesResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3BatchRunTestCasesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ContinuousTestResult ¶
type GoogleCloudDialogflowCxV3ContinuousTestResult struct { // Name: The resource name for the continuous test result. Format: // `projects//locations//agents//environments//continuousTestResults/`. Name string `json:"name,omitempty"` // Result: The result of this continuous test run, i.e. whether all the // tests in this continuous test run pass or not. // // Possible values: // "AGGREGATED_TEST_RESULT_UNSPECIFIED" - Not specified. Should never // be used. // "PASSED" - All the tests passed. // "FAILED" - At least one test did not pass. Result string `json:"result,omitempty"` // RunTime: Time when the continuous testing run starts. RunTime string `json:"runTime,omitempty"` // TestCaseResults: A list of individual test case results names in this // continuous test run. TestCaseResults []string `json:"testCaseResults,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ContinuousTestResult: Represents a result from running a test case in an agent environment.
func (*GoogleCloudDialogflowCxV3ContinuousTestResult) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ContinuousTestResult) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ConversationTurn ¶
type GoogleCloudDialogflowCxV3ConversationTurn struct { // UserInput: The user input. UserInput *GoogleCloudDialogflowCxV3ConversationTurnUserInput `json:"userInput,omitempty"` // VirtualAgentOutput: The virtual agent output. VirtualAgentOutput *GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput `json:"virtualAgentOutput,omitempty"` // ForceSendFields is a list of field names (e.g. "UserInput") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UserInput") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ConversationTurn: One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.
func (*GoogleCloudDialogflowCxV3ConversationTurn) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ConversationTurn) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ConversationTurnUserInput ¶
type GoogleCloudDialogflowCxV3ConversationTurnUserInput struct { // EnableSentimentAnalysis: Whether sentiment analysis is enabled. EnableSentimentAnalysis bool `json:"enableSentimentAnalysis,omitempty"` // InjectedParameters: Parameters that need to be injected into the // conversation during intent detection. InjectedParameters googleapi.RawMessage `json:"injectedParameters,omitempty"` // Input: Supports text input, event input, dtmf input in the test case. Input *GoogleCloudDialogflowCxV3QueryInput `json:"input,omitempty"` // IsWebhookEnabled: If webhooks should be allowed to trigger in // response to the user utterance. Often if parameters are injected, // webhooks should not be enabled. IsWebhookEnabled bool `json:"isWebhookEnabled,omitempty"` // ForceSendFields is a list of field names (e.g. // "EnableSentimentAnalysis") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableSentimentAnalysis") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ConversationTurnUserInput: The input from the human user.
func (*GoogleCloudDialogflowCxV3ConversationTurnUserInput) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ConversationTurnUserInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput ¶
type GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput struct { // CurrentPage: The Page on which the utterance was spoken. Only name // and displayName will be set. CurrentPage *GoogleCloudDialogflowCxV3Page `json:"currentPage,omitempty"` // DiagnosticInfo: Required. Input only. The diagnostic info output for // the turn. DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` // Differences: Output only. If this is part of a result conversation // turn, the list of differences between the original run and the replay // for this output, if any. Differences []*GoogleCloudDialogflowCxV3TestRunDifference `json:"differences,omitempty"` // SessionParameters: The session parameters available to the bot at // this point. SessionParameters googleapi.RawMessage `json:"sessionParameters,omitempty"` // Status: Response error from the agent in the test result. If set, // other output is empty. Status *GoogleRpcStatus `json:"status,omitempty"` // TextResponses: The text responses from the agent for the turn. TextResponses []*GoogleCloudDialogflowCxV3ResponseMessageText `json:"textResponses,omitempty"` // TriggeredIntent: The Intent that triggered the response. Only name // and displayName will be set. TriggeredIntent *GoogleCloudDialogflowCxV3Intent `json:"triggeredIntent,omitempty"` // ForceSendFields is a list of field names (e.g. "CurrentPage") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CurrentPage") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput: The output from the virtual agent.
func (*GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata ¶
type GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata struct { // GenericMetadata: The generic information of the operation. GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata: Metadata for CreateDocument operation.
func (*GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata ¶
type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata struct { // Version: Name of the created version. Format: // `projects//locations//agents//flows//versions/`. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Version") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Version") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3CreateVersionOperationMetadata: Metadata associated with the long running operation for Versions.CreateVersion.
func (*GoogleCloudDialogflowCxV3CreateVersionOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3CreateVersionOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata ¶
type GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata struct { // GenericMetadata: The generic information of the operation. GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata: Metadata for DeleteDocument operation.
func (*GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3DtmfInput ¶
type GoogleCloudDialogflowCxV3DtmfInput struct { // Digits: The dtmf digits. Digits string `json:"digits,omitempty"` // FinishDigit: The finish digit (if any). FinishDigit string `json:"finishDigit,omitempty"` // ForceSendFields is a list of field names (e.g. "Digits") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Digits") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3DtmfInput: Represents the input for dtmf event.
func (*GoogleCloudDialogflowCxV3DtmfInput) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3DtmfInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3EventHandler ¶
type GoogleCloudDialogflowCxV3EventHandler struct { // Event: Required. The name of the event to handle. Event string `json:"event,omitempty"` // Name: Output only. The unique identifier of this event handler. Name string `json:"name,omitempty"` // TargetFlow: The target flow to transition to. Format: // `projects//locations//agents//flows/`. TargetFlow string `json:"targetFlow,omitempty"` // TargetPage: The target page to transition to. Format: // `projects//locations//agents//flows//pages/`. TargetPage string `json:"targetPage,omitempty"` // TriggerFulfillment: The fulfillment to call when the event occurs. // Handling webhook errors with a fulfillment enabled with webhook could // cause infinite loop. It is invalid to specify such fulfillment for a // handler handling webhooks. TriggerFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"triggerFulfillment,omitempty"` // ForceSendFields is a list of field names (e.g. "Event") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Event") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3EventHandler: An event handler specifies an event that can be handled during a session. When the specified event happens, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the event, it will be called. * If there is a `target_page` associated with the event, the session will transition into the specified page. * If there is a `target_flow` associated with the event, the session will transition into the specified flow.
func (*GoogleCloudDialogflowCxV3EventHandler) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3EventHandler) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3EventInput ¶
type GoogleCloudDialogflowCxV3EventInput struct { // Event: Name of the event. Event string `json:"event,omitempty"` // ForceSendFields is a list of field names (e.g. "Event") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Event") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3EventInput: Represents the event to trigger.
func (*GoogleCloudDialogflowCxV3EventInput) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3EventInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ExportAgentResponse ¶
type GoogleCloudDialogflowCxV3ExportAgentResponse struct { // AgentContent: Uncompressed raw byte content for agent. AgentContent string `json:"agentContent,omitempty"` // AgentUri: The URI to a file containing the exported agent. This field // is populated only if `agent_uri` is specified in ExportAgentRequest. AgentUri string `json:"agentUri,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AgentContent") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ExportAgentResponse: The response message for Agents.ExportAgent.
func (*GoogleCloudDialogflowCxV3ExportAgentResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ExportAgentResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ExportFlowResponse ¶
type GoogleCloudDialogflowCxV3ExportFlowResponse struct { // FlowContent: Uncompressed raw byte content for flow. FlowContent string `json:"flowContent,omitempty"` // FlowUri: The URI to a file containing the exported flow. This field // is populated only if `flow_uri` is specified in ExportFlowRequest. FlowUri string `json:"flowUri,omitempty"` // ForceSendFields is a list of field names (e.g. "FlowContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FlowContent") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ExportFlowResponse: The response message for Flows.ExportFlow.
func (*GoogleCloudDialogflowCxV3ExportFlowResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ExportFlowResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ExportTestCasesMetadata ¶
type GoogleCloudDialogflowCxV3ExportTestCasesMetadata struct { }
GoogleCloudDialogflowCxV3ExportTestCasesMetadata: Metadata returned for the TestCases.ExportTestCases long running operation.
type GoogleCloudDialogflowCxV3ExportTestCasesResponse ¶
type GoogleCloudDialogflowCxV3ExportTestCasesResponse struct { // Content: Uncompressed raw byte content for test cases. Content string `json:"content,omitempty"` // GcsUri: The URI to a file containing the exported test cases. This // field is populated only if `gcs_uri` is specified in // ExportTestCasesRequest. GcsUri string `json:"gcsUri,omitempty"` // ForceSendFields is a list of field names (e.g. "Content") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Content") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ExportTestCasesResponse: The response message for TestCases.ExportTestCases.
func (*GoogleCloudDialogflowCxV3ExportTestCasesResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ExportTestCasesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3Form ¶
type GoogleCloudDialogflowCxV3Form struct { // Parameters: Parameters to collect from the user. Parameters []*GoogleCloudDialogflowCxV3FormParameter `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "Parameters") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Parameters") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3Form: A form is a data model that groups related parameters that can be collected from the user. The process in which the agent prompts the user and collects parameter values from the user is called form filling. A form can be added to a page. When form filling is done, the filled parameters will be written to the session.
func (*GoogleCloudDialogflowCxV3Form) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3Form) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3FormParameter ¶
type GoogleCloudDialogflowCxV3FormParameter struct { // DefaultValue: The default value of an optional parameter. If the // parameter is required, the default value will be ignored. DefaultValue interface{} `json:"defaultValue,omitempty"` // DisplayName: Required. The human-readable name of the parameter, // unique within the form. DisplayName string `json:"displayName,omitempty"` // EntityType: Required. The entity type of the parameter. Format: // `projects/-/locations/-/agents/-/entityTypes/` for system entity // types (for example, // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or // `projects//locations//agents//entityTypes/` for developer entity // types. EntityType string `json:"entityType,omitempty"` // FillBehavior: Required. Defines fill behavior for the parameter. FillBehavior *GoogleCloudDialogflowCxV3FormParameterFillBehavior `json:"fillBehavior,omitempty"` // IsList: Indicates whether the parameter represents a list of values. IsList bool `json:"isList,omitempty"` // Redact: Indicates whether the parameter content should be redacted in // log. If redaction is enabled, the parameter content will be replaced // by parameter name during logging. Note: the parameter content is // subject to redaction if either parameter level redaction or entity // type level redaction is enabled. Redact bool `json:"redact,omitempty"` // Required: Indicates whether the parameter is required. Optional // parameters will not trigger prompts; however, they are filled if the // user specifies them. Required parameters must be filled before form // filling concludes. Required bool `json:"required,omitempty"` // ForceSendFields is a list of field names (e.g. "DefaultValue") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DefaultValue") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3FormParameter: Represents a form parameter.
func (*GoogleCloudDialogflowCxV3FormParameter) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3FormParameter) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3FormParameterFillBehavior ¶
type GoogleCloudDialogflowCxV3FormParameterFillBehavior struct { // InitialPromptFulfillment: Required. The fulfillment to provide the // initial prompt that the agent can present to the user in order to // fill the parameter. InitialPromptFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"initialPromptFulfillment,omitempty"` // RepromptEventHandlers: The handlers for parameter-level events, used // to provide reprompt for the parameter or transition to a different // page/flow. The supported events are: * `sys.no-match-`, where N can // be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N // can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter` // `initial_prompt_fulfillment` provides the first prompt for the // parameter. If the user's response does not fill the parameter, a // no-match/no-input event will be triggered, and the fulfillment // associated with the `sys.no-match-1`/`sys.no-input-1` handler (if // defined) will be called to provide a prompt. The // `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond // to the next no-match/no-input event, and so on. A // `sys.no-match-default` or `sys.no-input-default` handler will be used // to handle all following no-match/no-input events after all numbered // no-match/no-input handlers for the parameter are consumed. A // `sys.invalid-parameter` handler can be defined to handle the case // where the parameter values have been `invalidated` by webhook. For // example, if the user's response fill the parameter, however the // parameter was invalidated by webhook, the fulfillment associated with // the `sys.invalid-parameter` handler (if defined) will be called to // provide a prompt. If the event handler for the corresponding event // can't be found on the parameter, `initial_prompt_fulfillment` will be // re-prompted. RepromptEventHandlers []*GoogleCloudDialogflowCxV3EventHandler `json:"repromptEventHandlers,omitempty"` // ForceSendFields is a list of field names (e.g. // "InitialPromptFulfillment") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "InitialPromptFulfillment") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3FormParameterFillBehavior: Configuration for how the filling of a parameter should be handled.
func (*GoogleCloudDialogflowCxV3FormParameterFillBehavior) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3FormParameterFillBehavior) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3Fulfillment ¶
type GoogleCloudDialogflowCxV3Fulfillment struct { // ConditionalCases: Conditional cases for this fulfillment. ConditionalCases []*GoogleCloudDialogflowCxV3FulfillmentConditionalCases `json:"conditionalCases,omitempty"` // Messages: The list of rich message responses to present to the user. Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` // SetParameterActions: Set parameter values before executing the // webhook. SetParameterActions []*GoogleCloudDialogflowCxV3FulfillmentSetParameterAction `json:"setParameterActions,omitempty"` // Tag: The tag used by the webhook to identify which fulfillment is // being called. This field is required if `webhook` is specified. Tag string `json:"tag,omitempty"` // Webhook: The webhook to call. Format: // `projects//locations//agents//webhooks/`. Webhook string `json:"webhook,omitempty"` // ForceSendFields is a list of field names (e.g. "ConditionalCases") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConditionalCases") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3Fulfillment: A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both.
func (*GoogleCloudDialogflowCxV3Fulfillment) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3Fulfillment) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3FulfillmentConditionalCases ¶
type GoogleCloudDialogflowCxV3FulfillmentConditionalCases struct { // Cases: A list of cascading if-else conditions. Cases []*GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase `json:"cases,omitempty"` // ForceSendFields is a list of field names (e.g. "Cases") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Cases") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3FulfillmentConditionalCases: A list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.
func (*GoogleCloudDialogflowCxV3FulfillmentConditionalCases) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3FulfillmentConditionalCases) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase ¶
type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase struct { // CaseContent: A list of case content. CaseContent []*GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent `json:"caseContent,omitempty"` // Condition: The condition to activate and select this case. Empty // means the condition is always true. The condition is evaluated // against form parameters or session parameters. See the conditions // reference // (https://cloud.google.com/dialogflow/cx/docs/reference/condition). Condition string `json:"condition,omitempty"` // ForceSendFields is a list of field names (e.g. "CaseContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CaseContent") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase: Each case has a Boolean condition. When it is evaluated to be True, the corresponding messages will be selected and evaluated recursively.
func (*GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent ¶
type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent struct { // AdditionalCases: Additional cases to be evaluated. AdditionalCases *GoogleCloudDialogflowCxV3FulfillmentConditionalCases `json:"additionalCases,omitempty"` // Message: Returned message. Message *GoogleCloudDialogflowCxV3ResponseMessage `json:"message,omitempty"` // ForceSendFields is a list of field names (e.g. "AdditionalCases") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdditionalCases") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent: The list of messages or conditional cases to activate for this case.
func (*GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3FulfillmentSetParameterAction ¶
type GoogleCloudDialogflowCxV3FulfillmentSetParameterAction struct { // Parameter: Display name of the parameter. Parameter string `json:"parameter,omitempty"` // Value: The new value of the parameter. A null value clears the // parameter. Value interface{} `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Parameter") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Parameter") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3FulfillmentSetParameterAction: Setting a parameter value.
func (*GoogleCloudDialogflowCxV3FulfillmentSetParameterAction) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3FulfillmentSetParameterAction) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata ¶
type GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata struct { // State: Required. Output only. The current state of this operation. // // Possible values: // "STATE_UNSPECIFIED" - State unspecified. // "PENDING" - The operation has been created. // "RUNNING" - The operation is currently running. // "DONE" - The operation is done, either cancelled or completed. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "State") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "State") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata: Metadata in google::longrunning::Operation for Knowledge operations.
func (*GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata ¶
type GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata struct { // GenericMetadata: The generic information of the operation. GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata: Metadata for ImportDocuments operation.
func (*GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ImportDocumentsResponse ¶
type GoogleCloudDialogflowCxV3ImportDocumentsResponse struct { // Warnings: Includes details about skipped documents or any other // warnings. Warnings []*GoogleRpcStatus `json:"warnings,omitempty"` // ForceSendFields is a list of field names (e.g. "Warnings") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Warnings") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ImportDocumentsResponse: Response message for Documents.ImportDocuments.
func (*GoogleCloudDialogflowCxV3ImportDocumentsResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ImportDocumentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ImportFlowResponse ¶
type GoogleCloudDialogflowCxV3ImportFlowResponse struct { // Flow: The unique identifier of the new flow. Format: // `projects//locations//agents//flows/`. Flow string `json:"flow,omitempty"` // ForceSendFields is a list of field names (e.g. "Flow") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Flow") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ImportFlowResponse: The response message for Flows.ImportFlow.
func (*GoogleCloudDialogflowCxV3ImportFlowResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ImportFlowResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ImportTestCasesMetadata ¶
type GoogleCloudDialogflowCxV3ImportTestCasesMetadata struct { // Errors: Errors for failed test cases. Errors []*GoogleCloudDialogflowCxV3TestCaseError `json:"errors,omitempty"` // ForceSendFields is a list of field names (e.g. "Errors") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Errors") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ImportTestCasesMetadata: Metadata returned for the TestCases.ImportTestCases long running operation.
func (*GoogleCloudDialogflowCxV3ImportTestCasesMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ImportTestCasesMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ImportTestCasesResponse ¶
type GoogleCloudDialogflowCxV3ImportTestCasesResponse struct { // Names: The unique identifiers of the new test cases. Format: // `projects//locations//agents//testCases/`. Names []string `json:"names,omitempty"` // ForceSendFields is a list of field names (e.g. "Names") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Names") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ImportTestCasesResponse: The response message for TestCases.ImportTestCases.
func (*GoogleCloudDialogflowCxV3ImportTestCasesResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ImportTestCasesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3InputAudioConfig ¶
type GoogleCloudDialogflowCxV3InputAudioConfig struct { // AudioEncoding: Required. Audio encoding of the audio content to // process. // // Possible values: // "AUDIO_ENCODING_UNSPECIFIED" - Not specified. // "AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed // little-endian samples (Linear PCM). // "AUDIO_ENCODING_FLAC" - // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless // Audio Codec) is the recommended encoding because it is lossless // (therefore recognition is not compromised) and requires only about // half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports // 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` // are supported. // "AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit audio // samples using G.711 PCMU/mu-law. // "AUDIO_ENCODING_AMR" - Adaptive Multi-Rate Narrowband codec. // `sample_rate_hertz` must be 8000. // "AUDIO_ENCODING_AMR_WB" - Adaptive Multi-Rate Wideband codec. // `sample_rate_hertz` must be 16000. // "AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio frames in Ogg // container ([OggOpus](https://wiki.xiph.org/OggOpus)). // `sample_rate_hertz` must be 16000. // "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" - Although the use of lossy // encodings is not recommended, if a very low bitrate encoding is // required, `OGG_OPUS` is highly preferred over Speex encoding. The // [Speex](https://speex.org/) encoding supported by Dialogflow API has // a header byte in each block, as in MIME type // `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex // encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). // The stream is a sequence of blocks, one block per RTP packet. Each // block starts with a byte containing the length of the block, in // bytes, followed by one or more frames of Speex data, padded to an // integral number of bytes (octets) as specified in RFC 5574. In other // words, each RTP header is replaced with a single byte containing the // block length. Only Speex wideband is supported. `sample_rate_hertz` // must be 16000. AudioEncoding string `json:"audioEncoding,omitempty"` // EnableWordInfo: Optional. If `true`, Dialogflow returns // SpeechWordInfo in StreamingRecognitionResult with information about // the recognized speech words, e.g. start and end time offsets. If // false or unspecified, Speech doesn't return any word-level // information. EnableWordInfo bool `json:"enableWordInfo,omitempty"` // Model: Optional. Which Speech model to select for the given request. // Select the model best suited to your domain to get best results. If a // model is not explicitly specified, then we auto-select a model based // on the parameters in the InputAudioConfig. If enhanced speech model // is enabled for the agent and an enhanced version of the specified // model for the language does not exist, then the speech is recognized // using the standard version of the specified model. Refer to Cloud // Speech API documentation // (https://cloud.google.com/speech-to-text/docs/basics#select-model) // for more details. Model string `json:"model,omitempty"` // ModelVariant: Optional. Which variant of the Speech model to use. // // Possible values: // "SPEECH_MODEL_VARIANT_UNSPECIFIED" - No model variant specified. In // this case Dialogflow defaults to USE_BEST_AVAILABLE. // "USE_BEST_AVAILABLE" - Use the best available variant of the Speech // model that the caller is eligible for. Please see the [Dialogflow // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how // to make your project eligible for enhanced models. // "USE_STANDARD" - Use standard model variant even if an enhanced // model is available. See the [Cloud Speech // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m // odels) for details about enhanced models. // "USE_ENHANCED" - Use an enhanced model variant: * If an enhanced // variant does not exist for the given model and request language, // Dialogflow falls back to the standard variant. The [Cloud Speech // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m // odels) describes which models have enhanced variants. * If the API // caller isn't eligible for enhanced models, Dialogflow returns an // error. Please see the [Dialogflow // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how // to make your project eligible. ModelVariant string `json:"modelVariant,omitempty"` // PhraseHints: Optional. A list of strings containing words and phrases // that the speech recognizer should recognize with higher likelihood. // See the Cloud Speech documentation // (https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) // for more details. PhraseHints []string `json:"phraseHints,omitempty"` // SampleRateHertz: Sample rate (in Hertz) of the audio content sent in // the query. Refer to Cloud Speech API documentation // (https://cloud.google.com/speech-to-text/docs/basics) for more // details. SampleRateHertz int64 `json:"sampleRateHertz,omitempty"` // SingleUtterance: Optional. If `false` (default), recognition does not // cease until the client closes the stream. If `true`, the recognizer // will detect a single spoken utterance in input audio. Recognition // ceases when it detects the audio's voice has stopped or paused. In // this case, once a detected intent is received, the client should // close the stream and start a new request with a new stream as needed. // Note: This setting is relevant only for streaming methods. SingleUtterance bool `json:"singleUtterance,omitempty"` // ForceSendFields is a list of field names (e.g. "AudioEncoding") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AudioEncoding") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3InputAudioConfig: Instructs the speech recognizer on how to process the audio content.
func (*GoogleCloudDialogflowCxV3InputAudioConfig) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3InputAudioConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3Intent ¶
type GoogleCloudDialogflowCxV3Intent struct { // Description: Human readable description for better understanding an // intent like its scope, content, result etc. Maximum character limit: // 140 characters. Description string `json:"description,omitempty"` // DisplayName: Required. The human-readable name of the intent, unique // within the agent. DisplayName string `json:"displayName,omitempty"` // IsFallback: Indicates whether this is a fallback intent. Currently // only default fallback intent is allowed in the agent, which is added // upon agent creation. Adding training phrases to fallback intent is // useful in the case of requests that are mistakenly matched, since // training phrases assigned to fallback intents act as negative // examples that triggers no-match event. IsFallback bool `json:"isFallback,omitempty"` // Labels: The key/value metadata to label an intent. Labels can contain // lowercase letters, digits and the symbols '-' and '_'. International // characters are allowed, including letters from unicase alphabets. // Keys must start with a letter. Keys and values can be no longer than // 63 characters and no more than 128 bytes. Prefix "sys." is reserved // for Dialogflow defined labels. Currently allowed Dialogflow defined // labels include: * sys.head * sys.contextual The above labels do not // require value. "sys.head" means the intent is a head intent. // "sys.contextual" means the intent is a contextual intent. Labels map[string]string `json:"labels,omitempty"` // Name: The unique identifier of the intent. Required for the // Intents.UpdateIntent method. Intents.CreateIntent populates the name // automatically. Format: `projects//locations//agents//intents/`. Name string `json:"name,omitempty"` // Parameters: The collection of parameters associated with the intent. Parameters []*GoogleCloudDialogflowCxV3IntentParameter `json:"parameters,omitempty"` // Priority: The priority of this intent. Higher numbers represent // higher priorities. - If the supplied value is unspecified or 0, the // service translates the value to 500,000, which corresponds to the // `Normal` priority in the console. - If the supplied value is // negative, the intent is ignored in runtime detect intent requests. Priority int64 `json:"priority,omitempty"` // TrainingPhrases: The collection of training phrases the agent is // trained on to identify the intent. TrainingPhrases []*GoogleCloudDialogflowCxV3IntentTrainingPhrase `json:"trainingPhrases,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3Intent: An intent represents a user's intent to interact with a conversational agent. You can provide information for the Dialogflow API to use to match user input to an intent by adding training phrases (i.e., examples of user input) to your intent.
func (*GoogleCloudDialogflowCxV3Intent) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3Intent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3IntentInput ¶
type GoogleCloudDialogflowCxV3IntentInput struct { // Intent: Required. The unique identifier of the intent. Format: // `projects//locations//agents//intents/`. Intent string `json:"intent,omitempty"` // ForceSendFields is a list of field names (e.g. "Intent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Intent") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3IntentInput: Represents the intent to trigger programmatically rather than as a result of natural language processing.
func (*GoogleCloudDialogflowCxV3IntentInput) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3IntentInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3IntentParameter ¶
type GoogleCloudDialogflowCxV3IntentParameter struct { // EntityType: Required. The entity type of the parameter. Format: // `projects/-/locations/-/agents/-/entityTypes/` for system entity // types (for example, // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or // `projects//locations//agents//entityTypes/` for developer entity // types. EntityType string `json:"entityType,omitempty"` // Id: Required. The unique identifier of the parameter. This field is // used by training phrases to annotate their parts. Id string `json:"id,omitempty"` // IsList: Indicates whether the parameter represents a list of values. IsList bool `json:"isList,omitempty"` // Redact: Indicates whether the parameter content should be redacted in // log. If redaction is enabled, the parameter content will be replaced // by parameter name during logging. Note: the parameter content is // subject to redaction if either parameter level redaction or entity // type level redaction is enabled. Redact bool `json:"redact,omitempty"` // ForceSendFields is a list of field names (e.g. "EntityType") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntityType") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3IntentParameter: Represents an intent parameter.
func (*GoogleCloudDialogflowCxV3IntentParameter) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3IntentParameter) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3IntentTrainingPhrase ¶
type GoogleCloudDialogflowCxV3IntentTrainingPhrase struct { // Id: Output only. The unique identifier of the training phrase. Id string `json:"id,omitempty"` // Parts: Required. The ordered list of training phrase parts. The parts // are concatenated in order to form the training phrase. Note: The API // does not automatically annotate training phrases like the Dialogflow // Console does. Note: Do not forget to include whitespace at part // boundaries, so the training phrase is well formatted when the parts // are concatenated. If the training phrase does not need to be // annotated with parameters, you just need a single part with only the // Part.text field set. If you want to annotate the training phrase, you // must create multiple parts, where the fields of each part are // populated in one of two ways: - `Part.text` is set to a part of the // phrase that has no parameters. - `Part.text` is set to a part of the // phrase that you want to annotate, and the `parameter_id` field is // set. Parts []*GoogleCloudDialogflowCxV3IntentTrainingPhrasePart `json:"parts,omitempty"` // RepeatCount: Indicates how many times this example was added to the // intent. RepeatCount int64 `json:"repeatCount,omitempty"` // ForceSendFields is a list of field names (e.g. "Id") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Id") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3IntentTrainingPhrase: Represents an example that the agent is trained on to identify the intent.
func (*GoogleCloudDialogflowCxV3IntentTrainingPhrase) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3IntentTrainingPhrase) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3IntentTrainingPhrasePart ¶
type GoogleCloudDialogflowCxV3IntentTrainingPhrasePart struct { // ParameterId: The parameter used to annotate this part of the training // phrase. This field is required for annotated parts of the training // phrase. ParameterId string `json:"parameterId,omitempty"` // Text: Required. The text for this part. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "ParameterId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ParameterId") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3IntentTrainingPhrasePart: Represents a part of a training phrase.
func (*GoogleCloudDialogflowCxV3IntentTrainingPhrasePart) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3IntentTrainingPhrasePart) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3Page ¶
type GoogleCloudDialogflowCxV3Page struct { // DisplayName: Required. The human-readable name of the page, unique // within the agent. DisplayName string `json:"displayName,omitempty"` // EntryFulfillment: The fulfillment to call when the session is // entering the page. EntryFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"entryFulfillment,omitempty"` // EventHandlers: Handlers associated with the page to handle events // such as webhook errors, no match or no input. EventHandlers []*GoogleCloudDialogflowCxV3EventHandler `json:"eventHandlers,omitempty"` // Form: The form associated with the page, used for collecting // parameters relevant to the page. Form *GoogleCloudDialogflowCxV3Form `json:"form,omitempty"` // Name: The unique identifier of the page. Required for the // Pages.UpdatePage method. Pages.CreatePage populates the name // automatically. Format: `projects//locations//agents//flows//pages/`. Name string `json:"name,omitempty"` // TransitionRouteGroups: Ordered list of `TransitionRouteGroups` // associated with the page. Transition route groups must be unique // within a page. * If multiple transition routes within a page scope // refer to the same intent, then the precedence order is: page's // transition route -> page's transition route group -> flow's // transition routes. * If multiple transition route groups within a // page contain the same intent, then the first group in the ordered // list takes precedence. // Format:`projects//locations//agents//flows//transitionRouteGroups/`. TransitionRouteGroups []string `json:"transitionRouteGroups,omitempty"` // TransitionRoutes: A list of transitions for the transition rules of // this page. They route the conversation to another page in the same // flow, or another flow. When we are in a certain page, the // TransitionRoutes are evalauted in the following order: * // TransitionRoutes defined in the page with intent specified. * // TransitionRoutes defined in the transition route groups with intent // specified. * TransitionRoutes defined in flow with intent specified. // * TransitionRoutes defined in the transition route groups with intent // specified. * TransitionRoutes defined in the page with only condition // specified. * TransitionRoutes defined in the transition route groups // with only condition specified. TransitionRoutes []*GoogleCloudDialogflowCxV3TransitionRoute `json:"transitionRoutes,omitempty"` // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3Page: A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the Page guide (https://cloud.google.com/dialogflow/cx/docs/concept/page).
func (*GoogleCloudDialogflowCxV3Page) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3Page) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3PageInfo ¶
type GoogleCloudDialogflowCxV3PageInfo struct { // CurrentPage: Always present for WebhookRequest. Ignored for // WebhookResponse. The unique identifier of the current page. Format: // `projects//locations//agents//flows//pages/`. CurrentPage string `json:"currentPage,omitempty"` // FormInfo: Optional for both WebhookRequest and WebhookResponse. // Information about the form. FormInfo *GoogleCloudDialogflowCxV3PageInfoFormInfo `json:"formInfo,omitempty"` // ForceSendFields is a list of field names (e.g. "CurrentPage") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CurrentPage") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3PageInfo: Represents page information communicated to and from the webhook.
func (*GoogleCloudDialogflowCxV3PageInfo) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3PageInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3PageInfoFormInfo ¶
type GoogleCloudDialogflowCxV3PageInfoFormInfo struct { // ParameterInfo: Optional for both WebhookRequest and WebhookResponse. // The parameters contained in the form. Note that the webhook cannot // add or remove any form parameter. ParameterInfo []*GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"` // ForceSendFields is a list of field names (e.g. "ParameterInfo") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ParameterInfo") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3PageInfoFormInfo: Represents form information.
func (*GoogleCloudDialogflowCxV3PageInfoFormInfo) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3PageInfoFormInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo ¶
type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo struct { // DisplayName: Always present for WebhookRequest. Required for // WebhookResponse. The human-readable name of the parameter, unique // within the form. This field cannot be modified by the webhook. DisplayName string `json:"displayName,omitempty"` // JustCollected: Optional for WebhookRequest. Ignored for // WebhookResponse. Indicates if the parameter value was just collected // on the last conversation turn. JustCollected bool `json:"justCollected,omitempty"` // Required: Optional for both WebhookRequest and WebhookResponse. // Indicates whether the parameter is required. Optional parameters will // not trigger prompts; however, they are filled if the user specifies // them. Required parameters must be filled before form filling // concludes. Required bool `json:"required,omitempty"` // State: Always present for WebhookRequest. Required for // WebhookResponse. The state of the parameter. This field can be set to // INVALID by the webhook to invalidate the parameter; other values set // by the webhook will be ignored. // // Possible values: // "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be // never used. // "EMPTY" - Indicates that the parameter does not have a value. // "INVALID" - Indicates that the parameter value is invalid. This // field can be used by the webhook to invalidate the parameter and ask // the server to collect it from the user again. // "FILLED" - Indicates that the parameter has a value. State string `json:"state,omitempty"` // Value: Optional for both WebhookRequest and WebhookResponse. The // value of the parameter. This field can be set by the webhook to // change the parameter value. Value interface{} `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo: Represents parameter information.
func (*GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3QueryInput ¶
type GoogleCloudDialogflowCxV3QueryInput struct { // Audio: The natural language speech audio to be processed. Audio *GoogleCloudDialogflowCxV3AudioInput `json:"audio,omitempty"` // Dtmf: The DTMF event to be handled. Dtmf *GoogleCloudDialogflowCxV3DtmfInput `json:"dtmf,omitempty"` // Event: The event to be triggered. Event *GoogleCloudDialogflowCxV3EventInput `json:"event,omitempty"` // Intent: The intent to be triggered. Intent *GoogleCloudDialogflowCxV3IntentInput `json:"intent,omitempty"` // LanguageCode: Required. The language of the input. See Language // Support // (https://cloud.google.com/dialogflow/cx/docs/reference/language) for // a list of the currently supported language codes. Note that queries // in the same session do not necessarily need to specify the same // language. LanguageCode string `json:"languageCode,omitempty"` // Text: The natural language text to be processed. Text *GoogleCloudDialogflowCxV3TextInput `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "Audio") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Audio") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3QueryInput: Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered.
func (*GoogleCloudDialogflowCxV3QueryInput) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3QueryInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata ¶
type GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata struct { // GenericMetadata: The generic information of the operation. GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata: Metadata for ReloadDocument operation.
func (*GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ResponseMessage ¶
type GoogleCloudDialogflowCxV3ResponseMessage struct { // ConversationSuccess: Indicates that the conversation succeeded. ConversationSuccess *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"` // EndInteraction: Output only. A signal that indicates the interaction // with the Dialogflow agent has ended. This message is generated by // Dialogflow only when the conversation reaches `END_SESSION` page. It // is not supposed to be defined by the user. It's guaranteed that there // is at most one such message in each response. EndInteraction *GoogleCloudDialogflowCxV3ResponseMessageEndInteraction `json:"endInteraction,omitempty"` // LiveAgentHandoff: Hands off conversation to a human agent. LiveAgentHandoff *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` // MixedAudio: Output only. An audio response message composed of both // the synthesized Dialogflow agent responses and responses defined via // play_audio. This message is generated by Dialogflow only and not // supposed to be defined by the user. MixedAudio *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` // OutputAudioText: A text or ssml response that is preferentially used // for TTS output audio synthesis, as described in the comment on the // ResponseMessage message. OutputAudioText *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"` // Payload: Returns a response containing a custom, platform-specific // payload. Payload googleapi.RawMessage `json:"payload,omitempty"` // PlayAudio: Signal that the client should play an audio clip hosted at // a client-specific URI. Dialogflow uses this to construct mixed_audio. // However, Dialogflow itself does not try to read or process the URI in // any way. PlayAudio *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio `json:"playAudio,omitempty"` // Text: Returns a text response. Text *GoogleCloudDialogflowCxV3ResponseMessageText `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationSuccess") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConversationSuccess") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ResponseMessage: Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.
func (*GoogleCloudDialogflowCxV3ResponseMessage) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ResponseMessage) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess ¶
type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess struct { // Metadata: Custom metadata. Dialogflow doesn't impose any structure on // this. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // ForceSendFields is a list of field names (e.g. "Metadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Metadata") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess: Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates that the conversation succeeded. * In a webhook response when you determine that you handled the customer issue.
func (*GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ResponseMessageEndInteraction ¶
type GoogleCloudDialogflowCxV3ResponseMessageEndInteraction struct { }
GoogleCloudDialogflowCxV3ResponseMessageEndInteraction: Indicates that interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only and not supposed to be defined by the user.
type GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff ¶
type GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff struct { // Metadata: Custom metadata for your handoff procedure. Dialogflow // doesn't impose any structure on this. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // ForceSendFields is a list of field names (e.g. "Metadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Metadata") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff: Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human.
func (*GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio ¶
type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio struct { // Segments: Segments this audio response is composed of. Segments []*GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment `json:"segments,omitempty"` // ForceSendFields is a list of field names (e.g. "Segments") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Segments") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ResponseMessageMixedAudio: Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.
func (*GoogleCloudDialogflowCxV3ResponseMessageMixedAudio) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment ¶
type GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment struct { // AllowPlaybackInterruption: Output only. Whether the playback of this // segment can be interrupted by the end user's speech and the client // should then start the next Dialogflow request. AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` // Audio: Raw audio synthesized from the Dialogflow agent's response // using the output config specified in the request. Audio string `json:"audio,omitempty"` // Uri: Client-specific URI that points to an audio clip accessible to // the client. Dialogflow does not impose any validation on it. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. // "AllowPlaybackInterruption") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AllowPlaybackInterruption") to include in API requests with the JSON // null value. By default, fields with empty values are omitted from API // requests. However, any field with an empty value appearing in // NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment: Represents one segment of audio.
func (*GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText ¶
type GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText struct { // AllowPlaybackInterruption: Output only. Whether the playback of this // message can be interrupted by the end user's speech and the client // can then starts the next Dialogflow request. AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` // Ssml: The SSML text to be synthesized. For more information, see SSML // (/speech/text-to-speech/docs/ssml). Ssml string `json:"ssml,omitempty"` // Text: The raw text to be synthesized. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. // "AllowPlaybackInterruption") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AllowPlaybackInterruption") to include in API requests with the JSON // null value. By default, fields with empty values are omitted from API // requests. However, any field with an empty value appearing in // NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText: A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
func (*GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ResponseMessagePlayAudio ¶
type GoogleCloudDialogflowCxV3ResponseMessagePlayAudio struct { // AllowPlaybackInterruption: Output only. Whether the playback of this // message can be interrupted by the end user's speech and the client // can then starts the next Dialogflow request. AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` // AudioUri: Required. URI of the audio clip. Dialogflow does not impose // any validation on this value. It is specific to the client that reads // it. AudioUri string `json:"audioUri,omitempty"` // ForceSendFields is a list of field names (e.g. // "AllowPlaybackInterruption") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AllowPlaybackInterruption") to include in API requests with the JSON // null value. By default, fields with empty values are omitted from API // requests. However, any field with an empty value appearing in // NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ResponseMessagePlayAudio: Specifies an audio clip to be played by the client as part of the response.
func (*GoogleCloudDialogflowCxV3ResponseMessagePlayAudio) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ResponseMessageText ¶
type GoogleCloudDialogflowCxV3ResponseMessageText struct { // AllowPlaybackInterruption: Output only. Whether the playback of this // message can be interrupted by the end user's speech and the client // can then starts the next Dialogflow request. AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` // Text: Required. A collection of text responses. Text []string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. // "AllowPlaybackInterruption") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AllowPlaybackInterruption") to include in API requests with the JSON // null value. By default, fields with empty values are omitted from API // requests. However, any field with an empty value appearing in // NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3ResponseMessageText: The text response message.
func (*GoogleCloudDialogflowCxV3ResponseMessageText) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3ResponseMessageText) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3RunContinuousTestMetadata ¶
type GoogleCloudDialogflowCxV3RunContinuousTestMetadata struct { // Errors: The test errors. Errors []*GoogleCloudDialogflowCxV3TestError `json:"errors,omitempty"` // ForceSendFields is a list of field names (e.g. "Errors") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Errors") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3RunContinuousTestMetadata: Metadata returned for the Environments.RunContinuousTest long running operation.
func (*GoogleCloudDialogflowCxV3RunContinuousTestMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3RunContinuousTestMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3RunContinuousTestResponse ¶
type GoogleCloudDialogflowCxV3RunContinuousTestResponse struct { // ContinuousTestResult: The result for a continuous test run. ContinuousTestResult *GoogleCloudDialogflowCxV3ContinuousTestResult `json:"continuousTestResult,omitempty"` // ForceSendFields is a list of field names (e.g. // "ContinuousTestResult") to unconditionally include in API requests. // By default, fields with empty values are omitted from API requests. // However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContinuousTestResult") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3RunContinuousTestResponse: The response message for Environments.RunContinuousTest.
func (*GoogleCloudDialogflowCxV3RunContinuousTestResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3RunContinuousTestResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3RunTestCaseMetadata ¶
type GoogleCloudDialogflowCxV3RunTestCaseMetadata struct { }
GoogleCloudDialogflowCxV3RunTestCaseMetadata: Metadata returned for the TestCases.RunTestCase long running operation.
type GoogleCloudDialogflowCxV3RunTestCaseResponse ¶
type GoogleCloudDialogflowCxV3RunTestCaseResponse struct { // Result: The result. Result *GoogleCloudDialogflowCxV3TestCaseResult `json:"result,omitempty"` // ForceSendFields is a list of field names (e.g. "Result") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Result") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3RunTestCaseResponse: The response message for TestCases.RunTestCase.
func (*GoogleCloudDialogflowCxV3RunTestCaseResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3RunTestCaseResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3SessionInfo ¶
type GoogleCloudDialogflowCxV3SessionInfo struct { // Parameters: Optional for WebhookRequest. Optional for // WebhookResponse. All parameters collected from forms and intents // during the session. Parameters can be created, updated, or removed by // the webhook. To remove a parameter from the session, the webhook // should explicitly set the parameter value to null in WebhookResponse. // The map is keyed by parameters' display names. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // Session: Always present for WebhookRequest. Ignored for // WebhookResponse. The unique identifier of the session. This field can // be used by the webhook to identify a session. Format: // `projects//locations//agents//sessions/` or // `projects//locations//agents//environments//sessions/` if environment // is specified. Session string `json:"session,omitempty"` // ForceSendFields is a list of field names (e.g. "Parameters") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Parameters") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3SessionInfo: Represents session information communicated to and from the webhook.
func (*GoogleCloudDialogflowCxV3SessionInfo) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3SessionInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3TestCase ¶
type GoogleCloudDialogflowCxV3TestCase struct { // CreationTime: Output only. When the test was created. CreationTime string `json:"creationTime,omitempty"` // DisplayName: Required. The human-readable name of the test case, // unique within the agent. Limit of 200 characters. DisplayName string `json:"displayName,omitempty"` // LastTestResult: The latest test result. LastTestResult *GoogleCloudDialogflowCxV3TestCaseResult `json:"lastTestResult,omitempty"` // Name: The unique identifier of the test case. // TestCases.CreateTestCase will populate the name automatically. // Otherwise use format: `projects//locations//agents/ /testCases/`. Name string `json:"name,omitempty"` // Notes: Additional freeform notes about the test case. Limit of 400 // characters. Notes string `json:"notes,omitempty"` // Tags: Tags are short descriptions that users may apply to test cases // for organizational and filtering purposes. Each tag should start with // "#" and has a limit of 30 characters. Tags []string `json:"tags,omitempty"` // TestCaseConversationTurns: The conversation turns uttered when the // test case was created, in chronological order. These include the // canonical set of agent utterances that should occur when the agent is // working properly. TestCaseConversationTurns []*GoogleCloudDialogflowCxV3ConversationTurn `json:"testCaseConversationTurns,omitempty"` // TestConfig: Config for the test case. TestConfig *GoogleCloudDialogflowCxV3TestConfig `json:"testConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "CreationTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreationTime") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3TestCase: Represents a test case.
func (*GoogleCloudDialogflowCxV3TestCase) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3TestCase) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3TestCaseError ¶
type GoogleCloudDialogflowCxV3TestCaseError struct { // Status: The status associated with the test case. Status *GoogleRpcStatus `json:"status,omitempty"` // TestCase: The test case. TestCase *GoogleCloudDialogflowCxV3TestCase `json:"testCase,omitempty"` // ForceSendFields is a list of field names (e.g. "Status") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Status") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3TestCaseError: Error info for importing a test.
func (*GoogleCloudDialogflowCxV3TestCaseError) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3TestCaseError) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3TestCaseResult ¶
type GoogleCloudDialogflowCxV3TestCaseResult struct { // ConversationTurns: The conversation turns uttered during the test // case replay in chronological order. ConversationTurns []*GoogleCloudDialogflowCxV3ConversationTurn `json:"conversationTurns,omitempty"` // Environment: Environment where the test was run. If not set, it // indicates the draft environment. Environment string `json:"environment,omitempty"` // Name: The resource name for the test case result. Format: // `projects//locations//agents//testCases/ /results/`. Name string `json:"name,omitempty"` // TestResult: Whether the test case passed in the agent environment. // // Possible values: // "TEST_RESULT_UNSPECIFIED" - Not specified. Should never be used. // "PASSED" - The test passed. // "FAILED" - The test did not pass. TestResult string `json:"testResult,omitempty"` // TestTime: The time that the test was run. TestTime string `json:"testTime,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationTurns") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConversationTurns") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3TestCaseResult: Represents a result from running a test case in an agent environment.
func (*GoogleCloudDialogflowCxV3TestCaseResult) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3TestCaseResult) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3TestConfig ¶
type GoogleCloudDialogflowCxV3TestConfig struct { // Flow: Flow name. If not set, default start flow is assumed. Format: // `projects//locations//agents//flows/`. Flow string `json:"flow,omitempty"` // TrackingParameters: Session parameters to be compared when // calculating differences. TrackingParameters []string `json:"trackingParameters,omitempty"` // ForceSendFields is a list of field names (e.g. "Flow") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Flow") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3TestConfig: Represents configurations for a test case.
func (*GoogleCloudDialogflowCxV3TestConfig) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3TestConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3TestError ¶
type GoogleCloudDialogflowCxV3TestError struct { // Status: The status associated with the test. Status *GoogleRpcStatus `json:"status,omitempty"` // TestCase: The test case resource name. TestCase string `json:"testCase,omitempty"` // TestTime: The timestamp when the test was completed. TestTime string `json:"testTime,omitempty"` // ForceSendFields is a list of field names (e.g. "Status") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Status") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3TestError: Error info for running a test.
func (*GoogleCloudDialogflowCxV3TestError) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3TestError) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3TestRunDifference ¶
type GoogleCloudDialogflowCxV3TestRunDifference struct { // Description: A description of the diff, showing the actual output vs // expected output. Description string `json:"description,omitempty"` // Type: The type of diff. // // Possible values: // "DIFF_TYPE_UNSPECIFIED" - Should never be used. // "INTENT" - The intent. // "PAGE" - The page. // "PARAMETERS" - The parameters. // "UTTERANCE" - The message utterance. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3TestRunDifference: The description of differences between original and replayed agent output.
func (*GoogleCloudDialogflowCxV3TestRunDifference) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3TestRunDifference) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3TextInput ¶
type GoogleCloudDialogflowCxV3TextInput struct { // Text: Required. The UTF-8 encoded natural language text to be // processed. Text length must not exceed 256 characters. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "Text") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Text") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3TextInput: Represents the natural language text to be processed.
func (*GoogleCloudDialogflowCxV3TextInput) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3TextInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3TransitionRoute ¶
type GoogleCloudDialogflowCxV3TransitionRoute struct { // Condition: The condition to evaluate against form parameters or // session parameters. See the conditions reference // (https://cloud.google.com/dialogflow/cx/docs/reference/condition). At // least one of `intent` or `condition` must be specified. When both // `intent` and `condition` are specified, the transition can only // happen when both are fulfilled. Condition string `json:"condition,omitempty"` // Intent: The unique identifier of an Intent. Format: // `projects//locations//agents//intents/`. Indicates that the // transition can only happen when the given intent is matched. At least // one of `intent` or `condition` must be specified. When both `intent` // and `condition` are specified, the transition can only happen when // both are fulfilled. Intent string `json:"intent,omitempty"` // Name: Output only. The unique identifier of this transition route. Name string `json:"name,omitempty"` // TargetFlow: The target flow to transition to. Format: // `projects//locations//agents//flows/`. TargetFlow string `json:"targetFlow,omitempty"` // TargetPage: The target page to transition to. Format: // `projects//locations//agents//flows//pages/`. TargetPage string `json:"targetPage,omitempty"` // TriggerFulfillment: The fulfillment to call when the condition is // satisfied. At least one of `trigger_fulfillment` and `target` must be // specified. When both are defined, `trigger_fulfillment` is executed // first. TriggerFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"triggerFulfillment,omitempty"` // ForceSendFields is a list of field names (e.g. "Condition") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Condition") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3TransitionRoute: A transition route specifies a intent that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the transition, it will be called. * If there is a `target_page` associated with the transition, the session will transition into the specified page. * If there is a `target_flow` associated with the transition, the session will transition into the specified flow.
func (*GoogleCloudDialogflowCxV3TransitionRoute) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3TransitionRoute) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata ¶
type GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata struct { // GenericMetadata: The generic information of the operation. GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata: Metadata for UpdateDocument operation.
func (*GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3WebhookRequest ¶
type GoogleCloudDialogflowCxV3WebhookRequest struct { // DetectIntentResponseId: Always present. The unique identifier of the // DetectIntentResponse that will be returned to the API caller. DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` // FulfillmentInfo: Always present. Information about the fulfillment // that triggered this webhook call. FulfillmentInfo *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` // IntentInfo: Information about the last matched intent. IntentInfo *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo `json:"intentInfo,omitempty"` // LanguageCode: The language code specified in the original request. LanguageCode string `json:"languageCode,omitempty"` // Messages: The list of rich message responses to present to the user. // Webhook can choose to append or replace this list in // WebhookResponse.fulfillment_response; Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` // PageInfo: Information about page status. PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` // Payload: Custom data set in QueryParameters.payload. Payload googleapi.RawMessage `json:"payload,omitempty"` // SentimentAnalysisResult: The sentiment analysis result of the current // user request. The field is filled when sentiment analysis is // configured to be enabled for the request. SentimentAnalysisResult *GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` // SessionInfo: Information about session status. SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` // Text: If natural language text was provided as input, this field will // contain a copy of the text. Text string `json:"text,omitempty"` // Transcript: If natural language speech audio was provided as input, // this field will contain the transcript for the audio. Transcript string `json:"transcript,omitempty"` // TriggerEvent: If an event was provided as input, this field will // contain the name of the event. TriggerEvent string `json:"triggerEvent,omitempty"` // TriggerIntent: If an intent was provided as input, this field will // contain a copy of the intent identifier. Format: // `projects//locations//agents//intents/`. TriggerIntent string `json:"triggerIntent,omitempty"` // ForceSendFields is a list of field names (e.g. // "DetectIntentResponseId") to unconditionally include in API requests. // By default, fields with empty values are omitted from API requests. // However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DetectIntentResponseId") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3WebhookRequest: The request message for a webhook call. The request is sent as a JSON object and the field names will be presented in camel cases.
func (*GoogleCloudDialogflowCxV3WebhookRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3WebhookRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo ¶
type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct { // Tag: Always present. The tag used to identify which fulfillment is // being called. Tag string `json:"tag,omitempty"` // ForceSendFields is a list of field names (e.g. "Tag") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Tag") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo: Represents fulfillment information communicated to the webhook.
func (*GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3WebhookRequestIntentInfo ¶
type GoogleCloudDialogflowCxV3WebhookRequestIntentInfo struct { // Confidence: The confidence of the matched intent. Values range from // 0.0 (completely uncertain) to 1.0 (completely certain). Confidence float64 `json:"confidence,omitempty"` // DisplayName: Always present. The display name of the last matched // intent. DisplayName string `json:"displayName,omitempty"` // LastMatchedIntent: Always present. The unique identifier of the last // matched intent. Format: `projects//locations//agents//intents/`. LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` // Parameters: Parameters identified as a result of intent matching. // This is a map of the name of the identified parameter to the value of // the parameter identified from the user's utterance. All parameters // defined in the matched intent that are identified will be surfaced // here. Parameters map[string]GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "Confidence") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Confidence") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3WebhookRequestIntentInfo: Represents intent information communicated to the webhook.
func (*GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue ¶
type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struct { // OriginalValue: Always present. Original text value extracted from // user utterance. OriginalValue string `json:"originalValue,omitempty"` // ResolvedValue: Always present. Structured value for the parameter // extracted from user utterance. ResolvedValue interface{} `json:"resolvedValue,omitempty"` // ForceSendFields is a list of field names (e.g. "OriginalValue") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OriginalValue") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue:
Represents a value for an intent parameter.
func (*GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult ¶
type GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult struct { // Magnitude: A non-negative number in the [0, +inf) range, which // represents the absolute magnitude of sentiment, regardless of score // (positive or negative). Magnitude float64 `json:"magnitude,omitempty"` // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 // (positive sentiment). Score float64 `json:"score,omitempty"` // ForceSendFields is a list of field names (e.g. "Magnitude") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Magnitude") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult: Represents the result of sentiment analysis.
func (*GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowCxV3WebhookResponse ¶
type GoogleCloudDialogflowCxV3WebhookResponse struct { // FulfillmentResponse: The fulfillment response to send to the user. // This field can be omitted by the webhook if it does not intend to // send any response to the user. FulfillmentResponse *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` // PageInfo: Information about page status. This field can be omitted by // the webhook if it does not intend to modify page status. PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"` // Payload: Value to append directly to QueryResult.webhook_payloads. Payload googleapi.RawMessage `json:"payload,omitempty"` // SessionInfo: Information about session status. This field can be // omitted by the webhook if it does not intend to modify session // status. SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"` // TargetFlow: The target flow to transition to. Format: // `projects//locations//agents//flows/`. TargetFlow string `json:"targetFlow,omitempty"` // TargetPage: The target page to transition to. Format: // `projects//locations//agents//flows//pages/`. TargetPage string `json:"targetPage,omitempty"` // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FulfillmentResponse") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3WebhookResponse: The response message for a webhook call.
func (*GoogleCloudDialogflowCxV3WebhookResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3WebhookResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse ¶
type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse struct { // MergeBehavior: Merge behavior for `messages`. // // Possible values: // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be // used. // "APPEND" - `messages` will be appended to the list of messages // waiting to be sent to the user. // "REPLACE" - `messages` will replace the list of messages waiting to // be sent to the user. MergeBehavior string `json:"mergeBehavior,omitempty"` // Messages: The list of rich message responses to present to the user. Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"` // ForceSendFields is a list of field names (e.g. "MergeBehavior") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MergeBehavior") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse: Represents a fulfillment response to the user.
func (*GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1Agent ¶
type GoogleCloudDialogflowCxV3beta1Agent struct { // AvatarUri: The URI of the agent's avatar. Avatars are used throughout // the Dialogflow console and in the self-hosted Web Demo // (https://cloud.google.com/dialogflow/docs/integrations/web-demo) // integration. AvatarUri string `json:"avatarUri,omitempty"` // DefaultLanguageCode: Immutable. The default language of the agent as // a language tag. See Language Support // (https://cloud.google.com/dialogflow/cx/docs/reference/language) for // a list of the currently supported language codes. This field cannot // be set by the Agents.UpdateAgent method. DefaultLanguageCode string `json:"defaultLanguageCode,omitempty"` // Description: The description of the agent. The maximum length is 500 // characters. If exceeded, the request is rejected. Description string `json:"description,omitempty"` // DisplayName: Required. The human-readable name of the agent, unique // within the location. DisplayName string `json:"displayName,omitempty"` // EnableSpellCorrection: Indicates if automatic spell correction is // enabled in detect intent requests. EnableSpellCorrection bool `json:"enableSpellCorrection,omitempty"` // EnableStackdriverLogging: Indicates if stackdriver logging is enabled // for the agent. EnableStackdriverLogging bool `json:"enableStackdriverLogging,omitempty"` // Name: The unique identifier of the agent. Required for the // Agents.UpdateAgent method. Agents.CreateAgent populates the name // automatically. Format: `projects//locations//agents/`. Name string `json:"name,omitempty"` // SecuritySettings: Name of the SecuritySettings reference for the // agent. Format: `projects//locations//securitySettings/`. SecuritySettings string `json:"securitySettings,omitempty"` // SpeechToTextSettings: Speech recognition related settings. SpeechToTextSettings *GoogleCloudDialogflowCxV3beta1SpeechToTextSettings `json:"speechToTextSettings,omitempty"` // StartFlow: Immutable. Name of the start flow in this agent. A start // flow will be automatically created when the agent is created, and can // only be deleted by deleting the agent. Format: // `projects//locations//agents//flows/`. StartFlow string `json:"startFlow,omitempty"` // SupportedLanguageCodes: The list of all languages supported by the // agent (except for the `default_language_code`). SupportedLanguageCodes []string `json:"supportedLanguageCodes,omitempty"` // TimeZone: Required. The time zone of the agent from the time zone // database (https://www.iana.org/time-zones), e.g., America/New_York, // Europe/Paris. TimeZone string `json:"timeZone,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AvatarUri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AvatarUri") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1Agent: Agents are best described as Natural Language Understanding (NLU) modules that transform user requests into actionable data. You can include agents in your app, product, or service to determine user intent and respond to the user in a natural way. After you create an agent, you can add Intents, Entity Types, Flows, Fulfillments, Webhooks, and so on to manage the conversation flows..
func (*GoogleCloudDialogflowCxV3beta1Agent) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1Agent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1AgentValidationResult ¶
type GoogleCloudDialogflowCxV3beta1AgentValidationResult struct { // FlowValidationResults: Contains all flow validation results. FlowValidationResults []*GoogleCloudDialogflowCxV3beta1FlowValidationResult `json:"flowValidationResults,omitempty"` // Name: The unique identifier of the agent validation result. Format: // `projects//locations//agents//validationResult`. Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "FlowValidationResults") to unconditionally include in API requests. // By default, fields with empty values are omitted from API requests. // However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FlowValidationResults") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1AgentValidationResult: The response message for Agents.GetAgentValidationResult.
func (*GoogleCloudDialogflowCxV3beta1AgentValidationResult) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1AgentValidationResult) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1AudioInput ¶
type GoogleCloudDialogflowCxV3beta1AudioInput struct { // Audio: The natural language speech audio to be processed. A single // request can contain up to 1 minute of speech audio data. The // transcribed text cannot contain more than 256 bytes. For // non-streaming audio detect intent, both `config` and `audio` must be // provided. For streaming audio detect intent, `config` must be // provided in the first request and `audio` must be provided in all // following requests. Audio string `json:"audio,omitempty"` // Config: Required. Instructs the speech recognizer how to process the // speech audio. Config *GoogleCloudDialogflowCxV3beta1InputAudioConfig `json:"config,omitempty"` // ForceSendFields is a list of field names (e.g. "Audio") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Audio") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1AudioInput: Represents the natural speech audio to be processed.
func (*GoogleCloudDialogflowCxV3beta1AudioInput) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1AudioInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest ¶
type GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest struct { // Names: Required. Format of test case names: `projects//locations/ // /agents//testCases/`. Names []string `json:"names,omitempty"` // ForceSendFields is a list of field names (e.g. "Names") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Names") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest: The request message for TestCases.BatchDeleteTestCases.
func (*GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata ¶
type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata struct { // Errors: The test errors. Errors []*GoogleCloudDialogflowCxV3beta1TestError `json:"errors,omitempty"` // ForceSendFields is a list of field names (e.g. "Errors") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Errors") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata: Metadata returned for the TestCases.BatchRunTestCases long running operation.
func (*GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest ¶
type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest struct { // Environment: Optional. If not set, draft environment is assumed. // Format: `projects//locations//agents//environments/`. Environment string `json:"environment,omitempty"` // TestCases: Required. Format: // `projects//locations//agents//testCases/`. TestCases []string `json:"testCases,omitempty"` // ForceSendFields is a list of field names (e.g. "Environment") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Environment") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest: The request message for TestCases.BatchRunTestCases.
func (*GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse ¶
type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse struct { // Results: The test case results. The detailed conversation turns are // empty in this response. Results []*GoogleCloudDialogflowCxV3beta1TestCaseResult `json:"results,omitempty"` // ForceSendFields is a list of field names (e.g. "Results") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Results") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse: The response message for TestCases.BatchRunTestCases.
func (*GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse ¶
type GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse struct { // Agent: The agent to calculate coverage for. Format: // `projects//locations//agents/`. Agent string `json:"agent,omitempty"` // IntentCoverage: Intent coverage. IntentCoverage *GoogleCloudDialogflowCxV3beta1IntentCoverage `json:"intentCoverage,omitempty"` // RouteGroupCoverage: Transition route group coverage. RouteGroupCoverage *GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage `json:"routeGroupCoverage,omitempty"` // TransitionCoverage: Transition (excluding transition route groups) // coverage. TransitionCoverage *GoogleCloudDialogflowCxV3beta1TransitionCoverage `json:"transitionCoverage,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Agent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Agent") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse: The response message for TestCases.CalculateCoverage.
func (*GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ContinuousTestResult ¶
type GoogleCloudDialogflowCxV3beta1ContinuousTestResult struct { // Name: The resource name for the continuous test result. Format: // `projects//locations//agents//environments//continuousTestResults/`. Name string `json:"name,omitempty"` // Result: The result of this continuous test run, i.e. whether all the // tests in this continuous test run pass or not. // // Possible values: // "AGGREGATED_TEST_RESULT_UNSPECIFIED" - Not specified. Should never // be used. // "PASSED" - All the tests passed. // "FAILED" - At least one test did not pass. Result string `json:"result,omitempty"` // RunTime: Time when the continuous testing run starts. RunTime string `json:"runTime,omitempty"` // TestCaseResults: A list of individual test case results names in this // continuous test run. TestCaseResults []string `json:"testCaseResults,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ContinuousTestResult: Represents a result from running a test case in an agent environment.
func (*GoogleCloudDialogflowCxV3beta1ContinuousTestResult) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ContinuousTestResult) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ConversationTurn ¶
type GoogleCloudDialogflowCxV3beta1ConversationTurn struct { // UserInput: The user input. UserInput *GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput `json:"userInput,omitempty"` // VirtualAgentOutput: The virtual agent output. VirtualAgentOutput *GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput `json:"virtualAgentOutput,omitempty"` // ForceSendFields is a list of field names (e.g. "UserInput") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UserInput") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ConversationTurn: One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.
func (*GoogleCloudDialogflowCxV3beta1ConversationTurn) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ConversationTurn) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput ¶
type GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput struct { // EnableSentimentAnalysis: Whether sentiment analysis is enabled. EnableSentimentAnalysis bool `json:"enableSentimentAnalysis,omitempty"` // InjectedParameters: Parameters that need to be injected into the // conversation during intent detection. InjectedParameters googleapi.RawMessage `json:"injectedParameters,omitempty"` // Input: Supports text input, event input, dtmf input in the test case. Input *GoogleCloudDialogflowCxV3beta1QueryInput `json:"input,omitempty"` // IsWebhookEnabled: If webhooks should be allowed to trigger in // response to the user utterance. Often if parameters are injected, // webhooks should not be enabled. IsWebhookEnabled bool `json:"isWebhookEnabled,omitempty"` // ForceSendFields is a list of field names (e.g. // "EnableSentimentAnalysis") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableSentimentAnalysis") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput: The input from the human user.
func (*GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput ¶
type GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput struct { // CurrentPage: The Page on which the utterance was spoken. Only name // and displayName will be set. CurrentPage *GoogleCloudDialogflowCxV3beta1Page `json:"currentPage,omitempty"` // DiagnosticInfo: Required. Input only. The diagnostic info output for // the turn. DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` // Differences: Output only. If this is part of a result conversation // turn, the list of differences between the original run and the replay // for this output, if any. Differences []*GoogleCloudDialogflowCxV3beta1TestRunDifference `json:"differences,omitempty"` // SessionParameters: The session parameters available to the bot at // this point. SessionParameters googleapi.RawMessage `json:"sessionParameters,omitempty"` // Status: Response error from the agent in the test result. If set, // other output is empty. Status *GoogleRpcStatus `json:"status,omitempty"` // TextResponses: The text responses from the agent for the turn. TextResponses []*GoogleCloudDialogflowCxV3beta1ResponseMessageText `json:"textResponses,omitempty"` // TriggeredIntent: The Intent that triggered the response. Only name // and displayName will be set. TriggeredIntent *GoogleCloudDialogflowCxV3beta1Intent `json:"triggeredIntent,omitempty"` // ForceSendFields is a list of field names (e.g. "CurrentPage") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CurrentPage") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput: The output from the virtual agent.
func (*GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata ¶
type GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata struct { // GenericMetadata: The generic information of the operation. GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata: Metadata for CreateDocument operation.
func (*GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata ¶
type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct { // Version: Name of the created version. Format: // `projects//locations//agents//flows//versions/`. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Version") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Version") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata: Metadata associated with the long running operation for Versions.CreateVersion.
func (*GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata ¶
type GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata struct { // GenericMetadata: The generic information of the operation. GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata: Metadata for DeleteDocument operation.
func (*GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1DetectIntentRequest ¶
type GoogleCloudDialogflowCxV3beta1DetectIntentRequest struct { // OutputAudioConfig: Instructs the speech synthesizer how to generate // the output audio. OutputAudioConfig *GoogleCloudDialogflowCxV3beta1OutputAudioConfig `json:"outputAudioConfig,omitempty"` // QueryInput: Required. The input specification. QueryInput *GoogleCloudDialogflowCxV3beta1QueryInput `json:"queryInput,omitempty"` // QueryParams: The parameters of this query. QueryParams *GoogleCloudDialogflowCxV3beta1QueryParameters `json:"queryParams,omitempty"` // ForceSendFields is a list of field names (e.g. "OutputAudioConfig") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OutputAudioConfig") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1DetectIntentRequest: The request to detect user's intent.
func (*GoogleCloudDialogflowCxV3beta1DetectIntentRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1DetectIntentRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1DetectIntentResponse ¶
type GoogleCloudDialogflowCxV3beta1DetectIntentResponse struct { // OutputAudio: The audio data bytes encoded as specified in the // request. Note: The output audio is generated based on the values of // default platform text responses found in the // `query_result.response_messages` field. If multiple default text // responses exist, they will be concatenated when generating audio. If // no default platform text responses exist, the generated audio content // will be empty. In some scenarios, multiple output audio fields may be // present in the response structure. In these cases, only the // top-most-level audio output has content. OutputAudio string `json:"outputAudio,omitempty"` // OutputAudioConfig: The config used by the speech synthesizer to // generate the output audio. OutputAudioConfig *GoogleCloudDialogflowCxV3beta1OutputAudioConfig `json:"outputAudioConfig,omitempty"` // QueryResult: The result of the conversational query. QueryResult *GoogleCloudDialogflowCxV3beta1QueryResult `json:"queryResult,omitempty"` // ResponseId: Output only. The unique identifier of the response. It // can be used to locate a response in the training example set or for // reporting issues. ResponseId string `json:"responseId,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "OutputAudio") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OutputAudio") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1DetectIntentResponse: The message returned from the DetectIntent method.
func (*GoogleCloudDialogflowCxV3beta1DetectIntentResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1DetectIntentResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1DtmfInput ¶
type GoogleCloudDialogflowCxV3beta1DtmfInput struct { // Digits: The dtmf digits. Digits string `json:"digits,omitempty"` // FinishDigit: The finish digit (if any). FinishDigit string `json:"finishDigit,omitempty"` // ForceSendFields is a list of field names (e.g. "Digits") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Digits") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1DtmfInput: Represents the input for dtmf event.
func (*GoogleCloudDialogflowCxV3beta1DtmfInput) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1DtmfInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1EntityType ¶
type GoogleCloudDialogflowCxV3beta1EntityType struct { // AutoExpansionMode: Indicates whether the entity type can be // automatically expanded. // // Possible values: // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the // entity. // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values // that have not been explicitly listed in the entity. AutoExpansionMode string `json:"autoExpansionMode,omitempty"` // DisplayName: Required. The human-readable name of the entity type, // unique within the agent. DisplayName string `json:"displayName,omitempty"` // EnableFuzzyExtraction: Enables fuzzy entity extraction during // classification. EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` // Entities: The collection of entity entries associated with the entity // type. Entities []*GoogleCloudDialogflowCxV3beta1EntityTypeEntity `json:"entities,omitempty"` // ExcludedPhrases: Collection of exceptional words and phrases that // shouldn't be matched. For example, if you have a size entity type // with entry `giant`(an adjective), you might consider adding // `giants`(a noun) as an exclusion. If the kind of entity type is // `KIND_MAP`, then the phrases specified by entities and excluded // phrases should be mutually exclusive. ExcludedPhrases []*GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase `json:"excludedPhrases,omitempty"` // Kind: Required. Indicates the kind of entity type. // // Possible values: // "KIND_UNSPECIFIED" - Not specified. This value should be never // used. // "KIND_MAP" - Map entity types allow mapping of a group of synonyms // to a canonical value. // "KIND_LIST" - List entity types contain a set of entries that do // not map to canonical values. However, list entity types can contain // references to other entity types (with or without aliases). // "KIND_REGEXP" - Regexp entity types allow to specify regular // expressions in entries values. Kind string `json:"kind,omitempty"` // Name: The unique identifier of the entity type. Required for // EntityTypes.UpdateEntityType. Format: // `projects//locations//agents//entityTypes/`. Name string `json:"name,omitempty"` // Redact: Indicates whether parameters of the entity type should be // redacted in log. If redaction is enabled, page parameters and intent // parameters referring to the entity type will be replaced by parameter // name during logging. Redact bool `json:"redact,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AutoExpansionMode") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1EntityType: Entities are extracted from user input and represent parameters that are meaningful to your application. For example, a date range, a proper name such as a geographic location or landmark, and so on. Entities represent actionable data for your application. When you define an entity, you can also include synonyms that all map to that entity. For example, "soft drink", "soda", "pop", and so on. There are three types of entities: * **System** - entities that are defined by the Dialogflow API for common data types such as date, time, currency, and so on. A system entity is represented by the `EntityType` type. * **Custom** - entities that are defined by you that represent actionable data that is meaningful to your application. For example, you could define a `pizza.sauce` entity for red or white pizza sauce, a `pizza.cheese` entity for the different types of cheese on a pizza, a `pizza.topping` entity for different toppings, and so on. A custom entity is represented by the `EntityType` type. * **User** - entities that are built for an individual user such as favorites, preferences, playlists, and so on. A user entity is represented by the SessionEntityType type. For more information about entity types, see the Dialogflow documentation (https://cloud.google.com/dialogflow/docs/entities-overview).
func (*GoogleCloudDialogflowCxV3beta1EntityType) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1EntityType) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1EntityTypeEntity ¶
type GoogleCloudDialogflowCxV3beta1EntityTypeEntity struct { // Synonyms: Required. A collection of value synonyms. For example, if // the entity type is *vegetable*, and `value` is *scallions*, a synonym // could be *green onions*. For `KIND_LIST` entity types: * This // collection must contain exactly one synonym equal to `value`. Synonyms []string `json:"synonyms,omitempty"` // Value: Required. The primary value associated with this entity entry. // For example, if the entity type is *vegetable*, the value could be // *scallions*. For `KIND_MAP` entity types: * A canonical value to be // used in place of synonyms. For `KIND_LIST` entity types: * A string // that can contain references to other entity types (with or without // aliases). Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Synonyms") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Synonyms") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1EntityTypeEntity: An **entity entry** for an associated entity type.
func (*GoogleCloudDialogflowCxV3beta1EntityTypeEntity) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1EntityTypeEntity) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase ¶
type GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase struct { // Value: Required. The word or phrase to be excluded. Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Value") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Value") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase: An excluded entity phrase that should not be matched.
func (*GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1EntityTypeExcludedPhrase) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1Environment ¶
type GoogleCloudDialogflowCxV3beta1Environment struct { // Description: The human-readable description of the environment. The // maximum length is 500 characters. If exceeded, the request is // rejected. Description string `json:"description,omitempty"` // DisplayName: Required. The human-readable name of the environment // (unique in an agent). Limit of 64 characters. DisplayName string `json:"displayName,omitempty"` // Name: The name of the environment. Format: // `projects//locations//agents//environments/`. Name string `json:"name,omitempty"` // UpdateTime: Output only. Update time of this environment. UpdateTime string `json:"updateTime,omitempty"` // VersionConfigs: Required. A list of configurations for flow versions. // You should include version configs for all flows that are reachable // from `Start Flow` in the agent. Otherwise, an error will be returned. VersionConfigs []*GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig `json:"versionConfigs,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1Environment: Represents an environment for an agent. You can create multiple versions of your agent and publish them to separate environments. When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent. When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for testing, development, production, etc.
func (*GoogleCloudDialogflowCxV3beta1Environment) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1Environment) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig ¶
type GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig struct { // Version: Required. Format: // projects//locations//agents//flows//versions/. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Version") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Version") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig: Configuration for the version.
func (*GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1EventHandler ¶
type GoogleCloudDialogflowCxV3beta1EventHandler struct { // Event: Required. The name of the event to handle. Event string `json:"event,omitempty"` // Name: Output only. The unique identifier of this event handler. Name string `json:"name,omitempty"` // TargetFlow: The target flow to transition to. Format: // `projects//locations//agents//flows/`. TargetFlow string `json:"targetFlow,omitempty"` // TargetPage: The target page to transition to. Format: // `projects//locations//agents//flows//pages/`. TargetPage string `json:"targetPage,omitempty"` // TriggerFulfillment: The fulfillment to call when the event occurs. // Handling webhook errors with a fulfillment enabled with webhook could // cause infinite loop. It is invalid to specify such fulfillment for a // handler handling webhooks. TriggerFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"triggerFulfillment,omitempty"` // ForceSendFields is a list of field names (e.g. "Event") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Event") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1EventHandler: An event handler specifies an event that can be handled during a session. When the specified event happens, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the event, it will be called. * If there is a `target_page` associated with the event, the session will transition into the specified page. * If there is a `target_flow` associated with the event, the session will transition into the specified flow.
func (*GoogleCloudDialogflowCxV3beta1EventHandler) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1EventHandler) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1EventInput ¶
type GoogleCloudDialogflowCxV3beta1EventInput struct { // Event: Name of the event. Event string `json:"event,omitempty"` // ForceSendFields is a list of field names (e.g. "Event") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Event") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1EventInput: Represents the event to trigger.
func (*GoogleCloudDialogflowCxV3beta1EventInput) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1EventInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1Experiment ¶
type GoogleCloudDialogflowCxV3beta1Experiment struct { // CreateTime: Creation time of this experiment. CreateTime string `json:"createTime,omitempty"` // Definition: The definition of the experiment. Definition *GoogleCloudDialogflowCxV3beta1ExperimentDefinition `json:"definition,omitempty"` // Description: The human-readable description of the experiment. Description string `json:"description,omitempty"` // DisplayName: Required. The human-readable name of the experiment // (unique in an environment). Limit of 64 characters. DisplayName string `json:"displayName,omitempty"` // EndTime: End time of this experiment. EndTime string `json:"endTime,omitempty"` // ExperimentLength: Maximum number of days to run the experiment. If // auto-rollout is not enabled, default value and maximum will be 30 // days. If auto-rollout is enabled, default value and maximum will be 6 // days. ExperimentLength string `json:"experimentLength,omitempty"` // LastUpdateTime: Last update time of this experiment. LastUpdateTime string `json:"lastUpdateTime,omitempty"` // Name: The name of the experiment. Format: // projects//locations//agents//environments//experiments/.. Name string `json:"name,omitempty"` // Result: Inference result of the experiment. Result *GoogleCloudDialogflowCxV3beta1ExperimentResult `json:"result,omitempty"` // StartTime: Start time of this experiment. StartTime string `json:"startTime,omitempty"` // State: The current state of the experiment. Transition triggered by // Expriments.StartExperiment: PENDING->RUNNING. Transition triggered by // Expriments.CancelExperiment: PENDING->CANCELLED or // RUNNING->CANCELLED. // // Possible values: // "STATE_UNSPECIFIED" - State unspecified. // "DRAFT" - The experiment is created but not started yet. // "RUNNING" - The experiment is running. // "DONE" - The experiment is done. State string `json:"state,omitempty"` // VariantsHistory: The history of updates to the experiment variants. VariantsHistory []*GoogleCloudDialogflowCxV3beta1VariantsHistory `json:"variantsHistory,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1Experiment: Represents an experiment in an environment.
func (*GoogleCloudDialogflowCxV3beta1Experiment) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1Experiment) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ExperimentDefinition ¶
type GoogleCloudDialogflowCxV3beta1ExperimentDefinition struct { // Condition: The condition defines which subset of sessions are // selected for this experiment. If not specified, all sessions are // eligible. E.g. "query_input.language_code=en" See the conditions // reference // (https://cloud.google.com/dialogflow/cx/docs/reference/condition). Condition string `json:"condition,omitempty"` // VersionVariants: The flow versions as the variants of this // experiment. VersionVariants *GoogleCloudDialogflowCxV3beta1VersionVariants `json:"versionVariants,omitempty"` // ForceSendFields is a list of field names (e.g. "Condition") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Condition") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ExperimentDefinition: Definition of the experiment.
func (*GoogleCloudDialogflowCxV3beta1ExperimentDefinition) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ExperimentDefinition) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ExperimentResult ¶
type GoogleCloudDialogflowCxV3beta1ExperimentResult struct { // LastUpdateTime: The last time the experiment's stats data was // updated. Will have default value if stats have never been computed // for this experiment. LastUpdateTime string `json:"lastUpdateTime,omitempty"` // VersionMetrics: Version variants and metrics. VersionMetrics []*GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics `json:"versionMetrics,omitempty"` // ForceSendFields is a list of field names (e.g. "LastUpdateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LastUpdateTime") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ExperimentResult: The inference result which includes an objective metric to optimize and the confidence interval.
func (*GoogleCloudDialogflowCxV3beta1ExperimentResult) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ExperimentResult) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval ¶
type GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval struct { // ConfidenceLevel: The confidence level used to construct the interval, // i.e. there is X% chance that the true value is within this interval. ConfidenceLevel float64 `json:"confidenceLevel,omitempty"` // LowerBound: Lower bound of the interval. LowerBound float64 `json:"lowerBound,omitempty"` // Ratio: The percent change between an experiment metric's value and // the value for its control. Ratio float64 `json:"ratio,omitempty"` // UpperBound: Upper bound of the interval. UpperBound float64 `json:"upperBound,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfidenceLevel") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfidenceLevel") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval: A confidence interval is a range of possible values for the experiment objective you are trying to measure.
func (*GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowCxV3beta1ExperimentResultMetric ¶
type GoogleCloudDialogflowCxV3beta1ExperimentResultMetric struct { // ConfidenceInterval: The probability that the treatment is better than // all other treatments in the experiment ConfidenceInterval *GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval `json:"confidenceInterval,omitempty"` // Count: Count value of a metric. Count float64 `json:"count,omitempty"` // CountType: Count-based metric type. Only one of type or count_type is // specified in each Metric. // // Possible values: // "COUNT_TYPE_UNSPECIFIED" - Count type unspecified. // "TOTAL_NO_MATCH_COUNT" - Total number of occurrences of a // 'NO_MATCH'. // "TOTAL_TURN_COUNT" - Total number of turn counts. // "AVERAGE_TURN_COUNT" - Average turn count in a session. CountType string `json:"countType,omitempty"` // Ratio: Ratio value of a metric. Ratio float64 `json:"ratio,omitempty"` // Type: Ratio-based metric type. Only one of type or count_type is // specified in each Metric. // // Possible values: // "METRIC_UNSPECIFIED" - Metric unspecified. // "CONTAINED_SESSION_NO_CALLBACK_RATE" - Percentage of contained // sessions without user calling back in 24 hours. // "LIVE_AGENT_HANDOFF_RATE" - Percentage of sessions that were handed // to a human agent. // "CALLBACK_SESSION_RATE" - Percentage of sessions with the same user // calling back. // "ABANDONED_SESSION_RATE" - Percentage of sessions where user hung // up. // "SESSION_END_RATE" - Percentage of sessions reached Dialogflow // 'END_PAGE' or 'END_SESSION'. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfidenceInterval") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfidenceInterval") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ExperimentResultMetric: Metric and corresponding confidence intervals.
func (*GoogleCloudDialogflowCxV3beta1ExperimentResultMetric) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ExperimentResultMetric) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowCxV3beta1ExperimentResultMetric) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ExperimentResultMetric) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics ¶
type GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics struct { // Metrics: The metrics and corresponding confidence intervals in the // inference result. Metrics []*GoogleCloudDialogflowCxV3beta1ExperimentResultMetric `json:"metrics,omitempty"` // SessionCount: Number of sessions that were allocated to this version. SessionCount int64 `json:"sessionCount,omitempty"` // Version: The name of the flow Version. Format: // `projects//locations//agents//flows//versions/`. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Metrics") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Metrics") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics: Version variant and associated metrics.
func (*GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ExperimentResultVersionMetrics) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ExportAgentRequest ¶
type GoogleCloudDialogflowCxV3beta1ExportAgentRequest struct { // AgentUri: Optional. The Google Cloud Storage // (https://cloud.google.com/storage/docs/) URI to export the agent to. // The format of this URI must be `gs:///`. If left unspecified, the // serialized agent is returned inline. AgentUri string `json:"agentUri,omitempty"` // Environment: Optional. Environment name. If not set, draft // environment is assumed. Format: // `projects//locations//agents//environments/`. Environment string `json:"environment,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentUri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AgentUri") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ExportAgentRequest: The request message for Agents.ExportAgent.
func (*GoogleCloudDialogflowCxV3beta1ExportAgentRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ExportAgentRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ExportAgentResponse ¶
type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct { // AgentContent: Uncompressed raw byte content for agent. AgentContent string `json:"agentContent,omitempty"` // AgentUri: The URI to a file containing the exported agent. This field // is populated only if `agent_uri` is specified in ExportAgentRequest. AgentUri string `json:"agentUri,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AgentContent") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ExportAgentResponse: The response message for Agents.ExportAgent.
func (*GoogleCloudDialogflowCxV3beta1ExportAgentResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ExportAgentResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ExportFlowRequest ¶
type GoogleCloudDialogflowCxV3beta1ExportFlowRequest struct { // FlowUri: Optional. The Google Cloud Storage // (https://cloud.google.com/storage/docs/) URI to export the flow to. // The format of this URI must be `gs:///`. If left unspecified, the // serialized flow is returned inline. FlowUri string `json:"flowUri,omitempty"` // IncludeReferencedFlows: Optional. Whether to export flows referenced // by the specified flow. IncludeReferencedFlows bool `json:"includeReferencedFlows,omitempty"` // ForceSendFields is a list of field names (e.g. "FlowUri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FlowUri") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ExportFlowRequest: The request message for Flows.ExportFlow.
func (*GoogleCloudDialogflowCxV3beta1ExportFlowRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ExportFlowRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ExportFlowResponse ¶
type GoogleCloudDialogflowCxV3beta1ExportFlowResponse struct { // FlowContent: Uncompressed raw byte content for flow. FlowContent string `json:"flowContent,omitempty"` // FlowUri: The URI to a file containing the exported flow. This field // is populated only if `flow_uri` is specified in ExportFlowRequest. FlowUri string `json:"flowUri,omitempty"` // ForceSendFields is a list of field names (e.g. "FlowContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FlowContent") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ExportFlowResponse: The response message for Flows.ExportFlow.
func (*GoogleCloudDialogflowCxV3beta1ExportFlowResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ExportFlowResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata ¶
type GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata struct { }
GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata: Metadata returned for the TestCases.ExportTestCases long running operation.
type GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest ¶
type GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest struct { // DataFormat: The data format of the exported test cases. If not // specified, `BLOB` is assumed. // // Possible values: // "DATA_FORMAT_UNSPECIFIED" - Unspecified format. // "BLOB" - Raw bytes. // "JSON" - JSON format. DataFormat string `json:"dataFormat,omitempty"` // Filter: The filter expression used to filter exported test cases, see // API Filtering (https://aip.dev/160). The expression is case // insensitive and supports the following syntax: name = [OR name = ] // ... For example: * "name = t1 OR name = t2" matches the test case // with the exact resource name "t1" or "t2". Filter string `json:"filter,omitempty"` // GcsUri: The Google Cloud Storage // (https://cloud.google.com/storage/docs/) URI to export the test cases // to. The format of this URI must be `gs:///`. If unspecified, the // serialized test cases is returned inline. GcsUri string `json:"gcsUri,omitempty"` // ForceSendFields is a list of field names (e.g. "DataFormat") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataFormat") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest: The request message for TestCases.ExportTestCases.
func (*GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse ¶
type GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse struct { // Content: Uncompressed raw byte content for test cases. Content string `json:"content,omitempty"` // GcsUri: The URI to a file containing the exported test cases. This // field is populated only if `gcs_uri` is specified in // ExportTestCasesRequest. GcsUri string `json:"gcsUri,omitempty"` // ForceSendFields is a list of field names (e.g. "Content") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Content") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse: The response message for TestCases.ExportTestCases.
func (*GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1Flow ¶
type GoogleCloudDialogflowCxV3beta1Flow struct { // Description: The description of the flow. The maximum length is 500 // characters. If exceeded, the request is rejected. Description string `json:"description,omitempty"` // DisplayName: Required. The human-readable name of the flow. DisplayName string `json:"displayName,omitempty"` // EventHandlers: A flow's event handlers serve two purposes: * They are // responsible for handling events (e.g. no match, webhook errors) in // the flow. * They are inherited by every page's event handlers, which // can be used to handle common events regardless of the current page. // Event handlers defined in the page have higher priority than those // defined in the flow. Unlike transition_routes, these handlers are // evaluated on a first-match basis. The first one that matches the // event get executed, with the rest being ignored. EventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"eventHandlers,omitempty"` // Name: The unique identifier of the flow. Format: // `projects//locations//agents//flows/`. Name string `json:"name,omitempty"` // NluSettings: NLU related settings of the flow. NluSettings *GoogleCloudDialogflowCxV3beta1NluSettings `json:"nluSettings,omitempty"` // TransitionRouteGroups: A flow's transition route group serve two // purposes: * They are responsible for matching the user's first // utterances in the flow. * They are inherited by every page's // transition route groups. Transition route groups defined in the page // have higher priority than those defined in the flow. // Format:`projects//locations//agents//flows//transitionRouteGroups/`. TransitionRouteGroups []string `json:"transitionRouteGroups,omitempty"` // TransitionRoutes: A flow's transition routes serve two purposes: * // They are responsible for matching the user's first utterances in the // flow. * They are inherited by every page's transition routes and can // support use cases such as the user saying "help" or "can I talk to a // human?", which can be handled in a common way regardless of the // current page. Transition routes defined in the page have higher // priority than those defined in the flow. TransitionRoutes are // evalauted in the following order: * TransitionRoutes with intent // specified.. * TransitionRoutes with only condition specified. // TransitionRoutes with intent specified are inherited by pages in the // flow. TransitionRoutes []*GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoutes,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1Flow: Flows represents the conversation flows when you build your chatbot agent. A flow consists of many pages connected by the transition routes. Conversations always start with the built-in Start Flow (with an all-0 ID). Transition routes can direct the conversation session from the current flow (parent flow) to another flow (sub flow). When the sub flow is finished, Dialogflow will bring the session back to the parent flow, where the sub flow is started. Usually, when a transition route is followed by a matched intent, the intent will be "consumed". This means the intent won't activate more transition routes. However, when the followed transition route moves the conversation session into a different flow, the matched intent can be carried over and to be consumed in the target flow.
func (*GoogleCloudDialogflowCxV3beta1Flow) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1Flow) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1FlowValidationResult ¶
type GoogleCloudDialogflowCxV3beta1FlowValidationResult struct { // Name: The unique identifier of the flow validation result. Format: // `projects//locations//agents//flows//validationResult`. Name string `json:"name,omitempty"` // UpdateTime: Last time the flow was validated. UpdateTime string `json:"updateTime,omitempty"` // ValidationMessages: Contains all validation messages. ValidationMessages []*GoogleCloudDialogflowCxV3beta1ValidationMessage `json:"validationMessages,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1FlowValidationResult: The response message for Flows.GetFlowValidationResult.
func (*GoogleCloudDialogflowCxV3beta1FlowValidationResult) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1FlowValidationResult) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1Form ¶
type GoogleCloudDialogflowCxV3beta1Form struct { // Parameters: Parameters to collect from the user. Parameters []*GoogleCloudDialogflowCxV3beta1FormParameter `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "Parameters") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Parameters") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1Form: A form is a data model that groups related parameters that can be collected from the user. The process in which the agent prompts the user and collects parameter values from the user is called form filling. A form can be added to a page. When form filling is done, the filled parameters will be written to the session.
func (*GoogleCloudDialogflowCxV3beta1Form) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1Form) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1FormParameter ¶
type GoogleCloudDialogflowCxV3beta1FormParameter struct { // DefaultValue: The default value of an optional parameter. If the // parameter is required, the default value will be ignored. DefaultValue interface{} `json:"defaultValue,omitempty"` // DisplayName: Required. The human-readable name of the parameter, // unique within the form. DisplayName string `json:"displayName,omitempty"` // EntityType: Required. The entity type of the parameter. Format: // `projects/-/locations/-/agents/-/entityTypes/` for system entity // types (for example, // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or // `projects//locations//agents//entityTypes/` for developer entity // types. EntityType string `json:"entityType,omitempty"` // FillBehavior: Required. Defines fill behavior for the parameter. FillBehavior *GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior `json:"fillBehavior,omitempty"` // IsList: Indicates whether the parameter represents a list of values. IsList bool `json:"isList,omitempty"` // Redact: Indicates whether the parameter content should be redacted in // log. If redaction is enabled, the parameter content will be replaced // by parameter name during logging. Note: the parameter content is // subject to redaction if either parameter level redaction or entity // type level redaction is enabled. Redact bool `json:"redact,omitempty"` // Required: Indicates whether the parameter is required. Optional // parameters will not trigger prompts; however, they are filled if the // user specifies them. Required parameters must be filled before form // filling concludes. Required bool `json:"required,omitempty"` // ForceSendFields is a list of field names (e.g. "DefaultValue") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DefaultValue") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1FormParameter: Represents a form parameter.
func (*GoogleCloudDialogflowCxV3beta1FormParameter) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1FormParameter) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior ¶
type GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior struct { // InitialPromptFulfillment: Required. The fulfillment to provide the // initial prompt that the agent can present to the user in order to // fill the parameter. InitialPromptFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"initialPromptFulfillment,omitempty"` // RepromptEventHandlers: The handlers for parameter-level events, used // to provide reprompt for the parameter or transition to a different // page/flow. The supported events are: * `sys.no-match-`, where N can // be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N // can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter` // `initial_prompt_fulfillment` provides the first prompt for the // parameter. If the user's response does not fill the parameter, a // no-match/no-input event will be triggered, and the fulfillment // associated with the `sys.no-match-1`/`sys.no-input-1` handler (if // defined) will be called to provide a prompt. The // `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond // to the next no-match/no-input event, and so on. A // `sys.no-match-default` or `sys.no-input-default` handler will be used // to handle all following no-match/no-input events after all numbered // no-match/no-input handlers for the parameter are consumed. A // `sys.invalid-parameter` handler can be defined to handle the case // where the parameter values have been `invalidated` by webhook. For // example, if the user's response fill the parameter, however the // parameter was invalidated by webhook, the fulfillment associated with // the `sys.invalid-parameter` handler (if defined) will be called to // provide a prompt. If the event handler for the corresponding event // can't be found on the parameter, `initial_prompt_fulfillment` will be // re-prompted. RepromptEventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"repromptEventHandlers,omitempty"` // ForceSendFields is a list of field names (e.g. // "InitialPromptFulfillment") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "InitialPromptFulfillment") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior: Configuration for how the filling of a parameter should be handled.
func (*GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1FulfillIntentRequest ¶
type GoogleCloudDialogflowCxV3beta1FulfillIntentRequest struct { // Match: The matched intent/event to fulfill. Match *GoogleCloudDialogflowCxV3beta1Match `json:"match,omitempty"` // MatchIntentRequest: Must be same as the corresponding MatchIntent // request, otherwise the behavior is undefined. MatchIntentRequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest `json:"matchIntentRequest,omitempty"` // OutputAudioConfig: Instructs the speech synthesizer how to generate // output audio. OutputAudioConfig *GoogleCloudDialogflowCxV3beta1OutputAudioConfig `json:"outputAudioConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "Match") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Match") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1FulfillIntentRequest: Request of FulfillIntent
func (*GoogleCloudDialogflowCxV3beta1FulfillIntentRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1FulfillIntentResponse ¶
type GoogleCloudDialogflowCxV3beta1FulfillIntentResponse struct { // OutputAudio: The audio data bytes encoded as specified in the // request. Note: The output audio is generated based on the values of // default platform text responses found in the // `query_result.response_messages` field. If multiple default text // responses exist, they will be concatenated when generating audio. If // no default platform text responses exist, the generated audio content // will be empty. In some scenarios, multiple output audio fields may be // present in the response structure. In these cases, only the // top-most-level audio output has content. OutputAudio string `json:"outputAudio,omitempty"` // OutputAudioConfig: The config used by the speech synthesizer to // generate the output audio. OutputAudioConfig *GoogleCloudDialogflowCxV3beta1OutputAudioConfig `json:"outputAudioConfig,omitempty"` // QueryResult: The result of the conversational query. QueryResult *GoogleCloudDialogflowCxV3beta1QueryResult `json:"queryResult,omitempty"` // ResponseId: Output only. The unique identifier of the response. It // can be used to locate a response in the training example set or for // reporting issues. ResponseId string `json:"responseId,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "OutputAudio") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OutputAudio") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1FulfillIntentResponse: Response of FulfillIntent
func (*GoogleCloudDialogflowCxV3beta1FulfillIntentResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1Fulfillment ¶
type GoogleCloudDialogflowCxV3beta1Fulfillment struct { // ConditionalCases: Conditional cases for this fulfillment. ConditionalCases []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases `json:"conditionalCases,omitempty"` // Messages: The list of rich message responses to present to the user. Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` // SetParameterActions: Set parameter values before executing the // webhook. SetParameterActions []*GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction `json:"setParameterActions,omitempty"` // Tag: The tag used by the webhook to identify which fulfillment is // being called. This field is required if `webhook` is specified. Tag string `json:"tag,omitempty"` // Webhook: The webhook to call. Format: // `projects//locations//agents//webhooks/`. Webhook string `json:"webhook,omitempty"` // ForceSendFields is a list of field names (e.g. "ConditionalCases") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConditionalCases") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1Fulfillment: A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both.
func (*GoogleCloudDialogflowCxV3beta1Fulfillment) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1Fulfillment) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases ¶
type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases struct { // Cases: A list of cascading if-else conditions. Cases []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase `json:"cases,omitempty"` // ForceSendFields is a list of field names (e.g. "Cases") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Cases") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases: A list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.
func (*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase ¶
type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase struct { // CaseContent: A list of case content. CaseContent []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent `json:"caseContent,omitempty"` // Condition: The condition to activate and select this case. Empty // means the condition is always true. The condition is evaluated // against form parameters or session parameters. See the conditions // reference // (https://cloud.google.com/dialogflow/cx/docs/reference/condition). Condition string `json:"condition,omitempty"` // ForceSendFields is a list of field names (e.g. "CaseContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CaseContent") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase: Each case has a Boolean condition. When it is evaluated to be True, the corresponding messages will be selected and evaluated recursively.
func (*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent ¶
type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent struct { // AdditionalCases: Additional cases to be evaluated. AdditionalCases *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases `json:"additionalCases,omitempty"` // Message: Returned message. Message *GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"message,omitempty"` // ForceSendFields is a list of field names (e.g. "AdditionalCases") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdditionalCases") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseConte nt: The list of messages or conditional cases to activate for this case.
func (*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction ¶
type GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction struct { // Parameter: Display name of the parameter. Parameter string `json:"parameter,omitempty"` // Value: The new value of the parameter. A null value clears the // parameter. Value interface{} `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Parameter") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Parameter") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction: Setting a parameter value.
func (*GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata ¶
type GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata struct { // State: Required. Output only. The current state of this operation. // // Possible values: // "STATE_UNSPECIFIED" - State unspecified. // "PENDING" - The operation has been created. // "RUNNING" - The operation is currently running. // "DONE" - The operation is done, either cancelled or completed. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "State") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "State") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata: Metadata in google::longrunning::Operation for Knowledge operations.
func (*GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata ¶
type GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata struct { // GenericMetadata: The generic information of the operation. GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata: Metadata for ImportDocuments operation.
func (*GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse ¶
type GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse struct { // Warnings: Includes details about skipped documents or any other // warnings. Warnings []*GoogleRpcStatus `json:"warnings,omitempty"` // ForceSendFields is a list of field names (e.g. "Warnings") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Warnings") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse: Response message for Documents.ImportDocuments.
func (*GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ImportFlowRequest ¶
type GoogleCloudDialogflowCxV3beta1ImportFlowRequest struct { // FlowContent: Uncompressed raw byte content for flow. FlowContent string `json:"flowContent,omitempty"` // FlowUri: The Google Cloud Storage // (https://cloud.google.com/storage/docs/) URI to import flow from. The // format of this URI must be `gs:///`. FlowUri string `json:"flowUri,omitempty"` // ImportOption: Flow import mode. If not specified, `KEEP` is assumed. // // Possible values: // "IMPORT_OPTION_UNSPECIFIED" - Unspecified. Treated as `KEEP`. // "KEEP" - Always respect settings in exported flow content. It may // cause a import failure if some settings (e.g. custom NLU) are not // supported in the agent to import into. // "FALLBACK" - Fallback to default settings if some settings are not // supported in the agent to import into. E.g. Standard NLU will be used // if custom NLU is not available. ImportOption string `json:"importOption,omitempty"` // ForceSendFields is a list of field names (e.g. "FlowContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FlowContent") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ImportFlowRequest: The request message for Flows.ImportFlow.
func (*GoogleCloudDialogflowCxV3beta1ImportFlowRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ImportFlowRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ImportFlowResponse ¶
type GoogleCloudDialogflowCxV3beta1ImportFlowResponse struct { // Flow: The unique identifier of the new flow. Format: // `projects//locations//agents//flows/`. Flow string `json:"flow,omitempty"` // ForceSendFields is a list of field names (e.g. "Flow") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Flow") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ImportFlowResponse: The response message for Flows.ImportFlow.
func (*GoogleCloudDialogflowCxV3beta1ImportFlowResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ImportFlowResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata ¶
type GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata struct { // Errors: Errors for failed test cases. Errors []*GoogleCloudDialogflowCxV3beta1TestCaseError `json:"errors,omitempty"` // ForceSendFields is a list of field names (e.g. "Errors") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Errors") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata: Metadata returned for the TestCases.ImportTestCases long running operation.
func (*GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest ¶
type GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest struct { // Content: Uncompressed raw byte content for test cases. Content string `json:"content,omitempty"` // GcsUri: The Google Cloud Storage // (https://cloud.google.com/storage/docs/) URI to import test cases // from. The format of this URI must be `gs:///`. GcsUri string `json:"gcsUri,omitempty"` // ForceSendFields is a list of field names (e.g. "Content") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Content") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest: The request message for TestCases.ImportTestCases.
func (*GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse ¶
type GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse struct { // Names: The unique identifiers of the new test cases. Format: // `projects//locations//agents//testCases/`. Names []string `json:"names,omitempty"` // ForceSendFields is a list of field names (e.g. "Names") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Names") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse: The response message for TestCases.ImportTestCases.
func (*GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1InputAudioConfig ¶
type GoogleCloudDialogflowCxV3beta1InputAudioConfig struct { // AudioEncoding: Required. Audio encoding of the audio content to // process. // // Possible values: // "AUDIO_ENCODING_UNSPECIFIED" - Not specified. // "AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed // little-endian samples (Linear PCM). // "AUDIO_ENCODING_FLAC" - // [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless // Audio Codec) is the recommended encoding because it is lossless // (therefore recognition is not compromised) and requires only about // half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports // 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` // are supported. // "AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit audio // samples using G.711 PCMU/mu-law. // "AUDIO_ENCODING_AMR" - Adaptive Multi-Rate Narrowband codec. // `sample_rate_hertz` must be 8000. // "AUDIO_ENCODING_AMR_WB" - Adaptive Multi-Rate Wideband codec. // `sample_rate_hertz` must be 16000. // "AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio frames in Ogg // container ([OggOpus](https://wiki.xiph.org/OggOpus)). // `sample_rate_hertz` must be 16000. // "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" - Although the use of lossy // encodings is not recommended, if a very low bitrate encoding is // required, `OGG_OPUS` is highly preferred over Speex encoding. The // [Speex](https://speex.org/) encoding supported by Dialogflow API has // a header byte in each block, as in MIME type // `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex // encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574). // The stream is a sequence of blocks, one block per RTP packet. Each // block starts with a byte containing the length of the block, in // bytes, followed by one or more frames of Speex data, padded to an // integral number of bytes (octets) as specified in RFC 5574. In other // words, each RTP header is replaced with a single byte containing the // block length. Only Speex wideband is supported. `sample_rate_hertz` // must be 16000. AudioEncoding string `json:"audioEncoding,omitempty"` // EnableWordInfo: Optional. If `true`, Dialogflow returns // SpeechWordInfo in StreamingRecognitionResult with information about // the recognized speech words, e.g. start and end time offsets. If // false or unspecified, Speech doesn't return any word-level // information. EnableWordInfo bool `json:"enableWordInfo,omitempty"` // Model: Optional. Which Speech model to select for the given request. // Select the model best suited to your domain to get best results. If a // model is not explicitly specified, then we auto-select a model based // on the parameters in the InputAudioConfig. If enhanced speech model // is enabled for the agent and an enhanced version of the specified // model for the language does not exist, then the speech is recognized // using the standard version of the specified model. Refer to Cloud // Speech API documentation // (https://cloud.google.com/speech-to-text/docs/basics#select-model) // for more details. Model string `json:"model,omitempty"` // ModelVariant: Optional. Which variant of the Speech model to use. // // Possible values: // "SPEECH_MODEL_VARIANT_UNSPECIFIED" - No model variant specified. In // this case Dialogflow defaults to USE_BEST_AVAILABLE. // "USE_BEST_AVAILABLE" - Use the best available variant of the Speech // model that the caller is eligible for. Please see the [Dialogflow // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how // to make your project eligible for enhanced models. // "USE_STANDARD" - Use standard model variant even if an enhanced // model is available. See the [Cloud Speech // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m // odels) for details about enhanced models. // "USE_ENHANCED" - Use an enhanced model variant: * If an enhanced // variant does not exist for the given model and request language, // Dialogflow falls back to the standard variant. The [Cloud Speech // documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m // odels) describes which models have enhanced variants. * If the API // caller isn't eligible for enhanced models, Dialogflow returns an // error. Please see the [Dialogflow // docs](https://cloud.google.com/dialogflow/docs/data-logging) for how // to make your project eligible. ModelVariant string `json:"modelVariant,omitempty"` // PhraseHints: Optional. A list of strings containing words and phrases // that the speech recognizer should recognize with higher likelihood. // See the Cloud Speech documentation // (https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) // for more details. PhraseHints []string `json:"phraseHints,omitempty"` // SampleRateHertz: Sample rate (in Hertz) of the audio content sent in // the query. Refer to Cloud Speech API documentation // (https://cloud.google.com/speech-to-text/docs/basics) for more // details. SampleRateHertz int64 `json:"sampleRateHertz,omitempty"` // SingleUtterance: Optional. If `false` (default), recognition does not // cease until the client closes the stream. If `true`, the recognizer // will detect a single spoken utterance in input audio. Recognition // ceases when it detects the audio's voice has stopped or paused. In // this case, once a detected intent is received, the client should // close the stream and start a new request with a new stream as needed. // Note: This setting is relevant only for streaming methods. SingleUtterance bool `json:"singleUtterance,omitempty"` // ForceSendFields is a list of field names (e.g. "AudioEncoding") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AudioEncoding") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1InputAudioConfig: Instructs the speech recognizer on how to process the audio content.
func (*GoogleCloudDialogflowCxV3beta1InputAudioConfig) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1InputAudioConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1Intent ¶
type GoogleCloudDialogflowCxV3beta1Intent struct { // Description: Human readable description for better understanding an // intent like its scope, content, result etc. Maximum character limit: // 140 characters. Description string `json:"description,omitempty"` // DisplayName: Required. The human-readable name of the intent, unique // within the agent. DisplayName string `json:"displayName,omitempty"` // IsFallback: Indicates whether this is a fallback intent. Currently // only default fallback intent is allowed in the agent, which is added // upon agent creation. Adding training phrases to fallback intent is // useful in the case of requests that are mistakenly matched, since // training phrases assigned to fallback intents act as negative // examples that triggers no-match event. IsFallback bool `json:"isFallback,omitempty"` // Labels: The key/value metadata to label an intent. Labels can contain // lowercase letters, digits and the symbols '-' and '_'. International // characters are allowed, including letters from unicase alphabets. // Keys must start with a letter. Keys and values can be no longer than // 63 characters and no more than 128 bytes. Prefix "sys-" is reserved // for Dialogflow defined labels. Currently allowed Dialogflow defined // labels include: * sys-head * sys-contextual The above labels do not // require value. "sys-head" means the intent is a head intent. // "sys-contextual" means the intent is a contextual intent. Labels map[string]string `json:"labels,omitempty"` // Name: The unique identifier of the intent. Required for the // Intents.UpdateIntent method. Intents.CreateIntent populates the name // automatically. Format: `projects//locations//agents//intents/`. Name string `json:"name,omitempty"` // Parameters: The collection of parameters associated with the intent. Parameters []*GoogleCloudDialogflowCxV3beta1IntentParameter `json:"parameters,omitempty"` // Priority: The priority of this intent. Higher numbers represent // higher priorities. - If the supplied value is unspecified or 0, the // service translates the value to 500,000, which corresponds to the // `Normal` priority in the console. - If the supplied value is // negative, the intent is ignored in runtime detect intent requests. Priority int64 `json:"priority,omitempty"` // TrainingPhrases: The collection of training phrases the agent is // trained on to identify the intent. TrainingPhrases []*GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase `json:"trainingPhrases,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1Intent: An intent represents a user's intent to interact with a conversational agent. You can provide information for the Dialogflow API to use to match user input to an intent by adding training phrases (i.e., examples of user input) to your intent.
func (*GoogleCloudDialogflowCxV3beta1Intent) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1Intent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1IntentCoverage ¶
type GoogleCloudDialogflowCxV3beta1IntentCoverage struct { // CoverageScore: The percent of intents in the agent that are covered. CoverageScore float64 `json:"coverageScore,omitempty"` // Intents: The list of Intents present in the agent Intents []*GoogleCloudDialogflowCxV3beta1IntentCoverageIntent `json:"intents,omitempty"` // ForceSendFields is a list of field names (e.g. "CoverageScore") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CoverageScore") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1IntentCoverage: Intent coverage represents the percentage of all possible intents in the agent that are triggered in any of a parent's test cases.
func (*GoogleCloudDialogflowCxV3beta1IntentCoverage) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1IntentCoverage) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowCxV3beta1IntentCoverage) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1IntentCoverage) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowCxV3beta1IntentCoverageIntent ¶
type GoogleCloudDialogflowCxV3beta1IntentCoverageIntent struct { // Covered: Whether or not the intent is covered by at least one of the // agent's test cases. Covered bool `json:"covered,omitempty"` // Intent: The intent full resource name Intent string `json:"intent,omitempty"` // ForceSendFields is a list of field names (e.g. "Covered") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Covered") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1IntentCoverageIntent: The agent's intent.
func (*GoogleCloudDialogflowCxV3beta1IntentCoverageIntent) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1IntentCoverageIntent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1IntentInput ¶
type GoogleCloudDialogflowCxV3beta1IntentInput struct { // Intent: Required. The unique identifier of the intent. Format: // `projects//locations//agents//intents/`. Intent string `json:"intent,omitempty"` // ForceSendFields is a list of field names (e.g. "Intent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Intent") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1IntentInput: Represents the intent to trigger programmatically rather than as a result of natural language processing.
func (*GoogleCloudDialogflowCxV3beta1IntentInput) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1IntentInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1IntentParameter ¶
type GoogleCloudDialogflowCxV3beta1IntentParameter struct { // EntityType: Required. The entity type of the parameter. Format: // `projects/-/locations/-/agents/-/entityTypes/` for system entity // types (for example, // `projects/-/locations/-/agents/-/entityTypes/sys.date`), or // `projects//locations//agents//entityTypes/` for developer entity // types. EntityType string `json:"entityType,omitempty"` // Id: Required. The unique identifier of the parameter. This field is // used by training phrases to annotate their parts. Id string `json:"id,omitempty"` // IsList: Indicates whether the parameter represents a list of values. IsList bool `json:"isList,omitempty"` // Redact: Indicates whether the parameter content should be redacted in // log. If redaction is enabled, the parameter content will be replaced // by parameter name during logging. Note: the parameter content is // subject to redaction if either parameter level redaction or entity // type level redaction is enabled. Redact bool `json:"redact,omitempty"` // ForceSendFields is a list of field names (e.g. "EntityType") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntityType") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1IntentParameter: Represents an intent parameter.
func (*GoogleCloudDialogflowCxV3beta1IntentParameter) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1IntentParameter) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase ¶
type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase struct { // Id: Output only. The unique identifier of the training phrase. Id string `json:"id,omitempty"` // Parts: Required. The ordered list of training phrase parts. The parts // are concatenated in order to form the training phrase. Note: The API // does not automatically annotate training phrases like the Dialogflow // Console does. Note: Do not forget to include whitespace at part // boundaries, so the training phrase is well formatted when the parts // are concatenated. If the training phrase does not need to be // annotated with parameters, you just need a single part with only the // Part.text field set. If you want to annotate the training phrase, you // must create multiple parts, where the fields of each part are // populated in one of two ways: - `Part.text` is set to a part of the // phrase that has no parameters. - `Part.text` is set to a part of the // phrase that you want to annotate, and the `parameter_id` field is // set. Parts []*GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart `json:"parts,omitempty"` // RepeatCount: Indicates how many times this example was added to the // intent. RepeatCount int64 `json:"repeatCount,omitempty"` // ForceSendFields is a list of field names (e.g. "Id") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Id") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase: Represents an example that the agent is trained on to identify the intent.
func (*GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart ¶
type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart struct { // ParameterId: The parameter used to annotate this part of the training // phrase. This field is required for annotated parts of the training // phrase. ParameterId string `json:"parameterId,omitempty"` // Text: Required. The text for this part. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "ParameterId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ParameterId") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart: Represents a part of a training phrase.
func (*GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ListAgentsResponse ¶
type GoogleCloudDialogflowCxV3beta1ListAgentsResponse struct { // Agents: The list of agents. There will be a maximum number of items // returned based on the page_size field in the request. Agents []*GoogleCloudDialogflowCxV3beta1Agent `json:"agents,omitempty"` // NextPageToken: Token to retrieve the next page of results, or empty // if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Agents") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Agents") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ListAgentsResponse: The response message for Agents.ListAgents.
func (*GoogleCloudDialogflowCxV3beta1ListAgentsResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ListAgentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse ¶
type GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse struct { // ContinuousTestResults: The list of continuous test results. ContinuousTestResults []*GoogleCloudDialogflowCxV3beta1ContinuousTestResult `json:"continuousTestResults,omitempty"` // NextPageToken: Token to retrieve the next page of results, or empty // if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "ContinuousTestResults") to unconditionally include in API requests. // By default, fields with empty values are omitted from API requests. // However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContinuousTestResults") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse: The response message for Environments.ListTestCaseResults.
func (*GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse ¶
type GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse struct { // EntityTypes: The list of entity types. There will be a maximum number // of items returned based on the page_size field in the request. EntityTypes []*GoogleCloudDialogflowCxV3beta1EntityType `json:"entityTypes,omitempty"` // NextPageToken: Token to retrieve the next page of results, or empty // if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "EntityTypes") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntityTypes") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse: The response message for EntityTypes.ListEntityTypes.
func (*GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse ¶
type GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse struct { // Environments: The list of environments. There will be a maximum // number of items returned based on the page_size field in the request. // The list may in some cases be empty or contain fewer entries than // page_size even if this isn't the last page. Environments []*GoogleCloudDialogflowCxV3beta1Environment `json:"environments,omitempty"` // NextPageToken: Token to retrieve the next page of results, or empty // if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Environments") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Environments") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse: The response message for Environments.ListEnvironments.
func (*GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ListExperimentsResponse ¶
type GoogleCloudDialogflowCxV3beta1ListExperimentsResponse struct { // Experiments: The list of experiments. There will be a maximum number // of items returned based on the page_size field in the request. The // list may in some cases be empty or contain fewer entries than // page_size even if this isn't the last page. Experiments []*GoogleCloudDialogflowCxV3beta1Experiment `json:"experiments,omitempty"` // NextPageToken: Token to retrieve the next page of results, or empty // if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Experiments") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Experiments") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ListExperimentsResponse: The response message for Experiments.ListExperiments.
func (*GoogleCloudDialogflowCxV3beta1ListExperimentsResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ListExperimentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ListFlowsResponse ¶
type GoogleCloudDialogflowCxV3beta1ListFlowsResponse struct { // Flows: The list of flows. There will be a maximum number of items // returned based on the page_size field in the request. Flows []*GoogleCloudDialogflowCxV3beta1Flow `json:"flows,omitempty"` // NextPageToken: Token to retrieve the next page of results, or empty // if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Flows") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Flows") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ListFlowsResponse: The response message for Flows.ListFlows.
func (*GoogleCloudDialogflowCxV3beta1ListFlowsResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ListFlowsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ListIntentsResponse ¶
type GoogleCloudDialogflowCxV3beta1ListIntentsResponse struct { // Intents: The list of intents. There will be a maximum number of items // returned based on the page_size field in the request. Intents []*GoogleCloudDialogflowCxV3beta1Intent `json:"intents,omitempty"` // NextPageToken: Token to retrieve the next page of results, or empty // if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Intents") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Intents") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ListIntentsResponse: The response message for Intents.ListIntents.
func (*GoogleCloudDialogflowCxV3beta1ListIntentsResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ListIntentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ListPagesResponse ¶
type GoogleCloudDialogflowCxV3beta1ListPagesResponse struct { // NextPageToken: Token to retrieve the next page of results, or empty // if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // Pages: The list of pages. There will be a maximum number of items // returned based on the page_size field in the request. Pages []*GoogleCloudDialogflowCxV3beta1Page `json:"pages,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ListPagesResponse: The response message for Pages.ListPages.
func (*GoogleCloudDialogflowCxV3beta1ListPagesResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ListPagesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse ¶
type GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse struct { // NextPageToken: Token to retrieve the next page of results, or empty // if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // SecuritySettings: The list of security settings. SecuritySettings []*GoogleCloudDialogflowCxV3beta1SecuritySettings `json:"securitySettings,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse: The response message for SecuritySettings.ListSecuritySettings.
func (*GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse ¶
type GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse struct { // NextPageToken: Token to retrieve the next page of results, or empty // if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // SessionEntityTypes: The list of session entity types. There will be a // maximum number of items returned based on the page_size field in the // request. SessionEntityTypes []*GoogleCloudDialogflowCxV3beta1SessionEntityType `json:"sessionEntityTypes,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse: The response message for SessionEntityTypes.ListSessionEntityTypes.
func (*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse ¶
type GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse struct { // NextPageToken: Token to retrieve the next page of results, or empty // if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // TestCaseResults: The list of test case results. TestCaseResults []*GoogleCloudDialogflowCxV3beta1TestCaseResult `json:"testCaseResults,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse: The response message for TestCases.ListTestCaseResults.
func (*GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ListTestCasesResponse ¶
type GoogleCloudDialogflowCxV3beta1ListTestCasesResponse struct { // NextPageToken: Token to retrieve the next page of results, or empty // if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // TestCases: The list of test cases. There will be a maximum number of // items returned based on the page_size field in the request. TestCases []*GoogleCloudDialogflowCxV3beta1TestCase `json:"testCases,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ListTestCasesResponse: The response message for TestCases.ListTestCases.
func (*GoogleCloudDialogflowCxV3beta1ListTestCasesResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ListTestCasesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse ¶
type GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse struct { // NextPageToken: Token to retrieve the next page of results, or empty // if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // TransitionRouteGroups: The list of transition route groups. There // will be a maximum number of items returned based on the page_size // field in the request. The list may in some cases be empty or contain // fewer entries than page_size even if this isn't the last page. TransitionRouteGroups []*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup `json:"transitionRouteGroups,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse: The response message for TransitionRouteGroups.ListTransitionRouteGroups.
func (*GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ListVersionsResponse ¶
type GoogleCloudDialogflowCxV3beta1ListVersionsResponse struct { // NextPageToken: Token to retrieve the next page of results, or empty // if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // Versions: A list of versions. There will be a maximum number of items // returned based on the page_size field in the request. The list may in // some cases be empty or contain fewer entries than page_size even if // this isn't the last page. Versions []*GoogleCloudDialogflowCxV3beta1Version `json:"versions,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ListVersionsResponse: The response message for Versions.ListVersions.
func (*GoogleCloudDialogflowCxV3beta1ListVersionsResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ListVersionsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ListWebhooksResponse ¶
type GoogleCloudDialogflowCxV3beta1ListWebhooksResponse struct { // NextPageToken: Token to retrieve the next page of results, or empty // if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // Webhooks: The list of webhooks. There will be a maximum number of // items returned based on the page_size field in the request. Webhooks []*GoogleCloudDialogflowCxV3beta1Webhook `json:"webhooks,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ListWebhooksResponse: The response message for Webhooks.ListWebhooks.
func (*GoogleCloudDialogflowCxV3beta1ListWebhooksResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ListWebhooksResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1LoadVersionRequest ¶
type GoogleCloudDialogflowCxV3beta1LoadVersionRequest struct { // AllowOverrideAgentResources: This field is used to prevent accidental // overwrite of other agent resources, which can potentially impact // other flow's behavior. If `allow_override_agent_resources` is false, // conflicted agent-level resources will not be overridden (i.e. // intents, entities, webhooks). AllowOverrideAgentResources bool `json:"allowOverrideAgentResources,omitempty"` // ForceSendFields is a list of field names (e.g. // "AllowOverrideAgentResources") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AllowOverrideAgentResources") to include in API requests with the // JSON null value. By default, fields with empty values are omitted // from API requests. However, any field with an empty value appearing // in NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1LoadVersionRequest: The request message for Versions.LoadVersion.
func (*GoogleCloudDialogflowCxV3beta1LoadVersionRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1LoadVersionRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse ¶
type GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse struct { // Environments: Represents a list of snapshots for an environment. Time // of the snapshots is stored in `update_time`. Environments []*GoogleCloudDialogflowCxV3beta1Environment `json:"environments,omitempty"` // NextPageToken: Token to retrieve the next page of results, or empty // if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Environments") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Environments") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse: The response message for Environments.LookupEnvironmentHistory.
func (*GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1Match ¶
type GoogleCloudDialogflowCxV3beta1Match struct { // Confidence: The confidence of this match. Values range from 0.0 // (completely uncertain) to 1.0 (completely certain). This value is for // informational purpose only and is only used to help match the best // intent within the classification threshold. This value may change for // the same end-user expression at any time due to a model retraining or // change in implementation. Confidence float64 `json:"confidence,omitempty"` // Event: The event that matched the query. Only filled for `EVENT` // match type. Event string `json:"event,omitempty"` // Intent: The Intent that matched the query. Some, not all fields are // filled in this message, including but not limited to: `name` and // `display_name`. Only filled for `INTENT` match type. Intent *GoogleCloudDialogflowCxV3beta1Intent `json:"intent,omitempty"` // MatchType: Type of this Match. // // Possible values: // "MATCH_TYPE_UNSPECIFIED" - Not specified. Should never be used. // "INTENT" - The query was matched to an intent. // "DIRECT_INTENT" - The query directly triggered an intent. // "PARAMETER_FILLING" - The query was used for parameter filling. // "NO_MATCH" - No match was found for the query. // "NO_INPUT" - Indicates an empty query. // "EVENT" - The query directly triggered an event. MatchType string `json:"matchType,omitempty"` // Parameters: The collection of parameters extracted from the query. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - // MapKey value: parameter name - MapValue type: - If parameter's entity // type is a composite entity: map - Else: depending on parameter value // type, could be one of string, number, boolean, null, list or map - // MapValue value: - If parameter's entity type is a composite entity: // map from composite entity property names to property values - Else: // parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ResolvedInput: Final text input which was matched during MatchIntent. // This value can be different from original input sent in request // because of spelling correction or other processing. ResolvedInput string `json:"resolvedInput,omitempty"` // ForceSendFields is a list of field names (e.g. "Confidence") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Confidence") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1Match: Represents one match result of MatchIntent.
func (*GoogleCloudDialogflowCxV3beta1Match) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1Match) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowCxV3beta1Match) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1Match) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowCxV3beta1MatchIntentRequest ¶
type GoogleCloudDialogflowCxV3beta1MatchIntentRequest struct { // QueryInput: Required. The input specification. QueryInput *GoogleCloudDialogflowCxV3beta1QueryInput `json:"queryInput,omitempty"` // QueryParams: The parameters of this query. QueryParams *GoogleCloudDialogflowCxV3beta1QueryParameters `json:"queryParams,omitempty"` // ForceSendFields is a list of field names (e.g. "QueryInput") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QueryInput") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1MatchIntentRequest: Request of MatchIntent.
func (*GoogleCloudDialogflowCxV3beta1MatchIntentRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1MatchIntentRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1MatchIntentResponse ¶
type GoogleCloudDialogflowCxV3beta1MatchIntentResponse struct { // CurrentPage: The current Page. Some, not all fields are filled in // this message, including but not limited to `name` and `display_name`. CurrentPage *GoogleCloudDialogflowCxV3beta1Page `json:"currentPage,omitempty"` // Matches: Match results, if more than one, ordered descendingly by the // confidence we have that the particular intent matches the query. Matches []*GoogleCloudDialogflowCxV3beta1Match `json:"matches,omitempty"` // Text: If natural language text was provided as input, this field will // contain a copy of the text. Text string `json:"text,omitempty"` // Transcript: If natural language speech audio was provided as input, // this field will contain the transcript for the audio. Transcript string `json:"transcript,omitempty"` // TriggerEvent: If an event was provided as input, this field will // contain a copy of the event name. TriggerEvent string `json:"triggerEvent,omitempty"` // TriggerIntent: If an intent was provided as input, this field will // contain a copy of the intent identifier. Format: // `projects//locations//agents//intents/`. TriggerIntent string `json:"triggerIntent,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CurrentPage") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CurrentPage") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1MatchIntentResponse: Response of MatchIntent.
func (*GoogleCloudDialogflowCxV3beta1MatchIntentResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1MatchIntentResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1NluSettings ¶
type GoogleCloudDialogflowCxV3beta1NluSettings struct { // ClassificationThreshold: To filter out false positive results and // still get variety in matched natural language inputs for your agent, // you can tune the machine learning classification threshold. If the // returned score value is less than the threshold value, then a // no-match event will be triggered. The score values range from 0.0 // (completely uncertain) to 1.0 (completely certain). If set to 0.0, // the default of 0.3 is used. ClassificationThreshold float64 `json:"classificationThreshold,omitempty"` // ModelTrainingMode: Indicates NLU model training mode. // // Possible values: // "MODEL_TRAINING_MODE_UNSPECIFIED" - Not specified. // `MODEL_TRAINING_MODE_AUTOMATIC` will be used. // "MODEL_TRAINING_MODE_AUTOMATIC" - NLU model training is // automatically triggered when a flow gets modified. User can also // manually trigger model training in this mode. // "MODEL_TRAINING_MODE_MANUAL" - User needs to manually trigger NLU // model training. Best for large flows whose models take long time to // train. ModelTrainingMode string `json:"modelTrainingMode,omitempty"` // ModelType: Indicates the type of NLU model. // // Possible values: // "MODEL_TYPE_UNSPECIFIED" - Not specified. `MODEL_TYPE_STANDARD` // will be used. // "MODEL_TYPE_STANDARD" - Use standard NLU model. // "MODEL_TYPE_ADVANCED" - Use advanced NLU model. ModelType string `json:"modelType,omitempty"` // ForceSendFields is a list of field names (e.g. // "ClassificationThreshold") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ClassificationThreshold") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1NluSettings: Settings related to NLU.
func (*GoogleCloudDialogflowCxV3beta1NluSettings) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1NluSettings) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowCxV3beta1NluSettings) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1NluSettings) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowCxV3beta1OutputAudioConfig ¶
type GoogleCloudDialogflowCxV3beta1OutputAudioConfig struct { // AudioEncoding: Required. Audio encoding of the synthesized audio // content. // // Possible values: // "OUTPUT_AUDIO_ENCODING_UNSPECIFIED" - Not specified. // "OUTPUT_AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed // little-endian samples (Linear PCM). Audio content returned as // LINEAR16 also contains a WAV header. // "OUTPUT_AUDIO_ENCODING_MP3" - MP3 audio at 32kbps. // "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS" - MP3 audio at 64kbps. // "OUTPUT_AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio wrapped in an // ogg container. The result will be a file which can be played natively // on Android, and in browsers (at least Chrome and Firefox). The // quality of the encoding is considerably higher than MP3 while using // approximately the same bitrate. // "OUTPUT_AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit // audio samples using G.711 PCMU/mu-law. AudioEncoding string `json:"audioEncoding,omitempty"` // SampleRateHertz: Optional. The synthesis sample rate (in hertz) for // this audio. If not provided, then the synthesizer will use the // default sample rate based on the audio encoding. If this is different // from the voice's natural sample rate, then the synthesizer will honor // this request by converting to the desired sample rate (which might // result in worse audio quality). SampleRateHertz int64 `json:"sampleRateHertz,omitempty"` // SynthesizeSpeechConfig: Optional. Configuration of how speech should // be synthesized. SynthesizeSpeechConfig *GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig `json:"synthesizeSpeechConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "AudioEncoding") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AudioEncoding") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1OutputAudioConfig: Instructs the speech synthesizer how to generate the output audio content.
func (*GoogleCloudDialogflowCxV3beta1OutputAudioConfig) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1OutputAudioConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1Page ¶
type GoogleCloudDialogflowCxV3beta1Page struct { // DisplayName: Required. The human-readable name of the page, unique // within the agent. DisplayName string `json:"displayName,omitempty"` // EntryFulfillment: The fulfillment to call when the session is // entering the page. EntryFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"entryFulfillment,omitempty"` // EventHandlers: Handlers associated with the page to handle events // such as webhook errors, no match or no input. EventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"eventHandlers,omitempty"` // Form: The form associated with the page, used for collecting // parameters relevant to the page. Form *GoogleCloudDialogflowCxV3beta1Form `json:"form,omitempty"` // Name: The unique identifier of the page. Required for the // Pages.UpdatePage method. Pages.CreatePage populates the name // automatically. Format: `projects//locations//agents//flows//pages/`. Name string `json:"name,omitempty"` // TransitionRouteGroups: Ordered list of `TransitionRouteGroups` // associated with the page. Transition route groups must be unique // within a page. * If multiple transition routes within a page scope // refer to the same intent, then the precedence order is: page's // transition route -> page's transition route group -> flow's // transition routes. * If multiple transition route groups within a // page contain the same intent, then the first group in the ordered // list takes precedence. // Format:`projects//locations//agents//flows//transitionRouteGroups/`. TransitionRouteGroups []string `json:"transitionRouteGroups,omitempty"` // TransitionRoutes: A list of transitions for the transition rules of // this page. They route the conversation to another page in the same // flow, or another flow. When we are in a certain page, the // TransitionRoutes are evalauted in the following order: * // TransitionRoutes defined in the page with intent specified. * // TransitionRoutes defined in the transition route groups with intent // specified. * TransitionRoutes defined in flow with intent specified. // * TransitionRoutes defined in the transition route groups with intent // specified. * TransitionRoutes defined in the page with only condition // specified. * TransitionRoutes defined in the transition route groups // with only condition specified. TransitionRoutes []*GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoutes,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1Page: A Dialogflow CX conversation (session) can be described and visualized as a state machine. The states of a CX session are represented by pages. For each flow, you define many pages, where your combined pages can handle a complete conversation on the topics the flow is designed for. At any given moment, exactly one page is the current page, the current page is considered active, and the flow associated with that page is considered active. Every flow has a special start page. When a flow initially becomes active, the start page page becomes the current page. For each conversational turn, the current page will either stay the same or transition to another page. You configure each page to collect information from the end-user that is relevant for the conversational state represented by the page. For more information, see the Page guide (https://cloud.google.com/dialogflow/cx/docs/concept/page).
func (*GoogleCloudDialogflowCxV3beta1Page) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1Page) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1PageInfo ¶
type GoogleCloudDialogflowCxV3beta1PageInfo struct { // CurrentPage: Always present for WebhookRequest. Ignored for // WebhookResponse. The unique identifier of the current page. Format: // `projects//locations//agents//flows//pages/`. CurrentPage string `json:"currentPage,omitempty"` // FormInfo: Optional for both WebhookRequest and WebhookResponse. // Information about the form. FormInfo *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo `json:"formInfo,omitempty"` // ForceSendFields is a list of field names (e.g. "CurrentPage") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CurrentPage") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1PageInfo: Represents page information communicated to and from the webhook.
func (*GoogleCloudDialogflowCxV3beta1PageInfo) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1PageInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1PageInfoFormInfo ¶
type GoogleCloudDialogflowCxV3beta1PageInfoFormInfo struct { // ParameterInfo: Optional for both WebhookRequest and WebhookResponse. // The parameters contained in the form. Note that the webhook cannot // add or remove any form parameter. ParameterInfo []*GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"` // ForceSendFields is a list of field names (e.g. "ParameterInfo") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ParameterInfo") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1PageInfoFormInfo: Represents form information.
func (*GoogleCloudDialogflowCxV3beta1PageInfoFormInfo) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo ¶
type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo struct { // DisplayName: Always present for WebhookRequest. Required for // WebhookResponse. The human-readable name of the parameter, unique // within the form. This field cannot be modified by the webhook. DisplayName string `json:"displayName,omitempty"` // JustCollected: Optional for WebhookRequest. Ignored for // WebhookResponse. Indicates if the parameter value was just collected // on the last conversation turn. JustCollected bool `json:"justCollected,omitempty"` // Required: Optional for both WebhookRequest and WebhookResponse. // Indicates whether the parameter is required. Optional parameters will // not trigger prompts; however, they are filled if the user specifies // them. Required parameters must be filled before form filling // concludes. Required bool `json:"required,omitempty"` // State: Always present for WebhookRequest. Required for // WebhookResponse. The state of the parameter. This field can be set to // INVALID by the webhook to invalidate the parameter; other values set // by the webhook will be ignored. // // Possible values: // "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be // never used. // "EMPTY" - Indicates that the parameter does not have a value. // "INVALID" - Indicates that the parameter value is invalid. This // field can be used by the webhook to invalidate the parameter and ask // the server to collect it from the user again. // "FILLED" - Indicates that the parameter has a value. State string `json:"state,omitempty"` // Value: Optional for both WebhookRequest and WebhookResponse. The // value of the parameter. This field can be set by the webhook to // change the parameter value. Value interface{} `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo: Represents parameter information.
func (*GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1QueryInput ¶
type GoogleCloudDialogflowCxV3beta1QueryInput struct { // Audio: The natural language speech audio to be processed. Audio *GoogleCloudDialogflowCxV3beta1AudioInput `json:"audio,omitempty"` // Dtmf: The DTMF event to be handled. Dtmf *GoogleCloudDialogflowCxV3beta1DtmfInput `json:"dtmf,omitempty"` // Event: The event to be triggered. Event *GoogleCloudDialogflowCxV3beta1EventInput `json:"event,omitempty"` // Intent: The intent to be triggered. Intent *GoogleCloudDialogflowCxV3beta1IntentInput `json:"intent,omitempty"` // LanguageCode: Required. The language of the input. See Language // Support // (https://cloud.google.com/dialogflow/cx/docs/reference/language) for // a list of the currently supported language codes. Note that queries // in the same session do not necessarily need to specify the same // language. LanguageCode string `json:"languageCode,omitempty"` // Text: The natural language text to be processed. Text *GoogleCloudDialogflowCxV3beta1TextInput `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "Audio") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Audio") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1QueryInput: Represents the query input. It can contain one of: 1. A conversational query in the form of text. 2. An intent query that specifies which intent to trigger. 3. Natural language speech audio to be processed. 4. An event to be triggered.
func (*GoogleCloudDialogflowCxV3beta1QueryInput) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1QueryInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1QueryParameters ¶
type GoogleCloudDialogflowCxV3beta1QueryParameters struct { // AnalyzeQueryTextSentiment: Configures whether sentiment analysis // should be performed. If not provided, sentiment analysis is not // performed. AnalyzeQueryTextSentiment bool `json:"analyzeQueryTextSentiment,omitempty"` // CurrentPage: The unique identifier of the page to override the // current page in the session. Format: // `projects//locations//agents//flows//pages/`. If `current_page` is // specified, the previous state of the session will be ignored by // Dialogflow, including the previous page and the previous session // parameters. In most cases, current_page and parameters should be // configured together to direct a session to a specific state. CurrentPage string `json:"currentPage,omitempty"` // DisableWebhook: Whether to disable webhook calls for this request. DisableWebhook bool `json:"disableWebhook,omitempty"` // GeoLocation: The geo location of this conversational query. GeoLocation *GoogleTypeLatLng `json:"geoLocation,omitempty"` // Parameters: Additional parameters to be put into session parameters. // To remove a parameter from the session, clients should explicitly set // the parameter value to null. You can reference the session parameters // in the agent with the following format: $session.params.parameter-id. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - // MapKey value: parameter name - MapValue type: - If parameter's entity // type is a composite entity: map - Else: depending on parameter value // type, could be one of string, number, boolean, null, list or map - // MapValue value: - If parameter's entity type is a composite entity: // map from composite entity property names to property values - Else: // parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // Payload: This field can be used to pass custom data into the webhook // associated with the agent. Arbitrary JSON objects are supported. Some // integrations that query a Dialogflow agent may provide additional // information in the payload. In particular, for the Dialogflow Phone // Gateway integration, this field has the form: “` { "telephony": { // "caller_id": "+18558363987" } } “` Payload googleapi.RawMessage `json:"payload,omitempty"` // SessionEntityTypes: Additional session entity types to replace or // extend developer entity types with. The entity synonyms apply to all // languages and persist for the session of this query. SessionEntityTypes []*GoogleCloudDialogflowCxV3beta1SessionEntityType `json:"sessionEntityTypes,omitempty"` // TimeZone: The time zone of this conversational query from the time // zone database (https://www.iana.org/time-zones), e.g., // America/New_York, Europe/Paris. If not provided, the time zone // specified in the agent is used. TimeZone string `json:"timeZone,omitempty"` // WebhookHeaders: This field can be used to pass HTTP headers for a // webhook call. These headers will be sent to webhook along with the // headers that have been configured through Dialogflow web console. The // headers defined within this field will overwrite the headers // configured through Dialogflow console if there is a conflict. Header // names are case-insensitive. Google's specified headers are not // allowed. Including: "Host", "Content-Length", "Connection", "From", // "User-Agent", "Accept-Encoding", "If-Modified-Since", // "If-None-Match", "X-Forwarded-For", etc. WebhookHeaders map[string]string `json:"webhookHeaders,omitempty"` // ForceSendFields is a list of field names (e.g. // "AnalyzeQueryTextSentiment") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AnalyzeQueryTextSentiment") to include in API requests with the JSON // null value. By default, fields with empty values are omitted from API // requests. However, any field with an empty value appearing in // NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1QueryParameters: Represents the parameters of a conversational query.
func (*GoogleCloudDialogflowCxV3beta1QueryParameters) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1QueryParameters) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1QueryResult ¶
type GoogleCloudDialogflowCxV3beta1QueryResult struct { // CurrentPage: The current Page. Some, not all fields are filled in // this message, including but not limited to `name` and `display_name`. CurrentPage *GoogleCloudDialogflowCxV3beta1Page `json:"currentPage,omitempty"` // DiagnosticInfo: The free-form diagnostic info. For example, this // field could contain webhook call latency. The string keys of the // Struct's fields map can change without notice. DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` // Intent: The Intent that matched the conversational query. Some, not // all fields are filled in this message, including but not limited to: // `name` and `display_name`. This field is deprecated, please use // QueryResult.match instead. Intent *GoogleCloudDialogflowCxV3beta1Intent `json:"intent,omitempty"` // IntentDetectionConfidence: The intent detection confidence. Values // range from 0.0 (completely uncertain) to 1.0 (completely certain). // This value is for informational purpose only and is only used to help // match the best intent within the classification threshold. This value // may change for the same end-user expression at any time due to a // model retraining or change in implementation. This field is // deprecated, please use QueryResult.match instead. IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` // LanguageCode: The language that was triggered during intent // detection. See Language Support // (https://cloud.google.com/dialogflow/cx/docs/reference/language) for // a list of the currently supported language codes. LanguageCode string `json:"languageCode,omitempty"` // Match: Intent match result, could be an intent or an event. Match *GoogleCloudDialogflowCxV3beta1Match `json:"match,omitempty"` // Parameters: The collected session parameters. Depending on your // protocol or client library language, this is a map, associative // array, symbol table, dictionary, or JSON object composed of a // collection of (MapKey, MapValue) pairs: - MapKey type: string - // MapKey value: parameter name - MapValue type: - If parameter's entity // type is a composite entity: map - Else: depending on parameter value // type, could be one of string, number, boolean, null, list or map - // MapValue value: - If parameter's entity type is a composite entity: // map from composite entity property names to property values - Else: // parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ResponseMessages: The list of rich messages returned to the client. // Responses vary from simple text messages to more sophisticated, // structured payloads used to drive complex logic. ResponseMessages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"responseMessages,omitempty"` // SentimentAnalysisResult: The sentiment analyss result, which depends // on `analyze_query_text_sentiment`, specified in the request. SentimentAnalysisResult *GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` // Text: If natural language text was provided as input, this field will // contain a copy of the text. Text string `json:"text,omitempty"` // Transcript: If natural language speech audio was provided as input, // this field will contain the transcript for the audio. Transcript string `json:"transcript,omitempty"` // TriggerEvent: If an event was provided as input, this field will // contain the name of the event. TriggerEvent string `json:"triggerEvent,omitempty"` // TriggerIntent: If an intent was provided as input, this field will // contain a copy of the intent identifier. Format: // `projects//locations//agents//intents/`. TriggerIntent string `json:"triggerIntent,omitempty"` // WebhookPayloads: The list of webhook payload in // WebhookResponse.payload, in the order of call sequence. If some // webhook call fails or doesn't return any payload, an empty `Struct` // would be used instead. WebhookPayloads []googleapi.RawMessage `json:"webhookPayloads,omitempty"` // WebhookStatuses: The list of webhook call status in the order of call // sequence. WebhookStatuses []*GoogleRpcStatus `json:"webhookStatuses,omitempty"` // ForceSendFields is a list of field names (e.g. "CurrentPage") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CurrentPage") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1QueryResult: Represents the result of a conversational query.
func (*GoogleCloudDialogflowCxV3beta1QueryResult) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1QueryResult) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowCxV3beta1QueryResult) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1QueryResult) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata ¶
type GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata struct { // GenericMetadata: The generic information of the operation. GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata: Metadata for ReloadDocument operation.
func (*GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ResourceName ¶
type GoogleCloudDialogflowCxV3beta1ResourceName struct { // DisplayName: Display name. DisplayName string `json:"displayName,omitempty"` // Name: Name. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ResourceName: Resource name and display name.
func (*GoogleCloudDialogflowCxV3beta1ResourceName) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ResourceName) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ResponseMessage ¶
type GoogleCloudDialogflowCxV3beta1ResponseMessage struct { // ConversationSuccess: Indicates that the conversation succeeded. ConversationSuccess *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"` // EndInteraction: Output only. A signal that indicates the interaction // with the Dialogflow agent has ended. This message is generated by // Dialogflow only when the conversation reaches `END_SESSION` page. It // is not supposed to be defined by the user. It's guaranteed that there // is at most one such message in each response. EndInteraction *GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction `json:"endInteraction,omitempty"` // LiveAgentHandoff: Hands off conversation to a human agent. LiveAgentHandoff *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` // MixedAudio: Output only. An audio response message composed of both // the synthesized Dialogflow agent responses and responses defined via // play_audio. This message is generated by Dialogflow only and not // supposed to be defined by the user. MixedAudio *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` // OutputAudioText: A text or ssml response that is preferentially used // for TTS output audio synthesis, as described in the comment on the // ResponseMessage message. OutputAudioText *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"` // Payload: Returns a response containing a custom, platform-specific // payload. Payload googleapi.RawMessage `json:"payload,omitempty"` // PlayAudio: Signal that the client should play an audio clip hosted at // a client-specific URI. Dialogflow uses this to construct mixed_audio. // However, Dialogflow itself does not try to read or process the URI in // any way. PlayAudio *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio `json:"playAudio,omitempty"` // Text: Returns a text response. Text *GoogleCloudDialogflowCxV3beta1ResponseMessageText `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationSuccess") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConversationSuccess") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ResponseMessage: Represents a response message that can be returned by a conversational agent. Response messages are also used for output audio synthesis. The approach is as follows: * If at least one OutputAudioText response is present, then all OutputAudioText responses are linearly concatenated, and the result is used for output audio synthesis. * If the OutputAudioText responses are a mixture of text and SSML, then the concatenated result is treated as SSML; otherwise, the result is treated as either text or SSML as appropriate. The agent designer should ideally use either text or SSML consistently throughout the bot design. * Otherwise, all Text responses are linearly concatenated, and the result is used for output audio synthesis. This approach allows for more sophisticated user experience scenarios, where the text displayed to the user may differ from what is heard.
func (*GoogleCloudDialogflowCxV3beta1ResponseMessage) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ResponseMessage) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess ¶
type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess struct { // Metadata: Custom metadata. Dialogflow doesn't impose any structure on // this. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // ForceSendFields is a list of field names (e.g. "Metadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Metadata") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess: Indicates that the conversation succeeded, i.e., the bot handled the issue that the customer talked to it about. Dialogflow only uses this to determine which conversations should be counted as successful and doesn't process the metadata in this message in any way. Note that Dialogflow also considers conversations that get to the conversation end page as successful even if they don't return ConversationSuccess. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates that the conversation succeeded. * In a webhook response when you determine that you handled the customer issue.
func (*GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction ¶
type GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction struct { }
GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction: Indicates that interaction with the Dialogflow agent has ended. This message is generated by Dialogflow only and not supposed to be defined by the user.
type GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff ¶
type GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff struct { // Metadata: Custom metadata for your handoff procedure. Dialogflow // doesn't impose any structure on this. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // ForceSendFields is a list of field names (e.g. "Metadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Metadata") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff: Indicates that the conversation should be handed off to a live agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example: * In the entry_fulfillment of a Page if entering the page indicates something went extremely wrong in the conversation. * In a webhook response when you determine that the customer issue can only be handled by a human.
func (*GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio ¶
type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio struct { // Segments: Segments this audio response is composed of. Segments []*GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment `json:"segments,omitempty"` // ForceSendFields is a list of field names (e.g. "Segments") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Segments") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio: Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs. The external URIs are specified via play_audio. This message is generated by Dialogflow only and not supposed to be defined by the user.
func (*GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment ¶
type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment struct { // AllowPlaybackInterruption: Output only. Whether the playback of this // segment can be interrupted by the end user's speech and the client // should then start the next Dialogflow request. AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` // Audio: Raw audio synthesized from the Dialogflow agent's response // using the output config specified in the request. Audio string `json:"audio,omitempty"` // Uri: Client-specific URI that points to an audio clip accessible to // the client. Dialogflow does not impose any validation on it. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. // "AllowPlaybackInterruption") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AllowPlaybackInterruption") to include in API requests with the JSON // null value. By default, fields with empty values are omitted from API // requests. However, any field with an empty value appearing in // NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment: Represents one segment of audio.
func (*GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText ¶
type GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText struct { // AllowPlaybackInterruption: Output only. Whether the playback of this // message can be interrupted by the end user's speech and the client // can then starts the next Dialogflow request. AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` // Ssml: The SSML text to be synthesized. For more information, see SSML // (/speech/text-to-speech/docs/ssml). Ssml string `json:"ssml,omitempty"` // Text: The raw text to be synthesized. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. // "AllowPlaybackInterruption") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AllowPlaybackInterruption") to include in API requests with the JSON // null value. By default, fields with empty values are omitted from API // requests. However, any field with an empty value appearing in // NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText: A text or ssml response that is preferentially used for TTS output audio synthesis, as described in the comment on the ResponseMessage message.
func (*GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio ¶
type GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio struct { // AllowPlaybackInterruption: Output only. Whether the playback of this // message can be interrupted by the end user's speech and the client // can then starts the next Dialogflow request. AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` // AudioUri: Required. URI of the audio clip. Dialogflow does not impose // any validation on this value. It is specific to the client that reads // it. AudioUri string `json:"audioUri,omitempty"` // ForceSendFields is a list of field names (e.g. // "AllowPlaybackInterruption") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AllowPlaybackInterruption") to include in API requests with the JSON // null value. By default, fields with empty values are omitted from API // requests. However, any field with an empty value appearing in // NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio: Specifies an audio clip to be played by the client as part of the response.
func (*GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ResponseMessageText ¶
type GoogleCloudDialogflowCxV3beta1ResponseMessageText struct { // AllowPlaybackInterruption: Output only. Whether the playback of this // message can be interrupted by the end user's speech and the client // can then starts the next Dialogflow request. AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"` // Text: Required. A collection of text responses. Text []string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. // "AllowPlaybackInterruption") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AllowPlaybackInterruption") to include in API requests with the JSON // null value. By default, fields with empty values are omitted from API // requests. However, any field with an empty value appearing in // NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ResponseMessageText: The text response message.
func (*GoogleCloudDialogflowCxV3beta1ResponseMessageText) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageText) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1RestoreAgentRequest ¶
type GoogleCloudDialogflowCxV3beta1RestoreAgentRequest struct { // AgentContent: Uncompressed raw byte content for agent. AgentContent string `json:"agentContent,omitempty"` // AgentUri: The Google Cloud Storage // (https://cloud.google.com/storage/docs/) URI to restore agent from. // The format of this URI must be `gs:///`. AgentUri string `json:"agentUri,omitempty"` // RestoreOption: Agent restore mode. If not specified, `KEEP` is // assumed. // // Possible values: // "RESTORE_OPTION_UNSPECIFIED" - Unspecified. Treated as KEEP. // "KEEP" - Always respect the settings from the exported agent file. // It may cause a restoration failure if some settings (e.g. model type) // are not supported in the target agent. // "FALLBACK" - Fallback to default settings if some settings are not // supported in the target agent. RestoreOption string `json:"restoreOption,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AgentContent") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1RestoreAgentRequest: The request message for Agents.RestoreAgent.
func (*GoogleCloudDialogflowCxV3beta1RestoreAgentRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1RestoreAgentRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata ¶
type GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata struct { // Errors: The test errors. Errors []*GoogleCloudDialogflowCxV3beta1TestError `json:"errors,omitempty"` // ForceSendFields is a list of field names (e.g. "Errors") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Errors") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata: Metadata returned for the Environments.RunContinuousTest long running operation.
func (*GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest ¶
type GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest struct { }
GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest: The request message for Environments.RunContinuousTest.
type GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse ¶
type GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse struct { // ContinuousTestResult: The result for a continuous test run. ContinuousTestResult *GoogleCloudDialogflowCxV3beta1ContinuousTestResult `json:"continuousTestResult,omitempty"` // ForceSendFields is a list of field names (e.g. // "ContinuousTestResult") to unconditionally include in API requests. // By default, fields with empty values are omitted from API requests. // However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContinuousTestResult") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse: The response message for Environments.RunContinuousTest.
func (*GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata ¶
type GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata struct { }
GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata: Metadata returned for the TestCases.RunTestCase long running operation.
type GoogleCloudDialogflowCxV3beta1RunTestCaseRequest ¶
type GoogleCloudDialogflowCxV3beta1RunTestCaseRequest struct { // Environment: Optional. Environment name. If not set, draft // environment is assumed. Format: // `projects//locations//agents//environments/`. Environment string `json:"environment,omitempty"` // ForceSendFields is a list of field names (e.g. "Environment") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Environment") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1RunTestCaseRequest: The request message for TestCases.RunTestCase.
func (*GoogleCloudDialogflowCxV3beta1RunTestCaseRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1RunTestCaseRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1RunTestCaseResponse ¶
type GoogleCloudDialogflowCxV3beta1RunTestCaseResponse struct { // Result: The result. Result *GoogleCloudDialogflowCxV3beta1TestCaseResult `json:"result,omitempty"` // ForceSendFields is a list of field names (e.g. "Result") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Result") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1RunTestCaseResponse: The response message for TestCases.RunTestCase.
func (*GoogleCloudDialogflowCxV3beta1RunTestCaseResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1RunTestCaseResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1SecuritySettings ¶
type GoogleCloudDialogflowCxV3beta1SecuritySettings struct { // DisplayName: Required. The human-readable name of the security // settings, unique within the location. DisplayName string `json:"displayName,omitempty"` // InspectTemplate: DLP inspect template name. Use this template to // define inspect base settings. If empty, we use the default DLP // inspect config. The template name will have one of the following // formats: `projects/PROJECT_ID/inspectTemplates/TEMPLATE_ID` OR // `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID` InspectTemplate string `json:"inspectTemplate,omitempty"` // Name: Required. Resource name of the settings. Format: // `projects//locations//securitySettings/`. Name string `json:"name,omitempty"` // PurgeDataTypes: List of types of data to remove when retention // settings triggers purge. // // Possible values: // "PURGE_DATA_TYPE_UNSPECIFIED" - Unspecified. Do not use. // "DIALOGFLOW_HISTORY" - Dialogflow history. This does not include // Cloud logging, which is owned by the user - not Dialogflow. PurgeDataTypes []string `json:"purgeDataTypes,omitempty"` // RedactionScope: Defines the data for which Dialogflow applies // redaction. Dialogflow does not redact data that it does not have // access to – for example, Cloud logging. // // Possible values: // "REDACTION_SCOPE_UNSPECIFIED" - Don't redact any kind of data. // "REDACT_DISK_STORAGE" - On data to be written to disk or similar // devices that are capable of holding data even if power is // disconnected. This includes data that are temporarily saved on disk. RedactionScope string `json:"redactionScope,omitempty"` // RedactionStrategy: Strategy that defines how we do redaction. // // Possible values: // "REDACTION_STRATEGY_UNSPECIFIED" - Do not redact. // "REDACT_WITH_SERVICE" - Call redaction service to clean up the data // to be persisted. RedactionStrategy string `json:"redactionStrategy,omitempty"` // RetentionWindowDays: Retains data in interaction logging for the // specified number of days. This does not apply to Cloud logging, which // is owned by the user - not Dialogflow. User must Set a value lower // than Dialogflow's default 30d TTL. Setting a value higher than that // has no effect. A missing value or setting to 0 also means we use // Dialogflow's default TTL. Note: Interaction logging is a limited // access feature. Talk to your Google representative to check // availability for you. RetentionWindowDays int64 `json:"retentionWindowDays,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1SecuritySettings: Represents the settings related to security issues, such as data redaction and data retention. It may take hours for updates on the settings to propagate to all the related components and take effect.
func (*GoogleCloudDialogflowCxV3beta1SecuritySettings) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1SecuritySettings) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult ¶
type GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult struct { // Magnitude: A non-negative number in the [0, +inf) range, which // represents the absolute magnitude of sentiment, regardless of score // (positive or negative). Magnitude float64 `json:"magnitude,omitempty"` // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 // (positive sentiment). Score float64 `json:"score,omitempty"` // ForceSendFields is a list of field names (e.g. "Magnitude") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Magnitude") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult: The result of sentiment analysis. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral.
func (*GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1SentimentAnalysisResult) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowCxV3beta1SessionEntityType ¶
type GoogleCloudDialogflowCxV3beta1SessionEntityType struct { // Entities: Required. The collection of entities to override or // supplement the custom entity type. Entities []*GoogleCloudDialogflowCxV3beta1EntityTypeEntity `json:"entities,omitempty"` // EntityOverrideMode: Required. Indicates whether the additional data // should override or supplement the custom entity type definition. // // Possible values: // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value // should be never used. // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session // entities overrides the collection of entities in the corresponding // custom entity type. // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session // entities extends the collection of entities in the corresponding // custom entity type. Note: Even in this override mode calls to // `ListSessionEntityTypes`, `GetSessionEntityType`, // `CreateSessionEntityType` and `UpdateSessionEntityType` only return // the additional entities added in this session entity type. If you // want to get the supplemented list, please call // EntityTypes.GetEntityType on the custom entity type and merge. EntityOverrideMode string `json:"entityOverrideMode,omitempty"` // Name: Required. The unique identifier of the session entity type. // Format: `projects//locations//agents//sessions//entityTypes/` or // `projects//locations//agents//environments//sessions//entityTypes/`. // If `Environment ID` is not specified, we assume default 'draft' // environment. Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Entities") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Entities") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1SessionEntityType: Session entity types are referred to as **User** entity types and are entities that are built for an individual user such as favorites, preferences, playlists, and so on. You can redefine a session entity type at the session level to extend or replace a custom entity type at the user session level (we refer to the entity types defined at the agent level as "custom entity types"). Note: session entity types apply to all queries, regardless of the language. For more information about entity types, see the Dialogflow documentation (https://cloud.google.com/dialogflow/docs/entities-overview).
func (*GoogleCloudDialogflowCxV3beta1SessionEntityType) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1SessionEntityType) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1SessionInfo ¶
type GoogleCloudDialogflowCxV3beta1SessionInfo struct { // Parameters: Optional for WebhookRequest. Optional for // WebhookResponse. All parameters collected from forms and intents // during the session. Parameters can be created, updated, or removed by // the webhook. To remove a parameter from the session, the webhook // should explicitly set the parameter value to null in WebhookResponse. // The map is keyed by parameters' display names. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // Session: Always present for WebhookRequest. Ignored for // WebhookResponse. The unique identifier of the session. This field can // be used by the webhook to identify a session. Format: // `projects//locations//agents//sessions/` or // `projects//locations//agents//environments//sessions/` if environment // is specified. Session string `json:"session,omitempty"` // ForceSendFields is a list of field names (e.g. "Parameters") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Parameters") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1SessionInfo: Represents session information communicated to and from the webhook.
func (*GoogleCloudDialogflowCxV3beta1SessionInfo) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1SessionInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1SpeechToTextSettings ¶
type GoogleCloudDialogflowCxV3beta1SpeechToTextSettings struct { // EnableSpeechAdaptation: Whether to use speech adaptation for speech // recognition. EnableSpeechAdaptation bool `json:"enableSpeechAdaptation,omitempty"` // ForceSendFields is a list of field names (e.g. // "EnableSpeechAdaptation") to unconditionally include in API requests. // By default, fields with empty values are omitted from API requests. // However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableSpeechAdaptation") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1SpeechToTextSettings: Settings related to speech recognition.
func (*GoogleCloudDialogflowCxV3beta1SpeechToTextSettings) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1SpeechToTextSettings) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1StartExperimentRequest ¶
type GoogleCloudDialogflowCxV3beta1StartExperimentRequest struct { }
GoogleCloudDialogflowCxV3beta1StartExperimentRequest: The request message for Experiments.StartExperiment.
type GoogleCloudDialogflowCxV3beta1StopExperimentRequest ¶
type GoogleCloudDialogflowCxV3beta1StopExperimentRequest struct { }
GoogleCloudDialogflowCxV3beta1StopExperimentRequest: The request message for Experiments.StopExperiment.
type GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig ¶
type GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig struct { // EffectsProfileId: Optional. An identifier which selects 'audio // effects' profiles that are applied on (post synthesized) text to // speech. Effects are applied on top of each other in the order they // are given. EffectsProfileId []string `json:"effectsProfileId,omitempty"` // Pitch: Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means // increase 20 semitones from the original pitch. -20 means decrease 20 // semitones from the original pitch. Pitch float64 `json:"pitch,omitempty"` // SpeakingRate: Optional. Speaking rate/speed, in the range [0.25, // 4.0]. 1.0 is the normal native speed supported by the specific voice. // 2.0 is twice as fast, and 0.5 is half as fast. If unset(0.0), // defaults to the native 1.0 speed. Any other values < 0.25 or > 4.0 // will return an error. SpeakingRate float64 `json:"speakingRate,omitempty"` // Voice: Optional. The desired voice of the synthesized audio. Voice *GoogleCloudDialogflowCxV3beta1VoiceSelectionParams `json:"voice,omitempty"` // VolumeGainDb: Optional. Volume gain (in dB) of the normal native // volume supported by the specific voice, in the range [-96.0, 16.0]. // If unset, or set to a value of 0.0 (dB), will play at normal native // signal amplitude. A value of -6.0 (dB) will play at approximately // half the amplitude of the normal native signal amplitude. A value of // +6.0 (dB) will play at approximately twice the amplitude of the // normal native signal amplitude. We strongly recommend not to exceed // +10 (dB) as there's usually no effective increase in loudness for any // value greater than that. VolumeGainDb float64 `json:"volumeGainDb,omitempty"` // ForceSendFields is a list of field names (e.g. "EffectsProfileId") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EffectsProfileId") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig: Configuration of how speech should be synthesized.
func (*GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1SynthesizeSpeechConfig) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowCxV3beta1TestCase ¶
type GoogleCloudDialogflowCxV3beta1TestCase struct { // CreationTime: Output only. When the test was created. CreationTime string `json:"creationTime,omitempty"` // DisplayName: Required. The human-readable name of the test case, // unique within the agent. Limit of 200 characters. DisplayName string `json:"displayName,omitempty"` // LastTestResult: The latest test result. LastTestResult *GoogleCloudDialogflowCxV3beta1TestCaseResult `json:"lastTestResult,omitempty"` // Name: The unique identifier of the test case. // TestCases.CreateTestCase will populate the name automatically. // Otherwise use format: `projects//locations//agents/ /testCases/`. Name string `json:"name,omitempty"` // Notes: Additional freeform notes about the test case. Limit of 400 // characters. Notes string `json:"notes,omitempty"` // Tags: Tags are short descriptions that users may apply to test cases // for organizational and filtering purposes. Each tag should start with // "#" and has a limit of 30 characters. Tags []string `json:"tags,omitempty"` // TestCaseConversationTurns: The conversation turns uttered when the // test case was created, in chronological order. These include the // canonical set of agent utterances that should occur when the agent is // working properly. TestCaseConversationTurns []*GoogleCloudDialogflowCxV3beta1ConversationTurn `json:"testCaseConversationTurns,omitempty"` // TestConfig: Config for the test case. TestConfig *GoogleCloudDialogflowCxV3beta1TestConfig `json:"testConfig,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreationTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreationTime") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1TestCase: Represents a test case.
func (*GoogleCloudDialogflowCxV3beta1TestCase) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1TestCase) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1TestCaseError ¶
type GoogleCloudDialogflowCxV3beta1TestCaseError struct { // Status: The status associated with the test case. Status *GoogleRpcStatus `json:"status,omitempty"` // TestCase: The test case. TestCase *GoogleCloudDialogflowCxV3beta1TestCase `json:"testCase,omitempty"` // ForceSendFields is a list of field names (e.g. "Status") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Status") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1TestCaseError: Error info for importing a test.
func (*GoogleCloudDialogflowCxV3beta1TestCaseError) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1TestCaseError) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1TestCaseResult ¶
type GoogleCloudDialogflowCxV3beta1TestCaseResult struct { // ConversationTurns: The conversation turns uttered during the test // case replay in chronological order. ConversationTurns []*GoogleCloudDialogflowCxV3beta1ConversationTurn `json:"conversationTurns,omitempty"` // Environment: Environment where the test was run. If not set, it // indicates the draft environment. Environment string `json:"environment,omitempty"` // Name: The resource name for the test case result. Format: // `projects//locations//agents//testCases/ /results/`. Name string `json:"name,omitempty"` // TestResult: Whether the test case passed in the agent environment. // // Possible values: // "TEST_RESULT_UNSPECIFIED" - Not specified. Should never be used. // "PASSED" - The test passed. // "FAILED" - The test did not pass. TestResult string `json:"testResult,omitempty"` // TestTime: The time that the test was run. TestTime string `json:"testTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ConversationTurns") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConversationTurns") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1TestCaseResult: Represents a result from running a test case in an agent environment.
func (*GoogleCloudDialogflowCxV3beta1TestCaseResult) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1TestCaseResult) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1TestConfig ¶
type GoogleCloudDialogflowCxV3beta1TestConfig struct { // Flow: Flow name. If not set, default start flow is assumed. Format: // `projects//locations//agents//flows/`. Flow string `json:"flow,omitempty"` // TrackingParameters: Session parameters to be compared when // calculating differences. TrackingParameters []string `json:"trackingParameters,omitempty"` // ForceSendFields is a list of field names (e.g. "Flow") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Flow") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1TestConfig: Represents configurations for a test case.
func (*GoogleCloudDialogflowCxV3beta1TestConfig) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1TestConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1TestError ¶
type GoogleCloudDialogflowCxV3beta1TestError struct { // Status: The status associated with the test. Status *GoogleRpcStatus `json:"status,omitempty"` // TestCase: The test case resource name. TestCase string `json:"testCase,omitempty"` // TestTime: The timestamp when the test was completed. TestTime string `json:"testTime,omitempty"` // ForceSendFields is a list of field names (e.g. "Status") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Status") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1TestError: Error info for running a test.
func (*GoogleCloudDialogflowCxV3beta1TestError) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1TestError) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1TestRunDifference ¶
type GoogleCloudDialogflowCxV3beta1TestRunDifference struct { // Description: A description of the diff, showing the actual output vs // expected output. Description string `json:"description,omitempty"` // Type: The type of diff. // // Possible values: // "DIFF_TYPE_UNSPECIFIED" - Should never be used. // "INTENT" - The intent. // "PAGE" - The page. // "PARAMETERS" - The parameters. // "UTTERANCE" - The message utterance. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1TestRunDifference: The description of differences between original and replayed agent output.
func (*GoogleCloudDialogflowCxV3beta1TestRunDifference) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1TestRunDifference) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1TextInput ¶
type GoogleCloudDialogflowCxV3beta1TextInput struct { // Text: Required. The UTF-8 encoded natural language text to be // processed. Text length must not exceed 256 characters. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "Text") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Text") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1TextInput: Represents the natural language text to be processed.
func (*GoogleCloudDialogflowCxV3beta1TextInput) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1TextInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1TrainFlowRequest ¶
type GoogleCloudDialogflowCxV3beta1TrainFlowRequest struct { }
GoogleCloudDialogflowCxV3beta1TrainFlowRequest: The request message for Flows.TrainFlow.
type GoogleCloudDialogflowCxV3beta1TransitionCoverage ¶
type GoogleCloudDialogflowCxV3beta1TransitionCoverage struct { // CoverageScore: The percent of transitions in the agent that are // covered. CoverageScore float64 `json:"coverageScore,omitempty"` // Transitions: The list of Transitions present in the agent. Transitions []*GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition `json:"transitions,omitempty"` // ForceSendFields is a list of field names (e.g. "CoverageScore") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CoverageScore") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1TransitionCoverage: Transition coverage represents the percentage of all possible page transitions (page-level transition routes and event handlers, excluding transition route groups) present within any of a parent's test cases.
func (*GoogleCloudDialogflowCxV3beta1TransitionCoverage) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1TransitionCoverage) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowCxV3beta1TransitionCoverage) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1TransitionCoverage) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition ¶
type GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition struct { // Covered: Whether or not the transition is covered by at least one of // the agent's test cases. Covered bool `json:"covered,omitempty"` // EventHandler: Event handler. EventHandler *GoogleCloudDialogflowCxV3beta1EventHandler `json:"eventHandler,omitempty"` // Index: The index of a transition in the transition list. Starting // from 0. Index int64 `json:"index,omitempty"` // Source: The start node of a transition. Source *GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode `json:"source,omitempty"` // Target: The end node of a transition. Target *GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode `json:"target,omitempty"` // TransitionRoute: Intent route or condition route. TransitionRoute *GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoute,omitempty"` // ForceSendFields is a list of field names (e.g. "Covered") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Covered") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition: A transition in a page.
func (*GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1TransitionCoverageTransition) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode ¶
type GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode struct { // Flow: Indicates a transition to a Flow. Only some fields such as name // and displayname will be set. Flow *GoogleCloudDialogflowCxV3beta1Flow `json:"flow,omitempty"` // Page: Indicates a transition to a Page. Only some fields such as name // and displayname will be set. Page *GoogleCloudDialogflowCxV3beta1Page `json:"page,omitempty"` // ForceSendFields is a list of field names (e.g. "Flow") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Flow") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode: The source or target of a transition.
func (*GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1TransitionCoverageTransitionNode) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1TransitionRoute ¶
type GoogleCloudDialogflowCxV3beta1TransitionRoute struct { // Condition: The condition to evaluate against form parameters or // session parameters. See the conditions reference // (https://cloud.google.com/dialogflow/cx/docs/reference/condition). At // least one of `intent` or `condition` must be specified. When both // `intent` and `condition` are specified, the transition can only // happen when both are fulfilled. Condition string `json:"condition,omitempty"` // Intent: The unique identifier of an Intent. Format: // `projects//locations//agents//intents/`. Indicates that the // transition can only happen when the given intent is matched. At least // one of `intent` or `condition` must be specified. When both `intent` // and `condition` are specified, the transition can only happen when // both are fulfilled. Intent string `json:"intent,omitempty"` // Name: Output only. The unique identifier of this transition route. Name string `json:"name,omitempty"` // TargetFlow: The target flow to transition to. Format: // `projects//locations//agents//flows/`. TargetFlow string `json:"targetFlow,omitempty"` // TargetPage: The target page to transition to. Format: // `projects//locations//agents//flows//pages/`. TargetPage string `json:"targetPage,omitempty"` // TriggerFulfillment: The fulfillment to call when the condition is // satisfied. At least one of `trigger_fulfillment` and `target` must be // specified. When both are defined, `trigger_fulfillment` is executed // first. TriggerFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"triggerFulfillment,omitempty"` // ForceSendFields is a list of field names (e.g. "Condition") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Condition") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1TransitionRoute: A transition route specifies a intent that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the transition, it will be called. * If there is a `target_page` associated with the transition, the session will transition into the specified page. * If there is a `target_flow` associated with the transition, the session will transition into the specified flow.
func (*GoogleCloudDialogflowCxV3beta1TransitionRoute) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1TransitionRoute) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1TransitionRouteGroup ¶
type GoogleCloudDialogflowCxV3beta1TransitionRouteGroup struct { // DisplayName: Required. The human-readable name of the transition // route group, unique within the Agent. The display name can be no // longer than 30 characters. DisplayName string `json:"displayName,omitempty"` // Name: The unique identifier of the transition route group. // TransitionRouteGroups.CreateTransitionRouteGroup populates the name // automatically. Format: // `projects//locations//agents//flows//transitionRouteGroups/`. Name string `json:"name,omitempty"` // TransitionRoutes: Transition routes associated with the // TransitionRouteGroup. TransitionRoutes []*GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoutes,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1TransitionRouteGroup: An TransitionRouteGroup represents a group of `TransitionRoutes` to be used by a Page.
func (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage ¶
type GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage struct { // CoverageScore: The percent of transition routes in all the transition // route groups that are covered. CoverageScore float64 `json:"coverageScore,omitempty"` // Coverages: Transition route group coverages. Coverages []*GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage `json:"coverages,omitempty"` // ForceSendFields is a list of field names (e.g. "CoverageScore") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CoverageScore") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage: Transition route group coverage represents the percentage of all possible transition routes present within any of a parent's test cases. The results are grouped by the transition route group.
func (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverage) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage ¶
type GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage struct { // CoverageScore: The percent of transition routes in the transition // route group that are covered. CoverageScore float64 `json:"coverageScore,omitempty"` // RouteGroup: Transition route group metadata. Only name and // displayName will be set. RouteGroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup `json:"routeGroup,omitempty"` // Transitions: The list of transition routes and coverage in the // transition route group. Transitions []*GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition `json:"transitions,omitempty"` // ForceSendFields is a list of field names (e.g. "CoverageScore") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CoverageScore") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage: Coverage result message for one transition route group.
func (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverage) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition ¶
type GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition struct { // Covered: Whether or not the transition route is covered by at least // one of the agent's test cases. Covered bool `json:"covered,omitempty"` // TransitionRoute: Intent route or condition route. TransitionRoute *GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoute,omitempty"` // ForceSendFields is a list of field names (e.g. "Covered") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Covered") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTran sition: A transition coverage in a transition route group.
func (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1TransitionRouteGroupCoverageCoverageTransition) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata ¶
type GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata struct { // GenericMetadata: The generic information of the operation. GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata: Metadata for UpdateDocument operation.
func (*GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ValidateAgentRequest ¶
type GoogleCloudDialogflowCxV3beta1ValidateAgentRequest struct { // LanguageCode: If not specified, the agent's default language is used. LanguageCode string `json:"languageCode,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LanguageCode") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ValidateAgentRequest: The request message for Agents.ValidateAgent.
func (*GoogleCloudDialogflowCxV3beta1ValidateAgentRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ValidateAgentRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ValidateFlowRequest ¶
type GoogleCloudDialogflowCxV3beta1ValidateFlowRequest struct { // LanguageCode: If not specified, the agent's default language is used. LanguageCode string `json:"languageCode,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LanguageCode") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ValidateFlowRequest: The request message for Flows.ValidateFlow.
func (*GoogleCloudDialogflowCxV3beta1ValidateFlowRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ValidateFlowRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ValidationMessage ¶
type GoogleCloudDialogflowCxV3beta1ValidationMessage struct { // Detail: The message detail. Detail string `json:"detail,omitempty"` // ResourceNames: The resource names of the resources where the message // is found. ResourceNames []*GoogleCloudDialogflowCxV3beta1ResourceName `json:"resourceNames,omitempty"` // ResourceType: The type of the resources where the message is found. // // Possible values: // "RESOURCE_TYPE_UNSPECIFIED" - Unspecified. // "AGENT" - Agent. // "INTENT" - Intent. // "INTENT_TRAINING_PHRASE" - Intent training phrase. // "INTENT_PARAMETER" - Intent parameter. // "INTENTS" - Multiple intents. // "INTENT_TRAINING_PHRASES" - Multiple training phrases. // "ENTITY_TYPE" - Entity type. // "ENTITY_TYPES" - Multiple entity types. // "WEBHOOK" - Webhook. // "FLOW" - Flow. // "PAGE" - Page. // "PAGES" - Multiple pages. // "TRANSITION_ROUTE_GROUP" - Transition route group. ResourceType string `json:"resourceType,omitempty"` // Resources: The names of the resources where the message is found. Resources []string `json:"resources,omitempty"` // Severity: Indicates the severity of the message. // // Possible values: // "SEVERITY_UNSPECIFIED" - Unspecified. // "INFO" - The agent doesn't follow Dialogflow best practices. // "WARNING" - The agent may not behave as expected. // "ERROR" - The agent may experience failures. Severity string `json:"severity,omitempty"` // ForceSendFields is a list of field names (e.g. "Detail") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Detail") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1ValidationMessage: Agent/flow validation message.
func (*GoogleCloudDialogflowCxV3beta1ValidationMessage) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1ValidationMessage) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1VariantsHistory ¶
type GoogleCloudDialogflowCxV3beta1VariantsHistory struct { // UpdateTime: Update time of the variants. UpdateTime string `json:"updateTime,omitempty"` // VersionVariants: The flow versions as the variants. VersionVariants *GoogleCloudDialogflowCxV3beta1VersionVariants `json:"versionVariants,omitempty"` // ForceSendFields is a list of field names (e.g. "UpdateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UpdateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1VariantsHistory: The history of variants update.
func (*GoogleCloudDialogflowCxV3beta1VariantsHistory) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1VariantsHistory) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1Version ¶
type GoogleCloudDialogflowCxV3beta1Version struct { // CreateTime: Output only. Create time of the version. CreateTime string `json:"createTime,omitempty"` // Description: The description of the version. The maximum length is // 500 characters. If exceeded, the request is rejected. Description string `json:"description,omitempty"` // DisplayName: Required. The human-readable name of the version. Limit // of 64 characters. DisplayName string `json:"displayName,omitempty"` // Name: Format: projects//locations//agents//flows//versions/. Version // ID is a self-increasing number generated by Dialogflow upon version // creation. Name string `json:"name,omitempty"` // NluSettings: Output only. The NLU settings of the flow at version // creation. NluSettings *GoogleCloudDialogflowCxV3beta1NluSettings `json:"nluSettings,omitempty"` // State: Output only. The state of this version. This field is // read-only and cannot be set by create and update methods. // // Possible values: // "STATE_UNSPECIFIED" - Not specified. This value is not used. // "RUNNING" - Version is not ready to serve (e.g. training is // running). // "SUCCEEDED" - Training has succeeded and this version is ready to // serve. // "FAILED" - Version training failed. State string `json:"state,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CreateTime") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1Version: Represents a version of a flow.
func (*GoogleCloudDialogflowCxV3beta1Version) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1Version) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1VersionVariants ¶
type GoogleCloudDialogflowCxV3beta1VersionVariants struct { // Variants: A list of flow version variants. Variants []*GoogleCloudDialogflowCxV3beta1VersionVariantsVariant `json:"variants,omitempty"` // ForceSendFields is a list of field names (e.g. "Variants") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Variants") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1VersionVariants: A list of flow version variants.
func (*GoogleCloudDialogflowCxV3beta1VersionVariants) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1VersionVariants) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1VersionVariantsVariant ¶
type GoogleCloudDialogflowCxV3beta1VersionVariantsVariant struct { // IsControlGroup: Whether the variant is for the control group. IsControlGroup bool `json:"isControlGroup,omitempty"` // TrafficAllocation: Percentage of the traffic which should be routed // to this version of flow. Traffic allocation for a single flow must // sum up to 1.0. TrafficAllocation float64 `json:"trafficAllocation,omitempty"` // Version: The name of the flow version. Format: // `projects//locations//agents//flows//versions/`. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "IsControlGroup") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IsControlGroup") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1VersionVariantsVariant: A single flow version with specified traffic allocation.
func (*GoogleCloudDialogflowCxV3beta1VersionVariantsVariant) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1VersionVariantsVariant) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowCxV3beta1VersionVariantsVariant) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1VersionVariantsVariant) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowCxV3beta1VoiceSelectionParams ¶
type GoogleCloudDialogflowCxV3beta1VoiceSelectionParams struct { // Name: Optional. The name of the voice. If not set, the service will // choose a voice based on the other parameters such as language_code // and ssml_gender. For the list of available voices, please refer to // Supported voices and languages // (https://cloud.google.com/text-to-speech/docs/voices). Name string `json:"name,omitempty"` // SsmlGender: Optional. The preferred gender of the voice. If not set, // the service will choose a voice based on the other parameters such as // language_code and name. Note that this is only a preference, not // requirement. If a voice of the appropriate gender is not available, // the synthesizer should substitute a voice with a different gender // rather than failing the request. // // Possible values: // "SSML_VOICE_GENDER_UNSPECIFIED" - An unspecified gender, which // means that the client doesn't care which gender the selected voice // will have. // "SSML_VOICE_GENDER_MALE" - A male voice. // "SSML_VOICE_GENDER_FEMALE" - A female voice. // "SSML_VOICE_GENDER_NEUTRAL" - A gender-neutral voice. SsmlGender string `json:"ssmlGender,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1VoiceSelectionParams: Description of which voice to use for speech synthesis.
func (*GoogleCloudDialogflowCxV3beta1VoiceSelectionParams) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1VoiceSelectionParams) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1Webhook ¶
type GoogleCloudDialogflowCxV3beta1Webhook struct { // Disabled: Indicates whether the webhook is disabled. Disabled bool `json:"disabled,omitempty"` // DisplayName: Required. The human-readable name of the webhook, unique // within the agent. DisplayName string `json:"displayName,omitempty"` // GenericWebService: Configuration for a generic web service. GenericWebService *GoogleCloudDialogflowCxV3beta1WebhookGenericWebService `json:"genericWebService,omitempty"` // Name: The unique identifier of the webhook. Required for the // Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the // name automatically. Format: `projects//locations//agents//webhooks/`. Name string `json:"name,omitempty"` // ServiceDirectory: Configuration for a Service Directory // (https://cloud.google.com/service-directory) service. ServiceDirectory *GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig `json:"serviceDirectory,omitempty"` // Timeout: Webhook execution timeout. Execution is considered failed if // Dialogflow doesn't receive a response from webhook at the end of the // timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 // seconds. Timeout string `json:"timeout,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Disabled") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Disabled") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1Webhook: Webhooks host the developer's business logic. During a session, webhooks allow the developer to use the data extracted by Dialogflow's natural language processing to generate dynamic responses, validate collected data, or trigger actions on the backend.
func (*GoogleCloudDialogflowCxV3beta1Webhook) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1Webhook) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1WebhookGenericWebService ¶
type GoogleCloudDialogflowCxV3beta1WebhookGenericWebService struct { // Password: The password for HTTP Basic authentication. Password string `json:"password,omitempty"` // RequestHeaders: The HTTP request headers to send together with // webhook requests. RequestHeaders map[string]string `json:"requestHeaders,omitempty"` // Uri: Required. The webhook URI for receiving POST requests. It must // use https protocol. Uri string `json:"uri,omitempty"` // Username: The user name for HTTP Basic authentication. Username string `json:"username,omitempty"` // ForceSendFields is a list of field names (e.g. "Password") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Password") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1WebhookGenericWebService: Represents configuration for a generic web service.
func (*GoogleCloudDialogflowCxV3beta1WebhookGenericWebService) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1WebhookGenericWebService) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1WebhookRequest ¶
type GoogleCloudDialogflowCxV3beta1WebhookRequest struct { // DetectIntentResponseId: Always present. The unique identifier of the // DetectIntentResponse that will be returned to the API caller. DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"` // FulfillmentInfo: Always present. Information about the fulfillment // that triggered this webhook call. FulfillmentInfo *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"` // IntentInfo: Information about the last matched intent. IntentInfo *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo `json:"intentInfo,omitempty"` // LanguageCode: The language code specified in the original request. LanguageCode string `json:"languageCode,omitempty"` // Messages: The list of rich message responses to present to the user. // Webhook can choose to append or replace this list in // WebhookResponse.fulfillment_response; Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` // PageInfo: Information about page status. PageInfo *GoogleCloudDialogflowCxV3beta1PageInfo `json:"pageInfo,omitempty"` // Payload: Custom data set in QueryParameters.payload. Payload googleapi.RawMessage `json:"payload,omitempty"` // SentimentAnalysisResult: The sentiment analysis result of the current // user request. The field is filled when sentiment analysis is // configured to be enabled for the request. SentimentAnalysisResult *GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` // SessionInfo: Information about session status. SessionInfo *GoogleCloudDialogflowCxV3beta1SessionInfo `json:"sessionInfo,omitempty"` // Text: If natural language text was provided as input, this field will // contain a copy of the text. Text string `json:"text,omitempty"` // Transcript: If natural language speech audio was provided as input, // this field will contain the transcript for the audio. Transcript string `json:"transcript,omitempty"` // TriggerEvent: If an event was provided as input, this field will // contain the name of the event. TriggerEvent string `json:"triggerEvent,omitempty"` // TriggerIntent: If an intent was provided as input, this field will // contain a copy of the intent identifier. Format: // `projects//locations//agents//intents/`. TriggerIntent string `json:"triggerIntent,omitempty"` // ForceSendFields is a list of field names (e.g. // "DetectIntentResponseId") to unconditionally include in API requests. // By default, fields with empty values are omitted from API requests. // However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DetectIntentResponseId") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1WebhookRequest: The request message for a webhook call. The request is sent as a JSON object and the field names will be presented in camel cases.
func (*GoogleCloudDialogflowCxV3beta1WebhookRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1WebhookRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo ¶
type GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo struct { // Tag: Always present. The tag used to identify which fulfillment is // being called. Tag string `json:"tag,omitempty"` // ForceSendFields is a list of field names (e.g. "Tag") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Tag") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo: Represents fulfillment information communicated to the webhook.
func (*GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo ¶
type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo struct { // Confidence: The confidence of the matched intent. Values range from // 0.0 (completely uncertain) to 1.0 (completely certain). Confidence float64 `json:"confidence,omitempty"` // DisplayName: Always present. The display name of the last matched // intent. DisplayName string `json:"displayName,omitempty"` // LastMatchedIntent: Always present. The unique identifier of the last // matched intent. Format: `projects//locations//agents//intents/`. LastMatchedIntent string `json:"lastMatchedIntent,omitempty"` // Parameters: Parameters identified as a result of intent matching. // This is a map of the name of the identified parameter to the value of // the parameter identified from the user's utterance. All parameters // defined in the matched intent that are identified will be surfaced // here. Parameters map[string]GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "Confidence") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Confidence") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo: Represents intent information communicated to the webhook.
func (*GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue ¶
type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue struct { // OriginalValue: Always present. Original text value extracted from // user utterance. OriginalValue string `json:"originalValue,omitempty"` // ResolvedValue: Always present. Structured value for the parameter // extracted from user utterance. ResolvedValue interface{} `json:"resolvedValue,omitempty"` // ForceSendFields is a list of field names (e.g. "OriginalValue") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OriginalValue") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterV alue: Represents a value for an intent parameter.
func (*GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult ¶
type GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult struct { // Magnitude: A non-negative number in the [0, +inf) range, which // represents the absolute magnitude of sentiment, regardless of score // (positive or negative). Magnitude float64 `json:"magnitude,omitempty"` // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 // (positive sentiment). Score float64 `json:"score,omitempty"` // ForceSendFields is a list of field names (e.g. "Magnitude") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Magnitude") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult: Represents the result of sentiment analysis.
func (*GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowCxV3beta1WebhookResponse ¶
type GoogleCloudDialogflowCxV3beta1WebhookResponse struct { // FulfillmentResponse: The fulfillment response to send to the user. // This field can be omitted by the webhook if it does not intend to // send any response to the user. FulfillmentResponse *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"` // PageInfo: Information about page status. This field can be omitted by // the webhook if it does not intend to modify page status. PageInfo *GoogleCloudDialogflowCxV3beta1PageInfo `json:"pageInfo,omitempty"` // Payload: Value to append directly to QueryResult.webhook_payloads. Payload googleapi.RawMessage `json:"payload,omitempty"` // SessionInfo: Information about session status. This field can be // omitted by the webhook if it does not intend to modify session // status. SessionInfo *GoogleCloudDialogflowCxV3beta1SessionInfo `json:"sessionInfo,omitempty"` // TargetFlow: The target flow to transition to. Format: // `projects//locations//agents//flows/`. TargetFlow string `json:"targetFlow,omitempty"` // TargetPage: The target page to transition to. Format: // `projects//locations//agents//flows//pages/`. TargetPage string `json:"targetPage,omitempty"` // ForceSendFields is a list of field names (e.g. "FulfillmentResponse") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FulfillmentResponse") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1WebhookResponse: The response message for a webhook call.
func (*GoogleCloudDialogflowCxV3beta1WebhookResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1WebhookResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse ¶
type GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse struct { // MergeBehavior: Merge behavior for `messages`. // // Possible values: // "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be // used. // "APPEND" - `messages` will be appended to the list of messages // waiting to be sent to the user. // "REPLACE" - `messages` will replace the list of messages waiting to // be sent to the user. MergeBehavior string `json:"mergeBehavior,omitempty"` // Messages: The list of rich message responses to present to the user. Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"` // ForceSendFields is a list of field names (e.g. "MergeBehavior") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MergeBehavior") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse: Represents a fulfillment response to the user.
func (*GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig ¶
type GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig struct { // GenericWebService: Generic Service configuration of this webhook. GenericWebService *GoogleCloudDialogflowCxV3beta1WebhookGenericWebService `json:"genericWebService,omitempty"` // Service: Required. The name of Service Directory // (https://cloud.google.com/service-directory) service. Format: // `projects//locations//namespaces//services/`. `Location ID` of the // service directory must be the same as the location of the agent. Service string `json:"service,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericWebService") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericWebService") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig: Represents configuration for a Service Directory (https://cloud.google.com/service-directory) service.
func (*GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig) MarshalJSON ¶
func (s *GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2AnnotatedMessagePart ¶
type GoogleCloudDialogflowV2AnnotatedMessagePart struct { // EntityType: The Dialogflow system entity type // (https://cloud.google.com/dialogflow/docs/reference/system-entities) // of this message part. If this is empty, Dialogflow could not annotate // the phrase part with a system entity. EntityType string `json:"entityType,omitempty"` // FormattedValue: The Dialogflow system entity formatted value // (https://cloud.google.com/dialogflow/docs/reference/system-entities) // of this message part. For example for a system entity of type // `@sys.unit-currency`, this may contain: { "amount": 5, "currency": // "USD" } FormattedValue interface{} `json:"formattedValue,omitempty"` // Text: A part of a message possibly annotated with an entity. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "EntityType") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntityType") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2AnnotatedMessagePart: Represents a part of a message possibly annotated with an entity. The part can be an entity or purely a part of the message between two entities or message start/end.
func (*GoogleCloudDialogflowV2AnnotatedMessagePart) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2AnnotatedMessagePart) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2ArticleAnswer ¶
type GoogleCloudDialogflowV2ArticleAnswer struct { // AnswerRecord: The name of answer record, in the format of // "projects//locations//answerRecords/" AnswerRecord string `json:"answerRecord,omitempty"` // Confidence: Article match confidence. The system's confidence score // that this article is a good match for this conversation, as a value // from 0.0 (completely uncertain) to 1.0 (completely certain). Confidence float64 `json:"confidence,omitempty"` // Metadata: A map that contains metadata about the answer and the // document from which it originates. Metadata map[string]string `json:"metadata,omitempty"` // Snippets: Article snippets. Snippets []string `json:"snippets,omitempty"` // Title: The article title. Title string `json:"title,omitempty"` // Uri: The article URI. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "AnswerRecord") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnswerRecord") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2ArticleAnswer: Represents article answer.
func (*GoogleCloudDialogflowV2ArticleAnswer) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2ArticleAnswer) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2ArticleAnswer) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowV2ArticleAnswer) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse ¶
type GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse struct { // EntityTypes: The collection of updated or created entity types. EntityTypes []*GoogleCloudDialogflowV2EntityType `json:"entityTypes,omitempty"` // ForceSendFields is a list of field names (e.g. "EntityTypes") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntityTypes") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse: The response message for EntityTypes.BatchUpdateEntityTypes.
func (*GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2BatchUpdateIntentsResponse ¶
type GoogleCloudDialogflowV2BatchUpdateIntentsResponse struct { // Intents: The collection of updated or created intents. Intents []*GoogleCloudDialogflowV2Intent `json:"intents,omitempty"` // ForceSendFields is a list of field names (e.g. "Intents") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Intents") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2BatchUpdateIntentsResponse: The response message for Intents.BatchUpdateIntents.
func (*GoogleCloudDialogflowV2BatchUpdateIntentsResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2BatchUpdateIntentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2Context ¶
type GoogleCloudDialogflowV2Context struct { // LifespanCount: Optional. The number of conversational query requests // after which the context expires. The default is `0`. If set to `0`, // the context expires immediately. Contexts expire automatically after // 20 minutes if there are no matching queries. LifespanCount int64 `json:"lifespanCount,omitempty"` // Name: Required. The unique identifier of the context. Format: // `projects//agent/sessions//contexts/`, or // `projects//agent/environments//users//sessions//contexts/`. The // `Context ID` is always converted to lowercase, may only contain // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by // Dialogflow. You should not use these contexts or create contexts with // these names: * `__system_counters__` * `*_id_dialog_context` * // `*_dialog_params_size` Name string `json:"name,omitempty"` // Parameters: Optional. The collection of parameters associated with // this context. Depending on your protocol or client library language, // this is a map, associative array, symbol table, dictionary, or JSON // object composed of a collection of (MapKey, MapValue) pairs: - MapKey // type: string - MapKey value: parameter name - MapValue type: - If // parameter's entity type is a composite entity: map - Else: depending // on parameter value type, could be one of string, number, boolean, // null, list or map - MapValue value: - If parameter's entity type is a // composite entity: map from composite entity property names to // property values - Else: parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LifespanCount") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LifespanCount") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2Context: Dialogflow contexts are similar to natural language context. If a person says to you "they are orange", you need context in order to understand what "they" is referring to. Similarly, for Dialogflow to handle an end-user expression like that, it needs to be provided with context in order to correctly match an intent. Using contexts, you can control the flow of a conversation. You can configure contexts for an intent by setting input and output contexts, which are identified by string names. When an intent is matched, any configured output contexts for that intent become active. While any contexts are active, Dialogflow is more likely to match intents that are configured with input contexts that correspond to the currently active contexts. For more information about context, see the Contexts guide (https://cloud.google.com/dialogflow/docs/contexts-overview).
func (*GoogleCloudDialogflowV2Context) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2Context) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2ConversationEvent ¶
type GoogleCloudDialogflowV2ConversationEvent struct { // Conversation: The unique identifier of the conversation this // notification refers to. Format: `projects//conversations/`. Conversation string `json:"conversation,omitempty"` // ErrorStatus: More detailed information about an error. Only set for // type UNRECOVERABLE_ERROR_IN_PHONE_CALL. ErrorStatus *GoogleRpcStatus `json:"errorStatus,omitempty"` // NewMessagePayload: Payload of NEW_MESSAGE event. NewMessagePayload *GoogleCloudDialogflowV2Message `json:"newMessagePayload,omitempty"` // Type: The type of the event that this notification refers to. // // Possible values: // "TYPE_UNSPECIFIED" - Type not set. // "CONVERSATION_STARTED" - A new conversation has been opened. This // is fired when a telephone call is answered, or a conversation is // created via the API. // "CONVERSATION_FINISHED" - An existing conversation has closed. This // is fired when a telephone call is terminated, or a conversation is // closed via the API. // "HUMAN_INTERVENTION_NEEDED" - An existing conversation has received // notification from Dialogflow that human intervention is required. // "NEW_MESSAGE" - An existing conversation has received a new // message, either from API or telephony. It is configured in // ConversationProfile.new_message_event_notification_config // "UNRECOVERABLE_ERROR" - Unrecoverable error during a telephone // call. In general non-recoverable errors only occur if something was // misconfigured in the ConversationProfile corresponding to the call. // After a non-recoverable error, Dialogflow may stop responding. We // don't fire this event: * in an API call because we can directly // return the error, or, * when we can recover from an error. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Conversation") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Conversation") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2ConversationEvent: Represents a notification sent to Pub/Sub subscribers for conversation lifecycle events.
func (*GoogleCloudDialogflowV2ConversationEvent) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2ConversationEvent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2EntityType ¶
type GoogleCloudDialogflowV2EntityType struct { // AutoExpansionMode: Optional. Indicates whether the entity type can be // automatically expanded. // // Possible values: // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the // entity. // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values // that have not been explicitly listed in the entity. AutoExpansionMode string `json:"autoExpansionMode,omitempty"` // DisplayName: Required. The name of the entity type. DisplayName string `json:"displayName,omitempty"` // EnableFuzzyExtraction: Optional. Enables fuzzy entity extraction // during classification. EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` // Entities: Optional. The collection of entity entries associated with // the entity type. Entities []*GoogleCloudDialogflowV2EntityTypeEntity `json:"entities,omitempty"` // Kind: Required. Indicates the kind of entity type. // // Possible values: // "KIND_UNSPECIFIED" - Not specified. This value should be never // used. // "KIND_MAP" - Map entity types allow mapping of a group of synonyms // to a reference value. // "KIND_LIST" - List entity types contain a set of entries that do // not map to reference values. However, list entity types can contain // references to other entity types (with or without aliases). // "KIND_REGEXP" - Regexp entity types allow to specify regular // expressions in entries values. Kind string `json:"kind,omitempty"` // Name: The unique identifier of the entity type. Required for // EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes // methods. Format: `projects//agent/entityTypes/`. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AutoExpansionMode") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2EntityType: Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the Entity guide (https://cloud.google.com/dialogflow/docs/entities-overview).
func (*GoogleCloudDialogflowV2EntityType) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2EntityType) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2EntityTypeEntity ¶
type GoogleCloudDialogflowV2EntityTypeEntity struct { // Synonyms: Required. A collection of value synonyms. For example, if // the entity type is *vegetable*, and `value` is *scallions*, a synonym // could be *green onions*. For `KIND_LIST` entity types: * This // collection must contain exactly one synonym equal to `value`. Synonyms []string `json:"synonyms,omitempty"` // Value: Required. The primary value associated with this entity entry. // For example, if the entity type is *vegetable*, the value could be // *scallions*. For `KIND_MAP` entity types: * A reference value to be // used in place of synonyms. For `KIND_LIST` entity types: * A string // that can contain references to other entity types (with or without // aliases). Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Synonyms") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Synonyms") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2EntityTypeEntity: An **entity entry** for an associated entity type.
func (*GoogleCloudDialogflowV2EntityTypeEntity) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2EntityTypeEntity) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2EventInput ¶
type GoogleCloudDialogflowV2EventInput struct { // LanguageCode: Required. The language of this query. See Language // Support (https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. Note that // queries in the same session do not necessarily need to specify the // same language. LanguageCode string `json:"languageCode,omitempty"` // Name: Required. The unique identifier of the event. Name string `json:"name,omitempty"` // Parameters: The collection of parameters associated with the event. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - // MapKey value: parameter name - MapValue type: - If parameter's entity // type is a composite entity: map - Else: depending on parameter value // type, could be one of string, number, boolean, null, list or map - // MapValue value: - If parameter's entity type is a composite entity: // map from composite entity property names to property values - Else: // parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LanguageCode") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2EventInput: Events allow for matching intents by event name instead of the natural language input. For instance, input “ can trigger a personalized welcome response. The parameter `name` may be used by the agent in the response: "Hello #welcome_event.name! What can I do for you today?".
func (*GoogleCloudDialogflowV2EventInput) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2EventInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2ExportAgentResponse ¶
type GoogleCloudDialogflowV2ExportAgentResponse struct { // AgentContent: Zip compressed raw byte content for agent. AgentContent string `json:"agentContent,omitempty"` // AgentUri: The URI to a file containing the exported agent. This field // is populated only if `agent_uri` is specified in // `ExportAgentRequest`. AgentUri string `json:"agentUri,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AgentContent") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2ExportAgentResponse: The response message for Agents.ExportAgent.
func (*GoogleCloudDialogflowV2ExportAgentResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2ExportAgentResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2FaqAnswer ¶
type GoogleCloudDialogflowV2FaqAnswer struct { // Answer: The piece of text from the `source` knowledge base document. Answer string `json:"answer,omitempty"` // AnswerRecord: The name of answer record, in the format of // "projects//locations//answerRecords/" AnswerRecord string `json:"answerRecord,omitempty"` // Confidence: The system's confidence score that this Knowledge answer // is a good match for this conversational query, range from 0.0 // (completely uncertain) to 1.0 (completely certain). Confidence float64 `json:"confidence,omitempty"` // Metadata: A map that contains metadata about the answer and the // document from which it originates. Metadata map[string]string `json:"metadata,omitempty"` // Question: The corresponding FAQ question. Question string `json:"question,omitempty"` // Source: Indicates which Knowledge Document this answer was extracted // from. Format: // `projects//locations//agent/knowledgeBases//documents/`. Source string `json:"source,omitempty"` // ForceSendFields is a list of field names (e.g. "Answer") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Answer") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2FaqAnswer: Represents answer from "frequently asked questions".
func (*GoogleCloudDialogflowV2FaqAnswer) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2FaqAnswer) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2FaqAnswer) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowV2FaqAnswer) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2HumanAgentAssistantEvent ¶
type GoogleCloudDialogflowV2HumanAgentAssistantEvent struct { // Conversation: The conversation this notification refers to. Format: // `projects//conversations/`. Conversation string `json:"conversation,omitempty"` // Participant: The participant that the suggestion is compiled for. // Format: `projects//conversations//participants/`. It will not be set // in legacy workflow. Participant string `json:"participant,omitempty"` // SuggestionResults: The suggestion results payload that this // notification refers to. SuggestionResults []*GoogleCloudDialogflowV2SuggestionResult `json:"suggestionResults,omitempty"` // ForceSendFields is a list of field names (e.g. "Conversation") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Conversation") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2HumanAgentAssistantEvent: Represents a notification sent to Cloud Pub/Sub subscribers for human agent assistant events in a specific conversation.
func (*GoogleCloudDialogflowV2HumanAgentAssistantEvent) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2HumanAgentAssistantEvent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2Intent ¶
type GoogleCloudDialogflowV2Intent struct { // Action: Optional. The name of the action associated with the intent. // Note: The action name must not contain whitespaces. Action string `json:"action,omitempty"` // DefaultResponsePlatforms: Optional. The list of platforms for which // the first responses will be copied from the messages in // PLATFORM_UNSPECIFIED (i.e. default platform). // // Possible values: // "PLATFORM_UNSPECIFIED" - Default platform. // "FACEBOOK" - Facebook. // "SLACK" - Slack. // "TELEGRAM" - Telegram. // "KIK" - Kik. // "SKYPE" - Skype. // "LINE" - Line. // "VIBER" - Viber. // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook // format](https://developers.google.com/assistant/actions/build/json/dia // logflow-webhook-json) // "GOOGLE_HANGOUTS" - Google Hangouts. DefaultResponsePlatforms []string `json:"defaultResponsePlatforms,omitempty"` // DisplayName: Required. The name of this intent. DisplayName string `json:"displayName,omitempty"` // EndInteraction: Optional. Indicates that this intent ends an // interaction. Some integrations (e.g., Actions on Google or Dialogflow // phone gateway) use this information to close interaction with an end // user. Default is false. EndInteraction bool `json:"endInteraction,omitempty"` // Events: Optional. The collection of event names that trigger the // intent. If the collection of input contexts is not empty, all of the // contexts must be present in the active user session for an event to // trigger this intent. Event names are limited to 150 characters. Events []string `json:"events,omitempty"` // FollowupIntentInfo: Read-only. Information about all followup intents // that have this intent as a direct or indirect parent. We populate // this field only in the output. FollowupIntentInfo []*GoogleCloudDialogflowV2IntentFollowupIntentInfo `json:"followupIntentInfo,omitempty"` // InputContextNames: Optional. The list of context names required for // this intent to be triggered. Format: // `projects//agent/sessions/-/contexts/`. InputContextNames []string `json:"inputContextNames,omitempty"` // IsFallback: Optional. Indicates whether this is a fallback intent. IsFallback bool `json:"isFallback,omitempty"` // LiveAgentHandoff: Optional. Indicates that a live agent should be // brought in to handle the interaction with the user. In most cases, // when you set this flag to true, you would also want to set // end_interaction to true as well. Default is false. LiveAgentHandoff bool `json:"liveAgentHandoff,omitempty"` // Messages: Optional. The collection of rich messages corresponding to // the `Response` field in the Dialogflow console. Messages []*GoogleCloudDialogflowV2IntentMessage `json:"messages,omitempty"` // MlDisabled: Optional. Indicates whether Machine Learning is disabled // for the intent. Note: If `ml_disabled` setting is set to true, then // this intent is not taken into account during inference in `ML ONLY` // match mode. Also, auto-markup in the UI is turned off. MlDisabled bool `json:"mlDisabled,omitempty"` // Name: Optional. The unique identifier of this intent. Required for // Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Format: // `projects//agent/intents/`. Name string `json:"name,omitempty"` // OutputContexts: Optional. The collection of contexts that are // activated when the intent is matched. Context messages in this // collection should not set the parameters field. Setting the // `lifespan_count` to 0 will reset the context when the intent is // matched. Format: `projects//agent/sessions/-/contexts/`. OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` // Parameters: Optional. The collection of parameters associated with // the intent. Parameters []*GoogleCloudDialogflowV2IntentParameter `json:"parameters,omitempty"` // ParentFollowupIntentName: Read-only after creation. The unique // identifier of the parent intent in the chain of followup intents. You // can set this field when creating an intent, for example with // CreateIntent or BatchUpdateIntents, in order to make this intent a // followup intent. It identifies the parent followup intent. Format: // `projects//agent/intents/`. ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` // Priority: Optional. The priority of this intent. Higher numbers // represent higher priorities. - If the supplied value is unspecified // or 0, the service translates the value to 500,000, which corresponds // to the `Normal` priority in the console. - If the supplied value is // negative, the intent is ignored in runtime detect intent requests. Priority int64 `json:"priority,omitempty"` // ResetContexts: Optional. Indicates whether to delete all contexts in // the current session when this intent is matched. ResetContexts bool `json:"resetContexts,omitempty"` // RootFollowupIntentName: Read-only. The unique identifier of the root // intent in the chain of followup intents. It identifies the correct // followup intents chain for this intent. We populate this field only // in the output. Format: `projects//agent/intents/`. RootFollowupIntentName string `json:"rootFollowupIntentName,omitempty"` // TrainingPhrases: Optional. The collection of examples that the agent // is trained on. TrainingPhrases []*GoogleCloudDialogflowV2IntentTrainingPhrase `json:"trainingPhrases,omitempty"` // WebhookState: Optional. Indicates whether webhooks are enabled for // the intent. // // Possible values: // "WEBHOOK_STATE_UNSPECIFIED" - Webhook is disabled in the agent and // in the intent. // "WEBHOOK_STATE_ENABLED" - Webhook is enabled in the agent and in // the intent. // "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" - Webhook is enabled in // the agent and in the intent. Also, each slot filling prompt is // forwarded to the webhook. WebhookState string `json:"webhookState,omitempty"` // ForceSendFields is a list of field names (e.g. "Action") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Action") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2Intent: An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the intent guide (https://cloud.google.com/dialogflow/docs/intents-overview).
func (*GoogleCloudDialogflowV2Intent) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2Intent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentFollowupIntentInfo ¶
type GoogleCloudDialogflowV2IntentFollowupIntentInfo struct { // FollowupIntentName: The unique identifier of the followup intent. // Format: `projects//agent/intents/`. FollowupIntentName string `json:"followupIntentName,omitempty"` // ParentFollowupIntentName: The unique identifier of the followup // intent's parent. Format: `projects//agent/intents/`. ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` // ForceSendFields is a list of field names (e.g. "FollowupIntentName") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FollowupIntentName") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentFollowupIntentInfo: Represents a single followup intent in the chain.
func (*GoogleCloudDialogflowV2IntentFollowupIntentInfo) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentFollowupIntentInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessage ¶
type GoogleCloudDialogflowV2IntentMessage struct { // BasicCard: The basic card response for Actions on Google. BasicCard *GoogleCloudDialogflowV2IntentMessageBasicCard `json:"basicCard,omitempty"` // BrowseCarouselCard: Browse carousel card for Actions on Google. BrowseCarouselCard *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard `json:"browseCarouselCard,omitempty"` // Card: The card response. Card *GoogleCloudDialogflowV2IntentMessageCard `json:"card,omitempty"` // CarouselSelect: The carousel card response for Actions on Google. CarouselSelect *GoogleCloudDialogflowV2IntentMessageCarouselSelect `json:"carouselSelect,omitempty"` // Image: The image response. Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` // LinkOutSuggestion: The link out suggestion chip for Actions on // Google. LinkOutSuggestion *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion `json:"linkOutSuggestion,omitempty"` // ListSelect: The list card response for Actions on Google. ListSelect *GoogleCloudDialogflowV2IntentMessageListSelect `json:"listSelect,omitempty"` // MediaContent: The media content card for Actions on Google. MediaContent *GoogleCloudDialogflowV2IntentMessageMediaContent `json:"mediaContent,omitempty"` // Payload: A custom platform-specific response. Payload googleapi.RawMessage `json:"payload,omitempty"` // Platform: Optional. The platform that this message is intended for. // // Possible values: // "PLATFORM_UNSPECIFIED" - Default platform. // "FACEBOOK" - Facebook. // "SLACK" - Slack. // "TELEGRAM" - Telegram. // "KIK" - Kik. // "SKYPE" - Skype. // "LINE" - Line. // "VIBER" - Viber. // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook // format](https://developers.google.com/assistant/actions/build/json/dia // logflow-webhook-json) // "GOOGLE_HANGOUTS" - Google Hangouts. Platform string `json:"platform,omitempty"` // QuickReplies: The quick replies response. QuickReplies *GoogleCloudDialogflowV2IntentMessageQuickReplies `json:"quickReplies,omitempty"` // SimpleResponses: The voice and text-only responses for Actions on // Google. SimpleResponses *GoogleCloudDialogflowV2IntentMessageSimpleResponses `json:"simpleResponses,omitempty"` // Suggestions: The suggestion chips for Actions on Google. Suggestions *GoogleCloudDialogflowV2IntentMessageSuggestions `json:"suggestions,omitempty"` // TableCard: Table card for Actions on Google. TableCard *GoogleCloudDialogflowV2IntentMessageTableCard `json:"tableCard,omitempty"` // Text: The text response. Text *GoogleCloudDialogflowV2IntentMessageText `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicCard") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicCard") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessage: A rich response message. Corresponds to the intent `Response` field in the Dialogflow console. For more information, see Rich response messages (https://cloud.google.com/dialogflow/docs/intents-rich-messages).
func (*GoogleCloudDialogflowV2IntentMessage) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessage) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageBasicCard ¶
type GoogleCloudDialogflowV2IntentMessageBasicCard struct { // Buttons: Optional. The collection of card buttons. Buttons []*GoogleCloudDialogflowV2IntentMessageBasicCardButton `json:"buttons,omitempty"` // FormattedText: Required, unless image is present. The body text of // the card. FormattedText string `json:"formattedText,omitempty"` // Image: Optional. The image for the card. Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` // Subtitle: Optional. The subtitle of the card. Subtitle string `json:"subtitle,omitempty"` // Title: Optional. The title of the card. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Buttons") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Buttons") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageBasicCard: The basic card message. Useful for displaying information.
func (*GoogleCloudDialogflowV2IntentMessageBasicCard) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageBasicCard) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageBasicCardButton ¶
type GoogleCloudDialogflowV2IntentMessageBasicCardButton struct { // OpenUriAction: Required. Action to take when a user taps on the // button. OpenUriAction *GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction `json:"openUriAction,omitempty"` // Title: Required. The title of the button. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "OpenUriAction") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OpenUriAction") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageBasicCardButton: The button object that appears at the bottom of a card.
func (*GoogleCloudDialogflowV2IntentMessageBasicCardButton) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageBasicCardButton) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction ¶
type GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction struct { // Uri: Required. The HTTP or HTTPS scheme URI. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "Uri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Uri") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction: Opens the given URI.
func (*GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard ¶
type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard struct { // ImageDisplayOptions: Optional. Settings for displaying the image. // Applies to every image in items. // // Possible values: // "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED" - Fill the gaps between the // image and the image container with gray bars. // "GRAY" - Fill the gaps between the image and the image container // with gray bars. // "WHITE" - Fill the gaps between the image and the image container // with white bars. // "CROPPED" - Image is scaled such that the image width and height // match or exceed the container dimensions. This may crop the top and // bottom of the image if the scaled image height is greater than the // container height, or crop the left and right of the image if the // scaled image width is greater than the container width. This is // similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video. // "BLURRED_BACKGROUND" - Pad the gaps between image and image frame // with a blurred copy of the same image. ImageDisplayOptions string `json:"imageDisplayOptions,omitempty"` // Items: Required. List of items in the Browse Carousel Card. Minimum // of two items, maximum of ten. Items []*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem `json:"items,omitempty"` // ForceSendFields is a list of field names (e.g. "ImageDisplayOptions") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ImageDisplayOptions") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard: Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel
func (*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem ¶
type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem struct { // Description: Optional. Description of the carousel item. Maximum of // four lines of text. Description string `json:"description,omitempty"` // Carousel Card. Maximum of one line of text. Footer string `json:"footer,omitempty"` // Image: Optional. Hero image for the carousel item. Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` // OpenUriAction: Required. Action to present to the user. OpenUriAction *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction `json:"openUriAction,omitempty"` // Title: Required. Title of the carousel item. Maximum of two lines of // text. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa rdItem: Browsing carousel tile
func (*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction ¶
type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction struct { // Url: Required. URL Url string `json:"url,omitempty"` // UrlTypeHint: Optional. Specifies the type of viewer that is used when // opening the URL. Defaults to opening via web browser. // // Possible values: // "URL_TYPE_HINT_UNSPECIFIED" - Unspecified // "AMP_ACTION" - Url would be an amp action // "AMP_CONTENT" - URL that points directly to AMP content, or to a // canonical URL which refers to AMP content via . UrlTypeHint string `json:"urlTypeHint,omitempty"` // ForceSendFields is a list of field names (e.g. "Url") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Url") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCa rdItemOpenUrlAction: Actions on Google action to open a given url.
func (*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageCard ¶
type GoogleCloudDialogflowV2IntentMessageCard struct { // Buttons: Optional. The collection of card buttons. Buttons []*GoogleCloudDialogflowV2IntentMessageCardButton `json:"buttons,omitempty"` // ImageUri: Optional. The public URI to an image file for the card. ImageUri string `json:"imageUri,omitempty"` // Subtitle: Optional. The subtitle of the card. Subtitle string `json:"subtitle,omitempty"` // Title: Optional. The title of the card. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Buttons") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Buttons") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageCard: The card response message.
func (*GoogleCloudDialogflowV2IntentMessageCard) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageCard) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageCardButton ¶
type GoogleCloudDialogflowV2IntentMessageCardButton struct { // Postback: Optional. The text to send back to the Dialogflow API or a // URI to open. Postback string `json:"postback,omitempty"` // Text: Optional. The text to show on the button. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "Postback") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Postback") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageCardButton: Contains information about a button.
func (*GoogleCloudDialogflowV2IntentMessageCardButton) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageCardButton) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageCarouselSelect ¶
type GoogleCloudDialogflowV2IntentMessageCarouselSelect struct { // Items: Required. Carousel items. Items []*GoogleCloudDialogflowV2IntentMessageCarouselSelectItem `json:"items,omitempty"` // ForceSendFields is a list of field names (e.g. "Items") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Items") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageCarouselSelect: The card for presenting a carousel of options to select from.
func (*GoogleCloudDialogflowV2IntentMessageCarouselSelect) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageCarouselSelect) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageCarouselSelectItem ¶
type GoogleCloudDialogflowV2IntentMessageCarouselSelectItem struct { // Description: Optional. The body text of the card. Description string `json:"description,omitempty"` // Image: Optional. The image to display. Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` // Info: Required. Additional info about the option item. Info *GoogleCloudDialogflowV2IntentMessageSelectItemInfo `json:"info,omitempty"` // Title: Required. Title of the carousel item. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageCarouselSelectItem: An item in the carousel.
func (*GoogleCloudDialogflowV2IntentMessageCarouselSelectItem) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageCarouselSelectItem) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageColumnProperties ¶
type GoogleCloudDialogflowV2IntentMessageColumnProperties struct { // Header: Required. Column heading. Header string `json:"header,omitempty"` // HorizontalAlignment: Optional. Defines text alignment for all cells // in this column. // // Possible values: // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Text is aligned to the leading // edge of the column. // "LEADING" - Text is aligned to the leading edge of the column. // "CENTER" - Text is centered in the column. // "TRAILING" - Text is aligned to the trailing edge of the column. HorizontalAlignment string `json:"horizontalAlignment,omitempty"` // ForceSendFields is a list of field names (e.g. "Header") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Header") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageColumnProperties: Column properties for TableCard.
func (*GoogleCloudDialogflowV2IntentMessageColumnProperties) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageColumnProperties) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageImage ¶
type GoogleCloudDialogflowV2IntentMessageImage struct { // AccessibilityText: Optional. A text description of the image to be // used for accessibility, e.g., screen readers. AccessibilityText string `json:"accessibilityText,omitempty"` // ImageUri: Optional. The public URI to an image file. ImageUri string `json:"imageUri,omitempty"` // ForceSendFields is a list of field names (e.g. "AccessibilityText") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccessibilityText") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageImage: The image response message.
func (*GoogleCloudDialogflowV2IntentMessageImage) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageImage) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion ¶
type GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion struct { // DestinationName: Required. The name of the app or site this chip is // linking to. DestinationName string `json:"destinationName,omitempty"` // Uri: Required. The URI of the app or site to open when the user taps // the suggestion chip. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "DestinationName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DestinationName") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion: The suggestion chip message that allows the user to jump out to the app or website associated with this agent.
func (*GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageListSelect ¶
type GoogleCloudDialogflowV2IntentMessageListSelect struct { // Items: Required. List items. Items []*GoogleCloudDialogflowV2IntentMessageListSelectItem `json:"items,omitempty"` // Subtitle: Optional. Subtitle of the list. Subtitle string `json:"subtitle,omitempty"` // Title: Optional. The overall title of the list. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Items") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Items") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageListSelect: The card for presenting a list of options to select from.
func (*GoogleCloudDialogflowV2IntentMessageListSelect) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageListSelect) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageListSelectItem ¶
type GoogleCloudDialogflowV2IntentMessageListSelectItem struct { // Description: Optional. The main text describing the item. Description string `json:"description,omitempty"` // Image: Optional. The image to display. Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` // Info: Required. Additional information about this option. Info *GoogleCloudDialogflowV2IntentMessageSelectItemInfo `json:"info,omitempty"` // Title: Required. The title of the list item. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageListSelectItem: An item in the list.
func (*GoogleCloudDialogflowV2IntentMessageListSelectItem) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageListSelectItem) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageMediaContent ¶
type GoogleCloudDialogflowV2IntentMessageMediaContent struct { // MediaObjects: Required. List of media objects. MediaObjects []*GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject `json:"mediaObjects,omitempty"` // MediaType: Optional. What type of media is the content (ie "audio"). // // Possible values: // "RESPONSE_MEDIA_TYPE_UNSPECIFIED" - Unspecified. // "AUDIO" - Response media type is audio. MediaType string `json:"mediaType,omitempty"` // ForceSendFields is a list of field names (e.g. "MediaObjects") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MediaObjects") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageMediaContent: The media content card for Actions on Google.
func (*GoogleCloudDialogflowV2IntentMessageMediaContent) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageMediaContent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject ¶
type GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject struct { // ContentUrl: Required. Url where the media is stored. ContentUrl string `json:"contentUrl,omitempty"` // Description: Optional. Description of media card. Description string `json:"description,omitempty"` // Icon: Optional. Icon to display above media content. Icon *GoogleCloudDialogflowV2IntentMessageImage `json:"icon,omitempty"` // LargeImage: Optional. Image to display above media content. LargeImage *GoogleCloudDialogflowV2IntentMessageImage `json:"largeImage,omitempty"` // Name: Required. Name of media card. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "ContentUrl") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContentUrl") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject: Response media object for media content card.
func (*GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageQuickReplies ¶
type GoogleCloudDialogflowV2IntentMessageQuickReplies struct { // QuickReplies: Optional. The collection of quick replies. QuickReplies []string `json:"quickReplies,omitempty"` // Title: Optional. The title of the collection of quick replies. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "QuickReplies") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QuickReplies") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageQuickReplies: The quick replies response message.
func (*GoogleCloudDialogflowV2IntentMessageQuickReplies) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageQuickReplies) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageSelectItemInfo ¶
type GoogleCloudDialogflowV2IntentMessageSelectItemInfo struct { // Key: Required. A unique key that will be sent back to the agent if // this response is given. Key string `json:"key,omitempty"` // Synonyms: Optional. A list of synonyms that can also be used to // trigger this item in dialog. Synonyms []string `json:"synonyms,omitempty"` // ForceSendFields is a list of field names (e.g. "Key") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Key") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageSelectItemInfo: Additional info about the select item for when it is triggered in a dialog.
func (*GoogleCloudDialogflowV2IntentMessageSelectItemInfo) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageSelectItemInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageSimpleResponse ¶
type GoogleCloudDialogflowV2IntentMessageSimpleResponse struct { // DisplayText: Optional. The text to display. DisplayText string `json:"displayText,omitempty"` // Ssml: One of text_to_speech or ssml must be provided. Structured // spoken response to the user in the SSML format. Mutually exclusive // with text_to_speech. Ssml string `json:"ssml,omitempty"` // TextToSpeech: One of text_to_speech or ssml must be provided. The // plain text of the speech output. Mutually exclusive with ssml. TextToSpeech string `json:"textToSpeech,omitempty"` // ForceSendFields is a list of field names (e.g. "DisplayText") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayText") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageSimpleResponse: The simple response message containing speech or text.
func (*GoogleCloudDialogflowV2IntentMessageSimpleResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageSimpleResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageSimpleResponses ¶
type GoogleCloudDialogflowV2IntentMessageSimpleResponses struct { // SimpleResponses: Required. The list of simple responses. SimpleResponses []*GoogleCloudDialogflowV2IntentMessageSimpleResponse `json:"simpleResponses,omitempty"` // ForceSendFields is a list of field names (e.g. "SimpleResponses") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SimpleResponses") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageSimpleResponses: The collection of simple response candidates. This message in `QueryResult.fulfillment_messages` and `WebhookResponse.fulfillment_messages` should contain only one `SimpleResponse`.
func (*GoogleCloudDialogflowV2IntentMessageSimpleResponses) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageSimpleResponses) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageSuggestion ¶
type GoogleCloudDialogflowV2IntentMessageSuggestion struct { // Title: Required. The text shown the in the suggestion chip. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Title") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Title") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageSuggestion: The suggestion chip message that the user can tap to quickly post a reply to the conversation.
func (*GoogleCloudDialogflowV2IntentMessageSuggestion) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageSuggestion) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageSuggestions ¶
type GoogleCloudDialogflowV2IntentMessageSuggestions struct { // Suggestions: Required. The list of suggested replies. Suggestions []*GoogleCloudDialogflowV2IntentMessageSuggestion `json:"suggestions,omitempty"` // ForceSendFields is a list of field names (e.g. "Suggestions") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Suggestions") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageSuggestions: The collection of suggestions.
func (*GoogleCloudDialogflowV2IntentMessageSuggestions) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageSuggestions) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageTableCard ¶
type GoogleCloudDialogflowV2IntentMessageTableCard struct { // Buttons: Optional. List of buttons for the card. Buttons []*GoogleCloudDialogflowV2IntentMessageBasicCardButton `json:"buttons,omitempty"` // ColumnProperties: Optional. Display properties for the columns in // this table. ColumnProperties []*GoogleCloudDialogflowV2IntentMessageColumnProperties `json:"columnProperties,omitempty"` // Image: Optional. Image which should be displayed on the card. Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"` // Rows: Optional. Rows in this table of data. Rows []*GoogleCloudDialogflowV2IntentMessageTableCardRow `json:"rows,omitempty"` // Subtitle: Optional. Subtitle to the title. Subtitle string `json:"subtitle,omitempty"` // Title: Required. Title of the card. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Buttons") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Buttons") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageTableCard: Table card for Actions on Google.
func (*GoogleCloudDialogflowV2IntentMessageTableCard) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageTableCard) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageTableCardCell ¶
type GoogleCloudDialogflowV2IntentMessageTableCardCell struct { // Text: Required. Text in this cell. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "Text") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Text") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageTableCardCell: Cell of TableCardRow.
func (*GoogleCloudDialogflowV2IntentMessageTableCardCell) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageTableCardCell) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageTableCardRow ¶
type GoogleCloudDialogflowV2IntentMessageTableCardRow struct { // Cells: Optional. List of cells that make up this row. Cells []*GoogleCloudDialogflowV2IntentMessageTableCardCell `json:"cells,omitempty"` // DividerAfter: Optional. Whether to add a visual divider after this // row. DividerAfter bool `json:"dividerAfter,omitempty"` // ForceSendFields is a list of field names (e.g. "Cells") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Cells") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageTableCardRow: Row of TableCard.
func (*GoogleCloudDialogflowV2IntentMessageTableCardRow) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageTableCardRow) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageText ¶
type GoogleCloudDialogflowV2IntentMessageText struct { // Text: Optional. The collection of the agent's responses. Text []string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "Text") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Text") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentMessageText: The text response message.
func (*GoogleCloudDialogflowV2IntentMessageText) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentMessageText) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentParameter ¶
type GoogleCloudDialogflowV2IntentParameter struct { // DefaultValue: Optional. The default value to use when the `value` // yields an empty result. Default values can be extracted from contexts // by using the following syntax: `#context_name.parameter_name`. DefaultValue string `json:"defaultValue,omitempty"` // DisplayName: Required. The name of the parameter. DisplayName string `json:"displayName,omitempty"` // EntityTypeDisplayName: Optional. The name of the entity type, // prefixed with `@`, that describes values of the parameter. If the // parameter is required, this must be provided. EntityTypeDisplayName string `json:"entityTypeDisplayName,omitempty"` // IsList: Optional. Indicates whether the parameter represents a list // of values. IsList bool `json:"isList,omitempty"` // Mandatory: Optional. Indicates whether the parameter is required. // That is, whether the intent cannot be completed without collecting // the parameter value. Mandatory bool `json:"mandatory,omitempty"` // Name: The unique identifier of this parameter. Name string `json:"name,omitempty"` // Prompts: Optional. The collection of prompts that the agent can // present to the user in order to collect a value for the parameter. Prompts []string `json:"prompts,omitempty"` // Value: Optional. The definition of the parameter value. It can be: - // a constant string, - a parameter value defined as `$parameter_name`, // - an original parameter value defined as `$parameter_name.original`, // - a parameter value from some context defined as // `#context_name.parameter_name`. Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "DefaultValue") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DefaultValue") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentParameter: Represents intent parameters.
func (*GoogleCloudDialogflowV2IntentParameter) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentParameter) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentTrainingPhrase ¶
type GoogleCloudDialogflowV2IntentTrainingPhrase struct { // Name: Output only. The unique identifier of this training phrase. Name string `json:"name,omitempty"` // Parts: Required. The ordered list of training phrase parts. The parts // are concatenated in order to form the training phrase. Note: The API // does not automatically annotate training phrases like the Dialogflow // Console does. Note: Do not forget to include whitespace at part // boundaries, so the training phrase is well formatted when the parts // are concatenated. If the training phrase does not need to be // annotated with parameters, you just need a single part with only the // Part.text field set. If you want to annotate the training phrase, you // must create multiple parts, where the fields of each part are // populated in one of two ways: - `Part.text` is set to a part of the // phrase that has no parameters. - `Part.text` is set to a part of the // phrase that you want to annotate, and the `entity_type`, `alias`, and // `user_defined` fields are all set. Parts []*GoogleCloudDialogflowV2IntentTrainingPhrasePart `json:"parts,omitempty"` // TimesAddedCount: Optional. Indicates how many times this example was // added to the intent. Each time a developer adds an existing sample by // editing an intent or training, this counter is increased. TimesAddedCount int64 `json:"timesAddedCount,omitempty"` // Type: Required. The type of the training phrase. // // Possible values: // "TYPE_UNSPECIFIED" - Not specified. This value should never be // used. // "EXAMPLE" - Examples do not contain @-prefixed entity type names, // but example parts can be annotated with entity types. // "TEMPLATE" - Templates are not annotated with entity types, but // they can contain @-prefixed entity type names as substrings. Template // mode has been deprecated. Example mode is the only supported way to // create new training phrases. If you have existing training phrases // that you've created in template mode, those will continue to work. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentTrainingPhrase: Represents an example that the agent is trained on.
func (*GoogleCloudDialogflowV2IntentTrainingPhrase) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentTrainingPhrase) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentTrainingPhrasePart ¶
type GoogleCloudDialogflowV2IntentTrainingPhrasePart struct { // Alias: Optional. The parameter name for the value extracted from the // annotated part of the example. This field is required for annotated // parts of the training phrase. Alias string `json:"alias,omitempty"` // EntityType: Optional. The entity type name prefixed with `@`. This // field is required for annotated parts of the training phrase. EntityType string `json:"entityType,omitempty"` // Text: Required. The text for this part. Text string `json:"text,omitempty"` // UserDefined: Optional. Indicates whether the text was manually // annotated. This field is set to true when the Dialogflow Console is // used to manually annotate the part. When creating an annotated part // with the API, you must set this to true. UserDefined bool `json:"userDefined,omitempty"` // ForceSendFields is a list of field names (e.g. "Alias") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Alias") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2IntentTrainingPhrasePart: Represents a part of a training phrase.
func (*GoogleCloudDialogflowV2IntentTrainingPhrasePart) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2IntentTrainingPhrasePart) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2KnowledgeOperationMetadata ¶
type GoogleCloudDialogflowV2KnowledgeOperationMetadata struct { // State: Output only. The current state of this operation. // // Possible values: // "STATE_UNSPECIFIED" - State unspecified. // "PENDING" - The operation has been created. // "RUNNING" - The operation is currently running. // "DONE" - The operation is done, either cancelled or completed. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "State") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "State") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2KnowledgeOperationMetadata: Metadata in google::longrunning::Operation for Knowledge operations.
func (*GoogleCloudDialogflowV2KnowledgeOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2KnowledgeOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2Message ¶
type GoogleCloudDialogflowV2Message struct { // Content: Required. The message content. Content string `json:"content,omitempty"` // CreateTime: Output only. The time when the message was created. CreateTime string `json:"createTime,omitempty"` // LanguageCode: Optional. The message language. This should be a BCP-47 // (https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: // "en-US". LanguageCode string `json:"languageCode,omitempty"` // MessageAnnotation: Output only. The annotation for the message. MessageAnnotation *GoogleCloudDialogflowV2MessageAnnotation `json:"messageAnnotation,omitempty"` // Name: The unique identifier of the message. Format: // `projects//locations//conversations//messages/`. Name string `json:"name,omitempty"` // Participant: Output only. The participant that sends this message. Participant string `json:"participant,omitempty"` // ParticipantRole: Output only. The role of the participant. // // Possible values: // "ROLE_UNSPECIFIED" - Participant role not set. // "HUMAN_AGENT" - Participant is a human agent. // "AUTOMATED_AGENT" - Participant is an automated agent, such as a // Dialogflow agent. // "END_USER" - Participant is an end user that has called or chatted // with Dialogflow services. ParticipantRole string `json:"participantRole,omitempty"` // ForceSendFields is a list of field names (e.g. "Content") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Content") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2Message: Represents a message posted into a conversation.
func (*GoogleCloudDialogflowV2Message) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2Message) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2MessageAnnotation ¶
type GoogleCloudDialogflowV2MessageAnnotation struct { // ContainEntities: Indicates whether the text message contains // entities. ContainEntities bool `json:"containEntities,omitempty"` // Parts: The collection of annotated message parts ordered by their // position in the message. You can recover the annotated message by // concatenating [AnnotatedMessagePart.text]. Parts []*GoogleCloudDialogflowV2AnnotatedMessagePart `json:"parts,omitempty"` // ForceSendFields is a list of field names (e.g. "ContainEntities") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContainEntities") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2MessageAnnotation: Represents the result of annotation for the message.
func (*GoogleCloudDialogflowV2MessageAnnotation) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2MessageAnnotation) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2OriginalDetectIntentRequest ¶
type GoogleCloudDialogflowV2OriginalDetectIntentRequest struct { // Payload: Optional. This field is set to the value of the // `QueryParameters.payload` field passed in the request. Some // integrations that query a Dialogflow agent may provide additional // information in the payload. In particular, for the Dialogflow Phone // Gateway integration, this field has the form: { "telephony": { // "caller_id": "+18558363987" } } Note: The caller ID field // (`caller_id`) will be redacted for Trial Edition agents and populated // with the caller ID in E.164 format // (https://en.wikipedia.org/wiki/E.164) for Essentials Edition agents. Payload googleapi.RawMessage `json:"payload,omitempty"` // Source: The source of this request, e.g., `google`, `facebook`, // `slack`. It is set by Dialogflow-owned servers. Source string `json:"source,omitempty"` // Version: Optional. The version of the protocol used for this request. // This field is AoG-specific. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Payload") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Payload") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2OriginalDetectIntentRequest: Represents the contents of the original request that was passed to the `[Streaming]DetectIntent` call.
func (*GoogleCloudDialogflowV2OriginalDetectIntentRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2OriginalDetectIntentRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2QueryResult ¶
type GoogleCloudDialogflowV2QueryResult struct { // Action: The action name from the matched intent. Action string `json:"action,omitempty"` // AllRequiredParamsPresent: This field is set to: - `false` if the // matched intent has required parameters and not all of the required // parameter values have been collected. - `true` if all required // parameter values have been collected, or if the matched intent // doesn't contain any required parameters. AllRequiredParamsPresent bool `json:"allRequiredParamsPresent,omitempty"` // CancelsSlotFilling: Indicates whether the conversational query // triggers a cancellation for slot filling. CancelsSlotFilling bool `json:"cancelsSlotFilling,omitempty"` // DiagnosticInfo: Free-form diagnostic information for the associated // detect intent request. The fields of this data can change without // notice, so you should not write code that depends on its structure. // The data may contain: - webhook call latency - webhook errors DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` // FulfillmentMessages: The collection of rich messages to present to // the user. FulfillmentMessages []*GoogleCloudDialogflowV2IntentMessage `json:"fulfillmentMessages,omitempty"` // FulfillmentText: The text to be pronounced to the user or shown on // the screen. Note: This is a legacy field, `fulfillment_messages` // should be preferred. FulfillmentText string `json:"fulfillmentText,omitempty"` // Intent: The intent that matched the conversational query. Some, not // all fields are filled in this message, including but not limited to: // `name`, `display_name`, `end_interaction` and `is_fallback`. Intent *GoogleCloudDialogflowV2Intent `json:"intent,omitempty"` // IntentDetectionConfidence: The intent detection confidence. Values // range from 0.0 (completely uncertain) to 1.0 (completely certain). // This value is for informational purpose only and is only used to help // match the best intent within the classification threshold. This value // may change for the same end-user expression at any time due to a // model retraining or change in implementation. If there are `multiple // knowledge_answers` messages, this value is set to the greatest // `knowledgeAnswers.match_confidence` value in the list. IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` // LanguageCode: The language that was triggered during intent // detection. See Language Support // (https://cloud.google.com/dialogflow/docs/reference/language) for a // list of the currently supported language codes. LanguageCode string `json:"languageCode,omitempty"` // OutputContexts: The collection of output contexts. If applicable, // `output_contexts.parameters` contains entries with name `.original` // containing the original parameter values before the query. OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` // Parameters: The collection of extracted parameters. Depending on your // protocol or client library language, this is a map, associative // array, symbol table, dictionary, or JSON object composed of a // collection of (MapKey, MapValue) pairs: - MapKey type: string - // MapKey value: parameter name - MapValue type: - If parameter's entity // type is a composite entity: map - Else: depending on parameter value // type, could be one of string, number, boolean, null, list or map - // MapValue value: - If parameter's entity type is a composite entity: // map from composite entity property names to property values - Else: // parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // QueryText: The original conversational query text: - If natural // language text was provided as input, `query_text` contains a copy of // the input. - If natural language speech audio was provided as input, // `query_text` contains the speech recognition result. If speech // recognizer produced multiple alternatives, a particular one is // picked. - If automatic spell correction is enabled, `query_text` will // contain the corrected user input. QueryText string `json:"queryText,omitempty"` // SentimentAnalysisResult: The sentiment analysis result, which depends // on the `sentiment_analysis_request_config` specified in the request. SentimentAnalysisResult *GoogleCloudDialogflowV2SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` // SpeechRecognitionConfidence: The Speech recognition confidence // between 0.0 and 1.0. A higher number indicates an estimated greater // likelihood that the recognized words are correct. The default of 0.0 // is a sentinel value indicating that confidence was not set. This // field is not guaranteed to be accurate or set. In particular this // field isn't set for StreamingDetectIntent since the streaming // endpoint has separate confidence estimates per portion of the audio // in StreamingRecognitionResult. SpeechRecognitionConfidence float64 `json:"speechRecognitionConfidence,omitempty"` // WebhookPayload: If the query was fulfilled by a webhook call, this // field is set to the value of the `payload` field returned in the // webhook response. WebhookPayload googleapi.RawMessage `json:"webhookPayload,omitempty"` // WebhookSource: If the query was fulfilled by a webhook call, this // field is set to the value of the `source` field returned in the // webhook response. WebhookSource string `json:"webhookSource,omitempty"` // ForceSendFields is a list of field names (e.g. "Action") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Action") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2QueryResult: Represents the result of conversational query or event processing.
func (*GoogleCloudDialogflowV2QueryResult) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2QueryResult) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2QueryResult) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowV2QueryResult) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2Sentiment ¶
type GoogleCloudDialogflowV2Sentiment struct { // Magnitude: A non-negative number in the [0, +inf) range, which // represents the absolute magnitude of sentiment, regardless of score // (positive or negative). Magnitude float64 `json:"magnitude,omitempty"` // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 // (positive sentiment). Score float64 `json:"score,omitempty"` // ForceSendFields is a list of field names (e.g. "Magnitude") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Magnitude") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2Sentiment: The sentiment, such as positive/negative feeling or association, for a unit of analysis, such as the query text.
func (*GoogleCloudDialogflowV2Sentiment) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2Sentiment) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2Sentiment) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowV2Sentiment) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2SentimentAnalysisResult ¶
type GoogleCloudDialogflowV2SentimentAnalysisResult struct { // QueryTextSentiment: The sentiment analysis result for `query_text`. QueryTextSentiment *GoogleCloudDialogflowV2Sentiment `json:"queryTextSentiment,omitempty"` // ForceSendFields is a list of field names (e.g. "QueryTextSentiment") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QueryTextSentiment") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2SentimentAnalysisResult: The result of sentiment analysis. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral. For Participants.DetectIntent, it needs to be configured in DetectIntentRequest.query_params. For Participants.StreamingDetectIntent, it needs to be configured in StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs to be configured in ConversationProfile.human_agent_assistant_config
func (*GoogleCloudDialogflowV2SentimentAnalysisResult) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2SentimentAnalysisResult) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2SessionEntityType ¶
type GoogleCloudDialogflowV2SessionEntityType struct { // Entities: Required. The collection of entities associated with this // session entity type. Entities []*GoogleCloudDialogflowV2EntityTypeEntity `json:"entities,omitempty"` // EntityOverrideMode: Required. Indicates whether the additional data // should override or supplement the custom entity type definition. // // Possible values: // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value // should be never used. // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session // entities overrides the collection of entities in the corresponding // custom entity type. // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session // entities extends the collection of entities in the corresponding // custom entity type. Note: Even in this override mode calls to // `ListSessionEntityTypes`, `GetSessionEntityType`, // `CreateSessionEntityType` and `UpdateSessionEntityType` only return // the additional entities added in this session entity type. If you // want to get the supplemented list, please call // EntityTypes.GetEntityType on the custom entity type and merge. EntityOverrideMode string `json:"entityOverrideMode,omitempty"` // Name: Required. The unique identifier of this session entity type. // Format: `projects//agent/sessions//entityTypes/`, or // `projects//agent/environments//users//sessions//entityTypes/`. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. “ must be the display name of an existing entity type in the // same agent that will be overridden or supplemented. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Entities") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Entities") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2SessionEntityType: A session represents a conversation between a Dialogflow agent and an end-user. You can create special entities, called session entities, during a session. Session entities can extend or replace custom entity types and only exist during the session that they were created for. All session data, including session entities, is stored by Dialogflow for 20 minutes. For more information, see the session entity guide (https://cloud.google.com/dialogflow/docs/entities-session).
func (*GoogleCloudDialogflowV2SessionEntityType) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2SessionEntityType) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2SuggestArticlesResponse ¶
type GoogleCloudDialogflowV2SuggestArticlesResponse struct { // ArticleAnswers: Articles ordered by score in descending order. ArticleAnswers []*GoogleCloudDialogflowV2ArticleAnswer `json:"articleAnswers,omitempty"` // ContextSize: Number of messages prior to and including latest_message // to compile the suggestion. It may be smaller than the // SuggestArticlesRequest.context_size field in the request if there // aren't that many messages in the conversation. ContextSize int64 `json:"contextSize,omitempty"` // LatestMessage: The name of the latest conversation message used to // compile suggestion for. Format: // `projects//locations//conversations//messages/`. LatestMessage string `json:"latestMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "ArticleAnswers") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ArticleAnswers") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2SuggestArticlesResponse: The response message for Participants.SuggestArticles.
func (*GoogleCloudDialogflowV2SuggestArticlesResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2SuggestArticlesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2SuggestFaqAnswersResponse ¶
type GoogleCloudDialogflowV2SuggestFaqAnswersResponse struct { // ContextSize: Number of messages prior to and including latest_message // to compile the suggestion. It may be smaller than the // SuggestFaqAnswersRequest.context_size field in the request if there // aren't that many messages in the conversation. ContextSize int64 `json:"contextSize,omitempty"` // FaqAnswers: Answers extracted from FAQ documents. FaqAnswers []*GoogleCloudDialogflowV2FaqAnswer `json:"faqAnswers,omitempty"` // LatestMessage: The name of the latest conversation message used to // compile suggestion for. Format: // `projects//locations//conversations//messages/`. LatestMessage string `json:"latestMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "ContextSize") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContextSize") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2SuggestFaqAnswersResponse: The request message for Participants.SuggestFaqAnswers.
func (*GoogleCloudDialogflowV2SuggestFaqAnswersResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2SuggestFaqAnswersResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2SuggestionResult ¶
type GoogleCloudDialogflowV2SuggestionResult struct { // Error: Error status if the request failed. Error *GoogleRpcStatus `json:"error,omitempty"` // SuggestArticlesResponse: SuggestArticlesResponse if request is for // ARTICLE_SUGGESTION. SuggestArticlesResponse *GoogleCloudDialogflowV2SuggestArticlesResponse `json:"suggestArticlesResponse,omitempty"` // SuggestFaqAnswersResponse: SuggestFaqAnswersResponse if request is // for FAQ_ANSWER. SuggestFaqAnswersResponse *GoogleCloudDialogflowV2SuggestFaqAnswersResponse `json:"suggestFaqAnswersResponse,omitempty"` // ForceSendFields is a list of field names (e.g. "Error") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Error") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2SuggestionResult: One response of different type of suggestion response which is used in the response of Participants.AnalyzeContent and Participants.AnalyzeContent, as well as HumanAgentAssistantEvent.
func (*GoogleCloudDialogflowV2SuggestionResult) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2SuggestionResult) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2WebhookRequest ¶
type GoogleCloudDialogflowV2WebhookRequest struct { // OriginalDetectIntentRequest: Optional. The contents of the original // request that was passed to `[Streaming]DetectIntent` call. OriginalDetectIntentRequest *GoogleCloudDialogflowV2OriginalDetectIntentRequest `json:"originalDetectIntentRequest,omitempty"` // QueryResult: The result of the conversational query or event // processing. Contains the same value as // `[Streaming]DetectIntentResponse.query_result`. QueryResult *GoogleCloudDialogflowV2QueryResult `json:"queryResult,omitempty"` // ResponseId: The unique identifier of the response. Contains the same // value as `[Streaming]DetectIntentResponse.response_id`. ResponseId string `json:"responseId,omitempty"` // Session: The unique identifier of detectIntent request session. Can // be used to identify end-user inside webhook implementation. Format: // `projects//agent/sessions/`, or // `projects//agent/environments//users//sessions/`. Session string `json:"session,omitempty"` // ForceSendFields is a list of field names (e.g. // "OriginalDetectIntentRequest") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "OriginalDetectIntentRequest") to include in API requests with the // JSON null value. By default, fields with empty values are omitted // from API requests. However, any field with an empty value appearing // in NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2WebhookRequest: The request message for a webhook call.
func (*GoogleCloudDialogflowV2WebhookRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2WebhookRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2WebhookResponse ¶
type GoogleCloudDialogflowV2WebhookResponse struct { // FollowupEventInput: Optional. Invokes the supplied events. When this // field is set, Dialogflow ignores the `fulfillment_text`, // `fulfillment_messages`, and `payload` fields. FollowupEventInput *GoogleCloudDialogflowV2EventInput `json:"followupEventInput,omitempty"` // FulfillmentMessages: Optional. The rich response messages intended // for the end-user. When provided, Dialogflow uses this field to // populate QueryResult.fulfillment_messages sent to the integration or // API caller. FulfillmentMessages []*GoogleCloudDialogflowV2IntentMessage `json:"fulfillmentMessages,omitempty"` // FulfillmentText: Optional. The text response message intended for the // end-user. It is recommended to use // `fulfillment_messages.text.text[0]` instead. When provided, // Dialogflow uses this field to populate QueryResult.fulfillment_text // sent to the integration or API caller. FulfillmentText string `json:"fulfillmentText,omitempty"` // OutputContexts: Optional. The collection of output contexts that will // overwrite currently active contexts for the session and reset their // lifespans. When provided, Dialogflow uses this field to populate // QueryResult.output_contexts sent to the integration or API caller. OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"` // Payload: Optional. This field can be used to pass custom data from // your webhook to the integration or API caller. Arbitrary JSON objects // are supported. When provided, Dialogflow uses this field to populate // QueryResult.webhook_payload sent to the integration or API caller. // This field is also used by the Google Assistant integration // (https://cloud.google.com/dialogflow/docs/integrations/aog) for rich // response messages. See the format definition at Google Assistant // Dialogflow webhook format // (https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json) Payload googleapi.RawMessage `json:"payload,omitempty"` // SessionEntityTypes: Optional. Additional session entity types to // replace or extend developer entity types with. The entity synonyms // apply to all languages and persist for the session. Setting this data // from a webhook overwrites the session entity types that have been set // using `detectIntent`, `streamingDetectIntent` or SessionEntityType // management methods. SessionEntityTypes []*GoogleCloudDialogflowV2SessionEntityType `json:"sessionEntityTypes,omitempty"` // Source: Optional. A custom field used to identify the webhook source. // Arbitrary strings are supported. When provided, Dialogflow uses this // field to populate QueryResult.webhook_source sent to the integration // or API caller. Source string `json:"source,omitempty"` // ForceSendFields is a list of field names (e.g. "FollowupEventInput") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FollowupEventInput") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2WebhookResponse: The response message for a webhook call. This response is validated by the Dialogflow server. If validation fails, an error will be returned in the QueryResult.diagnostic_info field. Setting JSON fields to an empty value with the wrong type is a common error. To avoid this error: - Use "" for empty strings - Use `{}` or `null` for empty objects - Use `[]` or `null` for empty arrays For more information, see the Protocol Buffers Language Guide (https://developers.google.com/protocol-buffers/docs/proto3#json).
func (*GoogleCloudDialogflowV2WebhookResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2WebhookResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1AnnotatedMessagePart ¶
type GoogleCloudDialogflowV2beta1AnnotatedMessagePart struct { // EntityType: Optional. The Dialogflow system entity type // (https://cloud.google.com/dialogflow/docs/reference/system-entities) // of this message part. If this is empty, Dialogflow could not annotate // the phrase part with a system entity. EntityType string `json:"entityType,omitempty"` // FormattedValue: Optional. The Dialogflow system entity formatted // value // (https://cloud.google.com/dialogflow/docs/reference/system-entities) // of this message part. For example for a system entity of type // `@sys.unit-currency`, this may contain: { "amount": 5, "currency": // "USD" } FormattedValue interface{} `json:"formattedValue,omitempty"` // Text: Required. A part of a message possibly annotated with an // entity. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "EntityType") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntityType") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1AnnotatedMessagePart: Represents a part of a message possibly annotated with an entity. The part can be an entity or purely a part of the message between two entities or message start/end.
func (*GoogleCloudDialogflowV2beta1AnnotatedMessagePart) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1AnnotatedMessagePart) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ArticleAnswer ¶
type GoogleCloudDialogflowV2beta1ArticleAnswer struct { // AnswerRecord: The name of answer record, in the format of // "projects//locations//answerRecords/" AnswerRecord string `json:"answerRecord,omitempty"` // Metadata: A map that contains metadata about the answer and the // document from which it originates. Metadata map[string]string `json:"metadata,omitempty"` // Snippets: Output only. Article snippets. Snippets []string `json:"snippets,omitempty"` // Title: The article title. Title string `json:"title,omitempty"` // Uri: The article URI. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "AnswerRecord") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnswerRecord") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1ArticleAnswer: Represents article answer.
func (*GoogleCloudDialogflowV2beta1ArticleAnswer) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1ArticleAnswer) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse ¶
type GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse struct { // EntityTypes: The collection of updated or created entity types. EntityTypes []*GoogleCloudDialogflowV2beta1EntityType `json:"entityTypes,omitempty"` // ForceSendFields is a list of field names (e.g. "EntityTypes") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntityTypes") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse: The response message for EntityTypes.BatchUpdateEntityTypes.
func (*GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse ¶
type GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse struct { // Intents: The collection of updated or created intents. Intents []*GoogleCloudDialogflowV2beta1Intent `json:"intents,omitempty"` // ForceSendFields is a list of field names (e.g. "Intents") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Intents") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse: The response message for Intents.BatchUpdateIntents.
func (*GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1Context ¶
type GoogleCloudDialogflowV2beta1Context struct { // LifespanCount: Optional. The number of conversational query requests // after which the context expires. The default is `0`. If set to `0`, // the context expires immediately. Contexts expire automatically after // 20 minutes if there are no matching queries. LifespanCount int64 `json:"lifespanCount,omitempty"` // Name: Required. The unique identifier of the context. Supported // formats: - `projects//agent/sessions//contexts/`, - // `projects//locations//agent/sessions//contexts/`, - // `projects//agent/environments//users//sessions//contexts/`, - // `projects//locations//agent/environments//users//sessions//contexts/`, // The `Context ID` is always converted to lowercase, may only contain // characters in a-zA-Z0-9_-% and may be at most 250 bytes long. If // `Environment ID` is not specified, we assume default 'draft' // environment. If `User ID` is not specified, we assume default '-' // user. The following context names are reserved for internal use by // Dialogflow. You should not use these contexts or create contexts with // these names: * `__system_counters__` * `*_id_dialog_context` * // `*_dialog_params_size` Name string `json:"name,omitempty"` // Parameters: Optional. The collection of parameters associated with // this context. Depending on your protocol or client library language, // this is a map, associative array, symbol table, dictionary, or JSON // object composed of a collection of (MapKey, MapValue) pairs: - MapKey // type: string - MapKey value: parameter name - MapValue type: - If // parameter's entity type is a composite entity: map - Else: depending // on parameter value type, could be one of string, number, boolean, // null, list or map - MapValue value: - If parameter's entity type is a // composite entity: map from composite entity property names to // property values - Else: parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LifespanCount") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LifespanCount") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1Context: Dialogflow contexts are similar to natural language context. If a person says to you "they are orange", you need context in order to understand what "they" is referring to. Similarly, for Dialogflow to handle an end-user expression like that, it needs to be provided with context in order to correctly match an intent. Using contexts, you can control the flow of a conversation. You can configure contexts for an intent by setting input and output contexts, which are identified by string names. When an intent is matched, any configured output contexts for that intent become active. While any contexts are active, Dialogflow is more likely to match intents that are configured with input contexts that correspond to the currently active contexts. For more information about context, see the Contexts guide (https://cloud.google.com/dialogflow/docs/contexts-overview).
func (*GoogleCloudDialogflowV2beta1Context) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1Context) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ConversationEvent ¶
type GoogleCloudDialogflowV2beta1ConversationEvent struct { // Conversation: Required. The unique identifier of the conversation // this notification refers to. Format: `projects//conversations/`. Conversation string `json:"conversation,omitempty"` // ErrorStatus: Optional. More detailed information about an error. Only // set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL. ErrorStatus *GoogleRpcStatus `json:"errorStatus,omitempty"` // NewMessagePayload: Payload of NEW_MESSAGE event. NewMessagePayload *GoogleCloudDialogflowV2beta1Message `json:"newMessagePayload,omitempty"` // Type: Required. The type of the event that this notification refers // to. // // Possible values: // "TYPE_UNSPECIFIED" - Type not set. // "CONVERSATION_STARTED" - A new conversation has been opened. This // is fired when a telephone call is answered, or a conversation is // created via the API. // "CONVERSATION_FINISHED" - An existing conversation has closed. This // is fired when a telephone call is terminated, or a conversation is // closed via the API. // "NEW_MESSAGE" - An existing conversation has received a new // message, either from API or telephony. It is configured in // ConversationProfile.new_message_event_notification_config // "UNRECOVERABLE_ERROR" - Unrecoverable error during a telephone // call. In general non-recoverable errors only occur if something was // misconfigured in the ConversationProfile corresponding to the call. // After a non-recoverable error, Dialogflow may stop responding. We // don't fire this event: * in an API call because we can directly // return the error, or, * when we can recover from an error. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Conversation") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Conversation") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1ConversationEvent: Represents a notification sent to Pub/Sub subscribers for conversation lifecycle events.
func (*GoogleCloudDialogflowV2beta1ConversationEvent) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1ConversationEvent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1EntityType ¶
type GoogleCloudDialogflowV2beta1EntityType struct { // AutoExpansionMode: Optional. Indicates whether the entity type can be // automatically expanded. // // Possible values: // "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the // entity. // "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values // that have not been explicitly listed in the entity. AutoExpansionMode string `json:"autoExpansionMode,omitempty"` // DisplayName: Required. The name of the entity type. DisplayName string `json:"displayName,omitempty"` // EnableFuzzyExtraction: Optional. Enables fuzzy entity extraction // during classification. EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"` // Entities: Optional. The collection of entity entries associated with // the entity type. Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"` // Kind: Required. Indicates the kind of entity type. // // Possible values: // "KIND_UNSPECIFIED" - Not specified. This value should be never // used. // "KIND_MAP" - Map entity types allow mapping of a group of synonyms // to a reference value. // "KIND_LIST" - List entity types contain a set of entries that do // not map to reference values. However, list entity types can contain // references to other entity types (with or without aliases). // "KIND_REGEXP" - Regexp entity types allow to specify regular // expressions in entries values. Kind string `json:"kind,omitempty"` // Name: The unique identifier of the entity type. Required for // EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes // methods. Supported formats: - `projects//agent/entityTypes/` - // `projects//locations//agent/entityTypes/` Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "AutoExpansionMode") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AutoExpansionMode") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1EntityType: Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the Entity guide (https://cloud.google.com/dialogflow/docs/entities-overview).
func (*GoogleCloudDialogflowV2beta1EntityType) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1EntityType) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1EntityTypeEntity ¶
type GoogleCloudDialogflowV2beta1EntityTypeEntity struct { // Synonyms: Required. A collection of value synonyms. For example, if // the entity type is *vegetable*, and `value` is *scallions*, a synonym // could be *green onions*. For `KIND_LIST` entity types: * This // collection must contain exactly one synonym equal to `value`. Synonyms []string `json:"synonyms,omitempty"` // Value: Required. The primary value associated with this entity entry. // For example, if the entity type is *vegetable*, the value could be // *scallions*. For `KIND_MAP` entity types: * A reference value to be // used in place of synonyms. For `KIND_LIST` entity types: * A string // that can contain references to other entity types (with or without // aliases). Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Synonyms") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Synonyms") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1EntityTypeEntity: An **entity entry** for an associated entity type.
func (*GoogleCloudDialogflowV2beta1EntityTypeEntity) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1EntityTypeEntity) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1EventInput ¶
type GoogleCloudDialogflowV2beta1EventInput struct { // LanguageCode: Required. The language of this query. See Language // Support (https://cloud.google.com/dialogflow/docs/reference/language) // for a list of the currently supported language codes. Note that // queries in the same session do not necessarily need to specify the // same language. LanguageCode string `json:"languageCode,omitempty"` // Name: Required. The unique identifier of the event. Name string `json:"name,omitempty"` // Parameters: The collection of parameters associated with the event. // Depending on your protocol or client library language, this is a map, // associative array, symbol table, dictionary, or JSON object composed // of a collection of (MapKey, MapValue) pairs: - MapKey type: string - // MapKey value: parameter name - MapValue type: - If parameter's entity // type is a composite entity: map - Else: depending on parameter value // type, could be one of string, number, boolean, null, list or map - // MapValue value: - If parameter's entity type is a composite entity: // map from composite entity property names to property values - Else: // parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LanguageCode") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1EventInput: Events allow for matching intents by event name instead of the natural language input. For instance, input “ can trigger a personalized welcome response. The parameter `name` may be used by the agent in the response: "Hello #welcome_event.name! What can I do for you today?".
func (*GoogleCloudDialogflowV2beta1EventInput) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1EventInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ExportAgentResponse ¶
type GoogleCloudDialogflowV2beta1ExportAgentResponse struct { // AgentContent: Zip compressed raw byte content for agent. AgentContent string `json:"agentContent,omitempty"` // AgentUri: The URI to a file containing the exported agent. This field // is populated only if `agent_uri` is specified in // `ExportAgentRequest`. AgentUri string `json:"agentUri,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AgentContent") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1ExportAgentResponse: The response message for Agents.ExportAgent.
func (*GoogleCloudDialogflowV2beta1ExportAgentResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1ExportAgentResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1FaqAnswer ¶
type GoogleCloudDialogflowV2beta1FaqAnswer struct { // Answer: The piece of text from the `source` knowledge base document. Answer string `json:"answer,omitempty"` // AnswerRecord: The name of answer record, in the format of // "projects//locations//answerRecords/" AnswerRecord string `json:"answerRecord,omitempty"` // Confidence: The system's confidence score that this Knowledge answer // is a good match for this conversational query, range from 0.0 // (completely uncertain) to 1.0 (completely certain). Confidence float64 `json:"confidence,omitempty"` // Metadata: A map that contains metadata about the answer and the // document from which it originates. Metadata map[string]string `json:"metadata,omitempty"` // Question: The corresponding FAQ question. Question string `json:"question,omitempty"` // Source: Indicates which Knowledge Document this answer was extracted // from. Format: // `projects//locations//agent/knowledgeBases//documents/`. Source string `json:"source,omitempty"` // ForceSendFields is a list of field names (e.g. "Answer") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Answer") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1FaqAnswer: Represents answer from "frequently asked questions".
func (*GoogleCloudDialogflowV2beta1FaqAnswer) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1FaqAnswer) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2beta1FaqAnswer) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1FaqAnswer) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent ¶
type GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent struct { // Conversation: The conversation this notification refers to. Format: // `projects//conversations/`. Conversation string `json:"conversation,omitempty"` // Participant: The participant that the suggestion is compiled for. And // This field is used to call Participants.ListSuggestions API. Format: // `projects//conversations//participants/`. It will not be set in // legacy workflow. HumanAgentAssistantConfig.name for more information. Participant string `json:"participant,omitempty"` // SuggestionResults: The suggestion results payload that this // notification refers to. It will only be set when // HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses // sets to true. SuggestionResults []*GoogleCloudDialogflowV2beta1SuggestionResult `json:"suggestionResults,omitempty"` // ForceSendFields is a list of field names (e.g. "Conversation") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Conversation") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent: Output only. Represents a notification sent to Pub/Sub subscribers for agent assistant events in a specific conversation.
func (*GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ImportDocumentsResponse ¶
type GoogleCloudDialogflowV2beta1ImportDocumentsResponse struct { // Warnings: Includes details about skipped documents or any other // warnings. Warnings []*GoogleRpcStatus `json:"warnings,omitempty"` // ForceSendFields is a list of field names (e.g. "Warnings") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Warnings") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1ImportDocumentsResponse: Response message for Documents.ImportDocuments.
func (*GoogleCloudDialogflowV2beta1ImportDocumentsResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1ImportDocumentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1Intent ¶
type GoogleCloudDialogflowV2beta1Intent struct { // Action: Optional. The name of the action associated with the intent. // Note: The action name must not contain whitespaces. Action string `json:"action,omitempty"` // DefaultResponsePlatforms: Optional. The list of platforms for which // the first responses will be copied from the messages in // PLATFORM_UNSPECIFIED (i.e. default platform). // // Possible values: // "PLATFORM_UNSPECIFIED" - Not specified. // "FACEBOOK" - Facebook. // "SLACK" - Slack. // "TELEGRAM" - Telegram. // "KIK" - Kik. // "SKYPE" - Skype. // "LINE" - Line. // "VIBER" - Viber. // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook // format](https://developers.google.com/assistant/actions/build/json/dia // logflow-webhook-json) // "TELEPHONY" - Telephony Gateway. // "GOOGLE_HANGOUTS" - Google Hangouts. DefaultResponsePlatforms []string `json:"defaultResponsePlatforms,omitempty"` // DisplayName: Required. The name of this intent. DisplayName string `json:"displayName,omitempty"` // EndInteraction: Optional. Indicates that this intent ends an // interaction. Some integrations (e.g., Actions on Google or Dialogflow // phone gateway) use this information to close interaction with an end // user. Default is false. EndInteraction bool `json:"endInteraction,omitempty"` // Events: Optional. The collection of event names that trigger the // intent. If the collection of input contexts is not empty, all of the // contexts must be present in the active user session for an event to // trigger this intent. Event names are limited to 150 characters. Events []string `json:"events,omitempty"` // FollowupIntentInfo: Output only. Information about all followup // intents that have this intent as a direct or indirect parent. We // populate this field only in the output. FollowupIntentInfo []*GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo `json:"followupIntentInfo,omitempty"` // InputContextNames: Optional. The list of context names required for // this intent to be triggered. Formats: - // `projects//agent/sessions/-/contexts/` - // `projects//locations//agent/sessions/-/contexts/` InputContextNames []string `json:"inputContextNames,omitempty"` // IsFallback: Optional. Indicates whether this is a fallback intent. IsFallback bool `json:"isFallback,omitempty"` // LiveAgentHandoff: Optional. Indicates that a live agent should be // brought in to handle the interaction with the user. In most cases, // when you set this flag to true, you would also want to set // end_interaction to true as well. Default is false. LiveAgentHandoff bool `json:"liveAgentHandoff,omitempty"` // Messages: Optional. The collection of rich messages corresponding to // the `Response` field in the Dialogflow console. Messages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"messages,omitempty"` // MlDisabled: Optional. Indicates whether Machine Learning is disabled // for the intent. Note: If `ml_disabled` setting is set to true, then // this intent is not taken into account during inference in `ML ONLY` // match mode. Also, auto-markup in the UI is turned off. MlDisabled bool `json:"mlDisabled,omitempty"` // MlEnabled: Optional. Indicates whether Machine Learning is enabled // for the intent. Note: If `ml_enabled` setting is set to false, then // this intent is not taken into account during inference in `ML ONLY` // match mode. Also, auto-markup in the UI is turned off. DEPRECATED! // Please use `ml_disabled` field instead. NOTE: If both `ml_enabled` // and `ml_disabled` are either not set or false, then the default value // is determined as follows: - Before April 15th, 2018 the default is: // ml_enabled = false / ml_disabled = true. - After April 15th, 2018 the // default is: ml_enabled = true / ml_disabled = false. MlEnabled bool `json:"mlEnabled,omitempty"` // Name: Optional. The unique identifier of this intent. Required for // Intents.UpdateIntent and Intents.BatchUpdateIntents methods. // Supported formats: - `projects//agent/intents/` - // `projects//locations//agent/intents/` Name string `json:"name,omitempty"` // OutputContexts: Optional. The collection of contexts that are // activated when the intent is matched. Context messages in this // collection should not set the parameters field. Setting the // `lifespan_count` to 0 will reset the context when the intent is // matched. Format: `projects//agent/sessions/-/contexts/`. OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` // Parameters: Optional. The collection of parameters associated with // the intent. Parameters []*GoogleCloudDialogflowV2beta1IntentParameter `json:"parameters,omitempty"` // ParentFollowupIntentName: Optional. The unique identifier of the // parent intent in the chain of followup intents. You can set this // field when creating an intent, for example with CreateIntent or // BatchUpdateIntents, in order to make this intent a followup intent. // It identifies the parent followup intent. Format: // `projects//agent/intents/`. ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` // Priority: Optional. The priority of this intent. Higher numbers // represent higher priorities. - If the supplied value is unspecified // or 0, the service translates the value to 500,000, which corresponds // to the `Normal` priority in the console. - If the supplied value is // negative, the intent is ignored in runtime detect intent requests. Priority int64 `json:"priority,omitempty"` // ResetContexts: Optional. Indicates whether to delete all contexts in // the current session when this intent is matched. ResetContexts bool `json:"resetContexts,omitempty"` // RootFollowupIntentName: Output only. The unique identifier of the // root intent in the chain of followup intents. It identifies the // correct followup intents chain for this intent. Format: // `projects//agent/intents/`. RootFollowupIntentName string `json:"rootFollowupIntentName,omitempty"` // TrainingPhrases: Optional. The collection of examples that the agent // is trained on. TrainingPhrases []*GoogleCloudDialogflowV2beta1IntentTrainingPhrase `json:"trainingPhrases,omitempty"` // WebhookState: Optional. Indicates whether webhooks are enabled for // the intent. // // Possible values: // "WEBHOOK_STATE_UNSPECIFIED" - Webhook is disabled in the agent and // in the intent. // "WEBHOOK_STATE_ENABLED" - Webhook is enabled in the agent and in // the intent. // "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" - Webhook is enabled in // the agent and in the intent. Also, each slot filling prompt is // forwarded to the webhook. WebhookState string `json:"webhookState,omitempty"` // ForceSendFields is a list of field names (e.g. "Action") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Action") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1Intent: An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the intent guide (https://cloud.google.com/dialogflow/docs/intents-overview).
func (*GoogleCloudDialogflowV2beta1Intent) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1Intent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo ¶
type GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo struct { // FollowupIntentName: The unique identifier of the followup intent. // Format: `projects//agent/intents/`. FollowupIntentName string `json:"followupIntentName,omitempty"` // ParentFollowupIntentName: The unique identifier of the followup // intent's parent. Format: `projects//agent/intents/`. ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"` // ForceSendFields is a list of field names (e.g. "FollowupIntentName") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FollowupIntentName") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo: Represents a single followup intent in the chain.
func (*GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessage ¶
type GoogleCloudDialogflowV2beta1IntentMessage struct { // BasicCard: Displays a basic card for Actions on Google. BasicCard *GoogleCloudDialogflowV2beta1IntentMessageBasicCard `json:"basicCard,omitempty"` // BrowseCarouselCard: Browse carousel card for Actions on Google. BrowseCarouselCard *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard `json:"browseCarouselCard,omitempty"` // Card: Displays a card. Card *GoogleCloudDialogflowV2beta1IntentMessageCard `json:"card,omitempty"` // CarouselSelect: Displays a carousel card for Actions on Google. CarouselSelect *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect `json:"carouselSelect,omitempty"` // Image: Displays an image. Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` // LinkOutSuggestion: Displays a link out suggestion chip for Actions on // Google. LinkOutSuggestion *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion `json:"linkOutSuggestion,omitempty"` // ListSelect: Displays a list card for Actions on Google. ListSelect *GoogleCloudDialogflowV2beta1IntentMessageListSelect `json:"listSelect,omitempty"` // MediaContent: The media content card for Actions on Google. MediaContent *GoogleCloudDialogflowV2beta1IntentMessageMediaContent `json:"mediaContent,omitempty"` // Payload: A custom platform-specific response. Payload googleapi.RawMessage `json:"payload,omitempty"` // Platform: Optional. The platform that this message is intended for. // // Possible values: // "PLATFORM_UNSPECIFIED" - Not specified. // "FACEBOOK" - Facebook. // "SLACK" - Slack. // "TELEGRAM" - Telegram. // "KIK" - Kik. // "SKYPE" - Skype. // "LINE" - Line. // "VIBER" - Viber. // "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook // format](https://developers.google.com/assistant/actions/build/json/dia // logflow-webhook-json) // "TELEPHONY" - Telephony Gateway. // "GOOGLE_HANGOUTS" - Google Hangouts. Platform string `json:"platform,omitempty"` // QuickReplies: Displays quick replies. QuickReplies *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies `json:"quickReplies,omitempty"` // RbmCarouselRichCard: Rich Business Messaging (RBM) carousel rich card // response. RbmCarouselRichCard *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard `json:"rbmCarouselRichCard,omitempty"` // RbmStandaloneRichCard: Standalone Rich Business Messaging (RBM) rich // card response. RbmStandaloneRichCard *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard `json:"rbmStandaloneRichCard,omitempty"` // RbmText: Rich Business Messaging (RBM) text response. RBM allows // businesses to send enriched and branded versions of SMS. See // https://jibe.google.com/business-messaging. RbmText *GoogleCloudDialogflowV2beta1IntentMessageRbmText `json:"rbmText,omitempty"` // SimpleResponses: Returns a voice or text-only response for Actions on // Google. SimpleResponses *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses `json:"simpleResponses,omitempty"` // Suggestions: Displays suggestion chips for Actions on Google. Suggestions *GoogleCloudDialogflowV2beta1IntentMessageSuggestions `json:"suggestions,omitempty"` // TableCard: Table card for Actions on Google. TableCard *GoogleCloudDialogflowV2beta1IntentMessageTableCard `json:"tableCard,omitempty"` // TelephonyPlayAudio: Plays audio from a file in Telephony Gateway. TelephonyPlayAudio *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio `json:"telephonyPlayAudio,omitempty"` // TelephonySynthesizeSpeech: Synthesizes speech in Telephony Gateway. TelephonySynthesizeSpeech *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech `json:"telephonySynthesizeSpeech,omitempty"` // TelephonyTransferCall: Transfers the call in Telephony Gateway. TelephonyTransferCall *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall `json:"telephonyTransferCall,omitempty"` // Text: Returns a text response. Text *GoogleCloudDialogflowV2beta1IntentMessageText `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "BasicCard") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BasicCard") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessage: Corresponds to the `Response` field in the Dialogflow console.
func (*GoogleCloudDialogflowV2beta1IntentMessage) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessage) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageBasicCard ¶
type GoogleCloudDialogflowV2beta1IntentMessageBasicCard struct { // Buttons: Optional. The collection of card buttons. Buttons []*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton `json:"buttons,omitempty"` // FormattedText: Required, unless image is present. The body text of // the card. FormattedText string `json:"formattedText,omitempty"` // Image: Optional. The image for the card. Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` // Subtitle: Optional. The subtitle of the card. Subtitle string `json:"subtitle,omitempty"` // Title: Optional. The title of the card. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Buttons") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Buttons") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageBasicCard: The basic card message. Useful for displaying information.
func (*GoogleCloudDialogflowV2beta1IntentMessageBasicCard) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCard) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton ¶
type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton struct { // OpenUriAction: Required. Action to take when a user taps on the // button. OpenUriAction *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction `json:"openUriAction,omitempty"` // Title: Required. The title of the button. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "OpenUriAction") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OpenUriAction") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton: The button object that appears at the bottom of a card.
func (*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction ¶
type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction struct { // Uri: Required. The HTTP or HTTPS scheme URI. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "Uri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Uri") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction:
Opens the given URI.
func (*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard ¶
type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard struct { // ImageDisplayOptions: Optional. Settings for displaying the image. // Applies to every image in items. // // Possible values: // "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED" - Fill the gaps between the // image and the image container with gray bars. // "GRAY" - Fill the gaps between the image and the image container // with gray bars. // "WHITE" - Fill the gaps between the image and the image container // with white bars. // "CROPPED" - Image is scaled such that the image width and height // match or exceed the container dimensions. This may crop the top and // bottom of the image if the scaled image height is greater than the // container height, or crop the left and right of the image if the // scaled image width is greater than the container width. This is // similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video. // "BLURRED_BACKGROUND" - Pad the gaps between image and image frame // with a blurred copy of the same image. ImageDisplayOptions string `json:"imageDisplayOptions,omitempty"` // Items: Required. List of items in the Browse Carousel Card. Minimum // of two items, maximum of ten. Items []*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem `json:"items,omitempty"` // ForceSendFields is a list of field names (e.g. "ImageDisplayOptions") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ImageDisplayOptions") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard: Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel
func (*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem ¶
type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem struct { // Description: Optional. Description of the carousel item. Maximum of // four lines of text. Description string `json:"description,omitempty"` // Carousel Card. Maximum of one line of text. Footer string `json:"footer,omitempty"` // Image: Optional. Hero image for the carousel item. Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` // OpenUriAction: Required. Action to present to the user. OpenUriAction *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction `json:"openUriAction,omitempty"` // Title: Required. Title of the carousel item. Maximum of two lines of // text. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou selCardItem: Browsing carousel tile
func (*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction ¶
type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction struct { // Url: Required. URL Url string `json:"url,omitempty"` // UrlTypeHint: Optional. Specifies the type of viewer that is used when // opening the URL. Defaults to opening via web browser. // // Possible values: // "URL_TYPE_HINT_UNSPECIFIED" - Unspecified // "AMP_ACTION" - Url would be an amp action // "AMP_CONTENT" - URL that points directly to AMP content, or to a // canonical URL which refers to AMP content via . UrlTypeHint string `json:"urlTypeHint,omitempty"` // ForceSendFields is a list of field names (e.g. "Url") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Url") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarou selCardItemOpenUrlAction: Actions on Google action to open a given url.
func (*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageCard ¶
type GoogleCloudDialogflowV2beta1IntentMessageCard struct { // Buttons: Optional. The collection of card buttons. Buttons []*GoogleCloudDialogflowV2beta1IntentMessageCardButton `json:"buttons,omitempty"` // ImageUri: Optional. The public URI to an image file for the card. ImageUri string `json:"imageUri,omitempty"` // Subtitle: Optional. The subtitle of the card. Subtitle string `json:"subtitle,omitempty"` // Title: Optional. The title of the card. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Buttons") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Buttons") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageCard: The card response message.
func (*GoogleCloudDialogflowV2beta1IntentMessageCard) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageCard) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageCardButton ¶
type GoogleCloudDialogflowV2beta1IntentMessageCardButton struct { // Postback: Optional. The text to send back to the Dialogflow API or a // URI to open. Postback string `json:"postback,omitempty"` // Text: Optional. The text to show on the button. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "Postback") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Postback") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageCardButton: Optional. Contains information about a button.
func (*GoogleCloudDialogflowV2beta1IntentMessageCardButton) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageCardButton) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect ¶
type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect struct { // Items: Required. Carousel items. Items []*GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem `json:"items,omitempty"` // ForceSendFields is a list of field names (e.g. "Items") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Items") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect: The card for presenting a carousel of options to select from.
func (*GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem ¶
type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem struct { // Description: Optional. The body text of the card. Description string `json:"description,omitempty"` // Image: Optional. The image to display. Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` // Info: Required. Additional info about the option item. Info *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo `json:"info,omitempty"` // Title: Required. Title of the carousel item. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem: An item in the carousel.
func (*GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageColumnProperties ¶
type GoogleCloudDialogflowV2beta1IntentMessageColumnProperties struct { // Header: Required. Column heading. Header string `json:"header,omitempty"` // HorizontalAlignment: Optional. Defines text alignment for all cells // in this column. // // Possible values: // "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Text is aligned to the leading // edge of the column. // "LEADING" - Text is aligned to the leading edge of the column. // "CENTER" - Text is centered in the column. // "TRAILING" - Text is aligned to the trailing edge of the column. HorizontalAlignment string `json:"horizontalAlignment,omitempty"` // ForceSendFields is a list of field names (e.g. "Header") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Header") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageColumnProperties: Column properties for TableCard.
func (*GoogleCloudDialogflowV2beta1IntentMessageColumnProperties) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageColumnProperties) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageImage ¶
type GoogleCloudDialogflowV2beta1IntentMessageImage struct { // AccessibilityText: A text description of the image to be used for // accessibility, e.g., screen readers. Required if image_uri is set for // CarouselSelect. AccessibilityText string `json:"accessibilityText,omitempty"` // ImageUri: Optional. The public URI to an image file. ImageUri string `json:"imageUri,omitempty"` // ForceSendFields is a list of field names (e.g. "AccessibilityText") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccessibilityText") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageImage: The image response message.
func (*GoogleCloudDialogflowV2beta1IntentMessageImage) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageImage) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion ¶
type GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion struct { // DestinationName: Required. The name of the app or site this chip is // linking to. DestinationName string `json:"destinationName,omitempty"` // Uri: Required. The URI of the app or site to open when the user taps // the suggestion chip. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "DestinationName") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DestinationName") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion: The suggestion chip message that allows the user to jump out to the app or website associated with this agent.
func (*GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageListSelect ¶
type GoogleCloudDialogflowV2beta1IntentMessageListSelect struct { // Items: Required. List items. Items []*GoogleCloudDialogflowV2beta1IntentMessageListSelectItem `json:"items,omitempty"` // Subtitle: Optional. Subtitle of the list. Subtitle string `json:"subtitle,omitempty"` // Title: Optional. The overall title of the list. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Items") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Items") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageListSelect: The card for presenting a list of options to select from.
func (*GoogleCloudDialogflowV2beta1IntentMessageListSelect) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageListSelect) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageListSelectItem ¶
type GoogleCloudDialogflowV2beta1IntentMessageListSelectItem struct { // Description: Optional. The main text describing the item. Description string `json:"description,omitempty"` // Image: Optional. The image to display. Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` // Info: Required. Additional information about this option. Info *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo `json:"info,omitempty"` // Title: Required. The title of the list item. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageListSelectItem: An item in the list.
func (*GoogleCloudDialogflowV2beta1IntentMessageListSelectItem) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageListSelectItem) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageMediaContent ¶
type GoogleCloudDialogflowV2beta1IntentMessageMediaContent struct { // MediaObjects: Required. List of media objects. MediaObjects []*GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject `json:"mediaObjects,omitempty"` // MediaType: Optional. What type of media is the content (ie "audio"). // // Possible values: // "RESPONSE_MEDIA_TYPE_UNSPECIFIED" - Unspecified. // "AUDIO" - Response media type is audio. MediaType string `json:"mediaType,omitempty"` // ForceSendFields is a list of field names (e.g. "MediaObjects") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MediaObjects") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageMediaContent: The media content card for Actions on Google.
func (*GoogleCloudDialogflowV2beta1IntentMessageMediaContent) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageMediaContent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject ¶
type GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject struct { // ContentUrl: Required. Url where the media is stored. ContentUrl string `json:"contentUrl,omitempty"` // Description: Optional. Description of media card. Description string `json:"description,omitempty"` // Icon: Optional. Icon to display above media content. Icon *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"icon,omitempty"` // LargeImage: Optional. Image to display above media content. LargeImage *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"largeImage,omitempty"` // Name: Required. Name of media card. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "ContentUrl") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContentUrl") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObje ct: Response media object for media content card.
func (*GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageQuickReplies ¶
type GoogleCloudDialogflowV2beta1IntentMessageQuickReplies struct { // QuickReplies: Optional. The collection of quick replies. QuickReplies []string `json:"quickReplies,omitempty"` // Title: Optional. The title of the collection of quick replies. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "QuickReplies") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QuickReplies") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageQuickReplies: The quick replies response message.
func (*GoogleCloudDialogflowV2beta1IntentMessageQuickReplies) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent ¶
type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent struct { // Description: Optional. Description of the card (at most 2000 bytes). // At least one of the title, description or media must be set. Description string `json:"description,omitempty"` // Media: Optional. However at least one of the title, description or // media must be set. Media (image, GIF or a video) to include in the // card. Media *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia `json:"media,omitempty"` // Suggestions: Optional. List of suggestions to include in the card. Suggestions []*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion `json:"suggestions,omitempty"` // Title: Optional. Title of the card (at most 200 bytes). At least one // of the title, description or media must be set. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent: Rich Business Messaging (RBM) Card content
func (*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia ¶
type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia struct { // FileUri: Required. Publicly reachable URI of the file. The RBM // platform determines the MIME type of the file from the content-type // field in the HTTP headers when the platform fetches the file. The // content-type field must be present and accurate in the HTTP response // from the URL. FileUri string `json:"fileUri,omitempty"` // Height: Required for cards with vertical orientation. The height of // the media within a rich card with a vertical layout. For a standalone // card with horizontal layout, height is not customizable, and this // field is ignored. // // Possible values: // "HEIGHT_UNSPECIFIED" - Not specified. // "SHORT" - 112 DP. // "MEDIUM" - 168 DP. // "TALL" - 264 DP. Not available for rich card carousels when the // card width is set to small. Height string `json:"height,omitempty"` // ThumbnailUri: Optional. Publicly reachable URI of the thumbnail.If // you don't provide a thumbnail URI, the RBM platform displays a blank // placeholder thumbnail until the user's device downloads the file. // Depending on the user's setting, the file may not download // automatically and may require the user to tap a download button. ThumbnailUri string `json:"thumbnailUri,omitempty"` // ForceSendFields is a list of field names (e.g. "FileUri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FileUri") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia: Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported: Image Types * image/jpeg * image/jpg' * image/gif * image/png Video Types * video/h263 * video/m4v * video/mp4 * video/mpeg * video/mpeg4 * video/webm
func (*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard ¶
type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard struct { // CardContents: Required. The cards in the carousel. A carousel must // have at least 2 cards and at most 10. CardContents []*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent `json:"cardContents,omitempty"` // CardWidth: Required. The width of the cards in the carousel. // // Possible values: // "CARD_WIDTH_UNSPECIFIED" - Not specified. // "SMALL" - 120 DP. Note that tall media cannot be used. // "MEDIUM" - 232 DP. CardWidth string `json:"cardWidth,omitempty"` // ForceSendFields is a list of field names (e.g. "CardContents") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CardContents") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard: Carousel Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. If you want to show a single card with more control over the layout, please use RbmStandaloneCard instead.
func (*GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard ¶
type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard struct { // CardContent: Required. Card content. CardContent *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent `json:"cardContent,omitempty"` // CardOrientation: Required. Orientation of the card. // // Possible values: // "CARD_ORIENTATION_UNSPECIFIED" - Not specified. // "HORIZONTAL" - Horizontal layout. // "VERTICAL" - Vertical layout. CardOrientation string `json:"cardOrientation,omitempty"` // ThumbnailImageAlignment: Required if orientation is horizontal. Image // preview alignment for standalone cards with horizontal layout. // // Possible values: // "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED" - Not specified. // "LEFT" - Thumbnail preview is left-aligned. // "RIGHT" - Thumbnail preview is right-aligned. ThumbnailImageAlignment string `json:"thumbnailImageAlignment,omitempty"` // ForceSendFields is a list of field names (e.g. "CardContent") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CardContent") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard: Standalone Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. You can group multiple rich cards into one using RbmCarouselCard but carousel cards will give you less control over the card layout.
func (*GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction ¶
type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction struct { // Dial: Suggested client side action: Dial a phone number Dial *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial `json:"dial,omitempty"` // OpenUrl: Suggested client side action: Open a URI on device OpenUrl *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri `json:"openUrl,omitempty"` // PostbackData: Opaque payload that the Dialogflow receives in a user // event when the user taps the suggested action. This data will be also // forwarded to webhook to allow performing custom business logic. PostbackData string `json:"postbackData,omitempty"` ShareLocation *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation `json:"shareLocation,omitempty"` // Text: Text to display alongside the action. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "Dial") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dial") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction: Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card.
func (*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial ¶
type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial struct { // PhoneNumber: Required. The phone number to fill in the default dialer // app. This field should be in E.164 // (https://en.wikipedia.org/wiki/E.164) format. An example of a // correctly formatted phone number: +15556767888. PhoneNumber string `json:"phoneNumber,omitempty"` // ForceSendFields is a list of field names (e.g. "PhoneNumber") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PhoneNumber") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste dActionDial: Opens the user's default dialer app with the specified phone number but does not dial automatically.
func (*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri ¶
type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri struct { // Uri: Required. The uri to open on the user device Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "Uri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Uri") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste dActionOpenUri: Opens the user's default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI.
func (*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation ¶
type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation struct { }
GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggeste dActionShareLocation: Opens the device's location chooser so the user can pick a location to send back to the agent.
type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply ¶
type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply struct { // PostbackData: Opaque payload that the Dialogflow receives in a user // event when the user taps the suggested reply. This data will be also // forwarded to webhook to allow performing custom business logic. PostbackData string `json:"postbackData,omitempty"` // Text: Suggested reply text. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "PostbackData") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PostbackData") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply: Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response.
func (*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion ¶
type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion struct { // Action: Predefined client side actions that user can choose Action *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction `json:"action,omitempty"` // Reply: Predefined replies for user to select instead of typing Reply *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply `json:"reply,omitempty"` // ForceSendFields is a list of field names (e.g. "Action") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Action") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion: Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).
func (*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageRbmText ¶
type GoogleCloudDialogflowV2beta1IntentMessageRbmText struct { // RbmSuggestion: Optional. One or more suggestions to show to the user. RbmSuggestion []*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion `json:"rbmSuggestion,omitempty"` // Text: Required. Text sent and displayed to the user. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "RbmSuggestion") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RbmSuggestion") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageRbmText: Rich Business Messaging (RBM) text response with suggestions.
func (*GoogleCloudDialogflowV2beta1IntentMessageRbmText) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmText) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo ¶
type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo struct { // Key: Required. A unique key that will be sent back to the agent if // this response is given. Key string `json:"key,omitempty"` // Synonyms: Optional. A list of synonyms that can also be used to // trigger this item in dialog. Synonyms []string `json:"synonyms,omitempty"` // ForceSendFields is a list of field names (e.g. "Key") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Key") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo: Additional info about the select item for when it is triggered in a dialog.
func (*GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse ¶
type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse struct { // DisplayText: Optional. The text to display. DisplayText string `json:"displayText,omitempty"` // Ssml: One of text_to_speech or ssml must be provided. Structured // spoken response to the user in the SSML format. Mutually exclusive // with text_to_speech. Ssml string `json:"ssml,omitempty"` // TextToSpeech: One of text_to_speech or ssml must be provided. The // plain text of the speech output. Mutually exclusive with ssml. TextToSpeech string `json:"textToSpeech,omitempty"` // ForceSendFields is a list of field names (e.g. "DisplayText") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayText") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse: The simple response message containing speech or text.
func (*GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses ¶
type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses struct { // SimpleResponses: Required. The list of simple responses. SimpleResponses []*GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse `json:"simpleResponses,omitempty"` // ForceSendFields is a list of field names (e.g. "SimpleResponses") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SimpleResponses") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses: The collection of simple response candidates. This message in `QueryResult.fulfillment_messages` and `WebhookResponse.fulfillment_messages` should contain only one `SimpleResponse`.
func (*GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageSuggestion ¶
type GoogleCloudDialogflowV2beta1IntentMessageSuggestion struct { // Title: Required. The text shown the in the suggestion chip. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Title") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Title") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageSuggestion: The suggestion chip message that the user can tap to quickly post a reply to the conversation.
func (*GoogleCloudDialogflowV2beta1IntentMessageSuggestion) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageSuggestion) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageSuggestions ¶
type GoogleCloudDialogflowV2beta1IntentMessageSuggestions struct { // Suggestions: Required. The list of suggested replies. Suggestions []*GoogleCloudDialogflowV2beta1IntentMessageSuggestion `json:"suggestions,omitempty"` // ForceSendFields is a list of field names (e.g. "Suggestions") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Suggestions") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageSuggestions: The collection of suggestions.
func (*GoogleCloudDialogflowV2beta1IntentMessageSuggestions) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageSuggestions) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageTableCard ¶
type GoogleCloudDialogflowV2beta1IntentMessageTableCard struct { // Buttons: Optional. List of buttons for the card. Buttons []*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton `json:"buttons,omitempty"` // ColumnProperties: Optional. Display properties for the columns in // this table. ColumnProperties []*GoogleCloudDialogflowV2beta1IntentMessageColumnProperties `json:"columnProperties,omitempty"` // Image: Optional. Image which should be displayed on the card. Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"` // Rows: Optional. Rows in this table of data. Rows []*GoogleCloudDialogflowV2beta1IntentMessageTableCardRow `json:"rows,omitempty"` // Subtitle: Optional. Subtitle to the title. Subtitle string `json:"subtitle,omitempty"` // Title: Required. Title of the card. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Buttons") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Buttons") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageTableCard: Table card for Actions on Google.
func (*GoogleCloudDialogflowV2beta1IntentMessageTableCard) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCard) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageTableCardCell ¶
type GoogleCloudDialogflowV2beta1IntentMessageTableCardCell struct { // Text: Required. Text in this cell. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "Text") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Text") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageTableCardCell: Cell of TableCardRow.
func (*GoogleCloudDialogflowV2beta1IntentMessageTableCardCell) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCardCell) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageTableCardRow ¶
type GoogleCloudDialogflowV2beta1IntentMessageTableCardRow struct { // Cells: Optional. List of cells that make up this row. Cells []*GoogleCloudDialogflowV2beta1IntentMessageTableCardCell `json:"cells,omitempty"` // DividerAfter: Optional. Whether to add a visual divider after this // row. DividerAfter bool `json:"dividerAfter,omitempty"` // ForceSendFields is a list of field names (e.g. "Cells") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Cells") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageTableCardRow: Row of TableCard.
func (*GoogleCloudDialogflowV2beta1IntentMessageTableCardRow) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCardRow) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio ¶
type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio struct { // AudioUri: Required. URI to a Google Cloud Storage object containing // the audio to play, e.g., "gs://bucket/object". The object must // contain a single channel (mono) of linear PCM audio (2 bytes / // sample) at 8kHz. This object must be readable by the // `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` service account // where is the number of the Telephony Gateway project (usually the // same as the Dialogflow agent project). If the Google Cloud Storage // bucket is in the Telephony Gateway project, this permission is added // by default when enabling the Dialogflow V2 API. For audio from other // sources, consider using the `TelephonySynthesizeSpeech` message with // SSML. AudioUri string `json:"audioUri,omitempty"` // ForceSendFields is a list of field names (e.g. "AudioUri") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AudioUri") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio: Plays audio from a file in Telephony Gateway.
func (*GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech ¶
type GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech struct { // Ssml: The SSML to be synthesized. For more information, see SSML // (https://developers.google.com/actions/reference/ssml). Ssml string `json:"ssml,omitempty"` // Text: The raw text to be synthesized. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "Ssml") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Ssml") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech: Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway. Telephony Gateway takes the synthesizer settings from `DetectIntentResponse.output_audio_config` which can either be set at request-level or can come from the agent-level synthesizer config.
func (*GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall ¶
type GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall struct { // PhoneNumber: Required. The phone number to transfer the call to in // E.164 format (https://en.wikipedia.org/wiki/E.164). We currently only // allow transferring to US numbers (+1xxxyyyzzzz). PhoneNumber string `json:"phoneNumber,omitempty"` // ForceSendFields is a list of field names (e.g. "PhoneNumber") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PhoneNumber") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall: Transfers the call in Telephony Gateway.
func (*GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageText ¶
type GoogleCloudDialogflowV2beta1IntentMessageText struct { // Text: Optional. The collection of the agent's responses. Text []string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "Text") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Text") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentMessageText: The text response message.
func (*GoogleCloudDialogflowV2beta1IntentMessageText) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentMessageText) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentParameter ¶
type GoogleCloudDialogflowV2beta1IntentParameter struct { // DefaultValue: Optional. The default value to use when the `value` // yields an empty result. Default values can be extracted from contexts // by using the following syntax: `#context_name.parameter_name`. DefaultValue string `json:"defaultValue,omitempty"` // DisplayName: Required. The name of the parameter. DisplayName string `json:"displayName,omitempty"` // EntityTypeDisplayName: Optional. The name of the entity type, // prefixed with `@`, that describes values of the parameter. If the // parameter is required, this must be provided. EntityTypeDisplayName string `json:"entityTypeDisplayName,omitempty"` // IsList: Optional. Indicates whether the parameter represents a list // of values. IsList bool `json:"isList,omitempty"` // Mandatory: Optional. Indicates whether the parameter is required. // That is, whether the intent cannot be completed without collecting // the parameter value. Mandatory bool `json:"mandatory,omitempty"` // Name: The unique identifier of this parameter. Name string `json:"name,omitempty"` // Prompts: Optional. The collection of prompts that the agent can // present to the user in order to collect a value for the parameter. Prompts []string `json:"prompts,omitempty"` // Value: Optional. The definition of the parameter value. It can be: - // a constant string, - a parameter value defined as `$parameter_name`, // - an original parameter value defined as `$parameter_name.original`, // - a parameter value from some context defined as // `#context_name.parameter_name`. Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "DefaultValue") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DefaultValue") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentParameter: Represents intent parameters.
func (*GoogleCloudDialogflowV2beta1IntentParameter) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentParameter) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentTrainingPhrase ¶
type GoogleCloudDialogflowV2beta1IntentTrainingPhrase struct { // Name: Output only. The unique identifier of this training phrase. Name string `json:"name,omitempty"` // Parts: Required. The ordered list of training phrase parts. The parts // are concatenated in order to form the training phrase. Note: The API // does not automatically annotate training phrases like the Dialogflow // Console does. Note: Do not forget to include whitespace at part // boundaries, so the training phrase is well formatted when the parts // are concatenated. If the training phrase does not need to be // annotated with parameters, you just need a single part with only the // Part.text field set. If you want to annotate the training phrase, you // must create multiple parts, where the fields of each part are // populated in one of two ways: - `Part.text` is set to a part of the // phrase that has no parameters. - `Part.text` is set to a part of the // phrase that you want to annotate, and the `entity_type`, `alias`, and // `user_defined` fields are all set. Parts []*GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart `json:"parts,omitempty"` // TimesAddedCount: Optional. Indicates how many times this example was // added to the intent. Each time a developer adds an existing sample by // editing an intent or training, this counter is increased. TimesAddedCount int64 `json:"timesAddedCount,omitempty"` // Type: Required. The type of the training phrase. // // Possible values: // "TYPE_UNSPECIFIED" - Not specified. This value should never be // used. // "EXAMPLE" - Examples do not contain @-prefixed entity type names, // but example parts can be annotated with entity types. // "TEMPLATE" - Templates are not annotated with entity types, but // they can contain @-prefixed entity type names as substrings. Template // mode has been deprecated. Example mode is the only supported way to // create new training phrases. If you have existing training phrases // that you've created in template mode, those will continue to work. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Name") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentTrainingPhrase: Represents an example that the agent is trained on.
func (*GoogleCloudDialogflowV2beta1IntentTrainingPhrase) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentTrainingPhrase) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart ¶
type GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart struct { // Alias: Optional. The parameter name for the value extracted from the // annotated part of the example. This field is required for annotated // parts of the training phrase. Alias string `json:"alias,omitempty"` // EntityType: Optional. The entity type name prefixed with `@`. This // field is required for annotated parts of the training phrase. EntityType string `json:"entityType,omitempty"` // Text: Required. The text for this part. Text string `json:"text,omitempty"` // UserDefined: Optional. Indicates whether the text was manually // annotated. This field is set to true when the Dialogflow Console is // used to manually annotate the part. When creating an annotated part // with the API, you must set this to true. UserDefined bool `json:"userDefined,omitempty"` // ForceSendFields is a list of field names (e.g. "Alias") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Alias") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart: Represents a part of a training phrase.
func (*GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1KnowledgeAnswers ¶
type GoogleCloudDialogflowV2beta1KnowledgeAnswers struct { // Answers: A list of answers from Knowledge Connector. Answers []*GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer `json:"answers,omitempty"` // ForceSendFields is a list of field names (e.g. "Answers") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Answers") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1KnowledgeAnswers: Represents the result of querying a Knowledge base.
func (*GoogleCloudDialogflowV2beta1KnowledgeAnswers) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswers) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer ¶
type GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer struct { // Answer: The piece of text from the `source` knowledge base document // that answers this conversational query. Answer string `json:"answer,omitempty"` // FaqQuestion: The corresponding FAQ question if the answer was // extracted from a FAQ Document, empty otherwise. FaqQuestion string `json:"faqQuestion,omitempty"` // MatchConfidence: The system's confidence score that this Knowledge // answer is a good match for this conversational query. The range is // from 0.0 (completely uncertain) to 1.0 (completely certain). Note: // The confidence score is likely to vary somewhat (possibly even for // identical requests), as the underlying model is under constant // improvement. It may be deprecated in the future. We recommend using // `match_confidence_level` which should be generally more stable. MatchConfidence float64 `json:"matchConfidence,omitempty"` // MatchConfidenceLevel: The system's confidence level that this // knowledge answer is a good match for this conversational query. NOTE: // The confidence level for a given “ pair may change without notice, // as it depends on models that are constantly being improved. However, // it will change less frequently than the confidence score below, and // should be preferred for referencing the quality of an answer. // // Possible values: // "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED" - Not specified. // "LOW" - Indicates that the confidence is low. // "MEDIUM" - Indicates our confidence is medium. // "HIGH" - Indicates our confidence is high. MatchConfidenceLevel string `json:"matchConfidenceLevel,omitempty"` // Source: Indicates which Knowledge Document this answer was extracted // from. Format: `projects//knowledgeBases//documents/`. Source string `json:"source,omitempty"` // ForceSendFields is a list of field names (e.g. "Answer") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Answer") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer: An answer from Knowledge Connector.
func (*GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata ¶
type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata struct { // State: Required. Output only. The current state of this operation. // // Possible values: // "STATE_UNSPECIFIED" - State unspecified. // "PENDING" - The operation has been created. // "RUNNING" - The operation is currently running. // "DONE" - The operation is done, either cancelled or completed. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "State") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "State") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata: Metadata in google::longrunning::Operation for Knowledge operations.
func (*GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1Message ¶
type GoogleCloudDialogflowV2beta1Message struct { // Content: Required. The message content. Content string `json:"content,omitempty"` // CreateTime: Output only. The time when the message was created in // Contact Center AI. CreateTime string `json:"createTime,omitempty"` // LanguageCode: Optional. The message language. This should be a BCP-47 // (https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example: // "en-US". LanguageCode string `json:"languageCode,omitempty"` // MessageAnnotation: Output only. The annotation for the message. MessageAnnotation *GoogleCloudDialogflowV2beta1MessageAnnotation `json:"messageAnnotation,omitempty"` // Name: Optional. The unique identifier of the message. Format: // `projects//locations//conversations//messages/`. Name string `json:"name,omitempty"` // Participant: Output only. The participant that sends this message. Participant string `json:"participant,omitempty"` // ParticipantRole: Output only. The role of the participant. // // Possible values: // "ROLE_UNSPECIFIED" - Participant role not set. // "HUMAN_AGENT" - Participant is a human agent. // "AUTOMATED_AGENT" - Participant is an automated agent, such as a // Dialogflow agent. // "END_USER" - Participant is an end user that has called or chatted // with Dialogflow services. ParticipantRole string `json:"participantRole,omitempty"` // SendTime: Optional. The time when the message was sent. SendTime string `json:"sendTime,omitempty"` // SentimentAnalysis: Output only. The sentiment analysis result for the // message. SentimentAnalysis *GoogleCloudDialogflowV2beta1SentimentAnalysisResult `json:"sentimentAnalysis,omitempty"` // ForceSendFields is a list of field names (e.g. "Content") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Content") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1Message: Represents a message posted into a conversation.
func (*GoogleCloudDialogflowV2beta1Message) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1Message) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1MessageAnnotation ¶
type GoogleCloudDialogflowV2beta1MessageAnnotation struct { // ContainEntities: Required. Indicates whether the text message // contains entities. ContainEntities bool `json:"containEntities,omitempty"` // Parts: Optional. The collection of annotated message parts ordered by // their position in the message. You can recover the annotated message // by concatenating [AnnotatedMessagePart.text]. Parts []*GoogleCloudDialogflowV2beta1AnnotatedMessagePart `json:"parts,omitempty"` // ForceSendFields is a list of field names (e.g. "ContainEntities") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContainEntities") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1MessageAnnotation: Represents the result of annotation for the message.
func (*GoogleCloudDialogflowV2beta1MessageAnnotation) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1MessageAnnotation) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest ¶
type GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest struct { // Payload: Optional. This field is set to the value of the // `QueryParameters.payload` field passed in the request. Some // integrations that query a Dialogflow agent may provide additional // information in the payload. In particular, for the Dialogflow Phone // Gateway integration, this field has the form: { "telephony": { // "caller_id": "+18558363987" } } Note: The caller ID field // (`caller_id`) will be redacted for Trial Edition agents and populated // with the caller ID in E.164 format // (https://en.wikipedia.org/wiki/E.164) for Essentials Edition agents. Payload googleapi.RawMessage `json:"payload,omitempty"` // Source: The source of this request, e.g., `google`, `facebook`, // `slack`. It is set by Dialogflow-owned servers. Source string `json:"source,omitempty"` // Version: Optional. The version of the protocol used for this request. // This field is AoG-specific. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "Payload") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Payload") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest: Represents the contents of the original request that was passed to the `[Streaming]DetectIntent` call.
func (*GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1QueryResult ¶
type GoogleCloudDialogflowV2beta1QueryResult struct { // Action: The action name from the matched intent. Action string `json:"action,omitempty"` // AllRequiredParamsPresent: This field is set to: - `false` if the // matched intent has required parameters and not all of the required // parameter values have been collected. - `true` if all required // parameter values have been collected, or if the matched intent // doesn't contain any required parameters. AllRequiredParamsPresent bool `json:"allRequiredParamsPresent,omitempty"` // CancelsSlotFilling: Indicates whether the conversational query // triggers a cancellation for slot filling. CancelsSlotFilling bool `json:"cancelsSlotFilling,omitempty"` // DiagnosticInfo: Free-form diagnostic information for the associated // detect intent request. The fields of this data can change without // notice, so you should not write code that depends on its structure. // The data may contain: - webhook call latency - webhook errors DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"` // FulfillmentMessages: The collection of rich messages to present to // the user. FulfillmentMessages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"fulfillmentMessages,omitempty"` // FulfillmentText: The text to be pronounced to the user or shown on // the screen. Note: This is a legacy field, `fulfillment_messages` // should be preferred. FulfillmentText string `json:"fulfillmentText,omitempty"` // Intent: The intent that matched the conversational query. Some, not // all fields are filled in this message, including but not limited to: // `name`, `display_name`, `end_interaction` and `is_fallback`. Intent *GoogleCloudDialogflowV2beta1Intent `json:"intent,omitempty"` // IntentDetectionConfidence: The intent detection confidence. Values // range from 0.0 (completely uncertain) to 1.0 (completely certain). // This value is for informational purpose only and is only used to help // match the best intent within the classification threshold. This value // may change for the same end-user expression at any time due to a // model retraining or change in implementation. If there are `multiple // knowledge_answers` messages, this value is set to the greatest // `knowledgeAnswers.match_confidence` value in the list. IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"` // KnowledgeAnswers: The result from Knowledge Connector (if any), // ordered by decreasing `KnowledgeAnswers.match_confidence`. KnowledgeAnswers *GoogleCloudDialogflowV2beta1KnowledgeAnswers `json:"knowledgeAnswers,omitempty"` // LanguageCode: The language that was triggered during intent // detection. See Language Support // (https://cloud.google.com/dialogflow/docs/reference/language) for a // list of the currently supported language codes. LanguageCode string `json:"languageCode,omitempty"` // OutputContexts: The collection of output contexts. If applicable, // `output_contexts.parameters` contains entries with name `.original` // containing the original parameter values before the query. OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` // Parameters: The collection of extracted parameters. Depending on your // protocol or client library language, this is a map, associative // array, symbol table, dictionary, or JSON object composed of a // collection of (MapKey, MapValue) pairs: - MapKey type: string - // MapKey value: parameter name - MapValue type: - If parameter's entity // type is a composite entity: map - Else: depending on parameter value // type, could be one of string, number, boolean, null, list or map - // MapValue value: - If parameter's entity type is a composite entity: // map from composite entity property names to property values - Else: // parameter value Parameters googleapi.RawMessage `json:"parameters,omitempty"` // QueryText: The original conversational query text: - If natural // language text was provided as input, `query_text` contains a copy of // the input. - If natural language speech audio was provided as input, // `query_text` contains the speech recognition result. If speech // recognizer produced multiple alternatives, a particular one is // picked. - If automatic spell correction is enabled, `query_text` will // contain the corrected user input. QueryText string `json:"queryText,omitempty"` // SentimentAnalysisResult: The sentiment analysis result, which depends // on the `sentiment_analysis_request_config` specified in the request. SentimentAnalysisResult *GoogleCloudDialogflowV2beta1SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"` // SpeechRecognitionConfidence: The Speech recognition confidence // between 0.0 and 1.0. A higher number indicates an estimated greater // likelihood that the recognized words are correct. The default of 0.0 // is a sentinel value indicating that confidence was not set. This // field is not guaranteed to be accurate or set. In particular this // field isn't set for StreamingDetectIntent since the streaming // endpoint has separate confidence estimates per portion of the audio // in StreamingRecognitionResult. SpeechRecognitionConfidence float64 `json:"speechRecognitionConfidence,omitempty"` // WebhookPayload: If the query was fulfilled by a webhook call, this // field is set to the value of the `payload` field returned in the // webhook response. WebhookPayload googleapi.RawMessage `json:"webhookPayload,omitempty"` // WebhookSource: If the query was fulfilled by a webhook call, this // field is set to the value of the `source` field returned in the // webhook response. WebhookSource string `json:"webhookSource,omitempty"` // ForceSendFields is a list of field names (e.g. "Action") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Action") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1QueryResult: Represents the result of conversational query or event processing.
func (*GoogleCloudDialogflowV2beta1QueryResult) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1QueryResult) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2beta1QueryResult) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1QueryResult) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2beta1Sentiment ¶
type GoogleCloudDialogflowV2beta1Sentiment struct { // Magnitude: A non-negative number in the [0, +inf) range, which // represents the absolute magnitude of sentiment, regardless of score // (positive or negative). Magnitude float64 `json:"magnitude,omitempty"` // Score: Sentiment score between -1.0 (negative sentiment) and 1.0 // (positive sentiment). Score float64 `json:"score,omitempty"` // ForceSendFields is a list of field names (e.g. "Magnitude") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Magnitude") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1Sentiment: The sentiment, such as positive/negative feeling or association, for a unit of analysis, such as the query text.
func (*GoogleCloudDialogflowV2beta1Sentiment) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1Sentiment) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2beta1Sentiment) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1Sentiment) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2beta1SentimentAnalysisResult ¶
type GoogleCloudDialogflowV2beta1SentimentAnalysisResult struct { // QueryTextSentiment: The sentiment analysis result for `query_text`. QueryTextSentiment *GoogleCloudDialogflowV2beta1Sentiment `json:"queryTextSentiment,omitempty"` // ForceSendFields is a list of field names (e.g. "QueryTextSentiment") // to unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QueryTextSentiment") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1SentimentAnalysisResult: The result of sentiment analysis. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral. For Participants.DetectIntent, it needs to be configured in DetectIntentRequest.query_params. For Participants.StreamingDetectIntent, it needs to be configured in StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs to be configured in ConversationProfile.human_agent_assistant_config
func (*GoogleCloudDialogflowV2beta1SentimentAnalysisResult) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1SentimentAnalysisResult) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SessionEntityType ¶
type GoogleCloudDialogflowV2beta1SessionEntityType struct { // Entities: Required. The collection of entities associated with this // session entity type. Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"` // EntityOverrideMode: Required. Indicates whether the additional data // should override or supplement the custom entity type definition. // // Possible values: // "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value // should be never used. // "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session // entities overrides the collection of entities in the corresponding // custom entity type. // "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session // entities extends the collection of entities in the corresponding // custom entity type. Note: Even in this override mode calls to // `ListSessionEntityTypes`, `GetSessionEntityType`, // `CreateSessionEntityType` and `UpdateSessionEntityType` only return // the additional entities added in this session entity type. If you // want to get the supplemented list, please call // EntityTypes.GetEntityType on the custom entity type and merge. EntityOverrideMode string `json:"entityOverrideMode,omitempty"` // Name: Required. The unique identifier of this session entity type. // Supported formats: - `projects//agent/sessions//entityTypes/` - // `projects//locations//agent/sessions//entityTypes/` - // `projects//agent/environments//users//sessions//entityTypes/` - // `projects//locations//agent/environments/ // /users//sessions//entityTypes/` If `Location ID` is not specified we // assume default 'us' location. If `Environment ID` is not specified, // we assume default 'draft' environment. If `User ID` is not specified, // we assume default '-' user. “ must be the display name of an // existing entity type in the same agent that will be overridden or // supplemented. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Entities") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Entities") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1SessionEntityType: A session represents a conversation between a Dialogflow agent and an end-user. You can create special entities, called session entities, during a session. Session entities can extend or replace custom entity types and only exist during the session that they were created for. All session data, including session entities, is stored by Dialogflow for 20 minutes. For more information, see the session entity guide (https://cloud.google.com/dialogflow/docs/entities-session).
func (*GoogleCloudDialogflowV2beta1SessionEntityType) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1SessionEntityType) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SmartReplyAnswer ¶
type GoogleCloudDialogflowV2beta1SmartReplyAnswer struct { // AnswerRecord: The name of answer record, in the format of // "projects//locations//answerRecords/" AnswerRecord string `json:"answerRecord,omitempty"` // Confidence: Smart reply confidence. The system's confidence score // that this reply is a good match for this conversation, as a value // from 0.0 (completely uncertain) to 1.0 (completely certain). Confidence float64 `json:"confidence,omitempty"` // Reply: The content of the reply. Reply string `json:"reply,omitempty"` // ForceSendFields is a list of field names (e.g. "AnswerRecord") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnswerRecord") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1SmartReplyAnswer: Represents a smart reply answer.
func (*GoogleCloudDialogflowV2beta1SmartReplyAnswer) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1SmartReplyAnswer) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2beta1SmartReplyAnswer) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1SmartReplyAnswer) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2beta1SuggestArticlesResponse ¶
type GoogleCloudDialogflowV2beta1SuggestArticlesResponse struct { // ArticleAnswers: Output only. Articles ordered by score in descending // order. ArticleAnswers []*GoogleCloudDialogflowV2beta1ArticleAnswer `json:"articleAnswers,omitempty"` // ContextSize: Number of messages prior to and including latest_message // to compile the suggestion. It may be smaller than the // SuggestArticlesResponse.context_size field in the request if there // aren't that many messages in the conversation. ContextSize int64 `json:"contextSize,omitempty"` // LatestMessage: The name of the latest conversation message used to // compile suggestion for. Format: // `projects//locations//conversations//messages/`. LatestMessage string `json:"latestMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "ArticleAnswers") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ArticleAnswers") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1SuggestArticlesResponse: The response message for Participants.SuggestArticles.
func (*GoogleCloudDialogflowV2beta1SuggestArticlesResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1SuggestArticlesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse ¶
type GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse struct { // ContextSize: Number of messages prior to and including latest_message // to compile the suggestion. It may be smaller than the // SuggestFaqAnswersRequest.context_size field in the request if there // aren't that many messages in the conversation. ContextSize int64 `json:"contextSize,omitempty"` // FaqAnswers: Output only. Answers extracted from FAQ documents. FaqAnswers []*GoogleCloudDialogflowV2beta1FaqAnswer `json:"faqAnswers,omitempty"` // LatestMessage: The name of the latest conversation message used to // compile suggestion for. Format: // `projects//locations//conversations//messages/`. LatestMessage string `json:"latestMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "ContextSize") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContextSize") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse: The request message for Participants.SuggestFaqAnswers.
func (*GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse ¶
type GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse struct { // ContextSize: Number of messages prior to and including latest_message // to compile the suggestion. It may be smaller than the // SuggestSmartRepliesRequest.context_size field in the request if there // aren't that many messages in the conversation. ContextSize int64 `json:"contextSize,omitempty"` // LatestMessage: The name of the latest conversation message used to // compile suggestion for. Format: // `projects//locations//conversations//messages/`. LatestMessage string `json:"latestMessage,omitempty"` // SmartReplyAnswers: Output only. Multiple reply options provided by // smart reply service. The order is based on the rank of the model // prediction. The maximum number of the returned replies is set in // SmartReplyConfig. SmartReplyAnswers []*GoogleCloudDialogflowV2beta1SmartReplyAnswer `json:"smartReplyAnswers,omitempty"` // ForceSendFields is a list of field names (e.g. "ContextSize") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContextSize") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse: The response message for Participants.SuggestSmartReplies.
func (*GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SuggestionResult ¶
type GoogleCloudDialogflowV2beta1SuggestionResult struct { // Error: Error status if the request failed. Error *GoogleRpcStatus `json:"error,omitempty"` // SuggestArticlesResponse: SuggestArticlesResponse if request is for // ARTICLE_SUGGESTION. SuggestArticlesResponse *GoogleCloudDialogflowV2beta1SuggestArticlesResponse `json:"suggestArticlesResponse,omitempty"` // SuggestFaqAnswersResponse: SuggestFaqAnswersResponse if request is // for FAQ_ANSWER. SuggestFaqAnswersResponse *GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse `json:"suggestFaqAnswersResponse,omitempty"` // SuggestSmartRepliesResponse: SuggestSmartRepliesResponse if request // is for SMART_REPLY. SuggestSmartRepliesResponse *GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse `json:"suggestSmartRepliesResponse,omitempty"` // ForceSendFields is a list of field names (e.g. "Error") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Error") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1SuggestionResult: One response of different type of suggestion response which is used in the response of Participants.AnalyzeContent and Participants.AnalyzeContent, as well as HumanAgentAssistantEvent.
func (*GoogleCloudDialogflowV2beta1SuggestionResult) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1SuggestionResult) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1WebhookRequest ¶
type GoogleCloudDialogflowV2beta1WebhookRequest struct { // AlternativeQueryResults: Alternative query results from // KnowledgeService. AlternativeQueryResults []*GoogleCloudDialogflowV2beta1QueryResult `json:"alternativeQueryResults,omitempty"` // OriginalDetectIntentRequest: Optional. The contents of the original // request that was passed to `[Streaming]DetectIntent` call. OriginalDetectIntentRequest *GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest `json:"originalDetectIntentRequest,omitempty"` // QueryResult: The result of the conversational query or event // processing. Contains the same value as // `[Streaming]DetectIntentResponse.query_result`. QueryResult *GoogleCloudDialogflowV2beta1QueryResult `json:"queryResult,omitempty"` // ResponseId: The unique identifier of the response. Contains the same // value as `[Streaming]DetectIntentResponse.response_id`. ResponseId string `json:"responseId,omitempty"` // Session: The unique identifier of detectIntent request session. Can // be used to identify end-user inside webhook implementation. Supported // formats: - `projects//agent/sessions/, - // `projects//locations//agent/sessions/`, - // `projects//agent/environments//users//sessions/`, - // `projects//locations//agent/environments//users//sessions/`, Session string `json:"session,omitempty"` // ForceSendFields is a list of field names (e.g. // "AlternativeQueryResults") to unconditionally include in API // requests. By default, fields with empty values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AlternativeQueryResults") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1WebhookRequest: The request message for a webhook call.
func (*GoogleCloudDialogflowV2beta1WebhookRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1WebhookRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1WebhookResponse ¶
type GoogleCloudDialogflowV2beta1WebhookResponse struct { // EndInteraction: Optional. Indicates that this intent ends an // interaction. Some integrations (e.g., Actions on Google or Dialogflow // phone gateway) use this information to close interaction with an end // user. Default is false. EndInteraction bool `json:"endInteraction,omitempty"` // FollowupEventInput: Optional. Invokes the supplied events. When this // field is set, Dialogflow ignores the `fulfillment_text`, // `fulfillment_messages`, and `payload` fields. FollowupEventInput *GoogleCloudDialogflowV2beta1EventInput `json:"followupEventInput,omitempty"` // FulfillmentMessages: Optional. The rich response messages intended // for the end-user. When provided, Dialogflow uses this field to // populate QueryResult.fulfillment_messages sent to the integration or // API caller. FulfillmentMessages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"fulfillmentMessages,omitempty"` // FulfillmentText: Optional. The text response message intended for the // end-user. It is recommended to use // `fulfillment_messages.text.text[0]` instead. When provided, // Dialogflow uses this field to populate QueryResult.fulfillment_text // sent to the integration or API caller. FulfillmentText string `json:"fulfillmentText,omitempty"` // LiveAgentHandoff: Indicates that a live agent should be brought in to // handle the interaction with the user. In most cases, when you set // this flag to true, you would also want to set end_interaction to true // as well. Default is false. LiveAgentHandoff bool `json:"liveAgentHandoff,omitempty"` // OutputContexts: Optional. The collection of output contexts that will // overwrite currently active contexts for the session and reset their // lifespans. When provided, Dialogflow uses this field to populate // QueryResult.output_contexts sent to the integration or API caller. OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"` // Payload: Optional. This field can be used to pass custom data from // your webhook to the integration or API caller. Arbitrary JSON objects // are supported. When provided, Dialogflow uses this field to populate // QueryResult.webhook_payload sent to the integration or API caller. // This field is also used by the Google Assistant integration // (https://cloud.google.com/dialogflow/docs/integrations/aog) for rich // response messages. See the format definition at Google Assistant // Dialogflow webhook format // (https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json) Payload googleapi.RawMessage `json:"payload,omitempty"` // SessionEntityTypes: Optional. Additional session entity types to // replace or extend developer entity types with. The entity synonyms // apply to all languages and persist for the session. Setting this data // from a webhook overwrites the session entity types that have been set // using `detectIntent`, `streamingDetectIntent` or SessionEntityType // management methods. SessionEntityTypes []*GoogleCloudDialogflowV2beta1SessionEntityType `json:"sessionEntityTypes,omitempty"` // Source: Optional. A custom field used to identify the webhook source. // Arbitrary strings are supported. When provided, Dialogflow uses this // field to populate QueryResult.webhook_source sent to the integration // or API caller. Source string `json:"source,omitempty"` // ForceSendFields is a list of field names (e.g. "EndInteraction") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndInteraction") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1WebhookResponse: The response message for a webhook call. This response is validated by the Dialogflow server. If validation fails, an error will be returned in the QueryResult.diagnostic_info field. Setting JSON fields to an empty value with the wrong type is a common error. To avoid this error: - Use "" for empty strings - Use `{}` or `null` for empty objects - Use `[]` or `null` for empty arrays For more information, see the Protocol Buffers Language Guide (https://developers.google.com/protocol-buffers/docs/proto3#json).
func (*GoogleCloudDialogflowV2beta1WebhookResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1WebhookResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata ¶
type GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata struct { // GenericMetadata: The generic information of the operation. GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata: Metadata for CreateDocument operation.
func (*GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata ¶
type GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata struct { // GenericMetadata: The generic information of the operation. GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata: Metadata for DeleteDocument operation.
func (*GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata ¶
type GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata struct { // State: Required. Output only. The current state of this operation. // // Possible values: // "STATE_UNSPECIFIED" - State unspecified. // "PENDING" - The operation has been created. // "RUNNING" - The operation is currently running. // "DONE" - The operation is done, either cancelled or completed. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "State") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "State") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata: Metadata in google::longrunning::Operation for Knowledge operations.
func (*GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata ¶
type GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata struct { // GenericMetadata: The generic information of the operation. GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata: Metadata for ImportDocuments operation.
func (*GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV3alpha1ImportDocumentsResponse ¶
type GoogleCloudDialogflowV3alpha1ImportDocumentsResponse struct { // Warnings: Includes details about skipped documents or any other // warnings. Warnings []*GoogleRpcStatus `json:"warnings,omitempty"` // ForceSendFields is a list of field names (e.g. "Warnings") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Warnings") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV3alpha1ImportDocumentsResponse: Response message for Documents.ImportDocuments.
func (*GoogleCloudDialogflowV3alpha1ImportDocumentsResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV3alpha1ImportDocumentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata ¶
type GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata struct { // GenericMetadata: The generic information of the operation. GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata: Metadata for ReloadDocument operation.
func (*GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata ¶
type GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata struct { // GenericMetadata: The generic information of the operation. GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GenericMetadata") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GenericMetadata") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata: Metadata for UpdateDocument operation.
func (*GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata) MarshalJSON ¶
func (s *GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleLongrunningListOperationsResponse ¶
type GoogleLongrunningListOperationsResponse struct { // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // Operations: A list of operations that matches the specified filter in // the request. Operations []*GoogleLongrunningOperation `json:"operations,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleLongrunningListOperationsResponse: The response message for Operations.ListOperations.
func (*GoogleLongrunningListOperationsResponse) MarshalJSON ¶
func (s *GoogleLongrunningListOperationsResponse) MarshalJSON() ([]byte, error)
type GoogleLongrunningOperation ¶
type GoogleLongrunningOperation struct { // Done: If the value is `false`, it means the operation is still in // progress. If `true`, the operation is completed, and either `error` // or `response` is available. Done bool `json:"done,omitempty"` // Error: The error result of the operation in case of failure or // cancellation. Error *GoogleRpcStatus `json:"error,omitempty"` // Metadata: Service-specific metadata associated with the operation. It // typically contains progress information and common metadata such as // create time. Some services might not provide such metadata. Any // method that returns a long-running operation should document the // metadata type, if any. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: The server-assigned name, which is only unique within the same // service that originally returns it. If you use the default HTTP // mapping, the `name` should be a resource name ending with // `operations/{unique_id}`. Name string `json:"name,omitempty"` // Response: The normal response of the operation in case of success. If // the original method returns no data on success, such as `Delete`, the // response is `google.protobuf.Empty`. If the original method is // standard `Get`/`Create`/`Update`, the response should be the // resource. For other methods, the response should have the type // `XxxResponse`, where `Xxx` is the original method name. For example, // if the original method name is `TakeSnapshot()`, the inferred // response type is `TakeSnapshotResponse`. Response googleapi.RawMessage `json:"response,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Done") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Done") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleLongrunningOperation: This resource represents a long-running operation that is the result of a network API call.
func (*GoogleLongrunningOperation) MarshalJSON ¶
func (s *GoogleLongrunningOperation) MarshalJSON() ([]byte, error)
type GoogleProtobufEmpty ¶
type GoogleProtobufEmpty struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
GoogleProtobufEmpty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
type GoogleRpcStatus ¶
type GoogleRpcStatus struct { // Code: The status code, which should be an enum value of // google.rpc.Code. Code int64 `json:"code,omitempty"` // Details: A list of messages that carry the error details. There is a // common set of message types for APIs to use. Details []googleapi.RawMessage `json:"details,omitempty"` // Message: A developer-facing error message, which should be in // English. Any user-facing error message should be localized and sent // in the google.rpc.Status.details field, or localized by the client. Message string `json:"message,omitempty"` // ForceSendFields is a list of field names (e.g. "Code") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Code") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleRpcStatus: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).
func (*GoogleRpcStatus) MarshalJSON ¶
func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error)
type GoogleTypeLatLng ¶
type GoogleTypeLatLng struct { // Latitude: The latitude in degrees. It must be in the range [-90.0, // +90.0]. Latitude float64 `json:"latitude,omitempty"` // Longitude: The longitude in degrees. It must be in the range [-180.0, // +180.0]. Longitude float64 `json:"longitude,omitempty"` // ForceSendFields is a list of field names (e.g. "Latitude") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-interface field appearing in ForceSendFields will be sent to the // server regardless of whether the field is empty or not. This may be // used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Latitude") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleTypeLatLng: An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.
func (*GoogleTypeLatLng) MarshalJSON ¶
func (s *GoogleTypeLatLng) MarshalJSON() ([]byte, error)
func (*GoogleTypeLatLng) UnmarshalJSON ¶
func (s *GoogleTypeLatLng) UnmarshalJSON(data []byte) error
type ProjectsLocationsAgentsCreateCall ¶
type ProjectsLocationsAgentsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsCreateCall) Context ¶
func (c *ProjectsLocationsAgentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsCreateCall) Do ¶
func (c *ProjectsLocationsAgentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Agent, error)
Do executes the "dialogflow.projects.locations.agents.create" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Agent or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Agent.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsCreateCall) Fields ¶
func (c *ProjectsLocationsAgentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsCreateCall) Header ¶
func (c *ProjectsLocationsAgentsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsDeleteCall ¶
type ProjectsLocationsAgentsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsDeleteCall) Context ¶
func (c *ProjectsLocationsAgentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsDeleteCall) Do ¶
func (c *ProjectsLocationsAgentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agents.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsDeleteCall) Fields ¶
func (c *ProjectsLocationsAgentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsDeleteCall) Header ¶
func (c *ProjectsLocationsAgentsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsEntityTypesCreateCall ¶
type ProjectsLocationsAgentsEntityTypesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEntityTypesCreateCall) Context ¶
func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEntityTypesCreateCall) Do ¶
func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1EntityType, error)
Do executes the "dialogflow.projects.locations.agents.entityTypes.create" call. Exactly one of *GoogleCloudDialogflowCxV3beta1EntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1EntityType.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEntityTypesCreateCall) Fields ¶
func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEntityTypesCreateCall) Header ¶
func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsEntityTypesCreateCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsEntityTypesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesCreateCall
LanguageCode sets the optional parameter "languageCode": The language of the following fields in `entity_type`: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
type ProjectsLocationsAgentsEntityTypesDeleteCall ¶
type ProjectsLocationsAgentsEntityTypesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEntityTypesDeleteCall) Context ¶
func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEntityTypesDeleteCall) Do ¶
func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agents.entityTypes.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEntityTypesDeleteCall) Fields ¶
func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEntityTypesDeleteCall) Force ¶
func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Force(force bool) *ProjectsLocationsAgentsEntityTypesDeleteCall
Force sets the optional parameter "force": This field has no effect for entity type not being used. For entity types that are used by intents or pages: * If `force` is set to false, an error will be returned with message indicating the referencing resources. * If `force` is set to true, Dialogflow will remove the entity type, as well as any references to the entity type (i.e. Page parameter of the entity type will be changed to '@sys.any' and intent parameter of the entity type will be removed).
func (*ProjectsLocationsAgentsEntityTypesDeleteCall) Header ¶
func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsEntityTypesGetCall ¶
type ProjectsLocationsAgentsEntityTypesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEntityTypesGetCall) Context ¶
func (c *ProjectsLocationsAgentsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEntityTypesGetCall) Do ¶
func (c *ProjectsLocationsAgentsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1EntityType, error)
Do executes the "dialogflow.projects.locations.agents.entityTypes.get" call. Exactly one of *GoogleCloudDialogflowCxV3beta1EntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1EntityType.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEntityTypesGetCall) Fields ¶
func (c *ProjectsLocationsAgentsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEntityTypesGetCall) Header ¶
func (c *ProjectsLocationsAgentsEntityTypesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsEntityTypesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEntityTypesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsEntityTypesGetCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsEntityTypesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesGetCall
LanguageCode sets the optional parameter "languageCode": The language to retrieve the entity type for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
type ProjectsLocationsAgentsEntityTypesListCall ¶
type ProjectsLocationsAgentsEntityTypesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEntityTypesListCall) Context ¶
func (c *ProjectsLocationsAgentsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEntityTypesListCall) Do ¶
func (c *ProjectsLocationsAgentsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse, error)
Do executes the "dialogflow.projects.locations.agents.entityTypes.list" call. Exactly one of *GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse.ServerResponse. Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEntityTypesListCall) Fields ¶
func (c *ProjectsLocationsAgentsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEntityTypesListCall) Header ¶
func (c *ProjectsLocationsAgentsEntityTypesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsEntityTypesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEntityTypesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsEntityTypesListCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsEntityTypesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesListCall
LanguageCode sets the optional parameter "languageCode": The language to list entity types for. The following fields are language dependent: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
func (*ProjectsLocationsAgentsEntityTypesListCall) PageSize ¶
func (c *ProjectsLocationsAgentsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEntityTypesListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 100 and at most 1000.
func (*ProjectsLocationsAgentsEntityTypesListCall) PageToken ¶
func (c *ProjectsLocationsAgentsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEntityTypesListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentsEntityTypesListCall) Pages ¶
func (c *ProjectsLocationsAgentsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsAgentsEntityTypesPatchCall ¶
type ProjectsLocationsAgentsEntityTypesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEntityTypesPatchCall) Context ¶
func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEntityTypesPatchCall) Do ¶
func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1EntityType, error)
Do executes the "dialogflow.projects.locations.agents.entityTypes.patch" call. Exactly one of *GoogleCloudDialogflowCxV3beta1EntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1EntityType.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEntityTypesPatchCall) Fields ¶
func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEntityTypesPatchCall) Header ¶
func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsEntityTypesPatchCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsEntityTypesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesPatchCall
LanguageCode sets the optional parameter "languageCode": The language of the following fields in `entity_type`: * `EntityType.entities.value` * `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
func (*ProjectsLocationsAgentsEntityTypesPatchCall) UpdateMask ¶
func (c *ProjectsLocationsAgentsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEntityTypesPatchCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated.
type ProjectsLocationsAgentsEntityTypesService ¶
type ProjectsLocationsAgentsEntityTypesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAgentsEntityTypesService ¶
func NewProjectsLocationsAgentsEntityTypesService(s *Service) *ProjectsLocationsAgentsEntityTypesService
func (*ProjectsLocationsAgentsEntityTypesService) Create ¶
func (r *ProjectsLocationsAgentsEntityTypesService) Create(parent string, googleclouddialogflowcxv3beta1entitytype *GoogleCloudDialogflowCxV3beta1EntityType) *ProjectsLocationsAgentsEntityTypesCreateCall
Create: Creates an entity type in the specified agent.
- parent: The agent to create a entity type for. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsEntityTypesService) Delete ¶
func (r *ProjectsLocationsAgentsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEntityTypesDeleteCall
Delete: Deletes the specified entity type.
- name: The name of the entity type to delete. Format: `projects//locations//agents//entityTypes/`.
func (*ProjectsLocationsAgentsEntityTypesService) Get ¶
func (r *ProjectsLocationsAgentsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEntityTypesGetCall
Get: Retrieves the specified entity type.
- name: The name of the entity type. Format: `projects//locations//agents//entityTypes/`.
func (*ProjectsLocationsAgentsEntityTypesService) List ¶
func (r *ProjectsLocationsAgentsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEntityTypesListCall
List: Returns the list of all entity types in the specified agent.
- parent: The agent to list all entity types for. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsEntityTypesService) Patch ¶
func (r *ProjectsLocationsAgentsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3beta1entitytype *GoogleCloudDialogflowCxV3beta1EntityType) *ProjectsLocationsAgentsEntityTypesPatchCall
Patch: Updates the specified entity type.
- name: The unique identifier of the entity type. Required for EntityTypes.UpdateEntityType. Format: `projects//locations//agents//entityTypes/`.
type ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall ¶
type ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse, error)
Do executes the "dialogflow.projects.locations.agents.environments.continuousTestResults.list" call. Exactly one of *GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse.Serve rResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) PageSize ¶
func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 100 and at most 1000.
func (*ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) PageToken ¶
func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) Pages ¶
func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsAgentsEnvironmentsContinuousTestResultsService ¶
type ProjectsLocationsAgentsEnvironmentsContinuousTestResultsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAgentsEnvironmentsContinuousTestResultsService ¶
func NewProjectsLocationsAgentsEnvironmentsContinuousTestResultsService(s *Service) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsService
func (*ProjectsLocationsAgentsEnvironmentsContinuousTestResultsService) List ¶
func (r *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall
List: Fetches a list of continuous test results for a given environment.
- parent: The environment to list results for. Format: `projects//locations//agents// environments/`.
type ProjectsLocationsAgentsEnvironmentsCreateCall ¶
type ProjectsLocationsAgentsEnvironmentsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsCreateCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsCreateCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agents.environments.create" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsCreateCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsCreateCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsEnvironmentsDeleteCall ¶
type ProjectsLocationsAgentsEnvironmentsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsDeleteCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsDeleteCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agents.environments.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsDeleteCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsDeleteCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall ¶
type ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Experiment, error)
Do executes the "dialogflow.projects.locations.agents.environments.experiments.create" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Experiment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Experiment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall ¶
type ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agents.environments.experiments.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsEnvironmentsExperimentsGetCall ¶
type ProjectsLocationsAgentsEnvironmentsExperimentsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Experiment, error)
Do executes the "dialogflow.projects.locations.agents.environments.experiments.get" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Experiment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Experiment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsAgentsEnvironmentsExperimentsListCall ¶
type ProjectsLocationsAgentsEnvironmentsExperimentsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsExperimentsListCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsListCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListExperimentsResponse, error)
Do executes the "dialogflow.projects.locations.agents.environments.experiments.list" call. Exactly one of *GoogleCloudDialogflowCxV3beta1ListExperimentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1ListExperimentsResponse.ServerResponse. Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsListCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsListCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsExperimentsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsListCall) PageSize ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsExperimentsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 20 and at most 100.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsListCall) PageToken ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsExperimentsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsListCall) Pages ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListExperimentsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall ¶
type ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Experiment, error)
Do executes the "dialogflow.projects.locations.agents.environments.experiments.patch" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Experiment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Experiment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The mask to control which fields get updated.
type ProjectsLocationsAgentsEnvironmentsExperimentsService ¶
type ProjectsLocationsAgentsEnvironmentsExperimentsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAgentsEnvironmentsExperimentsService ¶
func NewProjectsLocationsAgentsEnvironmentsExperimentsService(s *Service) *ProjectsLocationsAgentsEnvironmentsExperimentsService
func (*ProjectsLocationsAgentsEnvironmentsExperimentsService) Create ¶
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Create(parent string, googleclouddialogflowcxv3beta1experiment *GoogleCloudDialogflowCxV3beta1Experiment) *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall
Create: Creates an Experiment in the specified Environment.
- parent: The Agent to create an Environment for. Format: `projects//locations//agents//environments/`.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsService) Delete ¶
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall
Delete: Deletes the specified Experiment.
- name: The name of the Environment to delete. Format: `projects//locations//agents//environments//experiments/`.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsService) Get ¶
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Get(name string) *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall
Get: Retrieves the specified Experiment.
- name: The name of the Environment. Format: `projects//locations//agents//environments//experiments/`.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsService) List ¶
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsExperimentsListCall
List: Returns the list of all experiments in the specified Environment.
- parent: The Environment to list all environments for. Format: `projects//locations//agents//environments/`.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsService) Patch ¶
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Patch(name string, googleclouddialogflowcxv3beta1experiment *GoogleCloudDialogflowCxV3beta1Experiment) *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall
Patch: Updates the specified Experiment.
- name: The name of the experiment. Format: projects//locations//agents//environments//experiments/..
func (*ProjectsLocationsAgentsEnvironmentsExperimentsService) Start ¶
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Start(name string, googleclouddialogflowcxv3beta1startexperimentrequest *GoogleCloudDialogflowCxV3beta1StartExperimentRequest) *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall
Start: Starts the specified Experiment. This rpc only changes the state of experiment from PENDING to RUNNING.
- name: Resource name of the experiment to start. Format: `projects//locations//agents//environments//experiments/`.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsService) Stop ¶
func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Stop(name string, googleclouddialogflowcxv3beta1stopexperimentrequest *GoogleCloudDialogflowCxV3beta1StopExperimentRequest) *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall
Stop: Stops the specified Experiment. This rpc only changes the state of experiment from RUNNING to DONE.
- name: Resource name of the experiment to stop. Format: `projects//locations//agents//environments//experiments/`.
type ProjectsLocationsAgentsEnvironmentsExperimentsStartCall ¶
type ProjectsLocationsAgentsEnvironmentsExperimentsStartCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsExperimentsStartCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsStartCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Experiment, error)
Do executes the "dialogflow.projects.locations.agents.environments.experiments.start" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Experiment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Experiment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsStartCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsStartCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsEnvironmentsExperimentsStopCall ¶
type ProjectsLocationsAgentsEnvironmentsExperimentsStopCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsExperimentsStopCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsStopCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Experiment, error)
Do executes the "dialogflow.projects.locations.agents.environments.experiments.stop" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Experiment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Experiment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsStopCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsExperimentsStopCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsEnvironmentsGetCall ¶
type ProjectsLocationsAgentsEnvironmentsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsGetCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsGetCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Environment, error)
Do executes the "dialogflow.projects.locations.agents.environments.get" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Environment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Environment.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsGetCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsGetCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsEnvironmentsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsEnvironmentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsAgentsEnvironmentsListCall ¶
type ProjectsLocationsAgentsEnvironmentsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsListCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsListCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse, error)
Do executes the "dialogflow.projects.locations.agents.environments.list" call. Exactly one of *GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse.ServerResponse .Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsListCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsListCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsEnvironmentsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsEnvironmentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsEnvironmentsListCall) PageSize ¶
func (c *ProjectsLocationsAgentsEnvironmentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 20 and at most 100.
func (*ProjectsLocationsAgentsEnvironmentsListCall) PageToken ¶
func (c *ProjectsLocationsAgentsEnvironmentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentsEnvironmentsListCall) Pages ¶
func (c *ProjectsLocationsAgentsEnvironmentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListEnvironmentsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall ¶
type ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse, error)
Do executes the "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory" call. Exactly one of *GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse.Server Response.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageSize ¶
func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 100 and at most 1000.
func (*ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageToken ¶
func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Pages ¶
func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1LookupEnvironmentHistoryResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsAgentsEnvironmentsPatchCall ¶
type ProjectsLocationsAgentsEnvironmentsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsPatchCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsPatchCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agents.environments.patch" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsPatchCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsPatchCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsEnvironmentsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The mask to control which fields get updated.
type ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall ¶
type ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agents.environments.runContinuousTest" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsEnvironmentsService ¶
type ProjectsLocationsAgentsEnvironmentsService struct { ContinuousTestResults *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsService Experiments *ProjectsLocationsAgentsEnvironmentsExperimentsService Sessions *ProjectsLocationsAgentsEnvironmentsSessionsService // contains filtered or unexported fields }
func NewProjectsLocationsAgentsEnvironmentsService ¶
func NewProjectsLocationsAgentsEnvironmentsService(s *Service) *ProjectsLocationsAgentsEnvironmentsService
func (*ProjectsLocationsAgentsEnvironmentsService) Create ¶
func (r *ProjectsLocationsAgentsEnvironmentsService) Create(parent string, googleclouddialogflowcxv3beta1environment *GoogleCloudDialogflowCxV3beta1Environment) *ProjectsLocationsAgentsEnvironmentsCreateCall
Create: Creates an Environment in the specified Agent.
- parent: The Agent to create an Environment for. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsEnvironmentsService) Delete ¶
func (r *ProjectsLocationsAgentsEnvironmentsService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsDeleteCall
Delete: Deletes the specified Environment.
- name: The name of the Environment to delete. Format: `projects//locations//agents//environments/`.
func (*ProjectsLocationsAgentsEnvironmentsService) Get ¶
func (r *ProjectsLocationsAgentsEnvironmentsService) Get(name string) *ProjectsLocationsAgentsEnvironmentsGetCall
Get: Retrieves the specified Environment.
- name: The name of the Environment. Format: `projects//locations//agents//environments/`.
func (*ProjectsLocationsAgentsEnvironmentsService) List ¶
func (r *ProjectsLocationsAgentsEnvironmentsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsListCall
List: Returns the list of all environments in the specified Agent.
- parent: The Agent to list all environments for. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsEnvironmentsService) LookupEnvironmentHistory ¶
func (r *ProjectsLocationsAgentsEnvironmentsService) LookupEnvironmentHistory(name string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall
LookupEnvironmentHistory: Looks up the history of the specified Environment.
- name: Resource name of the environment to look up the history for. Format: `projects//locations//agents//environments/`.
func (*ProjectsLocationsAgentsEnvironmentsService) Patch ¶
func (r *ProjectsLocationsAgentsEnvironmentsService) Patch(name string, googleclouddialogflowcxv3beta1environment *GoogleCloudDialogflowCxV3beta1Environment) *ProjectsLocationsAgentsEnvironmentsPatchCall
Patch: Updates the specified Environment.
- name: The name of the environment. Format: `projects//locations//agents//environments/`.
func (*ProjectsLocationsAgentsEnvironmentsService) RunContinuousTest ¶
func (r *ProjectsLocationsAgentsEnvironmentsService) RunContinuousTest(environment string, googleclouddialogflowcxv3beta1runcontinuoustestrequest *GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest) *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall
RunContinuousTest: Kicks off a continuous test under the specified Environment.
- environment: Format: `projects//locations//agents//environments/`.
type ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall ¶
type ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1DetectIntentResponse, error)
Do executes the "dialogflow.projects.locations.agents.environments.sessions.detectIntent" call. Exactly one of *GoogleCloudDialogflowCxV3beta1DetectIntentResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1DetectIntentResponse.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall ¶
type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error)
Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create" call. Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header
or (if a response was returned at all) in
error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall ¶
type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall ¶
type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error)
Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get" call. Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header
or (if a response was returned at all) in
error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall ¶
type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse, error)
Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list" call. Exactly one of *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse.ServerRe sponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageSize ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 100 and at most 1000.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageToken ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Pages ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall ¶
type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error)
Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch" call. Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header
or (if a response was returned at all) in
error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) UpdateMask ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated.
type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService ¶
type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService ¶
func NewProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService(s *Service) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Create ¶
func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall
Create: Creates a session entity type.
- parent: The session to create a session entity type for. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Delete ¶
func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall
Delete: Deletes the specified session entity type.
- name: The name of the session entity type to delete. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Get ¶
func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall
Get: Retrieves the specified session entity type.
- name: The name of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) List ¶
func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall
List: Returns the list of all session entity types in the specified session.
- parent: The session to list all session entity types from. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.
func (*ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Patch ¶
func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall
Patch: Updates the specified session entity type.
- name: The unique identifier of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.
type ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall ¶
type ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1FulfillIntentResponse, error)
Do executes the "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent" call. Exactly one of *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse.ServerResponse.He ader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall ¶
type ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Context ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Do ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1MatchIntentResponse, error)
Do executes the "dialogflow.projects.locations.agents.environments.sessions.matchIntent" call. Exactly one of *GoogleCloudDialogflowCxV3beta1MatchIntentResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1MatchIntentResponse.ServerResponse.Head er or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Fields ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Header ¶
func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsEnvironmentsSessionsService ¶
type ProjectsLocationsAgentsEnvironmentsSessionsService struct { EntityTypes *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService // contains filtered or unexported fields }
func NewProjectsLocationsAgentsEnvironmentsSessionsService ¶
func NewProjectsLocationsAgentsEnvironmentsSessionsService(s *Service) *ProjectsLocationsAgentsEnvironmentsSessionsService
func (*ProjectsLocationsAgentsEnvironmentsSessionsService) DetectIntent ¶
func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3beta1detectintentrequest *GoogleCloudDialogflowCxV3beta1DetectIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall
DetectIntent: Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See Versions and environments (https://cloud.google.com/dialogflow/cx/docs/concept/version).
- session: The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the sessions guide (https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See Versions and environments (https://cloud.google.com/dialogflow/cx/docs/concept/version).
func (*ProjectsLocationsAgentsEnvironmentsSessionsService) FulfillIntent ¶
func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3beta1fulfillintentrequest *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall
FulfillIntent: Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.
- session: The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the sessions guide (https://cloud.google.com/dialogflow/cx/docs/concept/session).
func (*ProjectsLocationsAgentsEnvironmentsSessionsService) MatchIntent ¶
func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3beta1matchintentrequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall
MatchIntent: Returns preliminary intent match results, doesn't change the session status.
- session: The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the sessions guide (https://cloud.google.com/dialogflow/cx/docs/concept/session).
type ProjectsLocationsAgentsExportCall ¶
type ProjectsLocationsAgentsExportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsExportCall) Context ¶
func (c *ProjectsLocationsAgentsExportCall) Context(ctx context.Context) *ProjectsLocationsAgentsExportCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsExportCall) Do ¶
func (c *ProjectsLocationsAgentsExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agents.export" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsExportCall) Fields ¶
func (c *ProjectsLocationsAgentsExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsExportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsExportCall) Header ¶
func (c *ProjectsLocationsAgentsExportCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsFlowsCreateCall ¶
type ProjectsLocationsAgentsFlowsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsCreateCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsCreateCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Flow, error)
Do executes the "dialogflow.projects.locations.agents.flows.create" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Flow or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Flow.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsCreateCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsCreateCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsFlowsCreateCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsFlowsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsCreateCall
LanguageCode sets the optional parameter "languageCode": The language of the following fields in `flow`: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * `Flow.transition_routes.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.conditional_cases` If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
type ProjectsLocationsAgentsFlowsDeleteCall ¶
type ProjectsLocationsAgentsFlowsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsDeleteCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsDeleteCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agents.flows.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsDeleteCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsDeleteCall) Force ¶
func (c *ProjectsLocationsAgentsFlowsDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsDeleteCall
Force sets the optional parameter "force": This field has no effect for flows with no incoming transitions. For flows with incoming transitions: * If `force` is set to false, an error will be returned with message indicating the incoming transitions. * If `force` is set to true, Dialogflow will remove the flow, as well as any transitions to the flow (i.e. Target flow in event handlers or Target flow in transition routes that point to this flow will be cleared).
func (*ProjectsLocationsAgentsFlowsDeleteCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsFlowsExportCall ¶
type ProjectsLocationsAgentsFlowsExportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsExportCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsExportCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsExportCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsExportCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agents.flows.export" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsExportCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsExportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsExportCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsExportCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsFlowsGetCall ¶
type ProjectsLocationsAgentsFlowsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsGetCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsGetCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Flow, error)
Do executes the "dialogflow.projects.locations.agents.flows.get" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Flow or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Flow.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsGetCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsGetCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsFlowsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsFlowsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsFlowsGetCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsFlowsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsGetCall
LanguageCode sets the optional parameter "languageCode": The language to retrieve the flow for. The following fields are language dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * `Flow.transition_routes.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.conditional_cases` If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
type ProjectsLocationsAgentsFlowsGetValidationResultCall ¶
type ProjectsLocationsAgentsFlowsGetValidationResultCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsGetValidationResultCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsGetValidationResultCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsGetValidationResultCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsGetValidationResultCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsGetValidationResultCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1FlowValidationResult, error)
Do executes the "dialogflow.projects.locations.agents.flows.getValidationResult" call. Exactly one of *GoogleCloudDialogflowCxV3beta1FlowValidationResult or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1FlowValidationResult.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsGetValidationResultCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsGetValidationResultCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsGetValidationResultCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsGetValidationResultCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsGetValidationResultCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsFlowsGetValidationResultCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsFlowsGetValidationResultCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsGetValidationResultCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsFlowsGetValidationResultCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsFlowsGetValidationResultCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsGetValidationResultCall
LanguageCode sets the optional parameter "languageCode": If not specified, the agent's default language is used.
type ProjectsLocationsAgentsFlowsImportCall ¶
type ProjectsLocationsAgentsFlowsImportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsImportCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsImportCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsImportCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsImportCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agents.flows.import" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsImportCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsImportCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsImportCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsFlowsListCall ¶
type ProjectsLocationsAgentsFlowsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsListCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsListCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListFlowsResponse, error)
Do executes the "dialogflow.projects.locations.agents.flows.list" call. Exactly one of *GoogleCloudDialogflowCxV3beta1ListFlowsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1ListFlowsResponse.ServerResponse.Header
or (if a response was returned at all) in
error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsListCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsListCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsFlowsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsFlowsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsFlowsListCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsFlowsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsListCall
LanguageCode sets the optional parameter "languageCode": The language to list flows for. The following fields are language dependent: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * `Flow.transition_routes.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.conditional_cases` If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
func (*ProjectsLocationsAgentsFlowsListCall) PageSize ¶
func (c *ProjectsLocationsAgentsFlowsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 100 and at most 1000.
func (*ProjectsLocationsAgentsFlowsListCall) PageToken ¶
func (c *ProjectsLocationsAgentsFlowsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentsFlowsListCall) Pages ¶
func (c *ProjectsLocationsAgentsFlowsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListFlowsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsAgentsFlowsPagesCreateCall ¶
type ProjectsLocationsAgentsFlowsPagesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsPagesCreateCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsPagesCreateCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Page, error)
Do executes the "dialogflow.projects.locations.agents.flows.pages.create" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Page or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Page.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsPagesCreateCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsPagesCreateCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsFlowsPagesCreateCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesCreateCall
LanguageCode sets the optional parameter "languageCode": The language of the following fields in `page`: * `Page.entry_fulfillment.messages` * `Page.entry_fulfillment.conditional_cases` * `Page.event_handlers.trigger_fulfillment.messages` * `Page.event_handlers.trigger_fulfillment.conditional_cases` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message s` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditi onal_cases` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditiona l_cases` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_routes.trigger_fulfillment.conditional_cases` If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
type ProjectsLocationsAgentsFlowsPagesDeleteCall ¶
type ProjectsLocationsAgentsFlowsPagesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsPagesDeleteCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsPagesDeleteCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agents.flows.pages.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsPagesDeleteCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsPagesDeleteCall) Force ¶
func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsPagesDeleteCall
Force sets the optional parameter "force": This field has no effect for pages with no incoming transitions. For pages with incoming transitions: * If `force` is set to false, an error will be returned with message indicating the incoming transitions. * If `force` is set to true, Dialogflow will remove the page, as well as any transitions to the page (i.e. Target page in event handlers or Target page in transition routes that point to this page will be cleared).
func (*ProjectsLocationsAgentsFlowsPagesDeleteCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsFlowsPagesGetCall ¶
type ProjectsLocationsAgentsFlowsPagesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsPagesGetCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsPagesGetCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Page, error)
Do executes the "dialogflow.projects.locations.agents.flows.pages.get" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Page or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Page.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsPagesGetCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsPagesGetCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsFlowsPagesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsFlowsPagesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsPagesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsFlowsPagesGetCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsFlowsPagesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesGetCall
LanguageCode sets the optional parameter "languageCode": The language to retrieve the page for. The following fields are language dependent: * `Page.entry_fulfillment.messages` * `Page.entry_fulfillment.conditional_cases` * `Page.event_handlers.trigger_fulfillment.messages` * `Page.event_handlers.trigger_fulfillment.conditional_cases` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message s` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditi onal_cases` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditiona l_cases` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_routes.trigger_fulfillment.conditional_cases` If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
type ProjectsLocationsAgentsFlowsPagesListCall ¶
type ProjectsLocationsAgentsFlowsPagesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsPagesListCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsPagesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsPagesListCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListPagesResponse, error)
Do executes the "dialogflow.projects.locations.agents.flows.pages.list" call. Exactly one of *GoogleCloudDialogflowCxV3beta1ListPagesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1ListPagesResponse.ServerResponse.Header
or (if a response was returned at all) in
error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsPagesListCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsPagesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsPagesListCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsPagesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsFlowsPagesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsFlowsPagesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsPagesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsFlowsPagesListCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsFlowsPagesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesListCall
LanguageCode sets the optional parameter "languageCode": The language to list pages for. The following fields are language dependent: * `Page.entry_fulfillment.messages` * `Page.entry_fulfillment.conditional_cases` * `Page.event_handlers.trigger_fulfillment.messages` * `Page.event_handlers.trigger_fulfillment.conditional_cases` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message s` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditi onal_cases` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditiona l_cases` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_routes.trigger_fulfillment.conditional_cases` If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
func (*ProjectsLocationsAgentsFlowsPagesListCall) PageSize ¶
func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsPagesListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 100 and at most 1000.
func (*ProjectsLocationsAgentsFlowsPagesListCall) PageToken ¶
func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsPagesListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentsFlowsPagesListCall) Pages ¶
func (c *ProjectsLocationsAgentsFlowsPagesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListPagesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsAgentsFlowsPagesPatchCall ¶
type ProjectsLocationsAgentsFlowsPagesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsPagesPatchCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsPagesPatchCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Page, error)
Do executes the "dialogflow.projects.locations.agents.flows.pages.patch" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Page or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Page.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsPagesPatchCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsPagesPatchCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsFlowsPagesPatchCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesPatchCall
LanguageCode sets the optional parameter "languageCode": The language of the following fields in `page`: * `Page.entry_fulfillment.messages` * `Page.entry_fulfillment.conditional_cases` * `Page.event_handlers.trigger_fulfillment.messages` * `Page.event_handlers.trigger_fulfillment.conditional_cases` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.message s` * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditi onal_cases` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditiona l_cases` * `Page.transition_routes.trigger_fulfillment.messages` * `Page.transition_routes.trigger_fulfillment.conditional_cases` If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
func (*ProjectsLocationsAgentsFlowsPagesPatchCall) UpdateMask ¶
func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsPagesPatchCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated. If the mask is not present, all fields will be updated.
type ProjectsLocationsAgentsFlowsPagesService ¶
type ProjectsLocationsAgentsFlowsPagesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAgentsFlowsPagesService ¶
func NewProjectsLocationsAgentsFlowsPagesService(s *Service) *ProjectsLocationsAgentsFlowsPagesService
func (*ProjectsLocationsAgentsFlowsPagesService) Create ¶
func (r *ProjectsLocationsAgentsFlowsPagesService) Create(parent string, googleclouddialogflowcxv3beta1page *GoogleCloudDialogflowCxV3beta1Page) *ProjectsLocationsAgentsFlowsPagesCreateCall
Create: Creates a page in the specified flow.
- parent: The flow to create a page for. Format: `projects//locations//agents//flows/`.
func (*ProjectsLocationsAgentsFlowsPagesService) Delete ¶
func (r *ProjectsLocationsAgentsFlowsPagesService) Delete(name string) *ProjectsLocationsAgentsFlowsPagesDeleteCall
Delete: Deletes the specified page.
- name: The name of the page to delete. Format: `projects//locations//agents//Flows//pages/`.
func (*ProjectsLocationsAgentsFlowsPagesService) Get ¶
func (r *ProjectsLocationsAgentsFlowsPagesService) Get(name string) *ProjectsLocationsAgentsFlowsPagesGetCall
Get: Retrieves the specified page.
- name: The name of the page. Format: `projects//locations//agents//flows//pages/`.
func (*ProjectsLocationsAgentsFlowsPagesService) List ¶
func (r *ProjectsLocationsAgentsFlowsPagesService) List(parent string) *ProjectsLocationsAgentsFlowsPagesListCall
List: Returns the list of all pages in the specified flow.
- parent: The flow to list all pages for. Format: `projects//locations//agents//flows/`.
func (*ProjectsLocationsAgentsFlowsPagesService) Patch ¶
func (r *ProjectsLocationsAgentsFlowsPagesService) Patch(nameid string, googleclouddialogflowcxv3beta1page *GoogleCloudDialogflowCxV3beta1Page) *ProjectsLocationsAgentsFlowsPagesPatchCall
Patch: Updates the specified page.
- name: The unique identifier of the page. Required for the Pages.UpdatePage method. Pages.CreatePage populates the name automatically. Format: `projects//locations//agents//flows//pages/`.
type ProjectsLocationsAgentsFlowsPatchCall ¶
type ProjectsLocationsAgentsFlowsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsPatchCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsPatchCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Flow, error)
Do executes the "dialogflow.projects.locations.agents.flows.patch" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Flow or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Flow.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsPatchCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsPatchCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsFlowsPatchCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsFlowsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPatchCall
LanguageCode sets the optional parameter "languageCode": The language of the following fields in `flow`: * `Flow.event_handlers.trigger_fulfillment.messages` * `Flow.event_handlers.trigger_fulfillment.conditional_cases` * `Flow.transition_routes.trigger_fulfillment.messages` * `Flow.transition_routes.trigger_fulfillment.conditional_cases` If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
func (*ProjectsLocationsAgentsFlowsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsAgentsFlowsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The mask to control which fields get updated. If `update_mask` is not specified, an error will be returned.
type ProjectsLocationsAgentsFlowsService ¶
type ProjectsLocationsAgentsFlowsService struct { Pages *ProjectsLocationsAgentsFlowsPagesService TransitionRouteGroups *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService Versions *ProjectsLocationsAgentsFlowsVersionsService // contains filtered or unexported fields }
func NewProjectsLocationsAgentsFlowsService ¶
func NewProjectsLocationsAgentsFlowsService(s *Service) *ProjectsLocationsAgentsFlowsService
func (*ProjectsLocationsAgentsFlowsService) Create ¶
func (r *ProjectsLocationsAgentsFlowsService) Create(parent string, googleclouddialogflowcxv3beta1flow *GoogleCloudDialogflowCxV3beta1Flow) *ProjectsLocationsAgentsFlowsCreateCall
Create: Creates a flow in the specified agent.
- parent: The agent to create a flow for. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsFlowsService) Delete ¶
func (r *ProjectsLocationsAgentsFlowsService) Delete(name string) *ProjectsLocationsAgentsFlowsDeleteCall
Delete: Deletes a specified flow.
- name: The name of the flow to delete. Format: `projects//locations//agents//flows/`.
func (*ProjectsLocationsAgentsFlowsService) Export ¶
func (r *ProjectsLocationsAgentsFlowsService) Export(name string, googleclouddialogflowcxv3beta1exportflowrequest *GoogleCloudDialogflowCxV3beta1ExportFlowRequest) *ProjectsLocationsAgentsFlowsExportCall
Export: Exports the specified flow to a binary file. Note that resources (e.g. intents, entities, webhooks) that the flow references will also be exported.
- name: The name of the flow to export. Format: `projects//locations//agents//flows/`.
func (*ProjectsLocationsAgentsFlowsService) Get ¶
func (r *ProjectsLocationsAgentsFlowsService) Get(name string) *ProjectsLocationsAgentsFlowsGetCall
Get: Retrieves the specified flow.
- name: The name of the flow to get. Format: `projects//locations//agents//flows/`.
func (*ProjectsLocationsAgentsFlowsService) GetValidationResult ¶
func (r *ProjectsLocationsAgentsFlowsService) GetValidationResult(name string) *ProjectsLocationsAgentsFlowsGetValidationResultCall
GetValidationResult: Gets the latest flow validation result. Flow validation is performed when ValidateFlow is called.
- name: The flow name. Format: `projects//locations//agents//flows//validationResult`.
func (*ProjectsLocationsAgentsFlowsService) Import ¶
func (r *ProjectsLocationsAgentsFlowsService) Import(parent string, googleclouddialogflowcxv3beta1importflowrequest *GoogleCloudDialogflowCxV3beta1ImportFlowRequest) *ProjectsLocationsAgentsFlowsImportCall
Import: Imports the specified flow to the specified agent from a binary file.
- parent: The agent to import the flow into. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsFlowsService) List ¶
func (r *ProjectsLocationsAgentsFlowsService) List(parent string) *ProjectsLocationsAgentsFlowsListCall
List: Returns the list of all flows in the specified agent.
- parent: The agent containing the flows. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsFlowsService) Patch ¶
func (r *ProjectsLocationsAgentsFlowsService) Patch(nameid string, googleclouddialogflowcxv3beta1flow *GoogleCloudDialogflowCxV3beta1Flow) *ProjectsLocationsAgentsFlowsPatchCall
Patch: Updates the specified flow.
- name: The unique identifier of the flow. Format: `projects//locations//agents//flows/`.
func (*ProjectsLocationsAgentsFlowsService) Train ¶
func (r *ProjectsLocationsAgentsFlowsService) Train(name string, googleclouddialogflowcxv3beta1trainflowrequest *GoogleCloudDialogflowCxV3beta1TrainFlowRequest) *ProjectsLocationsAgentsFlowsTrainCall
Train: Trains the specified flow. Note that only the flow in 'draft' environment is trained.
- name: The flow to train. Format: `projects//locations//agents//flows/`.
func (*ProjectsLocationsAgentsFlowsService) Validate ¶
func (r *ProjectsLocationsAgentsFlowsService) Validate(name string, googleclouddialogflowcxv3beta1validateflowrequest *GoogleCloudDialogflowCxV3beta1ValidateFlowRequest) *ProjectsLocationsAgentsFlowsValidateCall
Validate: Validates the specified flow and creates or updates validation results. Please call this API after the training is completed to get the complete validation results.
- name: The flow to validate. Format: `projects//locations//agents//flows/`.
type ProjectsLocationsAgentsFlowsTrainCall ¶
type ProjectsLocationsAgentsFlowsTrainCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsTrainCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsTrainCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTrainCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsTrainCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsTrainCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agents.flows.train" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsTrainCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsTrainCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTrainCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsTrainCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsTrainCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall ¶
type ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, error)
Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create" call. Exactly one of *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall
LanguageCode sets the optional parameter "languageCode": The language of the following fields in `TransitionRouteGroup`: * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditiona l_cases` If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
type ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall ¶
type ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Force ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall
Force sets the optional parameter "force": This field has no effect for transition route group that no page is using. If the transition route group is referenced by any page: * If `force` is set to false, an error will be returned with message indicating pages that reference the transition route group. * If `force` is set to true, Dialogflow will remove the transition route group, as well as any reference to it.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall ¶
type ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, error)
Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get" call. Exactly one of *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall
LanguageCode sets the optional parameter "languageCode": The language to retrieve the transition route group for. The following fields are language dependent: * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditiona l_cases` If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
type ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall ¶
type ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse, error)
Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list" call. Exactly one of *GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse.Serve rResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall
LanguageCode sets the optional parameter "languageCode": The language to list transition route groups for. The following fields are language dependent: * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditiona l_cases` If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageSize ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 100 and at most 1000.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageToken ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Pages ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListTransitionRouteGroupsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall ¶
type ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TransitionRouteGroup, error)
Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch" call. Exactly one of *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall
LanguageCode sets the optional parameter "languageCode": The language of the following fields in `TransitionRouteGroup`: * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` * `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditiona l_cases` If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated.
type ProjectsLocationsAgentsFlowsTransitionRouteGroupsService ¶
type ProjectsLocationsAgentsFlowsTransitionRouteGroupsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAgentsFlowsTransitionRouteGroupsService ¶
func NewProjectsLocationsAgentsFlowsTransitionRouteGroupsService(s *Service) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Create ¶
func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Create(parent string, googleclouddialogflowcxv3beta1transitionroutegroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall
Create: Creates an TransitionRouteGroup in the specified flow.
- parent: The flow to create an TransitionRouteGroup for. Format: `projects//locations//agents//flows/`.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Delete ¶
func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Delete(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall
Delete: Deletes the specified TransitionRouteGroup.
- name: The name of the TransitionRouteGroup to delete. Format: `projects//locations//agents//flows//transitionRouteGroups/`.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Get ¶
func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Get(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall
Get: Retrieves the specified TransitionRouteGroup.
- name: The name of the TransitionRouteGroup. Format: `projects//locations//agents//flows//transitionRouteGroups/`.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) List ¶
func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) List(parent string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall
List: Returns the list of all transition route groups in the specified flow.
- parent: The flow to list all transition route groups for. Format: `projects//locations//agents//flows/`.
func (*ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Patch ¶
func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Patch(nameid string, googleclouddialogflowcxv3beta1transitionroutegroup *GoogleCloudDialogflowCxV3beta1TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall
Patch: Updates the specified TransitionRouteGroup.
- name: The unique identifier of the transition route group. TransitionRouteGroups.CreateTransitionRouteGroup populates the name automatically. Format: `projects//locations//agents//flows//transitionRouteGroups/`.
type ProjectsLocationsAgentsFlowsValidateCall ¶
type ProjectsLocationsAgentsFlowsValidateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsValidateCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsValidateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsValidateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsValidateCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsValidateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1FlowValidationResult, error)
Do executes the "dialogflow.projects.locations.agents.flows.validate" call. Exactly one of *GoogleCloudDialogflowCxV3beta1FlowValidationResult or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1FlowValidationResult.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsValidateCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsValidateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsValidateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsValidateCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsValidateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsFlowsVersionsCreateCall ¶
type ProjectsLocationsAgentsFlowsVersionsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsVersionsCreateCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsVersionsCreateCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agents.flows.versions.create" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsVersionsCreateCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsVersionsCreateCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsFlowsVersionsDeleteCall ¶
type ProjectsLocationsAgentsFlowsVersionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsVersionsDeleteCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsVersionsDeleteCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agents.flows.versions.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsVersionsDeleteCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsVersionsDeleteCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsFlowsVersionsGetCall ¶
type ProjectsLocationsAgentsFlowsVersionsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsVersionsGetCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsVersionsGetCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Version, error)
Do executes the "dialogflow.projects.locations.agents.flows.versions.get" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Version or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Version.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsVersionsGetCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsVersionsGetCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsFlowsVersionsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsVersionsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsAgentsFlowsVersionsListCall ¶
type ProjectsLocationsAgentsFlowsVersionsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsVersionsListCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsVersionsListCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListVersionsResponse, error)
Do executes the "dialogflow.projects.locations.agents.flows.versions.list" call. Exactly one of *GoogleCloudDialogflowCxV3beta1ListVersionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1ListVersionsResponse.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsVersionsListCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsVersionsListCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsFlowsVersionsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsFlowsVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsVersionsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsFlowsVersionsListCall) PageSize ¶
func (c *ProjectsLocationsAgentsFlowsVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsVersionsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 20 and at most 100.
func (*ProjectsLocationsAgentsFlowsVersionsListCall) PageToken ¶
func (c *ProjectsLocationsAgentsFlowsVersionsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsVersionsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentsFlowsVersionsListCall) Pages ¶
func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListVersionsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsAgentsFlowsVersionsLoadCall ¶
type ProjectsLocationsAgentsFlowsVersionsLoadCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsVersionsLoadCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsLoadCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsVersionsLoadCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agents.flows.versions.load" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsVersionsLoadCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsLoadCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsVersionsLoadCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsFlowsVersionsPatchCall ¶
type ProjectsLocationsAgentsFlowsVersionsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsFlowsVersionsPatchCall) Context ¶
func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsFlowsVersionsPatchCall) Do ¶
func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Version, error)
Do executes the "dialogflow.projects.locations.agents.flows.versions.patch" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Version or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Version.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsFlowsVersionsPatchCall) Fields ¶
func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsFlowsVersionsPatchCall) Header ¶
func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsFlowsVersionsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsVersionsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The mask to control which fields get updated. Currently only `description` and `display_name` can be updated.
type ProjectsLocationsAgentsFlowsVersionsService ¶
type ProjectsLocationsAgentsFlowsVersionsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAgentsFlowsVersionsService ¶
func NewProjectsLocationsAgentsFlowsVersionsService(s *Service) *ProjectsLocationsAgentsFlowsVersionsService
func (*ProjectsLocationsAgentsFlowsVersionsService) Create ¶
func (r *ProjectsLocationsAgentsFlowsVersionsService) Create(parent string, googleclouddialogflowcxv3beta1version *GoogleCloudDialogflowCxV3beta1Version) *ProjectsLocationsAgentsFlowsVersionsCreateCall
Create: Creates a Version in the specified Flow.
- parent: The Flow to create an Version for. Format: `projects//locations//agents//flows/`.
func (*ProjectsLocationsAgentsFlowsVersionsService) Delete ¶
func (r *ProjectsLocationsAgentsFlowsVersionsService) Delete(name string) *ProjectsLocationsAgentsFlowsVersionsDeleteCall
Delete: Deletes the specified Version.
- name: The name of the Version to delete. Format: `projects//locations//agents//flows//versions/`.
func (*ProjectsLocationsAgentsFlowsVersionsService) Get ¶
func (r *ProjectsLocationsAgentsFlowsVersionsService) Get(name string) *ProjectsLocationsAgentsFlowsVersionsGetCall
Get: Retrieves the specified Version.
- name: The name of the Version. Format: `projects//locations//agents//flows//versions/`.
func (*ProjectsLocationsAgentsFlowsVersionsService) List ¶
func (r *ProjectsLocationsAgentsFlowsVersionsService) List(parent string) *ProjectsLocationsAgentsFlowsVersionsListCall
List: Returns the list of all versions in the specified Flow.
- parent: The Flow to list all versions for. Format: `projects//locations//agents//flows/`.
func (*ProjectsLocationsAgentsFlowsVersionsService) Load ¶
func (r *ProjectsLocationsAgentsFlowsVersionsService) Load(name string, googleclouddialogflowcxv3beta1loadversionrequest *GoogleCloudDialogflowCxV3beta1LoadVersionRequest) *ProjectsLocationsAgentsFlowsVersionsLoadCall
Load: Loads resources in the specified version to the draft flow.
- name: The Version to be loaded to draft flow. Format: `projects//locations//agents//flows//versions/`.
func (*ProjectsLocationsAgentsFlowsVersionsService) Patch ¶
func (r *ProjectsLocationsAgentsFlowsVersionsService) Patch(name string, googleclouddialogflowcxv3beta1version *GoogleCloudDialogflowCxV3beta1Version) *ProjectsLocationsAgentsFlowsVersionsPatchCall
Patch: Updates the specified Version.
- name: Format: projects//locations//agents//flows//versions/. Version ID is a self-increasing number generated by Dialogflow upon version creation.
type ProjectsLocationsAgentsGetCall ¶
type ProjectsLocationsAgentsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsGetCall) Context ¶
func (c *ProjectsLocationsAgentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsGetCall) Do ¶
func (c *ProjectsLocationsAgentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Agent, error)
Do executes the "dialogflow.projects.locations.agents.get" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Agent or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Agent.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsGetCall) Fields ¶
func (c *ProjectsLocationsAgentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsGetCall) Header ¶
func (c *ProjectsLocationsAgentsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsAgentsGetValidationResultCall ¶
type ProjectsLocationsAgentsGetValidationResultCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsGetValidationResultCall) Context ¶
func (c *ProjectsLocationsAgentsGetValidationResultCall) Context(ctx context.Context) *ProjectsLocationsAgentsGetValidationResultCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsGetValidationResultCall) Do ¶
func (c *ProjectsLocationsAgentsGetValidationResultCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1AgentValidationResult, error)
Do executes the "dialogflow.projects.locations.agents.getValidationResult" call. Exactly one of *GoogleCloudDialogflowCxV3beta1AgentValidationResult or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1AgentValidationResult.ServerResponse.He ader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsGetValidationResultCall) Fields ¶
func (c *ProjectsLocationsAgentsGetValidationResultCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsGetValidationResultCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsGetValidationResultCall) Header ¶
func (c *ProjectsLocationsAgentsGetValidationResultCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsGetValidationResultCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsGetValidationResultCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsGetValidationResultCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsGetValidationResultCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsGetValidationResultCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsGetValidationResultCall
LanguageCode sets the optional parameter "languageCode": If not specified, the agent's default language is used.
type ProjectsLocationsAgentsIntentsCreateCall ¶
type ProjectsLocationsAgentsIntentsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsIntentsCreateCall) Context ¶
func (c *ProjectsLocationsAgentsIntentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsIntentsCreateCall) Do ¶
func (c *ProjectsLocationsAgentsIntentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Intent, error)
Do executes the "dialogflow.projects.locations.agents.intents.create" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Intent or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Intent.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsIntentsCreateCall) Fields ¶
func (c *ProjectsLocationsAgentsIntentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsIntentsCreateCall) Header ¶
func (c *ProjectsLocationsAgentsIntentsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsIntentsCreateCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsIntentsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsCreateCall
LanguageCode sets the optional parameter "languageCode": The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
type ProjectsLocationsAgentsIntentsDeleteCall ¶
type ProjectsLocationsAgentsIntentsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsIntentsDeleteCall) Context ¶
func (c *ProjectsLocationsAgentsIntentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsIntentsDeleteCall) Do ¶
func (c *ProjectsLocationsAgentsIntentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agents.intents.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsIntentsDeleteCall) Fields ¶
func (c *ProjectsLocationsAgentsIntentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsIntentsDeleteCall) Header ¶
func (c *ProjectsLocationsAgentsIntentsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsIntentsGetCall ¶
type ProjectsLocationsAgentsIntentsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsIntentsGetCall) Context ¶
func (c *ProjectsLocationsAgentsIntentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsIntentsGetCall) Do ¶
func (c *ProjectsLocationsAgentsIntentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Intent, error)
Do executes the "dialogflow.projects.locations.agents.intents.get" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Intent or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Intent.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsIntentsGetCall) Fields ¶
func (c *ProjectsLocationsAgentsIntentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsIntentsGetCall) Header ¶
func (c *ProjectsLocationsAgentsIntentsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsIntentsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsIntentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsIntentsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsIntentsGetCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsIntentsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsGetCall
LanguageCode sets the optional parameter "languageCode": The language to retrieve the intent for. The following fields are language dependent: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
type ProjectsLocationsAgentsIntentsListCall ¶
type ProjectsLocationsAgentsIntentsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsIntentsListCall) Context ¶
func (c *ProjectsLocationsAgentsIntentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsIntentsListCall) Do ¶
func (c *ProjectsLocationsAgentsIntentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListIntentsResponse, error)
Do executes the "dialogflow.projects.locations.agents.intents.list" call. Exactly one of *GoogleCloudDialogflowCxV3beta1ListIntentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1ListIntentsResponse.ServerResponse.Head er or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsIntentsListCall) Fields ¶
func (c *ProjectsLocationsAgentsIntentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsIntentsListCall) Header ¶
func (c *ProjectsLocationsAgentsIntentsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsIntentsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsIntentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsIntentsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsIntentsListCall) IntentView ¶
func (c *ProjectsLocationsAgentsIntentsListCall) IntentView(intentView string) *ProjectsLocationsAgentsIntentsListCall
IntentView sets the optional parameter "intentView": The resource view to apply to the returned intent.
Possible values:
"INTENT_VIEW_UNSPECIFIED" - Not specified. Treated as
INTENT_VIEW_FULL.
"INTENT_VIEW_PARTIAL" - Training phrases field is not populated in
the response.
"INTENT_VIEW_FULL" - All fields are populated.
func (*ProjectsLocationsAgentsIntentsListCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsIntentsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsListCall
LanguageCode sets the optional parameter "languageCode": The language to list intents for. The following fields are language dependent: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
func (*ProjectsLocationsAgentsIntentsListCall) PageSize ¶
func (c *ProjectsLocationsAgentsIntentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsIntentsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 100 and at most 1000.
func (*ProjectsLocationsAgentsIntentsListCall) PageToken ¶
func (c *ProjectsLocationsAgentsIntentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsIntentsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentsIntentsListCall) Pages ¶
func (c *ProjectsLocationsAgentsIntentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListIntentsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsAgentsIntentsPatchCall ¶
type ProjectsLocationsAgentsIntentsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsIntentsPatchCall) Context ¶
func (c *ProjectsLocationsAgentsIntentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsIntentsPatchCall) Do ¶
func (c *ProjectsLocationsAgentsIntentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Intent, error)
Do executes the "dialogflow.projects.locations.agents.intents.patch" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Intent or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Intent.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsIntentsPatchCall) Fields ¶
func (c *ProjectsLocationsAgentsIntentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsIntentsPatchCall) Header ¶
func (c *ProjectsLocationsAgentsIntentsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsIntentsPatchCall) LanguageCode ¶
func (c *ProjectsLocationsAgentsIntentsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsPatchCall
LanguageCode sets the optional parameter "languageCode": The language of the following fields in `intent`: * `Intent.training_phrases.parts.text` If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/cx/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
func (*ProjectsLocationsAgentsIntentsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsAgentsIntentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsIntentsPatchCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated. If the mask is not present, all fields will be updated.
type ProjectsLocationsAgentsIntentsService ¶
type ProjectsLocationsAgentsIntentsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAgentsIntentsService ¶
func NewProjectsLocationsAgentsIntentsService(s *Service) *ProjectsLocationsAgentsIntentsService
func (*ProjectsLocationsAgentsIntentsService) Create ¶
func (r *ProjectsLocationsAgentsIntentsService) Create(parent string, googleclouddialogflowcxv3beta1intent *GoogleCloudDialogflowCxV3beta1Intent) *ProjectsLocationsAgentsIntentsCreateCall
Create: Creates an intent in the specified agent.
- parent: The agent to create an intent for. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsIntentsService) Delete ¶
func (r *ProjectsLocationsAgentsIntentsService) Delete(name string) *ProjectsLocationsAgentsIntentsDeleteCall
Delete: Deletes the specified intent.
- name: The name of the intent to delete. Format: `projects//locations//agents//intents/`.
func (*ProjectsLocationsAgentsIntentsService) Get ¶
func (r *ProjectsLocationsAgentsIntentsService) Get(name string) *ProjectsLocationsAgentsIntentsGetCall
Get: Retrieves the specified intent.
- name: The name of the intent. Format: `projects//locations//agents//intents/`.
func (*ProjectsLocationsAgentsIntentsService) List ¶
func (r *ProjectsLocationsAgentsIntentsService) List(parent string) *ProjectsLocationsAgentsIntentsListCall
List: Returns the list of all intents in the specified agent.
- parent: The agent to list all intents for. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsIntentsService) Patch ¶
func (r *ProjectsLocationsAgentsIntentsService) Patch(nameid string, googleclouddialogflowcxv3beta1intent *GoogleCloudDialogflowCxV3beta1Intent) *ProjectsLocationsAgentsIntentsPatchCall
Patch: Updates the specified intent.
- name: The unique identifier of the intent. Required for the Intents.UpdateIntent method. Intents.CreateIntent populates the name automatically. Format: `projects//locations//agents//intents/`.
type ProjectsLocationsAgentsListCall ¶
type ProjectsLocationsAgentsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsListCall) Context ¶
func (c *ProjectsLocationsAgentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsListCall) Do ¶
func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListAgentsResponse, error)
Do executes the "dialogflow.projects.locations.agents.list" call. Exactly one of *GoogleCloudDialogflowCxV3beta1ListAgentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1ListAgentsResponse.ServerResponse.Heade r or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsListCall) Fields ¶
func (c *ProjectsLocationsAgentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsListCall) Header ¶
func (c *ProjectsLocationsAgentsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsListCall) PageSize ¶
func (c *ProjectsLocationsAgentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 100 and at most 1000.
func (*ProjectsLocationsAgentsListCall) PageToken ¶
func (c *ProjectsLocationsAgentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentsListCall) Pages ¶
func (c *ProjectsLocationsAgentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListAgentsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsAgentsPatchCall ¶
type ProjectsLocationsAgentsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsPatchCall) Context ¶
func (c *ProjectsLocationsAgentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsPatchCall) Do ¶
func (c *ProjectsLocationsAgentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Agent, error)
Do executes the "dialogflow.projects.locations.agents.patch" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Agent or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Agent.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsPatchCall) Fields ¶
func (c *ProjectsLocationsAgentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsPatchCall) Header ¶
func (c *ProjectsLocationsAgentsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsAgentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsPatchCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated. If the mask is not present, all fields will be updated.
type ProjectsLocationsAgentsRestoreCall ¶
type ProjectsLocationsAgentsRestoreCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsRestoreCall) Context ¶
func (c *ProjectsLocationsAgentsRestoreCall) Context(ctx context.Context) *ProjectsLocationsAgentsRestoreCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsRestoreCall) Do ¶
func (c *ProjectsLocationsAgentsRestoreCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agents.restore" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsRestoreCall) Fields ¶
func (c *ProjectsLocationsAgentsRestoreCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsRestoreCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsRestoreCall) Header ¶
func (c *ProjectsLocationsAgentsRestoreCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsService ¶
type ProjectsLocationsAgentsService struct { EntityTypes *ProjectsLocationsAgentsEntityTypesService Environments *ProjectsLocationsAgentsEnvironmentsService Flows *ProjectsLocationsAgentsFlowsService Intents *ProjectsLocationsAgentsIntentsService Sessions *ProjectsLocationsAgentsSessionsService TestCases *ProjectsLocationsAgentsTestCasesService Webhooks *ProjectsLocationsAgentsWebhooksService // contains filtered or unexported fields }
func NewProjectsLocationsAgentsService ¶
func NewProjectsLocationsAgentsService(s *Service) *ProjectsLocationsAgentsService
func (*ProjectsLocationsAgentsService) Create ¶
func (r *ProjectsLocationsAgentsService) Create(parent string, googleclouddialogflowcxv3beta1agent *GoogleCloudDialogflowCxV3beta1Agent) *ProjectsLocationsAgentsCreateCall
Create: Creates an agent in the specified location.
- parent: The location to create a agent for. Format: `projects//locations/`.
func (*ProjectsLocationsAgentsService) Delete ¶
func (r *ProjectsLocationsAgentsService) Delete(name string) *ProjectsLocationsAgentsDeleteCall
Delete: Deletes the specified agent.
- name: The name of the agent to delete. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsService) Export ¶
func (r *ProjectsLocationsAgentsService) Export(name string, googleclouddialogflowcxv3beta1exportagentrequest *GoogleCloudDialogflowCxV3beta1ExportAgentRequest) *ProjectsLocationsAgentsExportCall
Export: Exports the specified agent to a binary file.
- name: The name of the agent to export. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsService) Get ¶
func (r *ProjectsLocationsAgentsService) Get(name string) *ProjectsLocationsAgentsGetCall
Get: Retrieves the specified agent.
- name: The name of the agent. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsService) GetValidationResult ¶
func (r *ProjectsLocationsAgentsService) GetValidationResult(name string) *ProjectsLocationsAgentsGetValidationResultCall
GetValidationResult: Gets the latest agent validation result. Agent validation is performed when ValidateAgent is called.
- name: The agent name. Format: `projects//locations//agents//validationResult`.
func (*ProjectsLocationsAgentsService) List ¶
func (r *ProjectsLocationsAgentsService) List(parent string) *ProjectsLocationsAgentsListCall
List: Returns the list of all agents in the specified location.
- parent: The location to list all agents for. Format: `projects//locations/`.
func (*ProjectsLocationsAgentsService) Patch ¶
func (r *ProjectsLocationsAgentsService) Patch(nameid string, googleclouddialogflowcxv3beta1agent *GoogleCloudDialogflowCxV3beta1Agent) *ProjectsLocationsAgentsPatchCall
Patch: Updates the specified agent.
- name: The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsService) Restore ¶
func (r *ProjectsLocationsAgentsService) Restore(name string, googleclouddialogflowcxv3beta1restoreagentrequest *GoogleCloudDialogflowCxV3beta1RestoreAgentRequest) *ProjectsLocationsAgentsRestoreCall
Restore: Restores the specified agent from a binary file. Replaces the current agent with a new one. Note that all existing resources in agent (e.g. intents, entity types, flows) will be removed.
- name: The name of the agent to restore into. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsService) Validate ¶
func (r *ProjectsLocationsAgentsService) Validate(name string, googleclouddialogflowcxv3beta1validateagentrequest *GoogleCloudDialogflowCxV3beta1ValidateAgentRequest) *ProjectsLocationsAgentsValidateCall
Validate: Validates the specified agent and creates or updates validation results. The agent in draft version is validated. Please call this API after the training is completed to get the complete validation results.
- name: The agent to validate. Format: `projects//locations//agents/`.
type ProjectsLocationsAgentsSessionsDetectIntentCall ¶
type ProjectsLocationsAgentsSessionsDetectIntentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsSessionsDetectIntentCall) Context ¶
func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsDetectIntentCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsSessionsDetectIntentCall) Do ¶
func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1DetectIntentResponse, error)
Do executes the "dialogflow.projects.locations.agents.sessions.detectIntent" call. Exactly one of *GoogleCloudDialogflowCxV3beta1DetectIntentResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1DetectIntentResponse.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsSessionsDetectIntentCall) Fields ¶
func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsDetectIntentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsSessionsDetectIntentCall) Header ¶
func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsSessionsEntityTypesCreateCall ¶
type ProjectsLocationsAgentsSessionsEntityTypesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Context ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Do ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error)
Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.create" call. Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header
or (if a response was returned at all) in
error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Fields ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Header ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsSessionsEntityTypesDeleteCall ¶
type ProjectsLocationsAgentsSessionsEntityTypesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Context ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Do ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Fields ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Header ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsSessionsEntityTypesGetCall ¶
type ProjectsLocationsAgentsSessionsEntityTypesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsSessionsEntityTypesGetCall) Context ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsSessionsEntityTypesGetCall) Do ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error)
Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.get" call. Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header
or (if a response was returned at all) in
error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsSessionsEntityTypesGetCall) Fields ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsSessionsEntityTypesGetCall) Header ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsSessionsEntityTypesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsAgentsSessionsEntityTypesListCall ¶
type ProjectsLocationsAgentsSessionsEntityTypesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsSessionsEntityTypesListCall) Context ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsSessionsEntityTypesListCall) Do ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse, error)
Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.list" call. Exactly one of *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse.ServerRe sponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsSessionsEntityTypesListCall) Fields ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsSessionsEntityTypesListCall) Header ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsSessionsEntityTypesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsSessionsEntityTypesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsSessionsEntityTypesListCall) PageSize ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsSessionsEntityTypesListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 100 and at most 1000.
func (*ProjectsLocationsAgentsSessionsEntityTypesListCall) PageToken ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsSessionsEntityTypesListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentsSessionsEntityTypesListCall) Pages ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListSessionEntityTypesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsAgentsSessionsEntityTypesPatchCall ¶
type ProjectsLocationsAgentsSessionsEntityTypesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Context ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Do ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SessionEntityType, error)
Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.patch" call. Exactly one of *GoogleCloudDialogflowCxV3beta1SessionEntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1SessionEntityType.ServerResponse.Header
or (if a response was returned at all) in
error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Fields ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Header ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsSessionsEntityTypesPatchCall) UpdateMask ¶
func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated.
type ProjectsLocationsAgentsSessionsEntityTypesService ¶
type ProjectsLocationsAgentsSessionsEntityTypesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAgentsSessionsEntityTypesService ¶
func NewProjectsLocationsAgentsSessionsEntityTypesService(s *Service) *ProjectsLocationsAgentsSessionsEntityTypesService
func (*ProjectsLocationsAgentsSessionsEntityTypesService) Create ¶
func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall
Create: Creates a session entity type.
- parent: The session to create a session entity type for. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.
func (*ProjectsLocationsAgentsSessionsEntityTypesService) Delete ¶
func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall
Delete: Deletes the specified session entity type.
- name: The name of the session entity type to delete. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.
func (*ProjectsLocationsAgentsSessionsEntityTypesService) Get ¶
func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall
Get: Retrieves the specified session entity type.
- name: The name of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.
func (*ProjectsLocationsAgentsSessionsEntityTypesService) List ¶
func (r *ProjectsLocationsAgentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsSessionsEntityTypesListCall
List: Returns the list of all session entity types in the specified session.
- parent: The session to list all session entity types from. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment.
func (*ProjectsLocationsAgentsSessionsEntityTypesService) Patch ¶
func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3beta1sessionentitytype *GoogleCloudDialogflowCxV3beta1SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall
Patch: Updates the specified session entity type.
- name: The unique identifier of the session entity type. Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' environment.
type ProjectsLocationsAgentsSessionsFulfillIntentCall ¶
type ProjectsLocationsAgentsSessionsFulfillIntentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsSessionsFulfillIntentCall) Context ¶
func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsFulfillIntentCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsSessionsFulfillIntentCall) Do ¶
func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1FulfillIntentResponse, error)
Do executes the "dialogflow.projects.locations.agents.sessions.fulfillIntent" call. Exactly one of *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1FulfillIntentResponse.ServerResponse.He ader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsSessionsFulfillIntentCall) Fields ¶
func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsFulfillIntentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsSessionsFulfillIntentCall) Header ¶
func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsSessionsMatchIntentCall ¶
type ProjectsLocationsAgentsSessionsMatchIntentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsSessionsMatchIntentCall) Context ¶
func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsMatchIntentCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsSessionsMatchIntentCall) Do ¶
func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1MatchIntentResponse, error)
Do executes the "dialogflow.projects.locations.agents.sessions.matchIntent" call. Exactly one of *GoogleCloudDialogflowCxV3beta1MatchIntentResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1MatchIntentResponse.ServerResponse.Head er or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsSessionsMatchIntentCall) Fields ¶
func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsMatchIntentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsSessionsMatchIntentCall) Header ¶
func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsSessionsService ¶
type ProjectsLocationsAgentsSessionsService struct { EntityTypes *ProjectsLocationsAgentsSessionsEntityTypesService // contains filtered or unexported fields }
func NewProjectsLocationsAgentsSessionsService ¶
func NewProjectsLocationsAgentsSessionsService(s *Service) *ProjectsLocationsAgentsSessionsService
func (*ProjectsLocationsAgentsSessionsService) DetectIntent ¶
func (r *ProjectsLocationsAgentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3beta1detectintentrequest *GoogleCloudDialogflowCxV3beta1DetectIntentRequest) *ProjectsLocationsAgentsSessionsDetectIntentCall
DetectIntent: Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause session entity types to be updated, which in turn might affect results of future queries. Note: Always use agent versions for production traffic. See Versions and environments (https://cloud.google.com/dialogflow/cx/docs/concept/version).
- session: The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the sessions guide (https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See Versions and environments (https://cloud.google.com/dialogflow/cx/docs/concept/version).
func (*ProjectsLocationsAgentsSessionsService) FulfillIntent ¶
func (r *ProjectsLocationsAgentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3beta1fulfillintentrequest *GoogleCloudDialogflowCxV3beta1FulfillIntentRequest) *ProjectsLocationsAgentsSessionsFulfillIntentCall
FulfillIntent: Fulfills a matched intent returned by MatchIntent. Must be called after MatchIntent, with input from MatchIntentResponse. Otherwise, the behavior is undefined.
- session: The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the sessions guide (https://cloud.google.com/dialogflow/cx/docs/concept/session).
func (*ProjectsLocationsAgentsSessionsService) MatchIntent ¶
func (r *ProjectsLocationsAgentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3beta1matchintentrequest *GoogleCloudDialogflowCxV3beta1MatchIntentRequest) *ProjectsLocationsAgentsSessionsMatchIntentCall
MatchIntent: Returns preliminary intent match results, doesn't change the session status.
- session: The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the sessions guide (https://cloud.google.com/dialogflow/cx/docs/concept/session).
type ProjectsLocationsAgentsTestCasesBatchDeleteCall ¶
type ProjectsLocationsAgentsTestCasesBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsTestCasesBatchDeleteCall) Context ¶
func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesBatchDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsTestCasesBatchDeleteCall) Do ¶
func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agents.testCases.batchDelete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsTestCasesBatchDeleteCall) Fields ¶
func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesBatchDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsTestCasesBatchDeleteCall) Header ¶
func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsTestCasesBatchRunCall ¶
type ProjectsLocationsAgentsTestCasesBatchRunCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsTestCasesBatchRunCall) Context ¶
func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesBatchRunCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsTestCasesBatchRunCall) Do ¶
func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agents.testCases.batchRun" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsTestCasesBatchRunCall) Fields ¶
func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesBatchRunCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsTestCasesBatchRunCall) Header ¶
func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsTestCasesCalculateCoverageCall ¶
type ProjectsLocationsAgentsTestCasesCalculateCoverageCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Context ¶
func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Do ¶
func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse, error)
Do executes the "dialogflow.projects.locations.agents.testCases.calculateCoverage" call. Exactly one of *GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1CalculateCoverageResponse.ServerRespons e.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Fields ¶
func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Header ¶
func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsTestCasesCalculateCoverageCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Type ¶
func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Type(type_ string) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall
Type sets the optional parameter "type": Required. The type of coverage requested.
Possible values:
"COVERAGE_TYPE_UNSPECIFIED" - Should never be used. "INTENT" - Intent coverage. "PAGE_TRANSITION" - Page transition coverage. "TRANSITION_ROUTE_GROUP" - Transition route group coverage.
type ProjectsLocationsAgentsTestCasesCreateCall ¶
type ProjectsLocationsAgentsTestCasesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsTestCasesCreateCall) Context ¶
func (c *ProjectsLocationsAgentsTestCasesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsTestCasesCreateCall) Do ¶
func (c *ProjectsLocationsAgentsTestCasesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TestCase, error)
Do executes the "dialogflow.projects.locations.agents.testCases.create" call. Exactly one of *GoogleCloudDialogflowCxV3beta1TestCase or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1TestCase.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsTestCasesCreateCall) Fields ¶
func (c *ProjectsLocationsAgentsTestCasesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsTestCasesCreateCall) Header ¶
func (c *ProjectsLocationsAgentsTestCasesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsTestCasesExportCall ¶
type ProjectsLocationsAgentsTestCasesExportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsTestCasesExportCall) Context ¶
func (c *ProjectsLocationsAgentsTestCasesExportCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesExportCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsTestCasesExportCall) Do ¶
func (c *ProjectsLocationsAgentsTestCasesExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agents.testCases.export" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsTestCasesExportCall) Fields ¶
func (c *ProjectsLocationsAgentsTestCasesExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesExportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsTestCasesExportCall) Header ¶
func (c *ProjectsLocationsAgentsTestCasesExportCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsTestCasesGetCall ¶
type ProjectsLocationsAgentsTestCasesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsTestCasesGetCall) Context ¶
func (c *ProjectsLocationsAgentsTestCasesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsTestCasesGetCall) Do ¶
func (c *ProjectsLocationsAgentsTestCasesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TestCase, error)
Do executes the "dialogflow.projects.locations.agents.testCases.get" call. Exactly one of *GoogleCloudDialogflowCxV3beta1TestCase or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1TestCase.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsTestCasesGetCall) Fields ¶
func (c *ProjectsLocationsAgentsTestCasesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsTestCasesGetCall) Header ¶
func (c *ProjectsLocationsAgentsTestCasesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsTestCasesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsTestCasesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsAgentsTestCasesImportCall ¶
type ProjectsLocationsAgentsTestCasesImportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsTestCasesImportCall) Context ¶
func (c *ProjectsLocationsAgentsTestCasesImportCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesImportCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsTestCasesImportCall) Do ¶
func (c *ProjectsLocationsAgentsTestCasesImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agents.testCases.import" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsTestCasesImportCall) Fields ¶
func (c *ProjectsLocationsAgentsTestCasesImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsTestCasesImportCall) Header ¶
func (c *ProjectsLocationsAgentsTestCasesImportCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsTestCasesListCall ¶
type ProjectsLocationsAgentsTestCasesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsTestCasesListCall) Context ¶
func (c *ProjectsLocationsAgentsTestCasesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsTestCasesListCall) Do ¶
func (c *ProjectsLocationsAgentsTestCasesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListTestCasesResponse, error)
Do executes the "dialogflow.projects.locations.agents.testCases.list" call. Exactly one of *GoogleCloudDialogflowCxV3beta1ListTestCasesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1ListTestCasesResponse.ServerResponse.He ader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsTestCasesListCall) Fields ¶
func (c *ProjectsLocationsAgentsTestCasesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsTestCasesListCall) Header ¶
func (c *ProjectsLocationsAgentsTestCasesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsTestCasesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsTestCasesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsTestCasesListCall) PageSize ¶
func (c *ProjectsLocationsAgentsTestCasesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsTestCasesListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 20. Note that when TestCaseView = FULL, the maximum page size allowed is 20. When TestCaseView = BASIC, the maximum page size allowed is 500.
func (*ProjectsLocationsAgentsTestCasesListCall) PageToken ¶
func (c *ProjectsLocationsAgentsTestCasesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsTestCasesListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentsTestCasesListCall) Pages ¶
func (c *ProjectsLocationsAgentsTestCasesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListTestCasesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
func (*ProjectsLocationsAgentsTestCasesListCall) View ¶
func (c *ProjectsLocationsAgentsTestCasesListCall) View(view string) *ProjectsLocationsAgentsTestCasesListCall
View sets the optional parameter "view": Specifies whether response should include all fields or just the metadata.
Possible values:
"TEST_CASE_VIEW_UNSPECIFIED" - The default / unset value. The API
will default to the BASIC view.
"BASIC" - Include basic metadata about the test case, but not the
conversation turns. This is the default value.
"FULL" - Include everything.
type ProjectsLocationsAgentsTestCasesPatchCall ¶
type ProjectsLocationsAgentsTestCasesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsTestCasesPatchCall) Context ¶
func (c *ProjectsLocationsAgentsTestCasesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsTestCasesPatchCall) Do ¶
func (c *ProjectsLocationsAgentsTestCasesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TestCase, error)
Do executes the "dialogflow.projects.locations.agents.testCases.patch" call. Exactly one of *GoogleCloudDialogflowCxV3beta1TestCase or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1TestCase.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsTestCasesPatchCall) Fields ¶
func (c *ProjectsLocationsAgentsTestCasesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsTestCasesPatchCall) Header ¶
func (c *ProjectsLocationsAgentsTestCasesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsTestCasesPatchCall) UpdateMask ¶
func (c *ProjectsLocationsAgentsTestCasesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsTestCasesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The mask to specify which fields should be updated. The `creationTime` and `lastTestResult` cannot be updated.
type ProjectsLocationsAgentsTestCasesResultsGetCall ¶
type ProjectsLocationsAgentsTestCasesResultsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsTestCasesResultsGetCall) Context ¶
func (c *ProjectsLocationsAgentsTestCasesResultsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesResultsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsTestCasesResultsGetCall) Do ¶
func (c *ProjectsLocationsAgentsTestCasesResultsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1TestCaseResult, error)
Do executes the "dialogflow.projects.locations.agents.testCases.results.get" call. Exactly one of *GoogleCloudDialogflowCxV3beta1TestCaseResult or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1TestCaseResult.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsTestCasesResultsGetCall) Fields ¶
func (c *ProjectsLocationsAgentsTestCasesResultsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesResultsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsTestCasesResultsGetCall) Header ¶
func (c *ProjectsLocationsAgentsTestCasesResultsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsTestCasesResultsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsTestCasesResultsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesResultsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsAgentsTestCasesResultsListCall ¶
type ProjectsLocationsAgentsTestCasesResultsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsTestCasesResultsListCall) Context ¶
func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesResultsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsTestCasesResultsListCall) Do ¶
func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse, error)
Do executes the "dialogflow.projects.locations.agents.testCases.results.list" call. Exactly one of *GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse.ServerRespo nse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsTestCasesResultsListCall) Fields ¶
func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesResultsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsTestCasesResultsListCall) Filter ¶
func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Filter(filter string) *ProjectsLocationsAgentsTestCasesResultsListCall
Filter sets the optional parameter "filter": The filter expression used to filter test case results. See API Filtering (https://aip.dev/160). The expression is case insensitive. Only 'AND' is supported for logical operators. The supported syntax is listed below in detail: [AND ] ... [AND latest] The supported fields and operators are: field operator `environment` `=`, `IN` (Use value `draft` for draft environment) `test_time` `>`, `<` `latest` only returns the latest test result in all results for each test case. Examples: * "environment=draft AND latest" matches the latest test result for each test case in the draft environment. * "environment IN (e1,e2)" matches any test case results with an environment resource name of either "e1" or "e2". * "test_time > 1602540713" matches any test case results with test time later than a unix timestamp in seconds 1602540713.
func (*ProjectsLocationsAgentsTestCasesResultsListCall) Header ¶
func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsTestCasesResultsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsTestCasesResultsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesResultsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsTestCasesResultsListCall) PageSize ¶
func (c *ProjectsLocationsAgentsTestCasesResultsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsTestCasesResultsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 100 and at most 1000.
func (*ProjectsLocationsAgentsTestCasesResultsListCall) PageToken ¶
func (c *ProjectsLocationsAgentsTestCasesResultsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsTestCasesResultsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentsTestCasesResultsListCall) Pages ¶
func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListTestCaseResultsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsAgentsTestCasesResultsService ¶
type ProjectsLocationsAgentsTestCasesResultsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAgentsTestCasesResultsService ¶
func NewProjectsLocationsAgentsTestCasesResultsService(s *Service) *ProjectsLocationsAgentsTestCasesResultsService
func (*ProjectsLocationsAgentsTestCasesResultsService) Get ¶
func (r *ProjectsLocationsAgentsTestCasesResultsService) Get(name string) *ProjectsLocationsAgentsTestCasesResultsGetCall
Get: Gets a test case result.
- name: The name of the testcase. Format: `projects//locations//agents//testCases//results/`.
func (*ProjectsLocationsAgentsTestCasesResultsService) List ¶
func (r *ProjectsLocationsAgentsTestCasesResultsService) List(parent string) *ProjectsLocationsAgentsTestCasesResultsListCall
List: Fetches a list of results for a given test case.
- parent: The test case to list results for. Format: `projects//locations//agents// testCases/`. Specify a `-` as a wildcard for TestCase ID to list results across multiple test cases.
type ProjectsLocationsAgentsTestCasesRunCall ¶
type ProjectsLocationsAgentsTestCasesRunCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsTestCasesRunCall) Context ¶
func (c *ProjectsLocationsAgentsTestCasesRunCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesRunCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsTestCasesRunCall) Do ¶
func (c *ProjectsLocationsAgentsTestCasesRunCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agents.testCases.run" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsTestCasesRunCall) Fields ¶
func (c *ProjectsLocationsAgentsTestCasesRunCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesRunCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsTestCasesRunCall) Header ¶
func (c *ProjectsLocationsAgentsTestCasesRunCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsTestCasesService ¶
type ProjectsLocationsAgentsTestCasesService struct { Results *ProjectsLocationsAgentsTestCasesResultsService // contains filtered or unexported fields }
func NewProjectsLocationsAgentsTestCasesService ¶
func NewProjectsLocationsAgentsTestCasesService(s *Service) *ProjectsLocationsAgentsTestCasesService
func (*ProjectsLocationsAgentsTestCasesService) BatchDelete ¶
func (r *ProjectsLocationsAgentsTestCasesService) BatchDelete(parent string, googleclouddialogflowcxv3beta1batchdeletetestcasesrequest *GoogleCloudDialogflowCxV3beta1BatchDeleteTestCasesRequest) *ProjectsLocationsAgentsTestCasesBatchDeleteCall
BatchDelete: Batch deletes test cases.
- parent: The agent to delete test cases from. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsTestCasesService) BatchRun ¶
func (r *ProjectsLocationsAgentsTestCasesService) BatchRun(parent string, googleclouddialogflowcxv3beta1batchruntestcasesrequest *GoogleCloudDialogflowCxV3beta1BatchRunTestCasesRequest) *ProjectsLocationsAgentsTestCasesBatchRunCall
BatchRun: Kicks off a batch run of test cases.
- parent: Agent name. Format: `projects//locations//agents/ `.
func (*ProjectsLocationsAgentsTestCasesService) CalculateCoverage ¶
func (r *ProjectsLocationsAgentsTestCasesService) CalculateCoverage(agent string) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall
CalculateCoverage: Calculates the test coverage for an agent.
- agent: The agent to calculate coverage for. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsTestCasesService) Create ¶
func (r *ProjectsLocationsAgentsTestCasesService) Create(parent string, googleclouddialogflowcxv3beta1testcase *GoogleCloudDialogflowCxV3beta1TestCase) *ProjectsLocationsAgentsTestCasesCreateCall
Create: Creates a test case for the given agent.
- parent: The agent to create the test case for. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsTestCasesService) Export ¶
func (r *ProjectsLocationsAgentsTestCasesService) Export(parent string, googleclouddialogflowcxv3beta1exporttestcasesrequest *GoogleCloudDialogflowCxV3beta1ExportTestCasesRequest) *ProjectsLocationsAgentsTestCasesExportCall
Export: Exports the test cases under the agent to a Cloud Storage bucket or a local file. Filter can be applied to export a subset of test cases.
- parent: The agent where to export test cases from. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsTestCasesService) Get ¶
func (r *ProjectsLocationsAgentsTestCasesService) Get(name string) *ProjectsLocationsAgentsTestCasesGetCall
Get: Gets a test case.
- name: The name of the testcase. Format: `projects//locations//agents//testCases/`.
func (*ProjectsLocationsAgentsTestCasesService) Import ¶
func (r *ProjectsLocationsAgentsTestCasesService) Import(parent string, googleclouddialogflowcxv3beta1importtestcasesrequest *GoogleCloudDialogflowCxV3beta1ImportTestCasesRequest) *ProjectsLocationsAgentsTestCasesImportCall
Import: Imports the test cases from a Cloud Storage bucket or a local file. It always creates new test cases and won't overwite any existing ones. The provided ID in the imported test case is neglected.
- parent: The agent to import test cases to. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsTestCasesService) List ¶
func (r *ProjectsLocationsAgentsTestCasesService) List(parent string) *ProjectsLocationsAgentsTestCasesListCall
List: Fetches a list of test cases for a given agent.
- parent: The agent to list all pages for. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsTestCasesService) Patch ¶
func (r *ProjectsLocationsAgentsTestCasesService) Patch(nameid string, googleclouddialogflowcxv3beta1testcase *GoogleCloudDialogflowCxV3beta1TestCase) *ProjectsLocationsAgentsTestCasesPatchCall
Patch: Updates the specified test case.
- name: The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: `projects//locations//agents/ /testCases/`.
func (*ProjectsLocationsAgentsTestCasesService) Run ¶
func (r *ProjectsLocationsAgentsTestCasesService) Run(name string, googleclouddialogflowcxv3beta1runtestcaserequest *GoogleCloudDialogflowCxV3beta1RunTestCaseRequest) *ProjectsLocationsAgentsTestCasesRunCall
Run: Kicks off a test case run.
- name: Format of test case name to run: `projects//locations/ /agents//testCases/`.
type ProjectsLocationsAgentsValidateCall ¶
type ProjectsLocationsAgentsValidateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsValidateCall) Context ¶
func (c *ProjectsLocationsAgentsValidateCall) Context(ctx context.Context) *ProjectsLocationsAgentsValidateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsValidateCall) Do ¶
func (c *ProjectsLocationsAgentsValidateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1AgentValidationResult, error)
Do executes the "dialogflow.projects.locations.agents.validate" call. Exactly one of *GoogleCloudDialogflowCxV3beta1AgentValidationResult or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1AgentValidationResult.ServerResponse.He ader or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsValidateCall) Fields ¶
func (c *ProjectsLocationsAgentsValidateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsValidateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsValidateCall) Header ¶
func (c *ProjectsLocationsAgentsValidateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsWebhooksCreateCall ¶
type ProjectsLocationsAgentsWebhooksCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsWebhooksCreateCall) Context ¶
func (c *ProjectsLocationsAgentsWebhooksCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsWebhooksCreateCall) Do ¶
func (c *ProjectsLocationsAgentsWebhooksCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Webhook, error)
Do executes the "dialogflow.projects.locations.agents.webhooks.create" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Webhook or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Webhook.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsWebhooksCreateCall) Fields ¶
func (c *ProjectsLocationsAgentsWebhooksCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsWebhooksCreateCall) Header ¶
func (c *ProjectsLocationsAgentsWebhooksCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsWebhooksDeleteCall ¶
type ProjectsLocationsAgentsWebhooksDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsWebhooksDeleteCall) Context ¶
func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsWebhooksDeleteCall) Do ¶
func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agents.webhooks.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsWebhooksDeleteCall) Fields ¶
func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsWebhooksDeleteCall) Force ¶
func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Force(force bool) *ProjectsLocationsAgentsWebhooksDeleteCall
Force sets the optional parameter "force": This field has no effect for webhook not being used. For webhooks that are used by pages/flows/transition route groups: * If `force` is set to false, an error will be returned with message indicating the referenced resources. * If `force` is set to true, Dialogflow will remove the webhook, as well as any references to the webhook (i.e. Webhook and tagin fulfillments that point to this webhook will be removed).
func (*ProjectsLocationsAgentsWebhooksDeleteCall) Header ¶
func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentsWebhooksGetCall ¶
type ProjectsLocationsAgentsWebhooksGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsWebhooksGetCall) Context ¶
func (c *ProjectsLocationsAgentsWebhooksGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsWebhooksGetCall) Do ¶
func (c *ProjectsLocationsAgentsWebhooksGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Webhook, error)
Do executes the "dialogflow.projects.locations.agents.webhooks.get" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Webhook or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Webhook.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsWebhooksGetCall) Fields ¶
func (c *ProjectsLocationsAgentsWebhooksGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsWebhooksGetCall) Header ¶
func (c *ProjectsLocationsAgentsWebhooksGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsWebhooksGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsWebhooksGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsWebhooksGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsAgentsWebhooksListCall ¶
type ProjectsLocationsAgentsWebhooksListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsWebhooksListCall) Context ¶
func (c *ProjectsLocationsAgentsWebhooksListCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsWebhooksListCall) Do ¶
func (c *ProjectsLocationsAgentsWebhooksListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListWebhooksResponse, error)
Do executes the "dialogflow.projects.locations.agents.webhooks.list" call. Exactly one of *GoogleCloudDialogflowCxV3beta1ListWebhooksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1ListWebhooksResponse.ServerResponse.Hea der or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsWebhooksListCall) Fields ¶
func (c *ProjectsLocationsAgentsWebhooksListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsWebhooksListCall) Header ¶
func (c *ProjectsLocationsAgentsWebhooksListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsWebhooksListCall) IfNoneMatch ¶
func (c *ProjectsLocationsAgentsWebhooksListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsWebhooksListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsAgentsWebhooksListCall) PageSize ¶
func (c *ProjectsLocationsAgentsWebhooksListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsWebhooksListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 100 and at most 1000.
func (*ProjectsLocationsAgentsWebhooksListCall) PageToken ¶
func (c *ProjectsLocationsAgentsWebhooksListCall) PageToken(pageToken string) *ProjectsLocationsAgentsWebhooksListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentsWebhooksListCall) Pages ¶
func (c *ProjectsLocationsAgentsWebhooksListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListWebhooksResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsAgentsWebhooksPatchCall ¶
type ProjectsLocationsAgentsWebhooksPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentsWebhooksPatchCall) Context ¶
func (c *ProjectsLocationsAgentsWebhooksPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsAgentsWebhooksPatchCall) Do ¶
func (c *ProjectsLocationsAgentsWebhooksPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1Webhook, error)
Do executes the "dialogflow.projects.locations.agents.webhooks.patch" call. Exactly one of *GoogleCloudDialogflowCxV3beta1Webhook or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1Webhook.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAgentsWebhooksPatchCall) Fields ¶
func (c *ProjectsLocationsAgentsWebhooksPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentsWebhooksPatchCall) Header ¶
func (c *ProjectsLocationsAgentsWebhooksPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentsWebhooksPatchCall) UpdateMask ¶
func (c *ProjectsLocationsAgentsWebhooksPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsWebhooksPatchCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated. If the mask is not present, all fields will be updated.
type ProjectsLocationsAgentsWebhooksService ¶
type ProjectsLocationsAgentsWebhooksService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAgentsWebhooksService ¶
func NewProjectsLocationsAgentsWebhooksService(s *Service) *ProjectsLocationsAgentsWebhooksService
func (*ProjectsLocationsAgentsWebhooksService) Create ¶
func (r *ProjectsLocationsAgentsWebhooksService) Create(parent string, googleclouddialogflowcxv3beta1webhook *GoogleCloudDialogflowCxV3beta1Webhook) *ProjectsLocationsAgentsWebhooksCreateCall
Create: Creates a webhook in the specified agent.
- parent: The agent to create a webhook for. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsWebhooksService) Delete ¶
func (r *ProjectsLocationsAgentsWebhooksService) Delete(name string) *ProjectsLocationsAgentsWebhooksDeleteCall
Delete: Deletes the specified webhook.
- name: The name of the webhook to delete. Format: `projects//locations//agents//webhooks/`.
func (*ProjectsLocationsAgentsWebhooksService) Get ¶
func (r *ProjectsLocationsAgentsWebhooksService) Get(name string) *ProjectsLocationsAgentsWebhooksGetCall
Get: Retrieves the specified webhook.
- name: The name of the webhook. Format: `projects//locations//agents//webhooks/`.
func (*ProjectsLocationsAgentsWebhooksService) List ¶
func (r *ProjectsLocationsAgentsWebhooksService) List(parent string) *ProjectsLocationsAgentsWebhooksListCall
List: Returns the list of all webhooks in the specified agent.
- parent: The agent to list all webhooks for. Format: `projects//locations//agents/`.
func (*ProjectsLocationsAgentsWebhooksService) Patch ¶
func (r *ProjectsLocationsAgentsWebhooksService) Patch(nameid string, googleclouddialogflowcxv3beta1webhook *GoogleCloudDialogflowCxV3beta1Webhook) *ProjectsLocationsAgentsWebhooksPatchCall
Patch: Updates the specified webhook.
- name: The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: `projects//locations//agents//webhooks/`.
type ProjectsLocationsOperationsCancelCall ¶
type ProjectsLocationsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsCancelCall) Context ¶
func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsOperationsCancelCall) Do ¶
func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.operations.cancel" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsCancelCall) Fields ¶
func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsOperationsCancelCall) Header ¶
func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsOperationsGetCall ¶
type ProjectsLocationsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsGetCall) Context ¶
func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsOperationsGetCall) Do ¶
func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.operations.get" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsGetCall) Fields ¶
func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsOperationsGetCall) Header ¶
func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsOperationsListCall ¶
type ProjectsLocationsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsListCall) Context ¶
func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsOperationsListCall) Do ¶
func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "dialogflow.projects.locations.operations.list" call. Exactly one of *GoogleLongrunningListOperationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsListCall) Fields ¶
func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsOperationsListCall) Filter ¶
func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsOperationsListCall) Header ¶
func (c *ProjectsLocationsOperationsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsOperationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsOperationsListCall) PageSize ¶
func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsOperationsListCall) PageToken ¶
func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsOperationsListCall) Pages ¶
func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsOperationsService ¶
type ProjectsLocationsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsOperationsService ¶
func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService
func (*ProjectsLocationsOperationsService) Cancel ¶
func (r *ProjectsLocationsOperationsService) Cancel(name string) *ProjectsLocationsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (*ProjectsLocationsOperationsService) Get ¶
func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (*ProjectsLocationsOperationsService) List ¶
func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
- name: The name of the operation's parent resource.
type ProjectsLocationsSecuritySettingsCreateCall ¶
type ProjectsLocationsSecuritySettingsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSecuritySettingsCreateCall) Context ¶
func (c *ProjectsLocationsSecuritySettingsCreateCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsSecuritySettingsCreateCall) Do ¶
func (c *ProjectsLocationsSecuritySettingsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SecuritySettings, error)
Do executes the "dialogflow.projects.locations.securitySettings.create" call. Exactly one of *GoogleCloudDialogflowCxV3beta1SecuritySettings or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1SecuritySettings.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsSecuritySettingsCreateCall) Fields ¶
func (c *ProjectsLocationsSecuritySettingsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsSecuritySettingsCreateCall) Header ¶
func (c *ProjectsLocationsSecuritySettingsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsSecuritySettingsDeleteCall ¶
type ProjectsLocationsSecuritySettingsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSecuritySettingsDeleteCall) Context ¶
func (c *ProjectsLocationsSecuritySettingsDeleteCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsSecuritySettingsDeleteCall) Do ¶
func (c *ProjectsLocationsSecuritySettingsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.securitySettings.delete" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsSecuritySettingsDeleteCall) Fields ¶
func (c *ProjectsLocationsSecuritySettingsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsSecuritySettingsDeleteCall) Header ¶
func (c *ProjectsLocationsSecuritySettingsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsSecuritySettingsGetCall ¶
type ProjectsLocationsSecuritySettingsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSecuritySettingsGetCall) Context ¶
func (c *ProjectsLocationsSecuritySettingsGetCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsSecuritySettingsGetCall) Do ¶
func (c *ProjectsLocationsSecuritySettingsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SecuritySettings, error)
Do executes the "dialogflow.projects.locations.securitySettings.get" call. Exactly one of *GoogleCloudDialogflowCxV3beta1SecuritySettings or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1SecuritySettings.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsSecuritySettingsGetCall) Fields ¶
func (c *ProjectsLocationsSecuritySettingsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsSecuritySettingsGetCall) Header ¶
func (c *ProjectsLocationsSecuritySettingsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsSecuritySettingsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsSecuritySettingsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSecuritySettingsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsSecuritySettingsListCall ¶
type ProjectsLocationsSecuritySettingsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSecuritySettingsListCall) Context ¶
func (c *ProjectsLocationsSecuritySettingsListCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsSecuritySettingsListCall) Do ¶
func (c *ProjectsLocationsSecuritySettingsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse, error)
Do executes the "dialogflow.projects.locations.securitySettings.list" call. Exactly one of *GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse.ServerResp onse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsSecuritySettingsListCall) Fields ¶
func (c *ProjectsLocationsSecuritySettingsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsSecuritySettingsListCall) Header ¶
func (c *ProjectsLocationsSecuritySettingsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsSecuritySettingsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsSecuritySettingsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSecuritySettingsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsSecuritySettingsListCall) PageSize ¶
func (c *ProjectsLocationsSecuritySettingsListCall) PageSize(pageSize int64) *ProjectsLocationsSecuritySettingsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 20 and at most 100.
func (*ProjectsLocationsSecuritySettingsListCall) PageToken ¶
func (c *ProjectsLocationsSecuritySettingsListCall) PageToken(pageToken string) *ProjectsLocationsSecuritySettingsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsSecuritySettingsListCall) Pages ¶
func (c *ProjectsLocationsSecuritySettingsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3beta1ListSecuritySettingsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsSecuritySettingsPatchCall ¶
type ProjectsLocationsSecuritySettingsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSecuritySettingsPatchCall) Context ¶
func (c *ProjectsLocationsSecuritySettingsPatchCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsSecuritySettingsPatchCall) Do ¶
func (c *ProjectsLocationsSecuritySettingsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3beta1SecuritySettings, error)
Do executes the "dialogflow.projects.locations.securitySettings.patch" call. Exactly one of *GoogleCloudDialogflowCxV3beta1SecuritySettings or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowCxV3beta1SecuritySettings.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsSecuritySettingsPatchCall) Fields ¶
func (c *ProjectsLocationsSecuritySettingsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsSecuritySettingsPatchCall) Header ¶
func (c *ProjectsLocationsSecuritySettingsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsSecuritySettingsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsSecuritySettingsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSecuritySettingsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The mask to control which fields get updated. If the mask is not present, all fields will be updated.
type ProjectsLocationsSecuritySettingsService ¶
type ProjectsLocationsSecuritySettingsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsSecuritySettingsService ¶
func NewProjectsLocationsSecuritySettingsService(s *Service) *ProjectsLocationsSecuritySettingsService
func (*ProjectsLocationsSecuritySettingsService) Create ¶
func (r *ProjectsLocationsSecuritySettingsService) Create(parent string, googleclouddialogflowcxv3beta1securitysettings *GoogleCloudDialogflowCxV3beta1SecuritySettings) *ProjectsLocationsSecuritySettingsCreateCall
Create: Create security settings in the specified location.
- parent: The location to create an SecuritySettings for. Format: `projects//locations/`.
func (*ProjectsLocationsSecuritySettingsService) Delete ¶
func (r *ProjectsLocationsSecuritySettingsService) Delete(name string) *ProjectsLocationsSecuritySettingsDeleteCall
Delete: Deletes the specified SecuritySettings.
- name: The name of the SecuritySettings to delete. Format: `projects//locations//securitySettings/`.
func (*ProjectsLocationsSecuritySettingsService) Get ¶
func (r *ProjectsLocationsSecuritySettingsService) Get(name string) *ProjectsLocationsSecuritySettingsGetCall
Get: Retrieves the specified SecuritySettings. The returned settings may be stale by up to 1 minute.
- name: Resource name of the settings. Format: `projects//locations//securitySettings/`.
func (*ProjectsLocationsSecuritySettingsService) List ¶
func (r *ProjectsLocationsSecuritySettingsService) List(parent string) *ProjectsLocationsSecuritySettingsListCall
List: Returns the list of all security settings in the specified location.
- parent: The location to list all security settings for. Format: `projects//locations/`.
func (*ProjectsLocationsSecuritySettingsService) Patch ¶
func (r *ProjectsLocationsSecuritySettingsService) Patch(name string, googleclouddialogflowcxv3beta1securitysettings *GoogleCloudDialogflowCxV3beta1SecuritySettings) *ProjectsLocationsSecuritySettingsPatchCall
Patch: Updates the specified SecuritySettings.
- name: Resource name of the settings. Format: `projects//locations//securitySettings/`.
type ProjectsLocationsService ¶
type ProjectsLocationsService struct { Agents *ProjectsLocationsAgentsService Operations *ProjectsLocationsOperationsService SecuritySettings *ProjectsLocationsSecuritySettingsService // contains filtered or unexported fields }
func NewProjectsLocationsService ¶
func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
type ProjectsOperationsCancelCall ¶
type ProjectsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (*ProjectsOperationsCancelCall) Context ¶
func (c *ProjectsOperationsCancelCall) Context(ctx context.Context) *ProjectsOperationsCancelCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsOperationsCancelCall) Do ¶
func (c *ProjectsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.operations.cancel" call. Exactly one of *GoogleProtobufEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsOperationsCancelCall) Fields ¶
func (c *ProjectsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsOperationsCancelCall) Header ¶
func (c *ProjectsOperationsCancelCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsOperationsGetCall ¶
type ProjectsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsOperationsGetCall) Context ¶
func (c *ProjectsOperationsGetCall) Context(ctx context.Context) *ProjectsOperationsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsOperationsGetCall) Do ¶
func (c *ProjectsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.operations.get" call. Exactly one of *GoogleLongrunningOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsOperationsGetCall) Fields ¶
func (c *ProjectsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsOperationsGetCall) Header ¶
func (c *ProjectsOperationsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsOperationsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsOperationsListCall ¶
type ProjectsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsOperationsListCall) Context ¶
func (c *ProjectsOperationsListCall) Context(ctx context.Context) *ProjectsOperationsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsOperationsListCall) Do ¶
func (c *ProjectsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "dialogflow.projects.operations.list" call. Exactly one of *GoogleLongrunningListOperationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsOperationsListCall) Fields ¶
func (c *ProjectsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsOperationsListCall) Filter ¶
func (c *ProjectsOperationsListCall) Filter(filter string) *ProjectsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsOperationsListCall) Header ¶
func (c *ProjectsOperationsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsOperationsListCall) IfNoneMatch ¶
func (c *ProjectsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsOperationsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsOperationsListCall) PageSize ¶
func (c *ProjectsOperationsListCall) PageSize(pageSize int64) *ProjectsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsOperationsListCall) PageToken ¶
func (c *ProjectsOperationsListCall) PageToken(pageToken string) *ProjectsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsOperationsListCall) Pages ¶
func (c *ProjectsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsOperationsService ¶
type ProjectsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsOperationsService ¶
func NewProjectsOperationsService(s *Service) *ProjectsOperationsService
func (*ProjectsOperationsService) Cancel ¶
func (r *ProjectsOperationsService) Cancel(name string) *ProjectsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (*ProjectsOperationsService) Get ¶
func (r *ProjectsOperationsService) Get(name string) *ProjectsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (*ProjectsOperationsService) List ¶
func (r *ProjectsOperationsService) List(name string) *ProjectsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
- name: The name of the operation's parent resource.
type ProjectsService ¶
type ProjectsService struct { Locations *ProjectsLocationsService Operations *ProjectsOperationsService // contains filtered or unexported fields }
func NewProjectsService ¶
func NewProjectsService(s *Service) *ProjectsService
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Projects *ProjectsService // contains filtered or unexported fields }
func New
deprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
func NewService ¶
NewService creates a new Service.