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/v2beta1" ... 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 GoogleCloudDialogflowCxV3DeployFlowMetadata
- type GoogleCloudDialogflowCxV3DeployFlowResponse
- type GoogleCloudDialogflowCxV3DtmfInput
- type GoogleCloudDialogflowCxV3Environment
- type GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
- type GoogleCloudDialogflowCxV3EnvironmentVersionConfig
- type GoogleCloudDialogflowCxV3EnvironmentWebhookConfig
- 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 GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
- 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 GoogleCloudDialogflowCxV3Webhook
- type GoogleCloudDialogflowCxV3WebhookGenericWebService
- type GoogleCloudDialogflowCxV3WebhookRequest
- type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo
- type GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
- type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue
- type GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult
- type GoogleCloudDialogflowCxV3WebhookResponse
- type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse
- type GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
- type GoogleCloudDialogflowCxV3beta1AudioInput
- type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata
- type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse
- type GoogleCloudDialogflowCxV3beta1ContinuousTestResult
- type GoogleCloudDialogflowCxV3beta1ConversationTurn
- type GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
- type GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput
- type GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata
- type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
- type GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
- type GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
- type GoogleCloudDialogflowCxV3beta1DeployFlowResponse
- type GoogleCloudDialogflowCxV3beta1DtmfInput
- type GoogleCloudDialogflowCxV3beta1Environment
- type GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
- type GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
- type GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig
- type GoogleCloudDialogflowCxV3beta1EventHandler
- type GoogleCloudDialogflowCxV3beta1EventInput
- type GoogleCloudDialogflowCxV3beta1ExportAgentResponse
- type GoogleCloudDialogflowCxV3beta1ExportFlowResponse
- type GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
- type GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse
- type GoogleCloudDialogflowCxV3beta1Form
- type GoogleCloudDialogflowCxV3beta1FormParameter
- type GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior
- type GoogleCloudDialogflowCxV3beta1Fulfillment
- type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases
- type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase
- type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent
- type GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction
- type GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
- type GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata
- type GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse
- type GoogleCloudDialogflowCxV3beta1ImportFlowResponse
- type GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
- type GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse
- type GoogleCloudDialogflowCxV3beta1InputAudioConfig
- type GoogleCloudDialogflowCxV3beta1Intent
- type GoogleCloudDialogflowCxV3beta1IntentInput
- type GoogleCloudDialogflowCxV3beta1IntentParameter
- type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase
- type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart
- type GoogleCloudDialogflowCxV3beta1Page
- type GoogleCloudDialogflowCxV3beta1PageInfo
- type GoogleCloudDialogflowCxV3beta1PageInfoFormInfo
- type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo
- type GoogleCloudDialogflowCxV3beta1QueryInput
- type GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata
- type GoogleCloudDialogflowCxV3beta1ResponseMessage
- type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess
- type GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction
- type GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
- type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio
- type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment
- type GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
- type GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
- type GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
- type GoogleCloudDialogflowCxV3beta1ResponseMessageText
- type GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
- type GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
- type GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
- type GoogleCloudDialogflowCxV3beta1RunTestCaseResponse
- type GoogleCloudDialogflowCxV3beta1SessionInfo
- type GoogleCloudDialogflowCxV3beta1TestCase
- type GoogleCloudDialogflowCxV3beta1TestCaseError
- type GoogleCloudDialogflowCxV3beta1TestCaseResult
- type GoogleCloudDialogflowCxV3beta1TestConfig
- type GoogleCloudDialogflowCxV3beta1TestError
- type GoogleCloudDialogflowCxV3beta1TestRunDifference
- type GoogleCloudDialogflowCxV3beta1TextInput
- type GoogleCloudDialogflowCxV3beta1TransitionRoute
- type GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata
- 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 GoogleCloudDialogflowV2ArticleSuggestionModelMetadata
- type GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
- type GoogleCloudDialogflowV2BatchUpdateIntentsResponse
- type GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata
- type GoogleCloudDialogflowV2Context
- type GoogleCloudDialogflowV2ConversationEvent
- type GoogleCloudDialogflowV2ConversationModel
- type GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
- type GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata
- type GoogleCloudDialogflowV2CreateConversationModelOperationMetadata
- type GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata
- type GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata
- type GoogleCloudDialogflowV2DeployConversationModelOperationMetadata
- type GoogleCloudDialogflowV2EntityType
- type GoogleCloudDialogflowV2EntityTypeEntity
- type GoogleCloudDialogflowV2EventInput
- type GoogleCloudDialogflowV2ExportAgentResponse
- type GoogleCloudDialogflowV2ExportOperationMetadata
- type GoogleCloudDialogflowV2FaqAnswer
- type GoogleCloudDialogflowV2GcsDestination
- type GoogleCloudDialogflowV2HumanAgentAssistantEvent
- type GoogleCloudDialogflowV2ImportConversationDataOperationMetadata
- type GoogleCloudDialogflowV2ImportConversationDataOperationResponse
- type GoogleCloudDialogflowV2ImportDocumentsResponse
- type GoogleCloudDialogflowV2InputDataset
- 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 GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata
- type GoogleCloudDialogflowV2SmartReplyAnswer
- type GoogleCloudDialogflowV2SmartReplyModelMetadata
- type GoogleCloudDialogflowV2SuggestArticlesResponse
- type GoogleCloudDialogflowV2SuggestFaqAnswersResponse
- type GoogleCloudDialogflowV2SuggestSmartRepliesResponse
- type GoogleCloudDialogflowV2SuggestionResult
- type GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
- type GoogleCloudDialogflowV2WebhookRequest
- type GoogleCloudDialogflowV2WebhookResponse
- type GoogleCloudDialogflowV2beta1Agent
- type GoogleCloudDialogflowV2beta1AgentAssistantFeedback
- type GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback
- type GoogleCloudDialogflowV2beta1AgentAssistantRecord
- type GoogleCloudDialogflowV2beta1AnalyzeContentRequest
- type GoogleCloudDialogflowV2beta1AnalyzeContentResponse
- type GoogleCloudDialogflowV2beta1AnnotatedMessagePart
- type GoogleCloudDialogflowV2beta1AnswerFeedback
- type GoogleCloudDialogflowV2beta1AnswerRecord
- type GoogleCloudDialogflowV2beta1ArticleAnswer
- type GoogleCloudDialogflowV2beta1AssistQueryParameters
- type GoogleCloudDialogflowV2beta1AudioInput
- type GoogleCloudDialogflowV2beta1AutomatedAgentConfig
- type GoogleCloudDialogflowV2beta1AutomatedAgentReply
- type GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest
- type GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest
- type GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse
- type GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest
- type GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest
- type GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest
- type GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest
- type GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest
- type GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
- type GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest
- type GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse
- type GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata
- type GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest
- type GoogleCloudDialogflowV2beta1CompileSuggestionRequest
- type GoogleCloudDialogflowV2beta1CompileSuggestionResponse
- type GoogleCloudDialogflowV2beta1CompleteConversationRequest
- type GoogleCloudDialogflowV2beta1Context
- type GoogleCloudDialogflowV2beta1Conversation
- type GoogleCloudDialogflowV2beta1ConversationEvent
- type GoogleCloudDialogflowV2beta1ConversationPhoneNumber
- type GoogleCloudDialogflowV2beta1ConversationProfile
- type GoogleCloudDialogflowV2beta1CreateMessageRequest
- type GoogleCloudDialogflowV2beta1DetectIntentRequest
- type GoogleCloudDialogflowV2beta1DetectIntentResponse
- type GoogleCloudDialogflowV2beta1Document
- type GoogleCloudDialogflowV2beta1DocumentReloadStatus
- type GoogleCloudDialogflowV2beta1DtmfParameters
- type GoogleCloudDialogflowV2beta1EntityType
- type GoogleCloudDialogflowV2beta1EntityTypeBatch
- type GoogleCloudDialogflowV2beta1EntityTypeEntity
- type GoogleCloudDialogflowV2beta1Environment
- type GoogleCloudDialogflowV2beta1EnvironmentHistory
- type GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry
- type GoogleCloudDialogflowV2beta1EventInput
- type GoogleCloudDialogflowV2beta1ExportAgentRequest
- type GoogleCloudDialogflowV2beta1ExportAgentResponse
- type GoogleCloudDialogflowV2beta1ExportOperationMetadata
- type GoogleCloudDialogflowV2beta1FaqAnswer
- type GoogleCloudDialogflowV2beta1Fulfillment
- type GoogleCloudDialogflowV2beta1FulfillmentFeature
- type GoogleCloudDialogflowV2beta1FulfillmentGenericWebService
- type GoogleCloudDialogflowV2beta1GcsDestination
- type GoogleCloudDialogflowV2beta1GcsSource
- type GoogleCloudDialogflowV2beta1GcsSources
- type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig
- type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig
- type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig
- type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig
- type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig
- type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig
- type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig
- type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings
- type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource
- type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource
- type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource
- type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings
- type GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
- type GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig
- type GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig
- type GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig
- type GoogleCloudDialogflowV2beta1ImportAgentRequest
- type GoogleCloudDialogflowV2beta1ImportDocumentTemplate
- type GoogleCloudDialogflowV2beta1ImportDocumentsRequest
- type GoogleCloudDialogflowV2beta1ImportDocumentsResponse
- type GoogleCloudDialogflowV2beta1InputAudioConfig
- type GoogleCloudDialogflowV2beta1Intent
- type GoogleCloudDialogflowV2beta1IntentBatch
- 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 GoogleCloudDialogflowV2beta1KnowledgeBase
- type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
- type GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse
- type GoogleCloudDialogflowV2beta1ListContextsResponse
- type GoogleCloudDialogflowV2beta1ListConversationProfilesResponse
- type GoogleCloudDialogflowV2beta1ListConversationsResponse
- type GoogleCloudDialogflowV2beta1ListDocumentsResponse
- type GoogleCloudDialogflowV2beta1ListEntityTypesResponse
- type GoogleCloudDialogflowV2beta1ListEnvironmentsResponse
- type GoogleCloudDialogflowV2beta1ListIntentsResponse
- type GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse
- type GoogleCloudDialogflowV2beta1ListMessagesResponse
- type GoogleCloudDialogflowV2beta1ListParticipantsResponse
- type GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse
- type GoogleCloudDialogflowV2beta1ListSuggestionsResponse
- type GoogleCloudDialogflowV2beta1ListVersionsResponse
- type GoogleCloudDialogflowV2beta1LoggingConfig
- type GoogleCloudDialogflowV2beta1Message
- type GoogleCloudDialogflowV2beta1MessageAnnotation
- type GoogleCloudDialogflowV2beta1NotificationConfig
- type GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
- type GoogleCloudDialogflowV2beta1OutputAudio
- type GoogleCloudDialogflowV2beta1OutputAudioConfig
- type GoogleCloudDialogflowV2beta1Participant
- type GoogleCloudDialogflowV2beta1QueryInput
- type GoogleCloudDialogflowV2beta1QueryParameters
- type GoogleCloudDialogflowV2beta1QueryResult
- type GoogleCloudDialogflowV2beta1ReloadDocumentRequest
- type GoogleCloudDialogflowV2beta1ResponseMessage
- type GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction
- type GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff
- type GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio
- type GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment
- type GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall
- type GoogleCloudDialogflowV2beta1ResponseMessageText
- type GoogleCloudDialogflowV2beta1RestoreAgentRequest
- type GoogleCloudDialogflowV2beta1SearchAgentsResponse
- type GoogleCloudDialogflowV2beta1Sentiment
- type GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig
- type GoogleCloudDialogflowV2beta1SentimentAnalysisResult
- type GoogleCloudDialogflowV2beta1SessionEntityType
- type GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata
- type GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest
- type GoogleCloudDialogflowV2beta1SmartReplyAnswer
- type GoogleCloudDialogflowV2beta1SpeechContext
- type GoogleCloudDialogflowV2beta1SpeechToTextConfig
- type GoogleCloudDialogflowV2beta1SubAgent
- type GoogleCloudDialogflowV2beta1SuggestArticlesRequest
- type GoogleCloudDialogflowV2beta1SuggestArticlesResponse
- type GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest
- type GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse
- type GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary
- type GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest
- type GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse
- type GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest
- type GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
- type GoogleCloudDialogflowV2beta1Suggestion
- type GoogleCloudDialogflowV2beta1SuggestionArticle
- type GoogleCloudDialogflowV2beta1SuggestionFaqAnswer
- type GoogleCloudDialogflowV2beta1SuggestionFeature
- type GoogleCloudDialogflowV2beta1SuggestionResult
- type GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
- type GoogleCloudDialogflowV2beta1TelephonyDtmfEvents
- type GoogleCloudDialogflowV2beta1TextInput
- type GoogleCloudDialogflowV2beta1TextToSpeechSettings
- type GoogleCloudDialogflowV2beta1TrainAgentRequest
- type GoogleCloudDialogflowV2beta1ValidationError
- type GoogleCloudDialogflowV2beta1ValidationResult
- type GoogleCloudDialogflowV2beta1Version
- type GoogleCloudDialogflowV2beta1VoiceSelectionParams
- type GoogleCloudDialogflowV2beta1WebhookRequest
- type GoogleCloudDialogflowV2beta1WebhookResponse
- type GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata
- type GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata
- type GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata
- type GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata
- type GoogleCloudDialogflowV3alpha1ImportDocumentsResponse
- type GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata
- type GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata
- type GoogleCloudLocationListLocationsResponse
- type GoogleCloudLocationLocation
- type GoogleLongrunningListOperationsResponse
- type GoogleLongrunningOperation
- type GoogleProtobufEmpty
- type GoogleRpcStatus
- type GoogleTypeLatLng
- type ProjectsAgentEntityTypesBatchDeleteCall
- func (c *ProjectsAgentEntityTypesBatchDeleteCall) Context(ctx context.Context) *ProjectsAgentEntityTypesBatchDeleteCall
- func (c *ProjectsAgentEntityTypesBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsAgentEntityTypesBatchDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentEntityTypesBatchDeleteCall
- func (c *ProjectsAgentEntityTypesBatchDeleteCall) Header() http.Header
- type ProjectsAgentEntityTypesBatchUpdateCall
- func (c *ProjectsAgentEntityTypesBatchUpdateCall) Context(ctx context.Context) *ProjectsAgentEntityTypesBatchUpdateCall
- func (c *ProjectsAgentEntityTypesBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsAgentEntityTypesBatchUpdateCall) Fields(s ...googleapi.Field) *ProjectsAgentEntityTypesBatchUpdateCall
- func (c *ProjectsAgentEntityTypesBatchUpdateCall) Header() http.Header
- type ProjectsAgentEntityTypesCreateCall
- func (c *ProjectsAgentEntityTypesCreateCall) Context(ctx context.Context) *ProjectsAgentEntityTypesCreateCall
- func (c *ProjectsAgentEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1EntityType, error)
- func (c *ProjectsAgentEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentEntityTypesCreateCall
- func (c *ProjectsAgentEntityTypesCreateCall) Header() http.Header
- func (c *ProjectsAgentEntityTypesCreateCall) LanguageCode(languageCode string) *ProjectsAgentEntityTypesCreateCall
- type ProjectsAgentEntityTypesDeleteCall
- func (c *ProjectsAgentEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsAgentEntityTypesDeleteCall
- func (c *ProjectsAgentEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsAgentEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentEntityTypesDeleteCall
- func (c *ProjectsAgentEntityTypesDeleteCall) Header() http.Header
- type ProjectsAgentEntityTypesEntitiesBatchCreateCall
- func (c *ProjectsAgentEntityTypesEntitiesBatchCreateCall) Context(ctx context.Context) *ProjectsAgentEntityTypesEntitiesBatchCreateCall
- func (c *ProjectsAgentEntityTypesEntitiesBatchCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsAgentEntityTypesEntitiesBatchCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentEntityTypesEntitiesBatchCreateCall
- func (c *ProjectsAgentEntityTypesEntitiesBatchCreateCall) Header() http.Header
- type ProjectsAgentEntityTypesEntitiesBatchDeleteCall
- func (c *ProjectsAgentEntityTypesEntitiesBatchDeleteCall) Context(ctx context.Context) *ProjectsAgentEntityTypesEntitiesBatchDeleteCall
- func (c *ProjectsAgentEntityTypesEntitiesBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsAgentEntityTypesEntitiesBatchDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentEntityTypesEntitiesBatchDeleteCall
- func (c *ProjectsAgentEntityTypesEntitiesBatchDeleteCall) Header() http.Header
- type ProjectsAgentEntityTypesEntitiesBatchUpdateCall
- func (c *ProjectsAgentEntityTypesEntitiesBatchUpdateCall) Context(ctx context.Context) *ProjectsAgentEntityTypesEntitiesBatchUpdateCall
- func (c *ProjectsAgentEntityTypesEntitiesBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsAgentEntityTypesEntitiesBatchUpdateCall) Fields(s ...googleapi.Field) *ProjectsAgentEntityTypesEntitiesBatchUpdateCall
- func (c *ProjectsAgentEntityTypesEntitiesBatchUpdateCall) Header() http.Header
- type ProjectsAgentEntityTypesEntitiesService
- func (r *ProjectsAgentEntityTypesEntitiesService) BatchCreate(parent string, ...) *ProjectsAgentEntityTypesEntitiesBatchCreateCall
- func (r *ProjectsAgentEntityTypesEntitiesService) BatchDelete(parent string, ...) *ProjectsAgentEntityTypesEntitiesBatchDeleteCall
- func (r *ProjectsAgentEntityTypesEntitiesService) BatchUpdate(parent string, ...) *ProjectsAgentEntityTypesEntitiesBatchUpdateCall
- type ProjectsAgentEntityTypesGetCall
- func (c *ProjectsAgentEntityTypesGetCall) Context(ctx context.Context) *ProjectsAgentEntityTypesGetCall
- func (c *ProjectsAgentEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1EntityType, error)
- func (c *ProjectsAgentEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsAgentEntityTypesGetCall
- func (c *ProjectsAgentEntityTypesGetCall) Header() http.Header
- func (c *ProjectsAgentEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsAgentEntityTypesGetCall
- func (c *ProjectsAgentEntityTypesGetCall) LanguageCode(languageCode string) *ProjectsAgentEntityTypesGetCall
- type ProjectsAgentEntityTypesListCall
- func (c *ProjectsAgentEntityTypesListCall) Context(ctx context.Context) *ProjectsAgentEntityTypesListCall
- func (c *ProjectsAgentEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListEntityTypesResponse, error)
- func (c *ProjectsAgentEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsAgentEntityTypesListCall
- func (c *ProjectsAgentEntityTypesListCall) Header() http.Header
- func (c *ProjectsAgentEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsAgentEntityTypesListCall
- func (c *ProjectsAgentEntityTypesListCall) LanguageCode(languageCode string) *ProjectsAgentEntityTypesListCall
- func (c *ProjectsAgentEntityTypesListCall) PageSize(pageSize int64) *ProjectsAgentEntityTypesListCall
- func (c *ProjectsAgentEntityTypesListCall) PageToken(pageToken string) *ProjectsAgentEntityTypesListCall
- func (c *ProjectsAgentEntityTypesListCall) Pages(ctx context.Context, ...) error
- type ProjectsAgentEntityTypesPatchCall
- func (c *ProjectsAgentEntityTypesPatchCall) Context(ctx context.Context) *ProjectsAgentEntityTypesPatchCall
- func (c *ProjectsAgentEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1EntityType, error)
- func (c *ProjectsAgentEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsAgentEntityTypesPatchCall
- func (c *ProjectsAgentEntityTypesPatchCall) Header() http.Header
- func (c *ProjectsAgentEntityTypesPatchCall) LanguageCode(languageCode string) *ProjectsAgentEntityTypesPatchCall
- func (c *ProjectsAgentEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsAgentEntityTypesPatchCall
- type ProjectsAgentEntityTypesService
- func (r *ProjectsAgentEntityTypesService) BatchDelete(parent string, ...) *ProjectsAgentEntityTypesBatchDeleteCall
- func (r *ProjectsAgentEntityTypesService) BatchUpdate(parent string, ...) *ProjectsAgentEntityTypesBatchUpdateCall
- func (r *ProjectsAgentEntityTypesService) Create(parent string, ...) *ProjectsAgentEntityTypesCreateCall
- func (r *ProjectsAgentEntityTypesService) Delete(name string) *ProjectsAgentEntityTypesDeleteCall
- func (r *ProjectsAgentEntityTypesService) Get(name string) *ProjectsAgentEntityTypesGetCall
- func (r *ProjectsAgentEntityTypesService) List(parent string) *ProjectsAgentEntityTypesListCall
- func (r *ProjectsAgentEntityTypesService) Patch(nameid string, ...) *ProjectsAgentEntityTypesPatchCall
- type ProjectsAgentEnvironmentsCreateCall
- func (c *ProjectsAgentEnvironmentsCreateCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsCreateCall
- func (c *ProjectsAgentEnvironmentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Environment, error)
- func (c *ProjectsAgentEnvironmentsCreateCall) EnvironmentId(environmentId string) *ProjectsAgentEnvironmentsCreateCall
- func (c *ProjectsAgentEnvironmentsCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsCreateCall
- func (c *ProjectsAgentEnvironmentsCreateCall) Header() http.Header
- type ProjectsAgentEnvironmentsDeleteCall
- func (c *ProjectsAgentEnvironmentsDeleteCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsDeleteCall
- func (c *ProjectsAgentEnvironmentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsAgentEnvironmentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsDeleteCall
- func (c *ProjectsAgentEnvironmentsDeleteCall) Header() http.Header
- type ProjectsAgentEnvironmentsGetCall
- func (c *ProjectsAgentEnvironmentsGetCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsGetCall
- func (c *ProjectsAgentEnvironmentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Environment, error)
- func (c *ProjectsAgentEnvironmentsGetCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsGetCall
- func (c *ProjectsAgentEnvironmentsGetCall) Header() http.Header
- func (c *ProjectsAgentEnvironmentsGetCall) IfNoneMatch(entityTag string) *ProjectsAgentEnvironmentsGetCall
- type ProjectsAgentEnvironmentsGetHistoryCall
- func (c *ProjectsAgentEnvironmentsGetHistoryCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsGetHistoryCall
- func (c *ProjectsAgentEnvironmentsGetHistoryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1EnvironmentHistory, error)
- func (c *ProjectsAgentEnvironmentsGetHistoryCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsGetHistoryCall
- func (c *ProjectsAgentEnvironmentsGetHistoryCall) Header() http.Header
- func (c *ProjectsAgentEnvironmentsGetHistoryCall) IfNoneMatch(entityTag string) *ProjectsAgentEnvironmentsGetHistoryCall
- func (c *ProjectsAgentEnvironmentsGetHistoryCall) PageSize(pageSize int64) *ProjectsAgentEnvironmentsGetHistoryCall
- func (c *ProjectsAgentEnvironmentsGetHistoryCall) PageToken(pageToken string) *ProjectsAgentEnvironmentsGetHistoryCall
- func (c *ProjectsAgentEnvironmentsGetHistoryCall) Pages(ctx context.Context, ...) error
- type ProjectsAgentEnvironmentsIntentsListCall
- func (c *ProjectsAgentEnvironmentsIntentsListCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsIntentsListCall
- func (c *ProjectsAgentEnvironmentsIntentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListIntentsResponse, error)
- func (c *ProjectsAgentEnvironmentsIntentsListCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsIntentsListCall
- func (c *ProjectsAgentEnvironmentsIntentsListCall) Header() http.Header
- func (c *ProjectsAgentEnvironmentsIntentsListCall) IfNoneMatch(entityTag string) *ProjectsAgentEnvironmentsIntentsListCall
- func (c *ProjectsAgentEnvironmentsIntentsListCall) IntentView(intentView string) *ProjectsAgentEnvironmentsIntentsListCall
- func (c *ProjectsAgentEnvironmentsIntentsListCall) LanguageCode(languageCode string) *ProjectsAgentEnvironmentsIntentsListCall
- func (c *ProjectsAgentEnvironmentsIntentsListCall) PageSize(pageSize int64) *ProjectsAgentEnvironmentsIntentsListCall
- func (c *ProjectsAgentEnvironmentsIntentsListCall) PageToken(pageToken string) *ProjectsAgentEnvironmentsIntentsListCall
- func (c *ProjectsAgentEnvironmentsIntentsListCall) Pages(ctx context.Context, ...) error
- type ProjectsAgentEnvironmentsIntentsService
- type ProjectsAgentEnvironmentsListCall
- func (c *ProjectsAgentEnvironmentsListCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsListCall
- func (c *ProjectsAgentEnvironmentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListEnvironmentsResponse, error)
- func (c *ProjectsAgentEnvironmentsListCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsListCall
- func (c *ProjectsAgentEnvironmentsListCall) Header() http.Header
- func (c *ProjectsAgentEnvironmentsListCall) IfNoneMatch(entityTag string) *ProjectsAgentEnvironmentsListCall
- func (c *ProjectsAgentEnvironmentsListCall) PageSize(pageSize int64) *ProjectsAgentEnvironmentsListCall
- func (c *ProjectsAgentEnvironmentsListCall) PageToken(pageToken string) *ProjectsAgentEnvironmentsListCall
- func (c *ProjectsAgentEnvironmentsListCall) Pages(ctx context.Context, ...) error
- type ProjectsAgentEnvironmentsPatchCall
- func (c *ProjectsAgentEnvironmentsPatchCall) AllowLoadToDraftAndDiscardChanges(allowLoadToDraftAndDiscardChanges bool) *ProjectsAgentEnvironmentsPatchCall
- func (c *ProjectsAgentEnvironmentsPatchCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsPatchCall
- func (c *ProjectsAgentEnvironmentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Environment, error)
- func (c *ProjectsAgentEnvironmentsPatchCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsPatchCall
- func (c *ProjectsAgentEnvironmentsPatchCall) Header() http.Header
- func (c *ProjectsAgentEnvironmentsPatchCall) UpdateMask(updateMask string) *ProjectsAgentEnvironmentsPatchCall
- type ProjectsAgentEnvironmentsService
- func (r *ProjectsAgentEnvironmentsService) Create(parent string, ...) *ProjectsAgentEnvironmentsCreateCall
- func (r *ProjectsAgentEnvironmentsService) Delete(name string) *ProjectsAgentEnvironmentsDeleteCall
- func (r *ProjectsAgentEnvironmentsService) Get(name string) *ProjectsAgentEnvironmentsGetCall
- func (r *ProjectsAgentEnvironmentsService) GetHistory(parent string) *ProjectsAgentEnvironmentsGetHistoryCall
- func (r *ProjectsAgentEnvironmentsService) List(parent string) *ProjectsAgentEnvironmentsListCall
- func (r *ProjectsAgentEnvironmentsService) Patch(nameid string, ...) *ProjectsAgentEnvironmentsPatchCall
- type ProjectsAgentEnvironmentsUsersService
- type ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall) Header() http.Header
- type ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall) Header() http.Header
- type ProjectsAgentEnvironmentsUsersSessionsContextsGetCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) Header() http.Header
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) IfNoneMatch(entityTag string) *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall
- type ProjectsAgentEnvironmentsUsersSessionsContextsListCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsContextsListCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListContextsResponse, error)
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsContextsListCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) Header() http.Header
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) IfNoneMatch(entityTag string) *ProjectsAgentEnvironmentsUsersSessionsContextsListCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) PageSize(pageSize int64) *ProjectsAgentEnvironmentsUsersSessionsContextsListCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) PageToken(pageToken string) *ProjectsAgentEnvironmentsUsersSessionsContextsListCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) Pages(ctx context.Context, ...) error
- type ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) Header() http.Header
- func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) UpdateMask(updateMask string) *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall
- type ProjectsAgentEnvironmentsUsersSessionsContextsService
- func (r *ProjectsAgentEnvironmentsUsersSessionsContextsService) Create(parent string, ...) *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall
- func (r *ProjectsAgentEnvironmentsUsersSessionsContextsService) Delete(name string) *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall
- func (r *ProjectsAgentEnvironmentsUsersSessionsContextsService) Get(name string) *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall
- func (r *ProjectsAgentEnvironmentsUsersSessionsContextsService) List(parent string) *ProjectsAgentEnvironmentsUsersSessionsContextsListCall
- func (r *ProjectsAgentEnvironmentsUsersSessionsContextsService) Patch(nameid string, ...) *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall
- type ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall) Header() http.Header
- type ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1DetectIntentResponse, error)
- func (c *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) Header() http.Header
- type ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Header() http.Header
- type ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Header() http.Header
- type ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Header() http.Header
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall
- type ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse, error)
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) Header() http.Header
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) Pages(ctx context.Context, ...) error
- type ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Header() http.Header
- func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall
- type ProjectsAgentEnvironmentsUsersSessionsEntityTypesService
- func (r *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) Create(parent string, ...) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall
- func (r *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) Delete(name string) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall
- func (r *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) Get(name string) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall
- func (r *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) List(parent string) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall
- func (r *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) Patch(nameid string, ...) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall
- type ProjectsAgentEnvironmentsUsersSessionsService
- type ProjectsAgentExportCall
- func (c *ProjectsAgentExportCall) Context(ctx context.Context) *ProjectsAgentExportCall
- func (c *ProjectsAgentExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsAgentExportCall) Fields(s ...googleapi.Field) *ProjectsAgentExportCall
- func (c *ProjectsAgentExportCall) Header() http.Header
- type ProjectsAgentGetFulfillmentCall
- func (c *ProjectsAgentGetFulfillmentCall) Context(ctx context.Context) *ProjectsAgentGetFulfillmentCall
- func (c *ProjectsAgentGetFulfillmentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Fulfillment, error)
- func (c *ProjectsAgentGetFulfillmentCall) Fields(s ...googleapi.Field) *ProjectsAgentGetFulfillmentCall
- func (c *ProjectsAgentGetFulfillmentCall) Header() http.Header
- func (c *ProjectsAgentGetFulfillmentCall) IfNoneMatch(entityTag string) *ProjectsAgentGetFulfillmentCall
- type ProjectsAgentGetValidationResultCall
- func (c *ProjectsAgentGetValidationResultCall) Context(ctx context.Context) *ProjectsAgentGetValidationResultCall
- func (c *ProjectsAgentGetValidationResultCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ValidationResult, error)
- func (c *ProjectsAgentGetValidationResultCall) Fields(s ...googleapi.Field) *ProjectsAgentGetValidationResultCall
- func (c *ProjectsAgentGetValidationResultCall) Header() http.Header
- func (c *ProjectsAgentGetValidationResultCall) IfNoneMatch(entityTag string) *ProjectsAgentGetValidationResultCall
- func (c *ProjectsAgentGetValidationResultCall) LanguageCode(languageCode string) *ProjectsAgentGetValidationResultCall
- type ProjectsAgentImportCall
- func (c *ProjectsAgentImportCall) Context(ctx context.Context) *ProjectsAgentImportCall
- func (c *ProjectsAgentImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsAgentImportCall) Fields(s ...googleapi.Field) *ProjectsAgentImportCall
- func (c *ProjectsAgentImportCall) Header() http.Header
- type ProjectsAgentIntentsBatchDeleteCall
- func (c *ProjectsAgentIntentsBatchDeleteCall) Context(ctx context.Context) *ProjectsAgentIntentsBatchDeleteCall
- func (c *ProjectsAgentIntentsBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsAgentIntentsBatchDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentIntentsBatchDeleteCall
- func (c *ProjectsAgentIntentsBatchDeleteCall) Header() http.Header
- type ProjectsAgentIntentsBatchUpdateCall
- func (c *ProjectsAgentIntentsBatchUpdateCall) Context(ctx context.Context) *ProjectsAgentIntentsBatchUpdateCall
- func (c *ProjectsAgentIntentsBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsAgentIntentsBatchUpdateCall) Fields(s ...googleapi.Field) *ProjectsAgentIntentsBatchUpdateCall
- func (c *ProjectsAgentIntentsBatchUpdateCall) Header() http.Header
- type ProjectsAgentIntentsCreateCall
- func (c *ProjectsAgentIntentsCreateCall) Context(ctx context.Context) *ProjectsAgentIntentsCreateCall
- func (c *ProjectsAgentIntentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Intent, error)
- func (c *ProjectsAgentIntentsCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentIntentsCreateCall
- func (c *ProjectsAgentIntentsCreateCall) Header() http.Header
- func (c *ProjectsAgentIntentsCreateCall) IntentView(intentView string) *ProjectsAgentIntentsCreateCall
- func (c *ProjectsAgentIntentsCreateCall) LanguageCode(languageCode string) *ProjectsAgentIntentsCreateCall
- type ProjectsAgentIntentsDeleteCall
- func (c *ProjectsAgentIntentsDeleteCall) Context(ctx context.Context) *ProjectsAgentIntentsDeleteCall
- func (c *ProjectsAgentIntentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsAgentIntentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentIntentsDeleteCall
- func (c *ProjectsAgentIntentsDeleteCall) Header() http.Header
- type ProjectsAgentIntentsGetCall
- func (c *ProjectsAgentIntentsGetCall) Context(ctx context.Context) *ProjectsAgentIntentsGetCall
- func (c *ProjectsAgentIntentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Intent, error)
- func (c *ProjectsAgentIntentsGetCall) Fields(s ...googleapi.Field) *ProjectsAgentIntentsGetCall
- func (c *ProjectsAgentIntentsGetCall) Header() http.Header
- func (c *ProjectsAgentIntentsGetCall) IfNoneMatch(entityTag string) *ProjectsAgentIntentsGetCall
- func (c *ProjectsAgentIntentsGetCall) IntentView(intentView string) *ProjectsAgentIntentsGetCall
- func (c *ProjectsAgentIntentsGetCall) LanguageCode(languageCode string) *ProjectsAgentIntentsGetCall
- type ProjectsAgentIntentsListCall
- func (c *ProjectsAgentIntentsListCall) Context(ctx context.Context) *ProjectsAgentIntentsListCall
- func (c *ProjectsAgentIntentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListIntentsResponse, error)
- func (c *ProjectsAgentIntentsListCall) Fields(s ...googleapi.Field) *ProjectsAgentIntentsListCall
- func (c *ProjectsAgentIntentsListCall) Header() http.Header
- func (c *ProjectsAgentIntentsListCall) IfNoneMatch(entityTag string) *ProjectsAgentIntentsListCall
- func (c *ProjectsAgentIntentsListCall) IntentView(intentView string) *ProjectsAgentIntentsListCall
- func (c *ProjectsAgentIntentsListCall) LanguageCode(languageCode string) *ProjectsAgentIntentsListCall
- func (c *ProjectsAgentIntentsListCall) PageSize(pageSize int64) *ProjectsAgentIntentsListCall
- func (c *ProjectsAgentIntentsListCall) PageToken(pageToken string) *ProjectsAgentIntentsListCall
- func (c *ProjectsAgentIntentsListCall) Pages(ctx context.Context, ...) error
- type ProjectsAgentIntentsPatchCall
- func (c *ProjectsAgentIntentsPatchCall) Context(ctx context.Context) *ProjectsAgentIntentsPatchCall
- func (c *ProjectsAgentIntentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Intent, error)
- func (c *ProjectsAgentIntentsPatchCall) Fields(s ...googleapi.Field) *ProjectsAgentIntentsPatchCall
- func (c *ProjectsAgentIntentsPatchCall) Header() http.Header
- func (c *ProjectsAgentIntentsPatchCall) IntentView(intentView string) *ProjectsAgentIntentsPatchCall
- func (c *ProjectsAgentIntentsPatchCall) LanguageCode(languageCode string) *ProjectsAgentIntentsPatchCall
- func (c *ProjectsAgentIntentsPatchCall) UpdateMask(updateMask string) *ProjectsAgentIntentsPatchCall
- type ProjectsAgentIntentsService
- func (r *ProjectsAgentIntentsService) BatchDelete(parent string, ...) *ProjectsAgentIntentsBatchDeleteCall
- func (r *ProjectsAgentIntentsService) BatchUpdate(parent string, ...) *ProjectsAgentIntentsBatchUpdateCall
- func (r *ProjectsAgentIntentsService) Create(parent string, ...) *ProjectsAgentIntentsCreateCall
- func (r *ProjectsAgentIntentsService) Delete(name string) *ProjectsAgentIntentsDeleteCall
- func (r *ProjectsAgentIntentsService) Get(name string) *ProjectsAgentIntentsGetCall
- func (r *ProjectsAgentIntentsService) List(parent string) *ProjectsAgentIntentsListCall
- func (r *ProjectsAgentIntentsService) Patch(nameid string, ...) *ProjectsAgentIntentsPatchCall
- type ProjectsAgentKnowledgeBasesCreateCall
- func (c *ProjectsAgentKnowledgeBasesCreateCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesCreateCall
- func (c *ProjectsAgentKnowledgeBasesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1KnowledgeBase, error)
- func (c *ProjectsAgentKnowledgeBasesCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesCreateCall
- func (c *ProjectsAgentKnowledgeBasesCreateCall) Header() http.Header
- type ProjectsAgentKnowledgeBasesDeleteCall
- func (c *ProjectsAgentKnowledgeBasesDeleteCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesDeleteCall
- func (c *ProjectsAgentKnowledgeBasesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsAgentKnowledgeBasesDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesDeleteCall
- func (c *ProjectsAgentKnowledgeBasesDeleteCall) Force(force bool) *ProjectsAgentKnowledgeBasesDeleteCall
- func (c *ProjectsAgentKnowledgeBasesDeleteCall) Header() http.Header
- type ProjectsAgentKnowledgeBasesDocumentsCreateCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsCreateCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesDocumentsCreateCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsAgentKnowledgeBasesDocumentsCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesDocumentsCreateCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsCreateCall) Header() http.Header
- func (c *ProjectsAgentKnowledgeBasesDocumentsCreateCall) ImportGcsCustomMetadata(importGcsCustomMetadata bool) *ProjectsAgentKnowledgeBasesDocumentsCreateCall
- type ProjectsAgentKnowledgeBasesDocumentsDeleteCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsDeleteCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesDocumentsDeleteCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsAgentKnowledgeBasesDocumentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesDocumentsDeleteCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsDeleteCall) Header() http.Header
- type ProjectsAgentKnowledgeBasesDocumentsGetCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsGetCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesDocumentsGetCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Document, error)
- func (c *ProjectsAgentKnowledgeBasesDocumentsGetCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesDocumentsGetCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsGetCall) Header() http.Header
- func (c *ProjectsAgentKnowledgeBasesDocumentsGetCall) IfNoneMatch(entityTag string) *ProjectsAgentKnowledgeBasesDocumentsGetCall
- type ProjectsAgentKnowledgeBasesDocumentsListCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesDocumentsListCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListDocumentsResponse, error)
- func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesDocumentsListCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) Filter(filter string) *ProjectsAgentKnowledgeBasesDocumentsListCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) Header() http.Header
- func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) IfNoneMatch(entityTag string) *ProjectsAgentKnowledgeBasesDocumentsListCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) PageSize(pageSize int64) *ProjectsAgentKnowledgeBasesDocumentsListCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) PageToken(pageToken string) *ProjectsAgentKnowledgeBasesDocumentsListCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) Pages(ctx context.Context, ...) error
- type ProjectsAgentKnowledgeBasesDocumentsPatchCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsPatchCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesDocumentsPatchCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsAgentKnowledgeBasesDocumentsPatchCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesDocumentsPatchCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsPatchCall) Header() http.Header
- func (c *ProjectsAgentKnowledgeBasesDocumentsPatchCall) UpdateMask(updateMask string) *ProjectsAgentKnowledgeBasesDocumentsPatchCall
- type ProjectsAgentKnowledgeBasesDocumentsReloadCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsReloadCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesDocumentsReloadCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsReloadCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsAgentKnowledgeBasesDocumentsReloadCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesDocumentsReloadCall
- func (c *ProjectsAgentKnowledgeBasesDocumentsReloadCall) Header() http.Header
- type ProjectsAgentKnowledgeBasesDocumentsService
- func (r *ProjectsAgentKnowledgeBasesDocumentsService) Create(parent string, ...) *ProjectsAgentKnowledgeBasesDocumentsCreateCall
- func (r *ProjectsAgentKnowledgeBasesDocumentsService) Delete(name string) *ProjectsAgentKnowledgeBasesDocumentsDeleteCall
- func (r *ProjectsAgentKnowledgeBasesDocumentsService) Get(name string) *ProjectsAgentKnowledgeBasesDocumentsGetCall
- func (r *ProjectsAgentKnowledgeBasesDocumentsService) List(parent string) *ProjectsAgentKnowledgeBasesDocumentsListCall
- func (r *ProjectsAgentKnowledgeBasesDocumentsService) Patch(name string, ...) *ProjectsAgentKnowledgeBasesDocumentsPatchCall
- func (r *ProjectsAgentKnowledgeBasesDocumentsService) Reload(name string, ...) *ProjectsAgentKnowledgeBasesDocumentsReloadCall
- type ProjectsAgentKnowledgeBasesGetCall
- func (c *ProjectsAgentKnowledgeBasesGetCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesGetCall
- func (c *ProjectsAgentKnowledgeBasesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1KnowledgeBase, error)
- func (c *ProjectsAgentKnowledgeBasesGetCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesGetCall
- func (c *ProjectsAgentKnowledgeBasesGetCall) Header() http.Header
- func (c *ProjectsAgentKnowledgeBasesGetCall) IfNoneMatch(entityTag string) *ProjectsAgentKnowledgeBasesGetCall
- type ProjectsAgentKnowledgeBasesListCall
- func (c *ProjectsAgentKnowledgeBasesListCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesListCall
- func (c *ProjectsAgentKnowledgeBasesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse, error)
- func (c *ProjectsAgentKnowledgeBasesListCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesListCall
- func (c *ProjectsAgentKnowledgeBasesListCall) Filter(filter string) *ProjectsAgentKnowledgeBasesListCall
- func (c *ProjectsAgentKnowledgeBasesListCall) Header() http.Header
- func (c *ProjectsAgentKnowledgeBasesListCall) IfNoneMatch(entityTag string) *ProjectsAgentKnowledgeBasesListCall
- func (c *ProjectsAgentKnowledgeBasesListCall) PageSize(pageSize int64) *ProjectsAgentKnowledgeBasesListCall
- func (c *ProjectsAgentKnowledgeBasesListCall) PageToken(pageToken string) *ProjectsAgentKnowledgeBasesListCall
- func (c *ProjectsAgentKnowledgeBasesListCall) Pages(ctx context.Context, ...) error
- type ProjectsAgentKnowledgeBasesPatchCall
- func (c *ProjectsAgentKnowledgeBasesPatchCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesPatchCall
- func (c *ProjectsAgentKnowledgeBasesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1KnowledgeBase, error)
- func (c *ProjectsAgentKnowledgeBasesPatchCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesPatchCall
- func (c *ProjectsAgentKnowledgeBasesPatchCall) Header() http.Header
- func (c *ProjectsAgentKnowledgeBasesPatchCall) UpdateMask(updateMask string) *ProjectsAgentKnowledgeBasesPatchCall
- type ProjectsAgentKnowledgeBasesService
- func (r *ProjectsAgentKnowledgeBasesService) Create(parent string, ...) *ProjectsAgentKnowledgeBasesCreateCall
- func (r *ProjectsAgentKnowledgeBasesService) Delete(name string) *ProjectsAgentKnowledgeBasesDeleteCall
- func (r *ProjectsAgentKnowledgeBasesService) Get(name string) *ProjectsAgentKnowledgeBasesGetCall
- func (r *ProjectsAgentKnowledgeBasesService) List(parent string) *ProjectsAgentKnowledgeBasesListCall
- func (r *ProjectsAgentKnowledgeBasesService) Patch(name string, ...) *ProjectsAgentKnowledgeBasesPatchCall
- type ProjectsAgentRestoreCall
- func (c *ProjectsAgentRestoreCall) Context(ctx context.Context) *ProjectsAgentRestoreCall
- func (c *ProjectsAgentRestoreCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsAgentRestoreCall) Fields(s ...googleapi.Field) *ProjectsAgentRestoreCall
- func (c *ProjectsAgentRestoreCall) Header() http.Header
- type ProjectsAgentSearchCall
- func (c *ProjectsAgentSearchCall) Context(ctx context.Context) *ProjectsAgentSearchCall
- func (c *ProjectsAgentSearchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SearchAgentsResponse, error)
- func (c *ProjectsAgentSearchCall) Fields(s ...googleapi.Field) *ProjectsAgentSearchCall
- func (c *ProjectsAgentSearchCall) Header() http.Header
- func (c *ProjectsAgentSearchCall) IfNoneMatch(entityTag string) *ProjectsAgentSearchCall
- func (c *ProjectsAgentSearchCall) PageSize(pageSize int64) *ProjectsAgentSearchCall
- func (c *ProjectsAgentSearchCall) PageToken(pageToken string) *ProjectsAgentSearchCall
- func (c *ProjectsAgentSearchCall) Pages(ctx context.Context, ...) error
- type ProjectsAgentService
- func (r *ProjectsAgentService) Export(parent string, ...) *ProjectsAgentExportCall
- func (r *ProjectsAgentService) GetFulfillment(name string) *ProjectsAgentGetFulfillmentCall
- func (r *ProjectsAgentService) GetValidationResult(parent string) *ProjectsAgentGetValidationResultCall
- func (r *ProjectsAgentService) Import(parent string, ...) *ProjectsAgentImportCall
- func (r *ProjectsAgentService) Restore(parent string, ...) *ProjectsAgentRestoreCall
- func (r *ProjectsAgentService) Search(parent string) *ProjectsAgentSearchCall
- func (r *ProjectsAgentService) Train(parent string, ...) *ProjectsAgentTrainCall
- func (r *ProjectsAgentService) UpdateFulfillment(nameid string, ...) *ProjectsAgentUpdateFulfillmentCall
- type ProjectsAgentSessionsContextsCreateCall
- func (c *ProjectsAgentSessionsContextsCreateCall) Context(ctx context.Context) *ProjectsAgentSessionsContextsCreateCall
- func (c *ProjectsAgentSessionsContextsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
- func (c *ProjectsAgentSessionsContextsCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsContextsCreateCall
- func (c *ProjectsAgentSessionsContextsCreateCall) Header() http.Header
- type ProjectsAgentSessionsContextsDeleteCall
- func (c *ProjectsAgentSessionsContextsDeleteCall) Context(ctx context.Context) *ProjectsAgentSessionsContextsDeleteCall
- func (c *ProjectsAgentSessionsContextsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsAgentSessionsContextsDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsContextsDeleteCall
- func (c *ProjectsAgentSessionsContextsDeleteCall) Header() http.Header
- type ProjectsAgentSessionsContextsGetCall
- func (c *ProjectsAgentSessionsContextsGetCall) Context(ctx context.Context) *ProjectsAgentSessionsContextsGetCall
- func (c *ProjectsAgentSessionsContextsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
- func (c *ProjectsAgentSessionsContextsGetCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsContextsGetCall
- func (c *ProjectsAgentSessionsContextsGetCall) Header() http.Header
- func (c *ProjectsAgentSessionsContextsGetCall) IfNoneMatch(entityTag string) *ProjectsAgentSessionsContextsGetCall
- type ProjectsAgentSessionsContextsListCall
- func (c *ProjectsAgentSessionsContextsListCall) Context(ctx context.Context) *ProjectsAgentSessionsContextsListCall
- func (c *ProjectsAgentSessionsContextsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListContextsResponse, error)
- func (c *ProjectsAgentSessionsContextsListCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsContextsListCall
- func (c *ProjectsAgentSessionsContextsListCall) Header() http.Header
- func (c *ProjectsAgentSessionsContextsListCall) IfNoneMatch(entityTag string) *ProjectsAgentSessionsContextsListCall
- func (c *ProjectsAgentSessionsContextsListCall) PageSize(pageSize int64) *ProjectsAgentSessionsContextsListCall
- func (c *ProjectsAgentSessionsContextsListCall) PageToken(pageToken string) *ProjectsAgentSessionsContextsListCall
- func (c *ProjectsAgentSessionsContextsListCall) Pages(ctx context.Context, ...) error
- type ProjectsAgentSessionsContextsPatchCall
- func (c *ProjectsAgentSessionsContextsPatchCall) Context(ctx context.Context) *ProjectsAgentSessionsContextsPatchCall
- func (c *ProjectsAgentSessionsContextsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
- func (c *ProjectsAgentSessionsContextsPatchCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsContextsPatchCall
- func (c *ProjectsAgentSessionsContextsPatchCall) Header() http.Header
- func (c *ProjectsAgentSessionsContextsPatchCall) UpdateMask(updateMask string) *ProjectsAgentSessionsContextsPatchCall
- type ProjectsAgentSessionsContextsService
- func (r *ProjectsAgentSessionsContextsService) Create(parent string, ...) *ProjectsAgentSessionsContextsCreateCall
- func (r *ProjectsAgentSessionsContextsService) Delete(name string) *ProjectsAgentSessionsContextsDeleteCall
- func (r *ProjectsAgentSessionsContextsService) Get(name string) *ProjectsAgentSessionsContextsGetCall
- func (r *ProjectsAgentSessionsContextsService) List(parent string) *ProjectsAgentSessionsContextsListCall
- func (r *ProjectsAgentSessionsContextsService) Patch(nameid string, ...) *ProjectsAgentSessionsContextsPatchCall
- type ProjectsAgentSessionsDeleteContextsCall
- func (c *ProjectsAgentSessionsDeleteContextsCall) Context(ctx context.Context) *ProjectsAgentSessionsDeleteContextsCall
- func (c *ProjectsAgentSessionsDeleteContextsCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsAgentSessionsDeleteContextsCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsDeleteContextsCall
- func (c *ProjectsAgentSessionsDeleteContextsCall) Header() http.Header
- type ProjectsAgentSessionsDetectIntentCall
- func (c *ProjectsAgentSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsAgentSessionsDetectIntentCall
- func (c *ProjectsAgentSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1DetectIntentResponse, error)
- func (c *ProjectsAgentSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsDetectIntentCall
- func (c *ProjectsAgentSessionsDetectIntentCall) Header() http.Header
- type ProjectsAgentSessionsEntityTypesCreateCall
- func (c *ProjectsAgentSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsAgentSessionsEntityTypesCreateCall
- func (c *ProjectsAgentSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
- func (c *ProjectsAgentSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsEntityTypesCreateCall
- func (c *ProjectsAgentSessionsEntityTypesCreateCall) Header() http.Header
- type ProjectsAgentSessionsEntityTypesDeleteCall
- func (c *ProjectsAgentSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsAgentSessionsEntityTypesDeleteCall
- func (c *ProjectsAgentSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsAgentSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsEntityTypesDeleteCall
- func (c *ProjectsAgentSessionsEntityTypesDeleteCall) Header() http.Header
- type ProjectsAgentSessionsEntityTypesGetCall
- func (c *ProjectsAgentSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsAgentSessionsEntityTypesGetCall
- func (c *ProjectsAgentSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
- func (c *ProjectsAgentSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsEntityTypesGetCall
- func (c *ProjectsAgentSessionsEntityTypesGetCall) Header() http.Header
- func (c *ProjectsAgentSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsAgentSessionsEntityTypesGetCall
- type ProjectsAgentSessionsEntityTypesListCall
- func (c *ProjectsAgentSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsAgentSessionsEntityTypesListCall
- func (c *ProjectsAgentSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse, error)
- func (c *ProjectsAgentSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsEntityTypesListCall
- func (c *ProjectsAgentSessionsEntityTypesListCall) Header() http.Header
- func (c *ProjectsAgentSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsAgentSessionsEntityTypesListCall
- func (c *ProjectsAgentSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsAgentSessionsEntityTypesListCall
- func (c *ProjectsAgentSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsAgentSessionsEntityTypesListCall
- func (c *ProjectsAgentSessionsEntityTypesListCall) Pages(ctx context.Context, ...) error
- type ProjectsAgentSessionsEntityTypesPatchCall
- func (c *ProjectsAgentSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsAgentSessionsEntityTypesPatchCall
- func (c *ProjectsAgentSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
- func (c *ProjectsAgentSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsEntityTypesPatchCall
- func (c *ProjectsAgentSessionsEntityTypesPatchCall) Header() http.Header
- func (c *ProjectsAgentSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsAgentSessionsEntityTypesPatchCall
- type ProjectsAgentSessionsEntityTypesService
- func (r *ProjectsAgentSessionsEntityTypesService) Create(parent string, ...) *ProjectsAgentSessionsEntityTypesCreateCall
- func (r *ProjectsAgentSessionsEntityTypesService) Delete(name string) *ProjectsAgentSessionsEntityTypesDeleteCall
- func (r *ProjectsAgentSessionsEntityTypesService) Get(name string) *ProjectsAgentSessionsEntityTypesGetCall
- func (r *ProjectsAgentSessionsEntityTypesService) List(parent string) *ProjectsAgentSessionsEntityTypesListCall
- func (r *ProjectsAgentSessionsEntityTypesService) Patch(nameid string, ...) *ProjectsAgentSessionsEntityTypesPatchCall
- type ProjectsAgentSessionsService
- type ProjectsAgentTrainCall
- func (c *ProjectsAgentTrainCall) Context(ctx context.Context) *ProjectsAgentTrainCall
- func (c *ProjectsAgentTrainCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsAgentTrainCall) Fields(s ...googleapi.Field) *ProjectsAgentTrainCall
- func (c *ProjectsAgentTrainCall) Header() http.Header
- type ProjectsAgentUpdateFulfillmentCall
- func (c *ProjectsAgentUpdateFulfillmentCall) Context(ctx context.Context) *ProjectsAgentUpdateFulfillmentCall
- func (c *ProjectsAgentUpdateFulfillmentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Fulfillment, error)
- func (c *ProjectsAgentUpdateFulfillmentCall) Fields(s ...googleapi.Field) *ProjectsAgentUpdateFulfillmentCall
- func (c *ProjectsAgentUpdateFulfillmentCall) Header() http.Header
- func (c *ProjectsAgentUpdateFulfillmentCall) UpdateMask(updateMask string) *ProjectsAgentUpdateFulfillmentCall
- type ProjectsAgentVersionsCreateCall
- func (c *ProjectsAgentVersionsCreateCall) Context(ctx context.Context) *ProjectsAgentVersionsCreateCall
- func (c *ProjectsAgentVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Version, error)
- func (c *ProjectsAgentVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentVersionsCreateCall
- func (c *ProjectsAgentVersionsCreateCall) Header() http.Header
- type ProjectsAgentVersionsDeleteCall
- func (c *ProjectsAgentVersionsDeleteCall) Context(ctx context.Context) *ProjectsAgentVersionsDeleteCall
- func (c *ProjectsAgentVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsAgentVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentVersionsDeleteCall
- func (c *ProjectsAgentVersionsDeleteCall) Header() http.Header
- type ProjectsAgentVersionsGetCall
- func (c *ProjectsAgentVersionsGetCall) Context(ctx context.Context) *ProjectsAgentVersionsGetCall
- func (c *ProjectsAgentVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Version, error)
- func (c *ProjectsAgentVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsAgentVersionsGetCall
- func (c *ProjectsAgentVersionsGetCall) Header() http.Header
- func (c *ProjectsAgentVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsAgentVersionsGetCall
- type ProjectsAgentVersionsListCall
- func (c *ProjectsAgentVersionsListCall) Context(ctx context.Context) *ProjectsAgentVersionsListCall
- func (c *ProjectsAgentVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListVersionsResponse, error)
- func (c *ProjectsAgentVersionsListCall) Fields(s ...googleapi.Field) *ProjectsAgentVersionsListCall
- func (c *ProjectsAgentVersionsListCall) Header() http.Header
- func (c *ProjectsAgentVersionsListCall) IfNoneMatch(entityTag string) *ProjectsAgentVersionsListCall
- func (c *ProjectsAgentVersionsListCall) PageSize(pageSize int64) *ProjectsAgentVersionsListCall
- func (c *ProjectsAgentVersionsListCall) PageToken(pageToken string) *ProjectsAgentVersionsListCall
- func (c *ProjectsAgentVersionsListCall) Pages(ctx context.Context, ...) error
- type ProjectsAgentVersionsPatchCall
- func (c *ProjectsAgentVersionsPatchCall) Context(ctx context.Context) *ProjectsAgentVersionsPatchCall
- func (c *ProjectsAgentVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Version, error)
- func (c *ProjectsAgentVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsAgentVersionsPatchCall
- func (c *ProjectsAgentVersionsPatchCall) Header() http.Header
- func (c *ProjectsAgentVersionsPatchCall) UpdateMask(updateMask string) *ProjectsAgentVersionsPatchCall
- type ProjectsAgentVersionsService
- func (r *ProjectsAgentVersionsService) Create(parent string, ...) *ProjectsAgentVersionsCreateCall
- func (r *ProjectsAgentVersionsService) Delete(name string) *ProjectsAgentVersionsDeleteCall
- func (r *ProjectsAgentVersionsService) Get(name string) *ProjectsAgentVersionsGetCall
- func (r *ProjectsAgentVersionsService) List(parent string) *ProjectsAgentVersionsListCall
- func (r *ProjectsAgentVersionsService) Patch(nameid string, ...) *ProjectsAgentVersionsPatchCall
- type ProjectsAnswerRecordsGetCall
- func (c *ProjectsAnswerRecordsGetCall) Context(ctx context.Context) *ProjectsAnswerRecordsGetCall
- func (c *ProjectsAnswerRecordsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1AnswerRecord, error)
- func (c *ProjectsAnswerRecordsGetCall) Fields(s ...googleapi.Field) *ProjectsAnswerRecordsGetCall
- func (c *ProjectsAnswerRecordsGetCall) Header() http.Header
- func (c *ProjectsAnswerRecordsGetCall) IfNoneMatch(entityTag string) *ProjectsAnswerRecordsGetCall
- type ProjectsAnswerRecordsListCall
- func (c *ProjectsAnswerRecordsListCall) Context(ctx context.Context) *ProjectsAnswerRecordsListCall
- func (c *ProjectsAnswerRecordsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse, error)
- func (c *ProjectsAnswerRecordsListCall) Fields(s ...googleapi.Field) *ProjectsAnswerRecordsListCall
- func (c *ProjectsAnswerRecordsListCall) Filter(filter string) *ProjectsAnswerRecordsListCall
- func (c *ProjectsAnswerRecordsListCall) Header() http.Header
- func (c *ProjectsAnswerRecordsListCall) IfNoneMatch(entityTag string) *ProjectsAnswerRecordsListCall
- func (c *ProjectsAnswerRecordsListCall) PageSize(pageSize int64) *ProjectsAnswerRecordsListCall
- func (c *ProjectsAnswerRecordsListCall) PageToken(pageToken string) *ProjectsAnswerRecordsListCall
- func (c *ProjectsAnswerRecordsListCall) Pages(ctx context.Context, ...) error
- type ProjectsAnswerRecordsPatchCall
- func (c *ProjectsAnswerRecordsPatchCall) Context(ctx context.Context) *ProjectsAnswerRecordsPatchCall
- func (c *ProjectsAnswerRecordsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1AnswerRecord, error)
- func (c *ProjectsAnswerRecordsPatchCall) Fields(s ...googleapi.Field) *ProjectsAnswerRecordsPatchCall
- func (c *ProjectsAnswerRecordsPatchCall) Header() http.Header
- func (c *ProjectsAnswerRecordsPatchCall) UpdateMask(updateMask string) *ProjectsAnswerRecordsPatchCall
- type ProjectsAnswerRecordsService
- type ProjectsConversationProfilesClearSuggestionFeatureConfigCall
- func (c *ProjectsConversationProfilesClearSuggestionFeatureConfigCall) Context(ctx context.Context) *ProjectsConversationProfilesClearSuggestionFeatureConfigCall
- func (c *ProjectsConversationProfilesClearSuggestionFeatureConfigCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsConversationProfilesClearSuggestionFeatureConfigCall) Fields(s ...googleapi.Field) *ProjectsConversationProfilesClearSuggestionFeatureConfigCall
- func (c *ProjectsConversationProfilesClearSuggestionFeatureConfigCall) Header() http.Header
- type ProjectsConversationProfilesCreateCall
- func (c *ProjectsConversationProfilesCreateCall) Context(ctx context.Context) *ProjectsConversationProfilesCreateCall
- func (c *ProjectsConversationProfilesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ConversationProfile, error)
- func (c *ProjectsConversationProfilesCreateCall) Fields(s ...googleapi.Field) *ProjectsConversationProfilesCreateCall
- func (c *ProjectsConversationProfilesCreateCall) Header() http.Header
- type ProjectsConversationProfilesDeleteCall
- func (c *ProjectsConversationProfilesDeleteCall) Context(ctx context.Context) *ProjectsConversationProfilesDeleteCall
- func (c *ProjectsConversationProfilesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsConversationProfilesDeleteCall) Fields(s ...googleapi.Field) *ProjectsConversationProfilesDeleteCall
- func (c *ProjectsConversationProfilesDeleteCall) Header() http.Header
- type ProjectsConversationProfilesGetCall
- func (c *ProjectsConversationProfilesGetCall) Context(ctx context.Context) *ProjectsConversationProfilesGetCall
- func (c *ProjectsConversationProfilesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ConversationProfile, error)
- func (c *ProjectsConversationProfilesGetCall) Fields(s ...googleapi.Field) *ProjectsConversationProfilesGetCall
- func (c *ProjectsConversationProfilesGetCall) Header() http.Header
- func (c *ProjectsConversationProfilesGetCall) IfNoneMatch(entityTag string) *ProjectsConversationProfilesGetCall
- type ProjectsConversationProfilesListCall
- func (c *ProjectsConversationProfilesListCall) Context(ctx context.Context) *ProjectsConversationProfilesListCall
- func (c *ProjectsConversationProfilesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListConversationProfilesResponse, error)
- func (c *ProjectsConversationProfilesListCall) Fields(s ...googleapi.Field) *ProjectsConversationProfilesListCall
- func (c *ProjectsConversationProfilesListCall) Header() http.Header
- func (c *ProjectsConversationProfilesListCall) IfNoneMatch(entityTag string) *ProjectsConversationProfilesListCall
- func (c *ProjectsConversationProfilesListCall) PageSize(pageSize int64) *ProjectsConversationProfilesListCall
- func (c *ProjectsConversationProfilesListCall) PageToken(pageToken string) *ProjectsConversationProfilesListCall
- func (c *ProjectsConversationProfilesListCall) Pages(ctx context.Context, ...) error
- type ProjectsConversationProfilesPatchCall
- func (c *ProjectsConversationProfilesPatchCall) Context(ctx context.Context) *ProjectsConversationProfilesPatchCall
- func (c *ProjectsConversationProfilesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ConversationProfile, error)
- func (c *ProjectsConversationProfilesPatchCall) Fields(s ...googleapi.Field) *ProjectsConversationProfilesPatchCall
- func (c *ProjectsConversationProfilesPatchCall) Header() http.Header
- func (c *ProjectsConversationProfilesPatchCall) UpdateMask(updateMask string) *ProjectsConversationProfilesPatchCall
- type ProjectsConversationProfilesService
- func (r *ProjectsConversationProfilesService) ClearSuggestionFeatureConfig(conversationProfile string, ...) *ProjectsConversationProfilesClearSuggestionFeatureConfigCall
- func (r *ProjectsConversationProfilesService) Create(parent string, ...) *ProjectsConversationProfilesCreateCall
- func (r *ProjectsConversationProfilesService) Delete(name string) *ProjectsConversationProfilesDeleteCall
- func (r *ProjectsConversationProfilesService) Get(name string) *ProjectsConversationProfilesGetCall
- func (r *ProjectsConversationProfilesService) List(parent string) *ProjectsConversationProfilesListCall
- func (r *ProjectsConversationProfilesService) Patch(nameid string, ...) *ProjectsConversationProfilesPatchCall
- func (r *ProjectsConversationProfilesService) SetSuggestionFeatureConfig(conversationProfile string, ...) *ProjectsConversationProfilesSetSuggestionFeatureConfigCall
- type ProjectsConversationProfilesSetSuggestionFeatureConfigCall
- func (c *ProjectsConversationProfilesSetSuggestionFeatureConfigCall) Context(ctx context.Context) *ProjectsConversationProfilesSetSuggestionFeatureConfigCall
- func (c *ProjectsConversationProfilesSetSuggestionFeatureConfigCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsConversationProfilesSetSuggestionFeatureConfigCall) Fields(s ...googleapi.Field) *ProjectsConversationProfilesSetSuggestionFeatureConfigCall
- func (c *ProjectsConversationProfilesSetSuggestionFeatureConfigCall) Header() http.Header
- type ProjectsConversationsCompleteCall
- func (c *ProjectsConversationsCompleteCall) Context(ctx context.Context) *ProjectsConversationsCompleteCall
- func (c *ProjectsConversationsCompleteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Conversation, error)
- func (c *ProjectsConversationsCompleteCall) Fields(s ...googleapi.Field) *ProjectsConversationsCompleteCall
- func (c *ProjectsConversationsCompleteCall) Header() http.Header
- type ProjectsConversationsCreateCall
- func (c *ProjectsConversationsCreateCall) Context(ctx context.Context) *ProjectsConversationsCreateCall
- func (c *ProjectsConversationsCreateCall) ConversationId(conversationId string) *ProjectsConversationsCreateCall
- func (c *ProjectsConversationsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Conversation, error)
- func (c *ProjectsConversationsCreateCall) Fields(s ...googleapi.Field) *ProjectsConversationsCreateCall
- func (c *ProjectsConversationsCreateCall) Header() http.Header
- type ProjectsConversationsGetCall
- func (c *ProjectsConversationsGetCall) Context(ctx context.Context) *ProjectsConversationsGetCall
- func (c *ProjectsConversationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Conversation, error)
- func (c *ProjectsConversationsGetCall) Fields(s ...googleapi.Field) *ProjectsConversationsGetCall
- func (c *ProjectsConversationsGetCall) Header() http.Header
- func (c *ProjectsConversationsGetCall) IfNoneMatch(entityTag string) *ProjectsConversationsGetCall
- type ProjectsConversationsListCall
- func (c *ProjectsConversationsListCall) Context(ctx context.Context) *ProjectsConversationsListCall
- func (c *ProjectsConversationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListConversationsResponse, error)
- func (c *ProjectsConversationsListCall) Fields(s ...googleapi.Field) *ProjectsConversationsListCall
- func (c *ProjectsConversationsListCall) Filter(filter string) *ProjectsConversationsListCall
- func (c *ProjectsConversationsListCall) Header() http.Header
- func (c *ProjectsConversationsListCall) IfNoneMatch(entityTag string) *ProjectsConversationsListCall
- func (c *ProjectsConversationsListCall) PageSize(pageSize int64) *ProjectsConversationsListCall
- func (c *ProjectsConversationsListCall) PageToken(pageToken string) *ProjectsConversationsListCall
- func (c *ProjectsConversationsListCall) Pages(ctx context.Context, ...) error
- type ProjectsConversationsMessagesBatchCreateCall
- func (c *ProjectsConversationsMessagesBatchCreateCall) Context(ctx context.Context) *ProjectsConversationsMessagesBatchCreateCall
- func (c *ProjectsConversationsMessagesBatchCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse, error)
- func (c *ProjectsConversationsMessagesBatchCreateCall) Fields(s ...googleapi.Field) *ProjectsConversationsMessagesBatchCreateCall
- func (c *ProjectsConversationsMessagesBatchCreateCall) Header() http.Header
- type ProjectsConversationsMessagesListCall
- func (c *ProjectsConversationsMessagesListCall) Context(ctx context.Context) *ProjectsConversationsMessagesListCall
- func (c *ProjectsConversationsMessagesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListMessagesResponse, error)
- func (c *ProjectsConversationsMessagesListCall) Fields(s ...googleapi.Field) *ProjectsConversationsMessagesListCall
- func (c *ProjectsConversationsMessagesListCall) Filter(filter string) *ProjectsConversationsMessagesListCall
- func (c *ProjectsConversationsMessagesListCall) Header() http.Header
- func (c *ProjectsConversationsMessagesListCall) IfNoneMatch(entityTag string) *ProjectsConversationsMessagesListCall
- func (c *ProjectsConversationsMessagesListCall) PageSize(pageSize int64) *ProjectsConversationsMessagesListCall
- func (c *ProjectsConversationsMessagesListCall) PageToken(pageToken string) *ProjectsConversationsMessagesListCall
- func (c *ProjectsConversationsMessagesListCall) Pages(ctx context.Context, ...) error
- type ProjectsConversationsMessagesService
- type ProjectsConversationsParticipantsAnalyzeContentCall
- func (c *ProjectsConversationsParticipantsAnalyzeContentCall) Context(ctx context.Context) *ProjectsConversationsParticipantsAnalyzeContentCall
- func (c *ProjectsConversationsParticipantsAnalyzeContentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1AnalyzeContentResponse, error)
- func (c *ProjectsConversationsParticipantsAnalyzeContentCall) Fields(s ...googleapi.Field) *ProjectsConversationsParticipantsAnalyzeContentCall
- func (c *ProjectsConversationsParticipantsAnalyzeContentCall) Header() http.Header
- type ProjectsConversationsParticipantsCreateCall
- func (c *ProjectsConversationsParticipantsCreateCall) Context(ctx context.Context) *ProjectsConversationsParticipantsCreateCall
- func (c *ProjectsConversationsParticipantsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Participant, error)
- func (c *ProjectsConversationsParticipantsCreateCall) Fields(s ...googleapi.Field) *ProjectsConversationsParticipantsCreateCall
- func (c *ProjectsConversationsParticipantsCreateCall) Header() http.Header
- type ProjectsConversationsParticipantsGetCall
- func (c *ProjectsConversationsParticipantsGetCall) Context(ctx context.Context) *ProjectsConversationsParticipantsGetCall
- func (c *ProjectsConversationsParticipantsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Participant, error)
- func (c *ProjectsConversationsParticipantsGetCall) Fields(s ...googleapi.Field) *ProjectsConversationsParticipantsGetCall
- func (c *ProjectsConversationsParticipantsGetCall) Header() http.Header
- func (c *ProjectsConversationsParticipantsGetCall) IfNoneMatch(entityTag string) *ProjectsConversationsParticipantsGetCall
- type ProjectsConversationsParticipantsListCall
- func (c *ProjectsConversationsParticipantsListCall) Context(ctx context.Context) *ProjectsConversationsParticipantsListCall
- func (c *ProjectsConversationsParticipantsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListParticipantsResponse, error)
- func (c *ProjectsConversationsParticipantsListCall) Fields(s ...googleapi.Field) *ProjectsConversationsParticipantsListCall
- func (c *ProjectsConversationsParticipantsListCall) Header() http.Header
- func (c *ProjectsConversationsParticipantsListCall) IfNoneMatch(entityTag string) *ProjectsConversationsParticipantsListCall
- func (c *ProjectsConversationsParticipantsListCall) PageSize(pageSize int64) *ProjectsConversationsParticipantsListCall
- func (c *ProjectsConversationsParticipantsListCall) PageToken(pageToken string) *ProjectsConversationsParticipantsListCall
- func (c *ProjectsConversationsParticipantsListCall) Pages(ctx context.Context, ...) error
- type ProjectsConversationsParticipantsPatchCall
- func (c *ProjectsConversationsParticipantsPatchCall) Context(ctx context.Context) *ProjectsConversationsParticipantsPatchCall
- func (c *ProjectsConversationsParticipantsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Participant, error)
- func (c *ProjectsConversationsParticipantsPatchCall) Fields(s ...googleapi.Field) *ProjectsConversationsParticipantsPatchCall
- func (c *ProjectsConversationsParticipantsPatchCall) Header() http.Header
- func (c *ProjectsConversationsParticipantsPatchCall) UpdateMask(updateMask string) *ProjectsConversationsParticipantsPatchCall
- type ProjectsConversationsParticipantsService
- func (r *ProjectsConversationsParticipantsService) AnalyzeContent(participant string, ...) *ProjectsConversationsParticipantsAnalyzeContentCall
- func (r *ProjectsConversationsParticipantsService) Create(parentid string, ...) *ProjectsConversationsParticipantsCreateCall
- func (r *ProjectsConversationsParticipantsService) Get(name string) *ProjectsConversationsParticipantsGetCall
- func (r *ProjectsConversationsParticipantsService) List(parent string) *ProjectsConversationsParticipantsListCall
- func (r *ProjectsConversationsParticipantsService) Patch(nameid string, ...) *ProjectsConversationsParticipantsPatchCall
- type ProjectsConversationsParticipantsSuggestionsCompileCall
- func (c *ProjectsConversationsParticipantsSuggestionsCompileCall) Context(ctx context.Context) *ProjectsConversationsParticipantsSuggestionsCompileCall
- func (c *ProjectsConversationsParticipantsSuggestionsCompileCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1CompileSuggestionResponse, error)
- func (c *ProjectsConversationsParticipantsSuggestionsCompileCall) Fields(s ...googleapi.Field) *ProjectsConversationsParticipantsSuggestionsCompileCall
- func (c *ProjectsConversationsParticipantsSuggestionsCompileCall) Header() http.Header
- type ProjectsConversationsParticipantsSuggestionsListCall
- func (c *ProjectsConversationsParticipantsSuggestionsListCall) Context(ctx context.Context) *ProjectsConversationsParticipantsSuggestionsListCall
- func (c *ProjectsConversationsParticipantsSuggestionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListSuggestionsResponse, error)
- func (c *ProjectsConversationsParticipantsSuggestionsListCall) Fields(s ...googleapi.Field) *ProjectsConversationsParticipantsSuggestionsListCall
- func (c *ProjectsConversationsParticipantsSuggestionsListCall) Filter(filter string) *ProjectsConversationsParticipantsSuggestionsListCall
- func (c *ProjectsConversationsParticipantsSuggestionsListCall) Header() http.Header
- func (c *ProjectsConversationsParticipantsSuggestionsListCall) IfNoneMatch(entityTag string) *ProjectsConversationsParticipantsSuggestionsListCall
- func (c *ProjectsConversationsParticipantsSuggestionsListCall) PageSize(pageSize int64) *ProjectsConversationsParticipantsSuggestionsListCall
- func (c *ProjectsConversationsParticipantsSuggestionsListCall) PageToken(pageToken string) *ProjectsConversationsParticipantsSuggestionsListCall
- func (c *ProjectsConversationsParticipantsSuggestionsListCall) Pages(ctx context.Context, ...) error
- type ProjectsConversationsParticipantsSuggestionsService
- func (r *ProjectsConversationsParticipantsSuggestionsService) Compile(parent string, ...) *ProjectsConversationsParticipantsSuggestionsCompileCall
- func (r *ProjectsConversationsParticipantsSuggestionsService) List(parent string) *ProjectsConversationsParticipantsSuggestionsListCall
- func (r *ProjectsConversationsParticipantsSuggestionsService) SuggestArticles(parent string, ...) *ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall
- func (r *ProjectsConversationsParticipantsSuggestionsService) SuggestFaqAnswers(parent string, ...) *ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall
- func (r *ProjectsConversationsParticipantsSuggestionsService) SuggestSmartReplies(parent string, ...) *ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall
- type ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall
- func (c *ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall) Context(ctx context.Context) *ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall
- func (c *ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SuggestArticlesResponse, error)
- func (c *ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall) Fields(s ...googleapi.Field) *ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall
- func (c *ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall) Header() http.Header
- type ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall
- func (c *ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Context(ctx context.Context) *ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall
- func (c *ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse, error)
- func (c *ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Fields(s ...googleapi.Field) *ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall
- func (c *ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Header() http.Header
- type ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall
- func (c *ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Context(ctx context.Context) *ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall
- func (c *ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse, error)
- func (c *ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Fields(s ...googleapi.Field) *ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall
- func (c *ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Header() http.Header
- type ProjectsConversationsService
- func (r *ProjectsConversationsService) Complete(nameid string, ...) *ProjectsConversationsCompleteCall
- func (r *ProjectsConversationsService) Create(parentid string, ...) *ProjectsConversationsCreateCall
- func (r *ProjectsConversationsService) Get(name string) *ProjectsConversationsGetCall
- func (r *ProjectsConversationsService) List(parent string) *ProjectsConversationsListCall
- type ProjectsConversationsSuggestionsService
- type ProjectsConversationsSuggestionsSuggestConversationSummaryCall
- func (c *ProjectsConversationsSuggestionsSuggestConversationSummaryCall) Context(ctx context.Context) *ProjectsConversationsSuggestionsSuggestConversationSummaryCall
- func (c *ProjectsConversationsSuggestionsSuggestConversationSummaryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse, error)
- func (c *ProjectsConversationsSuggestionsSuggestConversationSummaryCall) Fields(s ...googleapi.Field) *ProjectsConversationsSuggestionsSuggestConversationSummaryCall
- func (c *ProjectsConversationsSuggestionsSuggestConversationSummaryCall) Header() http.Header
- type ProjectsDeleteAgentCall
- func (c *ProjectsDeleteAgentCall) Context(ctx context.Context) *ProjectsDeleteAgentCall
- func (c *ProjectsDeleteAgentCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsDeleteAgentCall) Fields(s ...googleapi.Field) *ProjectsDeleteAgentCall
- func (c *ProjectsDeleteAgentCall) Header() http.Header
- type ProjectsGetAgentCall
- func (c *ProjectsGetAgentCall) Context(ctx context.Context) *ProjectsGetAgentCall
- func (c *ProjectsGetAgentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Agent, error)
- func (c *ProjectsGetAgentCall) Fields(s ...googleapi.Field) *ProjectsGetAgentCall
- func (c *ProjectsGetAgentCall) Header() http.Header
- func (c *ProjectsGetAgentCall) IfNoneMatch(entityTag string) *ProjectsGetAgentCall
- type ProjectsKnowledgeBasesCreateCall
- func (c *ProjectsKnowledgeBasesCreateCall) Context(ctx context.Context) *ProjectsKnowledgeBasesCreateCall
- func (c *ProjectsKnowledgeBasesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1KnowledgeBase, error)
- func (c *ProjectsKnowledgeBasesCreateCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesCreateCall
- func (c *ProjectsKnowledgeBasesCreateCall) Header() http.Header
- type ProjectsKnowledgeBasesDeleteCall
- func (c *ProjectsKnowledgeBasesDeleteCall) Context(ctx context.Context) *ProjectsKnowledgeBasesDeleteCall
- func (c *ProjectsKnowledgeBasesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsKnowledgeBasesDeleteCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesDeleteCall
- func (c *ProjectsKnowledgeBasesDeleteCall) Force(force bool) *ProjectsKnowledgeBasesDeleteCall
- func (c *ProjectsKnowledgeBasesDeleteCall) Header() http.Header
- type ProjectsKnowledgeBasesDocumentsCreateCall
- func (c *ProjectsKnowledgeBasesDocumentsCreateCall) Context(ctx context.Context) *ProjectsKnowledgeBasesDocumentsCreateCall
- func (c *ProjectsKnowledgeBasesDocumentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsKnowledgeBasesDocumentsCreateCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesDocumentsCreateCall
- func (c *ProjectsKnowledgeBasesDocumentsCreateCall) Header() http.Header
- func (c *ProjectsKnowledgeBasesDocumentsCreateCall) ImportGcsCustomMetadata(importGcsCustomMetadata bool) *ProjectsKnowledgeBasesDocumentsCreateCall
- type ProjectsKnowledgeBasesDocumentsDeleteCall
- func (c *ProjectsKnowledgeBasesDocumentsDeleteCall) Context(ctx context.Context) *ProjectsKnowledgeBasesDocumentsDeleteCall
- func (c *ProjectsKnowledgeBasesDocumentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsKnowledgeBasesDocumentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesDocumentsDeleteCall
- func (c *ProjectsKnowledgeBasesDocumentsDeleteCall) Header() http.Header
- type ProjectsKnowledgeBasesDocumentsGetCall
- func (c *ProjectsKnowledgeBasesDocumentsGetCall) Context(ctx context.Context) *ProjectsKnowledgeBasesDocumentsGetCall
- func (c *ProjectsKnowledgeBasesDocumentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Document, error)
- func (c *ProjectsKnowledgeBasesDocumentsGetCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesDocumentsGetCall
- func (c *ProjectsKnowledgeBasesDocumentsGetCall) Header() http.Header
- func (c *ProjectsKnowledgeBasesDocumentsGetCall) IfNoneMatch(entityTag string) *ProjectsKnowledgeBasesDocumentsGetCall
- type ProjectsKnowledgeBasesDocumentsImportCall
- func (c *ProjectsKnowledgeBasesDocumentsImportCall) Context(ctx context.Context) *ProjectsKnowledgeBasesDocumentsImportCall
- func (c *ProjectsKnowledgeBasesDocumentsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsKnowledgeBasesDocumentsImportCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesDocumentsImportCall
- func (c *ProjectsKnowledgeBasesDocumentsImportCall) Header() http.Header
- type ProjectsKnowledgeBasesDocumentsListCall
- func (c *ProjectsKnowledgeBasesDocumentsListCall) Context(ctx context.Context) *ProjectsKnowledgeBasesDocumentsListCall
- func (c *ProjectsKnowledgeBasesDocumentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListDocumentsResponse, error)
- func (c *ProjectsKnowledgeBasesDocumentsListCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesDocumentsListCall
- func (c *ProjectsKnowledgeBasesDocumentsListCall) Filter(filter string) *ProjectsKnowledgeBasesDocumentsListCall
- func (c *ProjectsKnowledgeBasesDocumentsListCall) Header() http.Header
- func (c *ProjectsKnowledgeBasesDocumentsListCall) IfNoneMatch(entityTag string) *ProjectsKnowledgeBasesDocumentsListCall
- func (c *ProjectsKnowledgeBasesDocumentsListCall) PageSize(pageSize int64) *ProjectsKnowledgeBasesDocumentsListCall
- func (c *ProjectsKnowledgeBasesDocumentsListCall) PageToken(pageToken string) *ProjectsKnowledgeBasesDocumentsListCall
- func (c *ProjectsKnowledgeBasesDocumentsListCall) Pages(ctx context.Context, ...) error
- type ProjectsKnowledgeBasesDocumentsPatchCall
- func (c *ProjectsKnowledgeBasesDocumentsPatchCall) Context(ctx context.Context) *ProjectsKnowledgeBasesDocumentsPatchCall
- func (c *ProjectsKnowledgeBasesDocumentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsKnowledgeBasesDocumentsPatchCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesDocumentsPatchCall
- func (c *ProjectsKnowledgeBasesDocumentsPatchCall) Header() http.Header
- func (c *ProjectsKnowledgeBasesDocumentsPatchCall) UpdateMask(updateMask string) *ProjectsKnowledgeBasesDocumentsPatchCall
- type ProjectsKnowledgeBasesDocumentsReloadCall
- func (c *ProjectsKnowledgeBasesDocumentsReloadCall) Context(ctx context.Context) *ProjectsKnowledgeBasesDocumentsReloadCall
- func (c *ProjectsKnowledgeBasesDocumentsReloadCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsKnowledgeBasesDocumentsReloadCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesDocumentsReloadCall
- func (c *ProjectsKnowledgeBasesDocumentsReloadCall) Header() http.Header
- type ProjectsKnowledgeBasesDocumentsService
- func (r *ProjectsKnowledgeBasesDocumentsService) Create(parent string, ...) *ProjectsKnowledgeBasesDocumentsCreateCall
- func (r *ProjectsKnowledgeBasesDocumentsService) Delete(name string) *ProjectsKnowledgeBasesDocumentsDeleteCall
- func (r *ProjectsKnowledgeBasesDocumentsService) Get(name string) *ProjectsKnowledgeBasesDocumentsGetCall
- func (r *ProjectsKnowledgeBasesDocumentsService) Import(parent string, ...) *ProjectsKnowledgeBasesDocumentsImportCall
- func (r *ProjectsKnowledgeBasesDocumentsService) List(parent string) *ProjectsKnowledgeBasesDocumentsListCall
- func (r *ProjectsKnowledgeBasesDocumentsService) Patch(name string, ...) *ProjectsKnowledgeBasesDocumentsPatchCall
- func (r *ProjectsKnowledgeBasesDocumentsService) Reload(name string, ...) *ProjectsKnowledgeBasesDocumentsReloadCall
- type ProjectsKnowledgeBasesGetCall
- func (c *ProjectsKnowledgeBasesGetCall) Context(ctx context.Context) *ProjectsKnowledgeBasesGetCall
- func (c *ProjectsKnowledgeBasesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1KnowledgeBase, error)
- func (c *ProjectsKnowledgeBasesGetCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesGetCall
- func (c *ProjectsKnowledgeBasesGetCall) Header() http.Header
- func (c *ProjectsKnowledgeBasesGetCall) IfNoneMatch(entityTag string) *ProjectsKnowledgeBasesGetCall
- type ProjectsKnowledgeBasesListCall
- func (c *ProjectsKnowledgeBasesListCall) Context(ctx context.Context) *ProjectsKnowledgeBasesListCall
- func (c *ProjectsKnowledgeBasesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse, error)
- func (c *ProjectsKnowledgeBasesListCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesListCall
- func (c *ProjectsKnowledgeBasesListCall) Filter(filter string) *ProjectsKnowledgeBasesListCall
- func (c *ProjectsKnowledgeBasesListCall) Header() http.Header
- func (c *ProjectsKnowledgeBasesListCall) IfNoneMatch(entityTag string) *ProjectsKnowledgeBasesListCall
- func (c *ProjectsKnowledgeBasesListCall) PageSize(pageSize int64) *ProjectsKnowledgeBasesListCall
- func (c *ProjectsKnowledgeBasesListCall) PageToken(pageToken string) *ProjectsKnowledgeBasesListCall
- func (c *ProjectsKnowledgeBasesListCall) Pages(ctx context.Context, ...) error
- type ProjectsKnowledgeBasesPatchCall
- func (c *ProjectsKnowledgeBasesPatchCall) Context(ctx context.Context) *ProjectsKnowledgeBasesPatchCall
- func (c *ProjectsKnowledgeBasesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1KnowledgeBase, error)
- func (c *ProjectsKnowledgeBasesPatchCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesPatchCall
- func (c *ProjectsKnowledgeBasesPatchCall) Header() http.Header
- func (c *ProjectsKnowledgeBasesPatchCall) UpdateMask(updateMask string) *ProjectsKnowledgeBasesPatchCall
- type ProjectsKnowledgeBasesService
- func (r *ProjectsKnowledgeBasesService) Create(parent string, ...) *ProjectsKnowledgeBasesCreateCall
- func (r *ProjectsKnowledgeBasesService) Delete(name string) *ProjectsKnowledgeBasesDeleteCall
- func (r *ProjectsKnowledgeBasesService) Get(name string) *ProjectsKnowledgeBasesGetCall
- func (r *ProjectsKnowledgeBasesService) List(parent string) *ProjectsKnowledgeBasesListCall
- func (r *ProjectsKnowledgeBasesService) Patch(name string, ...) *ProjectsKnowledgeBasesPatchCall
- type ProjectsLocationsAgentEntityTypesBatchDeleteCall
- func (c *ProjectsLocationsAgentEntityTypesBatchDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentEntityTypesBatchDeleteCall
- func (c *ProjectsLocationsAgentEntityTypesBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentEntityTypesBatchDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEntityTypesBatchDeleteCall
- func (c *ProjectsLocationsAgentEntityTypesBatchDeleteCall) Header() http.Header
- type ProjectsLocationsAgentEntityTypesBatchUpdateCall
- func (c *ProjectsLocationsAgentEntityTypesBatchUpdateCall) Context(ctx context.Context) *ProjectsLocationsAgentEntityTypesBatchUpdateCall
- func (c *ProjectsLocationsAgentEntityTypesBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentEntityTypesBatchUpdateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEntityTypesBatchUpdateCall
- func (c *ProjectsLocationsAgentEntityTypesBatchUpdateCall) Header() http.Header
- type ProjectsLocationsAgentEntityTypesCreateCall
- func (c *ProjectsLocationsAgentEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentEntityTypesCreateCall
- func (c *ProjectsLocationsAgentEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1EntityType, error)
- func (c *ProjectsLocationsAgentEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEntityTypesCreateCall
- func (c *ProjectsLocationsAgentEntityTypesCreateCall) Header() http.Header
- func (c *ProjectsLocationsAgentEntityTypesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentEntityTypesCreateCall
- type ProjectsLocationsAgentEntityTypesDeleteCall
- func (c *ProjectsLocationsAgentEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentEntityTypesDeleteCall
- func (c *ProjectsLocationsAgentEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEntityTypesDeleteCall
- func (c *ProjectsLocationsAgentEntityTypesDeleteCall) Header() http.Header
- type ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall
- func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall
- func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall
- func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall) Header() http.Header
- type ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall
- func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall
- func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall
- func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall) Header() http.Header
- type ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall
- func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall) Context(ctx context.Context) *ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall
- func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall
- func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall) Header() http.Header
- type ProjectsLocationsAgentEntityTypesEntitiesService
- func (r *ProjectsLocationsAgentEntityTypesEntitiesService) BatchCreate(parent string, ...) *ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall
- func (r *ProjectsLocationsAgentEntityTypesEntitiesService) BatchDelete(parent string, ...) *ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall
- func (r *ProjectsLocationsAgentEntityTypesEntitiesService) BatchUpdate(parent string, ...) *ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall
- type ProjectsLocationsAgentEntityTypesGetCall
- func (c *ProjectsLocationsAgentEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentEntityTypesGetCall
- func (c *ProjectsLocationsAgentEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1EntityType, error)
- func (c *ProjectsLocationsAgentEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEntityTypesGetCall
- func (c *ProjectsLocationsAgentEntityTypesGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentEntityTypesGetCall
- func (c *ProjectsLocationsAgentEntityTypesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentEntityTypesGetCall
- type ProjectsLocationsAgentEntityTypesListCall
- func (c *ProjectsLocationsAgentEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentEntityTypesListCall
- func (c *ProjectsLocationsAgentEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListEntityTypesResponse, error)
- func (c *ProjectsLocationsAgentEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEntityTypesListCall
- func (c *ProjectsLocationsAgentEntityTypesListCall) Header() http.Header
- func (c *ProjectsLocationsAgentEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentEntityTypesListCall
- func (c *ProjectsLocationsAgentEntityTypesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentEntityTypesListCall
- func (c *ProjectsLocationsAgentEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentEntityTypesListCall
- func (c *ProjectsLocationsAgentEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentEntityTypesListCall
- func (c *ProjectsLocationsAgentEntityTypesListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentEntityTypesPatchCall
- func (c *ProjectsLocationsAgentEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentEntityTypesPatchCall
- func (c *ProjectsLocationsAgentEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1EntityType, error)
- func (c *ProjectsLocationsAgentEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEntityTypesPatchCall
- func (c *ProjectsLocationsAgentEntityTypesPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentEntityTypesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentEntityTypesPatchCall
- func (c *ProjectsLocationsAgentEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentEntityTypesPatchCall
- type ProjectsLocationsAgentEntityTypesService
- func (r *ProjectsLocationsAgentEntityTypesService) BatchDelete(parent string, ...) *ProjectsLocationsAgentEntityTypesBatchDeleteCall
- func (r *ProjectsLocationsAgentEntityTypesService) BatchUpdate(parent string, ...) *ProjectsLocationsAgentEntityTypesBatchUpdateCall
- func (r *ProjectsLocationsAgentEntityTypesService) Create(parent string, ...) *ProjectsLocationsAgentEntityTypesCreateCall
- func (r *ProjectsLocationsAgentEntityTypesService) Delete(name string) *ProjectsLocationsAgentEntityTypesDeleteCall
- func (r *ProjectsLocationsAgentEntityTypesService) Get(name string) *ProjectsLocationsAgentEntityTypesGetCall
- func (r *ProjectsLocationsAgentEntityTypesService) List(parent string) *ProjectsLocationsAgentEntityTypesListCall
- func (r *ProjectsLocationsAgentEntityTypesService) Patch(nameid string, ...) *ProjectsLocationsAgentEntityTypesPatchCall
- type ProjectsLocationsAgentEnvironmentsCreateCall
- func (c *ProjectsLocationsAgentEnvironmentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsCreateCall
- func (c *ProjectsLocationsAgentEnvironmentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Environment, error)
- func (c *ProjectsLocationsAgentEnvironmentsCreateCall) EnvironmentId(environmentId string) *ProjectsLocationsAgentEnvironmentsCreateCall
- func (c *ProjectsLocationsAgentEnvironmentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsCreateCall
- func (c *ProjectsLocationsAgentEnvironmentsCreateCall) Header() http.Header
- type ProjectsLocationsAgentEnvironmentsDeleteCall
- func (c *ProjectsLocationsAgentEnvironmentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsDeleteCall
- func (c *ProjectsLocationsAgentEnvironmentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentEnvironmentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsDeleteCall
- func (c *ProjectsLocationsAgentEnvironmentsDeleteCall) Header() http.Header
- type ProjectsLocationsAgentEnvironmentsGetCall
- func (c *ProjectsLocationsAgentEnvironmentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsGetCall
- func (c *ProjectsLocationsAgentEnvironmentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Environment, error)
- func (c *ProjectsLocationsAgentEnvironmentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsGetCall
- func (c *ProjectsLocationsAgentEnvironmentsGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentEnvironmentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentEnvironmentsGetCall
- type ProjectsLocationsAgentEnvironmentsGetHistoryCall
- func (c *ProjectsLocationsAgentEnvironmentsGetHistoryCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsGetHistoryCall
- func (c *ProjectsLocationsAgentEnvironmentsGetHistoryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1EnvironmentHistory, error)
- func (c *ProjectsLocationsAgentEnvironmentsGetHistoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsGetHistoryCall
- func (c *ProjectsLocationsAgentEnvironmentsGetHistoryCall) Header() http.Header
- func (c *ProjectsLocationsAgentEnvironmentsGetHistoryCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentEnvironmentsGetHistoryCall
- func (c *ProjectsLocationsAgentEnvironmentsGetHistoryCall) PageSize(pageSize int64) *ProjectsLocationsAgentEnvironmentsGetHistoryCall
- func (c *ProjectsLocationsAgentEnvironmentsGetHistoryCall) PageToken(pageToken string) *ProjectsLocationsAgentEnvironmentsGetHistoryCall
- func (c *ProjectsLocationsAgentEnvironmentsGetHistoryCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentEnvironmentsIntentsListCall
- func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsIntentsListCall
- func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListIntentsResponse, error)
- func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsIntentsListCall
- func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) Header() http.Header
- func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentEnvironmentsIntentsListCall
- func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) IntentView(intentView string) *ProjectsLocationsAgentEnvironmentsIntentsListCall
- func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentEnvironmentsIntentsListCall
- func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentEnvironmentsIntentsListCall
- func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentEnvironmentsIntentsListCall
- func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentEnvironmentsIntentsService
- type ProjectsLocationsAgentEnvironmentsListCall
- func (c *ProjectsLocationsAgentEnvironmentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsListCall
- func (c *ProjectsLocationsAgentEnvironmentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListEnvironmentsResponse, error)
- func (c *ProjectsLocationsAgentEnvironmentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsListCall
- func (c *ProjectsLocationsAgentEnvironmentsListCall) Header() http.Header
- func (c *ProjectsLocationsAgentEnvironmentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentEnvironmentsListCall
- func (c *ProjectsLocationsAgentEnvironmentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentEnvironmentsListCall
- func (c *ProjectsLocationsAgentEnvironmentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentEnvironmentsListCall
- func (c *ProjectsLocationsAgentEnvironmentsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentEnvironmentsPatchCall
- func (c *ProjectsLocationsAgentEnvironmentsPatchCall) AllowLoadToDraftAndDiscardChanges(allowLoadToDraftAndDiscardChanges bool) *ProjectsLocationsAgentEnvironmentsPatchCall
- func (c *ProjectsLocationsAgentEnvironmentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsPatchCall
- func (c *ProjectsLocationsAgentEnvironmentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Environment, error)
- func (c *ProjectsLocationsAgentEnvironmentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsPatchCall
- func (c *ProjectsLocationsAgentEnvironmentsPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentEnvironmentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentEnvironmentsPatchCall
- type ProjectsLocationsAgentEnvironmentsService
- func (r *ProjectsLocationsAgentEnvironmentsService) Create(parent string, ...) *ProjectsLocationsAgentEnvironmentsCreateCall
- func (r *ProjectsLocationsAgentEnvironmentsService) Delete(name string) *ProjectsLocationsAgentEnvironmentsDeleteCall
- func (r *ProjectsLocationsAgentEnvironmentsService) Get(name string) *ProjectsLocationsAgentEnvironmentsGetCall
- func (r *ProjectsLocationsAgentEnvironmentsService) GetHistory(parent string) *ProjectsLocationsAgentEnvironmentsGetHistoryCall
- func (r *ProjectsLocationsAgentEnvironmentsService) List(parent string) *ProjectsLocationsAgentEnvironmentsListCall
- func (r *ProjectsLocationsAgentEnvironmentsService) Patch(nameid string, ...) *ProjectsLocationsAgentEnvironmentsPatchCall
- type ProjectsLocationsAgentEnvironmentsUsersService
- type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall) Header() http.Header
- type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall) Header() http.Header
- type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall
- type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListContextsResponse, error)
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) Header() http.Header
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) PageToken(pageToken string) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall
- type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService
- func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) Create(parent string, ...) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall
- func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) Delete(name string) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall
- func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) Get(name string) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall
- func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) List(parent string) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall
- func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) Patch(nameid string, ...) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall
- type ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall) Header() http.Header
- type ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1DetectIntentResponse, error)
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall) Header() http.Header
- type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Header() http.Header
- type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Header() http.Header
- type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall
- type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse, error)
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) Header() http.Header
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall
- type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService
- func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) Create(parent string, ...) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall
- func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall
- func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall
- func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall
- func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) Patch(nameid string, ...) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall
- type ProjectsLocationsAgentEnvironmentsUsersSessionsService
- func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsService) DeleteContexts(parent string) *ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall
- func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsService) DetectIntent(sessionid string, ...) *ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall
- type ProjectsLocationsAgentExportCall
- func (c *ProjectsLocationsAgentExportCall) Context(ctx context.Context) *ProjectsLocationsAgentExportCall
- func (c *ProjectsLocationsAgentExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentExportCall
- func (c *ProjectsLocationsAgentExportCall) Header() http.Header
- type ProjectsLocationsAgentGetFulfillmentCall
- func (c *ProjectsLocationsAgentGetFulfillmentCall) Context(ctx context.Context) *ProjectsLocationsAgentGetFulfillmentCall
- func (c *ProjectsLocationsAgentGetFulfillmentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Fulfillment, error)
- func (c *ProjectsLocationsAgentGetFulfillmentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentGetFulfillmentCall
- func (c *ProjectsLocationsAgentGetFulfillmentCall) Header() http.Header
- func (c *ProjectsLocationsAgentGetFulfillmentCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentGetFulfillmentCall
- type ProjectsLocationsAgentGetValidationResultCall
- func (c *ProjectsLocationsAgentGetValidationResultCall) Context(ctx context.Context) *ProjectsLocationsAgentGetValidationResultCall
- func (c *ProjectsLocationsAgentGetValidationResultCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ValidationResult, error)
- func (c *ProjectsLocationsAgentGetValidationResultCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentGetValidationResultCall
- func (c *ProjectsLocationsAgentGetValidationResultCall) Header() http.Header
- func (c *ProjectsLocationsAgentGetValidationResultCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentGetValidationResultCall
- func (c *ProjectsLocationsAgentGetValidationResultCall) LanguageCode(languageCode string) *ProjectsLocationsAgentGetValidationResultCall
- type ProjectsLocationsAgentImportCall
- func (c *ProjectsLocationsAgentImportCall) Context(ctx context.Context) *ProjectsLocationsAgentImportCall
- func (c *ProjectsLocationsAgentImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentImportCall
- func (c *ProjectsLocationsAgentImportCall) Header() http.Header
- type ProjectsLocationsAgentIntentsBatchDeleteCall
- func (c *ProjectsLocationsAgentIntentsBatchDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentIntentsBatchDeleteCall
- func (c *ProjectsLocationsAgentIntentsBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentIntentsBatchDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentIntentsBatchDeleteCall
- func (c *ProjectsLocationsAgentIntentsBatchDeleteCall) Header() http.Header
- type ProjectsLocationsAgentIntentsBatchUpdateCall
- func (c *ProjectsLocationsAgentIntentsBatchUpdateCall) Context(ctx context.Context) *ProjectsLocationsAgentIntentsBatchUpdateCall
- func (c *ProjectsLocationsAgentIntentsBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentIntentsBatchUpdateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentIntentsBatchUpdateCall
- func (c *ProjectsLocationsAgentIntentsBatchUpdateCall) Header() http.Header
- type ProjectsLocationsAgentIntentsCreateCall
- func (c *ProjectsLocationsAgentIntentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentIntentsCreateCall
- func (c *ProjectsLocationsAgentIntentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Intent, error)
- func (c *ProjectsLocationsAgentIntentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentIntentsCreateCall
- func (c *ProjectsLocationsAgentIntentsCreateCall) Header() http.Header
- func (c *ProjectsLocationsAgentIntentsCreateCall) IntentView(intentView string) *ProjectsLocationsAgentIntentsCreateCall
- func (c *ProjectsLocationsAgentIntentsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentIntentsCreateCall
- type ProjectsLocationsAgentIntentsDeleteCall
- func (c *ProjectsLocationsAgentIntentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentIntentsDeleteCall
- func (c *ProjectsLocationsAgentIntentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentIntentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentIntentsDeleteCall
- func (c *ProjectsLocationsAgentIntentsDeleteCall) Header() http.Header
- type ProjectsLocationsAgentIntentsGetCall
- func (c *ProjectsLocationsAgentIntentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentIntentsGetCall
- func (c *ProjectsLocationsAgentIntentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Intent, error)
- func (c *ProjectsLocationsAgentIntentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentIntentsGetCall
- func (c *ProjectsLocationsAgentIntentsGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentIntentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentIntentsGetCall
- func (c *ProjectsLocationsAgentIntentsGetCall) IntentView(intentView string) *ProjectsLocationsAgentIntentsGetCall
- func (c *ProjectsLocationsAgentIntentsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentIntentsGetCall
- type ProjectsLocationsAgentIntentsListCall
- func (c *ProjectsLocationsAgentIntentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentIntentsListCall
- func (c *ProjectsLocationsAgentIntentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListIntentsResponse, error)
- func (c *ProjectsLocationsAgentIntentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentIntentsListCall
- func (c *ProjectsLocationsAgentIntentsListCall) Header() http.Header
- func (c *ProjectsLocationsAgentIntentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentIntentsListCall
- func (c *ProjectsLocationsAgentIntentsListCall) IntentView(intentView string) *ProjectsLocationsAgentIntentsListCall
- func (c *ProjectsLocationsAgentIntentsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentIntentsListCall
- func (c *ProjectsLocationsAgentIntentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentIntentsListCall
- func (c *ProjectsLocationsAgentIntentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentIntentsListCall
- func (c *ProjectsLocationsAgentIntentsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentIntentsPatchCall
- func (c *ProjectsLocationsAgentIntentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentIntentsPatchCall
- func (c *ProjectsLocationsAgentIntentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Intent, error)
- func (c *ProjectsLocationsAgentIntentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentIntentsPatchCall
- func (c *ProjectsLocationsAgentIntentsPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentIntentsPatchCall) IntentView(intentView string) *ProjectsLocationsAgentIntentsPatchCall
- func (c *ProjectsLocationsAgentIntentsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentIntentsPatchCall
- func (c *ProjectsLocationsAgentIntentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentIntentsPatchCall
- type ProjectsLocationsAgentIntentsService
- func (r *ProjectsLocationsAgentIntentsService) BatchDelete(parent string, ...) *ProjectsLocationsAgentIntentsBatchDeleteCall
- func (r *ProjectsLocationsAgentIntentsService) BatchUpdate(parent string, ...) *ProjectsLocationsAgentIntentsBatchUpdateCall
- func (r *ProjectsLocationsAgentIntentsService) Create(parent string, ...) *ProjectsLocationsAgentIntentsCreateCall
- func (r *ProjectsLocationsAgentIntentsService) Delete(name string) *ProjectsLocationsAgentIntentsDeleteCall
- func (r *ProjectsLocationsAgentIntentsService) Get(name string) *ProjectsLocationsAgentIntentsGetCall
- func (r *ProjectsLocationsAgentIntentsService) List(parent string) *ProjectsLocationsAgentIntentsListCall
- func (r *ProjectsLocationsAgentIntentsService) Patch(nameid string, ...) *ProjectsLocationsAgentIntentsPatchCall
- type ProjectsLocationsAgentRestoreCall
- func (c *ProjectsLocationsAgentRestoreCall) Context(ctx context.Context) *ProjectsLocationsAgentRestoreCall
- func (c *ProjectsLocationsAgentRestoreCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentRestoreCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentRestoreCall
- func (c *ProjectsLocationsAgentRestoreCall) Header() http.Header
- type ProjectsLocationsAgentSearchCall
- func (c *ProjectsLocationsAgentSearchCall) Context(ctx context.Context) *ProjectsLocationsAgentSearchCall
- func (c *ProjectsLocationsAgentSearchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SearchAgentsResponse, error)
- func (c *ProjectsLocationsAgentSearchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSearchCall
- func (c *ProjectsLocationsAgentSearchCall) Header() http.Header
- func (c *ProjectsLocationsAgentSearchCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentSearchCall
- func (c *ProjectsLocationsAgentSearchCall) PageSize(pageSize int64) *ProjectsLocationsAgentSearchCall
- func (c *ProjectsLocationsAgentSearchCall) PageToken(pageToken string) *ProjectsLocationsAgentSearchCall
- func (c *ProjectsLocationsAgentSearchCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentService
- func (r *ProjectsLocationsAgentService) Export(parent string, ...) *ProjectsLocationsAgentExportCall
- func (r *ProjectsLocationsAgentService) GetFulfillment(name string) *ProjectsLocationsAgentGetFulfillmentCall
- func (r *ProjectsLocationsAgentService) GetValidationResult(parent string) *ProjectsLocationsAgentGetValidationResultCall
- func (r *ProjectsLocationsAgentService) Import(parent string, ...) *ProjectsLocationsAgentImportCall
- func (r *ProjectsLocationsAgentService) Restore(parent string, ...) *ProjectsLocationsAgentRestoreCall
- func (r *ProjectsLocationsAgentService) Search(parent string) *ProjectsLocationsAgentSearchCall
- func (r *ProjectsLocationsAgentService) Train(parent string, ...) *ProjectsLocationsAgentTrainCall
- func (r *ProjectsLocationsAgentService) UpdateFulfillment(nameid string, ...) *ProjectsLocationsAgentUpdateFulfillmentCall
- type ProjectsLocationsAgentSessionsContextsCreateCall
- func (c *ProjectsLocationsAgentSessionsContextsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsContextsCreateCall
- func (c *ProjectsLocationsAgentSessionsContextsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
- func (c *ProjectsLocationsAgentSessionsContextsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsContextsCreateCall
- func (c *ProjectsLocationsAgentSessionsContextsCreateCall) Header() http.Header
- type ProjectsLocationsAgentSessionsContextsDeleteCall
- func (c *ProjectsLocationsAgentSessionsContextsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsContextsDeleteCall
- func (c *ProjectsLocationsAgentSessionsContextsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentSessionsContextsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsContextsDeleteCall
- func (c *ProjectsLocationsAgentSessionsContextsDeleteCall) Header() http.Header
- type ProjectsLocationsAgentSessionsContextsGetCall
- func (c *ProjectsLocationsAgentSessionsContextsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsContextsGetCall
- func (c *ProjectsLocationsAgentSessionsContextsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
- func (c *ProjectsLocationsAgentSessionsContextsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsContextsGetCall
- func (c *ProjectsLocationsAgentSessionsContextsGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentSessionsContextsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentSessionsContextsGetCall
- type ProjectsLocationsAgentSessionsContextsListCall
- func (c *ProjectsLocationsAgentSessionsContextsListCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsContextsListCall
- func (c *ProjectsLocationsAgentSessionsContextsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListContextsResponse, error)
- func (c *ProjectsLocationsAgentSessionsContextsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsContextsListCall
- func (c *ProjectsLocationsAgentSessionsContextsListCall) Header() http.Header
- func (c *ProjectsLocationsAgentSessionsContextsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentSessionsContextsListCall
- func (c *ProjectsLocationsAgentSessionsContextsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentSessionsContextsListCall
- func (c *ProjectsLocationsAgentSessionsContextsListCall) PageToken(pageToken string) *ProjectsLocationsAgentSessionsContextsListCall
- func (c *ProjectsLocationsAgentSessionsContextsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentSessionsContextsPatchCall
- func (c *ProjectsLocationsAgentSessionsContextsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsContextsPatchCall
- func (c *ProjectsLocationsAgentSessionsContextsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
- func (c *ProjectsLocationsAgentSessionsContextsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsContextsPatchCall
- func (c *ProjectsLocationsAgentSessionsContextsPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentSessionsContextsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentSessionsContextsPatchCall
- type ProjectsLocationsAgentSessionsContextsService
- func (r *ProjectsLocationsAgentSessionsContextsService) Create(parent string, ...) *ProjectsLocationsAgentSessionsContextsCreateCall
- func (r *ProjectsLocationsAgentSessionsContextsService) Delete(name string) *ProjectsLocationsAgentSessionsContextsDeleteCall
- func (r *ProjectsLocationsAgentSessionsContextsService) Get(name string) *ProjectsLocationsAgentSessionsContextsGetCall
- func (r *ProjectsLocationsAgentSessionsContextsService) List(parent string) *ProjectsLocationsAgentSessionsContextsListCall
- func (r *ProjectsLocationsAgentSessionsContextsService) Patch(nameid string, ...) *ProjectsLocationsAgentSessionsContextsPatchCall
- type ProjectsLocationsAgentSessionsDeleteContextsCall
- func (c *ProjectsLocationsAgentSessionsDeleteContextsCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsDeleteContextsCall
- func (c *ProjectsLocationsAgentSessionsDeleteContextsCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentSessionsDeleteContextsCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsDeleteContextsCall
- func (c *ProjectsLocationsAgentSessionsDeleteContextsCall) Header() http.Header
- type ProjectsLocationsAgentSessionsDetectIntentCall
- func (c *ProjectsLocationsAgentSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsDetectIntentCall
- func (c *ProjectsLocationsAgentSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1DetectIntentResponse, error)
- func (c *ProjectsLocationsAgentSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsDetectIntentCall
- func (c *ProjectsLocationsAgentSessionsDetectIntentCall) Header() http.Header
- type ProjectsLocationsAgentSessionsEntityTypesCreateCall
- func (c *ProjectsLocationsAgentSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsEntityTypesCreateCall
- func (c *ProjectsLocationsAgentSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
- func (c *ProjectsLocationsAgentSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsEntityTypesCreateCall
- func (c *ProjectsLocationsAgentSessionsEntityTypesCreateCall) Header() http.Header
- type ProjectsLocationsAgentSessionsEntityTypesDeleteCall
- func (c *ProjectsLocationsAgentSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsEntityTypesDeleteCall
- func (c *ProjectsLocationsAgentSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsEntityTypesDeleteCall
- func (c *ProjectsLocationsAgentSessionsEntityTypesDeleteCall) Header() http.Header
- type ProjectsLocationsAgentSessionsEntityTypesGetCall
- func (c *ProjectsLocationsAgentSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsEntityTypesGetCall
- func (c *ProjectsLocationsAgentSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
- func (c *ProjectsLocationsAgentSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsEntityTypesGetCall
- func (c *ProjectsLocationsAgentSessionsEntityTypesGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentSessionsEntityTypesGetCall
- type ProjectsLocationsAgentSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse, error)
- func (c *ProjectsLocationsAgentSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentSessionsEntityTypesListCall) Header() http.Header
- func (c *ProjectsLocationsAgentSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentSessionsEntityTypesListCall
- func (c *ProjectsLocationsAgentSessionsEntityTypesListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentSessionsEntityTypesPatchCall
- func (c *ProjectsLocationsAgentSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsEntityTypesPatchCall
- func (c *ProjectsLocationsAgentSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
- func (c *ProjectsLocationsAgentSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsEntityTypesPatchCall
- func (c *ProjectsLocationsAgentSessionsEntityTypesPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentSessionsEntityTypesPatchCall
- type ProjectsLocationsAgentSessionsEntityTypesService
- func (r *ProjectsLocationsAgentSessionsEntityTypesService) Create(parent string, ...) *ProjectsLocationsAgentSessionsEntityTypesCreateCall
- func (r *ProjectsLocationsAgentSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentSessionsEntityTypesDeleteCall
- func (r *ProjectsLocationsAgentSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentSessionsEntityTypesGetCall
- func (r *ProjectsLocationsAgentSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentSessionsEntityTypesListCall
- func (r *ProjectsLocationsAgentSessionsEntityTypesService) Patch(nameid string, ...) *ProjectsLocationsAgentSessionsEntityTypesPatchCall
- type ProjectsLocationsAgentSessionsService
- type ProjectsLocationsAgentTrainCall
- func (c *ProjectsLocationsAgentTrainCall) Context(ctx context.Context) *ProjectsLocationsAgentTrainCall
- func (c *ProjectsLocationsAgentTrainCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsAgentTrainCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentTrainCall
- func (c *ProjectsLocationsAgentTrainCall) Header() http.Header
- type ProjectsLocationsAgentUpdateFulfillmentCall
- func (c *ProjectsLocationsAgentUpdateFulfillmentCall) Context(ctx context.Context) *ProjectsLocationsAgentUpdateFulfillmentCall
- func (c *ProjectsLocationsAgentUpdateFulfillmentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Fulfillment, error)
- func (c *ProjectsLocationsAgentUpdateFulfillmentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentUpdateFulfillmentCall
- func (c *ProjectsLocationsAgentUpdateFulfillmentCall) Header() http.Header
- func (c *ProjectsLocationsAgentUpdateFulfillmentCall) UpdateMask(updateMask string) *ProjectsLocationsAgentUpdateFulfillmentCall
- type ProjectsLocationsAgentVersionsCreateCall
- func (c *ProjectsLocationsAgentVersionsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentVersionsCreateCall
- func (c *ProjectsLocationsAgentVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Version, error)
- func (c *ProjectsLocationsAgentVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentVersionsCreateCall
- func (c *ProjectsLocationsAgentVersionsCreateCall) Header() http.Header
- type ProjectsLocationsAgentVersionsDeleteCall
- func (c *ProjectsLocationsAgentVersionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentVersionsDeleteCall
- func (c *ProjectsLocationsAgentVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsAgentVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentVersionsDeleteCall
- func (c *ProjectsLocationsAgentVersionsDeleteCall) Header() http.Header
- type ProjectsLocationsAgentVersionsGetCall
- func (c *ProjectsLocationsAgentVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentVersionsGetCall
- func (c *ProjectsLocationsAgentVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Version, error)
- func (c *ProjectsLocationsAgentVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentVersionsGetCall
- func (c *ProjectsLocationsAgentVersionsGetCall) Header() http.Header
- func (c *ProjectsLocationsAgentVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentVersionsGetCall
- type ProjectsLocationsAgentVersionsListCall
- func (c *ProjectsLocationsAgentVersionsListCall) Context(ctx context.Context) *ProjectsLocationsAgentVersionsListCall
- func (c *ProjectsLocationsAgentVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListVersionsResponse, error)
- func (c *ProjectsLocationsAgentVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentVersionsListCall
- func (c *ProjectsLocationsAgentVersionsListCall) Header() http.Header
- func (c *ProjectsLocationsAgentVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentVersionsListCall
- func (c *ProjectsLocationsAgentVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentVersionsListCall
- func (c *ProjectsLocationsAgentVersionsListCall) PageToken(pageToken string) *ProjectsLocationsAgentVersionsListCall
- func (c *ProjectsLocationsAgentVersionsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAgentVersionsPatchCall
- func (c *ProjectsLocationsAgentVersionsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentVersionsPatchCall
- func (c *ProjectsLocationsAgentVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Version, error)
- func (c *ProjectsLocationsAgentVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentVersionsPatchCall
- func (c *ProjectsLocationsAgentVersionsPatchCall) Header() http.Header
- func (c *ProjectsLocationsAgentVersionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentVersionsPatchCall
- type ProjectsLocationsAgentVersionsService
- func (r *ProjectsLocationsAgentVersionsService) Create(parent string, ...) *ProjectsLocationsAgentVersionsCreateCall
- func (r *ProjectsLocationsAgentVersionsService) Delete(name string) *ProjectsLocationsAgentVersionsDeleteCall
- func (r *ProjectsLocationsAgentVersionsService) Get(name string) *ProjectsLocationsAgentVersionsGetCall
- func (r *ProjectsLocationsAgentVersionsService) List(parent string) *ProjectsLocationsAgentVersionsListCall
- func (r *ProjectsLocationsAgentVersionsService) Patch(nameid string, ...) *ProjectsLocationsAgentVersionsPatchCall
- type ProjectsLocationsAnswerRecordsGetCall
- func (c *ProjectsLocationsAnswerRecordsGetCall) Context(ctx context.Context) *ProjectsLocationsAnswerRecordsGetCall
- func (c *ProjectsLocationsAnswerRecordsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1AnswerRecord, error)
- func (c *ProjectsLocationsAnswerRecordsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAnswerRecordsGetCall
- func (c *ProjectsLocationsAnswerRecordsGetCall) Header() http.Header
- func (c *ProjectsLocationsAnswerRecordsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAnswerRecordsGetCall
- type ProjectsLocationsAnswerRecordsListCall
- func (c *ProjectsLocationsAnswerRecordsListCall) Context(ctx context.Context) *ProjectsLocationsAnswerRecordsListCall
- func (c *ProjectsLocationsAnswerRecordsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse, error)
- func (c *ProjectsLocationsAnswerRecordsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAnswerRecordsListCall
- func (c *ProjectsLocationsAnswerRecordsListCall) Filter(filter string) *ProjectsLocationsAnswerRecordsListCall
- func (c *ProjectsLocationsAnswerRecordsListCall) Header() http.Header
- func (c *ProjectsLocationsAnswerRecordsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAnswerRecordsListCall
- func (c *ProjectsLocationsAnswerRecordsListCall) PageSize(pageSize int64) *ProjectsLocationsAnswerRecordsListCall
- func (c *ProjectsLocationsAnswerRecordsListCall) PageToken(pageToken string) *ProjectsLocationsAnswerRecordsListCall
- func (c *ProjectsLocationsAnswerRecordsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsAnswerRecordsPatchCall
- func (c *ProjectsLocationsAnswerRecordsPatchCall) Context(ctx context.Context) *ProjectsLocationsAnswerRecordsPatchCall
- func (c *ProjectsLocationsAnswerRecordsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1AnswerRecord, error)
- func (c *ProjectsLocationsAnswerRecordsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAnswerRecordsPatchCall
- func (c *ProjectsLocationsAnswerRecordsPatchCall) Header() http.Header
- func (c *ProjectsLocationsAnswerRecordsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAnswerRecordsPatchCall
- type ProjectsLocationsAnswerRecordsService
- func (r *ProjectsLocationsAnswerRecordsService) Get(name string) *ProjectsLocationsAnswerRecordsGetCall
- func (r *ProjectsLocationsAnswerRecordsService) List(parent string) *ProjectsLocationsAnswerRecordsListCall
- func (r *ProjectsLocationsAnswerRecordsService) Patch(nameid string, ...) *ProjectsLocationsAnswerRecordsPatchCall
- type ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall
- func (c *ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall) Context(ctx context.Context) *ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall
- func (c *ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall
- func (c *ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall) Header() http.Header
- type ProjectsLocationsConversationProfilesCreateCall
- func (c *ProjectsLocationsConversationProfilesCreateCall) Context(ctx context.Context) *ProjectsLocationsConversationProfilesCreateCall
- func (c *ProjectsLocationsConversationProfilesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ConversationProfile, error)
- func (c *ProjectsLocationsConversationProfilesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationProfilesCreateCall
- func (c *ProjectsLocationsConversationProfilesCreateCall) Header() http.Header
- type ProjectsLocationsConversationProfilesDeleteCall
- func (c *ProjectsLocationsConversationProfilesDeleteCall) Context(ctx context.Context) *ProjectsLocationsConversationProfilesDeleteCall
- func (c *ProjectsLocationsConversationProfilesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsConversationProfilesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationProfilesDeleteCall
- func (c *ProjectsLocationsConversationProfilesDeleteCall) Header() http.Header
- type ProjectsLocationsConversationProfilesGetCall
- func (c *ProjectsLocationsConversationProfilesGetCall) Context(ctx context.Context) *ProjectsLocationsConversationProfilesGetCall
- func (c *ProjectsLocationsConversationProfilesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ConversationProfile, error)
- func (c *ProjectsLocationsConversationProfilesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationProfilesGetCall
- func (c *ProjectsLocationsConversationProfilesGetCall) Header() http.Header
- func (c *ProjectsLocationsConversationProfilesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsConversationProfilesGetCall
- type ProjectsLocationsConversationProfilesListCall
- func (c *ProjectsLocationsConversationProfilesListCall) Context(ctx context.Context) *ProjectsLocationsConversationProfilesListCall
- func (c *ProjectsLocationsConversationProfilesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListConversationProfilesResponse, error)
- func (c *ProjectsLocationsConversationProfilesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationProfilesListCall
- func (c *ProjectsLocationsConversationProfilesListCall) Header() http.Header
- func (c *ProjectsLocationsConversationProfilesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsConversationProfilesListCall
- func (c *ProjectsLocationsConversationProfilesListCall) PageSize(pageSize int64) *ProjectsLocationsConversationProfilesListCall
- func (c *ProjectsLocationsConversationProfilesListCall) PageToken(pageToken string) *ProjectsLocationsConversationProfilesListCall
- func (c *ProjectsLocationsConversationProfilesListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsConversationProfilesPatchCall
- func (c *ProjectsLocationsConversationProfilesPatchCall) Context(ctx context.Context) *ProjectsLocationsConversationProfilesPatchCall
- func (c *ProjectsLocationsConversationProfilesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ConversationProfile, error)
- func (c *ProjectsLocationsConversationProfilesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationProfilesPatchCall
- func (c *ProjectsLocationsConversationProfilesPatchCall) Header() http.Header
- func (c *ProjectsLocationsConversationProfilesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsConversationProfilesPatchCall
- type ProjectsLocationsConversationProfilesService
- func (r *ProjectsLocationsConversationProfilesService) ClearSuggestionFeatureConfig(conversationProfile string, ...) *ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall
- func (r *ProjectsLocationsConversationProfilesService) Create(parent string, ...) *ProjectsLocationsConversationProfilesCreateCall
- func (r *ProjectsLocationsConversationProfilesService) Delete(name string) *ProjectsLocationsConversationProfilesDeleteCall
- func (r *ProjectsLocationsConversationProfilesService) Get(name string) *ProjectsLocationsConversationProfilesGetCall
- func (r *ProjectsLocationsConversationProfilesService) List(parent string) *ProjectsLocationsConversationProfilesListCall
- func (r *ProjectsLocationsConversationProfilesService) Patch(nameid string, ...) *ProjectsLocationsConversationProfilesPatchCall
- func (r *ProjectsLocationsConversationProfilesService) SetSuggestionFeatureConfig(conversationProfile string, ...) *ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall
- type ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall
- func (c *ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall) Context(ctx context.Context) *ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall
- func (c *ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall
- func (c *ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall) Header() http.Header
- type ProjectsLocationsConversationsCompleteCall
- func (c *ProjectsLocationsConversationsCompleteCall) Context(ctx context.Context) *ProjectsLocationsConversationsCompleteCall
- func (c *ProjectsLocationsConversationsCompleteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Conversation, error)
- func (c *ProjectsLocationsConversationsCompleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsCompleteCall
- func (c *ProjectsLocationsConversationsCompleteCall) Header() http.Header
- type ProjectsLocationsConversationsCreateCall
- func (c *ProjectsLocationsConversationsCreateCall) Context(ctx context.Context) *ProjectsLocationsConversationsCreateCall
- func (c *ProjectsLocationsConversationsCreateCall) ConversationId(conversationId string) *ProjectsLocationsConversationsCreateCall
- func (c *ProjectsLocationsConversationsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Conversation, error)
- func (c *ProjectsLocationsConversationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsCreateCall
- func (c *ProjectsLocationsConversationsCreateCall) Header() http.Header
- type ProjectsLocationsConversationsGetCall
- func (c *ProjectsLocationsConversationsGetCall) Context(ctx context.Context) *ProjectsLocationsConversationsGetCall
- func (c *ProjectsLocationsConversationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Conversation, error)
- func (c *ProjectsLocationsConversationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsGetCall
- func (c *ProjectsLocationsConversationsGetCall) Header() http.Header
- func (c *ProjectsLocationsConversationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsConversationsGetCall
- type ProjectsLocationsConversationsListCall
- func (c *ProjectsLocationsConversationsListCall) Context(ctx context.Context) *ProjectsLocationsConversationsListCall
- func (c *ProjectsLocationsConversationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListConversationsResponse, error)
- func (c *ProjectsLocationsConversationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsListCall
- func (c *ProjectsLocationsConversationsListCall) Filter(filter string) *ProjectsLocationsConversationsListCall
- func (c *ProjectsLocationsConversationsListCall) Header() http.Header
- func (c *ProjectsLocationsConversationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsConversationsListCall
- func (c *ProjectsLocationsConversationsListCall) PageSize(pageSize int64) *ProjectsLocationsConversationsListCall
- func (c *ProjectsLocationsConversationsListCall) PageToken(pageToken string) *ProjectsLocationsConversationsListCall
- func (c *ProjectsLocationsConversationsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsConversationsMessagesBatchCreateCall
- func (c *ProjectsLocationsConversationsMessagesBatchCreateCall) Context(ctx context.Context) *ProjectsLocationsConversationsMessagesBatchCreateCall
- func (c *ProjectsLocationsConversationsMessagesBatchCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse, error)
- func (c *ProjectsLocationsConversationsMessagesBatchCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsMessagesBatchCreateCall
- func (c *ProjectsLocationsConversationsMessagesBatchCreateCall) Header() http.Header
- type ProjectsLocationsConversationsMessagesListCall
- func (c *ProjectsLocationsConversationsMessagesListCall) Context(ctx context.Context) *ProjectsLocationsConversationsMessagesListCall
- func (c *ProjectsLocationsConversationsMessagesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListMessagesResponse, error)
- func (c *ProjectsLocationsConversationsMessagesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsMessagesListCall
- func (c *ProjectsLocationsConversationsMessagesListCall) Filter(filter string) *ProjectsLocationsConversationsMessagesListCall
- func (c *ProjectsLocationsConversationsMessagesListCall) Header() http.Header
- func (c *ProjectsLocationsConversationsMessagesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsConversationsMessagesListCall
- func (c *ProjectsLocationsConversationsMessagesListCall) PageSize(pageSize int64) *ProjectsLocationsConversationsMessagesListCall
- func (c *ProjectsLocationsConversationsMessagesListCall) PageToken(pageToken string) *ProjectsLocationsConversationsMessagesListCall
- func (c *ProjectsLocationsConversationsMessagesListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsConversationsMessagesService
- type ProjectsLocationsConversationsParticipantsAnalyzeContentCall
- func (c *ProjectsLocationsConversationsParticipantsAnalyzeContentCall) Context(ctx context.Context) *ProjectsLocationsConversationsParticipantsAnalyzeContentCall
- func (c *ProjectsLocationsConversationsParticipantsAnalyzeContentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1AnalyzeContentResponse, error)
- func (c *ProjectsLocationsConversationsParticipantsAnalyzeContentCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsParticipantsAnalyzeContentCall
- func (c *ProjectsLocationsConversationsParticipantsAnalyzeContentCall) Header() http.Header
- type ProjectsLocationsConversationsParticipantsCreateCall
- func (c *ProjectsLocationsConversationsParticipantsCreateCall) Context(ctx context.Context) *ProjectsLocationsConversationsParticipantsCreateCall
- func (c *ProjectsLocationsConversationsParticipantsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Participant, error)
- func (c *ProjectsLocationsConversationsParticipantsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsParticipantsCreateCall
- func (c *ProjectsLocationsConversationsParticipantsCreateCall) Header() http.Header
- type ProjectsLocationsConversationsParticipantsGetCall
- func (c *ProjectsLocationsConversationsParticipantsGetCall) Context(ctx context.Context) *ProjectsLocationsConversationsParticipantsGetCall
- func (c *ProjectsLocationsConversationsParticipantsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Participant, error)
- func (c *ProjectsLocationsConversationsParticipantsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsParticipantsGetCall
- func (c *ProjectsLocationsConversationsParticipantsGetCall) Header() http.Header
- func (c *ProjectsLocationsConversationsParticipantsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsConversationsParticipantsGetCall
- type ProjectsLocationsConversationsParticipantsListCall
- func (c *ProjectsLocationsConversationsParticipantsListCall) Context(ctx context.Context) *ProjectsLocationsConversationsParticipantsListCall
- func (c *ProjectsLocationsConversationsParticipantsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListParticipantsResponse, error)
- func (c *ProjectsLocationsConversationsParticipantsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsParticipantsListCall
- func (c *ProjectsLocationsConversationsParticipantsListCall) Header() http.Header
- func (c *ProjectsLocationsConversationsParticipantsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsConversationsParticipantsListCall
- func (c *ProjectsLocationsConversationsParticipantsListCall) PageSize(pageSize int64) *ProjectsLocationsConversationsParticipantsListCall
- func (c *ProjectsLocationsConversationsParticipantsListCall) PageToken(pageToken string) *ProjectsLocationsConversationsParticipantsListCall
- func (c *ProjectsLocationsConversationsParticipantsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsConversationsParticipantsPatchCall
- func (c *ProjectsLocationsConversationsParticipantsPatchCall) Context(ctx context.Context) *ProjectsLocationsConversationsParticipantsPatchCall
- func (c *ProjectsLocationsConversationsParticipantsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Participant, error)
- func (c *ProjectsLocationsConversationsParticipantsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsParticipantsPatchCall
- func (c *ProjectsLocationsConversationsParticipantsPatchCall) Header() http.Header
- func (c *ProjectsLocationsConversationsParticipantsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsConversationsParticipantsPatchCall
- type ProjectsLocationsConversationsParticipantsService
- func (r *ProjectsLocationsConversationsParticipantsService) AnalyzeContent(participant string, ...) *ProjectsLocationsConversationsParticipantsAnalyzeContentCall
- func (r *ProjectsLocationsConversationsParticipantsService) Create(parentid string, ...) *ProjectsLocationsConversationsParticipantsCreateCall
- func (r *ProjectsLocationsConversationsParticipantsService) Get(name string) *ProjectsLocationsConversationsParticipantsGetCall
- func (r *ProjectsLocationsConversationsParticipantsService) List(parent string) *ProjectsLocationsConversationsParticipantsListCall
- func (r *ProjectsLocationsConversationsParticipantsService) Patch(nameid string, ...) *ProjectsLocationsConversationsParticipantsPatchCall
- type ProjectsLocationsConversationsParticipantsSuggestionsService
- func (r *ProjectsLocationsConversationsParticipantsSuggestionsService) SuggestArticles(parent string, ...) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall
- func (r *ProjectsLocationsConversationsParticipantsSuggestionsService) SuggestFaqAnswers(parent string, ...) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall
- func (r *ProjectsLocationsConversationsParticipantsSuggestionsService) SuggestSmartReplies(parent string, ...) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall
- type ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall
- func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall) Context(ctx context.Context) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall
- func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SuggestArticlesResponse, error)
- func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall
- func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall) Header() http.Header
- type ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall
- func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Context(ctx context.Context) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall
- func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse, error)
- func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall
- func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Header() http.Header
- type ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall
- func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Context(ctx context.Context) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall
- func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse, error)
- func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall
- func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Header() http.Header
- type ProjectsLocationsConversationsService
- func (r *ProjectsLocationsConversationsService) Complete(nameid string, ...) *ProjectsLocationsConversationsCompleteCall
- func (r *ProjectsLocationsConversationsService) Create(parentid string, ...) *ProjectsLocationsConversationsCreateCall
- func (r *ProjectsLocationsConversationsService) Get(name string) *ProjectsLocationsConversationsGetCall
- func (r *ProjectsLocationsConversationsService) List(parent string) *ProjectsLocationsConversationsListCall
- type ProjectsLocationsConversationsSuggestionsService
- type ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall
- func (c *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall) Context(ctx context.Context) *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall
- func (c *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse, error)
- func (c *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall
- func (c *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall) Header() http.Header
- type ProjectsLocationsDeleteAgentCall
- func (c *ProjectsLocationsDeleteAgentCall) Context(ctx context.Context) *ProjectsLocationsDeleteAgentCall
- func (c *ProjectsLocationsDeleteAgentCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsDeleteAgentCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeleteAgentCall
- func (c *ProjectsLocationsDeleteAgentCall) Header() http.Header
- type ProjectsLocationsGetAgentCall
- func (c *ProjectsLocationsGetAgentCall) Context(ctx context.Context) *ProjectsLocationsGetAgentCall
- func (c *ProjectsLocationsGetAgentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Agent, error)
- func (c *ProjectsLocationsGetAgentCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetAgentCall
- func (c *ProjectsLocationsGetAgentCall) Header() http.Header
- func (c *ProjectsLocationsGetAgentCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetAgentCall
- type ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudLocationLocation, error)
- func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Header() http.Header
- func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
- type ProjectsLocationsKnowledgeBasesCreateCall
- func (c *ProjectsLocationsKnowledgeBasesCreateCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesCreateCall
- func (c *ProjectsLocationsKnowledgeBasesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1KnowledgeBase, error)
- func (c *ProjectsLocationsKnowledgeBasesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesCreateCall
- func (c *ProjectsLocationsKnowledgeBasesCreateCall) Header() http.Header
- type ProjectsLocationsKnowledgeBasesDeleteCall
- func (c *ProjectsLocationsKnowledgeBasesDeleteCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesDeleteCall
- func (c *ProjectsLocationsKnowledgeBasesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsKnowledgeBasesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesDeleteCall
- func (c *ProjectsLocationsKnowledgeBasesDeleteCall) Force(force bool) *ProjectsLocationsKnowledgeBasesDeleteCall
- func (c *ProjectsLocationsKnowledgeBasesDeleteCall) Header() http.Header
- type ProjectsLocationsKnowledgeBasesDocumentsCreateCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsCreateCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesDocumentsCreateCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsKnowledgeBasesDocumentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesDocumentsCreateCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsCreateCall) Header() http.Header
- func (c *ProjectsLocationsKnowledgeBasesDocumentsCreateCall) ImportGcsCustomMetadata(importGcsCustomMetadata bool) *ProjectsLocationsKnowledgeBasesDocumentsCreateCall
- type ProjectsLocationsKnowledgeBasesDocumentsDeleteCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesDocumentsDeleteCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsKnowledgeBasesDocumentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesDocumentsDeleteCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsDeleteCall) Header() http.Header
- type ProjectsLocationsKnowledgeBasesDocumentsGetCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsGetCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesDocumentsGetCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Document, error)
- func (c *ProjectsLocationsKnowledgeBasesDocumentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesDocumentsGetCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsGetCall) Header() http.Header
- func (c *ProjectsLocationsKnowledgeBasesDocumentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsKnowledgeBasesDocumentsGetCall
- type ProjectsLocationsKnowledgeBasesDocumentsImportCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsImportCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesDocumentsImportCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsKnowledgeBasesDocumentsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesDocumentsImportCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsImportCall) Header() http.Header
- type ProjectsLocationsKnowledgeBasesDocumentsListCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesDocumentsListCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListDocumentsResponse, error)
- func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesDocumentsListCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) Filter(filter string) *ProjectsLocationsKnowledgeBasesDocumentsListCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) Header() http.Header
- func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsKnowledgeBasesDocumentsListCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) PageSize(pageSize int64) *ProjectsLocationsKnowledgeBasesDocumentsListCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) PageToken(pageToken string) *ProjectsLocationsKnowledgeBasesDocumentsListCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsKnowledgeBasesDocumentsPatchCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsPatchCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesDocumentsPatchCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsKnowledgeBasesDocumentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesDocumentsPatchCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsPatchCall) Header() http.Header
- func (c *ProjectsLocationsKnowledgeBasesDocumentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsKnowledgeBasesDocumentsPatchCall
- type ProjectsLocationsKnowledgeBasesDocumentsReloadCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsReloadCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesDocumentsReloadCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsReloadCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsKnowledgeBasesDocumentsReloadCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesDocumentsReloadCall
- func (c *ProjectsLocationsKnowledgeBasesDocumentsReloadCall) Header() http.Header
- type ProjectsLocationsKnowledgeBasesDocumentsService
- func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Create(parent string, ...) *ProjectsLocationsKnowledgeBasesDocumentsCreateCall
- func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Delete(name string) *ProjectsLocationsKnowledgeBasesDocumentsDeleteCall
- func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Get(name string) *ProjectsLocationsKnowledgeBasesDocumentsGetCall
- func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Import(parent string, ...) *ProjectsLocationsKnowledgeBasesDocumentsImportCall
- func (r *ProjectsLocationsKnowledgeBasesDocumentsService) List(parent string) *ProjectsLocationsKnowledgeBasesDocumentsListCall
- func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Patch(name string, ...) *ProjectsLocationsKnowledgeBasesDocumentsPatchCall
- func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Reload(name string, ...) *ProjectsLocationsKnowledgeBasesDocumentsReloadCall
- type ProjectsLocationsKnowledgeBasesGetCall
- func (c *ProjectsLocationsKnowledgeBasesGetCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesGetCall
- func (c *ProjectsLocationsKnowledgeBasesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1KnowledgeBase, error)
- func (c *ProjectsLocationsKnowledgeBasesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesGetCall
- func (c *ProjectsLocationsKnowledgeBasesGetCall) Header() http.Header
- func (c *ProjectsLocationsKnowledgeBasesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsKnowledgeBasesGetCall
- type ProjectsLocationsKnowledgeBasesListCall
- func (c *ProjectsLocationsKnowledgeBasesListCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesListCall
- func (c *ProjectsLocationsKnowledgeBasesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse, error)
- func (c *ProjectsLocationsKnowledgeBasesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesListCall
- func (c *ProjectsLocationsKnowledgeBasesListCall) Filter(filter string) *ProjectsLocationsKnowledgeBasesListCall
- func (c *ProjectsLocationsKnowledgeBasesListCall) Header() http.Header
- func (c *ProjectsLocationsKnowledgeBasesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsKnowledgeBasesListCall
- func (c *ProjectsLocationsKnowledgeBasesListCall) PageSize(pageSize int64) *ProjectsLocationsKnowledgeBasesListCall
- func (c *ProjectsLocationsKnowledgeBasesListCall) PageToken(pageToken string) *ProjectsLocationsKnowledgeBasesListCall
- func (c *ProjectsLocationsKnowledgeBasesListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsKnowledgeBasesPatchCall
- func (c *ProjectsLocationsKnowledgeBasesPatchCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesPatchCall
- func (c *ProjectsLocationsKnowledgeBasesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1KnowledgeBase, error)
- func (c *ProjectsLocationsKnowledgeBasesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesPatchCall
- func (c *ProjectsLocationsKnowledgeBasesPatchCall) Header() http.Header
- func (c *ProjectsLocationsKnowledgeBasesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsKnowledgeBasesPatchCall
- type ProjectsLocationsKnowledgeBasesService
- func (r *ProjectsLocationsKnowledgeBasesService) Create(parent string, ...) *ProjectsLocationsKnowledgeBasesCreateCall
- func (r *ProjectsLocationsKnowledgeBasesService) Delete(name string) *ProjectsLocationsKnowledgeBasesDeleteCall
- func (r *ProjectsLocationsKnowledgeBasesService) Get(name string) *ProjectsLocationsKnowledgeBasesGetCall
- func (r *ProjectsLocationsKnowledgeBasesService) List(parent string) *ProjectsLocationsKnowledgeBasesListCall
- func (r *ProjectsLocationsKnowledgeBasesService) Patch(name string, ...) *ProjectsLocationsKnowledgeBasesPatchCall
- type ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudLocationListLocationsResponse, error)
- func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Header() http.Header
- func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*GoogleCloudLocationListLocationsResponse) error) error
- 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 ProjectsLocationsService
- func (r *ProjectsLocationsService) DeleteAgent(parent string) *ProjectsLocationsDeleteAgentCall
- func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall
- func (r *ProjectsLocationsService) GetAgent(parent string) *ProjectsLocationsGetAgentCall
- func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall
- func (r *ProjectsLocationsService) SetAgent(parent string, ...) *ProjectsLocationsSetAgentCall
- type ProjectsLocationsSetAgentCall
- func (c *ProjectsLocationsSetAgentCall) Context(ctx context.Context) *ProjectsLocationsSetAgentCall
- func (c *ProjectsLocationsSetAgentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Agent, error)
- func (c *ProjectsLocationsSetAgentCall) Fields(s ...googleapi.Field) *ProjectsLocationsSetAgentCall
- func (c *ProjectsLocationsSetAgentCall) Header() http.Header
- func (c *ProjectsLocationsSetAgentCall) UpdateMask(updateMask string) *ProjectsLocationsSetAgentCall
- 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 ProjectsSetAgentCall
- func (c *ProjectsSetAgentCall) Context(ctx context.Context) *ProjectsSetAgentCall
- func (c *ProjectsSetAgentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Agent, error)
- func (c *ProjectsSetAgentCall) Fields(s ...googleapi.Field) *ProjectsSetAgentCall
- func (c *ProjectsSetAgentCall) Header() http.Header
- func (c *ProjectsSetAgentCall) UpdateMask(updateMask string) *ProjectsSetAgentCall
- type Service
Constants ¶
const ( // See, edit, configure, and delete your Google Cloud data and see the // email address for your Google Account. 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 ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3AudioInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3BatchRunTestCasesResponse ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3BatchRunTestCasesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ContinuousTestResult ¶ added in v0.48.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.48.0
func (s *GoogleCloudDialogflowCxV3ContinuousTestResult) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ConversationTurn ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3ConversationTurn) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ConversationTurnUserInput ¶ added in v0.37.0
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 or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3ConversationTurnUserInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput ¶ added in v0.37.0
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. Required to calculate the testing coverage. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3CreateVersionOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3DeployFlowMetadata ¶ added in v0.58.0
type GoogleCloudDialogflowCxV3DeployFlowMetadata struct { // TestErrors: Errors of running deployment tests. TestErrors []*GoogleCloudDialogflowCxV3TestError `json:"testErrors,omitempty"` // ForceSendFields is a list of field names (e.g. "TestErrors") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TestErrors") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3DeployFlowMetadata: Metadata returned for the Environments.DeployFlow long running operation.
func (*GoogleCloudDialogflowCxV3DeployFlowMetadata) MarshalJSON ¶ added in v0.58.0
func (s *GoogleCloudDialogflowCxV3DeployFlowMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3DeployFlowResponse ¶ added in v0.58.0
type GoogleCloudDialogflowCxV3DeployFlowResponse struct { // Deployment: The name of the flow version Deployment. Format: // `projects//locations//agents// environments//deployments/`. Deployment string `json:"deployment,omitempty"` // Environment: The updated environment where the flow is deployed. Environment *GoogleCloudDialogflowCxV3Environment `json:"environment,omitempty"` // ForceSendFields is a list of field names (e.g. "Deployment") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Deployment") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3DeployFlowResponse: The response message for Environments.DeployFlow.
func (*GoogleCloudDialogflowCxV3DeployFlowResponse) MarshalJSON ¶ added in v0.58.0
func (s *GoogleCloudDialogflowCxV3DeployFlowResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3DtmfInput ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3DtmfInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3Environment ¶ added in v0.58.0
type GoogleCloudDialogflowCxV3Environment 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"` // TestCasesConfig: The test cases config for continuous tests of this // environment. TestCasesConfig *GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig `json:"testCasesConfig,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 []*GoogleCloudDialogflowCxV3EnvironmentVersionConfig `json:"versionConfigs,omitempty"` // WebhookConfig: The webhook configuration for this environment. WebhookConfig *GoogleCloudDialogflowCxV3EnvironmentWebhookConfig `json:"webhookConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowCxV3Environment: 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 (*GoogleCloudDialogflowCxV3Environment) MarshalJSON ¶ added in v0.58.0
func (s *GoogleCloudDialogflowCxV3Environment) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig ¶ added in v0.58.0
type GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig struct { // EnableContinuousRun: Whether to run test cases in // TestCasesConfig.test_cases periodically. Default false. If set to // true, run once a day. EnableContinuousRun bool `json:"enableContinuousRun,omitempty"` // EnablePredeploymentRun: Whether to run test cases in // TestCasesConfig.test_cases before deploying a flow version to the // environment. Default false. EnablePredeploymentRun bool `json:"enablePredeploymentRun,omitempty"` // TestCases: A list of test case names to run. They should be under the // same agent. Format of each test case name: `projects//locations/ // /agents//testCases/` TestCases []string `json:"testCases,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableContinuousRun") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableContinuousRun") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig: The configuration for continuous tests.
func (*GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig) MarshalJSON ¶ added in v0.58.0
func (s *GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3EnvironmentVersionConfig ¶ added in v0.58.0
type GoogleCloudDialogflowCxV3EnvironmentVersionConfig 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowCxV3EnvironmentVersionConfig: Configuration for the version.
func (*GoogleCloudDialogflowCxV3EnvironmentVersionConfig) MarshalJSON ¶ added in v0.58.0
func (s *GoogleCloudDialogflowCxV3EnvironmentVersionConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3EnvironmentWebhookConfig ¶ added in v0.82.0
type GoogleCloudDialogflowCxV3EnvironmentWebhookConfig struct { // WebhookOverrides: The list of webhooks to override for the agent // environment. The webhook must exist in the agent. You can override // fields in `generic_web_service` and `service_directory`. WebhookOverrides []*GoogleCloudDialogflowCxV3Webhook `json:"webhookOverrides,omitempty"` // ForceSendFields is a list of field names (e.g. "WebhookOverrides") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "WebhookOverrides") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3EnvironmentWebhookConfig: Configuration for webhooks.
func (*GoogleCloudDialogflowCxV3EnvironmentWebhookConfig) MarshalJSON ¶ added in v0.82.0
func (s *GoogleCloudDialogflowCxV3EnvironmentWebhookConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3EventHandler ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3EventHandler) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3EventInput ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3EventInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ExportAgentResponse ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3ExportAgentResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ExportFlowResponse ¶ added in v0.46.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.46.0
func (s *GoogleCloudDialogflowCxV3ExportFlowResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ExportTestCasesMetadata ¶ added in v0.37.0
type GoogleCloudDialogflowCxV3ExportTestCasesMetadata struct { }
GoogleCloudDialogflowCxV3ExportTestCasesMetadata: Metadata returned for the TestCases.ExportTestCases long running operation. This message currently has no fields.
type GoogleCloudDialogflowCxV3ExportTestCasesResponse ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3ExportTestCasesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3Form ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3Form) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3FormParameter ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3FormParameter) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3FormParameterFillBehavior ¶ added in v0.37.0
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 or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3FormParameterFillBehavior) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3Fulfillment ¶ added in v0.37.0
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"` // ReturnPartialResponses: Whether Dialogflow should return currently // queued fulfillment response messages in streaming APIs. If a webhook // is specified, it happens before Dialogflow invokes webhook. Warning: // 1) This flag only affects streaming API. Responses are still queued // and returned once in non-streaming API. 2) The flag can be enabled in // any fulfillment but only the first 3 partial responses will be // returned. You may only want to apply it to fulfillments that have // slow webhooks. ReturnPartialResponses bool `json:"returnPartialResponses,omitempty"` // SetParameterActions: Set parameter values before executing the // webhook. SetParameterActions []*GoogleCloudDialogflowCxV3FulfillmentSetParameterAction `json:"setParameterActions,omitempty"` // Tag: The value of this field will be populated in the WebhookRequest // `fulfillmentInfo.tag` field by Dialogflow when the associated webhook // is called. The tag is typically used by the webhook service to // identify which fulfillment is being called, but it could be used for // other purposes. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3Fulfillment) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3FulfillmentConditionalCases ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3FulfillmentConditionalCases) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3FulfillmentSetParameterAction ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3FulfillmentSetParameterAction) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ImportDocumentsResponse ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3ImportDocumentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ImportFlowResponse ¶ added in v0.46.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.46.0
func (s *GoogleCloudDialogflowCxV3ImportFlowResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ImportTestCasesMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3ImportTestCasesMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ImportTestCasesResponse ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3ImportTestCasesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3InputAudioConfig ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3InputAudioConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3Intent ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3Intent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3IntentInput ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3IntentInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3IntentParameter ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3IntentParameter) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3IntentTrainingPhrase ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3IntentTrainingPhrase) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3IntentTrainingPhrasePart ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3IntentTrainingPhrasePart) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3Page ¶ added in v0.37.0
type GoogleCloudDialogflowCxV3Page struct { // DisplayName: Required. The human-readable name of the page, unique // within the flow. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3Page) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3PageInfo ¶ added in v0.34.0
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"` // DisplayName: Always present for WebhookRequest. Ignored for // WebhookResponse. The display name of the current page. DisplayName string `json:"displayName,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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.34.0
func (s *GoogleCloudDialogflowCxV3PageInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3PageInfoFormInfo ¶ added in v0.34.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.34.0
func (s *GoogleCloudDialogflowCxV3PageInfoFormInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo ¶ added in v0.34.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.34.0
func (s *GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3QueryInput ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3QueryInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ResponseMessage ¶ added in v0.34.0
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"` // TelephonyTransferCall: A signal that the client should transfer the // phone call connected to this agent to a third-party endpoint. TelephonyTransferCall *GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall `json:"telephonyTransferCall,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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.34.0
func (s *GoogleCloudDialogflowCxV3ResponseMessage) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess ¶ added in v0.34.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.34.0
func (s *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ResponseMessageEndInteraction ¶ added in v0.34.0
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 ¶ added in v0.34.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.34.0
func (s *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio ¶ added in v0.34.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.34.0
func (s *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment ¶ added in v0.34.0
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 or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or 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 ¶ added in v0.34.0
func (s *GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText ¶ added in v0.34.0
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 or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or 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 ¶ added in v0.34.0
func (s *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ResponseMessagePlayAudio ¶ added in v0.34.0
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 or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or 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 ¶ added in v0.34.0
func (s *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall ¶ added in v0.62.0
type GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall struct { // PhoneNumber: Transfer the call to a phone number in E.164 format // (https://en.wikipedia.org/wiki/E.164). 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall: Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.
func (*GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall) MarshalJSON ¶ added in v0.62.0
func (s *GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3ResponseMessageText ¶ added in v0.34.0
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 or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or 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 ¶ added in v0.34.0
func (s *GoogleCloudDialogflowCxV3ResponseMessageText) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3RunContinuousTestMetadata ¶ added in v0.48.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.48.0
func (s *GoogleCloudDialogflowCxV3RunContinuousTestMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3RunContinuousTestResponse ¶ added in v0.48.0
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 or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or 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 ¶ added in v0.48.0
func (s *GoogleCloudDialogflowCxV3RunContinuousTestResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3RunTestCaseMetadata ¶ added in v0.37.0
type GoogleCloudDialogflowCxV3RunTestCaseMetadata struct { }
GoogleCloudDialogflowCxV3RunTestCaseMetadata: Metadata returned for the TestCases.RunTestCase long running operation. This message currently has no fields.
type GoogleCloudDialogflowCxV3RunTestCaseResponse ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3RunTestCaseResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3SessionInfo ¶ added in v0.34.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.34.0
func (s *GoogleCloudDialogflowCxV3SessionInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3TestCase ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3TestCase) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3TestCaseError ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3TestCaseError) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3TestCaseResult ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3TestCaseResult) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3TestConfig ¶ added in v0.37.0
type GoogleCloudDialogflowCxV3TestConfig struct { // Flow: Flow name to start the test case with. Format: // `projects//locations//agents//flows/`. Only one of `flow` and `page` // should be set to indicate the starting point of the test case. If // both are set, `page` takes precedence over `flow`. If neither is set, // the test case will start with start page on the default start flow. Flow string `json:"flow,omitempty"` // Page: The page to start the test case with. Format: // `projects//locations//agents//flows//pages/`. Only one of `flow` and // `page` should be set to indicate the starting point of the test case. // If both are set, `page` takes precedence over `flow`. If neither is // set, the test case will start with start page on the default start // flow. Page string `json:"page,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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3TestConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3TestError ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3TestError) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3TestRunDifference ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3TestRunDifference) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3TextInput ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3TextInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3TransitionRoute ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3TransitionRoute) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3Webhook ¶ added in v0.82.0
type GoogleCloudDialogflowCxV3Webhook 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 *GoogleCloudDialogflowCxV3WebhookGenericWebService `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 *GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig `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"` // ForceSendFields is a list of field names (e.g. "Disabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowCxV3Webhook: 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 (*GoogleCloudDialogflowCxV3Webhook) MarshalJSON ¶ added in v0.82.0
func (s *GoogleCloudDialogflowCxV3Webhook) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3WebhookGenericWebService ¶ added in v0.82.0
type GoogleCloudDialogflowCxV3WebhookGenericWebService struct { // AllowedCaCerts: Optional. Specifies a list of allowed custom CA // certificates (in DER format) for HTTPS verification. This overrides // the default SSL trust store. If this is empty or unspecified, // Dialogflow will use Google's default trust store to verify // certificates. N.B. Make sure the HTTPS server certificates are signed // with "subject alt name". For instance a certificate can be // self-signed using the following command, “` openssl x509 -req -days // 200 -in example.com.csr \ -signkey example.com.key \ -out // example.com.crt \ -extfile <(printf // "\nsubjectAltName='DNS:www.example.com'") “` AllowedCaCerts []string `json:"allowedCaCerts,omitempty"` // 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. "AllowedCaCerts") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllowedCaCerts") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3WebhookGenericWebService: Represents configuration for a generic web service.
func (*GoogleCloudDialogflowCxV3WebhookGenericWebService) MarshalJSON ¶ added in v0.82.0
func (s *GoogleCloudDialogflowCxV3WebhookGenericWebService) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3WebhookRequest ¶ added in v0.34.0
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 or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or 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. You may see undocumented fields in an actual request. These fields are used internally by Dialogflow and should be ignored.
func (*GoogleCloudDialogflowCxV3WebhookRequest) MarshalJSON ¶ added in v0.34.0
func (s *GoogleCloudDialogflowCxV3WebhookRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo ¶ added in v0.34.0
type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct { // Tag: Always present. The value of the Fulfillment.tag field will be // populated in this field by Dialogflow when the associated webhook is // called. The tag is typically used by the webhook service to identify // which fulfillment is being called, but it could be used for other // purposes. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.34.0
func (s *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3WebhookRequestIntentInfo ¶ added in v0.34.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.34.0
func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) UnmarshalJSON ¶ added in v0.39.0
func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue ¶ added in v0.34.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.34.0
func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult ¶ added in v0.41.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.41.0
func (s *GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult) UnmarshalJSON ¶ added in v0.41.0
func (s *GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowCxV3WebhookResponse ¶ added in v0.34.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.34.0
func (s *GoogleCloudDialogflowCxV3WebhookResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse ¶ added in v0.34.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.34.0
func (s *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig ¶ added in v0.82.0
type GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig struct { // GenericWebService: Generic Service configuration of this webhook. GenericWebService *GoogleCloudDialogflowCxV3WebhookGenericWebService `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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig: Represents configuration for a Service Directory (https://cloud.google.com/service-directory) service.
func (*GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig) MarshalJSON ¶ added in v0.82.0
func (s *GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1AudioInput ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1AudioInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ContinuousTestResult ¶ added in v0.48.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.48.0
func (s *GoogleCloudDialogflowCxV3beta1ContinuousTestResult) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ConversationTurn ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1ConversationTurn) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput ¶ added in v0.37.0
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 or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput ¶ added in v0.37.0
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. Required to calculate the testing coverage. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata ¶ added in v0.31.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.31.0
func (s *GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1DeployFlowMetadata ¶ added in v0.58.0
type GoogleCloudDialogflowCxV3beta1DeployFlowMetadata struct { // TestErrors: Errors of running deployment tests. TestErrors []*GoogleCloudDialogflowCxV3beta1TestError `json:"testErrors,omitempty"` // ForceSendFields is a list of field names (e.g. "TestErrors") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TestErrors") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1DeployFlowMetadata: Metadata returned for the Environments.DeployFlow long running operation.
func (*GoogleCloudDialogflowCxV3beta1DeployFlowMetadata) MarshalJSON ¶ added in v0.58.0
func (s *GoogleCloudDialogflowCxV3beta1DeployFlowMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1DeployFlowResponse ¶ added in v0.58.0
type GoogleCloudDialogflowCxV3beta1DeployFlowResponse struct { // Deployment: The name of the flow version deployment. Format: // `projects//locations//agents// environments//deployments/`. Deployment string `json:"deployment,omitempty"` // Environment: The updated environment where the flow is deployed. Environment *GoogleCloudDialogflowCxV3beta1Environment `json:"environment,omitempty"` // ForceSendFields is a list of field names (e.g. "Deployment") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Deployment") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1DeployFlowResponse: The response message for Environments.DeployFlow.
func (*GoogleCloudDialogflowCxV3beta1DeployFlowResponse) MarshalJSON ¶ added in v0.58.0
func (s *GoogleCloudDialogflowCxV3beta1DeployFlowResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1DtmfInput ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1DtmfInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1Environment ¶ added in v0.58.0
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"` // TestCasesConfig: The test cases config for continuous tests of this // environment. TestCasesConfig *GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig `json:"testCasesConfig,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"` // WebhookConfig: The webhook configuration for this environment. WebhookConfig *GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig `json:"webhookConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.58.0
func (s *GoogleCloudDialogflowCxV3beta1Environment) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig ¶ added in v0.58.0
type GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig struct { // EnableContinuousRun: Whether to run test cases in // TestCasesConfig.test_cases periodically. Default false. If set to // true, run once a day. EnableContinuousRun bool `json:"enableContinuousRun,omitempty"` // EnablePredeploymentRun: Whether to run test cases in // TestCasesConfig.test_cases before deploying a flow version to the // environment. Default false. EnablePredeploymentRun bool `json:"enablePredeploymentRun,omitempty"` // TestCases: A list of test case names to run. They should be under the // same agent. Format of each test case name: `projects//locations/ // /agents//testCases/` TestCases []string `json:"testCases,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableContinuousRun") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableContinuousRun") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig: The configuration for continuous tests.
func (*GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig) MarshalJSON ¶ added in v0.58.0
func (s *GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig ¶ added in v0.58.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.58.0
func (s *GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig ¶ added in v0.82.0
type GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig struct { // WebhookOverrides: The list of webhooks to override for the agent // environment. The webhook must exist in the agent. You can override // fields in `generic_web_service` and `service_directory`. WebhookOverrides []*GoogleCloudDialogflowCxV3beta1Webhook `json:"webhookOverrides,omitempty"` // ForceSendFields is a list of field names (e.g. "WebhookOverrides") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "WebhookOverrides") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig: Configuration for webhooks.
func (*GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig) MarshalJSON ¶ added in v0.82.0
func (s *GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1EventHandler ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1EventHandler) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1EventInput ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1EventInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ExportAgentResponse ¶ added in v0.26.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.26.0
func (s *GoogleCloudDialogflowCxV3beta1ExportAgentResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ExportFlowResponse ¶ added in v0.46.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.46.0
func (s *GoogleCloudDialogflowCxV3beta1ExportFlowResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata ¶ added in v0.37.0
type GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata struct { }
GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata: Metadata returned for the TestCases.ExportTestCases long running operation. This message currently has no fields.
type GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1Form ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1Form) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1FormParameter ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1FormParameter) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior ¶ added in v0.37.0
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 or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1Fulfillment ¶ added in v0.37.0
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"` // ReturnPartialResponses: Whether Dialogflow should return currently // queued fulfillment response messages in streaming APIs. If a webhook // is specified, it happens before Dialogflow invokes webhook. Warning: // 1) This flag only affects streaming API. Responses are still queued // and returned once in non-streaming API. 2) The flag can be enabled in // any fulfillment but only the first 3 partial responses will be // returned. You may only want to apply it to fulfillments that have // slow webhooks. ReturnPartialResponses bool `json:"returnPartialResponses,omitempty"` // SetParameterActions: Set parameter values before executing the // webhook. SetParameterActions []*GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction `json:"setParameterActions,omitempty"` // Tag: The value of this field will be populated in the WebhookRequest // `fulfillmentInfo.tag` field by Dialogflow when the associated webhook // is called. The tag is typically used by the webhook service to // identify which fulfillment is being called, but it could be used for // other purposes. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1Fulfillment) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ImportFlowResponse ¶ added in v0.46.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.46.0
func (s *GoogleCloudDialogflowCxV3beta1ImportFlowResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1InputAudioConfig ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1InputAudioConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1Intent ¶ added in v0.37.0
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"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1Intent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1IntentInput ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1IntentInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1IntentParameter ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1IntentParameter) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1Page ¶ added in v0.37.0
type GoogleCloudDialogflowCxV3beta1Page struct { // DisplayName: Required. The human-readable name of the page, unique // within the flow. 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"` // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1Page) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1PageInfo ¶ added in v0.26.0
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"` // DisplayName: Always present for WebhookRequest. Ignored for // WebhookResponse. The display name of the current page. DisplayName string `json:"displayName,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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.26.0
func (s *GoogleCloudDialogflowCxV3beta1PageInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1PageInfoFormInfo ¶ added in v0.26.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.26.0
func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo ¶ added in v0.26.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.26.0
func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1QueryInput ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1QueryInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ResponseMessage ¶ added in v0.26.0
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"` // TelephonyTransferCall: A signal that the client should transfer the // phone call connected to this agent to a third-party endpoint. TelephonyTransferCall *GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall `json:"telephonyTransferCall,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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.26.0
func (s *GoogleCloudDialogflowCxV3beta1ResponseMessage) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess ¶ added in v0.26.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.26.0
func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction ¶ added in v0.29.0
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 ¶ added in v0.29.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.29.0
func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio ¶ added in v0.29.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.29.0
func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment ¶ added in v0.29.0
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 or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or 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 ¶ added in v0.29.0
func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText ¶ added in v0.29.0
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 or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or 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 ¶ added in v0.29.0
func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio ¶ added in v0.29.0
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 or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or 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 ¶ added in v0.29.0
func (s *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall ¶ added in v0.62.0
type GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall struct { // PhoneNumber: Transfer the call to a phone number in E.164 format // (https://en.wikipedia.org/wiki/E.164). 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall: Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.
func (*GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall) MarshalJSON ¶ added in v0.62.0
func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1ResponseMessageText ¶ added in v0.26.0
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 or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or 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 ¶ added in v0.26.0
func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageText) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata ¶ added in v0.48.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.48.0
func (s *GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse ¶ added in v0.48.0
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 or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or 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 ¶ added in v0.48.0
func (s *GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata ¶ added in v0.37.0
type GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata struct { }
GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata: Metadata returned for the TestCases.RunTestCase long running operation. This message currently has no fields.
type GoogleCloudDialogflowCxV3beta1RunTestCaseResponse ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1RunTestCaseResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1SessionInfo ¶ added in v0.26.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.26.0
func (s *GoogleCloudDialogflowCxV3beta1SessionInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1TestCase ¶ added in v0.37.0
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"` // ForceSendFields is a list of field names (e.g. "CreationTime") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1TestCase) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1TestCaseError ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1TestCaseError) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1TestCaseResult ¶ added in v0.37.0
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"` // ForceSendFields is a list of field names (e.g. "ConversationTurns") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1TestCaseResult) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1TestConfig ¶ added in v0.37.0
type GoogleCloudDialogflowCxV3beta1TestConfig struct { // Flow: Flow name to start the test case with. Format: // `projects//locations//agents//flows/`. Only one of `flow` and `page` // should be set to indicate the starting point of the test case. If // both are set, `page` takes precedence over `flow`. If neither is set, // the test case will start with start page on the default start flow. Flow string `json:"flow,omitempty"` // Page: The page to start the test case with. Format: // `projects//locations//agents//flows//pages/`. Only one of `flow` and // `page` should be set to indicate the starting point of the test case. // If both are set, `page` takes precedence over `flow`. If neither is // set, the test case will start with start page on the default start // flow. Page string `json:"page,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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1TestConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1TestError ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1TestError) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1TestRunDifference ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1TestRunDifference) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1TextInput ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1TextInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1TransitionRoute ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1TransitionRoute) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1Webhook ¶ added in v0.82.0
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"` // ForceSendFields is a list of field names (e.g. "Disabled") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.82.0
func (s *GoogleCloudDialogflowCxV3beta1Webhook) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1WebhookGenericWebService ¶ added in v0.82.0
type GoogleCloudDialogflowCxV3beta1WebhookGenericWebService struct { // AllowedCaCerts: Optional. Specifies a list of allowed custom CA // certificates (in DER format) for HTTPS verification. This overrides // the default SSL trust store. If this is empty or unspecified, // Dialogflow will use Google's default trust store to verify // certificates. N.B. Make sure the HTTPS server certificates are signed // with "subject alt name". For instance a certificate can be // self-signed using the following command, “` openssl x509 -req -days // 200 -in example.com.csr \ -signkey example.com.key \ -out // example.com.crt \ -extfile <(printf // "\nsubjectAltName='DNS:www.example.com'") “` AllowedCaCerts []string `json:"allowedCaCerts,omitempty"` // 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. "AllowedCaCerts") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllowedCaCerts") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if 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 ¶ added in v0.82.0
func (s *GoogleCloudDialogflowCxV3beta1WebhookGenericWebService) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1WebhookRequest ¶ added in v0.26.0
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 or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or 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. You may see undocumented fields in an actual request. These fields are used internally by Dialogflow and should be ignored.
func (*GoogleCloudDialogflowCxV3beta1WebhookRequest) MarshalJSON ¶ added in v0.26.0
func (s *GoogleCloudDialogflowCxV3beta1WebhookRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo ¶ added in v0.26.0
type GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo struct { // Tag: Always present. The value of the Fulfillment.tag field will be // populated in this field by Dialogflow when the associated webhook is // called. The tag is typically used by the webhook service to identify // which fulfillment is being called, but it could be used for other // purposes. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.26.0
func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo ¶ added in v0.26.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.26.0
func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo) UnmarshalJSON ¶ added in v0.39.0
func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue ¶ added in v0.26.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.26.0
func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult ¶ added in v0.41.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.41.0
func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult) UnmarshalJSON ¶ added in v0.41.0
func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowCxV3beta1WebhookResponse ¶ added in v0.26.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.26.0
func (s *GoogleCloudDialogflowCxV3beta1WebhookResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse ¶ added in v0.26.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.26.0
func (s *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig ¶ added in v0.82.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.82.0
func (s *GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2AnnotatedMessagePart ¶ added in v0.15.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.15.0
func (s *GoogleCloudDialogflowV2AnnotatedMessagePart) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2ArticleAnswer ¶ added in v0.12.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.12.0
func (s *GoogleCloudDialogflowV2ArticleAnswer) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2ArticleAnswer) UnmarshalJSON ¶ added in v0.12.0
func (s *GoogleCloudDialogflowV2ArticleAnswer) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2ArticleSuggestionModelMetadata ¶ added in v0.71.0
type GoogleCloudDialogflowV2ArticleSuggestionModelMetadata struct { // TrainingModelType: Optional. Type of the article suggestion model. If // not provided, model_type is used. // // Possible values: // "MODEL_TYPE_UNSPECIFIED" - ModelType unspecified. // "SMART_REPLY_DUAL_ENCODER_MODEL" - ModelType smart reply dual // encoder model. // "SMART_REPLY_BERT_MODEL" - ModelType smart reply bert model. TrainingModelType string `json:"trainingModelType,omitempty"` // ForceSendFields is a list of field names (e.g. "TrainingModelType") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TrainingModelType") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2ArticleSuggestionModelMetadata: Metadata for article suggestion models.
func (*GoogleCloudDialogflowV2ArticleSuggestionModelMetadata) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2ArticleSuggestionModelMetadata) MarshalJSON() ([]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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata ¶ added in v0.71.0
type GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata struct { // ConversationProfile: The resource name of the conversation profile. // Format: `projects//locations//conversationProfiles/` ConversationProfile string `json:"conversationProfile,omitempty"` // CreateTime: Timestamp whe the request was created. The time is // measured on server side. CreateTime string `json:"createTime,omitempty"` // ParticipantRole: Required. The participant role to remove the // suggestion feature config. Only HUMAN_AGENT or END_USER can be used. // // 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"` // SuggestionFeatureType: Required. The type of the suggestion feature // to remove. // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. // "FAQ" - Run FAQ model for chat. // "SMART_REPLY" - Run smart reply model for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConversationProfile") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata: Metadata for a ConversationProfile.ClearSuggestionFeatureConfig operation.
func (*GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata) 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.15.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.15.0
func (s *GoogleCloudDialogflowV2ConversationEvent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2ConversationModel ¶ added in v0.71.0
type GoogleCloudDialogflowV2ConversationModel struct { // ArticleSuggestionModelMetadata: Metadata for article suggestion // models. ArticleSuggestionModelMetadata *GoogleCloudDialogflowV2ArticleSuggestionModelMetadata `json:"articleSuggestionModelMetadata,omitempty"` // CreateTime: Output only. Creation time of this model. CreateTime string `json:"createTime,omitempty"` // Datasets: Required. Datasets used to create model. Datasets []*GoogleCloudDialogflowV2InputDataset `json:"datasets,omitempty"` // DisplayName: Required. The display name of the model. At most 64 // bytes long. DisplayName string `json:"displayName,omitempty"` // LanguageCode: Language code for the conversation model. If not // specified, the language is en-US. Language at ConversationModel // should be set for all non en-us languages. 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"` // Name: ConversationModel resource name. Format: // `projects//conversationModels/` Name string `json:"name,omitempty"` // SmartReplyModelMetadata: Metadata for smart reply models. SmartReplyModelMetadata *GoogleCloudDialogflowV2SmartReplyModelMetadata `json:"smartReplyModelMetadata,omitempty"` // State: Output only. State of the model. A model can only serve // prediction requests after it gets deployed. // // Possible values: // "STATE_UNSPECIFIED" - Should not be used, an un-set enum has this // value by default. // "CREATING" - Model being created. // "UNDEPLOYED" - Model is not deployed but ready to deploy. // "DEPLOYING" - Model is deploying. // "DEPLOYED" - Model is deployed and ready to use. // "UNDEPLOYING" - Model is undeploying. // "DELETING" - Model is deleting. // "FAILED" - Model is in error state. Not ready to deploy and use. // "PENDING" - Model is being created but the training has not // started, The model may remain in this state until there is enough // capacity to start training. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. // "ArticleSuggestionModelMetadata") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "ArticleSuggestionModelMetadata") to include in API requests with the // JSON null value. By default, fields with empty values are omitted // from API requests. However, any field with an empty value appearing // in NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2ConversationModel: Represents a conversation model.
func (*GoogleCloudDialogflowV2ConversationModel) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2ConversationModel) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata ¶ added in v0.71.0
type GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata struct { // ConversationDataset: The resource name of the conversation dataset // that will be created. Format: // `projects//locations//conversationDatasets/` ConversationDataset string `json:"conversationDataset,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationDataset") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConversationDataset") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata: Metadata for ConversationDatasets.
func (*GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata) MarshalJSON ¶ added in v0.96.0
func (s *GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata ¶ added in v0.71.0
type GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata struct { // ConversationModel: The resource name of the conversation model. // Format: `projects//locations//conversationModels/` ConversationModel string `json:"conversationModel,omitempty"` // ConversationModelEvaluation: The resource name of the conversation // model. Format: // `projects//locations//conversationModels//evaluations/` ConversationModelEvaluation string `json:"conversationModelEvaluation,omitempty"` // CreateTime: Timestamp when the request to create conversation model // was submitted. The time is measured on server side. CreateTime string `json:"createTime,omitempty"` // State: State of CreateConversationModel operation. // // Possible values: // "STATE_UNSPECIFIED" - Operation status not specified. // "INITIALIZING" - The operation is being prepared. // "RUNNING" - The operation is running. // "CANCELLED" - The operation is cancelled. // "SUCCEEDED" - The operation has succeeded. // "FAILED" - The operation has failed. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationModel") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConversationModel") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetad ata: Metadata for a ConversationModels.CreateConversationModelEvaluation operation.
func (*GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2CreateConversationModelOperationMetadata ¶ added in v0.71.0
type GoogleCloudDialogflowV2CreateConversationModelOperationMetadata struct { // ConversationModel: The resource name of the conversation model. // Format: `projects//conversationModels/` ConversationModel string `json:"conversationModel,omitempty"` // CreateTime: Timestamp when the request to create conversation model // is submitted. The time is measured on server side. CreateTime string `json:"createTime,omitempty"` // State: State of CreateConversationModel operation. // // Possible values: // "STATE_UNSPECIFIED" - Invalid. // "PENDING" - Request is submitted, but training has not started yet. // The model may remain in this state until there is enough capacity to // start training. // "SUCCEEDED" - The training has succeeded. // "FAILED" - The training has succeeded. // "CANCELLED" - The training has been cancelled. // "CANCELLING" - The training is in cancelling state. // "TRAINING" - Custom model is training. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationModel") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConversationModel") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2CreateConversationModelOperationMetadata: Metadata for a ConversationModels.CreateConversationModel operation.
func (*GoogleCloudDialogflowV2CreateConversationModelOperationMetadata) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2CreateConversationModelOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata ¶ added in v0.71.0
type GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata struct { }
GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata: Metadata for ConversationDatasets.
type GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata ¶ added in v0.71.0
type GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata struct { // ConversationModel: The resource name of the conversation model. // Format: `projects//conversationModels/` ConversationModel string `json:"conversationModel,omitempty"` // CreateTime: Timestamp when delete conversation model request was // created. The time is measured on server side. CreateTime string `json:"createTime,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationModel") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConversationModel") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata: Metadata for a ConversationModels.DeleteConversationModel operation.
func (*GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2DeployConversationModelOperationMetadata ¶ added in v0.71.0
type GoogleCloudDialogflowV2DeployConversationModelOperationMetadata struct { // ConversationModel: The resource name of the conversation model. // Format: `projects//conversationModels/` ConversationModel string `json:"conversationModel,omitempty"` // CreateTime: Timestamp when request to deploy conversation model was // submitted. The time is measured on server side. CreateTime string `json:"createTime,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationModel") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConversationModel") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2DeployConversationModelOperationMetadata: Metadata for a ConversationModels.DeployConversationModel operation.
func (*GoogleCloudDialogflowV2DeployConversationModelOperationMetadata) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2DeployConversationModelOperationMetadata) 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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. This field is ignored when used in the context of a // WebhookResponse.followup_event_input field, because the language was // already defined in the originating detect intent request. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 GoogleCloudDialogflowV2ExportOperationMetadata ¶ added in v0.71.0
type GoogleCloudDialogflowV2ExportOperationMetadata struct { // ExportedGcsDestination: Cloud Storage file path of the exported data. ExportedGcsDestination *GoogleCloudDialogflowV2GcsDestination `json:"exportedGcsDestination,omitempty"` // ForceSendFields is a list of field names (e.g. // "ExportedGcsDestination") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExportedGcsDestination") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2ExportOperationMetadata: Metadata related to the Export Data Operations (e.g. ExportDocument).
func (*GoogleCloudDialogflowV2ExportOperationMetadata) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2ExportOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2FaqAnswer ¶ added in v0.12.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.12.0
func (s *GoogleCloudDialogflowV2FaqAnswer) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2FaqAnswer) UnmarshalJSON ¶ added in v0.12.0
func (s *GoogleCloudDialogflowV2FaqAnswer) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2GcsDestination ¶ added in v0.71.0
type GoogleCloudDialogflowV2GcsDestination struct { // Uri: The Google Cloud Storage URIs for the output. A URI is of the // form: gs://bucket/object-prefix-or-name Whether a prefix or name is // used depends on the use case. The requesting user must have // "write-permission" to the bucket. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2GcsDestination: Google Cloud Storage location for the output.
func (*GoogleCloudDialogflowV2GcsDestination) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2GcsDestination) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2HumanAgentAssistantEvent ¶ added in v0.12.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.12.0
func (s *GoogleCloudDialogflowV2HumanAgentAssistantEvent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2ImportConversationDataOperationMetadata ¶ added in v0.71.0
type GoogleCloudDialogflowV2ImportConversationDataOperationMetadata struct { // ConversationDataset: The resource name of the imported conversation // dataset. Format: `projects//locations//conversationDatasets/` ConversationDataset string `json:"conversationDataset,omitempty"` // CreateTime: Timestamp when import conversation data request was // created. The time is measured on server side. CreateTime string `json:"createTime,omitempty"` // PartialFailures: Partial failures are failures that don't fail the // whole long running operation, e.g. single files that couldn't be // read. PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationDataset") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConversationDataset") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2ImportConversationDataOperationMetadata: Metadata for a ConversationDatasets.ImportConversationData operation.
func (*GoogleCloudDialogflowV2ImportConversationDataOperationMetadata) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2ImportConversationDataOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2ImportConversationDataOperationResponse ¶ added in v0.71.0
type GoogleCloudDialogflowV2ImportConversationDataOperationResponse struct { // ConversationDataset: The resource name of the imported conversation // dataset. Format: `projects//locations//conversationDatasets/` ConversationDataset string `json:"conversationDataset,omitempty"` // ImportCount: Number of conversations imported successfully. ImportCount int64 `json:"importCount,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationDataset") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConversationDataset") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2ImportConversationDataOperationResponse: Response used for ConversationDatasets.ImportConversationData long running operation.
func (*GoogleCloudDialogflowV2ImportConversationDataOperationResponse) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2ImportConversationDataOperationResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2ImportDocumentsResponse ¶ added in v0.33.0
type GoogleCloudDialogflowV2ImportDocumentsResponse 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2ImportDocumentsResponse: Response message for Documents.ImportDocuments.
func (*GoogleCloudDialogflowV2ImportDocumentsResponse) MarshalJSON ¶ added in v0.33.0
func (s *GoogleCloudDialogflowV2ImportDocumentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2InputDataset ¶ added in v0.71.0
type GoogleCloudDialogflowV2InputDataset struct { // Dataset: Required. ConversationDataset resource name. Format: // `projects//locations//conversationDatasets/` Dataset string `json:"dataset,omitempty"` // ForceSendFields is a list of field names (e.g. "Dataset") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Dataset") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2InputDataset: InputDataset used to create model or do evaluation. NextID:5
func (*GoogleCloudDialogflowV2InputDataset) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2InputDataset) 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: Output only. 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: Output only. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.14.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.14.0
func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem ¶ added in v0.14.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.14.0
func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction ¶ added in v0.14.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.14.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.14.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.14.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.14.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.14.0
func (s *GoogleCloudDialogflowV2IntentMessageMediaContent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject ¶ added in v0.14.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.14.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.14.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.14.0
func (s *GoogleCloudDialogflowV2IntentMessageTableCard) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageTableCardCell ¶ added in v0.14.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.14.0
func (s *GoogleCloudDialogflowV2IntentMessageTableCardCell) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2IntentMessageTableCardRow ¶ added in v0.14.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.14.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.12.0
type GoogleCloudDialogflowV2KnowledgeOperationMetadata struct { // ExportOperationMetadata: Metadata for the Export Data Operation such // as the destination of export. ExportOperationMetadata *GoogleCloudDialogflowV2ExportOperationMetadata `json:"exportOperationMetadata,omitempty"` // KnowledgeBase: The name of the knowledge base interacted with during // the operation. KnowledgeBase string `json:"knowledgeBase,omitempty"` // 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. // "ExportOperationMetadata") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExportOperationMetadata") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if 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 ¶ added in v0.12.0
func (s *GoogleCloudDialogflowV2KnowledgeOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2Message ¶ added in v0.15.0
type GoogleCloudDialogflowV2Message 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 *GoogleCloudDialogflowV2MessageAnnotation `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 *GoogleCloudDialogflowV2SentimentAnalysisResult `json:"sentimentAnalysis,omitempty"` // ForceSendFields is a list of field names (e.g. "Content") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.15.0
func (s *GoogleCloudDialogflowV2Message) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2MessageAnnotation ¶ added in v0.15.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.15.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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. For more information, see // the cancel slot filling documentation // (https://cloud.google.com/dialogflow/es/docs/intents-actions-parameters#cancel). 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.3.1
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.3.1
func (s *GoogleCloudDialogflowV2Sentiment) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2Sentiment) UnmarshalJSON ¶ added in v0.3.1
func (s *GoogleCloudDialogflowV2Sentiment) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2SentimentAnalysisResult ¶ added in v0.3.1
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.3.1
func (s *GoogleCloudDialogflowV2SentimentAnalysisResult) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2SessionEntityType ¶ added in v0.11.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.11.0
func (s *GoogleCloudDialogflowV2SessionEntityType) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata ¶ added in v0.71.0
type GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata struct { // ConversationProfile: The resource name of the conversation profile. // Format: `projects//locations//conversationProfiles/` ConversationProfile string `json:"conversationProfile,omitempty"` // CreateTime: Timestamp whe the request was created. The time is // measured on server side. CreateTime string `json:"createTime,omitempty"` // ParticipantRole: Required. The participant role to add or update the // suggestion feature config. Only HUMAN_AGENT or END_USER can be used. // // 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"` // SuggestionFeatureType: Required. The type of the suggestion feature // to add or update. // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. // "FAQ" - Run FAQ model for chat. // "SMART_REPLY" - Run smart reply model for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConversationProfile") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata: Metadata for a ConversationProfile.SetSuggestionFeatureConfig operation.
func (*GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2SmartReplyAnswer ¶ added in v0.65.0
type GoogleCloudDialogflowV2SmartReplyAnswer 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2SmartReplyAnswer: Represents a smart reply answer.
func (*GoogleCloudDialogflowV2SmartReplyAnswer) MarshalJSON ¶ added in v0.65.0
func (s *GoogleCloudDialogflowV2SmartReplyAnswer) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2SmartReplyAnswer) UnmarshalJSON ¶ added in v0.65.0
func (s *GoogleCloudDialogflowV2SmartReplyAnswer) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2SmartReplyModelMetadata ¶ added in v0.71.0
type GoogleCloudDialogflowV2SmartReplyModelMetadata struct { // TrainingModelType: Optional. Type of the smart reply model. If not // provided, model_type is used. // // Possible values: // "MODEL_TYPE_UNSPECIFIED" - ModelType unspecified. // "SMART_REPLY_DUAL_ENCODER_MODEL" - ModelType smart reply dual // encoder model. // "SMART_REPLY_BERT_MODEL" - ModelType smart reply bert model. TrainingModelType string `json:"trainingModelType,omitempty"` // ForceSendFields is a list of field names (e.g. "TrainingModelType") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TrainingModelType") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2SmartReplyModelMetadata: Metadata for smart reply models.
func (*GoogleCloudDialogflowV2SmartReplyModelMetadata) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2SmartReplyModelMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2SuggestArticlesResponse ¶ added in v0.12.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.12.0
func (s *GoogleCloudDialogflowV2SuggestArticlesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2SuggestFaqAnswersResponse ¶ added in v0.12.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.12.0
func (s *GoogleCloudDialogflowV2SuggestFaqAnswersResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2SuggestSmartRepliesResponse ¶ added in v0.65.0
type GoogleCloudDialogflowV2SuggestSmartRepliesResponse 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 []*GoogleCloudDialogflowV2SmartReplyAnswer `json:"smartReplyAnswers,omitempty"` // ForceSendFields is a list of field names (e.g. "ContextSize") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2SuggestSmartRepliesResponse: The response message for Participants.SuggestSmartReplies.
func (*GoogleCloudDialogflowV2SuggestSmartRepliesResponse) MarshalJSON ¶ added in v0.65.0
func (s *GoogleCloudDialogflowV2SuggestSmartRepliesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2SuggestionResult ¶ added in v0.12.0
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"` // SuggestSmartRepliesResponse: SuggestSmartRepliesResponse if request // is for SMART_REPLY. SuggestSmartRepliesResponse *GoogleCloudDialogflowV2SuggestSmartRepliesResponse `json:"suggestSmartRepliesResponse,omitempty"` // ForceSendFields is a list of field names (e.g. "Error") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.12.0
func (s *GoogleCloudDialogflowV2SuggestionResult) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata ¶ added in v0.71.0
type GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata struct { // ConversationModel: The resource name of the conversation model. // Format: `projects//conversationModels/` ConversationModel string `json:"conversationModel,omitempty"` // CreateTime: Timestamp when the request to undeploy conversation model // was submitted. The time is measured on server side. CreateTime string `json:"createTime,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationModel") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConversationModel") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata: Metadata for a ConversationModels.UndeployConversationModel operation.
func (*GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata) 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 or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 GoogleCloudDialogflowV2beta1Agent ¶
type GoogleCloudDialogflowV2beta1Agent struct { // ApiVersion: Optional. API version displayed in Dialogflow console. If // not specified, V2 API is assumed. Clients are free to query different // service endpoints for different API versions. However, bots // connectors and webhook calls will follow the specified API version. // // Possible values: // "API_VERSION_UNSPECIFIED" - Not specified. // "API_VERSION_V1" - Legacy V1 API. // "API_VERSION_V2" - V2 API. // "API_VERSION_V2_BETA_1" - V2beta1 API. ApiVersion string `json:"apiVersion,omitempty"` // AvatarUri: Optional. 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"` // ClassificationThreshold: Optional. 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 fallback intent will be triggered or, if there are no // fallback intents defined, no intent 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"` // DefaultLanguageCode: Required. The default language of the agent as a // language tag. See Language Support // (https://cloud.google.com/dialogflow/docs/reference/language) for a // list of the currently supported language codes. This field cannot be // set by the `Update` method. DefaultLanguageCode string `json:"defaultLanguageCode,omitempty"` // Description: Optional. The description of this agent. The maximum // length is 500 characters. If exceeded, the request is rejected. Description string `json:"description,omitempty"` // DisplayName: Required. The name of this agent. DisplayName string `json:"displayName,omitempty"` // EnableLogging: Optional. Determines whether this agent should log // conversation queries. EnableLogging bool `json:"enableLogging,omitempty"` // MatchMode: Optional. Determines how intents are detected from user // queries. // // Possible values: // "MATCH_MODE_UNSPECIFIED" - Not specified. // "MATCH_MODE_HYBRID" - Best for agents with a small number of // examples in intents and/or wide use of templates syntax and composite // entities. // "MATCH_MODE_ML_ONLY" - Can be used for agents with a large number // of examples in intents, especially the ones using @sys.any or very // large custom entities. MatchMode string `json:"matchMode,omitempty"` // Parent: Required. The project of this agent. Format: `projects/` or // `projects//locations/` Parent string `json:"parent,omitempty"` // SupportedLanguageCodes: Optional. The list of all languages supported // by this agent (except for the `default_language_code`). SupportedLanguageCodes []string `json:"supportedLanguageCodes,omitempty"` // Tier: Optional. The agent tier. If not specified, TIER_STANDARD is // assumed. // // Possible values: // "TIER_UNSPECIFIED" - Not specified. This value should never be // used. // "TIER_STANDARD" - Trial Edition, previously known as Standard // Edition. // "TIER_ENTERPRISE" - Essentials Edition, previously known as // Enterprise Essential Edition. // "TIER_ENTERPRISE_PLUS" - Essentials Edition (same as // TIER_ENTERPRISE), previously known as Enterprise Plus Edition. Tier string `json:"tier,omitempty"` // TimeZone: Required. The time zone of this 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. "ApiVersion") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ApiVersion") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1Agent: A Dialogflow agent is a virtual agent that handles conversations with your end-users. It is a natural language understanding module that understands the nuances of human language. Dialogflow translates end-user text or audio during a conversation to structured data that your apps and services can understand. You design and build a Dialogflow agent to handle the types of conversations required for your system. For more information about agents, see the Agent guide (https://cloud.google.com/dialogflow/docs/agents-overview).
func (*GoogleCloudDialogflowV2beta1Agent) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1Agent) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2beta1Agent) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1Agent) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2beta1AgentAssistantFeedback ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1AgentAssistantFeedback struct { // AnswerRelevance: Optional. Whether or not the suggested answer is // relevant. For example: * Query: "Can I change my mailing address?" * // Suggested document says: "Items must be returned/exchanged within 60 // days of the purchase date." * answer_relevance: // AnswerRelevance.IRRELEVANT // // Possible values: // "ANSWER_RELEVANCE_UNSPECIFIED" - Answer relevance unspecified. // "IRRELEVANT" - Answer is irrelevant to query. // "RELEVANT" - Answer is relevant to query. AnswerRelevance string `json:"answerRelevance,omitempty"` // DocumentCorrectness: Optional. Whether or not the information in the // document is correct. For example: * Query: "Can I return the package // in 2 days once received?" * Suggested document says: "Items must be // returned/exchanged within 60 days of the purchase date." * Ground // truth: "No return or exchange is allowed." * [document_correctness]: // INCORRECT // // Possible values: // "DOCUMENT_CORRECTNESS_UNSPECIFIED" - Document correctness // unspecified. // "INCORRECT" - Information in document is incorrect. // "CORRECT" - Information in document is correct. DocumentCorrectness string `json:"documentCorrectness,omitempty"` // DocumentEfficiency: Optional. Whether or not the suggested document // is efficient. For example, if the document is poorly written, hard to // understand, hard to use or too long to find useful information, // document_efficiency is DocumentEfficiency.INEFFICIENT. // // Possible values: // "DOCUMENT_EFFICIENCY_UNSPECIFIED" - Document efficiency // unspecified. // "INEFFICIENT" - Document is inefficient. // "EFFICIENT" - Document is efficient. DocumentEfficiency string `json:"documentEfficiency,omitempty"` // SummarizationFeedback: Feedback for conversation summarization. SummarizationFeedback *GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback `json:"summarizationFeedback,omitempty"` // ForceSendFields is a list of field names (e.g. "AnswerRelevance") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnswerRelevance") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1AgentAssistantFeedback: Detail feedback of Agent Assistant result.
func (*GoogleCloudDialogflowV2beta1AgentAssistantFeedback) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1AgentAssistantFeedback) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback struct { // StartTimestamp: Timestamp when composing of the summary starts. StartTimestamp string `json:"startTimestamp,omitempty"` // SubmitTimestamp: Timestamp when the summary was submitted. SubmitTimestamp string `json:"submitTimestamp,omitempty"` // SummaryText: Text of actual submitted summary. SummaryText string `json:"summaryText,omitempty"` // ForceSendFields is a list of field names (e.g. "StartTimestamp") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "StartTimestamp") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedbac k: Feedback for conversation summarization.
func (*GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1AgentAssistantRecord ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1AgentAssistantRecord struct { // ArticleSuggestionAnswer: Output only. The article suggestion answer. ArticleSuggestionAnswer *GoogleCloudDialogflowV2beta1ArticleAnswer `json:"articleSuggestionAnswer,omitempty"` // FaqAnswer: Output only. The FAQ answer. FaqAnswer *GoogleCloudDialogflowV2beta1FaqAnswer `json:"faqAnswer,omitempty"` // ForceSendFields is a list of field names (e.g. // "ArticleSuggestionAnswer") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ArticleSuggestionAnswer") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1AgentAssistantRecord: Represents a record of a human agent assistant answer.
func (*GoogleCloudDialogflowV2beta1AgentAssistantRecord) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1AgentAssistantRecord) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1AnalyzeContentRequest ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1AnalyzeContentRequest struct { // AssistQueryParams: Parameters for a human assist query. AssistQueryParams *GoogleCloudDialogflowV2beta1AssistQueryParameters `json:"assistQueryParams,omitempty"` // AudioInput: The natural language speech audio to be processed. AudioInput *GoogleCloudDialogflowV2beta1AudioInput `json:"audioInput,omitempty"` // CxCurrentPage: The unique identifier of the CX page to override the // `current_page` in the session. Format: // `projects//locations//agents//flows//pages/`. If `cx_current_page` is // specified, the previous state of the session will be ignored by // Dialogflow CX, including the previous page and the previous session // parameters. In most cases, `cx_current_page` and `cx_parameters` // should be configured together to direct a session to a specific // state. Note: this field should only be used if you are connecting to // a Dialogflow CX agent. CxCurrentPage string `json:"cxCurrentPage,omitempty"` // CxParameters: Additional parameters to be put into Dialogflow CX // session parameters. To remove a parameter from the session, clients // should explicitly set the parameter value to null. Note: this field // should only be used if you are connecting to a Dialogflow CX agent. CxParameters googleapi.RawMessage `json:"cxParameters,omitempty"` // EventInput: An input event to send to Dialogflow. EventInput *GoogleCloudDialogflowV2beta1EventInput `json:"eventInput,omitempty"` // MessageSendTime: Optional. The send time of the message from end user // or human agent's perspective. It is used for identifying the same // message under one participant. Given two messages under the same // participant: - If send time are different regardless of whether the // content of the messages are exactly the same, the conversation will // regard them as two distinct messages sent by the participant. - If // send time is the same regardless of whether the content of the // messages are exactly the same, the conversation will regard them as // same message, and ignore the message received later. If the value is // not provided, a new request will always be regarded as a new message // without any de-duplication. MessageSendTime string `json:"messageSendTime,omitempty"` // QueryParams: Parameters for a Dialogflow virtual-agent query. QueryParams *GoogleCloudDialogflowV2beta1QueryParameters `json:"queryParams,omitempty"` // ReplyAudioConfig: Speech synthesis configuration. The speech // synthesis settings for a virtual agent that may be configured for the // associated conversation profile are not used when calling // AnalyzeContent. If this configuration is not supplied, speech // synthesis is disabled. ReplyAudioConfig *GoogleCloudDialogflowV2beta1OutputAudioConfig `json:"replyAudioConfig,omitempty"` // RequestId: A unique identifier for this request. Restricted to 36 // ASCII characters. A random UUID is recommended. This request is only // idempotent if a `request_id` is provided. RequestId string `json:"requestId,omitempty"` // TextInput: The natural language text to be processed. TextInput *GoogleCloudDialogflowV2beta1TextInput `json:"textInput,omitempty"` // ForceSendFields is a list of field names (e.g. "AssistQueryParams") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AssistQueryParams") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1AnalyzeContentRequest: The request message for Participants.AnalyzeContent.
func (*GoogleCloudDialogflowV2beta1AnalyzeContentRequest) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1AnalyzeContentRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1AnalyzeContentResponse ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1AnalyzeContentResponse struct { // AutomatedAgentReply: Optional. Only set if a Dialogflow automated // agent has responded. Note that: // AutomatedAgentReply.detect_intent_response.output_audio and // AutomatedAgentReply.detect_intent_response.output_audio_config are // always empty, use reply_audio instead. AutomatedAgentReply *GoogleCloudDialogflowV2beta1AutomatedAgentReply `json:"automatedAgentReply,omitempty"` // DtmfParameters: Indicates the parameters of DTMF. DtmfParameters *GoogleCloudDialogflowV2beta1DtmfParameters `json:"dtmfParameters,omitempty"` // EndUserSuggestionResults: The suggestions for end user. The order is // the same as // HumanAgentAssistantConfig.SuggestionConfig.feature_configs of // HumanAgentAssistantConfig.end_user_suggestion_config. Same as // human_agent_suggestion_results, any failure of Agent Assist features // will not lead to the overall failure of an AnalyzeContent API call. // Instead, the features will fail silently with the error field set in // the corresponding SuggestionResult. EndUserSuggestionResults []*GoogleCloudDialogflowV2beta1SuggestionResult `json:"endUserSuggestionResults,omitempty"` // HumanAgentSuggestionResults: The suggestions for most recent human // agent. The order is the same as // HumanAgentAssistantConfig.SuggestionConfig.feature_configs of // HumanAgentAssistantConfig.human_agent_suggestion_config. Note that // any failure of Agent Assist features will not lead to the overall // failure of an AnalyzeContent API call. Instead, the features will // fail silently with the error field set in the corresponding // SuggestionResult. HumanAgentSuggestionResults []*GoogleCloudDialogflowV2beta1SuggestionResult `json:"humanAgentSuggestionResults,omitempty"` // Message: Output only. Message analyzed by CCAI. Message *GoogleCloudDialogflowV2beta1Message `json:"message,omitempty"` // ReplyAudio: Optional. The audio data bytes encoded as specified in // the request. This field is set if: - `reply_audio_config` was // specified in the request, or - The automated agent responded with // audio to play to the user. In such case, `reply_audio.config` // contains settings used to synthesize the speech. 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. ReplyAudio *GoogleCloudDialogflowV2beta1OutputAudio `json:"replyAudio,omitempty"` // ReplyText: Output only. The output text content. This field is set if // the automated agent responded with text to show to the user. ReplyText string `json:"replyText,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AutomatedAgentReply") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AutomatedAgentReply") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1AnalyzeContentResponse: The response message for Participants.AnalyzeContent.
func (*GoogleCloudDialogflowV2beta1AnalyzeContentResponse) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1AnalyzeContentResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1AnnotatedMessagePart ¶ added in v0.42.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1AnnotatedMessagePart) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1AnswerFeedback ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1AnswerFeedback struct { // AgentAssistantDetailFeedback: Optional. Detail feedback of agent // assistant suggestions. AgentAssistantDetailFeedback *GoogleCloudDialogflowV2beta1AgentAssistantFeedback `json:"agentAssistantDetailFeedback,omitempty"` // ClickTime: Time when the answer/item was clicked. ClickTime string `json:"clickTime,omitempty"` // Clicked: Indicates whether the answer/item was clicked by the human // agent or not. Default to false. Clicked bool `json:"clicked,omitempty"` // CorrectnessLevel: The correctness level of the specific answer. // // Possible values: // "CORRECTNESS_LEVEL_UNSPECIFIED" - Correctness level unspecified. // "NOT_CORRECT" - Answer is totally wrong. // "PARTIALLY_CORRECT" - Answer is partially correct. // "FULLY_CORRECT" - Answer is fully correct. CorrectnessLevel string `json:"correctnessLevel,omitempty"` // DisplayTime: Time when the answer/item was displayed. DisplayTime string `json:"displayTime,omitempty"` // Displayed: Indicates whether the answer/item was displayed to the // human agent in the agent desktop UI. Default to false. Displayed bool `json:"displayed,omitempty"` // ForceSendFields is a list of field names (e.g. // "AgentAssistantDetailFeedback") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AgentAssistantDetailFeedback") to include in API requests with the // JSON null value. By default, fields with empty values are omitted // from API requests. However, any field with an empty value appearing // in NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1AnswerFeedback: Represents feedback the customer has about the quality & correctness of a certain answer in a conversation.
func (*GoogleCloudDialogflowV2beta1AnswerFeedback) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1AnswerFeedback) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1AnswerRecord ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1AnswerRecord struct { // AgentAssistantRecord: Output only. The record for human agent // assistant. AgentAssistantRecord *GoogleCloudDialogflowV2beta1AgentAssistantRecord `json:"agentAssistantRecord,omitempty"` // AnswerFeedback: Optional. The AnswerFeedback for this record. You can // set this with AnswerRecords.UpdateAnswerRecord in order to give us // feedback about this answer. AnswerFeedback *GoogleCloudDialogflowV2beta1AnswerFeedback `json:"answerFeedback,omitempty"` // Name: The unique identifier of this answer record. Required for // AnswerRecords.UpdateAnswerRecord method. Format: // `projects//locations//answerRecords/`. 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. // "AgentAssistantRecord") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AgentAssistantRecord") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1AnswerRecord: Answer records are records to manage answer history and feedbacks for Dialogflow. Currently, answer record includes: - human agent assistant article suggestion - human agent assistant faq article It doesn't include: - `DetectIntent` intent matching - `DetectIntent` knowledge Answer records are not related to the conversation history in the Dialogflow Console. A Record is generated even when the end-user disables conversation history in the console. Records are created when there's a human agent assistant suggestion generated. A typical workflow for customers provide feedback to an answer is: 1. For human agent assistant, customers get suggestion via ListSuggestions API. Together with the answers, AnswerRecord.name are returned to the customers. 2. The customer uses the AnswerRecord.name to call the UpdateAnswerRecord method to send feedback about a specific answer that they believe is wrong.
func (*GoogleCloudDialogflowV2beta1AnswerRecord) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1AnswerRecord) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ArticleAnswer ¶ added in v0.42.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1ArticleAnswer) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1AssistQueryParameters ¶ added in v0.61.0
type GoogleCloudDialogflowV2beta1AssistQueryParameters struct { // DocumentsMetadataFilters: Key-value filters on the metadata of // documents returned by article suggestion. If specified, article // suggestion only returns suggested documents that match all filters in // their Document.metadata. Multiple values for a metadata key should be // concatenated by comma. For example, filters to match all documents // that have 'US' or 'CA' in their market metadata values and 'agent' in // their user metadata values will be “` documents_metadata_filters { // key: "market" value: "US,CA" } documents_metadata_filters { key: // "user" value: "agent" } “` DocumentsMetadataFilters map[string]string `json:"documentsMetadataFilters,omitempty"` // ForceSendFields is a list of field names (e.g. // "DocumentsMetadataFilters") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DocumentsMetadataFilters") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1AssistQueryParameters: Represents the parameters of human assist query.
func (*GoogleCloudDialogflowV2beta1AssistQueryParameters) MarshalJSON ¶ added in v0.61.0
func (s *GoogleCloudDialogflowV2beta1AssistQueryParameters) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1AudioInput ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1AudioInput struct { // Audio: Required. 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 virtual agent // interactions. Audio string `json:"audio,omitempty"` // Config: Required. Instructs the speech recognizer how to process the // speech audio. Config *GoogleCloudDialogflowV2beta1InputAudioConfig `json:"config,omitempty"` // ForceSendFields is a list of field names (e.g. "Audio") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1AudioInput: Represents the natural language speech audio to be processed.
func (*GoogleCloudDialogflowV2beta1AudioInput) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1AudioInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1AutomatedAgentConfig ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1AutomatedAgentConfig struct { // Agent: Required. ID of the Dialogflow agent environment to use. This // project needs to either be the same project as the conversation or // you need to grant // `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow // API Service Agent` role in this project. - For ES agents, use format: // `projects//locations//agent/environments/`. If environment is not // specified, the default `draft` environment is used. Refer to // DetectIntentRequest // (/dialogflow/docs/reference/rpc/google.cloud.dialogflow.v2beta1#google // .cloud.dialogflow.v2beta1.DetectIntentRequest) for more details. - // For CX agents, use format // `projects//locations//agents//environments/`. If environment is not // specified, the default `draft` environment is used. Agent string `json:"agent,omitempty"` // ForceSendFields is a list of field names (e.g. "Agent") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1AutomatedAgentConfig: Defines the Automated Agent to connect to a conversation.
func (*GoogleCloudDialogflowV2beta1AutomatedAgentConfig) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1AutomatedAgentConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1AutomatedAgentReply ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1AutomatedAgentReply struct { // AllowCancellation: Indicates whether the partial automated agent // reply is interruptible when a later reply message arrives. e.g. if // the agent specified some music as partial response, it can be // cancelled. AllowCancellation bool `json:"allowCancellation,omitempty"` // AutomatedAgentReplyType: AutomatedAgentReply type. // // Possible values: // "AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED" - Not specified. This // should never happen. // "PARTIAL" - Partial reply. e.g. Aggregated responses in a // `Fulfillment` that enables `return_partial_response` can be returned // as partial reply. WARNING: partial reply is not eligible for // barge-in. // "FINAL" - Final reply. AutomatedAgentReplyType string `json:"automatedAgentReplyType,omitempty"` // CxSessionParameters: The collection of current Dialogflow CX agent // session parameters at the time of this response. Deprecated: Use // `parameters` instead. CxSessionParameters googleapi.RawMessage `json:"cxSessionParameters,omitempty"` // DetectIntentResponse: Response of the Dialogflow // Sessions.DetectIntent call. DetectIntentResponse *GoogleCloudDialogflowV2beta1DetectIntentResponse `json:"detectIntentResponse,omitempty"` // Event: Event name if an event is triggered for the query. Event string `json:"event,omitempty"` // Intent: Name of the intent if an intent is matched for the query. For // a V2 query, the value format is `projects//locations/ // /agent/intents/`. For a V3 query, the value format is // `projects//locations/ /agents//intents/`. Intent string `json:"intent,omitempty"` // MatchConfidence: The confidence of the 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. MatchConfidence float64 `json:"matchConfidence,omitempty"` // Parameters: The collection of current parameters at the time of this // response. Parameters googleapi.RawMessage `json:"parameters,omitempty"` // ResponseMessages: Response messages from the automated agent. ResponseMessages []*GoogleCloudDialogflowV2beta1ResponseMessage `json:"responseMessages,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowCancellation") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AllowCancellation") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1AutomatedAgentReply: Represents a response from an automated agent.
func (*GoogleCloudDialogflowV2beta1AutomatedAgentReply) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1AutomatedAgentReply) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2beta1AutomatedAgentReply) UnmarshalJSON ¶ added in v0.48.0
func (s *GoogleCloudDialogflowV2beta1AutomatedAgentReply) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest ¶
type GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest struct { // Entities: Required. The entities to create. Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"` // LanguageCode: Optional. The language used to access language-specific // data. If not specified, the agent's default language is used. For // more information, see Multilingual intent and entity data // (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). LanguageCode string `json:"languageCode,omitempty"` // ForceSendFields is a list of field names (e.g. "Entities") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest: The request message for EntityTypes.BatchCreateEntities.
func (*GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest struct { // Requests: Required. A maximum of 1000 Messages can be created in a // batch. CreateMessageRequest.message.send_time is required. All // created messages will have identical Message.create_time. Requests []*GoogleCloudDialogflowV2beta1CreateMessageRequest `json:"requests,omitempty"` // ForceSendFields is a list of field names (e.g. "Requests") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Requests") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest: The request message for Conversations.BatchCreateMessagesRequest.
func (*GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse struct { // Messages: Messages created. Messages []*GoogleCloudDialogflowV2beta1Message `json:"messages,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Messages") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Messages") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse: The request message for Conversations.BatchCreateMessagesResponse.
func (*GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest ¶
type GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest struct { // EntityValues: Required. The reference `values` of the entities to // delete. Note that these are not fully-qualified names, i.e. they // don't start with `projects/`. EntityValues []string `json:"entityValues,omitempty"` // LanguageCode: Optional. The language used to access language-specific // data. If not specified, the agent's default language is used. For // more information, see Multilingual intent and entity data // (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). LanguageCode string `json:"languageCode,omitempty"` // ForceSendFields is a list of field names (e.g. "EntityValues") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntityValues") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest: The request message for EntityTypes.BatchDeleteEntities.
func (*GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest ¶
type GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest struct { // EntityTypeNames: Required. The names entity types to delete. All // names must point to the same agent as `parent`. EntityTypeNames []string `json:"entityTypeNames,omitempty"` // ForceSendFields is a list of field names (e.g. "EntityTypeNames") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntityTypeNames") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest: The request message for EntityTypes.BatchDeleteEntityTypes.
func (*GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest ¶
type GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest struct { // Intents: Required. The collection of intents to delete. Only intent // `name` must be filled in. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest: The request message for Intents.BatchDeleteIntents.
func (*GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest ¶
type GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest struct { // Entities: Required. The entities to update or create. Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"` // LanguageCode: Optional. The language used to access language-specific // data. If not specified, the agent's default language is used. For // more information, see Multilingual intent and entity data // (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). LanguageCode string `json:"languageCode,omitempty"` // UpdateMask: Optional. The mask to control which fields get updated. UpdateMask string `json:"updateMask,omitempty"` // ForceSendFields is a list of field names (e.g. "Entities") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest: The request message for EntityTypes.BatchUpdateEntities.
func (*GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest ¶
type GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest struct { // EntityTypeBatchInline: The collection of entity types to update or // create. EntityTypeBatchInline *GoogleCloudDialogflowV2beta1EntityTypeBatch `json:"entityTypeBatchInline,omitempty"` // EntityTypeBatchUri: The URI to a Google Cloud Storage file containing // entity types to update or create. The file format can either be a // serialized proto (of EntityBatch type) or a JSON object. Note: The // URI must start with "gs://". EntityTypeBatchUri string `json:"entityTypeBatchUri,omitempty"` // LanguageCode: Optional. The language used to access language-specific // data. If not specified, the agent's default language is used. For // more information, see Multilingual intent and entity data // (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). LanguageCode string `json:"languageCode,omitempty"` // UpdateMask: Optional. The mask to control which fields get updated. UpdateMask string `json:"updateMask,omitempty"` // ForceSendFields is a list of field names (e.g. // "EntityTypeBatchInline") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EntityTypeBatchInline") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest: The request message for EntityTypes.BatchUpdateEntityTypes.
func (*GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest) 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest ¶
type GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest struct { // IntentBatchInline: The collection of intents to update or create. IntentBatchInline *GoogleCloudDialogflowV2beta1IntentBatch `json:"intentBatchInline,omitempty"` // IntentBatchUri: The URI to a Google Cloud Storage file containing // intents to update or create. The file format can either be a // serialized proto (of IntentBatch type) or JSON object. Note: The URI // must start with "gs://". IntentBatchUri string `json:"intentBatchUri,omitempty"` // IntentView: Optional. The resource view to apply to the returned // intent. // // Possible values: // "INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated // in the response. // "INTENT_VIEW_FULL" - All fields are populated. IntentView string `json:"intentView,omitempty"` // LanguageCode: Optional. The language used to access language-specific // data. If not specified, the agent's default language is used. For // more information, see Multilingual intent and entity data // (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity). LanguageCode string `json:"languageCode,omitempty"` // UpdateMask: Optional. The mask to control which fields get updated. UpdateMask string `json:"updateMask,omitempty"` // ForceSendFields is a list of field names (e.g. "IntentBatchInline") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IntentBatchInline") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest: The request message for Intents.BatchUpdateIntents.
func (*GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest) 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata ¶ added in v0.71.0
type GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata struct { // ConversationProfile: The resource name of the conversation profile. // Format: `projects//locations//conversationProfiles/` ConversationProfile string `json:"conversationProfile,omitempty"` // CreateTime: Timestamp whe the request was created. The time is // measured on server side. CreateTime string `json:"createTime,omitempty"` // ParticipantRole: Required. The participant role to remove the // suggestion feature config. Only HUMAN_AGENT or END_USER can be used. // // 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"` // SuggestionFeatureType: Required. The type of the suggestion feature // to remove. // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. // "FAQ" - Run FAQ model. // "SMART_REPLY" - Run smart reply model for chat. // "CONVERSATION_SUMMARIZATION" - Run conversation summarization model // for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConversationProfile") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetad ata: Metadata for a ConversationProfile.ClearSuggestionFeatureConfig operation.
func (*GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest ¶ added in v0.71.0
type GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest struct { // ParticipantRole: Required. The participant role to remove the // suggestion feature config. Only HUMAN_AGENT or END_USER can be used. // // 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"` // SuggestionFeatureType: Required. The type of the suggestion feature // to remove. // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. // "FAQ" - Run FAQ model. // "SMART_REPLY" - Run smart reply model for chat. // "CONVERSATION_SUMMARIZATION" - Run conversation summarization model // for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ParticipantRole") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ParticipantRole") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest: The request message for ConversationProfiles.ClearFeature.
func (*GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1CompileSuggestionRequest ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1CompileSuggestionRequest struct { // ContextSize: Optional. Max number of messages prior to and including // [latest_message] to use as context when compiling the suggestion. If // zero or less than zero, 20 is used. ContextSize int64 `json:"contextSize,omitempty"` // LatestMessage: Optional. The name of the latest conversation message // to compile suggestion for. If empty, it will be the latest message of // the conversation. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1CompileSuggestionRequest: The request message for Participants.CompileSuggestion.
func (*GoogleCloudDialogflowV2beta1CompileSuggestionRequest) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1CompileSuggestionRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1CompileSuggestionResponse ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1CompileSuggestionResponse struct { // ContextSize: Number of messages prior to and including latest_message // to compile the suggestion. It may be smaller than the // CompileSuggestionRequest.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"` // Suggestion: The compiled suggestion. Suggestion *GoogleCloudDialogflowV2beta1Suggestion `json:"suggestion,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ContextSize") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1CompileSuggestionResponse: The response message for Participants.CompileSuggestion.
func (*GoogleCloudDialogflowV2beta1CompileSuggestionResponse) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1CompileSuggestionResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1CompleteConversationRequest ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1CompleteConversationRequest struct { }
GoogleCloudDialogflowV2beta1CompleteConversationRequest: The request message for Conversations.CompleteConversation.
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"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "LifespanCount") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 GoogleCloudDialogflowV2beta1Conversation ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1Conversation struct { // ConversationProfile: Required. The Conversation Profile to be used to // configure this Conversation. This field cannot be updated. Format: // `projects//locations//conversationProfiles/`. ConversationProfile string `json:"conversationProfile,omitempty"` // ConversationStage: The stage of a conversation. It indicates whether // the virtual agent or a human agent is handling the conversation. If // the conversation is created with the conversation profile that has // Dialogflow config set, defaults to // ConversationStage.VIRTUAL_AGENT_STAGE; Otherwise, defaults to // ConversationStage.HUMAN_ASSIST_STAGE. If the conversation is created // with the conversation profile that has Dialogflow config set but // explicitly sets conversation_stage to // ConversationStage.HUMAN_ASSIST_STAGE, it skips // ConversationStage.VIRTUAL_AGENT_STAGE stage and directly goes to // ConversationStage.HUMAN_ASSIST_STAGE. // // Possible values: // "CONVERSATION_STAGE_UNSPECIFIED" - Unknown. Should never be used // after a conversation is successfully created. // "VIRTUAL_AGENT_STAGE" - The conversation should return virtual // agent responses into the conversation. // "HUMAN_ASSIST_STAGE" - The conversation should not provide // responses, just listen and provide suggestions. ConversationStage string `json:"conversationStage,omitempty"` // EndTime: Output only. The time the conversation was finished. EndTime string `json:"endTime,omitempty"` // LifecycleState: Output only. The current state of the Conversation. // // Possible values: // "LIFECYCLE_STATE_UNSPECIFIED" - Unknown. // "IN_PROGRESS" - Conversation is currently open for media analysis. // "COMPLETED" - Conversation has been completed. LifecycleState string `json:"lifecycleState,omitempty"` // Name: Output only. The unique identifier of this conversation. // Format: `projects//locations//conversations/`. Name string `json:"name,omitempty"` // PhoneNumber: Output only. Required if the conversation is to be // connected over telephony. PhoneNumber *GoogleCloudDialogflowV2beta1ConversationPhoneNumber `json:"phoneNumber,omitempty"` // StartTime: Output only. The time the conversation was started. StartTime string `json:"startTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConversationProfile") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1Conversation: Represents a conversation. A conversation is an interaction between an agent, including live agents and Dialogflow agents, and a support customer. Conversations can include phone calls and text-based chat sessions.
func (*GoogleCloudDialogflowV2beta1Conversation) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1Conversation) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ConversationEvent ¶ added in v0.42.0
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. // "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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1ConversationEvent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ConversationPhoneNumber ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1ConversationPhoneNumber struct { // PhoneNumber: Output only. The phone number to connect to this // conversation. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1ConversationPhoneNumber: Represents a phone number for telephony integration. It allows for connecting a particular conversation over telephony.
func (*GoogleCloudDialogflowV2beta1ConversationPhoneNumber) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1ConversationPhoneNumber) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ConversationProfile ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1ConversationProfile struct { // AutomatedAgentConfig: Configuration for an automated agent to use // with this profile. AutomatedAgentConfig *GoogleCloudDialogflowV2beta1AutomatedAgentConfig `json:"automatedAgentConfig,omitempty"` // CreateTime: Output only. Create time of the conversation profile. CreateTime string `json:"createTime,omitempty"` // DisplayName: Required. Human readable name for this profile. Max // length 1024 bytes. DisplayName string `json:"displayName,omitempty"` // HumanAgentAssistantConfig: Configuration for agent assistance to use // with this profile. HumanAgentAssistantConfig *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig `json:"humanAgentAssistantConfig,omitempty"` // HumanAgentHandoffConfig: Configuration for connecting to a live // agent. Currently, this feature is not general available, please // contact Google to get access. HumanAgentHandoffConfig *GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig `json:"humanAgentHandoffConfig,omitempty"` // LanguageCode: Language code for the conversation profile. If not // specified, the language is en-US. Language at ConversationProfile // should be set for all non en-us languages. 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"` // LoggingConfig: Configuration for logging conversation lifecycle // events. LoggingConfig *GoogleCloudDialogflowV2beta1LoggingConfig `json:"loggingConfig,omitempty"` // Name: The unique identifier of this conversation profile. Format: // `projects//locations//conversationProfiles/`. Name string `json:"name,omitempty"` // NewMessageEventNotificationConfig: Configuration for publishing new // message events. Event will be sent in format of ConversationEvent NewMessageEventNotificationConfig *GoogleCloudDialogflowV2beta1NotificationConfig `json:"newMessageEventNotificationConfig,omitempty"` // NotificationConfig: Configuration for publishing conversation // lifecycle events. NotificationConfig *GoogleCloudDialogflowV2beta1NotificationConfig `json:"notificationConfig,omitempty"` // SecuritySettings: Name of the CX SecuritySettings reference for the // agent. Format: `projects//locations//securitySettings/`. SecuritySettings string `json:"securitySettings,omitempty"` // SttConfig: Settings for speech transcription. SttConfig *GoogleCloudDialogflowV2beta1SpeechToTextConfig `json:"sttConfig,omitempty"` // TimeZone: The time zone of this conversational profile from the time // zone database (https://www.iana.org/time-zones), e.g., // America/New_York, Europe/Paris. Defaults to America/New_York. TimeZone string `json:"timeZone,omitempty"` // UpdateTime: Output only. Update time of the conversation profile. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "AutomatedAgentConfig") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AutomatedAgentConfig") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1ConversationProfile: Defines the services to connect to incoming Dialogflow conversations.
func (*GoogleCloudDialogflowV2beta1ConversationProfile) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1ConversationProfile) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1CreateMessageRequest ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1CreateMessageRequest struct { // Message: Required. The message to create. Message.participant is // required. Message *GoogleCloudDialogflowV2beta1Message `json:"message,omitempty"` // Parent: Required. Resource identifier of the conversation to create // message. Format: `projects//locations//conversations/`. Parent string `json:"parent,omitempty"` // ForceSendFields is a list of field names (e.g. "Message") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Message") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1CreateMessageRequest: The request message to create one Message. Currently it is only used in BatchCreateMessagesRequest.
func (*GoogleCloudDialogflowV2beta1CreateMessageRequest) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1CreateMessageRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1DetectIntentRequest ¶
type GoogleCloudDialogflowV2beta1DetectIntentRequest struct { // InputAudio: The natural language speech audio to be processed. This // field should be populated iff `query_input` is set to an input audio // config. A single request can contain up to 1 minute of speech audio // data. InputAudio string `json:"inputAudio,omitempty"` // OutputAudioConfig: Instructs the speech synthesizer how to generate // the output audio. If this field is not set and agent-level speech // synthesizer is not configured, no output audio is generated. OutputAudioConfig *GoogleCloudDialogflowV2beta1OutputAudioConfig `json:"outputAudioConfig,omitempty"` // OutputAudioConfigMask: Mask for output_audio_config indicating which // settings in this request-level config should override speech // synthesizer settings defined at agent-level. If unspecified or empty, // output_audio_config replaces the agent-level config in its entirety. OutputAudioConfigMask string `json:"outputAudioConfigMask,omitempty"` // QueryInput: Required. The input specification. It can be set to: 1. // an audio config which instructs the speech recognizer how to process // the speech audio, 2. a conversational query in the form of text, or // 3. an event that specifies which intent to trigger. QueryInput *GoogleCloudDialogflowV2beta1QueryInput `json:"queryInput,omitempty"` // QueryParams: The parameters of this query. QueryParams *GoogleCloudDialogflowV2beta1QueryParameters `json:"queryParams,omitempty"` // ForceSendFields is a list of field names (e.g. "InputAudio") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "InputAudio") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1DetectIntentRequest: The request to detect user's intent.
func (*GoogleCloudDialogflowV2beta1DetectIntentRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1DetectIntentRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1DetectIntentResponse ¶
type GoogleCloudDialogflowV2beta1DetectIntentResponse struct { // AlternativeQueryResults: If Knowledge Connectors are enabled, there // could be more than one result returned for a given query or event, // and this field will contain all results except for the top one, which // is captured in query_result. The alternative results are ordered by // decreasing `QueryResult.intent_detection_confidence`. If Knowledge // Connectors are disabled, this field will be empty until multiple // responses for regular intents are supported, at which point those // additional results will be surfaced here. AlternativeQueryResults []*GoogleCloudDialogflowV2beta1QueryResult `json:"alternativeQueryResults,omitempty"` // 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.fulfillment_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 *GoogleCloudDialogflowV2beta1OutputAudioConfig `json:"outputAudioConfig,omitempty"` // QueryResult: The selected results of the conversational query or // event processing. See `alternative_query_results` for additional // potential results. QueryResult *GoogleCloudDialogflowV2beta1QueryResult `json:"queryResult,omitempty"` // ResponseId: 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"` // WebhookStatus: Specifies the status of the webhook request. WebhookStatus *GoogleRpcStatus `json:"webhookStatus,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "AlternativeQueryResults") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1DetectIntentResponse: The message returned from the DetectIntent method.
func (*GoogleCloudDialogflowV2beta1DetectIntentResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1DetectIntentResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1Document ¶
type GoogleCloudDialogflowV2beta1Document struct { // Content: The raw content of the document. This field is only // permitted for EXTRACTIVE_QA and FAQ knowledge types. Note: This field // is in the process of being deprecated, please use raw_content // instead. Content string `json:"content,omitempty"` // ContentUri: The URI where the file content is located. For documents // stored in Google Cloud Storage, these URIs must have the form // `gs:///`. NOTE: External URLs must correspond to public webpages, // i.e., they must be indexed by Google Search. In particular, URLs for // showing documents in Google Cloud Storage (i.e. the URL in your // browser) are not supported. Instead use the `gs://` format URI // described above. ContentUri string `json:"contentUri,omitempty"` // DisplayName: Required. The display name of the document. The name // must be 1024 bytes or less; otherwise, the creation request fails. DisplayName string `json:"displayName,omitempty"` // EnableAutoReload: Optional. If true, we try to automatically reload // the document every day (at a time picked by the system). If false or // unspecified, we don't try to automatically reload the document. // Currently you can only enable automatic reload for documents sourced // from a public url, see `source` field for the source types. Reload // status can be tracked in `latest_reload_status`. If a reload fails, // we will keep the document unchanged. If a reload fails with internal // errors, the system will try to reload the document on the next day. // If a reload fails with non-retriable errors (e.g. PERMISSION_DENIED), // the system will not try to reload the document anymore. You need to // manually reload the document successfully by calling `ReloadDocument` // and clear the errors. EnableAutoReload bool `json:"enableAutoReload,omitempty"` // KnowledgeTypes: Required. The knowledge type of document content. // // Possible values: // "KNOWLEDGE_TYPE_UNSPECIFIED" - The type is unspecified or // arbitrary. // "FAQ" - The document content contains question and answer pairs as // either HTML or CSV. Typical FAQ HTML formats are parsed accurately, // but unusual formats may fail to be parsed. CSV must have questions in // the first column and answers in the second, with no header. Because // of this explicit format, they are always parsed accurately. // "EXTRACTIVE_QA" - Documents for which unstructured text is // extracted and used for question answering. // "ARTICLE_SUGGESTION" - The entire document content as a whole can // be used for query results. Only for Contact Center Solutions on // Dialogflow. // "AGENT_FACING_SMART_REPLY" - The document contains agent-facing // Smart Reply entries. // "SMART_REPLY" - The legacy enum for agent-facing smart reply // feature. KnowledgeTypes []string `json:"knowledgeTypes,omitempty"` // LatestReloadStatus: Output only. The time and status of the latest // reload. This reload may have been triggered automatically or manually // and may not have succeeded. LatestReloadStatus *GoogleCloudDialogflowV2beta1DocumentReloadStatus `json:"latestReloadStatus,omitempty"` // Metadata: Optional. Metadata for the document. The metadata supports // arbitrary key-value pairs. Suggested use cases include storing a // document's title, an external URL distinct from the document's // content_uri, etc. The max size of a `key` or a `value` of the // metadata is 1024 bytes. Metadata map[string]string `json:"metadata,omitempty"` // MimeType: Required. The MIME type of this document. MimeType string `json:"mimeType,omitempty"` // Name: Optional. The document resource name. The name must be empty // when creating a document. Format: // `projects//locations//knowledgeBases//documents/`. Name string `json:"name,omitempty"` // RawContent: The raw content of the document. This field is only // permitted for EXTRACTIVE_QA and FAQ knowledge types. RawContent string `json:"rawContent,omitempty"` // State: Output only. The current state of the document. // // Possible values: // "STATE_UNSPECIFIED" - The document state is unspecified. // "CREATING" - The document creation is in progress. // "ACTIVE" - The document is active and ready to use. // "UPDATING" - The document updation is in progress. // "RELOADING" - The document is reloading. // "DELETING" - The document deletion is in progress. 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. "Content") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1Document: A knowledge document to be used by a KnowledgeBase. For more information, see the knowledge base guide (https://cloud.google.com/dialogflow/docs/how/knowledge-bases). Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.
func (*GoogleCloudDialogflowV2beta1Document) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1Document) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1DocumentReloadStatus ¶ added in v0.23.0
type GoogleCloudDialogflowV2beta1DocumentReloadStatus struct { // Status: Output only. The status of a reload attempt or the initial // load. Status *GoogleRpcStatus `json:"status,omitempty"` // Time: Output only. The time of a reload attempt. This reload may have // been triggered automatically or manually and may not have succeeded. Time string `json:"time,omitempty"` // ForceSendFields is a list of field names (e.g. "Status") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1DocumentReloadStatus: The status of a reload attempt.
func (*GoogleCloudDialogflowV2beta1DocumentReloadStatus) MarshalJSON ¶ added in v0.23.0
func (s *GoogleCloudDialogflowV2beta1DocumentReloadStatus) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1DtmfParameters ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1DtmfParameters struct { // AcceptsDtmfInput: Indicates whether DTMF input can be handled in the // next request. AcceptsDtmfInput bool `json:"acceptsDtmfInput,omitempty"` // ForceSendFields is a list of field names (e.g. "AcceptsDtmfInput") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AcceptsDtmfInput") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1DtmfParameters: The message in the response that indicates the parameters of DTMF.
func (*GoogleCloudDialogflowV2beta1DtmfParameters) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1DtmfParameters) 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"` // 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 GoogleCloudDialogflowV2beta1EntityTypeBatch ¶
type GoogleCloudDialogflowV2beta1EntityTypeBatch struct { // EntityTypes: A collection of 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1EntityTypeBatch: This message is a wrapper around a collection of entity types.
func (*GoogleCloudDialogflowV2beta1EntityTypeBatch) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1EntityTypeBatch) 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 GoogleCloudDialogflowV2beta1Environment ¶ added in v0.18.0
type GoogleCloudDialogflowV2beta1Environment struct { // AgentVersion: Optional. The agent version loaded into this // environment. Supported formats: - `projects//agent/versions/` - // `projects//locations//agent/versions/` AgentVersion string `json:"agentVersion,omitempty"` // Description: Optional. The developer-provided description for this // environment. The maximum length is 500 characters. If exceeded, the // request is rejected. Description string `json:"description,omitempty"` // Fulfillment: Optional. The fulfillment settings to use for this // environment. Fulfillment *GoogleCloudDialogflowV2beta1Fulfillment `json:"fulfillment,omitempty"` // Name: Output only. The unique identifier of this agent environment. // Supported formats: - `projects//agent/environments/` - // `projects//locations//agent/environments/` Name string `json:"name,omitempty"` // State: Output only. The state of this environment. This field is // read-only, i.e., it cannot be set by create and update methods. // // Possible values: // "STATE_UNSPECIFIED" - Not specified. This value is not used. // "STOPPED" - Stopped. // "LOADING" - Loading. // "RUNNING" - Running. State string `json:"state,omitempty"` // TextToSpeechSettings: Optional. Text to speech settings for this // environment. TextToSpeechSettings *GoogleCloudDialogflowV2beta1TextToSpeechSettings `json:"textToSpeechSettings,omitempty"` // UpdateTime: Output only. The last update time of this environment. // This field is read-only, i.e., it cannot be set by create and update // methods. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AgentVersion") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AgentVersion") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1Environment: 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. For more information, see the versions and environments guide (https://cloud.google.com/dialogflow/docs/agents-versions).
func (*GoogleCloudDialogflowV2beta1Environment) MarshalJSON ¶ added in v0.18.0
func (s *GoogleCloudDialogflowV2beta1Environment) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1EnvironmentHistory ¶ added in v0.18.0
type GoogleCloudDialogflowV2beta1EnvironmentHistory struct { // Entries: Output only. The list of agent environments. There will be a // maximum number of items returned based on the page_size field in the // request. Entries []*GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry `json:"entries,omitempty"` // NextPageToken: Output only. Token to retrieve the next page of // results, or empty if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // Parent: Output only. The name of the environment this history is for. // Supported formats: - `projects//agent/environments/` - // `projects//locations//agent/environments/` Parent string `json:"parent,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Entries") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Entries") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1EnvironmentHistory: The response message for Environments.GetEnvironmentHistory.
func (*GoogleCloudDialogflowV2beta1EnvironmentHistory) MarshalJSON ¶ added in v0.18.0
func (s *GoogleCloudDialogflowV2beta1EnvironmentHistory) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry ¶ added in v0.18.0
type GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry struct { // AgentVersion: The agent version loaded into this environment history // entry. AgentVersion string `json:"agentVersion,omitempty"` // CreateTime: The creation time of this environment history entry. CreateTime string `json:"createTime,omitempty"` // Description: The developer-provided description for this environment // history entry. Description string `json:"description,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentVersion") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AgentVersion") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry: Represents an environment history entry.
func (*GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry) MarshalJSON ¶ added in v0.18.0
func (s *GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry) 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. This field is ignored when used in the context of a // WebhookResponse.followup_event_input field, because the language was // already defined in the originating detect intent request. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 GoogleCloudDialogflowV2beta1ExportAgentRequest ¶
type GoogleCloudDialogflowV2beta1ExportAgentRequest 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. Dialogflow performs a write // operation for the Cloud Storage object on the caller's behalf, so // your request authentication must have write permissions for the // object. For more information, see Dialogflow access control // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). AgentUri string `json:"agentUri,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentUri") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1ExportAgentRequest: The request message for Agents.ExportAgent.
func (*GoogleCloudDialogflowV2beta1ExportAgentRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1ExportAgentRequest) 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 GoogleCloudDialogflowV2beta1ExportOperationMetadata ¶ added in v0.71.0
type GoogleCloudDialogflowV2beta1ExportOperationMetadata struct { // ExportedGcsDestination: Cloud Storage file path of the exported data. ExportedGcsDestination *GoogleCloudDialogflowV2beta1GcsDestination `json:"exportedGcsDestination,omitempty"` // ForceSendFields is a list of field names (e.g. // "ExportedGcsDestination") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExportedGcsDestination") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1ExportOperationMetadata: Metadata related to the Export Data Operations (e.g. ExportDocument).
func (*GoogleCloudDialogflowV2beta1ExportOperationMetadata) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2beta1ExportOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1FaqAnswer ¶ added in v0.42.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1FaqAnswer) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2beta1FaqAnswer) UnmarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1FaqAnswer) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2beta1Fulfillment ¶ added in v0.18.0
type GoogleCloudDialogflowV2beta1Fulfillment struct { // DisplayName: The human-readable name of the fulfillment, unique // within the agent. This field is not used for Fulfillment in an // Environment. DisplayName string `json:"displayName,omitempty"` // Enabled: Whether fulfillment is enabled. Enabled bool `json:"enabled,omitempty"` // Features: The field defines whether the fulfillment is enabled for // certain features. Features []*GoogleCloudDialogflowV2beta1FulfillmentFeature `json:"features,omitempty"` // GenericWebService: Configuration for a generic web service. GenericWebService *GoogleCloudDialogflowV2beta1FulfillmentGenericWebService `json:"genericWebService,omitempty"` // Name: Required. The unique identifier of the fulfillment. Supported // formats: - `projects//agent/fulfillment` - // `projects//locations//agent/fulfillment` This field is not used for // Fulfillment in an 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. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1Fulfillment: By default, your agent responds to a matched intent with a static response. As an alternative, you can provide a more dynamic response by using fulfillment. When you enable fulfillment for an intent, Dialogflow responds to that intent by calling a service that you define. For example, if an end-user wants to schedule a haircut on Friday, your service can check your database and respond to the end-user with availability information for Friday. For more information, see the fulfillment guide (https://cloud.google.com/dialogflow/docs/fulfillment-overview).
func (*GoogleCloudDialogflowV2beta1Fulfillment) MarshalJSON ¶ added in v0.18.0
func (s *GoogleCloudDialogflowV2beta1Fulfillment) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1FulfillmentFeature ¶ added in v0.18.0
type GoogleCloudDialogflowV2beta1FulfillmentFeature struct { // Type: The type of the feature that enabled for fulfillment. // // Possible values: // "TYPE_UNSPECIFIED" - Feature type not specified. // "SMALLTALK" - Fulfillment is enabled for SmallTalk. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Type") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Type") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1FulfillmentFeature: Whether fulfillment is enabled for the specific feature.
func (*GoogleCloudDialogflowV2beta1FulfillmentFeature) MarshalJSON ¶ added in v0.18.0
func (s *GoogleCloudDialogflowV2beta1FulfillmentFeature) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1FulfillmentGenericWebService ¶ added in v0.18.0
type GoogleCloudDialogflowV2beta1FulfillmentGenericWebService struct { // IsCloudFunction: Optional. Indicates if generic web service is // created through Cloud Functions integration. Defaults to false. // is_cloud_function is deprecated. Cloud functions can be configured by // its uri as a regular web service now. IsCloudFunction bool `json:"isCloudFunction,omitempty"` // Password: The password for HTTP Basic authentication. Password string `json:"password,omitempty"` // RequestHeaders: The HTTP request headers to send together with // fulfillment requests. RequestHeaders map[string]string `json:"requestHeaders,omitempty"` // Uri: Required. The fulfillment 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. "IsCloudFunction") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IsCloudFunction") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1FulfillmentGenericWebService: Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications: - Basic authentication with username and password. - Authentication with additional authentication headers. More information could be found at: https://cloud.google.com/dialogflow/docs/fulfillment-configure.
func (*GoogleCloudDialogflowV2beta1FulfillmentGenericWebService) MarshalJSON ¶ added in v0.18.0
func (s *GoogleCloudDialogflowV2beta1FulfillmentGenericWebService) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1GcsDestination ¶ added in v0.71.0
type GoogleCloudDialogflowV2beta1GcsDestination struct { // Uri: Required. The Google Cloud Storage URIs for the output. A URI is // of the form: gs://bucket/object-prefix-or-name Whether a prefix or // name is used depends on the use case. The requesting user must have // "write-permission" to the bucket. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1GcsDestination: Google Cloud Storage location for the output.
func (*GoogleCloudDialogflowV2beta1GcsDestination) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2beta1GcsDestination) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1GcsSource ¶ added in v0.11.0
type GoogleCloudDialogflowV2beta1GcsSource struct { // Uri: Required. The Google Cloud Storage URIs for the inputs. A URI is // of the form: gs://bucket/object-prefix-or-name Whether a prefix or // name is used depends on the use case. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1GcsSource: Google Cloud Storage location for single input.
func (*GoogleCloudDialogflowV2beta1GcsSource) MarshalJSON ¶ added in v0.11.0
func (s *GoogleCloudDialogflowV2beta1GcsSource) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1GcsSources ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1GcsSources struct { // Uris: Required. Google Cloud Storage URIs for the inputs. A URI is of // the form: gs://bucket/object-prefix-or-name Whether a prefix or name // is used depends on the use case. Uris []string `json:"uris,omitempty"` // ForceSendFields is a list of field names (e.g. "Uris") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Uris") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1GcsSources: Google Cloud Storage locations for the inputs.
func (*GoogleCloudDialogflowV2beta1GcsSources) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1GcsSources) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig struct { // EndUserSuggestionConfig: Configuration for agent assistance of end // user participant. Currently, this feature is not general available, // please contact Google to get access. EndUserSuggestionConfig *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig `json:"endUserSuggestionConfig,omitempty"` // HumanAgentSuggestionConfig: Configuration for agent assistance of // human agent participant. HumanAgentSuggestionConfig *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig `json:"humanAgentSuggestionConfig,omitempty"` // MessageAnalysisConfig: Configuration for message analysis. MessageAnalysisConfig *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig `json:"messageAnalysisConfig,omitempty"` // NotificationConfig: Pub/Sub topic on which to publish new agent // assistant events. NotificationConfig *GoogleCloudDialogflowV2beta1NotificationConfig `json:"notificationConfig,omitempty"` // ForceSendFields is a list of field names (e.g. // "EndUserSuggestionConfig") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndUserSuggestionConfig") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig: Defines the Human Agent Assistant to connect to a conversation.
func (*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig struct { // Model: Conversation model resource name. Format: // `projects//conversationModels/`. Model string `json:"model,omitempty"` // ForceSendFields is a list of field names (e.g. "Model") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Model") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModel Config: Custom conversation models used in agent assist feature. Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.
func (*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig ¶ added in v0.65.0
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig struct { // RecentSentencesCount: Number of recent non-small-talk sentences to // use as context for article and FAQ suggestion RecentSentencesCount int64 `json:"recentSentencesCount,omitempty"` // ForceSendFields is a list of field names (e.g. // "RecentSentencesCount") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RecentSentencesCount") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProce ssConfig: Config to process conversation.
func (*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig) MarshalJSON ¶ added in v0.65.0
func (s *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig struct { // EnableEntityExtraction: Enable entity extraction in conversation // messages on agent assist stage // (https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages). // If unspecified, defaults to false. Currently, this feature is not // general available, please contact Google to get access. EnableEntityExtraction bool `json:"enableEntityExtraction,omitempty"` // EnableSentimentAnalysis: Enable sentiment analysis in conversation // messages on agent assist stage // (https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages). // If unspecified, defaults to false. Sentiment analysis inspects user // input and identifies the prevailing subjective opinion, especially to // determine a user's attitude as positive, negative, or neutral: // https://cloud.google.com/natural-language/docs/basics#sentiment_analysis // For Participants.StreamingAnalyzeContent method, result will be in // StreamingAnalyzeContentResponse.message.SentimentAnalysisResult. For // Participants.AnalyzeContent method, result will be in // AnalyzeContentResponse.message.SentimentAnalysisResult For // Conversations.ListMessages method, result will be in // ListMessagesResponse.messages.SentimentAnalysisResult If Pub/Sub // notification is configured, result will be in // ConversationEvent.new_message_payload.SentimentAnalysisResult. EnableSentimentAnalysis bool `json:"enableSentimentAnalysis,omitempty"` // ForceSendFields is a list of field names (e.g. // "EnableEntityExtraction") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableEntityExtraction") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisCo nfig: Configuration for analyses to run on each conversation message.
func (*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigMessageAnalysisConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig struct { // FeatureConfigs: Configuration of different suggestion features. One // feature can have only one config. FeatureConfigs []*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig `json:"featureConfigs,omitempty"` // GroupSuggestionResponses: If `group_suggestion_responses` is false, // and there are multiple `feature_configs` in `event based suggestion` // or StreamingAnalyzeContent, we will try to deliver suggestions to // customers as soon as we get new suggestion. Different type of // suggestions based on the same context will be in separate Pub/Sub // event or `StreamingAnalyzeContentResponse`. If // `group_suggestion_responses` set to true. All the suggestions to the // same participant based on the same context will be grouped into a // single Pub/Sub event or StreamingAnalyzeContentResponse. GroupSuggestionResponses bool `json:"groupSuggestionResponses,omitempty"` // ForceSendFields is a list of field names (e.g. "FeatureConfigs") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FeatureConfigs") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig:
Detail human agent assistant config.
func (*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig struct { // ConversationModelConfig: Configs of custom conversation model. ConversationModelConfig *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig `json:"conversationModelConfig,omitempty"` // ConversationProcessConfig: Configs for processing conversation. ConversationProcessConfig *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig `json:"conversationProcessConfig,omitempty"` // EnableEventBasedSuggestion: Automatically iterates all participants // and tries to compile suggestions. Supported features: // ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST. EnableEventBasedSuggestion bool `json:"enableEventBasedSuggestion,omitempty"` // QueryConfig: Configs of query. QueryConfig *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig `json:"queryConfig,omitempty"` // SuggestionFeature: The suggestion feature. SuggestionFeature *GoogleCloudDialogflowV2beta1SuggestionFeature `json:"suggestionFeature,omitempty"` // SuggestionTriggerSettings: Settings of suggestion trigger. Currently, // only ARTICLE_SUGGESTION, FAQ, and DIALOGFLOW_ASSIST will use this // field. SuggestionTriggerSettings *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings `json:"suggestionTriggerSettings,omitempty"` // ForceSendFields is a list of field names (e.g. // "ConversationModelConfig") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConversationModelConfig") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeature Config: Config for suggestion features.
func (*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig struct { // ConfidenceThreshold: Confidence threshold of query result. Agent // Assist gives each suggestion a score in the range [0.0, 1.0], based // on the relevance between the suggestion and the current conversation // context. A score of 0.0 has no relevance, while a score of 1.0 has // high relevance. Only suggestions with a score greater than or equal // to the value of this field are included in the results. For a // baseline model (the default), the recommended value is in the range // [0.05, 0.1]. For a custom model, there is no recommended value. Tune // this value by starting from a very low value and slowly increasing // until you have desired results. If this field is not set, it is // default to 0.0, which means that all suggestions are returned. // Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, // SMART_COMPOSE. ConfidenceThreshold float64 `json:"confidenceThreshold,omitempty"` // ContextFilterSettings: Determines how recent conversation context is // filtered when generating suggestions. If unspecified, no messages // will be dropped. ContextFilterSettings *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings `json:"contextFilterSettings,omitempty"` // DialogflowQuerySource: Query from Dialogflow agent. It is used by // DIALOGFLOW_ASSIST. DialogflowQuerySource *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource `json:"dialogflowQuerySource,omitempty"` // DocumentQuerySource: Query from knowledge base document. It is used // by: SMART_REPLY, SMART_COMPOSE. DocumentQuerySource *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource `json:"documentQuerySource,omitempty"` // KnowledgeBaseQuerySource: Query from knowledgebase. It is used by: // ARTICLE_SUGGESTION, FAQ. KnowledgeBaseQuerySource *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource `json:"knowledgeBaseQuerySource,omitempty"` // MaxResults: Maximum number of results to return. Currently, if unset, // defaults to 10. And the max number is 20. MaxResults int64 `json:"maxResults,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfidenceThreshold") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConfidenceThreshold") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryCo nfig: Config for suggestion query.
func (*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig) UnmarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings struct { // DropHandoffMessages: If set to true, the last message from virtual // agent (hand off message) and the message before it (trigger message // of hand off) are dropped. DropHandoffMessages bool `json:"dropHandoffMessages,omitempty"` // DropIvrMessages: If set to true, all messages from ivr stage are // dropped. DropIvrMessages bool `json:"dropIvrMessages,omitempty"` // DropVirtualAgentMessages: If set to true, all messages from virtual // agent are dropped. DropVirtualAgentMessages bool `json:"dropVirtualAgentMessages,omitempty"` // ForceSendFields is a list of field names (e.g. "DropHandoffMessages") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DropHandoffMessages") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryCo nfigContextFilterSettings: Settings that determine how to filter recent conversation context when generating suggestions.
func (*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigContextFilterSettings) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource struct { // Agent: Required. The name of a dialogflow virtual agent used for end // user side intent detection and suggestion. Format: // `projects//locations//agent`. When multiple agents are allowed in the // same Dialogflow project. Agent string `json:"agent,omitempty"` // ForceSendFields is a list of field names (e.g. "Agent") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryCo nfigDialogflowQuerySource: Dialogflow source setting. Supported feature: DIALOGFLOW_ASSIST.
func (*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource struct { // Documents: Required. Knowledge documents to query from. Format: // `projects//locations//knowledgeBases//documents/`. Currently, only // one document is supported. Documents []string `json:"documents,omitempty"` // ForceSendFields is a list of field names (e.g. "Documents") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Documents") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryCo nfigDocumentQuerySource: Document source settings. Supported features: SMART_REPLY, SMART_COMPOSE.
func (*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource struct { // KnowledgeBases: Required. Knowledge bases to query. Format: // `projects//locations//knowledgeBases/`. Currently, only one knowledge // base is supported. KnowledgeBases []string `json:"knowledgeBases,omitempty"` // ForceSendFields is a list of field names (e.g. "KnowledgeBases") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "KnowledgeBases") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryCo nfigKnowledgeBaseQuerySource: Knowledge base source settings. Supported features: ARTICLE_SUGGESTION, FAQ.
func (*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigKnowledgeBaseQuerySource) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings struct { // NoSmallTalk: Do not trigger if last utterance is small talk. NoSmallTalk bool `json:"noSmallTalk,omitempty"` // OnlyEndUser: Only trigger suggestion if participant role of last // utterance is END_USER. OnlyEndUser bool `json:"onlyEndUser,omitempty"` // ForceSendFields is a list of field names (e.g. "NoSmallTalk") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NoSmallTalk") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTrigger Settings: Settings of suggestion trigger.
func (*GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionTriggerSettings) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent ¶ added in v0.42.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig struct { // LivePersonConfig: Uses LivePerson (https://www.liveperson.com). LivePersonConfig *GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig `json:"livePersonConfig,omitempty"` // SalesforceLiveAgentConfig: Uses Salesforce Live Agent. SalesforceLiveAgentConfig *GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig `json:"salesforceLiveAgentConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "LivePersonConfig") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LivePersonConfig") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig: Defines the hand off to a live agent, typically on which external agent service provider to connect to a conversation. Currently, this feature is not general available, please contact Google to get access.
func (*GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig struct { // AccountNumber: Required. Account number of the LivePerson account to // connect. This is the account number you input at the login page. AccountNumber string `json:"accountNumber,omitempty"` // ForceSendFields is a list of field names (e.g. "AccountNumber") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AccountNumber") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig: Configuration specific to LivePerson (https://www.liveperson.com).
func (*GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigLivePersonConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig struct { // ButtonId: Required. Live Agent chat button ID. ButtonId string `json:"buttonId,omitempty"` // DeploymentId: Required. Live Agent deployment ID. DeploymentId string `json:"deploymentId,omitempty"` // EndpointDomain: Required. Domain of the Live Agent endpoint for this // agent. You can find the endpoint URL in the `Live Agent settings` // page. For example if URL has the form // https://d.la4-c2-phx.salesforceliveagent.com/..., you should fill in // d.la4-c2-phx.salesforceliveagent.com. EndpointDomain string `json:"endpointDomain,omitempty"` // OrganizationId: Required. The organization ID of the Salesforce // account. OrganizationId string `json:"organizationId,omitempty"` // ForceSendFields is a list of field names (e.g. "ButtonId") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ButtonId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgent Config: Configuration specific to Salesforce Live Agent.
func (*GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigSalesforceLiveAgentConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ImportAgentRequest ¶
type GoogleCloudDialogflowV2beta1ImportAgentRequest struct { // AgentContent: Zip compressed raw byte content for agent. AgentContent string `json:"agentContent,omitempty"` // AgentUri: The URI to a Google Cloud Storage file containing the agent // to import. Note: The URI must start with "gs://". Dialogflow performs // a read operation for the Cloud Storage object on the caller's behalf, // so your request authentication must have read permissions for the // object. For more information, see Dialogflow access control // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1ImportAgentRequest: The request message for Agents.ImportAgent.
func (*GoogleCloudDialogflowV2beta1ImportAgentRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1ImportAgentRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ImportDocumentTemplate ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1ImportDocumentTemplate struct { // KnowledgeTypes: Required. The knowledge type of document content. // // Possible values: // "KNOWLEDGE_TYPE_UNSPECIFIED" - The type is unspecified or // arbitrary. // "FAQ" - The document content contains question and answer pairs as // either HTML or CSV. Typical FAQ HTML formats are parsed accurately, // but unusual formats may fail to be parsed. CSV must have questions in // the first column and answers in the second, with no header. Because // of this explicit format, they are always parsed accurately. // "EXTRACTIVE_QA" - Documents for which unstructured text is // extracted and used for question answering. // "ARTICLE_SUGGESTION" - The entire document content as a whole can // be used for query results. Only for Contact Center Solutions on // Dialogflow. // "AGENT_FACING_SMART_REPLY" - The document contains agent-facing // Smart Reply entries. // "SMART_REPLY" - The legacy enum for agent-facing smart reply // feature. KnowledgeTypes []string `json:"knowledgeTypes,omitempty"` // Metadata: Metadata for the document. The metadata supports arbitrary // key-value pairs. Suggested use cases include storing a document's // title, an external URL distinct from the document's content_uri, etc. // The max size of a `key` or a `value` of the metadata is 1024 bytes. Metadata map[string]string `json:"metadata,omitempty"` // MimeType: Required. The MIME type of the document. MimeType string `json:"mimeType,omitempty"` // ForceSendFields is a list of field names (e.g. "KnowledgeTypes") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "KnowledgeTypes") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1ImportDocumentTemplate: The template used for importing documents.
func (*GoogleCloudDialogflowV2beta1ImportDocumentTemplate) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1ImportDocumentTemplate) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ImportDocumentsRequest ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1ImportDocumentsRequest struct { // DocumentTemplate: Required. Document template used for importing all // the documents. DocumentTemplate *GoogleCloudDialogflowV2beta1ImportDocumentTemplate `json:"documentTemplate,omitempty"` // GcsSource: The Google Cloud Storage location for the documents. The // path can include a wildcard. These URIs may have the forms `gs:///`. // `gs:////*.`. GcsSource *GoogleCloudDialogflowV2beta1GcsSources `json:"gcsSource,omitempty"` // ImportGcsCustomMetadata: Whether to import custom metadata from // Google Cloud Storage. Only valid when the document source is Google // Cloud Storage URI. ImportGcsCustomMetadata bool `json:"importGcsCustomMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "DocumentTemplate") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DocumentTemplate") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1ImportDocumentsRequest: Request message for Documents.ImportDocuments.
func (*GoogleCloudDialogflowV2beta1ImportDocumentsRequest) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1ImportDocumentsRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ImportDocumentsResponse ¶ added in v0.33.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.33.0
func (s *GoogleCloudDialogflowV2beta1ImportDocumentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1InputAudioConfig ¶
type GoogleCloudDialogflowV2beta1InputAudioConfig 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"` // DisableNoSpeechRecognizedEvent: Only used in // Participants.AnalyzeContent and Participants.StreamingAnalyzeContent. // If `false` and recognition doesn't return any result, trigger // `NO_SPEECH_RECOGNIZED` event to Dialogflow agent. DisableNoSpeechRecognizedEvent bool `json:"disableNoSpeechRecognizedEvent,omitempty"` // EnableWordInfo: 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"` // LanguageCode: Required. The language of the supplied audio. // Dialogflow does not do translations. 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"` // Model: 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: 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: 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. This field is deprecated. Please use // speech_contexts () instead. If you specify both phrase_hints () and // speech_contexts (), Dialogflow will treat the phrase_hints () as a // single additional SpeechContext (). PhraseHints []string `json:"phraseHints,omitempty"` // SampleRateHertz: Required. 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: 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. Note: When // specified, InputAudioConfig.single_utterance takes precedence over // StreamingDetectIntentRequest.single_utterance. SingleUtterance bool `json:"singleUtterance,omitempty"` // SpeechContexts: Context information to assist speech recognition. See // the Cloud Speech documentation // (https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) // for more details. SpeechContexts []*GoogleCloudDialogflowV2beta1SpeechContext `json:"speechContexts,omitempty"` // ForceSendFields is a list of field names (e.g. "AudioEncoding") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1InputAudioConfig: Instructs the speech recognizer on how to process the audio content.
func (*GoogleCloudDialogflowV2beta1InputAudioConfig) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1InputAudioConfig) 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"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Action") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 GoogleCloudDialogflowV2beta1IntentBatch ¶
type GoogleCloudDialogflowV2beta1IntentBatch struct { // Intents: A collection of 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1IntentBatch: This message is a wrapper around a collection of intents.
func (*GoogleCloudDialogflowV2beta1IntentBatch) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1IntentBatch) 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.11.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.11.0
func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem ¶ added in v0.11.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.11.0
func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction ¶ added in v0.11.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.11.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.11.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.11.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.11.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.11.0
func (s *GoogleCloudDialogflowV2beta1IntentMessageMediaContent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject ¶ added in v0.11.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.11.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.8.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.8.0
func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia ¶ added in v0.8.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.8.0
func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard ¶ added in v0.8.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.8.0
func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard ¶ added in v0.8.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.8.0
func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction ¶ added in v0.8.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.8.0
func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial ¶ added in v0.8.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.8.0
func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri ¶ added in v0.8.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.8.0
func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation ¶ added in v0.8.0
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 ¶ added in v0.8.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.8.0
func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion ¶ added in v0.8.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.8.0
func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageRbmText ¶ added in v0.8.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.8.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.11.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.11.0
func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCard) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageTableCardCell ¶ added in v0.11.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.11.0
func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCardCell) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1IntentMessageTableCardRow ¶ added in v0.11.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.11.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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. Note: // Template mode has been deprecated. Example mode is the only supported // way to create new training phrases. If you have existing training // phrases in template mode, they will be removed during training and it // can cause a drop in agent performance. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 GoogleCloudDialogflowV2beta1KnowledgeBase ¶
type GoogleCloudDialogflowV2beta1KnowledgeBase struct { // DisplayName: Required. The display name of the knowledge base. The // name must be 1024 bytes or less; otherwise, the creation request // fails. DisplayName string `json:"displayName,omitempty"` // LanguageCode: Language which represents the KnowledgeBase. When the // KnowledgeBase is created/updated, this is populated for all non en-us // languages. If not populated, the default language en-us applies. LanguageCode string `json:"languageCode,omitempty"` // Name: The knowledge base resource name. The name must be empty when // creating a knowledge base. Format: // `projects//locations//knowledgeBases/`. 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. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1KnowledgeBase: A knowledge base represents a collection of knowledge documents that you provide to Dialogflow. Your knowledge documents contain information that may be useful during conversations with end-users. Some Dialogflow features use knowledge bases when looking for a response to an end-user input. For more information, see the knowledge base guide (https://cloud.google.com/dialogflow/docs/how/knowledge-bases). Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
func (*GoogleCloudDialogflowV2beta1KnowledgeBase) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1KnowledgeBase) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata ¶
type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata struct { // ExportOperationMetadata: Metadata for the Export Data Operation such // as the destination of export. ExportOperationMetadata *GoogleCloudDialogflowV2beta1ExportOperationMetadata `json:"exportOperationMetadata,omitempty"` // KnowledgeBase: The name of the knowledge base interacted with during // the operation. KnowledgeBase string `json:"knowledgeBase,omitempty"` // 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. // "ExportOperationMetadata") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExportOperationMetadata") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if 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 GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse struct { // AnswerRecords: The list of answer records. AnswerRecords []*GoogleCloudDialogflowV2beta1AnswerRecord `json:"answerRecords,omitempty"` // NextPageToken: A token to retrieve next page of results. Or empty if // there are no more results. Pass this value in the // ListAnswerRecordsRequest.page_token field in the subsequent call to // `ListAnswerRecords` method to retrieve the next page of results. 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. "AnswerRecords") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnswerRecords") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse: Response message for AnswerRecords.ListAnswerRecords.
func (*GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ListContextsResponse ¶
type GoogleCloudDialogflowV2beta1ListContextsResponse struct { // Contexts: The list of contexts. There will be a maximum number of // items returned based on the page_size field in the request. Contexts []*GoogleCloudDialogflowV2beta1Context `json:"contexts,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. "Contexts") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Contexts") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1ListContextsResponse: The response message for Contexts.ListContexts.
func (*GoogleCloudDialogflowV2beta1ListContextsResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1ListContextsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ListConversationProfilesResponse ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1ListConversationProfilesResponse struct { // ConversationProfiles: The list of project conversation profiles. // There is a maximum number of items returned based on the page_size // field in the request. ConversationProfiles []*GoogleCloudDialogflowV2beta1ConversationProfile `json:"conversationProfiles,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. // "ConversationProfiles") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConversationProfiles") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1ListConversationProfilesResponse: The response message for ConversationProfiles.ListConversationProfiles.
func (*GoogleCloudDialogflowV2beta1ListConversationProfilesResponse) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1ListConversationProfilesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ListConversationsResponse ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1ListConversationsResponse struct { // Conversations: The list of conversations. There will be a maximum // number of items returned based on the page_size field in the request. Conversations []*GoogleCloudDialogflowV2beta1Conversation `json:"conversations,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. "Conversations") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Conversations") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1ListConversationsResponse: The response message for Conversations.ListConversations.
func (*GoogleCloudDialogflowV2beta1ListConversationsResponse) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1ListConversationsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ListDocumentsResponse ¶
type GoogleCloudDialogflowV2beta1ListDocumentsResponse struct { // Documents: The list of documents. Documents []*GoogleCloudDialogflowV2beta1Document `json:"documents,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. "Documents") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Documents") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1ListDocumentsResponse: Response message for Documents.ListDocuments.
func (*GoogleCloudDialogflowV2beta1ListDocumentsResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1ListDocumentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ListEntityTypesResponse ¶
type GoogleCloudDialogflowV2beta1ListEntityTypesResponse struct { // EntityTypes: The list of agent entity types. There will be a maximum // number of items returned based on the page_size field in the request. EntityTypes []*GoogleCloudDialogflowV2beta1EntityType `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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1ListEntityTypesResponse: The response message for EntityTypes.ListEntityTypes.
func (*GoogleCloudDialogflowV2beta1ListEntityTypesResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1ListEntityTypesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ListEnvironmentsResponse ¶ added in v0.18.0
type GoogleCloudDialogflowV2beta1ListEnvironmentsResponse struct { // Environments: The list of agent environments. There will be a maximum // number of items returned based on the page_size field in the request. Environments []*GoogleCloudDialogflowV2beta1Environment `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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1ListEnvironmentsResponse: The response message for Environments.ListEnvironments.
func (*GoogleCloudDialogflowV2beta1ListEnvironmentsResponse) MarshalJSON ¶ added in v0.18.0
func (s *GoogleCloudDialogflowV2beta1ListEnvironmentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ListIntentsResponse ¶
type GoogleCloudDialogflowV2beta1ListIntentsResponse struct { // Intents: The list of agent intents. There will be a maximum number of // items returned based on the page_size field in the request. Intents []*GoogleCloudDialogflowV2beta1Intent `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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1ListIntentsResponse: The response message for Intents.ListIntents.
func (*GoogleCloudDialogflowV2beta1ListIntentsResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1ListIntentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse ¶
type GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse struct { // KnowledgeBases: The list of knowledge bases. KnowledgeBases []*GoogleCloudDialogflowV2beta1KnowledgeBase `json:"knowledgeBases,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. "KnowledgeBases") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "KnowledgeBases") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse: Response message for KnowledgeBases.ListKnowledgeBases.
func (*GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ListMessagesResponse ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1ListMessagesResponse struct { // Messages: Required. The list of messages. There will be a maximum // number of items returned based on the page_size field in the request. // `messages` is sorted by `create_time` in descending order. Messages []*GoogleCloudDialogflowV2beta1Message `json:"messages,omitempty"` // NextPageToken: Optional. 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. "Messages") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Messages") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1ListMessagesResponse: The response message for Conversations.ListMessages.
func (*GoogleCloudDialogflowV2beta1ListMessagesResponse) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1ListMessagesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ListParticipantsResponse ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1ListParticipantsResponse 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"` // Participants: The list of participants. There is a maximum number of // items returned based on the page_size field in the request. Participants []*GoogleCloudDialogflowV2beta1Participant `json:"participants,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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1ListParticipantsResponse: The response message for Participants.ListParticipants.
func (*GoogleCloudDialogflowV2beta1ListParticipantsResponse) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1ListParticipantsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse ¶
type GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse 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 []*GoogleCloudDialogflowV2beta1SessionEntityType `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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse: The response message for SessionEntityTypes.ListSessionEntityTypes.
func (*GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ListSuggestionsResponse ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1ListSuggestionsResponse struct { // NextPageToken: Optional. Token to retrieve the next page of results // or empty if there are no more results in the list. NextPageToken string `json:"nextPageToken,omitempty"` // Suggestions: Required. The list of suggestions. There will be a // maximum number of items returned based on the page_size field in the // request. `suggestions` is sorted by `create_time` in descending // order. Suggestions []*GoogleCloudDialogflowV2beta1Suggestion `json:"suggestions,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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1ListSuggestionsResponse: The response message for Participants.ListSuggestions.
func (*GoogleCloudDialogflowV2beta1ListSuggestionsResponse) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1ListSuggestionsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ListVersionsResponse ¶ added in v0.18.0
type GoogleCloudDialogflowV2beta1ListVersionsResponse 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: The list of agent versions. There will be a maximum number // of items returned based on the page_size field in the request. Versions []*GoogleCloudDialogflowV2beta1Version `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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1ListVersionsResponse: The response message for Versions.ListVersions.
func (*GoogleCloudDialogflowV2beta1ListVersionsResponse) MarshalJSON ¶ added in v0.18.0
func (s *GoogleCloudDialogflowV2beta1ListVersionsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1LoggingConfig ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1LoggingConfig struct { // EnableStackdriverLogging: Whether to log conversation events like // CONVERSATION_STARTED to Stackdriver in the conversation project as // JSON format ConversationEvent protos. EnableStackdriverLogging bool `json:"enableStackdriverLogging,omitempty"` // ForceSendFields is a list of field names (e.g. // "EnableStackdriverLogging") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableStackdriverLogging") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1LoggingConfig: Defines logging behavior for conversation lifecycle events.
func (*GoogleCloudDialogflowV2beta1LoggingConfig) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1LoggingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1Message ¶ added in v0.42.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1Message) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1MessageAnnotation ¶ added in v0.42.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1MessageAnnotation) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1NotificationConfig ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1NotificationConfig struct { // MessageFormat: Format of message. // // Possible values: // "MESSAGE_FORMAT_UNSPECIFIED" - If it is unspecified, PROTO will be // used. // "PROTO" - Pubsub message will be serialized proto. // "JSON" - Pubsub message will be json. MessageFormat string `json:"messageFormat,omitempty"` // Topic: Name of the Pub/Sub topic to publish conversation events like // CONVERSATION_STARTED as serialized ConversationEvent protos. For // telephony integration to receive notification, make sure either this // topic is in the same project as the conversation or you grant // `service-@gcp-sa-dialogflow.iam.gserviceaccount.com` the `Dialogflow // Service Agent` role in the topic project. For chat integration to // receive notification, make sure API caller has been granted the // `Dialogflow Service Agent` role for the topic. Format: // `projects//locations//topics/`. Topic string `json:"topic,omitempty"` // ForceSendFields is a list of field names (e.g. "MessageFormat") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MessageFormat") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1NotificationConfig: Defines notification behavior.
func (*GoogleCloudDialogflowV2beta1NotificationConfig) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1NotificationConfig) 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 GoogleCloudDialogflowV2beta1OutputAudio ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1OutputAudio struct { // Audio: Required. The natural language speech audio. Audio string `json:"audio,omitempty"` // Config: Required. Instructs the speech synthesizer how to generate // the speech audio. Config *GoogleCloudDialogflowV2beta1OutputAudioConfig `json:"config,omitempty"` // ForceSendFields is a list of field names (e.g. "Audio") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1OutputAudio: Represents the natural language speech audio to be played to the end user.
func (*GoogleCloudDialogflowV2beta1OutputAudio) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1OutputAudio) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1OutputAudioConfig ¶
type GoogleCloudDialogflowV2beta1OutputAudioConfig 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: 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: Configuration of how speech should be // synthesized. SynthesizeSpeechConfig *GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig `json:"synthesizeSpeechConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "AudioEncoding") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1OutputAudioConfig: Instructs the speech synthesizer how to generate the output audio content. If this audio config is supplied in a request, it overrides all existing text-to-speech settings applied to the agent.
func (*GoogleCloudDialogflowV2beta1OutputAudioConfig) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1OutputAudioConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1Participant ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1Participant struct { // DocumentsMetadataFilters: Optional. Key-value filters on the metadata // of documents returned by article suggestion. If specified, article // suggestion only returns suggested documents that match all filters in // their Document.metadata. Multiple values for a metadata key should be // concatenated by comma. For example, filters to match all documents // that have 'US' or 'CA' in their market metadata values and 'agent' in // their user metadata values will be “` documents_metadata_filters { // key: "market" value: "US,CA" } documents_metadata_filters { key: // "user" value: "agent" } “` DocumentsMetadataFilters map[string]string `json:"documentsMetadataFilters,omitempty"` // Name: Optional. The unique identifier of this participant. Format: // `projects//locations//conversations//participants/`. Name string `json:"name,omitempty"` // ObfuscatedExternalUserId: Optional. Obfuscated user id that should be // associated with the created participant. You can specify a user id as // follows: 1. If you set this field in CreateParticipantRequest or // UpdateParticipantRequest, Dialogflow adds the obfuscated user id with // the participant. 2. If you set this field in AnalyzeContent or // StreamingAnalyzeContent, Dialogflow will update // Participant.obfuscated_external_user_id. Dialogflow uses this user id // for following purposes: 1) Billing and measurement. If user with the // same obfuscated_external_user_id is created in a later conversation, // dialogflow will know it's the same user. 2) Agent assist suggestion // personalization. For example, Dialogflow can use it to provide // personalized smart reply suggestions for this user. Note: * Please // never pass raw user ids to Dialogflow. Always obfuscate your user id // first. * Dialogflow only accepts a UTF-8 encoded string, e.g., a hex // digest of a hash function like SHA-512. * The length of the user id // must be <= 256 characters. ObfuscatedExternalUserId string `json:"obfuscatedExternalUserId,omitempty"` // Role: Immutable. The role this participant plays in the conversation. // This field must be set during participant creation and is then // immutable. // // 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. Role string `json:"role,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "DocumentsMetadataFilters") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DocumentsMetadataFilters") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1Participant: Represents a conversation participant (human agent, virtual agent, end-user).
func (*GoogleCloudDialogflowV2beta1Participant) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1Participant) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1QueryInput ¶
type GoogleCloudDialogflowV2beta1QueryInput struct { // AudioConfig: Instructs the speech recognizer how to process the // speech audio. AudioConfig *GoogleCloudDialogflowV2beta1InputAudioConfig `json:"audioConfig,omitempty"` // Dtmf: The DTMF digits used to invoke intent and fill in parameter // value. Dtmf *GoogleCloudDialogflowV2beta1TelephonyDtmfEvents `json:"dtmf,omitempty"` // Event: The event to be processed. Event *GoogleCloudDialogflowV2beta1EventInput `json:"event,omitempty"` // Text: The natural language text to be processed. Text *GoogleCloudDialogflowV2beta1TextInput `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "AudioConfig") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AudioConfig") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1QueryInput: Represents the query input. It can contain either: 1. An audio config which instructs the speech recognizer how to process the speech audio. 2. A conversational query in the form of text. 3. An event that specifies which intent to trigger.
func (*GoogleCloudDialogflowV2beta1QueryInput) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1QueryInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1QueryParameters ¶
type GoogleCloudDialogflowV2beta1QueryParameters struct { // Contexts: The collection of contexts to be activated before this // query is executed. Contexts []*GoogleCloudDialogflowV2beta1Context `json:"contexts,omitempty"` // GeoLocation: The geo location of this conversational query. GeoLocation *GoogleTypeLatLng `json:"geoLocation,omitempty"` // KnowledgeBaseNames: KnowledgeBases to get alternative results from. // If not set, the KnowledgeBases enabled in the agent (through UI) will // be used. Format: `projects//knowledgeBases/`. KnowledgeBaseNames []string `json:"knowledgeBaseNames,omitempty"` // Payload: This field can be used to pass custom data to your webhook. // Arbitrary JSON objects are supported. If supplied, the value is used // to populate the // `WebhookRequest.original_detect_intent_request.payload` field sent to // your webhook. Payload googleapi.RawMessage `json:"payload,omitempty"` // ResetContexts: Specifies whether to delete all contexts in the // current session before the new ones are activated. ResetContexts bool `json:"resetContexts,omitempty"` // SentimentAnalysisRequestConfig: Configures the type of sentiment // analysis to perform. If not provided, sentiment analysis is not // performed. Note: Sentiment Analysis is only currently available for // Essentials Edition agents. SentimentAnalysisRequestConfig *GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig `json:"sentimentAnalysisRequestConfig,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 []*GoogleCloudDialogflowV2beta1SessionEntityType `json:"sessionEntityTypes,omitempty"` // SubAgents: For mega agent query, directly specify which sub agents to // query. If any specified sub agent is not linked to the mega agent, an // error will be returned. If empty, Dialogflow will decide which sub // agents to query. If specified for a non-mega-agent query, will be // silently ignored. SubAgents []*GoogleCloudDialogflowV2beta1SubAgent `json:"subAgents,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 agent settings 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. "Contexts") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Contexts") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1QueryParameters: Represents the parameters of the conversational query.
func (*GoogleCloudDialogflowV2beta1QueryParameters) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1QueryParameters) 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. For more information, see // the cancel slot filling documentation // (https://cloud.google.com/dialogflow/es/docs/intents-actions-parameters#cancel). 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 GoogleCloudDialogflowV2beta1ReloadDocumentRequest ¶
type GoogleCloudDialogflowV2beta1ReloadDocumentRequest struct { // GcsSource: The path for a Cloud Storage source file for reloading // document content. If not provided, the Document's existing source // will be reloaded. GcsSource *GoogleCloudDialogflowV2beta1GcsSource `json:"gcsSource,omitempty"` // ImportGcsCustomMetadata: Whether to import custom metadata from // Google Cloud Storage. Only valid when the document source is Google // Cloud Storage URI. ImportGcsCustomMetadata bool `json:"importGcsCustomMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "GcsSource") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GcsSource") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1ReloadDocumentRequest: Request message for Documents.ReloadDocument.
func (*GoogleCloudDialogflowV2beta1ReloadDocumentRequest) MarshalJSON ¶ added in v0.11.0
func (s *GoogleCloudDialogflowV2beta1ReloadDocumentRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ResponseMessage ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1ResponseMessage struct { // EndInteraction: A signal that indicates the interaction with the // Dialogflow agent has ended. EndInteraction *GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction `json:"endInteraction,omitempty"` // LiveAgentHandoff: Hands off conversation to a live agent. LiveAgentHandoff *GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"` // MixedAudio: An audio response message composed of both the // synthesized Dialogflow agent responses and the audios hosted in // places known to the client. MixedAudio *GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio `json:"mixedAudio,omitempty"` // Payload: Returns a response containing a custom, platform-specific // payload. Payload googleapi.RawMessage `json:"payload,omitempty"` // TelephonyTransferCall: A signal that the client should transfer the // phone call connected to this agent to a third-party endpoint. TelephonyTransferCall *GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall `json:"telephonyTransferCall,omitempty"` // Text: Returns a text response. Text *GoogleCloudDialogflowV2beta1ResponseMessageText `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "EndInteraction") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1ResponseMessage: Response messages from an automated agent.
func (*GoogleCloudDialogflowV2beta1ResponseMessage) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1ResponseMessage) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction struct { }
GoogleCloudDialogflowV2beta1ResponseMessageEndInteraction: Indicates that interaction with the Dialogflow agent has ended.
type GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff: Indicates that the conversation should be handed off to a human 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 CX 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 (*GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio ¶ added in v0.79.0
type GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio struct { // Segments: Segments this audio response is composed of. Segments []*GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment `json:"segments,omitempty"` // ForceSendFields is a list of field names (e.g. "Segments") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio: Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs.
func (*GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio) MarshalJSON ¶ added in v0.79.0
func (s *GoogleCloudDialogflowV2beta1ResponseMessageMixedAudio) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment ¶ added in v0.79.0
type GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment struct { // AllowPlaybackInterruption: 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. 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 or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment: Represents one segment of audio.
func (*GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment) MarshalJSON ¶ added in v0.79.0
func (s *GoogleCloudDialogflowV2beta1ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall ¶ added in v0.58.0
type GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall struct { // PhoneNumber: Transfer the call to a phone number in E.164 format // (https://en.wikipedia.org/wiki/E.164). PhoneNumber string `json:"phoneNumber,omitempty"` // SipUri: Transfer the call to a SIP endpoint. SipUri string `json:"sipUri,omitempty"` // ForceSendFields is a list of field names (e.g. "PhoneNumber") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall: Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.
func (*GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall) MarshalJSON ¶ added in v0.58.0
func (s *GoogleCloudDialogflowV2beta1ResponseMessageTelephonyTransferCall) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ResponseMessageText ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1ResponseMessageText struct { // Text: A collection of text 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1ResponseMessageText: The text response message.
func (*GoogleCloudDialogflowV2beta1ResponseMessageText) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1ResponseMessageText) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1RestoreAgentRequest ¶
type GoogleCloudDialogflowV2beta1RestoreAgentRequest struct { // AgentContent: Zip compressed raw byte content for agent. AgentContent string `json:"agentContent,omitempty"` // AgentUri: The URI to a Google Cloud Storage file containing the agent // to restore. Note: The URI must start with "gs://". Dialogflow // performs a read operation for the Cloud Storage object on the // caller's behalf, so your request authentication must have read // permissions for the object. For more information, see Dialogflow // access control // (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1RestoreAgentRequest: The request message for Agents.RestoreAgent.
func (*GoogleCloudDialogflowV2beta1RestoreAgentRequest) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1RestoreAgentRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SearchAgentsResponse ¶
type GoogleCloudDialogflowV2beta1SearchAgentsResponse 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 []*GoogleCloudDialogflowV2beta1Agent `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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1SearchAgentsResponse: The response message for Agents.SearchAgents.
func (*GoogleCloudDialogflowV2beta1SearchAgentsResponse) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1SearchAgentsResponse) MarshalJSON() ([]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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig ¶
type GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig struct { // AnalyzeQueryTextSentiment: Instructs the service to perform sentiment // analysis on `query_text`. If not provided, sentiment analysis is not // performed on `query_text`. AnalyzeQueryTextSentiment bool `json:"analyzeQueryTextSentiment,omitempty"` // ForceSendFields is a list of field names (e.g. // "AnalyzeQueryTextSentiment") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig: Configures the types of sentiment analysis to perform.
func (*GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig) MarshalJSON() ([]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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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"` // 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata ¶ added in v0.71.0
type GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata struct { // ConversationProfile: The resource name of the conversation profile. // Format: `projects//locations//conversationProfiles/` ConversationProfile string `json:"conversationProfile,omitempty"` // CreateTime: Timestamp whe the request was created. The time is // measured on server side. CreateTime string `json:"createTime,omitempty"` // ParticipantRole: Required. The participant role to add or update the // suggestion feature config. Only HUMAN_AGENT or END_USER can be used. // // 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"` // SuggestionFeatureType: Required. The type of the suggestion feature // to add or update. // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. // "FAQ" - Run FAQ model. // "SMART_REPLY" - Run smart reply model for chat. // "CONVERSATION_SUMMARIZATION" - Run conversation summarization model // for chat. SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversationProfile") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConversationProfile") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadat a: Metadata for a ConversationProfile.SetSuggestionFeatureConfig operation.
func (*GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest ¶ added in v0.71.0
type GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest struct { // ParticipantRole: Required. The participant role to add or update the // suggestion feature config. Only HUMAN_AGENT or END_USER can be used. // // 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"` // SuggestionFeatureConfig: Required. The suggestion feature config to // add or update. SuggestionFeatureConfig *GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig `json:"suggestionFeatureConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "ParticipantRole") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ParticipantRole") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest: The request message for ConversationProfiles.SetSuggestionFeature.
func (*GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest) MarshalJSON ¶ added in v0.71.0
func (s *GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SmartReplyAnswer ¶ added in v0.42.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1SmartReplyAnswer) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2beta1SmartReplyAnswer) UnmarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1SmartReplyAnswer) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2beta1SpeechContext ¶ added in v0.8.0
type GoogleCloudDialogflowV2beta1SpeechContext struct { // Boost: Optional. Boost for this context compared to other contexts: * // If the boost is positive, Dialogflow will increase the probability // that the phrases in this context are recognized over similar sounding // phrases. * If the boost is unspecified or non-positive, Dialogflow // will not apply any boost. Dialogflow recommends that you use boosts // in the range (0, 20] and that you find a value that fits your use // case with binary search. Boost float64 `json:"boost,omitempty"` // Phrases: Optional. A list of strings containing words and phrases // that the speech recognizer should recognize with higher likelihood. // This list can be used to: * improve accuracy for words and phrases // you expect the user to say, e.g. typical commands for your Dialogflow // agent * add additional words to the speech recognizer vocabulary * // ... See the Cloud Speech documentation // (https://cloud.google.com/speech-to-text/quotas) for usage limits. Phrases []string `json:"phrases,omitempty"` // ForceSendFields is a list of field names (e.g. "Boost") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Boost") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1SpeechContext: Hints for the speech recognizer to help with recognition in a specific conversation state.
func (*GoogleCloudDialogflowV2beta1SpeechContext) MarshalJSON ¶ added in v0.8.0
func (s *GoogleCloudDialogflowV2beta1SpeechContext) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2beta1SpeechContext) UnmarshalJSON ¶ added in v0.8.0
func (s *GoogleCloudDialogflowV2beta1SpeechContext) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2beta1SpeechToTextConfig ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1SpeechToTextConfig struct { // Model: Which Speech model to select. Select the model best suited to // your domain to get best results. If a model is not explicitly // specified, then a default model is used. 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"` // SpeechModelVariant: The speech model used in speech to text. // `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be // treated as `USE_ENHANCED`. It can be overridden in // AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If // enhanced model variant is specified and an enhanced version of the // specified model for the language does not exist, then it would emit // an error. // // 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. SpeechModelVariant string `json:"speechModelVariant,omitempty"` // ForceSendFields is a list of field names (e.g. "Model") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Model") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1SpeechToTextConfig: Configures speech transcription for ConversationProfile.
func (*GoogleCloudDialogflowV2beta1SpeechToTextConfig) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1SpeechToTextConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SubAgent ¶ added in v0.18.0
type GoogleCloudDialogflowV2beta1SubAgent struct { // Environment: Optional. The unique identifier (`environment name` in // dialogflow console) of this sub-agent environment. Assumes draft // environment if `environment` is not set. Environment string `json:"environment,omitempty"` // Project: Required. The project of this agent. Format: `projects/` or // `projects//locations/`. Project string `json:"project,omitempty"` // ForceSendFields is a list of field names (e.g. "Environment") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1SubAgent: Contains basic configuration for a sub-agent.
func (*GoogleCloudDialogflowV2beta1SubAgent) MarshalJSON ¶ added in v0.18.0
func (s *GoogleCloudDialogflowV2beta1SubAgent) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SuggestArticlesRequest ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1SuggestArticlesRequest struct { // AssistQueryParams: Optional. Parameters for a human assist query. AssistQueryParams *GoogleCloudDialogflowV2beta1AssistQueryParameters `json:"assistQueryParams,omitempty"` // ContextSize: Optional. Max number of messages prior to and including // latest_message to use as context when compiling the suggestion. By // default 20 and at most 50. ContextSize int64 `json:"contextSize,omitempty"` // LatestMessage: Optional. The name of the latest conversation message // to compile suggestion for. If empty, it will be the latest message of // the conversation. Format: // `projects//locations//conversations//messages/`. LatestMessage string `json:"latestMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "AssistQueryParams") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AssistQueryParams") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1SuggestArticlesRequest: The request message for Participants.SuggestArticles.
func (*GoogleCloudDialogflowV2beta1SuggestArticlesRequest) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1SuggestArticlesRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SuggestArticlesResponse ¶ added in v0.42.0
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"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ArticleAnswers") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1SuggestArticlesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest ¶ added in v0.96.0
type GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest struct { // ContextSize: Max number of messages prior to and including // [latest_message] to use as context when compiling the suggestion. By // default 500 and at most 1000. ContextSize int64 `json:"contextSize,omitempty"` // LatestMessage: The name of the latest conversation message used as // context for compiling suggestion. If empty, the latest message of the // conversation will be used. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest: The request message for Conversations.SuggestConversationSummary.
func (*GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest) MarshalJSON ¶ added in v0.96.0
func (s *GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse ¶ added in v0.96.0
type GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse struct { // ContextSize: Number of messages prior to and including // last_conversation_message used to compile the suggestion. It may be // smaller than the SuggestSummaryRequest.context_size field in the // request if there weren't that many messages in the conversation. ContextSize int64 `json:"contextSize,omitempty"` // LatestMessage: The name of the latest conversation message used as // context for compiling suggestion. Format: // `projects//locations//conversations//messages/`. LatestMessage string `json:"latestMessage,omitempty"` // Summary: Generated summary. Summary *GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary `json:"summary,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ContextSize") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse: The response message for Conversations.SuggestConversationSummary.
func (*GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse) MarshalJSON ¶ added in v0.96.0
func (s *GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary ¶ added in v0.96.0
type GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary struct { // AnswerRecord: The name of the answer record. Format: // "projects//answerRecords/" AnswerRecord string `json:"answerRecord,omitempty"` // Text: The summary content that is concatenated into one string. Text string `json:"text,omitempty"` // TextSections: The summary content that is divided into sections. The // key is the section's name and the value is the section's content. // There is no specific format for the key or value. TextSections map[string]string `json:"textSections,omitempty"` // ForceSendFields is a list of field names (e.g. "AnswerRecord") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary:
Generated summary for a conversation.
func (*GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary) MarshalJSON ¶ added in v0.96.0
func (s *GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponseSummary) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest struct { // AssistQueryParams: Optional. Parameters for a human assist query. AssistQueryParams *GoogleCloudDialogflowV2beta1AssistQueryParameters `json:"assistQueryParams,omitempty"` // ContextSize: Optional. Max number of messages prior to and including // [latest_message] to use as context when compiling the suggestion. By // default 20 and at most 50. ContextSize int64 `json:"contextSize,omitempty"` // LatestMessage: Optional. The name of the latest conversation message // to compile suggestion for. If empty, it will be the latest message of // the conversation. Format: // `projects//locations//conversations//messages/`. LatestMessage string `json:"latestMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "AssistQueryParams") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AssistQueryParams") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest: The request message for Participants.SuggestFaqAnswers.
func (*GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse ¶ added in v0.42.0
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"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ContextSize") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest struct { // ContextSize: Optional. Max number of messages prior to and including // [latest_message] to use as context when compiling the suggestion. By // default 20 and at most 50. ContextSize int64 `json:"contextSize,omitempty"` // CurrentTextInput: The current natural language text segment to // compile suggestion for. This provides a way for user to get follow up // smart reply suggestion after a smart reply selection, without sending // a text message. CurrentTextInput *GoogleCloudDialogflowV2beta1TextInput `json:"currentTextInput,omitempty"` // LatestMessage: The name of the latest conversation message to compile // suggestion for. If empty, it will be the latest message of the // conversation. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest: The request message for Participants.SuggestSmartReplies.
func (*GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse ¶ added in v0.42.0
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"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ContextSize") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1Suggestion ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1Suggestion struct { // Articles: Output only. Articles ordered by score in descending order. Articles []*GoogleCloudDialogflowV2beta1SuggestionArticle `json:"articles,omitempty"` // CreateTime: Output only. The time the suggestion was created. CreateTime string `json:"createTime,omitempty"` // FaqAnswers: Output only. Answers extracted from FAQ documents. FaqAnswers []*GoogleCloudDialogflowV2beta1SuggestionFaqAnswer `json:"faqAnswers,omitempty"` // LatestMessage: Output only. Latest message used as context to compile // this suggestion. Format: // `projects//locations//conversations//messages/`. LatestMessage string `json:"latestMessage,omitempty"` // Name: Output only. The name of this suggestion. Format: // `projects//locations//conversations//participants/*/suggestions/`. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Articles") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Articles") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1Suggestion: Represents a suggestion for a human agent.
func (*GoogleCloudDialogflowV2beta1Suggestion) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1Suggestion) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SuggestionArticle ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1SuggestionArticle struct { // AnswerRecord: Output only. The name of answer record, in the format // of "projects//locations//answerRecords/" AnswerRecord string `json:"answerRecord,omitempty"` // Metadata: Output only. 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: Output only. The article title. Title string `json:"title,omitempty"` // Uri: Output only. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1SuggestionArticle: Represents suggested article.
func (*GoogleCloudDialogflowV2beta1SuggestionArticle) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1SuggestionArticle) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SuggestionFaqAnswer ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1SuggestionFaqAnswer struct { // Answer: Output only. The piece of text from the `source` knowledge // base document. Answer string `json:"answer,omitempty"` // AnswerRecord: Output only. 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: Output only. A map that contains metadata about the answer // and the document from which it originates. Metadata map[string]string `json:"metadata,omitempty"` // Question: Output only. The corresponding FAQ question. Question string `json:"question,omitempty"` // Source: Output only. 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1SuggestionFaqAnswer: Represents suggested answer from "frequently asked questions".
func (*GoogleCloudDialogflowV2beta1SuggestionFaqAnswer) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1SuggestionFaqAnswer) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2beta1SuggestionFaqAnswer) UnmarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1SuggestionFaqAnswer) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2beta1SuggestionFeature ¶ added in v0.42.0
type GoogleCloudDialogflowV2beta1SuggestionFeature struct { // Type: Type of Human Agent Assistant API feature to request. // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified feature type. // "ARTICLE_SUGGESTION" - Run article suggestion model for chat. // "FAQ" - Run FAQ model. // "SMART_REPLY" - Run smart reply model for chat. // "CONVERSATION_SUMMARIZATION" - Run conversation summarization model // for chat. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Type") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Type") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1SuggestionFeature: The type of Human Agent Assistant API suggestion to perform, and the maximum number of results to return for that type. Multiple `Feature` objects can be specified in the `features` list.
func (*GoogleCloudDialogflowV2beta1SuggestionFeature) MarshalJSON ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1SuggestionFeature) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SuggestionResult ¶ added in v0.42.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.42.0
func (s *GoogleCloudDialogflowV2beta1SuggestionResult) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig ¶
type GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig 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 *GoogleCloudDialogflowV2beta1VoiceSelectionParams `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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig: Configuration of how speech should be synthesized.
func (*GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig) MarshalJSON() ([]byte, error)
func (*GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig) UnmarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig) UnmarshalJSON(data []byte) error
type GoogleCloudDialogflowV2beta1TelephonyDtmfEvents ¶ added in v0.43.0
type GoogleCloudDialogflowV2beta1TelephonyDtmfEvents struct { // DtmfEvents: A sequence of TelephonyDtmf digits. // // Possible values: // "TELEPHONY_DTMF_UNSPECIFIED" - Not specified. This value may be // used to indicate an absent digit. // "DTMF_ONE" - Number: '1'. // "DTMF_TWO" - Number: '2'. // "DTMF_THREE" - Number: '3'. // "DTMF_FOUR" - Number: '4'. // "DTMF_FIVE" - Number: '5'. // "DTMF_SIX" - Number: '6'. // "DTMF_SEVEN" - Number: '7'. // "DTMF_EIGHT" - Number: '8'. // "DTMF_NINE" - Number: '9'. // "DTMF_ZERO" - Number: '0'. // "DTMF_A" - Letter: 'A'. // "DTMF_B" - Letter: 'B'. // "DTMF_C" - Letter: 'C'. // "DTMF_D" - Letter: 'D'. // "DTMF_STAR" - Asterisk/star: '*'. // "DTMF_POUND" - Pound/diamond/hash/square/gate/octothorpe: '#'. DtmfEvents []string `json:"dtmfEvents,omitempty"` // ForceSendFields is a list of field names (e.g. "DtmfEvents") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DtmfEvents") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1TelephonyDtmfEvents: A wrapper of repeated TelephonyDtmf digits.
func (*GoogleCloudDialogflowV2beta1TelephonyDtmfEvents) MarshalJSON ¶ added in v0.43.0
func (s *GoogleCloudDialogflowV2beta1TelephonyDtmfEvents) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1TextInput ¶
type GoogleCloudDialogflowV2beta1TextInput struct { // LanguageCode: Required. The language of this conversational 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"` // Text: Required. The UTF-8 encoded natural language text to be // processed. Text length must not exceed 256 characters for virtual // agent interactions. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "LanguageCode") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1TextInput: Represents the natural language text to be processed.
func (*GoogleCloudDialogflowV2beta1TextInput) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1TextInput) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1TextToSpeechSettings ¶ added in v0.46.0
type GoogleCloudDialogflowV2beta1TextToSpeechSettings struct { // EnableTextToSpeech: Optional. Indicates whether text to speech is // enabled. Even when this field is false, other settings in this proto // are still retained. EnableTextToSpeech bool `json:"enableTextToSpeech,omitempty"` // OutputAudioEncoding: 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. OutputAudioEncoding string `json:"outputAudioEncoding,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"` // SynthesizeSpeechConfigs: Optional. Configuration of how speech should // be synthesized, mapping from language // (https://cloud.google.com/dialogflow/docs/reference/language) to // SynthesizeSpeechConfig. SynthesizeSpeechConfigs map[string]GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig `json:"synthesizeSpeechConfigs,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableTextToSpeech") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableTextToSpeech") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1TextToSpeechSettings: Instructs the speech synthesizer on how to generate the output audio content.
func (*GoogleCloudDialogflowV2beta1TextToSpeechSettings) MarshalJSON ¶ added in v0.46.0
func (s *GoogleCloudDialogflowV2beta1TextToSpeechSettings) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1TrainAgentRequest ¶
type GoogleCloudDialogflowV2beta1TrainAgentRequest struct { }
GoogleCloudDialogflowV2beta1TrainAgentRequest: The request message for Agents.TrainAgent.
type GoogleCloudDialogflowV2beta1ValidationError ¶ added in v0.11.0
type GoogleCloudDialogflowV2beta1ValidationError struct { // Entries: The names of the entries that the error is associated with. // Format: - "projects//agent", if the error is associated with the // entire agent. - "projects//agent/intents/", if the error is // associated with certain intents. - // "projects//agent/intents//trainingPhrases/", if the error is // associated with certain intent training phrases. - // "projects//agent/intents//parameters/", if the error is associated // with certain intent parameters. - "projects//agent/entities/", if the // error is associated with certain entities. Entries []string `json:"entries,omitempty"` // ErrorMessage: The detailed error message. ErrorMessage string `json:"errorMessage,omitempty"` // Severity: The severity of the error. // // Possible values: // "SEVERITY_UNSPECIFIED" - Not specified. This value should never be // used. // "INFO" - The agent doesn't follow Dialogflow best practices. // "WARNING" - The agent may not behave as expected. // "ERROR" - The agent may experience partial failures. // "CRITICAL" - The agent may completely fail. Severity string `json:"severity,omitempty"` // ForceSendFields is a list of field names (e.g. "Entries") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Entries") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1ValidationError: Represents a single validation error.
func (*GoogleCloudDialogflowV2beta1ValidationError) MarshalJSON ¶ added in v0.11.0
func (s *GoogleCloudDialogflowV2beta1ValidationError) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1ValidationResult ¶ added in v0.11.0
type GoogleCloudDialogflowV2beta1ValidationResult struct { // ValidationErrors: Contains all validation errors. ValidationErrors []*GoogleCloudDialogflowV2beta1ValidationError `json:"validationErrors,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ValidationErrors") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ValidationErrors") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
GoogleCloudDialogflowV2beta1ValidationResult: Represents the output of agent validation.
func (*GoogleCloudDialogflowV2beta1ValidationResult) MarshalJSON ¶ added in v0.11.0
func (s *GoogleCloudDialogflowV2beta1ValidationResult) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1Version ¶ added in v0.18.0
type GoogleCloudDialogflowV2beta1Version struct { // CreateTime: Output only. The creation time of this version. This // field is read-only, i.e., it cannot be set by create and update // methods. CreateTime string `json:"createTime,omitempty"` // Description: Optional. The developer-provided description of this // version. Description string `json:"description,omitempty"` // Name: Output only. The unique identifier of this agent version. // Supported formats: - `projects//agent/versions/` - // `projects//locations//agent/versions/` Name string `json:"name,omitempty"` // Status: Output only. The status of this version. This field is // read-only and cannot be set by create and update methods. // // Possible values: // "VERSION_STATUS_UNSPECIFIED" - Not specified. This value is not // used. // "IN_PROGRESS" - Version is not ready to serve (e.g. training is in // progress). // "READY" - Version is ready to serve. // "FAILED" - Version training failed. Status string `json:"status,omitempty"` // VersionNumber: Output only. The sequential number of this version. // This field is read-only which means it cannot be set by create and // update methods. VersionNumber int64 `json:"versionNumber,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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1Version: 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. For more information, see the versions and environments guide (https://cloud.google.com/dialogflow/docs/agents-versions).
func (*GoogleCloudDialogflowV2beta1Version) MarshalJSON ¶ added in v0.18.0
func (s *GoogleCloudDialogflowV2beta1Version) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV2beta1VoiceSelectionParams ¶
type GoogleCloudDialogflowV2beta1VoiceSelectionParams 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudDialogflowV2beta1VoiceSelectionParams: Description of which voice to use for speech synthesis.
func (*GoogleCloudDialogflowV2beta1VoiceSelectionParams) MarshalJSON ¶
func (s *GoogleCloudDialogflowV2beta1VoiceSelectionParams) 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 or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV3alpha1ImportDocumentsResponse ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowV3alpha1ImportDocumentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata ¶ added in v0.37.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.37.0
func (s *GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudLocationListLocationsResponse ¶ added in v0.53.0
type GoogleCloudLocationListLocationsResponse struct { // Locations: A list of locations that matches the specified filter in // the request. Locations []*GoogleCloudLocationLocation `json:"locations,omitempty"` // NextPageToken: The standard List next-page token. 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. "Locations") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Locations") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GoogleCloudLocationListLocationsResponse: The response message for Locations.ListLocations.
func (*GoogleCloudLocationListLocationsResponse) MarshalJSON ¶ added in v0.53.0
func (s *GoogleCloudLocationListLocationsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudLocationLocation ¶ added in v0.53.0
type GoogleCloudLocationLocation struct { // DisplayName: The friendly name for this location, typically a nearby // city name. For example, "Tokyo". DisplayName string `json:"displayName,omitempty"` // Labels: Cross-service attributes for the location. For example // {"cloud.googleapis.com/region": "us-east1"} Labels map[string]string `json:"labels,omitempty"` // LocationId: The canonical id for this location. For example: // "us-east1". LocationId string `json:"locationId,omitempty"` // Metadata: Service-specific metadata. For example the available // capacity at the given location. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: Resource name for the location, which may vary between // implementations. For example: // "projects/example-project/locations/us-east1" 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. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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:"-"` }
GoogleCloudLocationLocation: A resource that represents Google Cloud Platform location.
func (*GoogleCloudLocationLocation) MarshalJSON ¶ added in v0.53.0
func (s *GoogleCloudLocationLocation) MarshalJSON() ([]byte, error)
type GoogleLongrunningListOperationsResponse ¶ added in v0.8.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ¶ added in v0.8.0
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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); }
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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or 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 ProjectsAgentEntityTypesBatchDeleteCall ¶
type ProjectsAgentEntityTypesBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEntityTypesBatchDeleteCall) Context ¶
func (c *ProjectsAgentEntityTypesBatchDeleteCall) Context(ctx context.Context) *ProjectsAgentEntityTypesBatchDeleteCall
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 (*ProjectsAgentEntityTypesBatchDeleteCall) Do ¶
func (c *ProjectsAgentEntityTypesBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.agent.entityTypes.batchDelete" 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 (*ProjectsAgentEntityTypesBatchDeleteCall) Fields ¶
func (c *ProjectsAgentEntityTypesBatchDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentEntityTypesBatchDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEntityTypesBatchDeleteCall) Header ¶
func (c *ProjectsAgentEntityTypesBatchDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentEntityTypesBatchUpdateCall ¶
type ProjectsAgentEntityTypesBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEntityTypesBatchUpdateCall) Context ¶
func (c *ProjectsAgentEntityTypesBatchUpdateCall) Context(ctx context.Context) *ProjectsAgentEntityTypesBatchUpdateCall
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 (*ProjectsAgentEntityTypesBatchUpdateCall) Do ¶
func (c *ProjectsAgentEntityTypesBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.agent.entityTypes.batchUpdate" 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 (*ProjectsAgentEntityTypesBatchUpdateCall) Fields ¶
func (c *ProjectsAgentEntityTypesBatchUpdateCall) Fields(s ...googleapi.Field) *ProjectsAgentEntityTypesBatchUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEntityTypesBatchUpdateCall) Header ¶
func (c *ProjectsAgentEntityTypesBatchUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentEntityTypesCreateCall ¶
type ProjectsAgentEntityTypesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEntityTypesCreateCall) Context ¶
func (c *ProjectsAgentEntityTypesCreateCall) Context(ctx context.Context) *ProjectsAgentEntityTypesCreateCall
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 (*ProjectsAgentEntityTypesCreateCall) Do ¶
func (c *ProjectsAgentEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1EntityType, error)
Do executes the "dialogflow.projects.agent.entityTypes.create" call. Exactly one of *GoogleCloudDialogflowV2beta1EntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1EntityType.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 (*ProjectsAgentEntityTypesCreateCall) Fields ¶
func (c *ProjectsAgentEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentEntityTypesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEntityTypesCreateCall) Header ¶
func (c *ProjectsAgentEntityTypesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentEntityTypesCreateCall) LanguageCode ¶
func (c *ProjectsAgentEntityTypesCreateCall) LanguageCode(languageCode string) *ProjectsAgentEntityTypesCreateCall
LanguageCode sets the optional parameter "languageCode": The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
type ProjectsAgentEntityTypesDeleteCall ¶
type ProjectsAgentEntityTypesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEntityTypesDeleteCall) Context ¶
func (c *ProjectsAgentEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsAgentEntityTypesDeleteCall
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 (*ProjectsAgentEntityTypesDeleteCall) Do ¶
func (c *ProjectsAgentEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.agent.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 (*ProjectsAgentEntityTypesDeleteCall) Fields ¶
func (c *ProjectsAgentEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentEntityTypesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEntityTypesDeleteCall) Header ¶
func (c *ProjectsAgentEntityTypesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentEntityTypesEntitiesBatchCreateCall ¶
type ProjectsAgentEntityTypesEntitiesBatchCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEntityTypesEntitiesBatchCreateCall) Context ¶
func (c *ProjectsAgentEntityTypesEntitiesBatchCreateCall) Context(ctx context.Context) *ProjectsAgentEntityTypesEntitiesBatchCreateCall
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 (*ProjectsAgentEntityTypesEntitiesBatchCreateCall) Do ¶
func (c *ProjectsAgentEntityTypesEntitiesBatchCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.agent.entityTypes.entities.batchCreate" 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 (*ProjectsAgentEntityTypesEntitiesBatchCreateCall) Fields ¶
func (c *ProjectsAgentEntityTypesEntitiesBatchCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentEntityTypesEntitiesBatchCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEntityTypesEntitiesBatchCreateCall) Header ¶
func (c *ProjectsAgentEntityTypesEntitiesBatchCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentEntityTypesEntitiesBatchDeleteCall ¶
type ProjectsAgentEntityTypesEntitiesBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEntityTypesEntitiesBatchDeleteCall) Context ¶
func (c *ProjectsAgentEntityTypesEntitiesBatchDeleteCall) Context(ctx context.Context) *ProjectsAgentEntityTypesEntitiesBatchDeleteCall
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 (*ProjectsAgentEntityTypesEntitiesBatchDeleteCall) Do ¶
func (c *ProjectsAgentEntityTypesEntitiesBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.agent.entityTypes.entities.batchDelete" 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 (*ProjectsAgentEntityTypesEntitiesBatchDeleteCall) Fields ¶
func (c *ProjectsAgentEntityTypesEntitiesBatchDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentEntityTypesEntitiesBatchDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEntityTypesEntitiesBatchDeleteCall) Header ¶
func (c *ProjectsAgentEntityTypesEntitiesBatchDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentEntityTypesEntitiesBatchUpdateCall ¶
type ProjectsAgentEntityTypesEntitiesBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEntityTypesEntitiesBatchUpdateCall) Context ¶
func (c *ProjectsAgentEntityTypesEntitiesBatchUpdateCall) Context(ctx context.Context) *ProjectsAgentEntityTypesEntitiesBatchUpdateCall
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 (*ProjectsAgentEntityTypesEntitiesBatchUpdateCall) Do ¶
func (c *ProjectsAgentEntityTypesEntitiesBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.agent.entityTypes.entities.batchUpdate" 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 (*ProjectsAgentEntityTypesEntitiesBatchUpdateCall) Fields ¶
func (c *ProjectsAgentEntityTypesEntitiesBatchUpdateCall) Fields(s ...googleapi.Field) *ProjectsAgentEntityTypesEntitiesBatchUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEntityTypesEntitiesBatchUpdateCall) Header ¶
func (c *ProjectsAgentEntityTypesEntitiesBatchUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentEntityTypesEntitiesService ¶
type ProjectsAgentEntityTypesEntitiesService struct {
// contains filtered or unexported fields
}
func NewProjectsAgentEntityTypesEntitiesService ¶
func NewProjectsAgentEntityTypesEntitiesService(s *Service) *ProjectsAgentEntityTypesEntitiesService
func (*ProjectsAgentEntityTypesEntitiesService) BatchCreate ¶
func (r *ProjectsAgentEntityTypesEntitiesService) BatchCreate(parent string, googleclouddialogflowv2beta1batchcreateentitiesrequest *GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest) *ProjectsAgentEntityTypesEntitiesBatchCreateCall
BatchCreate: Creates multiple new entities in the specified entity type. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An Empty message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The name of the entity type to create entities in. Supported formats: - `projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/`.
func (*ProjectsAgentEntityTypesEntitiesService) BatchDelete ¶
func (r *ProjectsAgentEntityTypesEntitiesService) BatchDelete(parent string, googleclouddialogflowv2beta1batchdeleteentitiesrequest *GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest) *ProjectsAgentEntityTypesEntitiesBatchDeleteCall
BatchDelete: Deletes entities in the specified entity type. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An Empty message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The name of the entity type to delete entries for. Supported formats: - `projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/`.
func (*ProjectsAgentEntityTypesEntitiesService) BatchUpdate ¶
func (r *ProjectsAgentEntityTypesEntitiesService) BatchUpdate(parent string, googleclouddialogflowv2beta1batchupdateentitiesrequest *GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest) *ProjectsAgentEntityTypesEntitiesBatchUpdateCall
BatchUpdate: Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request. Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training). This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An Empty message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
- parent: The name of the entity type to update or create entities in. Supported formats: - `projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/`.
type ProjectsAgentEntityTypesGetCall ¶
type ProjectsAgentEntityTypesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEntityTypesGetCall) Context ¶
func (c *ProjectsAgentEntityTypesGetCall) Context(ctx context.Context) *ProjectsAgentEntityTypesGetCall
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 (*ProjectsAgentEntityTypesGetCall) Do ¶
func (c *ProjectsAgentEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1EntityType, error)
Do executes the "dialogflow.projects.agent.entityTypes.get" call. Exactly one of *GoogleCloudDialogflowV2beta1EntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1EntityType.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 (*ProjectsAgentEntityTypesGetCall) Fields ¶
func (c *ProjectsAgentEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsAgentEntityTypesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEntityTypesGetCall) Header ¶
func (c *ProjectsAgentEntityTypesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentEntityTypesGetCall) IfNoneMatch ¶
func (c *ProjectsAgentEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsAgentEntityTypesGetCall
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 (*ProjectsAgentEntityTypesGetCall) LanguageCode ¶
func (c *ProjectsAgentEntityTypesGetCall) LanguageCode(languageCode string) *ProjectsAgentEntityTypesGetCall
LanguageCode sets the optional parameter "languageCode": The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
type ProjectsAgentEntityTypesListCall ¶
type ProjectsAgentEntityTypesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEntityTypesListCall) Context ¶
func (c *ProjectsAgentEntityTypesListCall) Context(ctx context.Context) *ProjectsAgentEntityTypesListCall
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 (*ProjectsAgentEntityTypesListCall) Do ¶
func (c *ProjectsAgentEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListEntityTypesResponse, error)
Do executes the "dialogflow.projects.agent.entityTypes.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListEntityTypesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListEntityTypesResponse.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 (*ProjectsAgentEntityTypesListCall) Fields ¶
func (c *ProjectsAgentEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsAgentEntityTypesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEntityTypesListCall) Header ¶
func (c *ProjectsAgentEntityTypesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentEntityTypesListCall) IfNoneMatch ¶
func (c *ProjectsAgentEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsAgentEntityTypesListCall
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 (*ProjectsAgentEntityTypesListCall) LanguageCode ¶
func (c *ProjectsAgentEntityTypesListCall) LanguageCode(languageCode string) *ProjectsAgentEntityTypesListCall
LanguageCode sets the optional parameter "languageCode": The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
func (*ProjectsAgentEntityTypesListCall) PageSize ¶
func (c *ProjectsAgentEntityTypesListCall) PageSize(pageSize int64) *ProjectsAgentEntityTypesListCall
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 (*ProjectsAgentEntityTypesListCall) PageToken ¶
func (c *ProjectsAgentEntityTypesListCall) PageToken(pageToken string) *ProjectsAgentEntityTypesListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsAgentEntityTypesListCall) Pages ¶
func (c *ProjectsAgentEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListEntityTypesResponse) 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 ProjectsAgentEntityTypesPatchCall ¶
type ProjectsAgentEntityTypesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEntityTypesPatchCall) Context ¶
func (c *ProjectsAgentEntityTypesPatchCall) Context(ctx context.Context) *ProjectsAgentEntityTypesPatchCall
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 (*ProjectsAgentEntityTypesPatchCall) Do ¶
func (c *ProjectsAgentEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1EntityType, error)
Do executes the "dialogflow.projects.agent.entityTypes.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1EntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1EntityType.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 (*ProjectsAgentEntityTypesPatchCall) Fields ¶
func (c *ProjectsAgentEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsAgentEntityTypesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEntityTypesPatchCall) Header ¶
func (c *ProjectsAgentEntityTypesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentEntityTypesPatchCall) LanguageCode ¶
func (c *ProjectsAgentEntityTypesPatchCall) LanguageCode(languageCode string) *ProjectsAgentEntityTypesPatchCall
LanguageCode sets the optional parameter "languageCode": The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
func (*ProjectsAgentEntityTypesPatchCall) UpdateMask ¶
func (c *ProjectsAgentEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsAgentEntityTypesPatchCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated.
type ProjectsAgentEntityTypesService ¶
type ProjectsAgentEntityTypesService struct { Entities *ProjectsAgentEntityTypesEntitiesService // contains filtered or unexported fields }
func NewProjectsAgentEntityTypesService ¶
func NewProjectsAgentEntityTypesService(s *Service) *ProjectsAgentEntityTypesService
func (*ProjectsAgentEntityTypesService) BatchDelete ¶
func (r *ProjectsAgentEntityTypesService) BatchDelete(parent string, googleclouddialogflowv2beta1batchdeleteentitytypesrequest *GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest) *ProjectsAgentEntityTypesBatchDeleteCall
BatchDelete: Deletes entity types in the specified agent. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An Empty message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The name of the agent to delete all entities types for. Supported formats: - `projects//agent`, - `projects//locations//agent`.
func (*ProjectsAgentEntityTypesService) BatchUpdate ¶
func (r *ProjectsAgentEntityTypesService) BatchUpdate(parent string, googleclouddialogflowv2beta1batchupdateentitytypesrequest *GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest) *ProjectsAgentEntityTypesBatchUpdateCall
BatchUpdate: Updates/Creates multiple entity types in the specified agent. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: BatchUpdateEntityTypesResponse Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The name of the agent to update or create entity types in. Supported formats: - `projects//agent` - `projects//locations//agent`.
func (*ProjectsAgentEntityTypesService) Create ¶
func (r *ProjectsAgentEntityTypesService) Create(parent string, googleclouddialogflowv2beta1entitytype *GoogleCloudDialogflowV2beta1EntityType) *ProjectsAgentEntityTypesCreateCall
Create: Creates an entity type in the specified agent. Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The agent to create a entity type for. Supported formats: - `projects//agent` - `projects//locations//agent`.
func (*ProjectsAgentEntityTypesService) Delete ¶
func (r *ProjectsAgentEntityTypesService) Delete(name string) *ProjectsAgentEntityTypesDeleteCall
Delete: Deletes the specified entity type. Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- name: The name of the entity type to delete. Supported formats: - `projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/`.
func (*ProjectsAgentEntityTypesService) Get ¶
func (r *ProjectsAgentEntityTypesService) Get(name string) *ProjectsAgentEntityTypesGetCall
Get: Retrieves the specified entity type.
- name: The name of the entity type. Supported formats: - `projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/`.
func (*ProjectsAgentEntityTypesService) List ¶
func (r *ProjectsAgentEntityTypesService) List(parent string) *ProjectsAgentEntityTypesListCall
List: Returns the list of all entity types in the specified agent.
- parent: The agent to list all entity types from. Supported formats:
- `projects//agent` - `projects//locations//agent`.
func (*ProjectsAgentEntityTypesService) Patch ¶
func (r *ProjectsAgentEntityTypesService) Patch(nameid string, googleclouddialogflowv2beta1entitytype *GoogleCloudDialogflowV2beta1EntityType) *ProjectsAgentEntityTypesPatchCall
Patch: Updates the specified entity type. Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- 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/`.
type ProjectsAgentEnvironmentsCreateCall ¶ added in v0.18.0
type ProjectsAgentEnvironmentsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEnvironmentsCreateCall) Context ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsCreateCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsCreateCall
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 (*ProjectsAgentEnvironmentsCreateCall) Do ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Environment, error)
Do executes the "dialogflow.projects.agent.environments.create" call. Exactly one of *GoogleCloudDialogflowV2beta1Environment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Environment.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 (*ProjectsAgentEnvironmentsCreateCall) EnvironmentId ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsCreateCall) EnvironmentId(environmentId string) *ProjectsAgentEnvironmentsCreateCall
EnvironmentId sets the optional parameter "environmentId": Required. The unique id of the new environment.
func (*ProjectsAgentEnvironmentsCreateCall) Fields ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEnvironmentsCreateCall) Header ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentEnvironmentsDeleteCall ¶ added in v0.18.0
type ProjectsAgentEnvironmentsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEnvironmentsDeleteCall) Context ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsDeleteCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsDeleteCall
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 (*ProjectsAgentEnvironmentsDeleteCall) Do ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.agent.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 (*ProjectsAgentEnvironmentsDeleteCall) Fields ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEnvironmentsDeleteCall) Header ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentEnvironmentsGetCall ¶ added in v0.18.0
type ProjectsAgentEnvironmentsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEnvironmentsGetCall) Context ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsGetCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsGetCall
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 (*ProjectsAgentEnvironmentsGetCall) Do ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Environment, error)
Do executes the "dialogflow.projects.agent.environments.get" call. Exactly one of *GoogleCloudDialogflowV2beta1Environment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Environment.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 (*ProjectsAgentEnvironmentsGetCall) Fields ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsGetCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEnvironmentsGetCall) Header ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentEnvironmentsGetCall) IfNoneMatch ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsGetCall) IfNoneMatch(entityTag string) *ProjectsAgentEnvironmentsGetCall
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 ProjectsAgentEnvironmentsGetHistoryCall ¶ added in v0.18.0
type ProjectsAgentEnvironmentsGetHistoryCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEnvironmentsGetHistoryCall) Context ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsGetHistoryCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsGetHistoryCall
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 (*ProjectsAgentEnvironmentsGetHistoryCall) Do ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsGetHistoryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1EnvironmentHistory, error)
Do executes the "dialogflow.projects.agent.environments.getHistory" call. Exactly one of *GoogleCloudDialogflowV2beta1EnvironmentHistory or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1EnvironmentHistory.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 (*ProjectsAgentEnvironmentsGetHistoryCall) Fields ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsGetHistoryCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsGetHistoryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEnvironmentsGetHistoryCall) Header ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsGetHistoryCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentEnvironmentsGetHistoryCall) IfNoneMatch ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsGetHistoryCall) IfNoneMatch(entityTag string) *ProjectsAgentEnvironmentsGetHistoryCall
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 (*ProjectsAgentEnvironmentsGetHistoryCall) PageSize ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsGetHistoryCall) PageSize(pageSize int64) *ProjectsAgentEnvironmentsGetHistoryCall
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 (*ProjectsAgentEnvironmentsGetHistoryCall) PageToken ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsGetHistoryCall) PageToken(pageToken string) *ProjectsAgentEnvironmentsGetHistoryCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsAgentEnvironmentsGetHistoryCall) Pages ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsGetHistoryCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1EnvironmentHistory) 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 ProjectsAgentEnvironmentsIntentsListCall ¶ added in v0.41.0
type ProjectsAgentEnvironmentsIntentsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEnvironmentsIntentsListCall) Context ¶ added in v0.41.0
func (c *ProjectsAgentEnvironmentsIntentsListCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsIntentsListCall
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 (*ProjectsAgentEnvironmentsIntentsListCall) Do ¶ added in v0.41.0
func (c *ProjectsAgentEnvironmentsIntentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListIntentsResponse, error)
Do executes the "dialogflow.projects.agent.environments.intents.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListIntentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListIntentsResponse.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 (*ProjectsAgentEnvironmentsIntentsListCall) Fields ¶ added in v0.41.0
func (c *ProjectsAgentEnvironmentsIntentsListCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsIntentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEnvironmentsIntentsListCall) Header ¶ added in v0.41.0
func (c *ProjectsAgentEnvironmentsIntentsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentEnvironmentsIntentsListCall) IfNoneMatch ¶ added in v0.41.0
func (c *ProjectsAgentEnvironmentsIntentsListCall) IfNoneMatch(entityTag string) *ProjectsAgentEnvironmentsIntentsListCall
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 (*ProjectsAgentEnvironmentsIntentsListCall) IntentView ¶ added in v0.41.0
func (c *ProjectsAgentEnvironmentsIntentsListCall) IntentView(intentView string) *ProjectsAgentEnvironmentsIntentsListCall
IntentView sets the optional parameter "intentView": The resource view to apply to the returned intent.
Possible values:
"INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
in the response.
"INTENT_VIEW_FULL" - All fields are populated.
func (*ProjectsAgentEnvironmentsIntentsListCall) LanguageCode ¶ added in v0.41.0
func (c *ProjectsAgentEnvironmentsIntentsListCall) LanguageCode(languageCode string) *ProjectsAgentEnvironmentsIntentsListCall
LanguageCode sets the optional parameter "languageCode": The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
func (*ProjectsAgentEnvironmentsIntentsListCall) PageSize ¶ added in v0.41.0
func (c *ProjectsAgentEnvironmentsIntentsListCall) PageSize(pageSize int64) *ProjectsAgentEnvironmentsIntentsListCall
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 (*ProjectsAgentEnvironmentsIntentsListCall) PageToken ¶ added in v0.41.0
func (c *ProjectsAgentEnvironmentsIntentsListCall) PageToken(pageToken string) *ProjectsAgentEnvironmentsIntentsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsAgentEnvironmentsIntentsListCall) Pages ¶ added in v0.41.0
func (c *ProjectsAgentEnvironmentsIntentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListIntentsResponse) 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 ProjectsAgentEnvironmentsIntentsService ¶ added in v0.41.0
type ProjectsAgentEnvironmentsIntentsService struct {
// contains filtered or unexported fields
}
func NewProjectsAgentEnvironmentsIntentsService ¶ added in v0.41.0
func NewProjectsAgentEnvironmentsIntentsService(s *Service) *ProjectsAgentEnvironmentsIntentsService
func (*ProjectsAgentEnvironmentsIntentsService) List ¶ added in v0.41.0
func (r *ProjectsAgentEnvironmentsIntentsService) List(parent string) *ProjectsAgentEnvironmentsIntentsListCall
List: Returns the list of all intents in the specified agent.
- parent: The agent to list all intents from. Format: `projects//agent` or `projects//locations//agent`. Alternatively, you can specify the environment to list intents for. Format: `projects//agent/environments/` or `projects//locations//agent/environments/`. Note: training phrases of the intents will not be returned for non-draft environment.
type ProjectsAgentEnvironmentsListCall ¶ added in v0.18.0
type ProjectsAgentEnvironmentsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEnvironmentsListCall) Context ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsListCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsListCall
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 (*ProjectsAgentEnvironmentsListCall) Do ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListEnvironmentsResponse, error)
Do executes the "dialogflow.projects.agent.environments.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListEnvironmentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListEnvironmentsResponse.ServerResponse.H eader 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 (*ProjectsAgentEnvironmentsListCall) Fields ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsListCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEnvironmentsListCall) Header ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentEnvironmentsListCall) IfNoneMatch ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsListCall) IfNoneMatch(entityTag string) *ProjectsAgentEnvironmentsListCall
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 (*ProjectsAgentEnvironmentsListCall) PageSize ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsListCall) PageSize(pageSize int64) *ProjectsAgentEnvironmentsListCall
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 (*ProjectsAgentEnvironmentsListCall) PageToken ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsListCall) PageToken(pageToken string) *ProjectsAgentEnvironmentsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsAgentEnvironmentsListCall) Pages ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListEnvironmentsResponse) 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 ProjectsAgentEnvironmentsPatchCall ¶ added in v0.18.0
type ProjectsAgentEnvironmentsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEnvironmentsPatchCall) AllowLoadToDraftAndDiscardChanges ¶ added in v0.46.0
func (c *ProjectsAgentEnvironmentsPatchCall) AllowLoadToDraftAndDiscardChanges(allowLoadToDraftAndDiscardChanges bool) *ProjectsAgentEnvironmentsPatchCall
AllowLoadToDraftAndDiscardChanges sets the optional parameter "allowLoadToDraftAndDiscardChanges": This field is used to prevent accidental overwrite of the draft environment, which is an operation that cannot be undone. To confirm that the caller desires this overwrite, this field must be explicitly set to true when updating the draft environment (environment ID = `-`).
func (*ProjectsAgentEnvironmentsPatchCall) Context ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsPatchCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsPatchCall
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 (*ProjectsAgentEnvironmentsPatchCall) Do ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Environment, error)
Do executes the "dialogflow.projects.agent.environments.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1Environment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Environment.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 (*ProjectsAgentEnvironmentsPatchCall) Fields ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsPatchCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEnvironmentsPatchCall) Header ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentEnvironmentsPatchCall) UpdateMask ¶ added in v0.18.0
func (c *ProjectsAgentEnvironmentsPatchCall) UpdateMask(updateMask string) *ProjectsAgentEnvironmentsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The mask to control which fields get updated.
type ProjectsAgentEnvironmentsService ¶
type ProjectsAgentEnvironmentsService struct { Intents *ProjectsAgentEnvironmentsIntentsService Users *ProjectsAgentEnvironmentsUsersService // contains filtered or unexported fields }
func NewProjectsAgentEnvironmentsService ¶
func NewProjectsAgentEnvironmentsService(s *Service) *ProjectsAgentEnvironmentsService
func (*ProjectsAgentEnvironmentsService) Create ¶ added in v0.18.0
func (r *ProjectsAgentEnvironmentsService) Create(parent string, googleclouddialogflowv2beta1environment *GoogleCloudDialogflowV2beta1Environment) *ProjectsAgentEnvironmentsCreateCall
Create: Creates an agent environment.
- parent: The agent to create an environment for. Supported formats:
- `projects//agent` - `projects//locations//agent`.
func (*ProjectsAgentEnvironmentsService) Delete ¶ added in v0.18.0
func (r *ProjectsAgentEnvironmentsService) Delete(name string) *ProjectsAgentEnvironmentsDeleteCall
Delete: Deletes the specified agent environment.
- name: The name of the environment to delete. / Format: - `projects//agent/environments/` - `projects//locations//agent/environments/`.
func (*ProjectsAgentEnvironmentsService) Get ¶ added in v0.18.0
func (r *ProjectsAgentEnvironmentsService) Get(name string) *ProjectsAgentEnvironmentsGetCall
Get: Retrieves the specified agent environment.
- name: The name of the environment. Supported formats: - `projects//agent/environments/` - `projects//locations//agent/environments/`.
func (*ProjectsAgentEnvironmentsService) GetHistory ¶ added in v0.18.0
func (r *ProjectsAgentEnvironmentsService) GetHistory(parent string) *ProjectsAgentEnvironmentsGetHistoryCall
GetHistory: Gets the history of the specified environment.
- parent: The name of the environment to retrieve history for. Supported formats: - `projects//agent/environments/` - `projects//locations//agent/environments/`.
func (*ProjectsAgentEnvironmentsService) List ¶ added in v0.18.0
func (r *ProjectsAgentEnvironmentsService) List(parent string) *ProjectsAgentEnvironmentsListCall
List: Returns the list of all non-draft environments of the specified agent.
- parent: The agent to list all environments from. Format: - `projects//agent` - `projects//locations//agent`.
func (*ProjectsAgentEnvironmentsService) Patch ¶ added in v0.18.0
func (r *ProjectsAgentEnvironmentsService) Patch(nameid string, googleclouddialogflowv2beta1environment *GoogleCloudDialogflowV2beta1Environment) *ProjectsAgentEnvironmentsPatchCall
Patch: Updates the specified agent environment. This method allows you to deploy new agent versions into the environment. When an environment is pointed to a new agent version by setting `environment.agent_version`, the environment is temporarily set to the `LOADING` state. During that time, the environment keeps on serving the previous version of the agent. After the new agent version is done loading, the environment is set back to the `RUNNING` state. You can use "-" as Environment ID in environment name to update version in "draft" environment. WARNING: this will negate all recent changes to draft and can't be undone. You may want to save the draft to a version before calling this function.
- name: Output only. The unique identifier of this agent environment. Supported formats: - `projects//agent/environments/` - `projects//locations//agent/environments/`.
type ProjectsAgentEnvironmentsUsersService ¶
type ProjectsAgentEnvironmentsUsersService struct { Sessions *ProjectsAgentEnvironmentsUsersSessionsService // contains filtered or unexported fields }
func NewProjectsAgentEnvironmentsUsersService ¶
func NewProjectsAgentEnvironmentsUsersService(s *Service) *ProjectsAgentEnvironmentsUsersService
type ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall ¶
type ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall) Context ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall
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 (*ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall) Do ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
Do executes the "dialogflow.projects.agent.environments.users.sessions.contexts.create" call. Exactly one of *GoogleCloudDialogflowV2beta1Context or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Context.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 (*ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall) Fields ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall) Header ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall ¶
type ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall) Context ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall
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 (*ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall) Do ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.agent.environments.users.sessions.contexts.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 (*ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall) Fields ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall) Header ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentEnvironmentsUsersSessionsContextsGetCall ¶
type ProjectsAgentEnvironmentsUsersSessionsContextsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) Context ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall
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 (*ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) Do ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
Do executes the "dialogflow.projects.agent.environments.users.sessions.contexts.get" call. Exactly one of *GoogleCloudDialogflowV2beta1Context or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Context.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 (*ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) Fields ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) Header ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) IfNoneMatch ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall) IfNoneMatch(entityTag string) *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall
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 ProjectsAgentEnvironmentsUsersSessionsContextsListCall ¶
type ProjectsAgentEnvironmentsUsersSessionsContextsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEnvironmentsUsersSessionsContextsListCall) Context ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsContextsListCall
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 (*ProjectsAgentEnvironmentsUsersSessionsContextsListCall) Do ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListContextsResponse, error)
Do executes the "dialogflow.projects.agent.environments.users.sessions.contexts.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListContextsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListContextsResponse.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 (*ProjectsAgentEnvironmentsUsersSessionsContextsListCall) Fields ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsContextsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEnvironmentsUsersSessionsContextsListCall) Header ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentEnvironmentsUsersSessionsContextsListCall) IfNoneMatch ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) IfNoneMatch(entityTag string) *ProjectsAgentEnvironmentsUsersSessionsContextsListCall
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 (*ProjectsAgentEnvironmentsUsersSessionsContextsListCall) PageSize ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) PageSize(pageSize int64) *ProjectsAgentEnvironmentsUsersSessionsContextsListCall
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 (*ProjectsAgentEnvironmentsUsersSessionsContextsListCall) PageToken ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) PageToken(pageToken string) *ProjectsAgentEnvironmentsUsersSessionsContextsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsAgentEnvironmentsUsersSessionsContextsListCall) Pages ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListContextsResponse) 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 ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall ¶
type ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) Context ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall
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 (*ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) Do ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
Do executes the "dialogflow.projects.agent.environments.users.sessions.contexts.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1Context or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Context.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 (*ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) Fields ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) Header ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) UpdateMask ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall) UpdateMask(updateMask string) *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated.
type ProjectsAgentEnvironmentsUsersSessionsContextsService ¶
type ProjectsAgentEnvironmentsUsersSessionsContextsService struct {
// contains filtered or unexported fields
}
func NewProjectsAgentEnvironmentsUsersSessionsContextsService ¶
func NewProjectsAgentEnvironmentsUsersSessionsContextsService(s *Service) *ProjectsAgentEnvironmentsUsersSessionsContextsService
func (*ProjectsAgentEnvironmentsUsersSessionsContextsService) Create ¶
func (r *ProjectsAgentEnvironmentsUsersSessionsContextsService) Create(parent string, googleclouddialogflowv2beta1context *GoogleCloudDialogflowV2beta1Context) *ProjectsAgentEnvironmentsUsersSessionsContextsCreateCall
Create: Creates a context. If the specified context already exists, overrides the context.
- parent: The session to create a context for. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, 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.
func (*ProjectsAgentEnvironmentsUsersSessionsContextsService) Delete ¶
func (r *ProjectsAgentEnvironmentsUsersSessionsContextsService) Delete(name string) *ProjectsAgentEnvironmentsUsersSessionsContextsDeleteCall
Delete: Deletes the specified context.
- name: The name of the context to delete. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/ `, 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.
func (*ProjectsAgentEnvironmentsUsersSessionsContextsService) Get ¶
func (r *ProjectsAgentEnvironmentsUsersSessionsContextsService) Get(name string) *ProjectsAgentEnvironmentsUsersSessionsContextsGetCall
Get: Retrieves the specified context.
- name: The name 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/ `, 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.
func (*ProjectsAgentEnvironmentsUsersSessionsContextsService) List ¶
func (r *ProjectsAgentEnvironmentsUsersSessionsContextsService) List(parent string) *ProjectsAgentEnvironmentsUsersSessionsContextsListCall
List: Returns the list of all contexts in the specified session.
- parent: The session to list all contexts from. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, 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.
func (*ProjectsAgentEnvironmentsUsersSessionsContextsService) Patch ¶
func (r *ProjectsAgentEnvironmentsUsersSessionsContextsService) Patch(nameid string, googleclouddialogflowv2beta1context *GoogleCloudDialogflowV2beta1Context) *ProjectsAgentEnvironmentsUsersSessionsContextsPatchCall
Patch: Updates the specified context.
- name: 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`.
type ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall ¶
type ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall) Context ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall
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 (*ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall) Do ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.agent.environments.users.sessions.deleteContexts" 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 (*ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall) Fields ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall) Header ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall ¶
type ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) Context ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall
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 (*ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) Do ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1DetectIntentResponse, error)
Do executes the "dialogflow.projects.agent.environments.users.sessions.detectIntent" call. Exactly one of *GoogleCloudDialogflowV2beta1DetectIntentResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1DetectIntentResponse.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 (*ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) Fields ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) Header ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall ¶
type ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Context ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall
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 (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Do ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
Do executes the "dialogflow.projects.agent.environments.users.sessions.entityTypes.create" call. Exactly one of *GoogleCloudDialogflowV2beta1SessionEntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SessionEntityType.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 (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Fields ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Header ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall ¶
type ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Context ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall
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 (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Do ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.agent.environments.users.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 (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Fields ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Header ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall ¶
type ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Context ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall
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 (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Do ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
Do executes the "dialogflow.projects.agent.environments.users.sessions.entityTypes.get" call. Exactly one of *GoogleCloudDialogflowV2beta1SessionEntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SessionEntityType.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 (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Fields ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Header ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) IfNoneMatch ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall
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 ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall ¶
type ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) Context ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall
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 (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) Do ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse, error)
Do executes the "dialogflow.projects.agent.environments.users.sessions.entityTypes.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse.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 (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) Fields ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) Header ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) IfNoneMatch ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall
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 (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) PageSize ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall
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 (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) PageToken ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) Pages ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse) 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 ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall ¶
type ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Context ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall
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 (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Do ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
Do executes the "dialogflow.projects.agent.environments.users.sessions.entityTypes.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1SessionEntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SessionEntityType.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 (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Fields ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Header ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) UpdateMask ¶
func (c *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated.
type ProjectsAgentEnvironmentsUsersSessionsEntityTypesService ¶
type ProjectsAgentEnvironmentsUsersSessionsEntityTypesService struct {
// contains filtered or unexported fields
}
func NewProjectsAgentEnvironmentsUsersSessionsEntityTypesService ¶
func NewProjectsAgentEnvironmentsUsersSessionsEntityTypesService(s *Service) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService
func (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) Create ¶
func (r *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) Create(parent string, googleclouddialogflowv2beta1sessionentitytype *GoogleCloudDialogflowV2beta1SessionEntityType) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesCreateCall
Create: Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
- parent: The session to create a session entity type for. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, 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.
func (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) Delete ¶
func (r *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) Delete(name string) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall
Delete: Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
- name: The name of the entity type to delete. 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.
func (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) Get ¶
func (r *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) Get(name string) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesGetCall
Get: Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
- name: The name of the 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.
func (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) List ¶
func (r *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) List(parent string) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesListCall
List: Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
- parent: The session to list all session entity types from. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, 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.
func (*ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) Patch ¶
func (r *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowv2beta1sessionentitytype *GoogleCloudDialogflowV2beta1SessionEntityType) *ProjectsAgentEnvironmentsUsersSessionsEntityTypesPatchCall
Patch: Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
- name: 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.
type ProjectsAgentEnvironmentsUsersSessionsService ¶
type ProjectsAgentEnvironmentsUsersSessionsService struct { Contexts *ProjectsAgentEnvironmentsUsersSessionsContextsService EntityTypes *ProjectsAgentEnvironmentsUsersSessionsEntityTypesService // contains filtered or unexported fields }
func NewProjectsAgentEnvironmentsUsersSessionsService ¶
func NewProjectsAgentEnvironmentsUsersSessionsService(s *Service) *ProjectsAgentEnvironmentsUsersSessionsService
func (*ProjectsAgentEnvironmentsUsersSessionsService) DeleteContexts ¶
func (r *ProjectsAgentEnvironmentsUsersSessionsService) DeleteContexts(parent string) *ProjectsAgentEnvironmentsUsersSessionsDeleteContextsCall
DeleteContexts: Deletes all active contexts in the specified session.
- parent: The name of the session to delete all contexts from. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, 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.
func (*ProjectsAgentEnvironmentsUsersSessionsService) DetectIntent ¶
func (r *ProjectsAgentEnvironmentsUsersSessionsService) DetectIntent(sessionid string, googleclouddialogflowv2beta1detectintentrequest *GoogleCloudDialogflowV2beta1DetectIntentRequest) *ProjectsAgentEnvironmentsUsersSessionsDetectIntentCall
DetectIntent: Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries. If you might use Agent Assist (https://cloud.google.com/dialogflow/docs/#aa) or other CCAI products now or in the future, consider using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has additional functionality for Agent Assist and other CCAI products. Note: Always use agent versions for production traffic. See Versions and environments (https://cloud.google.com/dialogflow/es/docs/agents-versions).
- session: The name of the session this query is sent to. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, If `Location ID` is not specified we assume default 'us' location. If `Environment ID` is not specified, we assume default 'draft' environment (`Environment ID` might be referred to as environment name at some places). If `User ID` is not specified, we are using "-". It's up to the API caller to choose an appropriate `Session ID` and `User Id`. They can be a random number or some type of user and session identifiers (preferably hashed). The length of the `Session ID` and `User ID` must not exceed 36 characters. For more information, see the API interactions guide (https://cloud.google.com/dialogflow/docs/api-overview). Note: Always use agent versions for production traffic. See Versions and environments (https://cloud.google.com/dialogflow/es/docs/agents-versions).
type ProjectsAgentExportCall ¶
type ProjectsAgentExportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentExportCall) Context ¶
func (c *ProjectsAgentExportCall) Context(ctx context.Context) *ProjectsAgentExportCall
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 (*ProjectsAgentExportCall) Do ¶
func (c *ProjectsAgentExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.agent.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 (*ProjectsAgentExportCall) Fields ¶
func (c *ProjectsAgentExportCall) Fields(s ...googleapi.Field) *ProjectsAgentExportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentExportCall) Header ¶
func (c *ProjectsAgentExportCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentGetFulfillmentCall ¶ added in v0.18.0
type ProjectsAgentGetFulfillmentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentGetFulfillmentCall) Context ¶ added in v0.18.0
func (c *ProjectsAgentGetFulfillmentCall) Context(ctx context.Context) *ProjectsAgentGetFulfillmentCall
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 (*ProjectsAgentGetFulfillmentCall) Do ¶ added in v0.18.0
func (c *ProjectsAgentGetFulfillmentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Fulfillment, error)
Do executes the "dialogflow.projects.agent.getFulfillment" call. Exactly one of *GoogleCloudDialogflowV2beta1Fulfillment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Fulfillment.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 (*ProjectsAgentGetFulfillmentCall) Fields ¶ added in v0.18.0
func (c *ProjectsAgentGetFulfillmentCall) Fields(s ...googleapi.Field) *ProjectsAgentGetFulfillmentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentGetFulfillmentCall) Header ¶ added in v0.18.0
func (c *ProjectsAgentGetFulfillmentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentGetFulfillmentCall) IfNoneMatch ¶ added in v0.18.0
func (c *ProjectsAgentGetFulfillmentCall) IfNoneMatch(entityTag string) *ProjectsAgentGetFulfillmentCall
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 ProjectsAgentGetValidationResultCall ¶ added in v0.11.0
type ProjectsAgentGetValidationResultCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentGetValidationResultCall) Context ¶ added in v0.11.0
func (c *ProjectsAgentGetValidationResultCall) Context(ctx context.Context) *ProjectsAgentGetValidationResultCall
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 (*ProjectsAgentGetValidationResultCall) Do ¶ added in v0.11.0
func (c *ProjectsAgentGetValidationResultCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ValidationResult, error)
Do executes the "dialogflow.projects.agent.getValidationResult" call. Exactly one of *GoogleCloudDialogflowV2beta1ValidationResult or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ValidationResult.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 (*ProjectsAgentGetValidationResultCall) Fields ¶ added in v0.11.0
func (c *ProjectsAgentGetValidationResultCall) Fields(s ...googleapi.Field) *ProjectsAgentGetValidationResultCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentGetValidationResultCall) Header ¶ added in v0.11.0
func (c *ProjectsAgentGetValidationResultCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentGetValidationResultCall) IfNoneMatch ¶ added in v0.11.0
func (c *ProjectsAgentGetValidationResultCall) IfNoneMatch(entityTag string) *ProjectsAgentGetValidationResultCall
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 (*ProjectsAgentGetValidationResultCall) LanguageCode ¶ added in v0.11.0
func (c *ProjectsAgentGetValidationResultCall) LanguageCode(languageCode string) *ProjectsAgentGetValidationResultCall
LanguageCode sets the optional parameter "languageCode": The language for which you want a validation result. If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
type ProjectsAgentImportCall ¶
type ProjectsAgentImportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentImportCall) Context ¶
func (c *ProjectsAgentImportCall) Context(ctx context.Context) *ProjectsAgentImportCall
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 (*ProjectsAgentImportCall) Do ¶
func (c *ProjectsAgentImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.agent.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 (*ProjectsAgentImportCall) Fields ¶
func (c *ProjectsAgentImportCall) Fields(s ...googleapi.Field) *ProjectsAgentImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentImportCall) Header ¶
func (c *ProjectsAgentImportCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentIntentsBatchDeleteCall ¶
type ProjectsAgentIntentsBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentIntentsBatchDeleteCall) Context ¶
func (c *ProjectsAgentIntentsBatchDeleteCall) Context(ctx context.Context) *ProjectsAgentIntentsBatchDeleteCall
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 (*ProjectsAgentIntentsBatchDeleteCall) Do ¶
func (c *ProjectsAgentIntentsBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.agent.intents.batchDelete" 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 (*ProjectsAgentIntentsBatchDeleteCall) Fields ¶
func (c *ProjectsAgentIntentsBatchDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentIntentsBatchDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentIntentsBatchDeleteCall) Header ¶
func (c *ProjectsAgentIntentsBatchDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentIntentsBatchUpdateCall ¶
type ProjectsAgentIntentsBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentIntentsBatchUpdateCall) Context ¶
func (c *ProjectsAgentIntentsBatchUpdateCall) Context(ctx context.Context) *ProjectsAgentIntentsBatchUpdateCall
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 (*ProjectsAgentIntentsBatchUpdateCall) Do ¶
func (c *ProjectsAgentIntentsBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.agent.intents.batchUpdate" 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 (*ProjectsAgentIntentsBatchUpdateCall) Fields ¶
func (c *ProjectsAgentIntentsBatchUpdateCall) Fields(s ...googleapi.Field) *ProjectsAgentIntentsBatchUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentIntentsBatchUpdateCall) Header ¶
func (c *ProjectsAgentIntentsBatchUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentIntentsCreateCall ¶
type ProjectsAgentIntentsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentIntentsCreateCall) Context ¶
func (c *ProjectsAgentIntentsCreateCall) Context(ctx context.Context) *ProjectsAgentIntentsCreateCall
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 (*ProjectsAgentIntentsCreateCall) Do ¶
func (c *ProjectsAgentIntentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Intent, error)
Do executes the "dialogflow.projects.agent.intents.create" call. Exactly one of *GoogleCloudDialogflowV2beta1Intent or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Intent.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 (*ProjectsAgentIntentsCreateCall) Fields ¶
func (c *ProjectsAgentIntentsCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentIntentsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentIntentsCreateCall) Header ¶
func (c *ProjectsAgentIntentsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentIntentsCreateCall) IntentView ¶
func (c *ProjectsAgentIntentsCreateCall) IntentView(intentView string) *ProjectsAgentIntentsCreateCall
IntentView sets the optional parameter "intentView": The resource view to apply to the returned intent.
Possible values:
"INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
in the response.
"INTENT_VIEW_FULL" - All fields are populated.
func (*ProjectsAgentIntentsCreateCall) LanguageCode ¶
func (c *ProjectsAgentIntentsCreateCall) LanguageCode(languageCode string) *ProjectsAgentIntentsCreateCall
LanguageCode sets the optional parameter "languageCode": The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
type ProjectsAgentIntentsDeleteCall ¶
type ProjectsAgentIntentsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentIntentsDeleteCall) Context ¶
func (c *ProjectsAgentIntentsDeleteCall) Context(ctx context.Context) *ProjectsAgentIntentsDeleteCall
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 (*ProjectsAgentIntentsDeleteCall) Do ¶
func (c *ProjectsAgentIntentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.agent.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 (*ProjectsAgentIntentsDeleteCall) Fields ¶
func (c *ProjectsAgentIntentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentIntentsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentIntentsDeleteCall) Header ¶
func (c *ProjectsAgentIntentsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentIntentsGetCall ¶
type ProjectsAgentIntentsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentIntentsGetCall) Context ¶
func (c *ProjectsAgentIntentsGetCall) Context(ctx context.Context) *ProjectsAgentIntentsGetCall
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 (*ProjectsAgentIntentsGetCall) Do ¶
func (c *ProjectsAgentIntentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Intent, error)
Do executes the "dialogflow.projects.agent.intents.get" call. Exactly one of *GoogleCloudDialogflowV2beta1Intent or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Intent.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 (*ProjectsAgentIntentsGetCall) Fields ¶
func (c *ProjectsAgentIntentsGetCall) Fields(s ...googleapi.Field) *ProjectsAgentIntentsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentIntentsGetCall) Header ¶
func (c *ProjectsAgentIntentsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentIntentsGetCall) IfNoneMatch ¶
func (c *ProjectsAgentIntentsGetCall) IfNoneMatch(entityTag string) *ProjectsAgentIntentsGetCall
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 (*ProjectsAgentIntentsGetCall) IntentView ¶
func (c *ProjectsAgentIntentsGetCall) IntentView(intentView string) *ProjectsAgentIntentsGetCall
IntentView sets the optional parameter "intentView": The resource view to apply to the returned intent.
Possible values:
"INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
in the response.
"INTENT_VIEW_FULL" - All fields are populated.
func (*ProjectsAgentIntentsGetCall) LanguageCode ¶
func (c *ProjectsAgentIntentsGetCall) LanguageCode(languageCode string) *ProjectsAgentIntentsGetCall
LanguageCode sets the optional parameter "languageCode": The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
type ProjectsAgentIntentsListCall ¶
type ProjectsAgentIntentsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentIntentsListCall) Context ¶
func (c *ProjectsAgentIntentsListCall) Context(ctx context.Context) *ProjectsAgentIntentsListCall
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 (*ProjectsAgentIntentsListCall) Do ¶
func (c *ProjectsAgentIntentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListIntentsResponse, error)
Do executes the "dialogflow.projects.agent.intents.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListIntentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListIntentsResponse.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 (*ProjectsAgentIntentsListCall) Fields ¶
func (c *ProjectsAgentIntentsListCall) Fields(s ...googleapi.Field) *ProjectsAgentIntentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentIntentsListCall) Header ¶
func (c *ProjectsAgentIntentsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentIntentsListCall) IfNoneMatch ¶
func (c *ProjectsAgentIntentsListCall) IfNoneMatch(entityTag string) *ProjectsAgentIntentsListCall
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 (*ProjectsAgentIntentsListCall) IntentView ¶
func (c *ProjectsAgentIntentsListCall) IntentView(intentView string) *ProjectsAgentIntentsListCall
IntentView sets the optional parameter "intentView": The resource view to apply to the returned intent.
Possible values:
"INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
in the response.
"INTENT_VIEW_FULL" - All fields are populated.
func (*ProjectsAgentIntentsListCall) LanguageCode ¶
func (c *ProjectsAgentIntentsListCall) LanguageCode(languageCode string) *ProjectsAgentIntentsListCall
LanguageCode sets the optional parameter "languageCode": The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
func (*ProjectsAgentIntentsListCall) PageSize ¶
func (c *ProjectsAgentIntentsListCall) PageSize(pageSize int64) *ProjectsAgentIntentsListCall
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 (*ProjectsAgentIntentsListCall) PageToken ¶
func (c *ProjectsAgentIntentsListCall) PageToken(pageToken string) *ProjectsAgentIntentsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsAgentIntentsListCall) Pages ¶
func (c *ProjectsAgentIntentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListIntentsResponse) 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 ProjectsAgentIntentsPatchCall ¶
type ProjectsAgentIntentsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentIntentsPatchCall) Context ¶
func (c *ProjectsAgentIntentsPatchCall) Context(ctx context.Context) *ProjectsAgentIntentsPatchCall
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 (*ProjectsAgentIntentsPatchCall) Do ¶
func (c *ProjectsAgentIntentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Intent, error)
Do executes the "dialogflow.projects.agent.intents.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1Intent or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Intent.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 (*ProjectsAgentIntentsPatchCall) Fields ¶
func (c *ProjectsAgentIntentsPatchCall) Fields(s ...googleapi.Field) *ProjectsAgentIntentsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentIntentsPatchCall) Header ¶
func (c *ProjectsAgentIntentsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentIntentsPatchCall) IntentView ¶
func (c *ProjectsAgentIntentsPatchCall) IntentView(intentView string) *ProjectsAgentIntentsPatchCall
IntentView sets the optional parameter "intentView": The resource view to apply to the returned intent.
Possible values:
"INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
in the response.
"INTENT_VIEW_FULL" - All fields are populated.
func (*ProjectsAgentIntentsPatchCall) LanguageCode ¶
func (c *ProjectsAgentIntentsPatchCall) LanguageCode(languageCode string) *ProjectsAgentIntentsPatchCall
LanguageCode sets the optional parameter "languageCode": The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
func (*ProjectsAgentIntentsPatchCall) UpdateMask ¶
func (c *ProjectsAgentIntentsPatchCall) UpdateMask(updateMask string) *ProjectsAgentIntentsPatchCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated.
type ProjectsAgentIntentsService ¶
type ProjectsAgentIntentsService struct {
// contains filtered or unexported fields
}
func NewProjectsAgentIntentsService ¶
func NewProjectsAgentIntentsService(s *Service) *ProjectsAgentIntentsService
func (*ProjectsAgentIntentsService) BatchDelete ¶
func (r *ProjectsAgentIntentsService) BatchDelete(parent string, googleclouddialogflowv2beta1batchdeleteintentsrequest *GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest) *ProjectsAgentIntentsBatchDeleteCall
BatchDelete: Deletes intents in the specified agent. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An Empty message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The name of the agent to delete all entities types for. Supported formats: - `projects//agent` - `projects//locations//agent`.
func (*ProjectsAgentIntentsService) BatchUpdate ¶
func (r *ProjectsAgentIntentsService) BatchUpdate(parent string, googleclouddialogflowv2beta1batchupdateintentsrequest *GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest) *ProjectsAgentIntentsBatchUpdateCall
BatchUpdate: Updates/Creates multiple intents in the specified agent. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: BatchUpdateIntentsResponse Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The name of the agent to update or create intents in. Supported formats: - `projects//agent` - `projects//locations//agent`.
func (*ProjectsAgentIntentsService) Create ¶
func (r *ProjectsAgentIntentsService) Create(parent string, googleclouddialogflowv2beta1intent *GoogleCloudDialogflowV2beta1Intent) *ProjectsAgentIntentsCreateCall
Create: Creates an intent in the specified agent. Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The agent to create a intent for. Supported formats: - `projects//agent` - `projects//locations//agent`.
func (*ProjectsAgentIntentsService) Delete ¶
func (r *ProjectsAgentIntentsService) Delete(name string) *ProjectsAgentIntentsDeleteCall
Delete: Deletes the specified intent and its direct or indirect followup intents. Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- name: The name of the intent to delete. If this intent has direct or indirect followup intents, we also delete them. Supported formats: - `projects//agent/intents/` - `projects//locations//agent/intents/`.
func (*ProjectsAgentIntentsService) Get ¶
func (r *ProjectsAgentIntentsService) Get(name string) *ProjectsAgentIntentsGetCall
Get: Retrieves the specified intent.
- name: The name of the intent. Supported formats: - `projects//agent/intents/` - `projects//locations//agent/intents/`.
func (*ProjectsAgentIntentsService) List ¶
func (r *ProjectsAgentIntentsService) List(parent string) *ProjectsAgentIntentsListCall
List: Returns the list of all intents in the specified agent.
- parent: The agent to list all intents from. Format: `projects//agent` or `projects//locations//agent`. Alternatively, you can specify the environment to list intents for. Format: `projects//agent/environments/` or `projects//locations//agent/environments/`. Note: training phrases of the intents will not be returned for non-draft environment.
func (*ProjectsAgentIntentsService) Patch ¶
func (r *ProjectsAgentIntentsService) Patch(nameid string, googleclouddialogflowv2beta1intent *GoogleCloudDialogflowV2beta1Intent) *ProjectsAgentIntentsPatchCall
Patch: Updates the specified intent. Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- 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/`.
type ProjectsAgentKnowledgeBasesCreateCall ¶
type ProjectsAgentKnowledgeBasesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentKnowledgeBasesCreateCall) Context ¶
func (c *ProjectsAgentKnowledgeBasesCreateCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesCreateCall
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 (*ProjectsAgentKnowledgeBasesCreateCall) Do ¶
func (c *ProjectsAgentKnowledgeBasesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1KnowledgeBase, error)
Do executes the "dialogflow.projects.agent.knowledgeBases.create" call. Exactly one of *GoogleCloudDialogflowV2beta1KnowledgeBase or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1KnowledgeBase.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 (*ProjectsAgentKnowledgeBasesCreateCall) Fields ¶
func (c *ProjectsAgentKnowledgeBasesCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentKnowledgeBasesCreateCall) Header ¶
func (c *ProjectsAgentKnowledgeBasesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentKnowledgeBasesDeleteCall ¶
type ProjectsAgentKnowledgeBasesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentKnowledgeBasesDeleteCall) Context ¶
func (c *ProjectsAgentKnowledgeBasesDeleteCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesDeleteCall
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 (*ProjectsAgentKnowledgeBasesDeleteCall) Do ¶
func (c *ProjectsAgentKnowledgeBasesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.agent.knowledgeBases.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 (*ProjectsAgentKnowledgeBasesDeleteCall) Fields ¶
func (c *ProjectsAgentKnowledgeBasesDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentKnowledgeBasesDeleteCall) Force ¶
func (c *ProjectsAgentKnowledgeBasesDeleteCall) Force(force bool) *ProjectsAgentKnowledgeBasesDeleteCall
Force sets the optional parameter "force": Force deletes the knowledge base. When set to true, any documents in the knowledge base are also deleted.
func (*ProjectsAgentKnowledgeBasesDeleteCall) Header ¶
func (c *ProjectsAgentKnowledgeBasesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentKnowledgeBasesDocumentsCreateCall ¶
type ProjectsAgentKnowledgeBasesDocumentsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentKnowledgeBasesDocumentsCreateCall) Context ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsCreateCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesDocumentsCreateCall
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 (*ProjectsAgentKnowledgeBasesDocumentsCreateCall) Do ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.agent.knowledgeBases.documents.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 (*ProjectsAgentKnowledgeBasesDocumentsCreateCall) Fields ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesDocumentsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentKnowledgeBasesDocumentsCreateCall) Header ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentKnowledgeBasesDocumentsCreateCall) ImportGcsCustomMetadata ¶ added in v0.36.0
func (c *ProjectsAgentKnowledgeBasesDocumentsCreateCall) ImportGcsCustomMetadata(importGcsCustomMetadata bool) *ProjectsAgentKnowledgeBasesDocumentsCreateCall
ImportGcsCustomMetadata sets the optional parameter "importGcsCustomMetadata": Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.
type ProjectsAgentKnowledgeBasesDocumentsDeleteCall ¶
type ProjectsAgentKnowledgeBasesDocumentsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentKnowledgeBasesDocumentsDeleteCall) Context ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsDeleteCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesDocumentsDeleteCall
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 (*ProjectsAgentKnowledgeBasesDocumentsDeleteCall) Do ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.agent.knowledgeBases.documents.delete" 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 (*ProjectsAgentKnowledgeBasesDocumentsDeleteCall) Fields ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesDocumentsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentKnowledgeBasesDocumentsDeleteCall) Header ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentKnowledgeBasesDocumentsGetCall ¶
type ProjectsAgentKnowledgeBasesDocumentsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentKnowledgeBasesDocumentsGetCall) Context ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsGetCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesDocumentsGetCall
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 (*ProjectsAgentKnowledgeBasesDocumentsGetCall) Do ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Document, error)
Do executes the "dialogflow.projects.agent.knowledgeBases.documents.get" call. Exactly one of *GoogleCloudDialogflowV2beta1Document or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Document.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 (*ProjectsAgentKnowledgeBasesDocumentsGetCall) Fields ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsGetCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesDocumentsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentKnowledgeBasesDocumentsGetCall) Header ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentKnowledgeBasesDocumentsGetCall) IfNoneMatch ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsGetCall) IfNoneMatch(entityTag string) *ProjectsAgentKnowledgeBasesDocumentsGetCall
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 ProjectsAgentKnowledgeBasesDocumentsListCall ¶
type ProjectsAgentKnowledgeBasesDocumentsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentKnowledgeBasesDocumentsListCall) Context ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesDocumentsListCall
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 (*ProjectsAgentKnowledgeBasesDocumentsListCall) Do ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListDocumentsResponse, error)
Do executes the "dialogflow.projects.agent.knowledgeBases.documents.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListDocumentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListDocumentsResponse.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 (*ProjectsAgentKnowledgeBasesDocumentsListCall) Fields ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesDocumentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentKnowledgeBasesDocumentsListCall) Filter ¶ added in v0.33.0
func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) Filter(filter string) *ProjectsAgentKnowledgeBasesDocumentsListCall
Filter sets the optional parameter "filter": The filter expression used to filter documents returned by the list method. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * knowledge_types with has(:) operator * display_name with has(:) operator * state with equals(=) operator Examples: * "knowledge_types:FAQ" matches documents with FAQ knowledge type. * "display_name:customer" matches documents whose display name contains "customer". * "state=ACTIVE" matches documents with ACTIVE state. * "knowledge_types:FAQ AND state=ACTIVE" matches all active FAQ documents. For more information about filtering, see API Filtering (https://aip.dev/160).
func (*ProjectsAgentKnowledgeBasesDocumentsListCall) Header ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentKnowledgeBasesDocumentsListCall) IfNoneMatch ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) IfNoneMatch(entityTag string) *ProjectsAgentKnowledgeBasesDocumentsListCall
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 (*ProjectsAgentKnowledgeBasesDocumentsListCall) PageSize ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) PageSize(pageSize int64) *ProjectsAgentKnowledgeBasesDocumentsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 10 and at most 100.
func (*ProjectsAgentKnowledgeBasesDocumentsListCall) PageToken ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) PageToken(pageToken string) *ProjectsAgentKnowledgeBasesDocumentsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsAgentKnowledgeBasesDocumentsListCall) Pages ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListDocumentsResponse) 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 ProjectsAgentKnowledgeBasesDocumentsPatchCall ¶
type ProjectsAgentKnowledgeBasesDocumentsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentKnowledgeBasesDocumentsPatchCall) Context ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsPatchCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesDocumentsPatchCall
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 (*ProjectsAgentKnowledgeBasesDocumentsPatchCall) Do ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.agent.knowledgeBases.documents.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 (*ProjectsAgentKnowledgeBasesDocumentsPatchCall) Fields ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsPatchCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesDocumentsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentKnowledgeBasesDocumentsPatchCall) Header ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentKnowledgeBasesDocumentsPatchCall) UpdateMask ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsPatchCall) UpdateMask(updateMask string) *ProjectsAgentKnowledgeBasesDocumentsPatchCall
UpdateMask sets the optional parameter "updateMask": Not specified means `update all`. Currently, only `display_name` can be updated, an InvalidArgument will be returned for attempting to update other fields.
type ProjectsAgentKnowledgeBasesDocumentsReloadCall ¶
type ProjectsAgentKnowledgeBasesDocumentsReloadCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentKnowledgeBasesDocumentsReloadCall) Context ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsReloadCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesDocumentsReloadCall
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 (*ProjectsAgentKnowledgeBasesDocumentsReloadCall) Do ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsReloadCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.agent.knowledgeBases.documents.reload" 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 (*ProjectsAgentKnowledgeBasesDocumentsReloadCall) Fields ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsReloadCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesDocumentsReloadCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentKnowledgeBasesDocumentsReloadCall) Header ¶
func (c *ProjectsAgentKnowledgeBasesDocumentsReloadCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentKnowledgeBasesDocumentsService ¶
type ProjectsAgentKnowledgeBasesDocumentsService struct {
// contains filtered or unexported fields
}
func NewProjectsAgentKnowledgeBasesDocumentsService ¶
func NewProjectsAgentKnowledgeBasesDocumentsService(s *Service) *ProjectsAgentKnowledgeBasesDocumentsService
func (*ProjectsAgentKnowledgeBasesDocumentsService) Create ¶
func (r *ProjectsAgentKnowledgeBasesDocumentsService) Create(parent string, googleclouddialogflowv2beta1document *GoogleCloudDialogflowV2beta1Document) *ProjectsAgentKnowledgeBasesDocumentsCreateCall
Create: Creates a new document. This method is a long-running operation (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.
- parent: The knowledge base to create a document for. Format: `projects//locations//knowledgeBases/`.
func (*ProjectsAgentKnowledgeBasesDocumentsService) Delete ¶
func (r *ProjectsAgentKnowledgeBasesDocumentsService) Delete(name string) *ProjectsAgentKnowledgeBasesDocumentsDeleteCall
Delete: Deletes the specified document. This method is a long-running operation (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: An Empty message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.
- name: The name of the document to delete. Format: `projects//locations//knowledgeBases//documents/`.
func (*ProjectsAgentKnowledgeBasesDocumentsService) Get ¶
func (r *ProjectsAgentKnowledgeBasesDocumentsService) Get(name string) *ProjectsAgentKnowledgeBasesDocumentsGetCall
Get: Retrieves the specified document. Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.
- name: The name of the document to retrieve. Format `projects//locations//knowledgeBases//documents/`.
func (*ProjectsAgentKnowledgeBasesDocumentsService) List ¶
func (r *ProjectsAgentKnowledgeBasesDocumentsService) List(parent string) *ProjectsAgentKnowledgeBasesDocumentsListCall
List: Returns the list of all documents of the knowledge base. Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.
- parent: The knowledge base to list all documents for. Format: `projects//locations//knowledgeBases/`.
func (*ProjectsAgentKnowledgeBasesDocumentsService) Patch ¶
func (r *ProjectsAgentKnowledgeBasesDocumentsService) Patch(name string, googleclouddialogflowv2beta1document *GoogleCloudDialogflowV2beta1Document) *ProjectsAgentKnowledgeBasesDocumentsPatchCall
Patch: Updates the specified document. This method is a long-running operation (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.
- name: Optional. The document resource name. The name must be empty when creating a document. Format: `projects//locations//knowledgeBases//documents/`.
func (*ProjectsAgentKnowledgeBasesDocumentsService) Reload ¶
func (r *ProjectsAgentKnowledgeBasesDocumentsService) Reload(name string, googleclouddialogflowv2beta1reloaddocumentrequest *GoogleCloudDialogflowV2beta1ReloadDocumentRequest) *ProjectsAgentKnowledgeBasesDocumentsReloadCall
Reload: Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. Note: If the document source is Google Cloud Storage URI, its metadata will be replaced with the custom metadata from Google Cloud Storage if the `import_gcs_custom_metadata` field is set to true in the request. This method is a long-running operation (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.
- name: The name of the document to reload. Format: `projects//locations//knowledgeBases//documents/`.
type ProjectsAgentKnowledgeBasesGetCall ¶
type ProjectsAgentKnowledgeBasesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentKnowledgeBasesGetCall) Context ¶
func (c *ProjectsAgentKnowledgeBasesGetCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesGetCall
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 (*ProjectsAgentKnowledgeBasesGetCall) Do ¶
func (c *ProjectsAgentKnowledgeBasesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1KnowledgeBase, error)
Do executes the "dialogflow.projects.agent.knowledgeBases.get" call. Exactly one of *GoogleCloudDialogflowV2beta1KnowledgeBase or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1KnowledgeBase.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 (*ProjectsAgentKnowledgeBasesGetCall) Fields ¶
func (c *ProjectsAgentKnowledgeBasesGetCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentKnowledgeBasesGetCall) Header ¶
func (c *ProjectsAgentKnowledgeBasesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentKnowledgeBasesGetCall) IfNoneMatch ¶
func (c *ProjectsAgentKnowledgeBasesGetCall) IfNoneMatch(entityTag string) *ProjectsAgentKnowledgeBasesGetCall
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 ProjectsAgentKnowledgeBasesListCall ¶
type ProjectsAgentKnowledgeBasesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentKnowledgeBasesListCall) Context ¶
func (c *ProjectsAgentKnowledgeBasesListCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesListCall
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 (*ProjectsAgentKnowledgeBasesListCall) Do ¶
func (c *ProjectsAgentKnowledgeBasesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse, error)
Do executes the "dialogflow.projects.agent.knowledgeBases.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse.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 (*ProjectsAgentKnowledgeBasesListCall) Fields ¶
func (c *ProjectsAgentKnowledgeBasesListCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentKnowledgeBasesListCall) Filter ¶ added in v0.33.0
func (c *ProjectsAgentKnowledgeBasesListCall) Filter(filter string) *ProjectsAgentKnowledgeBasesListCall
Filter sets the optional parameter "filter": The filter expression used to filter knowledge bases returned by the list method. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * display_name with has(:) operator * language_code with equals(=) operator Examples: * 'language_code=en-us' matches knowledge bases with en-us language code. * 'display_name:articles' matches knowledge bases whose display name contains "articles". * 'display_name:"Best Articles"' matches knowledge bases whose display name contains "Best Articles". * 'language_code=en-gb AND display_name=articles' matches all knowledge bases whose display name contains "articles" and whose language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op and will result in no filtering. For more information about filtering, see API Filtering (https://aip.dev/160).
func (*ProjectsAgentKnowledgeBasesListCall) Header ¶
func (c *ProjectsAgentKnowledgeBasesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentKnowledgeBasesListCall) IfNoneMatch ¶
func (c *ProjectsAgentKnowledgeBasesListCall) IfNoneMatch(entityTag string) *ProjectsAgentKnowledgeBasesListCall
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 (*ProjectsAgentKnowledgeBasesListCall) PageSize ¶
func (c *ProjectsAgentKnowledgeBasesListCall) PageSize(pageSize int64) *ProjectsAgentKnowledgeBasesListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 10 and at most 100.
func (*ProjectsAgentKnowledgeBasesListCall) PageToken ¶
func (c *ProjectsAgentKnowledgeBasesListCall) PageToken(pageToken string) *ProjectsAgentKnowledgeBasesListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsAgentKnowledgeBasesListCall) Pages ¶
func (c *ProjectsAgentKnowledgeBasesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse) 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 ProjectsAgentKnowledgeBasesPatchCall ¶
type ProjectsAgentKnowledgeBasesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentKnowledgeBasesPatchCall) Context ¶
func (c *ProjectsAgentKnowledgeBasesPatchCall) Context(ctx context.Context) *ProjectsAgentKnowledgeBasesPatchCall
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 (*ProjectsAgentKnowledgeBasesPatchCall) Do ¶
func (c *ProjectsAgentKnowledgeBasesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1KnowledgeBase, error)
Do executes the "dialogflow.projects.agent.knowledgeBases.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1KnowledgeBase or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1KnowledgeBase.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 (*ProjectsAgentKnowledgeBasesPatchCall) Fields ¶
func (c *ProjectsAgentKnowledgeBasesPatchCall) Fields(s ...googleapi.Field) *ProjectsAgentKnowledgeBasesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentKnowledgeBasesPatchCall) Header ¶
func (c *ProjectsAgentKnowledgeBasesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentKnowledgeBasesPatchCall) UpdateMask ¶
func (c *ProjectsAgentKnowledgeBasesPatchCall) UpdateMask(updateMask string) *ProjectsAgentKnowledgeBasesPatchCall
UpdateMask sets the optional parameter "updateMask": Not specified means `update all`. Currently, only `display_name` can be updated, an InvalidArgument will be returned for attempting to update other fields.
type ProjectsAgentKnowledgeBasesService ¶
type ProjectsAgentKnowledgeBasesService struct { Documents *ProjectsAgentKnowledgeBasesDocumentsService // contains filtered or unexported fields }
func NewProjectsAgentKnowledgeBasesService ¶
func NewProjectsAgentKnowledgeBasesService(s *Service) *ProjectsAgentKnowledgeBasesService
func (*ProjectsAgentKnowledgeBasesService) Create ¶
func (r *ProjectsAgentKnowledgeBasesService) Create(parent string, googleclouddialogflowv2beta1knowledgebase *GoogleCloudDialogflowV2beta1KnowledgeBase) *ProjectsAgentKnowledgeBasesCreateCall
Create: Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
- parent: The project to create a knowledge base for. Format: `projects//locations/`.
func (*ProjectsAgentKnowledgeBasesService) Delete ¶
func (r *ProjectsAgentKnowledgeBasesService) Delete(name string) *ProjectsAgentKnowledgeBasesDeleteCall
Delete: Deletes the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
- name: The name of the knowledge base to delete. Format: `projects//locations//knowledgeBases/`.
func (*ProjectsAgentKnowledgeBasesService) Get ¶
func (r *ProjectsAgentKnowledgeBasesService) Get(name string) *ProjectsAgentKnowledgeBasesGetCall
Get: Retrieves the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
- name: The name of the knowledge base to retrieve. Format `projects//locations//knowledgeBases/`.
func (*ProjectsAgentKnowledgeBasesService) List ¶
func (r *ProjectsAgentKnowledgeBasesService) List(parent string) *ProjectsAgentKnowledgeBasesListCall
List: Returns the list of all knowledge bases of the specified agent. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
- parent: The project to list of knowledge bases for. Format: `projects//locations/`.
func (*ProjectsAgentKnowledgeBasesService) Patch ¶
func (r *ProjectsAgentKnowledgeBasesService) Patch(name string, googleclouddialogflowv2beta1knowledgebase *GoogleCloudDialogflowV2beta1KnowledgeBase) *ProjectsAgentKnowledgeBasesPatchCall
Patch: Updates the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
- name: The knowledge base resource name. The name must be empty when creating a knowledge base. Format: `projects//locations//knowledgeBases/`.
type ProjectsAgentRestoreCall ¶
type ProjectsAgentRestoreCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentRestoreCall) Context ¶
func (c *ProjectsAgentRestoreCall) Context(ctx context.Context) *ProjectsAgentRestoreCall
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 (*ProjectsAgentRestoreCall) Do ¶
func (c *ProjectsAgentRestoreCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.agent.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 (*ProjectsAgentRestoreCall) Fields ¶
func (c *ProjectsAgentRestoreCall) Fields(s ...googleapi.Field) *ProjectsAgentRestoreCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentRestoreCall) Header ¶
func (c *ProjectsAgentRestoreCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentSearchCall ¶
type ProjectsAgentSearchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentSearchCall) Context ¶
func (c *ProjectsAgentSearchCall) Context(ctx context.Context) *ProjectsAgentSearchCall
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 (*ProjectsAgentSearchCall) Do ¶
func (c *ProjectsAgentSearchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SearchAgentsResponse, error)
Do executes the "dialogflow.projects.agent.search" call. Exactly one of *GoogleCloudDialogflowV2beta1SearchAgentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SearchAgentsResponse.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 (*ProjectsAgentSearchCall) Fields ¶
func (c *ProjectsAgentSearchCall) Fields(s ...googleapi.Field) *ProjectsAgentSearchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentSearchCall) Header ¶
func (c *ProjectsAgentSearchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentSearchCall) IfNoneMatch ¶
func (c *ProjectsAgentSearchCall) IfNoneMatch(entityTag string) *ProjectsAgentSearchCall
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 (*ProjectsAgentSearchCall) PageSize ¶
func (c *ProjectsAgentSearchCall) PageSize(pageSize int64) *ProjectsAgentSearchCall
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 (*ProjectsAgentSearchCall) PageToken ¶
func (c *ProjectsAgentSearchCall) PageToken(pageToken string) *ProjectsAgentSearchCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsAgentSearchCall) Pages ¶
func (c *ProjectsAgentSearchCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1SearchAgentsResponse) 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 ProjectsAgentService ¶
type ProjectsAgentService struct { EntityTypes *ProjectsAgentEntityTypesService Environments *ProjectsAgentEnvironmentsService Intents *ProjectsAgentIntentsService KnowledgeBases *ProjectsAgentKnowledgeBasesService Sessions *ProjectsAgentSessionsService Versions *ProjectsAgentVersionsService // contains filtered or unexported fields }
func NewProjectsAgentService ¶
func NewProjectsAgentService(s *Service) *ProjectsAgentService
func (*ProjectsAgentService) Export ¶
func (r *ProjectsAgentService) Export(parent string, googleclouddialogflowv2beta1exportagentrequest *GoogleCloudDialogflowV2beta1ExportAgentRequest) *ProjectsAgentExportCall
Export: Exports the specified agent to a ZIP file. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: ExportAgentResponse
- parent: The project that the agent to export is associated with. Format: `projects/` or `projects//locations/`.
func (*ProjectsAgentService) GetFulfillment ¶ added in v0.18.0
func (r *ProjectsAgentService) GetFulfillment(name string) *ProjectsAgentGetFulfillmentCall
GetFulfillment: Retrieves the fulfillment.
- name: The name of the fulfillment. Supported formats: - `projects//agent/fulfillment` - `projects//locations//agent/fulfillment`.
func (*ProjectsAgentService) GetValidationResult ¶ added in v0.11.0
func (r *ProjectsAgentService) GetValidationResult(parent string) *ProjectsAgentGetValidationResultCall
GetValidationResult: Gets agent validation result. Agent validation is performed during training time and is updated automatically when training is completed.
- parent: The project that the agent is associated with. Format: `projects/` or `projects//locations/`.
func (*ProjectsAgentService) Import ¶
func (r *ProjectsAgentService) Import(parent string, googleclouddialogflowv2beta1importagentrequest *GoogleCloudDialogflowV2beta1ImportAgentRequest) *ProjectsAgentImportCall
Import: Imports the specified agent from a ZIP file. Uploads new intents and entity types without deleting the existing ones. Intents and entity types with the same name are replaced with the new versions from ImportAgentRequest. After the import, the imported draft agent will be trained automatically (unless disabled in agent settings). However, once the import is done, training may not be completed yet. Please call TrainAgent and wait for the operation it returns in order to train explicitly. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An Empty message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) The operation only tracks when importing is complete, not when it is done training. Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The project that the agent to import is associated with. Format: `projects/` or `projects//locations/`.
func (*ProjectsAgentService) Restore ¶
func (r *ProjectsAgentService) Restore(parent string, googleclouddialogflowv2beta1restoreagentrequest *GoogleCloudDialogflowV2beta1RestoreAgentRequest) *ProjectsAgentRestoreCall
Restore: Restores the specified agent from a ZIP file. Replaces the current agent version with a new one. All the intents and entity types in the older version are deleted. After the restore, the restored draft agent will be trained automatically (unless disabled in agent settings). However, once the restore is done, training may not be completed yet. Please call TrainAgent and wait for the operation it returns in order to train explicitly. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An Empty message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) The operation only tracks when restoring is complete, not when it is done training. Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The project that the agent to restore is associated with. Format: `projects/` or `projects//locations/`.
func (*ProjectsAgentService) Search ¶
func (r *ProjectsAgentService) Search(parent string) *ProjectsAgentSearchCall
Search: Returns the list of agents. Since there is at most one conversational agent per project, this method is useful primarily for listing all agents across projects the caller has access to. One can achieve that with a wildcard project collection id "-". Refer to List Sub-Collections (https://cloud.google.com/apis/design/design_patterns#list_sub-collections).
- parent: The project to list agents from. Format: `projects/` or `projects//locations/`.
func (*ProjectsAgentService) Train ¶
func (r *ProjectsAgentService) Train(parent string, googleclouddialogflowv2beta1trainagentrequest *GoogleCloudDialogflowV2beta1TrainAgentRequest) *ProjectsAgentTrainCall
Train: Trains the specified agent. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An Empty message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The project that the agent to train is associated with. Format: `projects/` or `projects//locations/`.
func (*ProjectsAgentService) UpdateFulfillment ¶ added in v0.18.0
func (r *ProjectsAgentService) UpdateFulfillment(nameid string, googleclouddialogflowv2beta1fulfillment *GoogleCloudDialogflowV2beta1Fulfillment) *ProjectsAgentUpdateFulfillmentCall
UpdateFulfillment: Updates the fulfillment.
- name: The unique identifier of the fulfillment. Supported formats:
- `projects//agent/fulfillment` - `projects//locations//agent/fulfillment` This field is not used for Fulfillment in an Environment.
type ProjectsAgentSessionsContextsCreateCall ¶
type ProjectsAgentSessionsContextsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentSessionsContextsCreateCall) Context ¶
func (c *ProjectsAgentSessionsContextsCreateCall) Context(ctx context.Context) *ProjectsAgentSessionsContextsCreateCall
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 (*ProjectsAgentSessionsContextsCreateCall) Do ¶
func (c *ProjectsAgentSessionsContextsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
Do executes the "dialogflow.projects.agent.sessions.contexts.create" call. Exactly one of *GoogleCloudDialogflowV2beta1Context or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Context.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 (*ProjectsAgentSessionsContextsCreateCall) Fields ¶
func (c *ProjectsAgentSessionsContextsCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsContextsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentSessionsContextsCreateCall) Header ¶
func (c *ProjectsAgentSessionsContextsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentSessionsContextsDeleteCall ¶
type ProjectsAgentSessionsContextsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentSessionsContextsDeleteCall) Context ¶
func (c *ProjectsAgentSessionsContextsDeleteCall) Context(ctx context.Context) *ProjectsAgentSessionsContextsDeleteCall
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 (*ProjectsAgentSessionsContextsDeleteCall) Do ¶
func (c *ProjectsAgentSessionsContextsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.agent.sessions.contexts.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 (*ProjectsAgentSessionsContextsDeleteCall) Fields ¶
func (c *ProjectsAgentSessionsContextsDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsContextsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentSessionsContextsDeleteCall) Header ¶
func (c *ProjectsAgentSessionsContextsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentSessionsContextsGetCall ¶
type ProjectsAgentSessionsContextsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentSessionsContextsGetCall) Context ¶
func (c *ProjectsAgentSessionsContextsGetCall) Context(ctx context.Context) *ProjectsAgentSessionsContextsGetCall
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 (*ProjectsAgentSessionsContextsGetCall) Do ¶
func (c *ProjectsAgentSessionsContextsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
Do executes the "dialogflow.projects.agent.sessions.contexts.get" call. Exactly one of *GoogleCloudDialogflowV2beta1Context or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Context.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 (*ProjectsAgentSessionsContextsGetCall) Fields ¶
func (c *ProjectsAgentSessionsContextsGetCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsContextsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentSessionsContextsGetCall) Header ¶
func (c *ProjectsAgentSessionsContextsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentSessionsContextsGetCall) IfNoneMatch ¶
func (c *ProjectsAgentSessionsContextsGetCall) IfNoneMatch(entityTag string) *ProjectsAgentSessionsContextsGetCall
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 ProjectsAgentSessionsContextsListCall ¶
type ProjectsAgentSessionsContextsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentSessionsContextsListCall) Context ¶
func (c *ProjectsAgentSessionsContextsListCall) Context(ctx context.Context) *ProjectsAgentSessionsContextsListCall
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 (*ProjectsAgentSessionsContextsListCall) Do ¶
func (c *ProjectsAgentSessionsContextsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListContextsResponse, error)
Do executes the "dialogflow.projects.agent.sessions.contexts.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListContextsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListContextsResponse.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 (*ProjectsAgentSessionsContextsListCall) Fields ¶
func (c *ProjectsAgentSessionsContextsListCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsContextsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentSessionsContextsListCall) Header ¶
func (c *ProjectsAgentSessionsContextsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentSessionsContextsListCall) IfNoneMatch ¶
func (c *ProjectsAgentSessionsContextsListCall) IfNoneMatch(entityTag string) *ProjectsAgentSessionsContextsListCall
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 (*ProjectsAgentSessionsContextsListCall) PageSize ¶
func (c *ProjectsAgentSessionsContextsListCall) PageSize(pageSize int64) *ProjectsAgentSessionsContextsListCall
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 (*ProjectsAgentSessionsContextsListCall) PageToken ¶
func (c *ProjectsAgentSessionsContextsListCall) PageToken(pageToken string) *ProjectsAgentSessionsContextsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsAgentSessionsContextsListCall) Pages ¶
func (c *ProjectsAgentSessionsContextsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListContextsResponse) 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 ProjectsAgentSessionsContextsPatchCall ¶
type ProjectsAgentSessionsContextsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentSessionsContextsPatchCall) Context ¶
func (c *ProjectsAgentSessionsContextsPatchCall) Context(ctx context.Context) *ProjectsAgentSessionsContextsPatchCall
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 (*ProjectsAgentSessionsContextsPatchCall) Do ¶
func (c *ProjectsAgentSessionsContextsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
Do executes the "dialogflow.projects.agent.sessions.contexts.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1Context or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Context.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 (*ProjectsAgentSessionsContextsPatchCall) Fields ¶
func (c *ProjectsAgentSessionsContextsPatchCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsContextsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentSessionsContextsPatchCall) Header ¶
func (c *ProjectsAgentSessionsContextsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentSessionsContextsPatchCall) UpdateMask ¶
func (c *ProjectsAgentSessionsContextsPatchCall) UpdateMask(updateMask string) *ProjectsAgentSessionsContextsPatchCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated.
type ProjectsAgentSessionsContextsService ¶
type ProjectsAgentSessionsContextsService struct {
// contains filtered or unexported fields
}
func NewProjectsAgentSessionsContextsService ¶
func NewProjectsAgentSessionsContextsService(s *Service) *ProjectsAgentSessionsContextsService
func (*ProjectsAgentSessionsContextsService) Create ¶
func (r *ProjectsAgentSessionsContextsService) Create(parent string, googleclouddialogflowv2beta1context *GoogleCloudDialogflowV2beta1Context) *ProjectsAgentSessionsContextsCreateCall
Create: Creates a context. If the specified context already exists, overrides the context.
- parent: The session to create a context for. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, 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.
func (*ProjectsAgentSessionsContextsService) Delete ¶
func (r *ProjectsAgentSessionsContextsService) Delete(name string) *ProjectsAgentSessionsContextsDeleteCall
Delete: Deletes the specified context.
- name: The name of the context to delete. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/ `, 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.
func (*ProjectsAgentSessionsContextsService) Get ¶
func (r *ProjectsAgentSessionsContextsService) Get(name string) *ProjectsAgentSessionsContextsGetCall
Get: Retrieves the specified context.
- name: The name 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/ `, 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.
func (*ProjectsAgentSessionsContextsService) List ¶
func (r *ProjectsAgentSessionsContextsService) List(parent string) *ProjectsAgentSessionsContextsListCall
List: Returns the list of all contexts in the specified session.
- parent: The session to list all contexts from. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, 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.
func (*ProjectsAgentSessionsContextsService) Patch ¶
func (r *ProjectsAgentSessionsContextsService) Patch(nameid string, googleclouddialogflowv2beta1context *GoogleCloudDialogflowV2beta1Context) *ProjectsAgentSessionsContextsPatchCall
Patch: Updates the specified context.
- name: 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`.
type ProjectsAgentSessionsDeleteContextsCall ¶
type ProjectsAgentSessionsDeleteContextsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentSessionsDeleteContextsCall) Context ¶
func (c *ProjectsAgentSessionsDeleteContextsCall) Context(ctx context.Context) *ProjectsAgentSessionsDeleteContextsCall
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 (*ProjectsAgentSessionsDeleteContextsCall) Do ¶
func (c *ProjectsAgentSessionsDeleteContextsCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.agent.sessions.deleteContexts" 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 (*ProjectsAgentSessionsDeleteContextsCall) Fields ¶
func (c *ProjectsAgentSessionsDeleteContextsCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsDeleteContextsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentSessionsDeleteContextsCall) Header ¶
func (c *ProjectsAgentSessionsDeleteContextsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentSessionsDetectIntentCall ¶
type ProjectsAgentSessionsDetectIntentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentSessionsDetectIntentCall) Context ¶
func (c *ProjectsAgentSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsAgentSessionsDetectIntentCall
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 (*ProjectsAgentSessionsDetectIntentCall) Do ¶
func (c *ProjectsAgentSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1DetectIntentResponse, error)
Do executes the "dialogflow.projects.agent.sessions.detectIntent" call. Exactly one of *GoogleCloudDialogflowV2beta1DetectIntentResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1DetectIntentResponse.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 (*ProjectsAgentSessionsDetectIntentCall) Fields ¶
func (c *ProjectsAgentSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsDetectIntentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentSessionsDetectIntentCall) Header ¶
func (c *ProjectsAgentSessionsDetectIntentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentSessionsEntityTypesCreateCall ¶
type ProjectsAgentSessionsEntityTypesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentSessionsEntityTypesCreateCall) Context ¶
func (c *ProjectsAgentSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsAgentSessionsEntityTypesCreateCall
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 (*ProjectsAgentSessionsEntityTypesCreateCall) Do ¶
func (c *ProjectsAgentSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
Do executes the "dialogflow.projects.agent.sessions.entityTypes.create" call. Exactly one of *GoogleCloudDialogflowV2beta1SessionEntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SessionEntityType.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 (*ProjectsAgentSessionsEntityTypesCreateCall) Fields ¶
func (c *ProjectsAgentSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsEntityTypesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentSessionsEntityTypesCreateCall) Header ¶
func (c *ProjectsAgentSessionsEntityTypesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentSessionsEntityTypesDeleteCall ¶
type ProjectsAgentSessionsEntityTypesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentSessionsEntityTypesDeleteCall) Context ¶
func (c *ProjectsAgentSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsAgentSessionsEntityTypesDeleteCall
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 (*ProjectsAgentSessionsEntityTypesDeleteCall) Do ¶
func (c *ProjectsAgentSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.agent.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 (*ProjectsAgentSessionsEntityTypesDeleteCall) Fields ¶
func (c *ProjectsAgentSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsEntityTypesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentSessionsEntityTypesDeleteCall) Header ¶
func (c *ProjectsAgentSessionsEntityTypesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentSessionsEntityTypesGetCall ¶
type ProjectsAgentSessionsEntityTypesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentSessionsEntityTypesGetCall) Context ¶
func (c *ProjectsAgentSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsAgentSessionsEntityTypesGetCall
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 (*ProjectsAgentSessionsEntityTypesGetCall) Do ¶
func (c *ProjectsAgentSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
Do executes the "dialogflow.projects.agent.sessions.entityTypes.get" call. Exactly one of *GoogleCloudDialogflowV2beta1SessionEntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SessionEntityType.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 (*ProjectsAgentSessionsEntityTypesGetCall) Fields ¶
func (c *ProjectsAgentSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsEntityTypesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentSessionsEntityTypesGetCall) Header ¶
func (c *ProjectsAgentSessionsEntityTypesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentSessionsEntityTypesGetCall) IfNoneMatch ¶
func (c *ProjectsAgentSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsAgentSessionsEntityTypesGetCall
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 ProjectsAgentSessionsEntityTypesListCall ¶
type ProjectsAgentSessionsEntityTypesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentSessionsEntityTypesListCall) Context ¶
func (c *ProjectsAgentSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsAgentSessionsEntityTypesListCall
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 (*ProjectsAgentSessionsEntityTypesListCall) Do ¶
func (c *ProjectsAgentSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse, error)
Do executes the "dialogflow.projects.agent.sessions.entityTypes.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse.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 (*ProjectsAgentSessionsEntityTypesListCall) Fields ¶
func (c *ProjectsAgentSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsEntityTypesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentSessionsEntityTypesListCall) Header ¶
func (c *ProjectsAgentSessionsEntityTypesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentSessionsEntityTypesListCall) IfNoneMatch ¶
func (c *ProjectsAgentSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsAgentSessionsEntityTypesListCall
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 (*ProjectsAgentSessionsEntityTypesListCall) PageSize ¶
func (c *ProjectsAgentSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsAgentSessionsEntityTypesListCall
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 (*ProjectsAgentSessionsEntityTypesListCall) PageToken ¶
func (c *ProjectsAgentSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsAgentSessionsEntityTypesListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsAgentSessionsEntityTypesListCall) Pages ¶
func (c *ProjectsAgentSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse) 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 ProjectsAgentSessionsEntityTypesPatchCall ¶
type ProjectsAgentSessionsEntityTypesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentSessionsEntityTypesPatchCall) Context ¶
func (c *ProjectsAgentSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsAgentSessionsEntityTypesPatchCall
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 (*ProjectsAgentSessionsEntityTypesPatchCall) Do ¶
func (c *ProjectsAgentSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
Do executes the "dialogflow.projects.agent.sessions.entityTypes.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1SessionEntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SessionEntityType.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 (*ProjectsAgentSessionsEntityTypesPatchCall) Fields ¶
func (c *ProjectsAgentSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsAgentSessionsEntityTypesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentSessionsEntityTypesPatchCall) Header ¶
func (c *ProjectsAgentSessionsEntityTypesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentSessionsEntityTypesPatchCall) UpdateMask ¶
func (c *ProjectsAgentSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsAgentSessionsEntityTypesPatchCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated.
type ProjectsAgentSessionsEntityTypesService ¶
type ProjectsAgentSessionsEntityTypesService struct {
// contains filtered or unexported fields
}
func NewProjectsAgentSessionsEntityTypesService ¶
func NewProjectsAgentSessionsEntityTypesService(s *Service) *ProjectsAgentSessionsEntityTypesService
func (*ProjectsAgentSessionsEntityTypesService) Create ¶
func (r *ProjectsAgentSessionsEntityTypesService) Create(parent string, googleclouddialogflowv2beta1sessionentitytype *GoogleCloudDialogflowV2beta1SessionEntityType) *ProjectsAgentSessionsEntityTypesCreateCall
Create: Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
- parent: The session to create a session entity type for. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, 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.
func (*ProjectsAgentSessionsEntityTypesService) Delete ¶
func (r *ProjectsAgentSessionsEntityTypesService) Delete(name string) *ProjectsAgentSessionsEntityTypesDeleteCall
Delete: Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
- name: The name of the entity type to delete. 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.
func (*ProjectsAgentSessionsEntityTypesService) Get ¶
func (r *ProjectsAgentSessionsEntityTypesService) Get(name string) *ProjectsAgentSessionsEntityTypesGetCall
Get: Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
- name: The name of the 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.
func (*ProjectsAgentSessionsEntityTypesService) List ¶
func (r *ProjectsAgentSessionsEntityTypesService) List(parent string) *ProjectsAgentSessionsEntityTypesListCall
List: Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
- parent: The session to list all session entity types from. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, 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.
func (*ProjectsAgentSessionsEntityTypesService) Patch ¶
func (r *ProjectsAgentSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowv2beta1sessionentitytype *GoogleCloudDialogflowV2beta1SessionEntityType) *ProjectsAgentSessionsEntityTypesPatchCall
Patch: Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
- name: 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.
type ProjectsAgentSessionsService ¶
type ProjectsAgentSessionsService struct { Contexts *ProjectsAgentSessionsContextsService EntityTypes *ProjectsAgentSessionsEntityTypesService // contains filtered or unexported fields }
func NewProjectsAgentSessionsService ¶
func NewProjectsAgentSessionsService(s *Service) *ProjectsAgentSessionsService
func (*ProjectsAgentSessionsService) DeleteContexts ¶
func (r *ProjectsAgentSessionsService) DeleteContexts(parent string) *ProjectsAgentSessionsDeleteContextsCall
DeleteContexts: Deletes all active contexts in the specified session.
- parent: The name of the session to delete all contexts from. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, 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.
func (*ProjectsAgentSessionsService) DetectIntent ¶
func (r *ProjectsAgentSessionsService) DetectIntent(sessionid string, googleclouddialogflowv2beta1detectintentrequest *GoogleCloudDialogflowV2beta1DetectIntentRequest) *ProjectsAgentSessionsDetectIntentCall
DetectIntent: Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries. If you might use Agent Assist (https://cloud.google.com/dialogflow/docs/#aa) or other CCAI products now or in the future, consider using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has additional functionality for Agent Assist and other CCAI products. Note: Always use agent versions for production traffic. See Versions and environments (https://cloud.google.com/dialogflow/es/docs/agents-versions).
- session: The name of the session this query is sent to. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, If `Location ID` is not specified we assume default 'us' location. If `Environment ID` is not specified, we assume default 'draft' environment (`Environment ID` might be referred to as environment name at some places). If `User ID` is not specified, we are using "-". It's up to the API caller to choose an appropriate `Session ID` and `User Id`. They can be a random number or some type of user and session identifiers (preferably hashed). The length of the `Session ID` and `User ID` must not exceed 36 characters. For more information, see the API interactions guide (https://cloud.google.com/dialogflow/docs/api-overview). Note: Always use agent versions for production traffic. See Versions and environments (https://cloud.google.com/dialogflow/es/docs/agents-versions).
type ProjectsAgentTrainCall ¶
type ProjectsAgentTrainCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentTrainCall) Context ¶
func (c *ProjectsAgentTrainCall) Context(ctx context.Context) *ProjectsAgentTrainCall
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 (*ProjectsAgentTrainCall) Do ¶
func (c *ProjectsAgentTrainCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.agent.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 (*ProjectsAgentTrainCall) Fields ¶
func (c *ProjectsAgentTrainCall) Fields(s ...googleapi.Field) *ProjectsAgentTrainCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentTrainCall) Header ¶
func (c *ProjectsAgentTrainCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentUpdateFulfillmentCall ¶ added in v0.18.0
type ProjectsAgentUpdateFulfillmentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentUpdateFulfillmentCall) Context ¶ added in v0.18.0
func (c *ProjectsAgentUpdateFulfillmentCall) Context(ctx context.Context) *ProjectsAgentUpdateFulfillmentCall
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 (*ProjectsAgentUpdateFulfillmentCall) Do ¶ added in v0.18.0
func (c *ProjectsAgentUpdateFulfillmentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Fulfillment, error)
Do executes the "dialogflow.projects.agent.updateFulfillment" call. Exactly one of *GoogleCloudDialogflowV2beta1Fulfillment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Fulfillment.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 (*ProjectsAgentUpdateFulfillmentCall) Fields ¶ added in v0.18.0
func (c *ProjectsAgentUpdateFulfillmentCall) Fields(s ...googleapi.Field) *ProjectsAgentUpdateFulfillmentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentUpdateFulfillmentCall) Header ¶ added in v0.18.0
func (c *ProjectsAgentUpdateFulfillmentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentUpdateFulfillmentCall) UpdateMask ¶ added in v0.18.0
func (c *ProjectsAgentUpdateFulfillmentCall) UpdateMask(updateMask string) *ProjectsAgentUpdateFulfillmentCall
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 ProjectsAgentVersionsCreateCall ¶ added in v0.18.0
type ProjectsAgentVersionsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentVersionsCreateCall) Context ¶ added in v0.18.0
func (c *ProjectsAgentVersionsCreateCall) Context(ctx context.Context) *ProjectsAgentVersionsCreateCall
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 (*ProjectsAgentVersionsCreateCall) Do ¶ added in v0.18.0
func (c *ProjectsAgentVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Version, error)
Do executes the "dialogflow.projects.agent.versions.create" call. Exactly one of *GoogleCloudDialogflowV2beta1Version or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Version.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 (*ProjectsAgentVersionsCreateCall) Fields ¶ added in v0.18.0
func (c *ProjectsAgentVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsAgentVersionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentVersionsCreateCall) Header ¶ added in v0.18.0
func (c *ProjectsAgentVersionsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentVersionsDeleteCall ¶ added in v0.46.0
type ProjectsAgentVersionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentVersionsDeleteCall) Context ¶ added in v0.46.0
func (c *ProjectsAgentVersionsDeleteCall) Context(ctx context.Context) *ProjectsAgentVersionsDeleteCall
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 (*ProjectsAgentVersionsDeleteCall) Do ¶ added in v0.46.0
func (c *ProjectsAgentVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.agent.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 (*ProjectsAgentVersionsDeleteCall) Fields ¶ added in v0.46.0
func (c *ProjectsAgentVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsAgentVersionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentVersionsDeleteCall) Header ¶ added in v0.46.0
func (c *ProjectsAgentVersionsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsAgentVersionsGetCall ¶ added in v0.18.0
type ProjectsAgentVersionsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentVersionsGetCall) Context ¶ added in v0.18.0
func (c *ProjectsAgentVersionsGetCall) Context(ctx context.Context) *ProjectsAgentVersionsGetCall
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 (*ProjectsAgentVersionsGetCall) Do ¶ added in v0.18.0
func (c *ProjectsAgentVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Version, error)
Do executes the "dialogflow.projects.agent.versions.get" call. Exactly one of *GoogleCloudDialogflowV2beta1Version or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Version.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 (*ProjectsAgentVersionsGetCall) Fields ¶ added in v0.18.0
func (c *ProjectsAgentVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsAgentVersionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentVersionsGetCall) Header ¶ added in v0.18.0
func (c *ProjectsAgentVersionsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentVersionsGetCall) IfNoneMatch ¶ added in v0.18.0
func (c *ProjectsAgentVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsAgentVersionsGetCall
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 ProjectsAgentVersionsListCall ¶ added in v0.18.0
type ProjectsAgentVersionsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentVersionsListCall) Context ¶ added in v0.18.0
func (c *ProjectsAgentVersionsListCall) Context(ctx context.Context) *ProjectsAgentVersionsListCall
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 (*ProjectsAgentVersionsListCall) Do ¶ added in v0.18.0
func (c *ProjectsAgentVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListVersionsResponse, error)
Do executes the "dialogflow.projects.agent.versions.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListVersionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListVersionsResponse.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 (*ProjectsAgentVersionsListCall) Fields ¶ added in v0.18.0
func (c *ProjectsAgentVersionsListCall) Fields(s ...googleapi.Field) *ProjectsAgentVersionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentVersionsListCall) Header ¶ added in v0.18.0
func (c *ProjectsAgentVersionsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentVersionsListCall) IfNoneMatch ¶ added in v0.18.0
func (c *ProjectsAgentVersionsListCall) IfNoneMatch(entityTag string) *ProjectsAgentVersionsListCall
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 (*ProjectsAgentVersionsListCall) PageSize ¶ added in v0.18.0
func (c *ProjectsAgentVersionsListCall) PageSize(pageSize int64) *ProjectsAgentVersionsListCall
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 (*ProjectsAgentVersionsListCall) PageToken ¶ added in v0.18.0
func (c *ProjectsAgentVersionsListCall) PageToken(pageToken string) *ProjectsAgentVersionsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsAgentVersionsListCall) Pages ¶ added in v0.18.0
func (c *ProjectsAgentVersionsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListVersionsResponse) 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 ProjectsAgentVersionsPatchCall ¶ added in v0.18.0
type ProjectsAgentVersionsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAgentVersionsPatchCall) Context ¶ added in v0.18.0
func (c *ProjectsAgentVersionsPatchCall) Context(ctx context.Context) *ProjectsAgentVersionsPatchCall
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 (*ProjectsAgentVersionsPatchCall) Do ¶ added in v0.18.0
func (c *ProjectsAgentVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Version, error)
Do executes the "dialogflow.projects.agent.versions.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1Version or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Version.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 (*ProjectsAgentVersionsPatchCall) Fields ¶ added in v0.18.0
func (c *ProjectsAgentVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsAgentVersionsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAgentVersionsPatchCall) Header ¶ added in v0.18.0
func (c *ProjectsAgentVersionsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAgentVersionsPatchCall) UpdateMask ¶ added in v0.18.0
func (c *ProjectsAgentVersionsPatchCall) UpdateMask(updateMask string) *ProjectsAgentVersionsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The mask to control which fields get updated.
type ProjectsAgentVersionsService ¶ added in v0.18.0
type ProjectsAgentVersionsService struct {
// contains filtered or unexported fields
}
func NewProjectsAgentVersionsService ¶ added in v0.18.0
func NewProjectsAgentVersionsService(s *Service) *ProjectsAgentVersionsService
func (*ProjectsAgentVersionsService) Create ¶ added in v0.18.0
func (r *ProjectsAgentVersionsService) Create(parent string, googleclouddialogflowv2beta1version *GoogleCloudDialogflowV2beta1Version) *ProjectsAgentVersionsCreateCall
Create: Creates an agent version. The new version points to the agent instance in the "default" environment.
- parent: The agent to create a version for. Supported formats: - `projects//agent` - `projects//locations//agent`.
func (*ProjectsAgentVersionsService) Delete ¶ added in v0.46.0
func (r *ProjectsAgentVersionsService) Delete(name string) *ProjectsAgentVersionsDeleteCall
Delete: Delete the specified agent version.
- name: The name of the version to delete. Supported formats: - `projects//agent/versions/` - `projects//locations//agent/versions/`.
func (*ProjectsAgentVersionsService) Get ¶ added in v0.18.0
func (r *ProjectsAgentVersionsService) Get(name string) *ProjectsAgentVersionsGetCall
Get: Retrieves the specified agent version.
- name: The name of the version. Supported formats: - `projects//agent/versions/` - `projects//locations//agent/versions/`.
func (*ProjectsAgentVersionsService) List ¶ added in v0.18.0
func (r *ProjectsAgentVersionsService) List(parent string) *ProjectsAgentVersionsListCall
List: Returns the list of all versions of the specified agent.
- parent: The agent to list all versions from. Supported formats: - `projects//agent` - `projects//locations//agent`.
func (*ProjectsAgentVersionsService) Patch ¶ added in v0.18.0
func (r *ProjectsAgentVersionsService) Patch(nameid string, googleclouddialogflowv2beta1version *GoogleCloudDialogflowV2beta1Version) *ProjectsAgentVersionsPatchCall
Patch: Updates the specified agent version. Note that this method does not allow you to update the state of the agent the given version points to. It allows you to update only mutable properties of the version resource.
- name: Output only. The unique identifier of this agent version. Supported formats: - `projects//agent/versions/` - `projects//locations//agent/versions/`.
type ProjectsAnswerRecordsGetCall ¶ added in v0.42.0
type ProjectsAnswerRecordsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAnswerRecordsGetCall) Context ¶ added in v0.42.0
func (c *ProjectsAnswerRecordsGetCall) Context(ctx context.Context) *ProjectsAnswerRecordsGetCall
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 (*ProjectsAnswerRecordsGetCall) Do ¶ added in v0.42.0
func (c *ProjectsAnswerRecordsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1AnswerRecord, error)
Do executes the "dialogflow.projects.answerRecords.get" call. Exactly one of *GoogleCloudDialogflowV2beta1AnswerRecord or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1AnswerRecord.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 (*ProjectsAnswerRecordsGetCall) Fields ¶ added in v0.42.0
func (c *ProjectsAnswerRecordsGetCall) Fields(s ...googleapi.Field) *ProjectsAnswerRecordsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAnswerRecordsGetCall) Header ¶ added in v0.42.0
func (c *ProjectsAnswerRecordsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAnswerRecordsGetCall) IfNoneMatch ¶ added in v0.42.0
func (c *ProjectsAnswerRecordsGetCall) IfNoneMatch(entityTag string) *ProjectsAnswerRecordsGetCall
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 ProjectsAnswerRecordsListCall ¶ added in v0.42.0
type ProjectsAnswerRecordsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAnswerRecordsListCall) Context ¶ added in v0.42.0
func (c *ProjectsAnswerRecordsListCall) Context(ctx context.Context) *ProjectsAnswerRecordsListCall
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 (*ProjectsAnswerRecordsListCall) Do ¶ added in v0.42.0
func (c *ProjectsAnswerRecordsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse, error)
Do executes the "dialogflow.projects.answerRecords.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse.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 (*ProjectsAnswerRecordsListCall) Fields ¶ added in v0.42.0
func (c *ProjectsAnswerRecordsListCall) Fields(s ...googleapi.Field) *ProjectsAnswerRecordsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAnswerRecordsListCall) Filter ¶ added in v0.89.0
func (c *ProjectsAnswerRecordsListCall) Filter(filter string) *ProjectsAnswerRecordsListCall
Filter sets the optional parameter "filter": Filters to restrict results to specific answer records. For more information about filtering, see API Filtering (https://aip.dev/160).
func (*ProjectsAnswerRecordsListCall) Header ¶ added in v0.42.0
func (c *ProjectsAnswerRecordsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAnswerRecordsListCall) IfNoneMatch ¶ added in v0.42.0
func (c *ProjectsAnswerRecordsListCall) IfNoneMatch(entityTag string) *ProjectsAnswerRecordsListCall
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 (*ProjectsAnswerRecordsListCall) PageSize ¶ added in v0.42.0
func (c *ProjectsAnswerRecordsListCall) PageSize(pageSize int64) *ProjectsAnswerRecordsListCall
PageSize sets the optional parameter "pageSize": The maximum number of records to return in a single page. The server may return fewer records than this. If unspecified, we use 10. The maximum is 100.
func (*ProjectsAnswerRecordsListCall) PageToken ¶ added in v0.42.0
func (c *ProjectsAnswerRecordsListCall) PageToken(pageToken string) *ProjectsAnswerRecordsListCall
PageToken sets the optional parameter "pageToken": The ListAnswerRecordsResponse.next_page_token value returned from a previous list request used to continue listing on the next page.
func (*ProjectsAnswerRecordsListCall) Pages ¶ added in v0.42.0
func (c *ProjectsAnswerRecordsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse) 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 ProjectsAnswerRecordsPatchCall ¶ added in v0.42.0
type ProjectsAnswerRecordsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAnswerRecordsPatchCall) Context ¶ added in v0.42.0
func (c *ProjectsAnswerRecordsPatchCall) Context(ctx context.Context) *ProjectsAnswerRecordsPatchCall
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 (*ProjectsAnswerRecordsPatchCall) Do ¶ added in v0.42.0
func (c *ProjectsAnswerRecordsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1AnswerRecord, error)
Do executes the "dialogflow.projects.answerRecords.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1AnswerRecord or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1AnswerRecord.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 (*ProjectsAnswerRecordsPatchCall) Fields ¶ added in v0.42.0
func (c *ProjectsAnswerRecordsPatchCall) Fields(s ...googleapi.Field) *ProjectsAnswerRecordsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAnswerRecordsPatchCall) Header ¶ added in v0.42.0
func (c *ProjectsAnswerRecordsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAnswerRecordsPatchCall) UpdateMask ¶ added in v0.42.0
func (c *ProjectsAnswerRecordsPatchCall) UpdateMask(updateMask string) *ProjectsAnswerRecordsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The mask to control which fields get updated.
type ProjectsAnswerRecordsService ¶ added in v0.42.0
type ProjectsAnswerRecordsService struct {
// contains filtered or unexported fields
}
func NewProjectsAnswerRecordsService ¶ added in v0.42.0
func NewProjectsAnswerRecordsService(s *Service) *ProjectsAnswerRecordsService
func (*ProjectsAnswerRecordsService) Get ¶ added in v0.42.0
func (r *ProjectsAnswerRecordsService) Get(name string) *ProjectsAnswerRecordsGetCall
Get: Deprecated. Retrieves a specific answer record.
- name: The name of the answer record to retrieve. Format: `projects//locations//answerRecords/`.
func (*ProjectsAnswerRecordsService) List ¶ added in v0.42.0
func (r *ProjectsAnswerRecordsService) List(parent string) *ProjectsAnswerRecordsListCall
List: Returns the list of all answer records in the specified project in reverse chronological order.
- parent: The project to list all answer records for in reverse chronological order. Format: `projects//locations/`.
func (*ProjectsAnswerRecordsService) Patch ¶ added in v0.42.0
func (r *ProjectsAnswerRecordsService) Patch(nameid string, googleclouddialogflowv2beta1answerrecord *GoogleCloudDialogflowV2beta1AnswerRecord) *ProjectsAnswerRecordsPatchCall
Patch: Updates the specified answer record.
- name: The unique identifier of this answer record. Required for AnswerRecords.UpdateAnswerRecord method. Format: `projects//locations//answerRecords/`.
type ProjectsConversationProfilesClearSuggestionFeatureConfigCall ¶ added in v0.71.0
type ProjectsConversationProfilesClearSuggestionFeatureConfigCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationProfilesClearSuggestionFeatureConfigCall) Context ¶ added in v0.71.0
func (c *ProjectsConversationProfilesClearSuggestionFeatureConfigCall) Context(ctx context.Context) *ProjectsConversationProfilesClearSuggestionFeatureConfigCall
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 (*ProjectsConversationProfilesClearSuggestionFeatureConfigCall) Do ¶ added in v0.71.0
func (c *ProjectsConversationProfilesClearSuggestionFeatureConfigCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.conversationProfiles.clearSuggestionFeatureConfig" 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 (*ProjectsConversationProfilesClearSuggestionFeatureConfigCall) Fields ¶ added in v0.71.0
func (c *ProjectsConversationProfilesClearSuggestionFeatureConfigCall) Fields(s ...googleapi.Field) *ProjectsConversationProfilesClearSuggestionFeatureConfigCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationProfilesClearSuggestionFeatureConfigCall) Header ¶ added in v0.71.0
func (c *ProjectsConversationProfilesClearSuggestionFeatureConfigCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsConversationProfilesCreateCall ¶ added in v0.42.0
type ProjectsConversationProfilesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationProfilesCreateCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationProfilesCreateCall) Context(ctx context.Context) *ProjectsConversationProfilesCreateCall
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 (*ProjectsConversationProfilesCreateCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationProfilesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ConversationProfile, error)
Do executes the "dialogflow.projects.conversationProfiles.create" call. Exactly one of *GoogleCloudDialogflowV2beta1ConversationProfile or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ConversationProfile.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 (*ProjectsConversationProfilesCreateCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationProfilesCreateCall) Fields(s ...googleapi.Field) *ProjectsConversationProfilesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationProfilesCreateCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationProfilesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsConversationProfilesDeleteCall ¶ added in v0.42.0
type ProjectsConversationProfilesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationProfilesDeleteCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationProfilesDeleteCall) Context(ctx context.Context) *ProjectsConversationProfilesDeleteCall
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 (*ProjectsConversationProfilesDeleteCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationProfilesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.conversationProfiles.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 (*ProjectsConversationProfilesDeleteCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationProfilesDeleteCall) Fields(s ...googleapi.Field) *ProjectsConversationProfilesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationProfilesDeleteCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationProfilesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsConversationProfilesGetCall ¶ added in v0.42.0
type ProjectsConversationProfilesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationProfilesGetCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationProfilesGetCall) Context(ctx context.Context) *ProjectsConversationProfilesGetCall
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 (*ProjectsConversationProfilesGetCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationProfilesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ConversationProfile, error)
Do executes the "dialogflow.projects.conversationProfiles.get" call. Exactly one of *GoogleCloudDialogflowV2beta1ConversationProfile or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ConversationProfile.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 (*ProjectsConversationProfilesGetCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationProfilesGetCall) Fields(s ...googleapi.Field) *ProjectsConversationProfilesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationProfilesGetCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationProfilesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsConversationProfilesGetCall) IfNoneMatch ¶ added in v0.42.0
func (c *ProjectsConversationProfilesGetCall) IfNoneMatch(entityTag string) *ProjectsConversationProfilesGetCall
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 ProjectsConversationProfilesListCall ¶ added in v0.42.0
type ProjectsConversationProfilesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationProfilesListCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationProfilesListCall) Context(ctx context.Context) *ProjectsConversationProfilesListCall
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 (*ProjectsConversationProfilesListCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationProfilesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListConversationProfilesResponse, error)
Do executes the "dialogflow.projects.conversationProfiles.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListConversationProfilesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListConversationProfilesResponse.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 (*ProjectsConversationProfilesListCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationProfilesListCall) Fields(s ...googleapi.Field) *ProjectsConversationProfilesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationProfilesListCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationProfilesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsConversationProfilesListCall) IfNoneMatch ¶ added in v0.42.0
func (c *ProjectsConversationProfilesListCall) IfNoneMatch(entityTag string) *ProjectsConversationProfilesListCall
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 (*ProjectsConversationProfilesListCall) PageSize ¶ added in v0.42.0
func (c *ProjectsConversationProfilesListCall) PageSize(pageSize int64) *ProjectsConversationProfilesListCall
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 (*ProjectsConversationProfilesListCall) PageToken ¶ added in v0.42.0
func (c *ProjectsConversationProfilesListCall) PageToken(pageToken string) *ProjectsConversationProfilesListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsConversationProfilesListCall) Pages ¶ added in v0.42.0
func (c *ProjectsConversationProfilesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListConversationProfilesResponse) 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 ProjectsConversationProfilesPatchCall ¶ added in v0.42.0
type ProjectsConversationProfilesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationProfilesPatchCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationProfilesPatchCall) Context(ctx context.Context) *ProjectsConversationProfilesPatchCall
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 (*ProjectsConversationProfilesPatchCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationProfilesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ConversationProfile, error)
Do executes the "dialogflow.projects.conversationProfiles.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1ConversationProfile or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ConversationProfile.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 (*ProjectsConversationProfilesPatchCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationProfilesPatchCall) Fields(s ...googleapi.Field) *ProjectsConversationProfilesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationProfilesPatchCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationProfilesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsConversationProfilesPatchCall) UpdateMask ¶ added in v0.42.0
func (c *ProjectsConversationProfilesPatchCall) UpdateMask(updateMask string) *ProjectsConversationProfilesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The mask to control which fields to update.
type ProjectsConversationProfilesService ¶ added in v0.42.0
type ProjectsConversationProfilesService struct {
// contains filtered or unexported fields
}
func NewProjectsConversationProfilesService ¶ added in v0.42.0
func NewProjectsConversationProfilesService(s *Service) *ProjectsConversationProfilesService
func (*ProjectsConversationProfilesService) ClearSuggestionFeatureConfig ¶ added in v0.71.0
func (r *ProjectsConversationProfilesService) ClearSuggestionFeatureConfig(conversationProfile string, googleclouddialogflowv2beta1clearsuggestionfeatureconfigrequest *GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest) *ProjectsConversationProfilesClearSuggestionFeatureConfigCall
ClearSuggestionFeatureConfig: Clears a suggestion feature from a conversation profile for the given participant role. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: ClearSuggestionFeatureConfigOperationMetadata - `response`: ConversationProfile
- conversationProfile: The Conversation Profile to add or update the suggestion feature config. Format: `projects//locations//conversationProfiles/`.
func (*ProjectsConversationProfilesService) Create ¶ added in v0.42.0
func (r *ProjectsConversationProfilesService) Create(parent string, googleclouddialogflowv2beta1conversationprofile *GoogleCloudDialogflowV2beta1ConversationProfile) *ProjectsConversationProfilesCreateCall
Create: Creates a conversation profile in the specified project. ConversationProfile.CreateTime and ConversationProfile.UpdateTime aren't populated in the response. You can retrieve them via GetConversationProfile API.
- parent: The project to create a conversation profile for. Format: `projects//locations/`.
func (*ProjectsConversationProfilesService) Delete ¶ added in v0.42.0
func (r *ProjectsConversationProfilesService) Delete(name string) *ProjectsConversationProfilesDeleteCall
Delete: Deletes the specified conversation profile.
- name: The name of the conversation profile to delete. Format: `projects//locations//conversationProfiles/`.
func (*ProjectsConversationProfilesService) Get ¶ added in v0.42.0
func (r *ProjectsConversationProfilesService) Get(name string) *ProjectsConversationProfilesGetCall
Get: Retrieves the specified conversation profile.
- name: The resource name of the conversation profile. Format: `projects//locations//conversationProfiles/`.
func (*ProjectsConversationProfilesService) List ¶ added in v0.42.0
func (r *ProjectsConversationProfilesService) List(parent string) *ProjectsConversationProfilesListCall
List: Returns the list of all conversation profiles in the specified project.
- parent: The project to list all conversation profiles from. Format: `projects//locations/`.
func (*ProjectsConversationProfilesService) Patch ¶ added in v0.42.0
func (r *ProjectsConversationProfilesService) Patch(nameid string, googleclouddialogflowv2beta1conversationprofile *GoogleCloudDialogflowV2beta1ConversationProfile) *ProjectsConversationProfilesPatchCall
Patch: Updates the specified conversation profile. ConversationProfile.CreateTime and ConversationProfile.UpdateTime aren't populated in the response. You can retrieve them via GetConversationProfile API.
- name: The unique identifier of this conversation profile. Format: `projects//locations//conversationProfiles/`.
func (*ProjectsConversationProfilesService) SetSuggestionFeatureConfig ¶ added in v0.71.0
func (r *ProjectsConversationProfilesService) SetSuggestionFeatureConfig(conversationProfile string, googleclouddialogflowv2beta1setsuggestionfeatureconfigrequest *GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest) *ProjectsConversationProfilesSetSuggestionFeatureConfigCall
SetSuggestionFeatureConfig: Adds or updates a suggestion feature in a conversation profile. If the conversation profile contains the type of suggestion feature for the participant role, it will update it. Otherwise it will insert the suggestion feature. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: SetSuggestionFeatureConfigOperationMetadata - `response`: ConversationProfile If a long running operation to add or update suggestion feature config for the same conversation profile, participant role and suggestion feature type exists, please cancel the existing long running operation before sending such request, otherwise the request will be rejected.
- conversationProfile: The Conversation Profile to add or update the suggestion feature config. Format: `projects//locations//conversationProfiles/`.
type ProjectsConversationProfilesSetSuggestionFeatureConfigCall ¶ added in v0.71.0
type ProjectsConversationProfilesSetSuggestionFeatureConfigCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationProfilesSetSuggestionFeatureConfigCall) Context ¶ added in v0.71.0
func (c *ProjectsConversationProfilesSetSuggestionFeatureConfigCall) Context(ctx context.Context) *ProjectsConversationProfilesSetSuggestionFeatureConfigCall
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 (*ProjectsConversationProfilesSetSuggestionFeatureConfigCall) Do ¶ added in v0.71.0
func (c *ProjectsConversationProfilesSetSuggestionFeatureConfigCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.conversationProfiles.setSuggestionFeatureConfig" 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 (*ProjectsConversationProfilesSetSuggestionFeatureConfigCall) Fields ¶ added in v0.71.0
func (c *ProjectsConversationProfilesSetSuggestionFeatureConfigCall) Fields(s ...googleapi.Field) *ProjectsConversationProfilesSetSuggestionFeatureConfigCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationProfilesSetSuggestionFeatureConfigCall) Header ¶ added in v0.71.0
func (c *ProjectsConversationProfilesSetSuggestionFeatureConfigCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsConversationsCompleteCall ¶ added in v0.42.0
type ProjectsConversationsCompleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationsCompleteCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationsCompleteCall) Context(ctx context.Context) *ProjectsConversationsCompleteCall
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 (*ProjectsConversationsCompleteCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationsCompleteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Conversation, error)
Do executes the "dialogflow.projects.conversations.complete" call. Exactly one of *GoogleCloudDialogflowV2beta1Conversation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Conversation.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 (*ProjectsConversationsCompleteCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationsCompleteCall) Fields(s ...googleapi.Field) *ProjectsConversationsCompleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationsCompleteCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationsCompleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsConversationsCreateCall ¶ added in v0.42.0
type ProjectsConversationsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationsCreateCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationsCreateCall) Context(ctx context.Context) *ProjectsConversationsCreateCall
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 (*ProjectsConversationsCreateCall) ConversationId ¶ added in v0.42.0
func (c *ProjectsConversationsCreateCall) ConversationId(conversationId string) *ProjectsConversationsCreateCall
ConversationId sets the optional parameter "conversationId": Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula "a-zA-Z*" with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.
func (*ProjectsConversationsCreateCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Conversation, error)
Do executes the "dialogflow.projects.conversations.create" call. Exactly one of *GoogleCloudDialogflowV2beta1Conversation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Conversation.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 (*ProjectsConversationsCreateCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationsCreateCall) Fields(s ...googleapi.Field) *ProjectsConversationsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationsCreateCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsConversationsGetCall ¶ added in v0.42.0
type ProjectsConversationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationsGetCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationsGetCall) Context(ctx context.Context) *ProjectsConversationsGetCall
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 (*ProjectsConversationsGetCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Conversation, error)
Do executes the "dialogflow.projects.conversations.get" call. Exactly one of *GoogleCloudDialogflowV2beta1Conversation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Conversation.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 (*ProjectsConversationsGetCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationsGetCall) Fields(s ...googleapi.Field) *ProjectsConversationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationsGetCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsConversationsGetCall) IfNoneMatch ¶ added in v0.42.0
func (c *ProjectsConversationsGetCall) IfNoneMatch(entityTag string) *ProjectsConversationsGetCall
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 ProjectsConversationsListCall ¶ added in v0.42.0
type ProjectsConversationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationsListCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationsListCall) Context(ctx context.Context) *ProjectsConversationsListCall
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 (*ProjectsConversationsListCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListConversationsResponse, error)
Do executes the "dialogflow.projects.conversations.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListConversationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListConversationsResponse.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 (*ProjectsConversationsListCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationsListCall) Fields(s ...googleapi.Field) *ProjectsConversationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationsListCall) Filter ¶ added in v0.42.0
func (c *ProjectsConversationsListCall) Filter(filter string) *ProjectsConversationsListCall
Filter sets the optional parameter "filter": A filter expression that filters conversations listed in the response. In general, the expression must specify the field name, a comparison operator, and the value to use for filtering: - The value must be a string, a number, or a boolean. - The comparison operator must be either `=`,`!=`, `>`, or `<`. - To filter on multiple expressions, separate the expressions with `AND` or `OR` (omitting both implies `AND`). - For clarity, expressions can be enclosed in parentheses. Only `lifecycle_state` can be filtered on in this way. For example, the following expression only returns `COMPLETED` conversations: `lifecycle_state = "COMPLETED" For more information about filtering, see API Filtering (https://aip.dev/160).
func (*ProjectsConversationsListCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsConversationsListCall) IfNoneMatch ¶ added in v0.42.0
func (c *ProjectsConversationsListCall) IfNoneMatch(entityTag string) *ProjectsConversationsListCall
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 (*ProjectsConversationsListCall) PageSize ¶ added in v0.42.0
func (c *ProjectsConversationsListCall) PageSize(pageSize int64) *ProjectsConversationsListCall
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 (*ProjectsConversationsListCall) PageToken ¶ added in v0.42.0
func (c *ProjectsConversationsListCall) PageToken(pageToken string) *ProjectsConversationsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsConversationsListCall) Pages ¶ added in v0.42.0
func (c *ProjectsConversationsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListConversationsResponse) 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 ProjectsConversationsMessagesBatchCreateCall ¶ added in v0.42.0
type ProjectsConversationsMessagesBatchCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationsMessagesBatchCreateCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationsMessagesBatchCreateCall) Context(ctx context.Context) *ProjectsConversationsMessagesBatchCreateCall
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 (*ProjectsConversationsMessagesBatchCreateCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationsMessagesBatchCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse, error)
Do executes the "dialogflow.projects.conversations.messages.batchCreate" call. Exactly one of *GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse.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 (*ProjectsConversationsMessagesBatchCreateCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationsMessagesBatchCreateCall) Fields(s ...googleapi.Field) *ProjectsConversationsMessagesBatchCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationsMessagesBatchCreateCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationsMessagesBatchCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsConversationsMessagesListCall ¶ added in v0.42.0
type ProjectsConversationsMessagesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationsMessagesListCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationsMessagesListCall) Context(ctx context.Context) *ProjectsConversationsMessagesListCall
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 (*ProjectsConversationsMessagesListCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationsMessagesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListMessagesResponse, error)
Do executes the "dialogflow.projects.conversations.messages.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListMessagesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListMessagesResponse.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 (*ProjectsConversationsMessagesListCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationsMessagesListCall) Fields(s ...googleapi.Field) *ProjectsConversationsMessagesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationsMessagesListCall) Filter ¶ added in v0.42.0
func (c *ProjectsConversationsMessagesListCall) Filter(filter string) *ProjectsConversationsMessagesListCall
Filter sets the optional parameter "filter": Filter on message fields. Currently predicates on `create_time` and `create_time_epoch_microseconds` are supported. `create_time` only support milliseconds accuracy. E.g., `create_time_epoch_microseconds > 1551790877964485` or `create_time > "2017-01-15T01:30:15.01Z". For more information about filtering, see API Filtering (https://aip.dev/160).
func (*ProjectsConversationsMessagesListCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationsMessagesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsConversationsMessagesListCall) IfNoneMatch ¶ added in v0.42.0
func (c *ProjectsConversationsMessagesListCall) IfNoneMatch(entityTag string) *ProjectsConversationsMessagesListCall
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 (*ProjectsConversationsMessagesListCall) PageSize ¶ added in v0.42.0
func (c *ProjectsConversationsMessagesListCall) PageSize(pageSize int64) *ProjectsConversationsMessagesListCall
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 (*ProjectsConversationsMessagesListCall) PageToken ¶ added in v0.42.0
func (c *ProjectsConversationsMessagesListCall) PageToken(pageToken string) *ProjectsConversationsMessagesListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsConversationsMessagesListCall) Pages ¶ added in v0.42.0
func (c *ProjectsConversationsMessagesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListMessagesResponse) 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 ProjectsConversationsMessagesService ¶ added in v0.42.0
type ProjectsConversationsMessagesService struct {
// contains filtered or unexported fields
}
func NewProjectsConversationsMessagesService ¶ added in v0.42.0
func NewProjectsConversationsMessagesService(s *Service) *ProjectsConversationsMessagesService
func (*ProjectsConversationsMessagesService) BatchCreate ¶ added in v0.42.0
func (r *ProjectsConversationsMessagesService) BatchCreate(parentid string, googleclouddialogflowv2beta1batchcreatemessagesrequest *GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest) *ProjectsConversationsMessagesBatchCreateCall
BatchCreate: Batch ingests messages to conversation. Customers can use this RPC to ingest historical messages to conversation.
- parent: Resource identifier of the conversation to create message. Format: `projects//locations//conversations/`.
func (*ProjectsConversationsMessagesService) List ¶ added in v0.42.0
func (r *ProjectsConversationsMessagesService) List(parent string) *ProjectsConversationsMessagesListCall
List: Lists messages that belong to a given conversation. `messages` are ordered by `create_time` in descending order. To fetch updates without duplication, send request with filter `create_time_epoch_microseconds > [first item's create_time of previous request]` and empty page_token.
- parent: The name of the conversation to list messages for. Format: `projects//locations//conversations/`.
type ProjectsConversationsParticipantsAnalyzeContentCall ¶ added in v0.42.0
type ProjectsConversationsParticipantsAnalyzeContentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationsParticipantsAnalyzeContentCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsAnalyzeContentCall) Context(ctx context.Context) *ProjectsConversationsParticipantsAnalyzeContentCall
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 (*ProjectsConversationsParticipantsAnalyzeContentCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsAnalyzeContentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1AnalyzeContentResponse, error)
Do executes the "dialogflow.projects.conversations.participants.analyzeContent" call. Exactly one of *GoogleCloudDialogflowV2beta1AnalyzeContentResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1AnalyzeContentResponse.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 (*ProjectsConversationsParticipantsAnalyzeContentCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsAnalyzeContentCall) Fields(s ...googleapi.Field) *ProjectsConversationsParticipantsAnalyzeContentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationsParticipantsAnalyzeContentCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsAnalyzeContentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsConversationsParticipantsCreateCall ¶ added in v0.42.0
type ProjectsConversationsParticipantsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationsParticipantsCreateCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsCreateCall) Context(ctx context.Context) *ProjectsConversationsParticipantsCreateCall
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 (*ProjectsConversationsParticipantsCreateCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Participant, error)
Do executes the "dialogflow.projects.conversations.participants.create" call. Exactly one of *GoogleCloudDialogflowV2beta1Participant or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Participant.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 (*ProjectsConversationsParticipantsCreateCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsCreateCall) Fields(s ...googleapi.Field) *ProjectsConversationsParticipantsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationsParticipantsCreateCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsConversationsParticipantsGetCall ¶ added in v0.42.0
type ProjectsConversationsParticipantsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationsParticipantsGetCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsGetCall) Context(ctx context.Context) *ProjectsConversationsParticipantsGetCall
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 (*ProjectsConversationsParticipantsGetCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Participant, error)
Do executes the "dialogflow.projects.conversations.participants.get" call. Exactly one of *GoogleCloudDialogflowV2beta1Participant or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Participant.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 (*ProjectsConversationsParticipantsGetCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsGetCall) Fields(s ...googleapi.Field) *ProjectsConversationsParticipantsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationsParticipantsGetCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsConversationsParticipantsGetCall) IfNoneMatch ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsGetCall) IfNoneMatch(entityTag string) *ProjectsConversationsParticipantsGetCall
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 ProjectsConversationsParticipantsListCall ¶ added in v0.42.0
type ProjectsConversationsParticipantsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationsParticipantsListCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsListCall) Context(ctx context.Context) *ProjectsConversationsParticipantsListCall
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 (*ProjectsConversationsParticipantsListCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListParticipantsResponse, error)
Do executes the "dialogflow.projects.conversations.participants.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListParticipantsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListParticipantsResponse.ServerResponse.H eader 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 (*ProjectsConversationsParticipantsListCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsListCall) Fields(s ...googleapi.Field) *ProjectsConversationsParticipantsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationsParticipantsListCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsConversationsParticipantsListCall) IfNoneMatch ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsListCall) IfNoneMatch(entityTag string) *ProjectsConversationsParticipantsListCall
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 (*ProjectsConversationsParticipantsListCall) PageSize ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsListCall) PageSize(pageSize int64) *ProjectsConversationsParticipantsListCall
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 (*ProjectsConversationsParticipantsListCall) PageToken ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsListCall) PageToken(pageToken string) *ProjectsConversationsParticipantsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsConversationsParticipantsListCall) Pages ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListParticipantsResponse) 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 ProjectsConversationsParticipantsPatchCall ¶ added in v0.42.0
type ProjectsConversationsParticipantsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationsParticipantsPatchCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsPatchCall) Context(ctx context.Context) *ProjectsConversationsParticipantsPatchCall
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 (*ProjectsConversationsParticipantsPatchCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Participant, error)
Do executes the "dialogflow.projects.conversations.participants.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1Participant or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Participant.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 (*ProjectsConversationsParticipantsPatchCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsPatchCall) Fields(s ...googleapi.Field) *ProjectsConversationsParticipantsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationsParticipantsPatchCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsConversationsParticipantsPatchCall) UpdateMask ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsPatchCall) UpdateMask(updateMask string) *ProjectsConversationsParticipantsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The mask to specify which fields to update.
type ProjectsConversationsParticipantsService ¶ added in v0.42.0
type ProjectsConversationsParticipantsService struct { Suggestions *ProjectsConversationsParticipantsSuggestionsService // contains filtered or unexported fields }
func NewProjectsConversationsParticipantsService ¶ added in v0.42.0
func NewProjectsConversationsParticipantsService(s *Service) *ProjectsConversationsParticipantsService
func (*ProjectsConversationsParticipantsService) AnalyzeContent ¶ added in v0.42.0
func (r *ProjectsConversationsParticipantsService) AnalyzeContent(participant string, googleclouddialogflowv2beta1analyzecontentrequest *GoogleCloudDialogflowV2beta1AnalyzeContentRequest) *ProjectsConversationsParticipantsAnalyzeContentCall
AnalyzeContent: Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation. Note: Always use agent versions for production traffic sent to virtual agents. See Versions and environments (https://cloud.google.com/dialogflow/es/docs/agents-versions).
- participant: The name of the participant this text comes from. Format: `projects//locations//conversations//participants/`.
func (*ProjectsConversationsParticipantsService) Create ¶ added in v0.42.0
func (r *ProjectsConversationsParticipantsService) Create(parentid string, googleclouddialogflowv2beta1participant *GoogleCloudDialogflowV2beta1Participant) *ProjectsConversationsParticipantsCreateCall
Create: Creates a new participant in a conversation.
- parent: Resource identifier of the conversation adding the participant. Format: `projects//locations//conversations/`.
func (*ProjectsConversationsParticipantsService) Get ¶ added in v0.42.0
func (r *ProjectsConversationsParticipantsService) Get(name string) *ProjectsConversationsParticipantsGetCall
Get: Retrieves a conversation participant.
- name: The name of the participant. Format: `projects//locations//conversations//participants/`.
func (*ProjectsConversationsParticipantsService) List ¶ added in v0.42.0
func (r *ProjectsConversationsParticipantsService) List(parent string) *ProjectsConversationsParticipantsListCall
List: Returns the list of all participants in the specified conversation.
- parent: The conversation to list all participants from. Format: `projects//locations//conversations/`.
func (*ProjectsConversationsParticipantsService) Patch ¶ added in v0.42.0
func (r *ProjectsConversationsParticipantsService) Patch(nameid string, googleclouddialogflowv2beta1participant *GoogleCloudDialogflowV2beta1Participant) *ProjectsConversationsParticipantsPatchCall
Patch: Updates the specified participant.
- name: Optional. The unique identifier of this participant. Format: `projects//locations//conversations//participants/`.
type ProjectsConversationsParticipantsSuggestionsCompileCall ¶ added in v0.42.0
type ProjectsConversationsParticipantsSuggestionsCompileCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationsParticipantsSuggestionsCompileCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsCompileCall) Context(ctx context.Context) *ProjectsConversationsParticipantsSuggestionsCompileCall
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 (*ProjectsConversationsParticipantsSuggestionsCompileCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsCompileCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1CompileSuggestionResponse, error)
Do executes the "dialogflow.projects.conversations.participants.suggestions.compile" call. Exactly one of *GoogleCloudDialogflowV2beta1CompileSuggestionResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1CompileSuggestionResponse.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 (*ProjectsConversationsParticipantsSuggestionsCompileCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsCompileCall) Fields(s ...googleapi.Field) *ProjectsConversationsParticipantsSuggestionsCompileCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationsParticipantsSuggestionsCompileCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsCompileCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsConversationsParticipantsSuggestionsListCall ¶ added in v0.42.0
type ProjectsConversationsParticipantsSuggestionsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationsParticipantsSuggestionsListCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsListCall) Context(ctx context.Context) *ProjectsConversationsParticipantsSuggestionsListCall
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 (*ProjectsConversationsParticipantsSuggestionsListCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListSuggestionsResponse, error)
Do executes the "dialogflow.projects.conversations.participants.suggestions.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListSuggestionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListSuggestionsResponse.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 (*ProjectsConversationsParticipantsSuggestionsListCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsListCall) Fields(s ...googleapi.Field) *ProjectsConversationsParticipantsSuggestionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationsParticipantsSuggestionsListCall) Filter ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsListCall) Filter(filter string) *ProjectsConversationsParticipantsSuggestionsListCall
Filter sets the optional parameter "filter": Filter on suggestions fields. Currently predicates on `create_time` and `create_time_epoch_microseconds` are supported. `create_time` only support milliseconds accuracy. E.g., `create_time_epoch_microseconds > 1551790877964485` or `create_time > "2017-01-15T01:30:15.01Z" For more information about filtering, see API Filtering (https://aip.dev/160).
func (*ProjectsConversationsParticipantsSuggestionsListCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsConversationsParticipantsSuggestionsListCall) IfNoneMatch ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsListCall) IfNoneMatch(entityTag string) *ProjectsConversationsParticipantsSuggestionsListCall
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 (*ProjectsConversationsParticipantsSuggestionsListCall) PageSize ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsListCall) PageSize(pageSize int64) *ProjectsConversationsParticipantsSuggestionsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. The default value is 100; the maximum value is 1000.
func (*ProjectsConversationsParticipantsSuggestionsListCall) PageToken ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsListCall) PageToken(pageToken string) *ProjectsConversationsParticipantsSuggestionsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsConversationsParticipantsSuggestionsListCall) Pages ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListSuggestionsResponse) 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 ProjectsConversationsParticipantsSuggestionsService ¶ added in v0.42.0
type ProjectsConversationsParticipantsSuggestionsService struct {
// contains filtered or unexported fields
}
func NewProjectsConversationsParticipantsSuggestionsService ¶ added in v0.42.0
func NewProjectsConversationsParticipantsSuggestionsService(s *Service) *ProjectsConversationsParticipantsSuggestionsService
func (*ProjectsConversationsParticipantsSuggestionsService) Compile ¶ added in v0.42.0
func (r *ProjectsConversationsParticipantsSuggestionsService) Compile(parent string, googleclouddialogflowv2beta1compilesuggestionrequest *GoogleCloudDialogflowV2beta1CompileSuggestionRequest) *ProjectsConversationsParticipantsSuggestionsCompileCall
Compile: Deprecated. use SuggestArticles and SuggestFaqAnswers instead. Gets suggestions for a participant based on specific historical messages. Note that ListSuggestions will only list the auto-generated suggestions, while CompileSuggestion will try to compile suggestion based on the provided conversation context in the real time.
- parent: The name of the participant to fetch suggestion for. Format: `projects//locations//conversations//participants/`.
func (*ProjectsConversationsParticipantsSuggestionsService) List ¶ added in v0.42.0
func (r *ProjectsConversationsParticipantsSuggestionsService) List(parent string) *ProjectsConversationsParticipantsSuggestionsListCall
List: Deprecated: Use inline suggestion, event based suggestion or Suggestion* API instead. See HumanAgentAssistantConfig.name for more details. Removal Date: 2020-09-01. Retrieves suggestions for live agents. This method should be used by human agent client software to fetch auto generated suggestions in real-time, while the conversation with an end user is in progress. The functionality is implemented in terms of the list pagination (https://cloud.google.com/apis/design/design_patterns#list_pagination) design pattern. The client app should use the `next_page_token` field to fetch the next batch of suggestions. `suggestions` are sorted by `create_time` in descending order. To fetch latest suggestion, just set `page_size` to 1. To fetch new suggestions without duplication, send request with filter `create_time_epoch_microseconds > [first item's create_time of previous request]` and empty page_token.
- parent: The name of the participant to fetch suggestions for. Format: `projects//locations//conversations//participants/`.
func (*ProjectsConversationsParticipantsSuggestionsService) SuggestArticles ¶ added in v0.42.0
func (r *ProjectsConversationsParticipantsSuggestionsService) SuggestArticles(parent string, googleclouddialogflowv2beta1suggestarticlesrequest *GoogleCloudDialogflowV2beta1SuggestArticlesRequest) *ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall
SuggestArticles: Gets suggested articles for a participant based on specific historical messages. Note that ListSuggestions will only list the auto-generated suggestions, while CompileSuggestion will try to compile suggestion based on the provided conversation context in the real time.
- parent: The name of the participant to fetch suggestion for. Format: `projects//locations//conversations//participants/`.
func (*ProjectsConversationsParticipantsSuggestionsService) SuggestFaqAnswers ¶ added in v0.42.0
func (r *ProjectsConversationsParticipantsSuggestionsService) SuggestFaqAnswers(parent string, googleclouddialogflowv2beta1suggestfaqanswersrequest *GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest) *ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall
SuggestFaqAnswers: Gets suggested faq answers for a participant based on specific historical messages.
- parent: The name of the participant to fetch suggestion for. Format: `projects//locations//conversations//participants/`.
func (*ProjectsConversationsParticipantsSuggestionsService) SuggestSmartReplies ¶ added in v0.42.0
func (r *ProjectsConversationsParticipantsSuggestionsService) SuggestSmartReplies(parent string, googleclouddialogflowv2beta1suggestsmartrepliesrequest *GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest) *ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall
SuggestSmartReplies: Gets smart replies for a participant based on specific historical messages.
- parent: The name of the participant to fetch suggestion for. Format: `projects//locations//conversations//participants/`.
type ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall ¶ added in v0.42.0
type ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall) Context(ctx context.Context) *ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall
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 (*ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SuggestArticlesResponse, error)
Do executes the "dialogflow.projects.conversations.participants.suggestions.suggestArticles" call. Exactly one of *GoogleCloudDialogflowV2beta1SuggestArticlesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SuggestArticlesResponse.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 (*ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall) Fields(s ...googleapi.Field) *ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsSuggestArticlesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall ¶ added in v0.42.0
type ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Context(ctx context.Context) *ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall
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 (*ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse, error)
Do executes the "dialogflow.projects.conversations.participants.suggestions.suggestFaqAnswers" call. Exactly one of *GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse.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 (*ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Fields(s ...googleapi.Field) *ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall ¶ added in v0.42.0
type ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Context ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Context(ctx context.Context) *ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall
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 (*ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Do ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse, error)
Do executes the "dialogflow.projects.conversations.participants.suggestions.suggestSmartReplies" call. Exactly one of *GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse.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 (*ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Fields ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Fields(s ...googleapi.Field) *ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Header ¶ added in v0.42.0
func (c *ProjectsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsConversationsService ¶ added in v0.42.0
type ProjectsConversationsService struct { Messages *ProjectsConversationsMessagesService Participants *ProjectsConversationsParticipantsService Suggestions *ProjectsConversationsSuggestionsService // contains filtered or unexported fields }
func NewProjectsConversationsService ¶ added in v0.42.0
func NewProjectsConversationsService(s *Service) *ProjectsConversationsService
func (*ProjectsConversationsService) Complete ¶ added in v0.42.0
func (r *ProjectsConversationsService) Complete(nameid string, googleclouddialogflowv2beta1completeconversationrequest *GoogleCloudDialogflowV2beta1CompleteConversationRequest) *ProjectsConversationsCompleteCall
Complete: Completes the specified conversation. Finished conversations are purged from the database after 30 days.
- name: Resource identifier of the conversation to close. Format: `projects//locations//conversations/`.
func (*ProjectsConversationsService) Create ¶ added in v0.42.0
func (r *ProjectsConversationsService) Create(parentid string, googleclouddialogflowv2beta1conversation *GoogleCloudDialogflowV2beta1Conversation) *ProjectsConversationsCreateCall
Create: Creates a new conversation. Conversations are auto-completed after 24 hours. Conversation Lifecycle: There are two stages during a conversation: Automated Agent Stage and Assist Stage. For Automated Agent Stage, there will be a dialogflow agent responding to user queries. For Assist Stage, there's no dialogflow agent responding to user queries. But we will provide suggestions which are generated from conversation. If Conversation.conversation_profile is configured for a dialogflow agent, conversation will start from `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And during `Automated Agent Stage`, once an Intent with Intent.live_agent_handoff is triggered, conversation will transfer to Assist Stage.
- parent: Resource identifier of the project creating the conversation. Format: `projects//locations/`.
func (*ProjectsConversationsService) Get ¶ added in v0.42.0
func (r *ProjectsConversationsService) Get(name string) *ProjectsConversationsGetCall
Get: Retrieves the specific conversation.
- name: The name of the conversation. Format: `projects//locations//conversations/`.
func (*ProjectsConversationsService) List ¶ added in v0.42.0
func (r *ProjectsConversationsService) List(parent string) *ProjectsConversationsListCall
List: Returns the list of all conversations in the specified project.
- parent: The project from which to list all conversation. Format: `projects//locations/`.
type ProjectsConversationsSuggestionsService ¶ added in v0.96.0
type ProjectsConversationsSuggestionsService struct {
// contains filtered or unexported fields
}
func NewProjectsConversationsSuggestionsService ¶ added in v0.96.0
func NewProjectsConversationsSuggestionsService(s *Service) *ProjectsConversationsSuggestionsService
func (*ProjectsConversationsSuggestionsService) SuggestConversationSummary ¶ added in v0.96.0
func (r *ProjectsConversationsSuggestionsService) SuggestConversationSummary(conversation string, googleclouddialogflowv2beta1suggestconversationsummaryrequest *GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest) *ProjectsConversationsSuggestionsSuggestConversationSummaryCall
SuggestConversationSummary: Suggest summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.
- conversation: The conversation to fetch suggestion for. Format: `projects//locations//conversations/`.
type ProjectsConversationsSuggestionsSuggestConversationSummaryCall ¶ added in v0.96.0
type ProjectsConversationsSuggestionsSuggestConversationSummaryCall struct {
// contains filtered or unexported fields
}
func (*ProjectsConversationsSuggestionsSuggestConversationSummaryCall) Context ¶ added in v0.96.0
func (c *ProjectsConversationsSuggestionsSuggestConversationSummaryCall) Context(ctx context.Context) *ProjectsConversationsSuggestionsSuggestConversationSummaryCall
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 (*ProjectsConversationsSuggestionsSuggestConversationSummaryCall) Do ¶ added in v0.96.0
func (c *ProjectsConversationsSuggestionsSuggestConversationSummaryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse, error)
Do executes the "dialogflow.projects.conversations.suggestions.suggestConversationSummary" call. Exactly one of *GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse.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 (*ProjectsConversationsSuggestionsSuggestConversationSummaryCall) Fields ¶ added in v0.96.0
func (c *ProjectsConversationsSuggestionsSuggestConversationSummaryCall) Fields(s ...googleapi.Field) *ProjectsConversationsSuggestionsSuggestConversationSummaryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsConversationsSuggestionsSuggestConversationSummaryCall) Header ¶ added in v0.96.0
func (c *ProjectsConversationsSuggestionsSuggestConversationSummaryCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsDeleteAgentCall ¶ added in v0.7.0
type ProjectsDeleteAgentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsDeleteAgentCall) Context ¶ added in v0.7.0
func (c *ProjectsDeleteAgentCall) Context(ctx context.Context) *ProjectsDeleteAgentCall
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 (*ProjectsDeleteAgentCall) Do ¶ added in v0.7.0
func (c *ProjectsDeleteAgentCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.deleteAgent" 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 (*ProjectsDeleteAgentCall) Fields ¶ added in v0.7.0
func (c *ProjectsDeleteAgentCall) Fields(s ...googleapi.Field) *ProjectsDeleteAgentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsDeleteAgentCall) Header ¶ added in v0.7.0
func (c *ProjectsDeleteAgentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsGetAgentCall ¶
type ProjectsGetAgentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsGetAgentCall) Context ¶
func (c *ProjectsGetAgentCall) Context(ctx context.Context) *ProjectsGetAgentCall
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 (*ProjectsGetAgentCall) Do ¶
func (c *ProjectsGetAgentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Agent, error)
Do executes the "dialogflow.projects.getAgent" call. Exactly one of *GoogleCloudDialogflowV2beta1Agent or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Agent.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 (*ProjectsGetAgentCall) Fields ¶
func (c *ProjectsGetAgentCall) Fields(s ...googleapi.Field) *ProjectsGetAgentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsGetAgentCall) Header ¶
func (c *ProjectsGetAgentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsGetAgentCall) IfNoneMatch ¶
func (c *ProjectsGetAgentCall) IfNoneMatch(entityTag string) *ProjectsGetAgentCall
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 ProjectsKnowledgeBasesCreateCall ¶
type ProjectsKnowledgeBasesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsKnowledgeBasesCreateCall) Context ¶
func (c *ProjectsKnowledgeBasesCreateCall) Context(ctx context.Context) *ProjectsKnowledgeBasesCreateCall
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 (*ProjectsKnowledgeBasesCreateCall) Do ¶
func (c *ProjectsKnowledgeBasesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1KnowledgeBase, error)
Do executes the "dialogflow.projects.knowledgeBases.create" call. Exactly one of *GoogleCloudDialogflowV2beta1KnowledgeBase or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1KnowledgeBase.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 (*ProjectsKnowledgeBasesCreateCall) Fields ¶
func (c *ProjectsKnowledgeBasesCreateCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsKnowledgeBasesCreateCall) Header ¶
func (c *ProjectsKnowledgeBasesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsKnowledgeBasesDeleteCall ¶
type ProjectsKnowledgeBasesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsKnowledgeBasesDeleteCall) Context ¶
func (c *ProjectsKnowledgeBasesDeleteCall) Context(ctx context.Context) *ProjectsKnowledgeBasesDeleteCall
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 (*ProjectsKnowledgeBasesDeleteCall) Do ¶
func (c *ProjectsKnowledgeBasesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.knowledgeBases.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 (*ProjectsKnowledgeBasesDeleteCall) Fields ¶
func (c *ProjectsKnowledgeBasesDeleteCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsKnowledgeBasesDeleteCall) Force ¶
func (c *ProjectsKnowledgeBasesDeleteCall) Force(force bool) *ProjectsKnowledgeBasesDeleteCall
Force sets the optional parameter "force": Force deletes the knowledge base. When set to true, any documents in the knowledge base are also deleted.
func (*ProjectsKnowledgeBasesDeleteCall) Header ¶
func (c *ProjectsKnowledgeBasesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsKnowledgeBasesDocumentsCreateCall ¶
type ProjectsKnowledgeBasesDocumentsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsKnowledgeBasesDocumentsCreateCall) Context ¶
func (c *ProjectsKnowledgeBasesDocumentsCreateCall) Context(ctx context.Context) *ProjectsKnowledgeBasesDocumentsCreateCall
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 (*ProjectsKnowledgeBasesDocumentsCreateCall) Do ¶
func (c *ProjectsKnowledgeBasesDocumentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.knowledgeBases.documents.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 (*ProjectsKnowledgeBasesDocumentsCreateCall) Fields ¶
func (c *ProjectsKnowledgeBasesDocumentsCreateCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesDocumentsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsKnowledgeBasesDocumentsCreateCall) Header ¶
func (c *ProjectsKnowledgeBasesDocumentsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsKnowledgeBasesDocumentsCreateCall) ImportGcsCustomMetadata ¶ added in v0.36.0
func (c *ProjectsKnowledgeBasesDocumentsCreateCall) ImportGcsCustomMetadata(importGcsCustomMetadata bool) *ProjectsKnowledgeBasesDocumentsCreateCall
ImportGcsCustomMetadata sets the optional parameter "importGcsCustomMetadata": Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.
type ProjectsKnowledgeBasesDocumentsDeleteCall ¶
type ProjectsKnowledgeBasesDocumentsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsKnowledgeBasesDocumentsDeleteCall) Context ¶
func (c *ProjectsKnowledgeBasesDocumentsDeleteCall) Context(ctx context.Context) *ProjectsKnowledgeBasesDocumentsDeleteCall
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 (*ProjectsKnowledgeBasesDocumentsDeleteCall) Do ¶
func (c *ProjectsKnowledgeBasesDocumentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.knowledgeBases.documents.delete" 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 (*ProjectsKnowledgeBasesDocumentsDeleteCall) Fields ¶
func (c *ProjectsKnowledgeBasesDocumentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesDocumentsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsKnowledgeBasesDocumentsDeleteCall) Header ¶
func (c *ProjectsKnowledgeBasesDocumentsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsKnowledgeBasesDocumentsGetCall ¶
type ProjectsKnowledgeBasesDocumentsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsKnowledgeBasesDocumentsGetCall) Context ¶
func (c *ProjectsKnowledgeBasesDocumentsGetCall) Context(ctx context.Context) *ProjectsKnowledgeBasesDocumentsGetCall
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 (*ProjectsKnowledgeBasesDocumentsGetCall) Do ¶
func (c *ProjectsKnowledgeBasesDocumentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Document, error)
Do executes the "dialogflow.projects.knowledgeBases.documents.get" call. Exactly one of *GoogleCloudDialogflowV2beta1Document or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Document.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 (*ProjectsKnowledgeBasesDocumentsGetCall) Fields ¶
func (c *ProjectsKnowledgeBasesDocumentsGetCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesDocumentsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsKnowledgeBasesDocumentsGetCall) Header ¶
func (c *ProjectsKnowledgeBasesDocumentsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsKnowledgeBasesDocumentsGetCall) IfNoneMatch ¶
func (c *ProjectsKnowledgeBasesDocumentsGetCall) IfNoneMatch(entityTag string) *ProjectsKnowledgeBasesDocumentsGetCall
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 ProjectsKnowledgeBasesDocumentsImportCall ¶ added in v0.42.0
type ProjectsKnowledgeBasesDocumentsImportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsKnowledgeBasesDocumentsImportCall) Context ¶ added in v0.42.0
func (c *ProjectsKnowledgeBasesDocumentsImportCall) Context(ctx context.Context) *ProjectsKnowledgeBasesDocumentsImportCall
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 (*ProjectsKnowledgeBasesDocumentsImportCall) Do ¶ added in v0.42.0
func (c *ProjectsKnowledgeBasesDocumentsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.knowledgeBases.documents.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 (*ProjectsKnowledgeBasesDocumentsImportCall) Fields ¶ added in v0.42.0
func (c *ProjectsKnowledgeBasesDocumentsImportCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesDocumentsImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsKnowledgeBasesDocumentsImportCall) Header ¶ added in v0.42.0
func (c *ProjectsKnowledgeBasesDocumentsImportCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsKnowledgeBasesDocumentsListCall ¶
type ProjectsKnowledgeBasesDocumentsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsKnowledgeBasesDocumentsListCall) Context ¶
func (c *ProjectsKnowledgeBasesDocumentsListCall) Context(ctx context.Context) *ProjectsKnowledgeBasesDocumentsListCall
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 (*ProjectsKnowledgeBasesDocumentsListCall) Do ¶
func (c *ProjectsKnowledgeBasesDocumentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListDocumentsResponse, error)
Do executes the "dialogflow.projects.knowledgeBases.documents.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListDocumentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListDocumentsResponse.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 (*ProjectsKnowledgeBasesDocumentsListCall) Fields ¶
func (c *ProjectsKnowledgeBasesDocumentsListCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesDocumentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsKnowledgeBasesDocumentsListCall) Filter ¶ added in v0.33.0
func (c *ProjectsKnowledgeBasesDocumentsListCall) Filter(filter string) *ProjectsKnowledgeBasesDocumentsListCall
Filter sets the optional parameter "filter": The filter expression used to filter documents returned by the list method. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * knowledge_types with has(:) operator * display_name with has(:) operator * state with equals(=) operator Examples: * "knowledge_types:FAQ" matches documents with FAQ knowledge type. * "display_name:customer" matches documents whose display name contains "customer". * "state=ACTIVE" matches documents with ACTIVE state. * "knowledge_types:FAQ AND state=ACTIVE" matches all active FAQ documents. For more information about filtering, see API Filtering (https://aip.dev/160).
func (*ProjectsKnowledgeBasesDocumentsListCall) Header ¶
func (c *ProjectsKnowledgeBasesDocumentsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsKnowledgeBasesDocumentsListCall) IfNoneMatch ¶
func (c *ProjectsKnowledgeBasesDocumentsListCall) IfNoneMatch(entityTag string) *ProjectsKnowledgeBasesDocumentsListCall
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 (*ProjectsKnowledgeBasesDocumentsListCall) PageSize ¶
func (c *ProjectsKnowledgeBasesDocumentsListCall) PageSize(pageSize int64) *ProjectsKnowledgeBasesDocumentsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 10 and at most 100.
func (*ProjectsKnowledgeBasesDocumentsListCall) PageToken ¶
func (c *ProjectsKnowledgeBasesDocumentsListCall) PageToken(pageToken string) *ProjectsKnowledgeBasesDocumentsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsKnowledgeBasesDocumentsListCall) Pages ¶
func (c *ProjectsKnowledgeBasesDocumentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListDocumentsResponse) 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 ProjectsKnowledgeBasesDocumentsPatchCall ¶
type ProjectsKnowledgeBasesDocumentsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsKnowledgeBasesDocumentsPatchCall) Context ¶
func (c *ProjectsKnowledgeBasesDocumentsPatchCall) Context(ctx context.Context) *ProjectsKnowledgeBasesDocumentsPatchCall
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 (*ProjectsKnowledgeBasesDocumentsPatchCall) Do ¶
func (c *ProjectsKnowledgeBasesDocumentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.knowledgeBases.documents.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 (*ProjectsKnowledgeBasesDocumentsPatchCall) Fields ¶
func (c *ProjectsKnowledgeBasesDocumentsPatchCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesDocumentsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsKnowledgeBasesDocumentsPatchCall) Header ¶
func (c *ProjectsKnowledgeBasesDocumentsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsKnowledgeBasesDocumentsPatchCall) UpdateMask ¶
func (c *ProjectsKnowledgeBasesDocumentsPatchCall) UpdateMask(updateMask string) *ProjectsKnowledgeBasesDocumentsPatchCall
UpdateMask sets the optional parameter "updateMask": Not specified means `update all`. Currently, only `display_name` can be updated, an InvalidArgument will be returned for attempting to update other fields.
type ProjectsKnowledgeBasesDocumentsReloadCall ¶
type ProjectsKnowledgeBasesDocumentsReloadCall struct {
// contains filtered or unexported fields
}
func (*ProjectsKnowledgeBasesDocumentsReloadCall) Context ¶
func (c *ProjectsKnowledgeBasesDocumentsReloadCall) Context(ctx context.Context) *ProjectsKnowledgeBasesDocumentsReloadCall
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 (*ProjectsKnowledgeBasesDocumentsReloadCall) Do ¶
func (c *ProjectsKnowledgeBasesDocumentsReloadCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.knowledgeBases.documents.reload" 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 (*ProjectsKnowledgeBasesDocumentsReloadCall) Fields ¶
func (c *ProjectsKnowledgeBasesDocumentsReloadCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesDocumentsReloadCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsKnowledgeBasesDocumentsReloadCall) Header ¶
func (c *ProjectsKnowledgeBasesDocumentsReloadCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsKnowledgeBasesDocumentsService ¶
type ProjectsKnowledgeBasesDocumentsService struct {
// contains filtered or unexported fields
}
func NewProjectsKnowledgeBasesDocumentsService ¶
func NewProjectsKnowledgeBasesDocumentsService(s *Service) *ProjectsKnowledgeBasesDocumentsService
func (*ProjectsKnowledgeBasesDocumentsService) Create ¶
func (r *ProjectsKnowledgeBasesDocumentsService) Create(parent string, googleclouddialogflowv2beta1document *GoogleCloudDialogflowV2beta1Document) *ProjectsKnowledgeBasesDocumentsCreateCall
Create: Creates a new document. This method is a long-running operation (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.
- parent: The knowledge base to create a document for. Format: `projects//locations//knowledgeBases/`.
func (*ProjectsKnowledgeBasesDocumentsService) Delete ¶
func (r *ProjectsKnowledgeBasesDocumentsService) Delete(name string) *ProjectsKnowledgeBasesDocumentsDeleteCall
Delete: Deletes the specified document. This method is a long-running operation (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: An Empty message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.
- name: The name of the document to delete. Format: `projects//locations//knowledgeBases//documents/`.
func (*ProjectsKnowledgeBasesDocumentsService) Get ¶
func (r *ProjectsKnowledgeBasesDocumentsService) Get(name string) *ProjectsKnowledgeBasesDocumentsGetCall
Get: Retrieves the specified document. Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.
- name: The name of the document to retrieve. Format `projects//locations//knowledgeBases//documents/`.
func (*ProjectsKnowledgeBasesDocumentsService) Import ¶ added in v0.42.0
func (r *ProjectsKnowledgeBasesDocumentsService) Import(parent string, googleclouddialogflowv2beta1importdocumentsrequest *GoogleCloudDialogflowV2beta1ImportDocumentsRequest) *ProjectsKnowledgeBasesDocumentsImportCall
Import: Create documents by importing data from external sources. Dialogflow supports up to 350 documents in each request. If you try to import more, Dialogflow will return an error. This method is a long-running operation (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: ImportDocumentsResponse
- parent: The knowledge base to import documents into. Format: `projects//locations//knowledgeBases/`.
func (*ProjectsKnowledgeBasesDocumentsService) List ¶
func (r *ProjectsKnowledgeBasesDocumentsService) List(parent string) *ProjectsKnowledgeBasesDocumentsListCall
List: Returns the list of all documents of the knowledge base. Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.
- parent: The knowledge base to list all documents for. Format: `projects//locations//knowledgeBases/`.
func (*ProjectsKnowledgeBasesDocumentsService) Patch ¶
func (r *ProjectsKnowledgeBasesDocumentsService) Patch(name string, googleclouddialogflowv2beta1document *GoogleCloudDialogflowV2beta1Document) *ProjectsKnowledgeBasesDocumentsPatchCall
Patch: Updates the specified document. This method is a long-running operation (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.
- name: Optional. The document resource name. The name must be empty when creating a document. Format: `projects//locations//knowledgeBases//documents/`.
func (*ProjectsKnowledgeBasesDocumentsService) Reload ¶
func (r *ProjectsKnowledgeBasesDocumentsService) Reload(name string, googleclouddialogflowv2beta1reloaddocumentrequest *GoogleCloudDialogflowV2beta1ReloadDocumentRequest) *ProjectsKnowledgeBasesDocumentsReloadCall
Reload: Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. Note: If the document source is Google Cloud Storage URI, its metadata will be replaced with the custom metadata from Google Cloud Storage if the `import_gcs_custom_metadata` field is set to true in the request. This method is a long-running operation (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.
- name: The name of the document to reload. Format: `projects//locations//knowledgeBases//documents/`.
type ProjectsKnowledgeBasesGetCall ¶
type ProjectsKnowledgeBasesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsKnowledgeBasesGetCall) Context ¶
func (c *ProjectsKnowledgeBasesGetCall) Context(ctx context.Context) *ProjectsKnowledgeBasesGetCall
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 (*ProjectsKnowledgeBasesGetCall) Do ¶
func (c *ProjectsKnowledgeBasesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1KnowledgeBase, error)
Do executes the "dialogflow.projects.knowledgeBases.get" call. Exactly one of *GoogleCloudDialogflowV2beta1KnowledgeBase or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1KnowledgeBase.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 (*ProjectsKnowledgeBasesGetCall) Fields ¶
func (c *ProjectsKnowledgeBasesGetCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsKnowledgeBasesGetCall) Header ¶
func (c *ProjectsKnowledgeBasesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsKnowledgeBasesGetCall) IfNoneMatch ¶
func (c *ProjectsKnowledgeBasesGetCall) IfNoneMatch(entityTag string) *ProjectsKnowledgeBasesGetCall
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 ProjectsKnowledgeBasesListCall ¶
type ProjectsKnowledgeBasesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsKnowledgeBasesListCall) Context ¶
func (c *ProjectsKnowledgeBasesListCall) Context(ctx context.Context) *ProjectsKnowledgeBasesListCall
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 (*ProjectsKnowledgeBasesListCall) Do ¶
func (c *ProjectsKnowledgeBasesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse, error)
Do executes the "dialogflow.projects.knowledgeBases.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse.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 (*ProjectsKnowledgeBasesListCall) Fields ¶
func (c *ProjectsKnowledgeBasesListCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsKnowledgeBasesListCall) Filter ¶ added in v0.33.0
func (c *ProjectsKnowledgeBasesListCall) Filter(filter string) *ProjectsKnowledgeBasesListCall
Filter sets the optional parameter "filter": The filter expression used to filter knowledge bases returned by the list method. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * display_name with has(:) operator * language_code with equals(=) operator Examples: * 'language_code=en-us' matches knowledge bases with en-us language code. * 'display_name:articles' matches knowledge bases whose display name contains "articles". * 'display_name:"Best Articles"' matches knowledge bases whose display name contains "Best Articles". * 'language_code=en-gb AND display_name=articles' matches all knowledge bases whose display name contains "articles" and whose language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op and will result in no filtering. For more information about filtering, see API Filtering (https://aip.dev/160).
func (*ProjectsKnowledgeBasesListCall) Header ¶
func (c *ProjectsKnowledgeBasesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsKnowledgeBasesListCall) IfNoneMatch ¶
func (c *ProjectsKnowledgeBasesListCall) IfNoneMatch(entityTag string) *ProjectsKnowledgeBasesListCall
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 (*ProjectsKnowledgeBasesListCall) PageSize ¶
func (c *ProjectsKnowledgeBasesListCall) PageSize(pageSize int64) *ProjectsKnowledgeBasesListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 10 and at most 100.
func (*ProjectsKnowledgeBasesListCall) PageToken ¶
func (c *ProjectsKnowledgeBasesListCall) PageToken(pageToken string) *ProjectsKnowledgeBasesListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsKnowledgeBasesListCall) Pages ¶
func (c *ProjectsKnowledgeBasesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse) 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 ProjectsKnowledgeBasesPatchCall ¶
type ProjectsKnowledgeBasesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsKnowledgeBasesPatchCall) Context ¶
func (c *ProjectsKnowledgeBasesPatchCall) Context(ctx context.Context) *ProjectsKnowledgeBasesPatchCall
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 (*ProjectsKnowledgeBasesPatchCall) Do ¶
func (c *ProjectsKnowledgeBasesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1KnowledgeBase, error)
Do executes the "dialogflow.projects.knowledgeBases.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1KnowledgeBase or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1KnowledgeBase.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 (*ProjectsKnowledgeBasesPatchCall) Fields ¶
func (c *ProjectsKnowledgeBasesPatchCall) Fields(s ...googleapi.Field) *ProjectsKnowledgeBasesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsKnowledgeBasesPatchCall) Header ¶
func (c *ProjectsKnowledgeBasesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsKnowledgeBasesPatchCall) UpdateMask ¶
func (c *ProjectsKnowledgeBasesPatchCall) UpdateMask(updateMask string) *ProjectsKnowledgeBasesPatchCall
UpdateMask sets the optional parameter "updateMask": Not specified means `update all`. Currently, only `display_name` can be updated, an InvalidArgument will be returned for attempting to update other fields.
type ProjectsKnowledgeBasesService ¶
type ProjectsKnowledgeBasesService struct { Documents *ProjectsKnowledgeBasesDocumentsService // contains filtered or unexported fields }
func NewProjectsKnowledgeBasesService ¶
func NewProjectsKnowledgeBasesService(s *Service) *ProjectsKnowledgeBasesService
func (*ProjectsKnowledgeBasesService) Create ¶
func (r *ProjectsKnowledgeBasesService) Create(parent string, googleclouddialogflowv2beta1knowledgebase *GoogleCloudDialogflowV2beta1KnowledgeBase) *ProjectsKnowledgeBasesCreateCall
Create: Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
- parent: The project to create a knowledge base for. Format: `projects//locations/`.
func (*ProjectsKnowledgeBasesService) Delete ¶
func (r *ProjectsKnowledgeBasesService) Delete(name string) *ProjectsKnowledgeBasesDeleteCall
Delete: Deletes the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
- name: The name of the knowledge base to delete. Format: `projects//locations//knowledgeBases/`.
func (*ProjectsKnowledgeBasesService) Get ¶
func (r *ProjectsKnowledgeBasesService) Get(name string) *ProjectsKnowledgeBasesGetCall
Get: Retrieves the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
- name: The name of the knowledge base to retrieve. Format `projects//locations//knowledgeBases/`.
func (*ProjectsKnowledgeBasesService) List ¶
func (r *ProjectsKnowledgeBasesService) List(parent string) *ProjectsKnowledgeBasesListCall
List: Returns the list of all knowledge bases of the specified agent. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
- parent: The project to list of knowledge bases for. Format: `projects//locations/`.
func (*ProjectsKnowledgeBasesService) Patch ¶
func (r *ProjectsKnowledgeBasesService) Patch(name string, googleclouddialogflowv2beta1knowledgebase *GoogleCloudDialogflowV2beta1KnowledgeBase) *ProjectsKnowledgeBasesPatchCall
Patch: Updates the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
- name: The knowledge base resource name. The name must be empty when creating a knowledge base. Format: `projects//locations//knowledgeBases/`.
type ProjectsLocationsAgentEntityTypesBatchDeleteCall ¶ added in v0.9.0
type ProjectsLocationsAgentEntityTypesBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEntityTypesBatchDeleteCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesBatchDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentEntityTypesBatchDeleteCall
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 (*ProjectsLocationsAgentEntityTypesBatchDeleteCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agent.entityTypes.batchDelete" 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 (*ProjectsLocationsAgentEntityTypesBatchDeleteCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesBatchDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEntityTypesBatchDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEntityTypesBatchDeleteCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesBatchDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentEntityTypesBatchUpdateCall ¶ added in v0.9.0
type ProjectsLocationsAgentEntityTypesBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEntityTypesBatchUpdateCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesBatchUpdateCall) Context(ctx context.Context) *ProjectsLocationsAgentEntityTypesBatchUpdateCall
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 (*ProjectsLocationsAgentEntityTypesBatchUpdateCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agent.entityTypes.batchUpdate" 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 (*ProjectsLocationsAgentEntityTypesBatchUpdateCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesBatchUpdateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEntityTypesBatchUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEntityTypesBatchUpdateCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesBatchUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentEntityTypesCreateCall ¶ added in v0.9.0
type ProjectsLocationsAgentEntityTypesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEntityTypesCreateCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentEntityTypesCreateCall
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 (*ProjectsLocationsAgentEntityTypesCreateCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1EntityType, error)
Do executes the "dialogflow.projects.locations.agent.entityTypes.create" call. Exactly one of *GoogleCloudDialogflowV2beta1EntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1EntityType.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 (*ProjectsLocationsAgentEntityTypesCreateCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEntityTypesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEntityTypesCreateCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentEntityTypesCreateCall) LanguageCode ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentEntityTypesCreateCall
LanguageCode sets the optional parameter "languageCode": The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
type ProjectsLocationsAgentEntityTypesDeleteCall ¶ added in v0.9.0
type ProjectsLocationsAgentEntityTypesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEntityTypesDeleteCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentEntityTypesDeleteCall
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 (*ProjectsLocationsAgentEntityTypesDeleteCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agent.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 (*ProjectsLocationsAgentEntityTypesDeleteCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEntityTypesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEntityTypesDeleteCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall ¶ added in v0.9.0
type ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall
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 (*ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agent.entityTypes.entities.batchCreate" 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 (*ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall ¶ added in v0.9.0
type ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall
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 (*ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agent.entityTypes.entities.batchDelete" 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 (*ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall ¶ added in v0.9.0
type ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall) Context(ctx context.Context) *ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall
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 (*ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agent.entityTypes.entities.batchUpdate" 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 (*ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentEntityTypesEntitiesService ¶ added in v0.9.0
type ProjectsLocationsAgentEntityTypesEntitiesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAgentEntityTypesEntitiesService ¶ added in v0.9.0
func NewProjectsLocationsAgentEntityTypesEntitiesService(s *Service) *ProjectsLocationsAgentEntityTypesEntitiesService
func (*ProjectsLocationsAgentEntityTypesEntitiesService) BatchCreate ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEntityTypesEntitiesService) BatchCreate(parent string, googleclouddialogflowv2beta1batchcreateentitiesrequest *GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest) *ProjectsLocationsAgentEntityTypesEntitiesBatchCreateCall
BatchCreate: Creates multiple new entities in the specified entity type. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An Empty message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The name of the entity type to create entities in. Supported formats: - `projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/`.
func (*ProjectsLocationsAgentEntityTypesEntitiesService) BatchDelete ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEntityTypesEntitiesService) BatchDelete(parent string, googleclouddialogflowv2beta1batchdeleteentitiesrequest *GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest) *ProjectsLocationsAgentEntityTypesEntitiesBatchDeleteCall
BatchDelete: Deletes entities in the specified entity type. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An Empty message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The name of the entity type to delete entries for. Supported formats: - `projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/`.
func (*ProjectsLocationsAgentEntityTypesEntitiesService) BatchUpdate ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEntityTypesEntitiesService) BatchUpdate(parent string, googleclouddialogflowv2beta1batchupdateentitiesrequest *GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest) *ProjectsLocationsAgentEntityTypesEntitiesBatchUpdateCall
BatchUpdate: Updates or creates multiple entities in the specified entity type. This method does not affect entities in the entity type that aren't explicitly specified in the request. Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training). This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An Empty message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
- parent: The name of the entity type to update or create entities in. Supported formats: - `projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/`.
type ProjectsLocationsAgentEntityTypesGetCall ¶ added in v0.9.0
type ProjectsLocationsAgentEntityTypesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEntityTypesGetCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentEntityTypesGetCall
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 (*ProjectsLocationsAgentEntityTypesGetCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1EntityType, error)
Do executes the "dialogflow.projects.locations.agent.entityTypes.get" call. Exactly one of *GoogleCloudDialogflowV2beta1EntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1EntityType.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 (*ProjectsLocationsAgentEntityTypesGetCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEntityTypesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEntityTypesGetCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentEntityTypesGetCall) IfNoneMatch ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentEntityTypesGetCall
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 (*ProjectsLocationsAgentEntityTypesGetCall) LanguageCode ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentEntityTypesGetCall
LanguageCode sets the optional parameter "languageCode": The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
type ProjectsLocationsAgentEntityTypesListCall ¶ added in v0.9.0
type ProjectsLocationsAgentEntityTypesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEntityTypesListCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentEntityTypesListCall
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 (*ProjectsLocationsAgentEntityTypesListCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListEntityTypesResponse, error)
Do executes the "dialogflow.projects.locations.agent.entityTypes.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListEntityTypesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListEntityTypesResponse.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 (*ProjectsLocationsAgentEntityTypesListCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEntityTypesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEntityTypesListCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentEntityTypesListCall) IfNoneMatch ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentEntityTypesListCall
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 (*ProjectsLocationsAgentEntityTypesListCall) LanguageCode ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentEntityTypesListCall
LanguageCode sets the optional parameter "languageCode": The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
func (*ProjectsLocationsAgentEntityTypesListCall) PageSize ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentEntityTypesListCall
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 (*ProjectsLocationsAgentEntityTypesListCall) PageToken ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentEntityTypesListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentEntityTypesListCall) Pages ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListEntityTypesResponse) 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 ProjectsLocationsAgentEntityTypesPatchCall ¶ added in v0.9.0
type ProjectsLocationsAgentEntityTypesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEntityTypesPatchCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentEntityTypesPatchCall
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 (*ProjectsLocationsAgentEntityTypesPatchCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1EntityType, error)
Do executes the "dialogflow.projects.locations.agent.entityTypes.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1EntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1EntityType.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 (*ProjectsLocationsAgentEntityTypesPatchCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEntityTypesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEntityTypesPatchCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentEntityTypesPatchCall) LanguageCode ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentEntityTypesPatchCall
LanguageCode sets the optional parameter "languageCode": The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
func (*ProjectsLocationsAgentEntityTypesPatchCall) UpdateMask ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentEntityTypesPatchCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated.
type ProjectsLocationsAgentEntityTypesService ¶ added in v0.9.0
type ProjectsLocationsAgentEntityTypesService struct { Entities *ProjectsLocationsAgentEntityTypesEntitiesService // contains filtered or unexported fields }
func NewProjectsLocationsAgentEntityTypesService ¶ added in v0.9.0
func NewProjectsLocationsAgentEntityTypesService(s *Service) *ProjectsLocationsAgentEntityTypesService
func (*ProjectsLocationsAgentEntityTypesService) BatchDelete ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEntityTypesService) BatchDelete(parent string, googleclouddialogflowv2beta1batchdeleteentitytypesrequest *GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest) *ProjectsLocationsAgentEntityTypesBatchDeleteCall
BatchDelete: Deletes entity types in the specified agent. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An Empty message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The name of the agent to delete all entities types for. Supported formats: - `projects//agent`, - `projects//locations//agent`.
func (*ProjectsLocationsAgentEntityTypesService) BatchUpdate ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEntityTypesService) BatchUpdate(parent string, googleclouddialogflowv2beta1batchupdateentitytypesrequest *GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest) *ProjectsLocationsAgentEntityTypesBatchUpdateCall
BatchUpdate: Updates/Creates multiple entity types in the specified agent. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: BatchUpdateEntityTypesResponse Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The name of the agent to update or create entity types in. Supported formats: - `projects//agent` - `projects//locations//agent`.
func (*ProjectsLocationsAgentEntityTypesService) Create ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEntityTypesService) Create(parent string, googleclouddialogflowv2beta1entitytype *GoogleCloudDialogflowV2beta1EntityType) *ProjectsLocationsAgentEntityTypesCreateCall
Create: Creates an entity type in the specified agent. Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The agent to create a entity type for. Supported formats: - `projects//agent` - `projects//locations//agent`.
func (*ProjectsLocationsAgentEntityTypesService) Delete ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEntityTypesService) Delete(name string) *ProjectsLocationsAgentEntityTypesDeleteCall
Delete: Deletes the specified entity type. Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- name: The name of the entity type to delete. Supported formats: - `projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/`.
func (*ProjectsLocationsAgentEntityTypesService) Get ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEntityTypesService) Get(name string) *ProjectsLocationsAgentEntityTypesGetCall
Get: Retrieves the specified entity type.
- name: The name of the entity type. Supported formats: - `projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/`.
func (*ProjectsLocationsAgentEntityTypesService) List ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEntityTypesService) List(parent string) *ProjectsLocationsAgentEntityTypesListCall
List: Returns the list of all entity types in the specified agent.
- parent: The agent to list all entity types from. Supported formats:
- `projects//agent` - `projects//locations//agent`.
func (*ProjectsLocationsAgentEntityTypesService) Patch ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEntityTypesService) Patch(nameid string, googleclouddialogflowv2beta1entitytype *GoogleCloudDialogflowV2beta1EntityType) *ProjectsLocationsAgentEntityTypesPatchCall
Patch: Updates the specified entity type. Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- 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/`.
type ProjectsLocationsAgentEnvironmentsCreateCall ¶ added in v0.18.0
type ProjectsLocationsAgentEnvironmentsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEnvironmentsCreateCall) Context ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsCreateCall
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 (*ProjectsLocationsAgentEnvironmentsCreateCall) Do ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Environment, error)
Do executes the "dialogflow.projects.locations.agent.environments.create" call. Exactly one of *GoogleCloudDialogflowV2beta1Environment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Environment.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 (*ProjectsLocationsAgentEnvironmentsCreateCall) EnvironmentId ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsCreateCall) EnvironmentId(environmentId string) *ProjectsLocationsAgentEnvironmentsCreateCall
EnvironmentId sets the optional parameter "environmentId": Required. The unique id of the new environment.
func (*ProjectsLocationsAgentEnvironmentsCreateCall) Fields ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEnvironmentsCreateCall) Header ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentEnvironmentsDeleteCall ¶ added in v0.18.0
type ProjectsLocationsAgentEnvironmentsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEnvironmentsDeleteCall) Context ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsDeleteCall
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 (*ProjectsLocationsAgentEnvironmentsDeleteCall) Do ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agent.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 (*ProjectsLocationsAgentEnvironmentsDeleteCall) Fields ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEnvironmentsDeleteCall) Header ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentEnvironmentsGetCall ¶ added in v0.18.0
type ProjectsLocationsAgentEnvironmentsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEnvironmentsGetCall) Context ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsGetCall
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 (*ProjectsLocationsAgentEnvironmentsGetCall) Do ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Environment, error)
Do executes the "dialogflow.projects.locations.agent.environments.get" call. Exactly one of *GoogleCloudDialogflowV2beta1Environment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Environment.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 (*ProjectsLocationsAgentEnvironmentsGetCall) Fields ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEnvironmentsGetCall) Header ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentEnvironmentsGetCall) IfNoneMatch ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentEnvironmentsGetCall
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 ProjectsLocationsAgentEnvironmentsGetHistoryCall ¶ added in v0.18.0
type ProjectsLocationsAgentEnvironmentsGetHistoryCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEnvironmentsGetHistoryCall) Context ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsGetHistoryCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsGetHistoryCall
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 (*ProjectsLocationsAgentEnvironmentsGetHistoryCall) Do ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsGetHistoryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1EnvironmentHistory, error)
Do executes the "dialogflow.projects.locations.agent.environments.getHistory" call. Exactly one of *GoogleCloudDialogflowV2beta1EnvironmentHistory or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1EnvironmentHistory.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 (*ProjectsLocationsAgentEnvironmentsGetHistoryCall) Fields ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsGetHistoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsGetHistoryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEnvironmentsGetHistoryCall) Header ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsGetHistoryCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentEnvironmentsGetHistoryCall) IfNoneMatch ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsGetHistoryCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentEnvironmentsGetHistoryCall
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 (*ProjectsLocationsAgentEnvironmentsGetHistoryCall) PageSize ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsGetHistoryCall) PageSize(pageSize int64) *ProjectsLocationsAgentEnvironmentsGetHistoryCall
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 (*ProjectsLocationsAgentEnvironmentsGetHistoryCall) PageToken ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsGetHistoryCall) PageToken(pageToken string) *ProjectsLocationsAgentEnvironmentsGetHistoryCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentEnvironmentsGetHistoryCall) Pages ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsGetHistoryCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1EnvironmentHistory) 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 ProjectsLocationsAgentEnvironmentsIntentsListCall ¶ added in v0.48.0
type ProjectsLocationsAgentEnvironmentsIntentsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEnvironmentsIntentsListCall) Context ¶ added in v0.48.0
func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsIntentsListCall
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 (*ProjectsLocationsAgentEnvironmentsIntentsListCall) Do ¶ added in v0.48.0
func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListIntentsResponse, error)
Do executes the "dialogflow.projects.locations.agent.environments.intents.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListIntentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListIntentsResponse.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 (*ProjectsLocationsAgentEnvironmentsIntentsListCall) Fields ¶ added in v0.48.0
func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsIntentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEnvironmentsIntentsListCall) Header ¶ added in v0.48.0
func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentEnvironmentsIntentsListCall) IfNoneMatch ¶ added in v0.48.0
func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentEnvironmentsIntentsListCall
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 (*ProjectsLocationsAgentEnvironmentsIntentsListCall) IntentView ¶ added in v0.48.0
func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) IntentView(intentView string) *ProjectsLocationsAgentEnvironmentsIntentsListCall
IntentView sets the optional parameter "intentView": The resource view to apply to the returned intent.
Possible values:
"INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
in the response.
"INTENT_VIEW_FULL" - All fields are populated.
func (*ProjectsLocationsAgentEnvironmentsIntentsListCall) LanguageCode ¶ added in v0.48.0
func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentEnvironmentsIntentsListCall
LanguageCode sets the optional parameter "languageCode": The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
func (*ProjectsLocationsAgentEnvironmentsIntentsListCall) PageSize ¶ added in v0.48.0
func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentEnvironmentsIntentsListCall
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 (*ProjectsLocationsAgentEnvironmentsIntentsListCall) PageToken ¶ added in v0.48.0
func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentEnvironmentsIntentsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentEnvironmentsIntentsListCall) Pages ¶ added in v0.48.0
func (c *ProjectsLocationsAgentEnvironmentsIntentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListIntentsResponse) 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 ProjectsLocationsAgentEnvironmentsIntentsService ¶ added in v0.48.0
type ProjectsLocationsAgentEnvironmentsIntentsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAgentEnvironmentsIntentsService ¶ added in v0.48.0
func NewProjectsLocationsAgentEnvironmentsIntentsService(s *Service) *ProjectsLocationsAgentEnvironmentsIntentsService
func (*ProjectsLocationsAgentEnvironmentsIntentsService) List ¶ added in v0.48.0
func (r *ProjectsLocationsAgentEnvironmentsIntentsService) List(parent string) *ProjectsLocationsAgentEnvironmentsIntentsListCall
List: Returns the list of all intents in the specified agent.
- parent: The agent to list all intents from. Format: `projects//agent` or `projects//locations//agent`. Alternatively, you can specify the environment to list intents for. Format: `projects//agent/environments/` or `projects//locations//agent/environments/`. Note: training phrases of the intents will not be returned for non-draft environment.
type ProjectsLocationsAgentEnvironmentsListCall ¶ added in v0.18.0
type ProjectsLocationsAgentEnvironmentsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEnvironmentsListCall) Context ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsListCall
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 (*ProjectsLocationsAgentEnvironmentsListCall) Do ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListEnvironmentsResponse, error)
Do executes the "dialogflow.projects.locations.agent.environments.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListEnvironmentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListEnvironmentsResponse.ServerResponse.H eader 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 (*ProjectsLocationsAgentEnvironmentsListCall) Fields ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEnvironmentsListCall) Header ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentEnvironmentsListCall) IfNoneMatch ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentEnvironmentsListCall
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 (*ProjectsLocationsAgentEnvironmentsListCall) PageSize ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentEnvironmentsListCall
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 (*ProjectsLocationsAgentEnvironmentsListCall) PageToken ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentEnvironmentsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentEnvironmentsListCall) Pages ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListEnvironmentsResponse) 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 ProjectsLocationsAgentEnvironmentsPatchCall ¶ added in v0.18.0
type ProjectsLocationsAgentEnvironmentsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEnvironmentsPatchCall) AllowLoadToDraftAndDiscardChanges ¶ added in v0.46.0
func (c *ProjectsLocationsAgentEnvironmentsPatchCall) AllowLoadToDraftAndDiscardChanges(allowLoadToDraftAndDiscardChanges bool) *ProjectsLocationsAgentEnvironmentsPatchCall
AllowLoadToDraftAndDiscardChanges sets the optional parameter "allowLoadToDraftAndDiscardChanges": This field is used to prevent accidental overwrite of the draft environment, which is an operation that cannot be undone. To confirm that the caller desires this overwrite, this field must be explicitly set to true when updating the draft environment (environment ID = `-`).
func (*ProjectsLocationsAgentEnvironmentsPatchCall) Context ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsPatchCall
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 (*ProjectsLocationsAgentEnvironmentsPatchCall) Do ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Environment, error)
Do executes the "dialogflow.projects.locations.agent.environments.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1Environment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Environment.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 (*ProjectsLocationsAgentEnvironmentsPatchCall) Fields ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEnvironmentsPatchCall) Header ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentEnvironmentsPatchCall) UpdateMask ¶ added in v0.18.0
func (c *ProjectsLocationsAgentEnvironmentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentEnvironmentsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The mask to control which fields get updated.
type ProjectsLocationsAgentEnvironmentsService ¶ added in v0.9.0
type ProjectsLocationsAgentEnvironmentsService struct { Intents *ProjectsLocationsAgentEnvironmentsIntentsService Users *ProjectsLocationsAgentEnvironmentsUsersService // contains filtered or unexported fields }
func NewProjectsLocationsAgentEnvironmentsService ¶ added in v0.9.0
func NewProjectsLocationsAgentEnvironmentsService(s *Service) *ProjectsLocationsAgentEnvironmentsService
func (*ProjectsLocationsAgentEnvironmentsService) Create ¶ added in v0.18.0
func (r *ProjectsLocationsAgentEnvironmentsService) Create(parent string, googleclouddialogflowv2beta1environment *GoogleCloudDialogflowV2beta1Environment) *ProjectsLocationsAgentEnvironmentsCreateCall
Create: Creates an agent environment.
- parent: The agent to create an environment for. Supported formats:
- `projects//agent` - `projects//locations//agent`.
func (*ProjectsLocationsAgentEnvironmentsService) Delete ¶ added in v0.18.0
func (r *ProjectsLocationsAgentEnvironmentsService) Delete(name string) *ProjectsLocationsAgentEnvironmentsDeleteCall
Delete: Deletes the specified agent environment.
- name: The name of the environment to delete. / Format: - `projects//agent/environments/` - `projects//locations//agent/environments/`.
func (*ProjectsLocationsAgentEnvironmentsService) Get ¶ added in v0.18.0
func (r *ProjectsLocationsAgentEnvironmentsService) Get(name string) *ProjectsLocationsAgentEnvironmentsGetCall
Get: Retrieves the specified agent environment.
- name: The name of the environment. Supported formats: - `projects//agent/environments/` - `projects//locations//agent/environments/`.
func (*ProjectsLocationsAgentEnvironmentsService) GetHistory ¶ added in v0.18.0
func (r *ProjectsLocationsAgentEnvironmentsService) GetHistory(parent string) *ProjectsLocationsAgentEnvironmentsGetHistoryCall
GetHistory: Gets the history of the specified environment.
- parent: The name of the environment to retrieve history for. Supported formats: - `projects//agent/environments/` - `projects//locations//agent/environments/`.
func (*ProjectsLocationsAgentEnvironmentsService) List ¶ added in v0.18.0
func (r *ProjectsLocationsAgentEnvironmentsService) List(parent string) *ProjectsLocationsAgentEnvironmentsListCall
List: Returns the list of all non-draft environments of the specified agent.
- parent: The agent to list all environments from. Format: - `projects//agent` - `projects//locations//agent`.
func (*ProjectsLocationsAgentEnvironmentsService) Patch ¶ added in v0.18.0
func (r *ProjectsLocationsAgentEnvironmentsService) Patch(nameid string, googleclouddialogflowv2beta1environment *GoogleCloudDialogflowV2beta1Environment) *ProjectsLocationsAgentEnvironmentsPatchCall
Patch: Updates the specified agent environment. This method allows you to deploy new agent versions into the environment. When an environment is pointed to a new agent version by setting `environment.agent_version`, the environment is temporarily set to the `LOADING` state. During that time, the environment keeps on serving the previous version of the agent. After the new agent version is done loading, the environment is set back to the `RUNNING` state. You can use "-" as Environment ID in environment name to update version in "draft" environment. WARNING: this will negate all recent changes to draft and can't be undone. You may want to save the draft to a version before calling this function.
- name: Output only. The unique identifier of this agent environment. Supported formats: - `projects//agent/environments/` - `projects//locations//agent/environments/`.
type ProjectsLocationsAgentEnvironmentsUsersService ¶ added in v0.9.0
type ProjectsLocationsAgentEnvironmentsUsersService struct { Sessions *ProjectsLocationsAgentEnvironmentsUsersSessionsService // contains filtered or unexported fields }
func NewProjectsLocationsAgentEnvironmentsUsersService ¶ added in v0.9.0
func NewProjectsLocationsAgentEnvironmentsUsersService(s *Service) *ProjectsLocationsAgentEnvironmentsUsersService
type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall ¶ added in v0.9.0
type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall
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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
Do executes the "dialogflow.projects.locations.agent.environments.users.sessions.contexts.create" call. Exactly one of *GoogleCloudDialogflowV2beta1Context or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Context.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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall ¶ added in v0.9.0
type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall
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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agent.environments.users.sessions.contexts.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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall ¶ added in v0.9.0
type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall
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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
Do executes the "dialogflow.projects.locations.agent.environments.users.sessions.contexts.get" call. Exactly one of *GoogleCloudDialogflowV2beta1Context or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Context.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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall) IfNoneMatch ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall
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 ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall ¶ added in v0.9.0
type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall
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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListContextsResponse, error)
Do executes the "dialogflow.projects.locations.agent.environments.users.sessions.contexts.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListContextsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListContextsResponse.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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) IfNoneMatch ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall
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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) PageSize ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall
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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) PageToken ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) PageToken(pageToken string) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) Pages ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListContextsResponse) 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 ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall ¶ added in v0.9.0
type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall
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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
Do executes the "dialogflow.projects.locations.agent.environments.users.sessions.contexts.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1Context or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Context.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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) UpdateMask ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated.
type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService ¶ added in v0.9.0
type ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAgentEnvironmentsUsersSessionsContextsService ¶ added in v0.9.0
func NewProjectsLocationsAgentEnvironmentsUsersSessionsContextsService(s *Service) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) Create ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) Create(parent string, googleclouddialogflowv2beta1context *GoogleCloudDialogflowV2beta1Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsCreateCall
Create: Creates a context. If the specified context already exists, overrides the context.
- parent: The session to create a context for. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, 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.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) Delete ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) Delete(name string) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsDeleteCall
Delete: Deletes the specified context.
- name: The name of the context to delete. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/ `, 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.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) Get ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) Get(name string) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsGetCall
Get: Retrieves the specified context.
- name: The name 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/ `, 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.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) List ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) List(parent string) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsListCall
List: Returns the list of all contexts in the specified session.
- parent: The session to list all contexts from. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, 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.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) Patch ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService) Patch(nameid string, googleclouddialogflowv2beta1context *GoogleCloudDialogflowV2beta1Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsPatchCall
Patch: Updates the specified context.
- name: 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`.
type ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall ¶ added in v0.9.0
type ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall
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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agent.environments.users.sessions.deleteContexts" 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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall ¶ added in v0.9.0
type ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall
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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1DetectIntentResponse, error)
Do executes the "dialogflow.projects.locations.agent.environments.users.sessions.detectIntent" call. Exactly one of *GoogleCloudDialogflowV2beta1DetectIntentResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1DetectIntentResponse.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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall ¶ added in v0.9.0
type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall
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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
Do executes the "dialogflow.projects.locations.agent.environments.users.sessions.entityTypes.create" call. Exactly one of *GoogleCloudDialogflowV2beta1SessionEntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SessionEntityType.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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall ¶ added in v0.9.0
type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall
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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agent.environments.users.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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall ¶ added in v0.9.0
type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall
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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
Do executes the "dialogflow.projects.locations.agent.environments.users.sessions.entityTypes.get" call. Exactly one of *GoogleCloudDialogflowV2beta1SessionEntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SessionEntityType.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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall) IfNoneMatch ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall
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 ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall ¶ added in v0.9.0
type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall
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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse, error)
Do executes the "dialogflow.projects.locations.agent.environments.users.sessions.entityTypes.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse.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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) IfNoneMatch ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall
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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) PageSize ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall
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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) PageToken ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) Pages ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse) 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 ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall ¶ added in v0.9.0
type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall
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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
Do executes the "dialogflow.projects.locations.agent.environments.users.sessions.entityTypes.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1SessionEntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SessionEntityType.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 (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) UpdateMask ¶ added in v0.9.0
func (c *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated.
type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService ¶ added in v0.9.0
type ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService ¶ added in v0.9.0
func NewProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService(s *Service) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) Create ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) Create(parent string, googleclouddialogflowv2beta1sessionentitytype *GoogleCloudDialogflowV2beta1SessionEntityType) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesCreateCall
Create: Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
- parent: The session to create a session entity type for. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, 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.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) Delete ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesDeleteCall
Delete: Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
- name: The name of the entity type to delete. 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.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) Get ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesGetCall
Get: Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
- name: The name of the 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.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) List ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesListCall
List: Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
- parent: The session to list all session entity types from. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, 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.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) Patch ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowv2beta1sessionentitytype *GoogleCloudDialogflowV2beta1SessionEntityType) *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesPatchCall
Patch: Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
- name: 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.
type ProjectsLocationsAgentEnvironmentsUsersSessionsService ¶ added in v0.9.0
type ProjectsLocationsAgentEnvironmentsUsersSessionsService struct { Contexts *ProjectsLocationsAgentEnvironmentsUsersSessionsContextsService EntityTypes *ProjectsLocationsAgentEnvironmentsUsersSessionsEntityTypesService // contains filtered or unexported fields }
func NewProjectsLocationsAgentEnvironmentsUsersSessionsService ¶ added in v0.9.0
func NewProjectsLocationsAgentEnvironmentsUsersSessionsService(s *Service) *ProjectsLocationsAgentEnvironmentsUsersSessionsService
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsService) DeleteContexts ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsService) DeleteContexts(parent string) *ProjectsLocationsAgentEnvironmentsUsersSessionsDeleteContextsCall
DeleteContexts: Deletes all active contexts in the specified session.
- parent: The name of the session to delete all contexts from. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, 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.
func (*ProjectsLocationsAgentEnvironmentsUsersSessionsService) DetectIntent ¶ added in v0.9.0
func (r *ProjectsLocationsAgentEnvironmentsUsersSessionsService) DetectIntent(sessionid string, googleclouddialogflowv2beta1detectintentrequest *GoogleCloudDialogflowV2beta1DetectIntentRequest) *ProjectsLocationsAgentEnvironmentsUsersSessionsDetectIntentCall
DetectIntent: Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries. If you might use Agent Assist (https://cloud.google.com/dialogflow/docs/#aa) or other CCAI products now or in the future, consider using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has additional functionality for Agent Assist and other CCAI products. Note: Always use agent versions for production traffic. See Versions and environments (https://cloud.google.com/dialogflow/es/docs/agents-versions).
- session: The name of the session this query is sent to. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, If `Location ID` is not specified we assume default 'us' location. If `Environment ID` is not specified, we assume default 'draft' environment (`Environment ID` might be referred to as environment name at some places). If `User ID` is not specified, we are using "-". It's up to the API caller to choose an appropriate `Session ID` and `User Id`. They can be a random number or some type of user and session identifiers (preferably hashed). The length of the `Session ID` and `User ID` must not exceed 36 characters. For more information, see the API interactions guide (https://cloud.google.com/dialogflow/docs/api-overview). Note: Always use agent versions for production traffic. See Versions and environments (https://cloud.google.com/dialogflow/es/docs/agents-versions).
type ProjectsLocationsAgentExportCall ¶ added in v0.9.0
type ProjectsLocationsAgentExportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentExportCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentExportCall) Context(ctx context.Context) *ProjectsLocationsAgentExportCall
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 (*ProjectsLocationsAgentExportCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agent.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 (*ProjectsLocationsAgentExportCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentExportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentExportCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentExportCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentGetFulfillmentCall ¶ added in v0.18.0
type ProjectsLocationsAgentGetFulfillmentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentGetFulfillmentCall) Context ¶ added in v0.18.0
func (c *ProjectsLocationsAgentGetFulfillmentCall) Context(ctx context.Context) *ProjectsLocationsAgentGetFulfillmentCall
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 (*ProjectsLocationsAgentGetFulfillmentCall) Do ¶ added in v0.18.0
func (c *ProjectsLocationsAgentGetFulfillmentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Fulfillment, error)
Do executes the "dialogflow.projects.locations.agent.getFulfillment" call. Exactly one of *GoogleCloudDialogflowV2beta1Fulfillment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Fulfillment.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 (*ProjectsLocationsAgentGetFulfillmentCall) Fields ¶ added in v0.18.0
func (c *ProjectsLocationsAgentGetFulfillmentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentGetFulfillmentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentGetFulfillmentCall) Header ¶ added in v0.18.0
func (c *ProjectsLocationsAgentGetFulfillmentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentGetFulfillmentCall) IfNoneMatch ¶ added in v0.18.0
func (c *ProjectsLocationsAgentGetFulfillmentCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentGetFulfillmentCall
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 ProjectsLocationsAgentGetValidationResultCall ¶ added in v0.31.0
type ProjectsLocationsAgentGetValidationResultCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentGetValidationResultCall) Context ¶ added in v0.31.0
func (c *ProjectsLocationsAgentGetValidationResultCall) Context(ctx context.Context) *ProjectsLocationsAgentGetValidationResultCall
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 (*ProjectsLocationsAgentGetValidationResultCall) Do ¶ added in v0.31.0
func (c *ProjectsLocationsAgentGetValidationResultCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ValidationResult, error)
Do executes the "dialogflow.projects.locations.agent.getValidationResult" call. Exactly one of *GoogleCloudDialogflowV2beta1ValidationResult or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ValidationResult.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 (*ProjectsLocationsAgentGetValidationResultCall) Fields ¶ added in v0.31.0
func (c *ProjectsLocationsAgentGetValidationResultCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentGetValidationResultCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentGetValidationResultCall) Header ¶ added in v0.31.0
func (c *ProjectsLocationsAgentGetValidationResultCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentGetValidationResultCall) IfNoneMatch ¶ added in v0.31.0
func (c *ProjectsLocationsAgentGetValidationResultCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentGetValidationResultCall
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 (*ProjectsLocationsAgentGetValidationResultCall) LanguageCode ¶ added in v0.31.0
func (c *ProjectsLocationsAgentGetValidationResultCall) LanguageCode(languageCode string) *ProjectsLocationsAgentGetValidationResultCall
LanguageCode sets the optional parameter "languageCode": The language for which you want a validation result. If not specified, the agent's default language is used. Many languages (https://cloud.google.com/dialogflow/docs/reference/language) are supported. Note: languages must be enabled in the agent before they can be used.
type ProjectsLocationsAgentImportCall ¶ added in v0.9.0
type ProjectsLocationsAgentImportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentImportCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentImportCall) Context(ctx context.Context) *ProjectsLocationsAgentImportCall
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 (*ProjectsLocationsAgentImportCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agent.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 (*ProjectsLocationsAgentImportCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentImportCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentImportCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentIntentsBatchDeleteCall ¶ added in v0.9.0
type ProjectsLocationsAgentIntentsBatchDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentIntentsBatchDeleteCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsBatchDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentIntentsBatchDeleteCall
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 (*ProjectsLocationsAgentIntentsBatchDeleteCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agent.intents.batchDelete" 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 (*ProjectsLocationsAgentIntentsBatchDeleteCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsBatchDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentIntentsBatchDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentIntentsBatchDeleteCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsBatchDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentIntentsBatchUpdateCall ¶ added in v0.9.0
type ProjectsLocationsAgentIntentsBatchUpdateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentIntentsBatchUpdateCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsBatchUpdateCall) Context(ctx context.Context) *ProjectsLocationsAgentIntentsBatchUpdateCall
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 (*ProjectsLocationsAgentIntentsBatchUpdateCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsBatchUpdateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agent.intents.batchUpdate" 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 (*ProjectsLocationsAgentIntentsBatchUpdateCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsBatchUpdateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentIntentsBatchUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentIntentsBatchUpdateCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsBatchUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentIntentsCreateCall ¶ added in v0.9.0
type ProjectsLocationsAgentIntentsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentIntentsCreateCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentIntentsCreateCall
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 (*ProjectsLocationsAgentIntentsCreateCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Intent, error)
Do executes the "dialogflow.projects.locations.agent.intents.create" call. Exactly one of *GoogleCloudDialogflowV2beta1Intent or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Intent.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 (*ProjectsLocationsAgentIntentsCreateCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentIntentsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentIntentsCreateCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentIntentsCreateCall) IntentView ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsCreateCall) IntentView(intentView string) *ProjectsLocationsAgentIntentsCreateCall
IntentView sets the optional parameter "intentView": The resource view to apply to the returned intent.
Possible values:
"INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
in the response.
"INTENT_VIEW_FULL" - All fields are populated.
func (*ProjectsLocationsAgentIntentsCreateCall) LanguageCode ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentIntentsCreateCall
LanguageCode sets the optional parameter "languageCode": The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
type ProjectsLocationsAgentIntentsDeleteCall ¶ added in v0.9.0
type ProjectsLocationsAgentIntentsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentIntentsDeleteCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentIntentsDeleteCall
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 (*ProjectsLocationsAgentIntentsDeleteCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agent.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 (*ProjectsLocationsAgentIntentsDeleteCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentIntentsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentIntentsDeleteCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentIntentsGetCall ¶ added in v0.9.0
type ProjectsLocationsAgentIntentsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentIntentsGetCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentIntentsGetCall
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 (*ProjectsLocationsAgentIntentsGetCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Intent, error)
Do executes the "dialogflow.projects.locations.agent.intents.get" call. Exactly one of *GoogleCloudDialogflowV2beta1Intent or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Intent.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 (*ProjectsLocationsAgentIntentsGetCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentIntentsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentIntentsGetCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentIntentsGetCall) IfNoneMatch ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentIntentsGetCall
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 (*ProjectsLocationsAgentIntentsGetCall) IntentView ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsGetCall) IntentView(intentView string) *ProjectsLocationsAgentIntentsGetCall
IntentView sets the optional parameter "intentView": The resource view to apply to the returned intent.
Possible values:
"INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
in the response.
"INTENT_VIEW_FULL" - All fields are populated.
func (*ProjectsLocationsAgentIntentsGetCall) LanguageCode ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentIntentsGetCall
LanguageCode sets the optional parameter "languageCode": The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
type ProjectsLocationsAgentIntentsListCall ¶ added in v0.9.0
type ProjectsLocationsAgentIntentsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentIntentsListCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentIntentsListCall
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 (*ProjectsLocationsAgentIntentsListCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListIntentsResponse, error)
Do executes the "dialogflow.projects.locations.agent.intents.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListIntentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListIntentsResponse.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 (*ProjectsLocationsAgentIntentsListCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentIntentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentIntentsListCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentIntentsListCall) IfNoneMatch ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentIntentsListCall
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 (*ProjectsLocationsAgentIntentsListCall) IntentView ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsListCall) IntentView(intentView string) *ProjectsLocationsAgentIntentsListCall
IntentView sets the optional parameter "intentView": The resource view to apply to the returned intent.
Possible values:
"INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
in the response.
"INTENT_VIEW_FULL" - All fields are populated.
func (*ProjectsLocationsAgentIntentsListCall) LanguageCode ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentIntentsListCall
LanguageCode sets the optional parameter "languageCode": The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
func (*ProjectsLocationsAgentIntentsListCall) PageSize ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentIntentsListCall
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 (*ProjectsLocationsAgentIntentsListCall) PageToken ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentIntentsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentIntentsListCall) Pages ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListIntentsResponse) 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 ProjectsLocationsAgentIntentsPatchCall ¶ added in v0.9.0
type ProjectsLocationsAgentIntentsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentIntentsPatchCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentIntentsPatchCall
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 (*ProjectsLocationsAgentIntentsPatchCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Intent, error)
Do executes the "dialogflow.projects.locations.agent.intents.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1Intent or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Intent.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 (*ProjectsLocationsAgentIntentsPatchCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentIntentsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentIntentsPatchCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentIntentsPatchCall) IntentView ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsPatchCall) IntentView(intentView string) *ProjectsLocationsAgentIntentsPatchCall
IntentView sets the optional parameter "intentView": The resource view to apply to the returned intent.
Possible values:
"INTENT_VIEW_UNSPECIFIED" - Training phrases field is not populated
in the response.
"INTENT_VIEW_FULL" - All fields are populated.
func (*ProjectsLocationsAgentIntentsPatchCall) LanguageCode ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentIntentsPatchCall
LanguageCode sets the optional parameter "languageCode": The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see Multilingual intent and entity data (https://cloud.google.com/dialogflow/docs/agents-multilingual#intent-entity).
func (*ProjectsLocationsAgentIntentsPatchCall) UpdateMask ¶ added in v0.9.0
func (c *ProjectsLocationsAgentIntentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentIntentsPatchCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated.
type ProjectsLocationsAgentIntentsService ¶ added in v0.9.0
type ProjectsLocationsAgentIntentsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAgentIntentsService ¶ added in v0.9.0
func NewProjectsLocationsAgentIntentsService(s *Service) *ProjectsLocationsAgentIntentsService
func (*ProjectsLocationsAgentIntentsService) BatchDelete ¶ added in v0.9.0
func (r *ProjectsLocationsAgentIntentsService) BatchDelete(parent string, googleclouddialogflowv2beta1batchdeleteintentsrequest *GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest) *ProjectsLocationsAgentIntentsBatchDeleteCall
BatchDelete: Deletes intents in the specified agent. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An Empty message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The name of the agent to delete all entities types for. Supported formats: - `projects//agent` - `projects//locations//agent`.
func (*ProjectsLocationsAgentIntentsService) BatchUpdate ¶ added in v0.9.0
func (r *ProjectsLocationsAgentIntentsService) BatchUpdate(parent string, googleclouddialogflowv2beta1batchupdateintentsrequest *GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest) *ProjectsLocationsAgentIntentsBatchUpdateCall
BatchUpdate: Updates/Creates multiple intents in the specified agent. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: BatchUpdateIntentsResponse Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The name of the agent to update or create intents in. Supported formats: - `projects//agent` - `projects//locations//agent`.
func (*ProjectsLocationsAgentIntentsService) Create ¶ added in v0.9.0
func (r *ProjectsLocationsAgentIntentsService) Create(parent string, googleclouddialogflowv2beta1intent *GoogleCloudDialogflowV2beta1Intent) *ProjectsLocationsAgentIntentsCreateCall
Create: Creates an intent in the specified agent. Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The agent to create a intent for. Supported formats: - `projects//agent` - `projects//locations//agent`.
func (*ProjectsLocationsAgentIntentsService) Delete ¶ added in v0.9.0
func (r *ProjectsLocationsAgentIntentsService) Delete(name string) *ProjectsLocationsAgentIntentsDeleteCall
Delete: Deletes the specified intent and its direct or indirect followup intents. Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- name: The name of the intent to delete. If this intent has direct or indirect followup intents, we also delete them. Supported formats: - `projects//agent/intents/` - `projects//locations//agent/intents/`.
func (*ProjectsLocationsAgentIntentsService) Get ¶ added in v0.9.0
func (r *ProjectsLocationsAgentIntentsService) Get(name string) *ProjectsLocationsAgentIntentsGetCall
Get: Retrieves the specified intent.
- name: The name of the intent. Supported formats: - `projects//agent/intents/` - `projects//locations//agent/intents/`.
func (*ProjectsLocationsAgentIntentsService) List ¶ added in v0.9.0
func (r *ProjectsLocationsAgentIntentsService) List(parent string) *ProjectsLocationsAgentIntentsListCall
List: Returns the list of all intents in the specified agent.
- parent: The agent to list all intents from. Format: `projects//agent` or `projects//locations//agent`. Alternatively, you can specify the environment to list intents for. Format: `projects//agent/environments/` or `projects//locations//agent/environments/`. Note: training phrases of the intents will not be returned for non-draft environment.
func (*ProjectsLocationsAgentIntentsService) Patch ¶ added in v0.9.0
func (r *ProjectsLocationsAgentIntentsService) Patch(nameid string, googleclouddialogflowv2beta1intent *GoogleCloudDialogflowV2beta1Intent) *ProjectsLocationsAgentIntentsPatchCall
Patch: Updates the specified intent. Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- 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/`.
type ProjectsLocationsAgentRestoreCall ¶ added in v0.9.0
type ProjectsLocationsAgentRestoreCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentRestoreCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentRestoreCall) Context(ctx context.Context) *ProjectsLocationsAgentRestoreCall
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 (*ProjectsLocationsAgentRestoreCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentRestoreCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agent.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 (*ProjectsLocationsAgentRestoreCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentRestoreCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentRestoreCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentRestoreCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentRestoreCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentSearchCall ¶ added in v0.26.0
type ProjectsLocationsAgentSearchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentSearchCall) Context ¶ added in v0.26.0
func (c *ProjectsLocationsAgentSearchCall) Context(ctx context.Context) *ProjectsLocationsAgentSearchCall
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 (*ProjectsLocationsAgentSearchCall) Do ¶ added in v0.26.0
func (c *ProjectsLocationsAgentSearchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SearchAgentsResponse, error)
Do executes the "dialogflow.projects.locations.agent.search" call. Exactly one of *GoogleCloudDialogflowV2beta1SearchAgentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SearchAgentsResponse.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 (*ProjectsLocationsAgentSearchCall) Fields ¶ added in v0.26.0
func (c *ProjectsLocationsAgentSearchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSearchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentSearchCall) Header ¶ added in v0.26.0
func (c *ProjectsLocationsAgentSearchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentSearchCall) IfNoneMatch ¶ added in v0.26.0
func (c *ProjectsLocationsAgentSearchCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentSearchCall
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 (*ProjectsLocationsAgentSearchCall) PageSize ¶ added in v0.26.0
func (c *ProjectsLocationsAgentSearchCall) PageSize(pageSize int64) *ProjectsLocationsAgentSearchCall
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 (*ProjectsLocationsAgentSearchCall) PageToken ¶ added in v0.26.0
func (c *ProjectsLocationsAgentSearchCall) PageToken(pageToken string) *ProjectsLocationsAgentSearchCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentSearchCall) Pages ¶ added in v0.26.0
func (c *ProjectsLocationsAgentSearchCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1SearchAgentsResponse) 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 ProjectsLocationsAgentService ¶ added in v0.9.0
type ProjectsLocationsAgentService struct { EntityTypes *ProjectsLocationsAgentEntityTypesService Environments *ProjectsLocationsAgentEnvironmentsService Intents *ProjectsLocationsAgentIntentsService Sessions *ProjectsLocationsAgentSessionsService Versions *ProjectsLocationsAgentVersionsService // contains filtered or unexported fields }
func NewProjectsLocationsAgentService ¶ added in v0.9.0
func NewProjectsLocationsAgentService(s *Service) *ProjectsLocationsAgentService
func (*ProjectsLocationsAgentService) Export ¶ added in v0.9.0
func (r *ProjectsLocationsAgentService) Export(parent string, googleclouddialogflowv2beta1exportagentrequest *GoogleCloudDialogflowV2beta1ExportAgentRequest) *ProjectsLocationsAgentExportCall
Export: Exports the specified agent to a ZIP file. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: ExportAgentResponse
- parent: The project that the agent to export is associated with. Format: `projects/` or `projects//locations/`.
func (*ProjectsLocationsAgentService) GetFulfillment ¶ added in v0.18.0
func (r *ProjectsLocationsAgentService) GetFulfillment(name string) *ProjectsLocationsAgentGetFulfillmentCall
GetFulfillment: Retrieves the fulfillment.
- name: The name of the fulfillment. Supported formats: - `projects//agent/fulfillment` - `projects//locations//agent/fulfillment`.
func (*ProjectsLocationsAgentService) GetValidationResult ¶ added in v0.31.0
func (r *ProjectsLocationsAgentService) GetValidationResult(parent string) *ProjectsLocationsAgentGetValidationResultCall
GetValidationResult: Gets agent validation result. Agent validation is performed during training time and is updated automatically when training is completed.
- parent: The project that the agent is associated with. Format: `projects/` or `projects//locations/`.
func (*ProjectsLocationsAgentService) Import ¶ added in v0.9.0
func (r *ProjectsLocationsAgentService) Import(parent string, googleclouddialogflowv2beta1importagentrequest *GoogleCloudDialogflowV2beta1ImportAgentRequest) *ProjectsLocationsAgentImportCall
Import: Imports the specified agent from a ZIP file. Uploads new intents and entity types without deleting the existing ones. Intents and entity types with the same name are replaced with the new versions from ImportAgentRequest. After the import, the imported draft agent will be trained automatically (unless disabled in agent settings). However, once the import is done, training may not be completed yet. Please call TrainAgent and wait for the operation it returns in order to train explicitly. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An Empty message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) The operation only tracks when importing is complete, not when it is done training. Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The project that the agent to import is associated with. Format: `projects/` or `projects//locations/`.
func (*ProjectsLocationsAgentService) Restore ¶ added in v0.9.0
func (r *ProjectsLocationsAgentService) Restore(parent string, googleclouddialogflowv2beta1restoreagentrequest *GoogleCloudDialogflowV2beta1RestoreAgentRequest) *ProjectsLocationsAgentRestoreCall
Restore: Restores the specified agent from a ZIP file. Replaces the current agent version with a new one. All the intents and entity types in the older version are deleted. After the restore, the restored draft agent will be trained automatically (unless disabled in agent settings). However, once the restore is done, training may not be completed yet. Please call TrainAgent and wait for the operation it returns in order to train explicitly. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An Empty message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) The operation only tracks when restoring is complete, not when it is done training. Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The project that the agent to restore is associated with. Format: `projects/` or `projects//locations/`.
func (*ProjectsLocationsAgentService) Search ¶ added in v0.26.0
func (r *ProjectsLocationsAgentService) Search(parent string) *ProjectsLocationsAgentSearchCall
Search: Returns the list of agents. Since there is at most one conversational agent per project, this method is useful primarily for listing all agents across projects the caller has access to. One can achieve that with a wildcard project collection id "-". Refer to List Sub-Collections (https://cloud.google.com/apis/design/design_patterns#list_sub-collections).
- parent: The project to list agents from. Format: `projects/` or `projects//locations/`.
func (*ProjectsLocationsAgentService) Train ¶ added in v0.9.0
func (r *ProjectsLocationsAgentService) Train(parent string, googleclouddialogflowv2beta1trainagentrequest *GoogleCloudDialogflowV2beta1TrainAgentRequest) *ProjectsLocationsAgentTrainCall
Train: Trains the specified agent. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: An empty Struct message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct) - `response`: An Empty message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The project that the agent to train is associated with. Format: `projects/` or `projects//locations/`.
func (*ProjectsLocationsAgentService) UpdateFulfillment ¶ added in v0.29.0
func (r *ProjectsLocationsAgentService) UpdateFulfillment(nameid string, googleclouddialogflowv2beta1fulfillment *GoogleCloudDialogflowV2beta1Fulfillment) *ProjectsLocationsAgentUpdateFulfillmentCall
UpdateFulfillment: Updates the fulfillment.
- name: The unique identifier of the fulfillment. Supported formats:
- `projects//agent/fulfillment` - `projects//locations//agent/fulfillment` This field is not used for Fulfillment in an Environment.
type ProjectsLocationsAgentSessionsContextsCreateCall ¶ added in v0.9.0
type ProjectsLocationsAgentSessionsContextsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentSessionsContextsCreateCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsContextsCreateCall
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 (*ProjectsLocationsAgentSessionsContextsCreateCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
Do executes the "dialogflow.projects.locations.agent.sessions.contexts.create" call. Exactly one of *GoogleCloudDialogflowV2beta1Context or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Context.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 (*ProjectsLocationsAgentSessionsContextsCreateCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsContextsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentSessionsContextsCreateCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentSessionsContextsDeleteCall ¶ added in v0.9.0
type ProjectsLocationsAgentSessionsContextsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentSessionsContextsDeleteCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsContextsDeleteCall
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 (*ProjectsLocationsAgentSessionsContextsDeleteCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agent.sessions.contexts.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 (*ProjectsLocationsAgentSessionsContextsDeleteCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsContextsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentSessionsContextsDeleteCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentSessionsContextsGetCall ¶ added in v0.9.0
type ProjectsLocationsAgentSessionsContextsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentSessionsContextsGetCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsContextsGetCall
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 (*ProjectsLocationsAgentSessionsContextsGetCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
Do executes the "dialogflow.projects.locations.agent.sessions.contexts.get" call. Exactly one of *GoogleCloudDialogflowV2beta1Context or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Context.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 (*ProjectsLocationsAgentSessionsContextsGetCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsContextsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentSessionsContextsGetCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentSessionsContextsGetCall) IfNoneMatch ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentSessionsContextsGetCall
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 ProjectsLocationsAgentSessionsContextsListCall ¶ added in v0.9.0
type ProjectsLocationsAgentSessionsContextsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentSessionsContextsListCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsListCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsContextsListCall
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 (*ProjectsLocationsAgentSessionsContextsListCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListContextsResponse, error)
Do executes the "dialogflow.projects.locations.agent.sessions.contexts.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListContextsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListContextsResponse.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 (*ProjectsLocationsAgentSessionsContextsListCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsContextsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentSessionsContextsListCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentSessionsContextsListCall) IfNoneMatch ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentSessionsContextsListCall
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 (*ProjectsLocationsAgentSessionsContextsListCall) PageSize ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentSessionsContextsListCall
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 (*ProjectsLocationsAgentSessionsContextsListCall) PageToken ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsListCall) PageToken(pageToken string) *ProjectsLocationsAgentSessionsContextsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentSessionsContextsListCall) Pages ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListContextsResponse) 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 ProjectsLocationsAgentSessionsContextsPatchCall ¶ added in v0.9.0
type ProjectsLocationsAgentSessionsContextsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentSessionsContextsPatchCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsContextsPatchCall
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 (*ProjectsLocationsAgentSessionsContextsPatchCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Context, error)
Do executes the "dialogflow.projects.locations.agent.sessions.contexts.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1Context or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Context.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 (*ProjectsLocationsAgentSessionsContextsPatchCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsContextsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentSessionsContextsPatchCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentSessionsContextsPatchCall) UpdateMask ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsContextsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentSessionsContextsPatchCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated.
type ProjectsLocationsAgentSessionsContextsService ¶ added in v0.9.0
type ProjectsLocationsAgentSessionsContextsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAgentSessionsContextsService ¶ added in v0.9.0
func NewProjectsLocationsAgentSessionsContextsService(s *Service) *ProjectsLocationsAgentSessionsContextsService
func (*ProjectsLocationsAgentSessionsContextsService) Create ¶ added in v0.9.0
func (r *ProjectsLocationsAgentSessionsContextsService) Create(parent string, googleclouddialogflowv2beta1context *GoogleCloudDialogflowV2beta1Context) *ProjectsLocationsAgentSessionsContextsCreateCall
Create: Creates a context. If the specified context already exists, overrides the context.
- parent: The session to create a context for. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, 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.
func (*ProjectsLocationsAgentSessionsContextsService) Delete ¶ added in v0.9.0
func (r *ProjectsLocationsAgentSessionsContextsService) Delete(name string) *ProjectsLocationsAgentSessionsContextsDeleteCall
Delete: Deletes the specified context.
- name: The name of the context to delete. Supported formats: - `projects//agent/sessions//contexts/`, - `projects//locations//agent/sessions//contexts/`, - `projects//agent/environments//users//sessions//contexts/`, - `projects//locations//agent/environments//users//sessions//contexts/ `, 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.
func (*ProjectsLocationsAgentSessionsContextsService) Get ¶ added in v0.9.0
func (r *ProjectsLocationsAgentSessionsContextsService) Get(name string) *ProjectsLocationsAgentSessionsContextsGetCall
Get: Retrieves the specified context.
- name: The name 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/ `, 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.
func (*ProjectsLocationsAgentSessionsContextsService) List ¶ added in v0.9.0
func (r *ProjectsLocationsAgentSessionsContextsService) List(parent string) *ProjectsLocationsAgentSessionsContextsListCall
List: Returns the list of all contexts in the specified session.
- parent: The session to list all contexts from. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, 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.
func (*ProjectsLocationsAgentSessionsContextsService) Patch ¶ added in v0.9.0
func (r *ProjectsLocationsAgentSessionsContextsService) Patch(nameid string, googleclouddialogflowv2beta1context *GoogleCloudDialogflowV2beta1Context) *ProjectsLocationsAgentSessionsContextsPatchCall
Patch: Updates the specified context.
- name: 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`.
type ProjectsLocationsAgentSessionsDeleteContextsCall ¶ added in v0.9.0
type ProjectsLocationsAgentSessionsDeleteContextsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentSessionsDeleteContextsCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsDeleteContextsCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsDeleteContextsCall
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 (*ProjectsLocationsAgentSessionsDeleteContextsCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsDeleteContextsCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agent.sessions.deleteContexts" 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 (*ProjectsLocationsAgentSessionsDeleteContextsCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsDeleteContextsCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsDeleteContextsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentSessionsDeleteContextsCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsDeleteContextsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentSessionsDetectIntentCall ¶ added in v0.9.0
type ProjectsLocationsAgentSessionsDetectIntentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentSessionsDetectIntentCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsDetectIntentCall
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 (*ProjectsLocationsAgentSessionsDetectIntentCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1DetectIntentResponse, error)
Do executes the "dialogflow.projects.locations.agent.sessions.detectIntent" call. Exactly one of *GoogleCloudDialogflowV2beta1DetectIntentResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1DetectIntentResponse.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 (*ProjectsLocationsAgentSessionsDetectIntentCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsDetectIntentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentSessionsDetectIntentCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsDetectIntentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentSessionsEntityTypesCreateCall ¶ added in v0.9.0
type ProjectsLocationsAgentSessionsEntityTypesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentSessionsEntityTypesCreateCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsEntityTypesCreateCall
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 (*ProjectsLocationsAgentSessionsEntityTypesCreateCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
Do executes the "dialogflow.projects.locations.agent.sessions.entityTypes.create" call. Exactly one of *GoogleCloudDialogflowV2beta1SessionEntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SessionEntityType.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 (*ProjectsLocationsAgentSessionsEntityTypesCreateCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsEntityTypesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentSessionsEntityTypesCreateCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentSessionsEntityTypesDeleteCall ¶ added in v0.9.0
type ProjectsLocationsAgentSessionsEntityTypesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentSessionsEntityTypesDeleteCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsEntityTypesDeleteCall
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 (*ProjectsLocationsAgentSessionsEntityTypesDeleteCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agent.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 (*ProjectsLocationsAgentSessionsEntityTypesDeleteCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsEntityTypesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentSessionsEntityTypesDeleteCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentSessionsEntityTypesGetCall ¶ added in v0.9.0
type ProjectsLocationsAgentSessionsEntityTypesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentSessionsEntityTypesGetCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsEntityTypesGetCall
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 (*ProjectsLocationsAgentSessionsEntityTypesGetCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
Do executes the "dialogflow.projects.locations.agent.sessions.entityTypes.get" call. Exactly one of *GoogleCloudDialogflowV2beta1SessionEntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SessionEntityType.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 (*ProjectsLocationsAgentSessionsEntityTypesGetCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsEntityTypesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentSessionsEntityTypesGetCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentSessionsEntityTypesGetCall) IfNoneMatch ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentSessionsEntityTypesGetCall
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 ProjectsLocationsAgentSessionsEntityTypesListCall ¶ added in v0.9.0
type ProjectsLocationsAgentSessionsEntityTypesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentSessionsEntityTypesListCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsEntityTypesListCall
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 (*ProjectsLocationsAgentSessionsEntityTypesListCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse, error)
Do executes the "dialogflow.projects.locations.agent.sessions.entityTypes.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse.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 (*ProjectsLocationsAgentSessionsEntityTypesListCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsEntityTypesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentSessionsEntityTypesListCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentSessionsEntityTypesListCall) IfNoneMatch ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentSessionsEntityTypesListCall
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 (*ProjectsLocationsAgentSessionsEntityTypesListCall) PageSize ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentSessionsEntityTypesListCall
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 (*ProjectsLocationsAgentSessionsEntityTypesListCall) PageToken ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentSessionsEntityTypesListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentSessionsEntityTypesListCall) Pages ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse) 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 ProjectsLocationsAgentSessionsEntityTypesPatchCall ¶ added in v0.9.0
type ProjectsLocationsAgentSessionsEntityTypesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentSessionsEntityTypesPatchCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentSessionsEntityTypesPatchCall
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 (*ProjectsLocationsAgentSessionsEntityTypesPatchCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SessionEntityType, error)
Do executes the "dialogflow.projects.locations.agent.sessions.entityTypes.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1SessionEntityType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SessionEntityType.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 (*ProjectsLocationsAgentSessionsEntityTypesPatchCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentSessionsEntityTypesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentSessionsEntityTypesPatchCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentSessionsEntityTypesPatchCall) UpdateMask ¶ added in v0.9.0
func (c *ProjectsLocationsAgentSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentSessionsEntityTypesPatchCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated.
type ProjectsLocationsAgentSessionsEntityTypesService ¶ added in v0.9.0
type ProjectsLocationsAgentSessionsEntityTypesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAgentSessionsEntityTypesService ¶ added in v0.9.0
func NewProjectsLocationsAgentSessionsEntityTypesService(s *Service) *ProjectsLocationsAgentSessionsEntityTypesService
func (*ProjectsLocationsAgentSessionsEntityTypesService) Create ¶ added in v0.9.0
func (r *ProjectsLocationsAgentSessionsEntityTypesService) Create(parent string, googleclouddialogflowv2beta1sessionentitytype *GoogleCloudDialogflowV2beta1SessionEntityType) *ProjectsLocationsAgentSessionsEntityTypesCreateCall
Create: Creates a session entity type. If the specified session entity type already exists, overrides the session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
- parent: The session to create a session entity type for. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, 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.
func (*ProjectsLocationsAgentSessionsEntityTypesService) Delete ¶ added in v0.9.0
func (r *ProjectsLocationsAgentSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentSessionsEntityTypesDeleteCall
Delete: Deletes the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
- name: The name of the entity type to delete. 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.
func (*ProjectsLocationsAgentSessionsEntityTypesService) Get ¶ added in v0.9.0
func (r *ProjectsLocationsAgentSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentSessionsEntityTypesGetCall
Get: Retrieves the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
- name: The name of the 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.
func (*ProjectsLocationsAgentSessionsEntityTypesService) List ¶ added in v0.9.0
func (r *ProjectsLocationsAgentSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentSessionsEntityTypesListCall
List: Returns the list of all session entity types in the specified session. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
- parent: The session to list all session entity types from. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, 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.
func (*ProjectsLocationsAgentSessionsEntityTypesService) Patch ¶ added in v0.9.0
func (r *ProjectsLocationsAgentSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowv2beta1sessionentitytype *GoogleCloudDialogflowV2beta1SessionEntityType) *ProjectsLocationsAgentSessionsEntityTypesPatchCall
Patch: Updates the specified session entity type. This method doesn't work with Google Assistant integration. Contact Dialogflow support if you need to use session entities with Google Assistant integration.
- name: 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.
type ProjectsLocationsAgentSessionsService ¶ added in v0.9.0
type ProjectsLocationsAgentSessionsService struct { Contexts *ProjectsLocationsAgentSessionsContextsService EntityTypes *ProjectsLocationsAgentSessionsEntityTypesService // contains filtered or unexported fields }
func NewProjectsLocationsAgentSessionsService ¶ added in v0.9.0
func NewProjectsLocationsAgentSessionsService(s *Service) *ProjectsLocationsAgentSessionsService
func (*ProjectsLocationsAgentSessionsService) DeleteContexts ¶ added in v0.9.0
func (r *ProjectsLocationsAgentSessionsService) DeleteContexts(parent string) *ProjectsLocationsAgentSessionsDeleteContextsCall
DeleteContexts: Deletes all active contexts in the specified session.
- parent: The name of the session to delete all contexts from. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, 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.
func (*ProjectsLocationsAgentSessionsService) DetectIntent ¶ added in v0.9.0
func (r *ProjectsLocationsAgentSessionsService) DetectIntent(sessionid string, googleclouddialogflowv2beta1detectintentrequest *GoogleCloudDialogflowV2beta1DetectIntentRequest) *ProjectsLocationsAgentSessionsDetectIntentCall
DetectIntent: Processes a natural language query and returns structured, actionable data as a result. This method is not idempotent, because it may cause contexts and session entity types to be updated, which in turn might affect results of future queries. If you might use Agent Assist (https://cloud.google.com/dialogflow/docs/#aa) or other CCAI products now or in the future, consider using AnalyzeContent instead of `DetectIntent`. `AnalyzeContent` has additional functionality for Agent Assist and other CCAI products. Note: Always use agent versions for production traffic. See Versions and environments (https://cloud.google.com/dialogflow/es/docs/agents-versions).
- session: The name of the session this query is sent to. Supported formats: - `projects//agent/sessions/, - `projects//locations//agent/sessions/`, - `projects//agent/environments//users//sessions/`, - `projects//locations//agent/environments//users//sessions/`, If `Location ID` is not specified we assume default 'us' location. If `Environment ID` is not specified, we assume default 'draft' environment (`Environment ID` might be referred to as environment name at some places). If `User ID` is not specified, we are using "-". It's up to the API caller to choose an appropriate `Session ID` and `User Id`. They can be a random number or some type of user and session identifiers (preferably hashed). The length of the `Session ID` and `User ID` must not exceed 36 characters. For more information, see the API interactions guide (https://cloud.google.com/dialogflow/docs/api-overview). Note: Always use agent versions for production traffic. See Versions and environments (https://cloud.google.com/dialogflow/es/docs/agents-versions).
type ProjectsLocationsAgentTrainCall ¶ added in v0.9.0
type ProjectsLocationsAgentTrainCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentTrainCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsAgentTrainCall) Context(ctx context.Context) *ProjectsLocationsAgentTrainCall
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 (*ProjectsLocationsAgentTrainCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsAgentTrainCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.agent.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 (*ProjectsLocationsAgentTrainCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsAgentTrainCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentTrainCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentTrainCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsAgentTrainCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentUpdateFulfillmentCall ¶ added in v0.29.0
type ProjectsLocationsAgentUpdateFulfillmentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentUpdateFulfillmentCall) Context ¶ added in v0.29.0
func (c *ProjectsLocationsAgentUpdateFulfillmentCall) Context(ctx context.Context) *ProjectsLocationsAgentUpdateFulfillmentCall
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 (*ProjectsLocationsAgentUpdateFulfillmentCall) Do ¶ added in v0.29.0
func (c *ProjectsLocationsAgentUpdateFulfillmentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Fulfillment, error)
Do executes the "dialogflow.projects.locations.agent.updateFulfillment" call. Exactly one of *GoogleCloudDialogflowV2beta1Fulfillment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Fulfillment.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 (*ProjectsLocationsAgentUpdateFulfillmentCall) Fields ¶ added in v0.29.0
func (c *ProjectsLocationsAgentUpdateFulfillmentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentUpdateFulfillmentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentUpdateFulfillmentCall) Header ¶ added in v0.29.0
func (c *ProjectsLocationsAgentUpdateFulfillmentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentUpdateFulfillmentCall) UpdateMask ¶ added in v0.29.0
func (c *ProjectsLocationsAgentUpdateFulfillmentCall) UpdateMask(updateMask string) *ProjectsLocationsAgentUpdateFulfillmentCall
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 ProjectsLocationsAgentVersionsCreateCall ¶ added in v0.18.0
type ProjectsLocationsAgentVersionsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentVersionsCreateCall) Context ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentVersionsCreateCall
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 (*ProjectsLocationsAgentVersionsCreateCall) Do ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Version, error)
Do executes the "dialogflow.projects.locations.agent.versions.create" call. Exactly one of *GoogleCloudDialogflowV2beta1Version or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Version.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 (*ProjectsLocationsAgentVersionsCreateCall) Fields ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentVersionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentVersionsCreateCall) Header ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentVersionsDeleteCall ¶ added in v0.46.0
type ProjectsLocationsAgentVersionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentVersionsDeleteCall) Context ¶ added in v0.46.0
func (c *ProjectsLocationsAgentVersionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentVersionsDeleteCall
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 (*ProjectsLocationsAgentVersionsDeleteCall) Do ¶ added in v0.46.0
func (c *ProjectsLocationsAgentVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.agent.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 (*ProjectsLocationsAgentVersionsDeleteCall) Fields ¶ added in v0.46.0
func (c *ProjectsLocationsAgentVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentVersionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentVersionsDeleteCall) Header ¶ added in v0.46.0
func (c *ProjectsLocationsAgentVersionsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsAgentVersionsGetCall ¶ added in v0.18.0
type ProjectsLocationsAgentVersionsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentVersionsGetCall) Context ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentVersionsGetCall
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 (*ProjectsLocationsAgentVersionsGetCall) Do ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Version, error)
Do executes the "dialogflow.projects.locations.agent.versions.get" call. Exactly one of *GoogleCloudDialogflowV2beta1Version or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Version.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 (*ProjectsLocationsAgentVersionsGetCall) Fields ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentVersionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentVersionsGetCall) Header ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentVersionsGetCall) IfNoneMatch ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentVersionsGetCall
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 ProjectsLocationsAgentVersionsListCall ¶ added in v0.18.0
type ProjectsLocationsAgentVersionsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentVersionsListCall) Context ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsListCall) Context(ctx context.Context) *ProjectsLocationsAgentVersionsListCall
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 (*ProjectsLocationsAgentVersionsListCall) Do ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListVersionsResponse, error)
Do executes the "dialogflow.projects.locations.agent.versions.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListVersionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListVersionsResponse.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 (*ProjectsLocationsAgentVersionsListCall) Fields ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentVersionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentVersionsListCall) Header ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentVersionsListCall) IfNoneMatch ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentVersionsListCall
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 (*ProjectsLocationsAgentVersionsListCall) PageSize ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentVersionsListCall
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 (*ProjectsLocationsAgentVersionsListCall) PageToken ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsListCall) PageToken(pageToken string) *ProjectsLocationsAgentVersionsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsAgentVersionsListCall) Pages ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListVersionsResponse) 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 ProjectsLocationsAgentVersionsPatchCall ¶ added in v0.18.0
type ProjectsLocationsAgentVersionsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAgentVersionsPatchCall) Context ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentVersionsPatchCall
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 (*ProjectsLocationsAgentVersionsPatchCall) Do ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Version, error)
Do executes the "dialogflow.projects.locations.agent.versions.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1Version or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Version.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 (*ProjectsLocationsAgentVersionsPatchCall) Fields ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentVersionsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAgentVersionsPatchCall) Header ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAgentVersionsPatchCall) UpdateMask ¶ added in v0.18.0
func (c *ProjectsLocationsAgentVersionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentVersionsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The mask to control which fields get updated.
type ProjectsLocationsAgentVersionsService ¶ added in v0.18.0
type ProjectsLocationsAgentVersionsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAgentVersionsService ¶ added in v0.18.0
func NewProjectsLocationsAgentVersionsService(s *Service) *ProjectsLocationsAgentVersionsService
func (*ProjectsLocationsAgentVersionsService) Create ¶ added in v0.18.0
func (r *ProjectsLocationsAgentVersionsService) Create(parent string, googleclouddialogflowv2beta1version *GoogleCloudDialogflowV2beta1Version) *ProjectsLocationsAgentVersionsCreateCall
Create: Creates an agent version. The new version points to the agent instance in the "default" environment.
- parent: The agent to create a version for. Supported formats: - `projects//agent` - `projects//locations//agent`.
func (*ProjectsLocationsAgentVersionsService) Delete ¶ added in v0.46.0
func (r *ProjectsLocationsAgentVersionsService) Delete(name string) *ProjectsLocationsAgentVersionsDeleteCall
Delete: Delete the specified agent version.
- name: The name of the version to delete. Supported formats: - `projects//agent/versions/` - `projects//locations//agent/versions/`.
func (*ProjectsLocationsAgentVersionsService) Get ¶ added in v0.18.0
func (r *ProjectsLocationsAgentVersionsService) Get(name string) *ProjectsLocationsAgentVersionsGetCall
Get: Retrieves the specified agent version.
- name: The name of the version. Supported formats: - `projects//agent/versions/` - `projects//locations//agent/versions/`.
func (*ProjectsLocationsAgentVersionsService) List ¶ added in v0.18.0
func (r *ProjectsLocationsAgentVersionsService) List(parent string) *ProjectsLocationsAgentVersionsListCall
List: Returns the list of all versions of the specified agent.
- parent: The agent to list all versions from. Supported formats: - `projects//agent` - `projects//locations//agent`.
func (*ProjectsLocationsAgentVersionsService) Patch ¶ added in v0.18.0
func (r *ProjectsLocationsAgentVersionsService) Patch(nameid string, googleclouddialogflowv2beta1version *GoogleCloudDialogflowV2beta1Version) *ProjectsLocationsAgentVersionsPatchCall
Patch: Updates the specified agent version. Note that this method does not allow you to update the state of the agent the given version points to. It allows you to update only mutable properties of the version resource.
- name: Output only. The unique identifier of this agent version. Supported formats: - `projects//agent/versions/` - `projects//locations//agent/versions/`.
type ProjectsLocationsAnswerRecordsGetCall ¶ added in v0.42.0
type ProjectsLocationsAnswerRecordsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAnswerRecordsGetCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsAnswerRecordsGetCall) Context(ctx context.Context) *ProjectsLocationsAnswerRecordsGetCall
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 (*ProjectsLocationsAnswerRecordsGetCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsAnswerRecordsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1AnswerRecord, error)
Do executes the "dialogflow.projects.locations.answerRecords.get" call. Exactly one of *GoogleCloudDialogflowV2beta1AnswerRecord or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1AnswerRecord.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 (*ProjectsLocationsAnswerRecordsGetCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsAnswerRecordsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAnswerRecordsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAnswerRecordsGetCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsAnswerRecordsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAnswerRecordsGetCall) IfNoneMatch ¶ added in v0.42.0
func (c *ProjectsLocationsAnswerRecordsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAnswerRecordsGetCall
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 ProjectsLocationsAnswerRecordsListCall ¶ added in v0.42.0
type ProjectsLocationsAnswerRecordsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAnswerRecordsListCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsAnswerRecordsListCall) Context(ctx context.Context) *ProjectsLocationsAnswerRecordsListCall
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 (*ProjectsLocationsAnswerRecordsListCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsAnswerRecordsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse, error)
Do executes the "dialogflow.projects.locations.answerRecords.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse.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 (*ProjectsLocationsAnswerRecordsListCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsAnswerRecordsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAnswerRecordsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAnswerRecordsListCall) Filter ¶ added in v0.89.0
func (c *ProjectsLocationsAnswerRecordsListCall) Filter(filter string) *ProjectsLocationsAnswerRecordsListCall
Filter sets the optional parameter "filter": Filters to restrict results to specific answer records. For more information about filtering, see API Filtering (https://aip.dev/160).
func (*ProjectsLocationsAnswerRecordsListCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsAnswerRecordsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAnswerRecordsListCall) IfNoneMatch ¶ added in v0.42.0
func (c *ProjectsLocationsAnswerRecordsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAnswerRecordsListCall
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 (*ProjectsLocationsAnswerRecordsListCall) PageSize ¶ added in v0.42.0
func (c *ProjectsLocationsAnswerRecordsListCall) PageSize(pageSize int64) *ProjectsLocationsAnswerRecordsListCall
PageSize sets the optional parameter "pageSize": The maximum number of records to return in a single page. The server may return fewer records than this. If unspecified, we use 10. The maximum is 100.
func (*ProjectsLocationsAnswerRecordsListCall) PageToken ¶ added in v0.42.0
func (c *ProjectsLocationsAnswerRecordsListCall) PageToken(pageToken string) *ProjectsLocationsAnswerRecordsListCall
PageToken sets the optional parameter "pageToken": The ListAnswerRecordsResponse.next_page_token value returned from a previous list request used to continue listing on the next page.
func (*ProjectsLocationsAnswerRecordsListCall) Pages ¶ added in v0.42.0
func (c *ProjectsLocationsAnswerRecordsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListAnswerRecordsResponse) 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 ProjectsLocationsAnswerRecordsPatchCall ¶ added in v0.42.0
type ProjectsLocationsAnswerRecordsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAnswerRecordsPatchCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsAnswerRecordsPatchCall) Context(ctx context.Context) *ProjectsLocationsAnswerRecordsPatchCall
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 (*ProjectsLocationsAnswerRecordsPatchCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsAnswerRecordsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1AnswerRecord, error)
Do executes the "dialogflow.projects.locations.answerRecords.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1AnswerRecord or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1AnswerRecord.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 (*ProjectsLocationsAnswerRecordsPatchCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsAnswerRecordsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAnswerRecordsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAnswerRecordsPatchCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsAnswerRecordsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAnswerRecordsPatchCall) UpdateMask ¶ added in v0.42.0
func (c *ProjectsLocationsAnswerRecordsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAnswerRecordsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The mask to control which fields get updated.
type ProjectsLocationsAnswerRecordsService ¶ added in v0.42.0
type ProjectsLocationsAnswerRecordsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAnswerRecordsService ¶ added in v0.42.0
func NewProjectsLocationsAnswerRecordsService(s *Service) *ProjectsLocationsAnswerRecordsService
func (*ProjectsLocationsAnswerRecordsService) Get ¶ added in v0.42.0
func (r *ProjectsLocationsAnswerRecordsService) Get(name string) *ProjectsLocationsAnswerRecordsGetCall
Get: Deprecated. Retrieves a specific answer record.
- name: The name of the answer record to retrieve. Format: `projects//locations//answerRecords/`.
func (*ProjectsLocationsAnswerRecordsService) List ¶ added in v0.42.0
func (r *ProjectsLocationsAnswerRecordsService) List(parent string) *ProjectsLocationsAnswerRecordsListCall
List: Returns the list of all answer records in the specified project in reverse chronological order.
- parent: The project to list all answer records for in reverse chronological order. Format: `projects//locations/`.
func (*ProjectsLocationsAnswerRecordsService) Patch ¶ added in v0.42.0
func (r *ProjectsLocationsAnswerRecordsService) Patch(nameid string, googleclouddialogflowv2beta1answerrecord *GoogleCloudDialogflowV2beta1AnswerRecord) *ProjectsLocationsAnswerRecordsPatchCall
Patch: Updates the specified answer record.
- name: The unique identifier of this answer record. Required for AnswerRecords.UpdateAnswerRecord method. Format: `projects//locations//answerRecords/`.
type ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall ¶ added in v0.71.0
type ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall) Context ¶ added in v0.71.0
func (c *ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall) Context(ctx context.Context) *ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall
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 (*ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall) Do ¶ added in v0.71.0
func (c *ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.conversationProfiles.clearSuggestionFeatureConfig" 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 (*ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall) Fields ¶ added in v0.71.0
func (c *ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall) Header ¶ added in v0.71.0
func (c *ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsConversationProfilesCreateCall ¶ added in v0.42.0
type ProjectsLocationsConversationProfilesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationProfilesCreateCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesCreateCall) Context(ctx context.Context) *ProjectsLocationsConversationProfilesCreateCall
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 (*ProjectsLocationsConversationProfilesCreateCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ConversationProfile, error)
Do executes the "dialogflow.projects.locations.conversationProfiles.create" call. Exactly one of *GoogleCloudDialogflowV2beta1ConversationProfile or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ConversationProfile.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 (*ProjectsLocationsConversationProfilesCreateCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationProfilesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationProfilesCreateCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsConversationProfilesDeleteCall ¶ added in v0.42.0
type ProjectsLocationsConversationProfilesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationProfilesDeleteCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesDeleteCall) Context(ctx context.Context) *ProjectsLocationsConversationProfilesDeleteCall
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 (*ProjectsLocationsConversationProfilesDeleteCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.conversationProfiles.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 (*ProjectsLocationsConversationProfilesDeleteCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationProfilesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationProfilesDeleteCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsConversationProfilesGetCall ¶ added in v0.42.0
type ProjectsLocationsConversationProfilesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationProfilesGetCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesGetCall) Context(ctx context.Context) *ProjectsLocationsConversationProfilesGetCall
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 (*ProjectsLocationsConversationProfilesGetCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ConversationProfile, error)
Do executes the "dialogflow.projects.locations.conversationProfiles.get" call. Exactly one of *GoogleCloudDialogflowV2beta1ConversationProfile or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ConversationProfile.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 (*ProjectsLocationsConversationProfilesGetCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationProfilesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationProfilesGetCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsConversationProfilesGetCall) IfNoneMatch ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsConversationProfilesGetCall
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 ProjectsLocationsConversationProfilesListCall ¶ added in v0.42.0
type ProjectsLocationsConversationProfilesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationProfilesListCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesListCall) Context(ctx context.Context) *ProjectsLocationsConversationProfilesListCall
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 (*ProjectsLocationsConversationProfilesListCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListConversationProfilesResponse, error)
Do executes the "dialogflow.projects.locations.conversationProfiles.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListConversationProfilesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListConversationProfilesResponse.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 (*ProjectsLocationsConversationProfilesListCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationProfilesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationProfilesListCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsConversationProfilesListCall) IfNoneMatch ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsConversationProfilesListCall
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 (*ProjectsLocationsConversationProfilesListCall) PageSize ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesListCall) PageSize(pageSize int64) *ProjectsLocationsConversationProfilesListCall
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 (*ProjectsLocationsConversationProfilesListCall) PageToken ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesListCall) PageToken(pageToken string) *ProjectsLocationsConversationProfilesListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsConversationProfilesListCall) Pages ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListConversationProfilesResponse) 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 ProjectsLocationsConversationProfilesPatchCall ¶ added in v0.42.0
type ProjectsLocationsConversationProfilesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationProfilesPatchCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesPatchCall) Context(ctx context.Context) *ProjectsLocationsConversationProfilesPatchCall
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 (*ProjectsLocationsConversationProfilesPatchCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ConversationProfile, error)
Do executes the "dialogflow.projects.locations.conversationProfiles.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1ConversationProfile or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ConversationProfile.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 (*ProjectsLocationsConversationProfilesPatchCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationProfilesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationProfilesPatchCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsConversationProfilesPatchCall) UpdateMask ¶ added in v0.42.0
func (c *ProjectsLocationsConversationProfilesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsConversationProfilesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The mask to control which fields to update.
type ProjectsLocationsConversationProfilesService ¶ added in v0.42.0
type ProjectsLocationsConversationProfilesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsConversationProfilesService ¶ added in v0.42.0
func NewProjectsLocationsConversationProfilesService(s *Service) *ProjectsLocationsConversationProfilesService
func (*ProjectsLocationsConversationProfilesService) ClearSuggestionFeatureConfig ¶ added in v0.71.0
func (r *ProjectsLocationsConversationProfilesService) ClearSuggestionFeatureConfig(conversationProfile string, googleclouddialogflowv2beta1clearsuggestionfeatureconfigrequest *GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigRequest) *ProjectsLocationsConversationProfilesClearSuggestionFeatureConfigCall
ClearSuggestionFeatureConfig: Clears a suggestion feature from a conversation profile for the given participant role. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: ClearSuggestionFeatureConfigOperationMetadata - `response`: ConversationProfile
- conversationProfile: The Conversation Profile to add or update the suggestion feature config. Format: `projects//locations//conversationProfiles/`.
func (*ProjectsLocationsConversationProfilesService) Create ¶ added in v0.42.0
func (r *ProjectsLocationsConversationProfilesService) Create(parent string, googleclouddialogflowv2beta1conversationprofile *GoogleCloudDialogflowV2beta1ConversationProfile) *ProjectsLocationsConversationProfilesCreateCall
Create: Creates a conversation profile in the specified project. ConversationProfile.CreateTime and ConversationProfile.UpdateTime aren't populated in the response. You can retrieve them via GetConversationProfile API.
- parent: The project to create a conversation profile for. Format: `projects//locations/`.
func (*ProjectsLocationsConversationProfilesService) Delete ¶ added in v0.42.0
func (r *ProjectsLocationsConversationProfilesService) Delete(name string) *ProjectsLocationsConversationProfilesDeleteCall
Delete: Deletes the specified conversation profile.
- name: The name of the conversation profile to delete. Format: `projects//locations//conversationProfiles/`.
func (*ProjectsLocationsConversationProfilesService) Get ¶ added in v0.42.0
func (r *ProjectsLocationsConversationProfilesService) Get(name string) *ProjectsLocationsConversationProfilesGetCall
Get: Retrieves the specified conversation profile.
- name: The resource name of the conversation profile. Format: `projects//locations//conversationProfiles/`.
func (*ProjectsLocationsConversationProfilesService) List ¶ added in v0.42.0
func (r *ProjectsLocationsConversationProfilesService) List(parent string) *ProjectsLocationsConversationProfilesListCall
List: Returns the list of all conversation profiles in the specified project.
- parent: The project to list all conversation profiles from. Format: `projects//locations/`.
func (*ProjectsLocationsConversationProfilesService) Patch ¶ added in v0.42.0
func (r *ProjectsLocationsConversationProfilesService) Patch(nameid string, googleclouddialogflowv2beta1conversationprofile *GoogleCloudDialogflowV2beta1ConversationProfile) *ProjectsLocationsConversationProfilesPatchCall
Patch: Updates the specified conversation profile. ConversationProfile.CreateTime and ConversationProfile.UpdateTime aren't populated in the response. You can retrieve them via GetConversationProfile API.
- name: The unique identifier of this conversation profile. Format: `projects//locations//conversationProfiles/`.
func (*ProjectsLocationsConversationProfilesService) SetSuggestionFeatureConfig ¶ added in v0.71.0
func (r *ProjectsLocationsConversationProfilesService) SetSuggestionFeatureConfig(conversationProfile string, googleclouddialogflowv2beta1setsuggestionfeatureconfigrequest *GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigRequest) *ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall
SetSuggestionFeatureConfig: Adds or updates a suggestion feature in a conversation profile. If the conversation profile contains the type of suggestion feature for the participant role, it will update it. Otherwise it will insert the suggestion feature. This method is a long-running operation (https://cloud.google.com/dialogflow/es/docs/how/long-running-operations). The returned `Operation` type has the following method-specific fields: - `metadata`: SetSuggestionFeatureConfigOperationMetadata - `response`: ConversationProfile If a long running operation to add or update suggestion feature config for the same conversation profile, participant role and suggestion feature type exists, please cancel the existing long running operation before sending such request, otherwise the request will be rejected.
- conversationProfile: The Conversation Profile to add or update the suggestion feature config. Format: `projects//locations//conversationProfiles/`.
type ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall ¶ added in v0.71.0
type ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall) Context ¶ added in v0.71.0
func (c *ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall) Context(ctx context.Context) *ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall
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 (*ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall) Do ¶ added in v0.71.0
func (c *ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.conversationProfiles.setSuggestionFeatureConfig" 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 (*ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall) Fields ¶ added in v0.71.0
func (c *ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall) Header ¶ added in v0.71.0
func (c *ProjectsLocationsConversationProfilesSetSuggestionFeatureConfigCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsConversationsCompleteCall ¶ added in v0.42.0
type ProjectsLocationsConversationsCompleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationsCompleteCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsCompleteCall) Context(ctx context.Context) *ProjectsLocationsConversationsCompleteCall
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 (*ProjectsLocationsConversationsCompleteCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsCompleteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Conversation, error)
Do executes the "dialogflow.projects.locations.conversations.complete" call. Exactly one of *GoogleCloudDialogflowV2beta1Conversation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Conversation.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 (*ProjectsLocationsConversationsCompleteCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsCompleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsCompleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationsCompleteCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsCompleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsConversationsCreateCall ¶ added in v0.42.0
type ProjectsLocationsConversationsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationsCreateCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsCreateCall) Context(ctx context.Context) *ProjectsLocationsConversationsCreateCall
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 (*ProjectsLocationsConversationsCreateCall) ConversationId ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsCreateCall) ConversationId(conversationId string) *ProjectsLocationsConversationsCreateCall
ConversationId sets the optional parameter "conversationId": Identifier of the conversation. Generally it's auto generated by Google. Only set it if you cannot wait for the response to return a auto-generated one to you. The conversation ID must be compliant with the regression fomula "a-zA-Z*" with the characters length in range of [3,64]. If the field is provided, the caller is resposible for 1. the uniqueness of the ID, otherwise the request will be rejected. 2. the consistency for whether to use custom ID or not under a project to better ensure uniqueness.
func (*ProjectsLocationsConversationsCreateCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Conversation, error)
Do executes the "dialogflow.projects.locations.conversations.create" call. Exactly one of *GoogleCloudDialogflowV2beta1Conversation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Conversation.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 (*ProjectsLocationsConversationsCreateCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationsCreateCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsConversationsGetCall ¶ added in v0.42.0
type ProjectsLocationsConversationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationsGetCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsGetCall) Context(ctx context.Context) *ProjectsLocationsConversationsGetCall
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 (*ProjectsLocationsConversationsGetCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Conversation, error)
Do executes the "dialogflow.projects.locations.conversations.get" call. Exactly one of *GoogleCloudDialogflowV2beta1Conversation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Conversation.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 (*ProjectsLocationsConversationsGetCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationsGetCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsConversationsGetCall) IfNoneMatch ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsConversationsGetCall
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 ProjectsLocationsConversationsListCall ¶ added in v0.42.0
type ProjectsLocationsConversationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationsListCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsListCall) Context(ctx context.Context) *ProjectsLocationsConversationsListCall
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 (*ProjectsLocationsConversationsListCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListConversationsResponse, error)
Do executes the "dialogflow.projects.locations.conversations.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListConversationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListConversationsResponse.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 (*ProjectsLocationsConversationsListCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationsListCall) Filter ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsListCall) Filter(filter string) *ProjectsLocationsConversationsListCall
Filter sets the optional parameter "filter": A filter expression that filters conversations listed in the response. In general, the expression must specify the field name, a comparison operator, and the value to use for filtering: - The value must be a string, a number, or a boolean. - The comparison operator must be either `=`,`!=`, `>`, or `<`. - To filter on multiple expressions, separate the expressions with `AND` or `OR` (omitting both implies `AND`). - For clarity, expressions can be enclosed in parentheses. Only `lifecycle_state` can be filtered on in this way. For example, the following expression only returns `COMPLETED` conversations: `lifecycle_state = "COMPLETED" For more information about filtering, see API Filtering (https://aip.dev/160).
func (*ProjectsLocationsConversationsListCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsConversationsListCall) IfNoneMatch ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsConversationsListCall
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 (*ProjectsLocationsConversationsListCall) PageSize ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsListCall) PageSize(pageSize int64) *ProjectsLocationsConversationsListCall
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 (*ProjectsLocationsConversationsListCall) PageToken ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsListCall) PageToken(pageToken string) *ProjectsLocationsConversationsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsConversationsListCall) Pages ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListConversationsResponse) 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 ProjectsLocationsConversationsMessagesBatchCreateCall ¶ added in v0.42.0
type ProjectsLocationsConversationsMessagesBatchCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationsMessagesBatchCreateCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsMessagesBatchCreateCall) Context(ctx context.Context) *ProjectsLocationsConversationsMessagesBatchCreateCall
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 (*ProjectsLocationsConversationsMessagesBatchCreateCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsMessagesBatchCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse, error)
Do executes the "dialogflow.projects.locations.conversations.messages.batchCreate" call. Exactly one of *GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1BatchCreateMessagesResponse.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 (*ProjectsLocationsConversationsMessagesBatchCreateCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsMessagesBatchCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsMessagesBatchCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationsMessagesBatchCreateCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsMessagesBatchCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsConversationsMessagesListCall ¶ added in v0.42.0
type ProjectsLocationsConversationsMessagesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationsMessagesListCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsMessagesListCall) Context(ctx context.Context) *ProjectsLocationsConversationsMessagesListCall
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 (*ProjectsLocationsConversationsMessagesListCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsMessagesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListMessagesResponse, error)
Do executes the "dialogflow.projects.locations.conversations.messages.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListMessagesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListMessagesResponse.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 (*ProjectsLocationsConversationsMessagesListCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsMessagesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsMessagesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationsMessagesListCall) Filter ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsMessagesListCall) Filter(filter string) *ProjectsLocationsConversationsMessagesListCall
Filter sets the optional parameter "filter": Filter on message fields. Currently predicates on `create_time` and `create_time_epoch_microseconds` are supported. `create_time` only support milliseconds accuracy. E.g., `create_time_epoch_microseconds > 1551790877964485` or `create_time > "2017-01-15T01:30:15.01Z". For more information about filtering, see API Filtering (https://aip.dev/160).
func (*ProjectsLocationsConversationsMessagesListCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsMessagesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsConversationsMessagesListCall) IfNoneMatch ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsMessagesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsConversationsMessagesListCall
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 (*ProjectsLocationsConversationsMessagesListCall) PageSize ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsMessagesListCall) PageSize(pageSize int64) *ProjectsLocationsConversationsMessagesListCall
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 (*ProjectsLocationsConversationsMessagesListCall) PageToken ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsMessagesListCall) PageToken(pageToken string) *ProjectsLocationsConversationsMessagesListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsConversationsMessagesListCall) Pages ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsMessagesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListMessagesResponse) 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 ProjectsLocationsConversationsMessagesService ¶ added in v0.42.0
type ProjectsLocationsConversationsMessagesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsConversationsMessagesService ¶ added in v0.42.0
func NewProjectsLocationsConversationsMessagesService(s *Service) *ProjectsLocationsConversationsMessagesService
func (*ProjectsLocationsConversationsMessagesService) BatchCreate ¶ added in v0.42.0
func (r *ProjectsLocationsConversationsMessagesService) BatchCreate(parentid string, googleclouddialogflowv2beta1batchcreatemessagesrequest *GoogleCloudDialogflowV2beta1BatchCreateMessagesRequest) *ProjectsLocationsConversationsMessagesBatchCreateCall
BatchCreate: Batch ingests messages to conversation. Customers can use this RPC to ingest historical messages to conversation.
- parent: Resource identifier of the conversation to create message. Format: `projects//locations//conversations/`.
func (*ProjectsLocationsConversationsMessagesService) List ¶ added in v0.42.0
func (r *ProjectsLocationsConversationsMessagesService) List(parent string) *ProjectsLocationsConversationsMessagesListCall
List: Lists messages that belong to a given conversation. `messages` are ordered by `create_time` in descending order. To fetch updates without duplication, send request with filter `create_time_epoch_microseconds > [first item's create_time of previous request]` and empty page_token.
- parent: The name of the conversation to list messages for. Format: `projects//locations//conversations/`.
type ProjectsLocationsConversationsParticipantsAnalyzeContentCall ¶ added in v0.42.0
type ProjectsLocationsConversationsParticipantsAnalyzeContentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationsParticipantsAnalyzeContentCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsAnalyzeContentCall) Context(ctx context.Context) *ProjectsLocationsConversationsParticipantsAnalyzeContentCall
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 (*ProjectsLocationsConversationsParticipantsAnalyzeContentCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsAnalyzeContentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1AnalyzeContentResponse, error)
Do executes the "dialogflow.projects.locations.conversations.participants.analyzeContent" call. Exactly one of *GoogleCloudDialogflowV2beta1AnalyzeContentResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1AnalyzeContentResponse.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 (*ProjectsLocationsConversationsParticipantsAnalyzeContentCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsAnalyzeContentCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsParticipantsAnalyzeContentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationsParticipantsAnalyzeContentCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsAnalyzeContentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsConversationsParticipantsCreateCall ¶ added in v0.42.0
type ProjectsLocationsConversationsParticipantsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationsParticipantsCreateCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsCreateCall) Context(ctx context.Context) *ProjectsLocationsConversationsParticipantsCreateCall
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 (*ProjectsLocationsConversationsParticipantsCreateCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Participant, error)
Do executes the "dialogflow.projects.locations.conversations.participants.create" call. Exactly one of *GoogleCloudDialogflowV2beta1Participant or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Participant.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 (*ProjectsLocationsConversationsParticipantsCreateCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsParticipantsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationsParticipantsCreateCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsConversationsParticipantsGetCall ¶ added in v0.42.0
type ProjectsLocationsConversationsParticipantsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationsParticipantsGetCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsGetCall) Context(ctx context.Context) *ProjectsLocationsConversationsParticipantsGetCall
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 (*ProjectsLocationsConversationsParticipantsGetCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Participant, error)
Do executes the "dialogflow.projects.locations.conversations.participants.get" call. Exactly one of *GoogleCloudDialogflowV2beta1Participant or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Participant.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 (*ProjectsLocationsConversationsParticipantsGetCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsParticipantsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationsParticipantsGetCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsConversationsParticipantsGetCall) IfNoneMatch ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsConversationsParticipantsGetCall
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 ProjectsLocationsConversationsParticipantsListCall ¶ added in v0.42.0
type ProjectsLocationsConversationsParticipantsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationsParticipantsListCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsListCall) Context(ctx context.Context) *ProjectsLocationsConversationsParticipantsListCall
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 (*ProjectsLocationsConversationsParticipantsListCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListParticipantsResponse, error)
Do executes the "dialogflow.projects.locations.conversations.participants.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListParticipantsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListParticipantsResponse.ServerResponse.H eader 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 (*ProjectsLocationsConversationsParticipantsListCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsParticipantsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationsParticipantsListCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsConversationsParticipantsListCall) IfNoneMatch ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsConversationsParticipantsListCall
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 (*ProjectsLocationsConversationsParticipantsListCall) PageSize ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsListCall) PageSize(pageSize int64) *ProjectsLocationsConversationsParticipantsListCall
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 (*ProjectsLocationsConversationsParticipantsListCall) PageToken ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsListCall) PageToken(pageToken string) *ProjectsLocationsConversationsParticipantsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsConversationsParticipantsListCall) Pages ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListParticipantsResponse) 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 ProjectsLocationsConversationsParticipantsPatchCall ¶ added in v0.42.0
type ProjectsLocationsConversationsParticipantsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationsParticipantsPatchCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsPatchCall) Context(ctx context.Context) *ProjectsLocationsConversationsParticipantsPatchCall
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 (*ProjectsLocationsConversationsParticipantsPatchCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Participant, error)
Do executes the "dialogflow.projects.locations.conversations.participants.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1Participant or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Participant.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 (*ProjectsLocationsConversationsParticipantsPatchCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsParticipantsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationsParticipantsPatchCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsConversationsParticipantsPatchCall) UpdateMask ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsConversationsParticipantsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. The mask to specify which fields to update.
type ProjectsLocationsConversationsParticipantsService ¶ added in v0.42.0
type ProjectsLocationsConversationsParticipantsService struct { Suggestions *ProjectsLocationsConversationsParticipantsSuggestionsService // contains filtered or unexported fields }
func NewProjectsLocationsConversationsParticipantsService ¶ added in v0.42.0
func NewProjectsLocationsConversationsParticipantsService(s *Service) *ProjectsLocationsConversationsParticipantsService
func (*ProjectsLocationsConversationsParticipantsService) AnalyzeContent ¶ added in v0.42.0
func (r *ProjectsLocationsConversationsParticipantsService) AnalyzeContent(participant string, googleclouddialogflowv2beta1analyzecontentrequest *GoogleCloudDialogflowV2beta1AnalyzeContentRequest) *ProjectsLocationsConversationsParticipantsAnalyzeContentCall
AnalyzeContent: Adds a text (chat, for example), or audio (phone recording, for example) message from a participant into the conversation. Note: Always use agent versions for production traffic sent to virtual agents. See Versions and environments (https://cloud.google.com/dialogflow/es/docs/agents-versions).
- participant: The name of the participant this text comes from. Format: `projects//locations//conversations//participants/`.
func (*ProjectsLocationsConversationsParticipantsService) Create ¶ added in v0.42.0
func (r *ProjectsLocationsConversationsParticipantsService) Create(parentid string, googleclouddialogflowv2beta1participant *GoogleCloudDialogflowV2beta1Participant) *ProjectsLocationsConversationsParticipantsCreateCall
Create: Creates a new participant in a conversation.
- parent: Resource identifier of the conversation adding the participant. Format: `projects//locations//conversations/`.
func (*ProjectsLocationsConversationsParticipantsService) Get ¶ added in v0.42.0
func (r *ProjectsLocationsConversationsParticipantsService) Get(name string) *ProjectsLocationsConversationsParticipantsGetCall
Get: Retrieves a conversation participant.
- name: The name of the participant. Format: `projects//locations//conversations//participants/`.
func (*ProjectsLocationsConversationsParticipantsService) List ¶ added in v0.42.0
func (r *ProjectsLocationsConversationsParticipantsService) List(parent string) *ProjectsLocationsConversationsParticipantsListCall
List: Returns the list of all participants in the specified conversation.
- parent: The conversation to list all participants from. Format: `projects//locations//conversations/`.
func (*ProjectsLocationsConversationsParticipantsService) Patch ¶ added in v0.42.0
func (r *ProjectsLocationsConversationsParticipantsService) Patch(nameid string, googleclouddialogflowv2beta1participant *GoogleCloudDialogflowV2beta1Participant) *ProjectsLocationsConversationsParticipantsPatchCall
Patch: Updates the specified participant.
- name: Optional. The unique identifier of this participant. Format: `projects//locations//conversations//participants/`.
type ProjectsLocationsConversationsParticipantsSuggestionsService ¶ added in v0.42.0
type ProjectsLocationsConversationsParticipantsSuggestionsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsConversationsParticipantsSuggestionsService ¶ added in v0.42.0
func NewProjectsLocationsConversationsParticipantsSuggestionsService(s *Service) *ProjectsLocationsConversationsParticipantsSuggestionsService
func (*ProjectsLocationsConversationsParticipantsSuggestionsService) SuggestArticles ¶ added in v0.42.0
func (r *ProjectsLocationsConversationsParticipantsSuggestionsService) SuggestArticles(parent string, googleclouddialogflowv2beta1suggestarticlesrequest *GoogleCloudDialogflowV2beta1SuggestArticlesRequest) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall
SuggestArticles: Gets suggested articles for a participant based on specific historical messages. Note that ListSuggestions will only list the auto-generated suggestions, while CompileSuggestion will try to compile suggestion based on the provided conversation context in the real time.
- parent: The name of the participant to fetch suggestion for. Format: `projects//locations//conversations//participants/`.
func (*ProjectsLocationsConversationsParticipantsSuggestionsService) SuggestFaqAnswers ¶ added in v0.42.0
func (r *ProjectsLocationsConversationsParticipantsSuggestionsService) SuggestFaqAnswers(parent string, googleclouddialogflowv2beta1suggestfaqanswersrequest *GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall
SuggestFaqAnswers: Gets suggested faq answers for a participant based on specific historical messages.
- parent: The name of the participant to fetch suggestion for. Format: `projects//locations//conversations//participants/`.
func (*ProjectsLocationsConversationsParticipantsSuggestionsService) SuggestSmartReplies ¶ added in v0.42.0
func (r *ProjectsLocationsConversationsParticipantsSuggestionsService) SuggestSmartReplies(parent string, googleclouddialogflowv2beta1suggestsmartrepliesrequest *GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall
SuggestSmartReplies: Gets smart replies for a participant based on specific historical messages.
- parent: The name of the participant to fetch suggestion for. Format: `projects//locations//conversations//participants/`.
type ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall ¶ added in v0.42.0
type ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall) Context(ctx context.Context) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall
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 (*ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SuggestArticlesResponse, error)
Do executes the "dialogflow.projects.locations.conversations.participants.suggestions.suggestArticles" call. Exactly one of *GoogleCloudDialogflowV2beta1SuggestArticlesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SuggestArticlesResponse.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 (*ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestArticlesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall ¶ added in v0.42.0
type ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Context(ctx context.Context) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall
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 (*ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse, error)
Do executes the "dialogflow.projects.locations.conversations.participants.suggestions.suggestFaqAnswers" call. Exactly one of *GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse.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 (*ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestFaqAnswersCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall ¶ added in v0.42.0
type ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Context(ctx context.Context) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall
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 (*ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse, error)
Do executes the "dialogflow.projects.locations.conversations.participants.suggestions.suggestSmartReplies" call. Exactly one of *GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse.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 (*ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsConversationsParticipantsSuggestionsSuggestSmartRepliesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsConversationsService ¶ added in v0.42.0
type ProjectsLocationsConversationsService struct { Messages *ProjectsLocationsConversationsMessagesService Participants *ProjectsLocationsConversationsParticipantsService Suggestions *ProjectsLocationsConversationsSuggestionsService // contains filtered or unexported fields }
func NewProjectsLocationsConversationsService ¶ added in v0.42.0
func NewProjectsLocationsConversationsService(s *Service) *ProjectsLocationsConversationsService
func (*ProjectsLocationsConversationsService) Complete ¶ added in v0.42.0
func (r *ProjectsLocationsConversationsService) Complete(nameid string, googleclouddialogflowv2beta1completeconversationrequest *GoogleCloudDialogflowV2beta1CompleteConversationRequest) *ProjectsLocationsConversationsCompleteCall
Complete: Completes the specified conversation. Finished conversations are purged from the database after 30 days.
- name: Resource identifier of the conversation to close. Format: `projects//locations//conversations/`.
func (*ProjectsLocationsConversationsService) Create ¶ added in v0.42.0
func (r *ProjectsLocationsConversationsService) Create(parentid string, googleclouddialogflowv2beta1conversation *GoogleCloudDialogflowV2beta1Conversation) *ProjectsLocationsConversationsCreateCall
Create: Creates a new conversation. Conversations are auto-completed after 24 hours. Conversation Lifecycle: There are two stages during a conversation: Automated Agent Stage and Assist Stage. For Automated Agent Stage, there will be a dialogflow agent responding to user queries. For Assist Stage, there's no dialogflow agent responding to user queries. But we will provide suggestions which are generated from conversation. If Conversation.conversation_profile is configured for a dialogflow agent, conversation will start from `Automated Agent Stage`, otherwise, it will start from `Assist Stage`. And during `Automated Agent Stage`, once an Intent with Intent.live_agent_handoff is triggered, conversation will transfer to Assist Stage.
- parent: Resource identifier of the project creating the conversation. Format: `projects//locations/`.
func (*ProjectsLocationsConversationsService) Get ¶ added in v0.42.0
func (r *ProjectsLocationsConversationsService) Get(name string) *ProjectsLocationsConversationsGetCall
Get: Retrieves the specific conversation.
- name: The name of the conversation. Format: `projects//locations//conversations/`.
func (*ProjectsLocationsConversationsService) List ¶ added in v0.42.0
func (r *ProjectsLocationsConversationsService) List(parent string) *ProjectsLocationsConversationsListCall
List: Returns the list of all conversations in the specified project.
- parent: The project from which to list all conversation. Format: `projects//locations/`.
type ProjectsLocationsConversationsSuggestionsService ¶ added in v0.96.0
type ProjectsLocationsConversationsSuggestionsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsConversationsSuggestionsService ¶ added in v0.96.0
func NewProjectsLocationsConversationsSuggestionsService(s *Service) *ProjectsLocationsConversationsSuggestionsService
func (*ProjectsLocationsConversationsSuggestionsService) SuggestConversationSummary ¶ added in v0.96.0
func (r *ProjectsLocationsConversationsSuggestionsService) SuggestConversationSummary(conversation string, googleclouddialogflowv2beta1suggestconversationsummaryrequest *GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest) *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall
SuggestConversationSummary: Suggest summary for a conversation based on specific historical messages. The range of the messages to be used for summary can be specified in the request.
- conversation: The conversation to fetch suggestion for. Format: `projects//locations//conversations/`.
type ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall ¶ added in v0.96.0
type ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall) Context ¶ added in v0.96.0
func (c *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall) Context(ctx context.Context) *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall
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 (*ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall) Do ¶ added in v0.96.0
func (c *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse, error)
Do executes the "dialogflow.projects.locations.conversations.suggestions.suggestConversationSummary" call. Exactly one of *GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1SuggestConversationSummaryResponse.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 (*ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall) Fields ¶ added in v0.96.0
func (c *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall) Header ¶ added in v0.96.0
func (c *ProjectsLocationsConversationsSuggestionsSuggestConversationSummaryCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsDeleteAgentCall ¶ added in v0.9.0
type ProjectsLocationsDeleteAgentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeleteAgentCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsDeleteAgentCall) Context(ctx context.Context) *ProjectsLocationsDeleteAgentCall
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 (*ProjectsLocationsDeleteAgentCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsDeleteAgentCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.deleteAgent" 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 (*ProjectsLocationsDeleteAgentCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsDeleteAgentCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeleteAgentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeleteAgentCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsDeleteAgentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsGetAgentCall ¶ added in v0.9.0
type ProjectsLocationsGetAgentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsGetAgentCall) Context ¶ added in v0.9.0
func (c *ProjectsLocationsGetAgentCall) Context(ctx context.Context) *ProjectsLocationsGetAgentCall
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 (*ProjectsLocationsGetAgentCall) Do ¶ added in v0.9.0
func (c *ProjectsLocationsGetAgentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Agent, error)
Do executes the "dialogflow.projects.locations.getAgent" call. Exactly one of *GoogleCloudDialogflowV2beta1Agent or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Agent.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 (*ProjectsLocationsGetAgentCall) Fields ¶ added in v0.9.0
func (c *ProjectsLocationsGetAgentCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetAgentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsGetAgentCall) Header ¶ added in v0.9.0
func (c *ProjectsLocationsGetAgentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsGetAgentCall) IfNoneMatch ¶ added in v0.9.0
func (c *ProjectsLocationsGetAgentCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetAgentCall
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 ProjectsLocationsGetCall ¶ added in v0.53.0
type ProjectsLocationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsGetCall) Context ¶ added in v0.53.0
func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall
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 (*ProjectsLocationsGetCall) Do ¶ added in v0.53.0
func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudLocationLocation, error)
Do executes the "dialogflow.projects.locations.get" call. Exactly one of *GoogleCloudLocationLocation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudLocationLocation.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 (*ProjectsLocationsGetCall) Fields ¶ added in v0.53.0
func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsGetCall) Header ¶ added in v0.53.0
func (c *ProjectsLocationsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsGetCall) IfNoneMatch ¶ added in v0.53.0
func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
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 ProjectsLocationsKnowledgeBasesCreateCall ¶ added in v0.37.0
type ProjectsLocationsKnowledgeBasesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsKnowledgeBasesCreateCall) Context ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesCreateCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesCreateCall
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 (*ProjectsLocationsKnowledgeBasesCreateCall) Do ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1KnowledgeBase, error)
Do executes the "dialogflow.projects.locations.knowledgeBases.create" call. Exactly one of *GoogleCloudDialogflowV2beta1KnowledgeBase or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1KnowledgeBase.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 (*ProjectsLocationsKnowledgeBasesCreateCall) Fields ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsKnowledgeBasesCreateCall) Header ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsKnowledgeBasesDeleteCall ¶ added in v0.37.0
type ProjectsLocationsKnowledgeBasesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsKnowledgeBasesDeleteCall) Context ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDeleteCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesDeleteCall
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 (*ProjectsLocationsKnowledgeBasesDeleteCall) Do ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "dialogflow.projects.locations.knowledgeBases.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 (*ProjectsLocationsKnowledgeBasesDeleteCall) Fields ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsKnowledgeBasesDeleteCall) Force ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDeleteCall) Force(force bool) *ProjectsLocationsKnowledgeBasesDeleteCall
Force sets the optional parameter "force": Force deletes the knowledge base. When set to true, any documents in the knowledge base are also deleted.
func (*ProjectsLocationsKnowledgeBasesDeleteCall) Header ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsKnowledgeBasesDocumentsCreateCall ¶ added in v0.37.0
type ProjectsLocationsKnowledgeBasesDocumentsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsKnowledgeBasesDocumentsCreateCall) Context ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsCreateCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesDocumentsCreateCall
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 (*ProjectsLocationsKnowledgeBasesDocumentsCreateCall) Do ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.knowledgeBases.documents.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 (*ProjectsLocationsKnowledgeBasesDocumentsCreateCall) Fields ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesDocumentsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsKnowledgeBasesDocumentsCreateCall) Header ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsKnowledgeBasesDocumentsCreateCall) ImportGcsCustomMetadata ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsCreateCall) ImportGcsCustomMetadata(importGcsCustomMetadata bool) *ProjectsLocationsKnowledgeBasesDocumentsCreateCall
ImportGcsCustomMetadata sets the optional parameter "importGcsCustomMetadata": Whether to import custom metadata from Google Cloud Storage. Only valid when the document source is Google Cloud Storage URI.
type ProjectsLocationsKnowledgeBasesDocumentsDeleteCall ¶ added in v0.37.0
type ProjectsLocationsKnowledgeBasesDocumentsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsKnowledgeBasesDocumentsDeleteCall) Context ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesDocumentsDeleteCall
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 (*ProjectsLocationsKnowledgeBasesDocumentsDeleteCall) Do ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.knowledgeBases.documents.delete" 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 (*ProjectsLocationsKnowledgeBasesDocumentsDeleteCall) Fields ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesDocumentsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsKnowledgeBasesDocumentsDeleteCall) Header ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsKnowledgeBasesDocumentsGetCall ¶ added in v0.37.0
type ProjectsLocationsKnowledgeBasesDocumentsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsKnowledgeBasesDocumentsGetCall) Context ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsGetCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesDocumentsGetCall
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 (*ProjectsLocationsKnowledgeBasesDocumentsGetCall) Do ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Document, error)
Do executes the "dialogflow.projects.locations.knowledgeBases.documents.get" call. Exactly one of *GoogleCloudDialogflowV2beta1Document or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Document.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 (*ProjectsLocationsKnowledgeBasesDocumentsGetCall) Fields ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesDocumentsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsKnowledgeBasesDocumentsGetCall) Header ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsKnowledgeBasesDocumentsGetCall) IfNoneMatch ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsKnowledgeBasesDocumentsGetCall
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 ProjectsLocationsKnowledgeBasesDocumentsImportCall ¶ added in v0.42.0
type ProjectsLocationsKnowledgeBasesDocumentsImportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsKnowledgeBasesDocumentsImportCall) Context ¶ added in v0.42.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsImportCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesDocumentsImportCall
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 (*ProjectsLocationsKnowledgeBasesDocumentsImportCall) Do ¶ added in v0.42.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.knowledgeBases.documents.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 (*ProjectsLocationsKnowledgeBasesDocumentsImportCall) Fields ¶ added in v0.42.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesDocumentsImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsKnowledgeBasesDocumentsImportCall) Header ¶ added in v0.42.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsImportCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsKnowledgeBasesDocumentsListCall ¶ added in v0.37.0
type ProjectsLocationsKnowledgeBasesDocumentsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsKnowledgeBasesDocumentsListCall) Context ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesDocumentsListCall
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 (*ProjectsLocationsKnowledgeBasesDocumentsListCall) Do ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListDocumentsResponse, error)
Do executes the "dialogflow.projects.locations.knowledgeBases.documents.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListDocumentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListDocumentsResponse.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 (*ProjectsLocationsKnowledgeBasesDocumentsListCall) Fields ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesDocumentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsKnowledgeBasesDocumentsListCall) Filter ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) Filter(filter string) *ProjectsLocationsKnowledgeBasesDocumentsListCall
Filter sets the optional parameter "filter": The filter expression used to filter documents returned by the list method. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * knowledge_types with has(:) operator * display_name with has(:) operator * state with equals(=) operator Examples: * "knowledge_types:FAQ" matches documents with FAQ knowledge type. * "display_name:customer" matches documents whose display name contains "customer". * "state=ACTIVE" matches documents with ACTIVE state. * "knowledge_types:FAQ AND state=ACTIVE" matches all active FAQ documents. For more information about filtering, see API Filtering (https://aip.dev/160).
func (*ProjectsLocationsKnowledgeBasesDocumentsListCall) Header ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsKnowledgeBasesDocumentsListCall) IfNoneMatch ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsKnowledgeBasesDocumentsListCall
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 (*ProjectsLocationsKnowledgeBasesDocumentsListCall) PageSize ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) PageSize(pageSize int64) *ProjectsLocationsKnowledgeBasesDocumentsListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 10 and at most 100.
func (*ProjectsLocationsKnowledgeBasesDocumentsListCall) PageToken ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) PageToken(pageToken string) *ProjectsLocationsKnowledgeBasesDocumentsListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsKnowledgeBasesDocumentsListCall) Pages ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListDocumentsResponse) 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 ProjectsLocationsKnowledgeBasesDocumentsPatchCall ¶ added in v0.37.0
type ProjectsLocationsKnowledgeBasesDocumentsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsKnowledgeBasesDocumentsPatchCall) Context ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsPatchCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesDocumentsPatchCall
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 (*ProjectsLocationsKnowledgeBasesDocumentsPatchCall) Do ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.knowledgeBases.documents.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 (*ProjectsLocationsKnowledgeBasesDocumentsPatchCall) Fields ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesDocumentsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsKnowledgeBasesDocumentsPatchCall) Header ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsKnowledgeBasesDocumentsPatchCall) UpdateMask ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsKnowledgeBasesDocumentsPatchCall
UpdateMask sets the optional parameter "updateMask": Not specified means `update all`. Currently, only `display_name` can be updated, an InvalidArgument will be returned for attempting to update other fields.
type ProjectsLocationsKnowledgeBasesDocumentsReloadCall ¶ added in v0.37.0
type ProjectsLocationsKnowledgeBasesDocumentsReloadCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsKnowledgeBasesDocumentsReloadCall) Context ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsReloadCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesDocumentsReloadCall
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 (*ProjectsLocationsKnowledgeBasesDocumentsReloadCall) Do ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsReloadCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "dialogflow.projects.locations.knowledgeBases.documents.reload" 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 (*ProjectsLocationsKnowledgeBasesDocumentsReloadCall) Fields ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsReloadCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesDocumentsReloadCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsKnowledgeBasesDocumentsReloadCall) Header ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesDocumentsReloadCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsKnowledgeBasesDocumentsService ¶ added in v0.37.0
type ProjectsLocationsKnowledgeBasesDocumentsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsKnowledgeBasesDocumentsService ¶ added in v0.37.0
func NewProjectsLocationsKnowledgeBasesDocumentsService(s *Service) *ProjectsLocationsKnowledgeBasesDocumentsService
func (*ProjectsLocationsKnowledgeBasesDocumentsService) Create ¶ added in v0.37.0
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Create(parent string, googleclouddialogflowv2beta1document *GoogleCloudDialogflowV2beta1Document) *ProjectsLocationsKnowledgeBasesDocumentsCreateCall
Create: Creates a new document. This method is a long-running operation (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.
- parent: The knowledge base to create a document for. Format: `projects//locations//knowledgeBases/`.
func (*ProjectsLocationsKnowledgeBasesDocumentsService) Delete ¶ added in v0.37.0
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Delete(name string) *ProjectsLocationsKnowledgeBasesDocumentsDeleteCall
Delete: Deletes the specified document. This method is a long-running operation (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: An Empty message (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty) Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.
- name: The name of the document to delete. Format: `projects//locations//knowledgeBases//documents/`.
func (*ProjectsLocationsKnowledgeBasesDocumentsService) Get ¶ added in v0.37.0
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Get(name string) *ProjectsLocationsKnowledgeBasesDocumentsGetCall
Get: Retrieves the specified document. Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.
- name: The name of the document to retrieve. Format `projects//locations//knowledgeBases//documents/`.
func (*ProjectsLocationsKnowledgeBasesDocumentsService) Import ¶ added in v0.42.0
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Import(parent string, googleclouddialogflowv2beta1importdocumentsrequest *GoogleCloudDialogflowV2beta1ImportDocumentsRequest) *ProjectsLocationsKnowledgeBasesDocumentsImportCall
Import: Create documents by importing data from external sources. Dialogflow supports up to 350 documents in each request. If you try to import more, Dialogflow will return an error. This method is a long-running operation (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: ImportDocumentsResponse
- parent: The knowledge base to import documents into. Format: `projects//locations//knowledgeBases/`.
func (*ProjectsLocationsKnowledgeBasesDocumentsService) List ¶ added in v0.37.0
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) List(parent string) *ProjectsLocationsKnowledgeBasesDocumentsListCall
List: Returns the list of all documents of the knowledge base. Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.
- parent: The knowledge base to list all documents for. Format: `projects//locations//knowledgeBases/`.
func (*ProjectsLocationsKnowledgeBasesDocumentsService) Patch ¶ added in v0.37.0
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Patch(name string, googleclouddialogflowv2beta1document *GoogleCloudDialogflowV2beta1Document) *ProjectsLocationsKnowledgeBasesDocumentsPatchCall
Patch: Updates the specified document. This method is a long-running operation (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.
- name: Optional. The document resource name. The name must be empty when creating a document. Format: `projects//locations//knowledgeBases//documents/`.
func (*ProjectsLocationsKnowledgeBasesDocumentsService) Reload ¶ added in v0.37.0
func (r *ProjectsLocationsKnowledgeBasesDocumentsService) Reload(name string, googleclouddialogflowv2beta1reloaddocumentrequest *GoogleCloudDialogflowV2beta1ReloadDocumentRequest) *ProjectsLocationsKnowledgeBasesDocumentsReloadCall
Reload: Reloads the specified document from its specified source, content_uri or content. The previously loaded content of the document will be deleted. Note: Even when the content of the document has not changed, there still may be side effects because of internal implementation changes. Note: If the document source is Google Cloud Storage URI, its metadata will be replaced with the custom metadata from Google Cloud Storage if the `import_gcs_custom_metadata` field is set to true in the request. This method is a long-running operation (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: Document Note: The `projects.agent.knowledgeBases.documents` resource is deprecated; only use `projects.knowledgeBases.documents`.
- name: The name of the document to reload. Format: `projects//locations//knowledgeBases//documents/`.
type ProjectsLocationsKnowledgeBasesGetCall ¶ added in v0.37.0
type ProjectsLocationsKnowledgeBasesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsKnowledgeBasesGetCall) Context ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesGetCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesGetCall
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 (*ProjectsLocationsKnowledgeBasesGetCall) Do ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1KnowledgeBase, error)
Do executes the "dialogflow.projects.locations.knowledgeBases.get" call. Exactly one of *GoogleCloudDialogflowV2beta1KnowledgeBase or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1KnowledgeBase.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 (*ProjectsLocationsKnowledgeBasesGetCall) Fields ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsKnowledgeBasesGetCall) Header ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsKnowledgeBasesGetCall) IfNoneMatch ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsKnowledgeBasesGetCall
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 ProjectsLocationsKnowledgeBasesListCall ¶ added in v0.37.0
type ProjectsLocationsKnowledgeBasesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsKnowledgeBasesListCall) Context ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesListCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesListCall
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 (*ProjectsLocationsKnowledgeBasesListCall) Do ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse, error)
Do executes the "dialogflow.projects.locations.knowledgeBases.list" call. Exactly one of *GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse.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 (*ProjectsLocationsKnowledgeBasesListCall) Fields ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsKnowledgeBasesListCall) Filter ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesListCall) Filter(filter string) *ProjectsLocationsKnowledgeBasesListCall
Filter sets the optional parameter "filter": The filter expression used to filter knowledge bases returned by the list method. The expression has the following syntax: [AND ] ... The following fields and operators are supported: * display_name with has(:) operator * language_code with equals(=) operator Examples: * 'language_code=en-us' matches knowledge bases with en-us language code. * 'display_name:articles' matches knowledge bases whose display name contains "articles". * 'display_name:"Best Articles"' matches knowledge bases whose display name contains "Best Articles". * 'language_code=en-gb AND display_name=articles' matches all knowledge bases whose display name contains "articles" and whose language code is "en-gb". Note: An empty filter string (i.e. "") is a no-op and will result in no filtering. For more information about filtering, see API Filtering (https://aip.dev/160).
func (*ProjectsLocationsKnowledgeBasesListCall) Header ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsKnowledgeBasesListCall) IfNoneMatch ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsKnowledgeBasesListCall
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 (*ProjectsLocationsKnowledgeBasesListCall) PageSize ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesListCall) PageSize(pageSize int64) *ProjectsLocationsKnowledgeBasesListCall
PageSize sets the optional parameter "pageSize": The maximum number of items to return in a single page. By default 10 and at most 100.
func (*ProjectsLocationsKnowledgeBasesListCall) PageToken ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesListCall) PageToken(pageToken string) *ProjectsLocationsKnowledgeBasesListCall
PageToken sets the optional parameter "pageToken": The next_page_token value returned from a previous list request.
func (*ProjectsLocationsKnowledgeBasesListCall) Pages ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowV2beta1ListKnowledgeBasesResponse) 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 ProjectsLocationsKnowledgeBasesPatchCall ¶ added in v0.37.0
type ProjectsLocationsKnowledgeBasesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsKnowledgeBasesPatchCall) Context ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesPatchCall) Context(ctx context.Context) *ProjectsLocationsKnowledgeBasesPatchCall
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 (*ProjectsLocationsKnowledgeBasesPatchCall) Do ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1KnowledgeBase, error)
Do executes the "dialogflow.projects.locations.knowledgeBases.patch" call. Exactly one of *GoogleCloudDialogflowV2beta1KnowledgeBase or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1KnowledgeBase.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 (*ProjectsLocationsKnowledgeBasesPatchCall) Fields ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsKnowledgeBasesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsKnowledgeBasesPatchCall) Header ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsKnowledgeBasesPatchCall) UpdateMask ¶ added in v0.37.0
func (c *ProjectsLocationsKnowledgeBasesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsKnowledgeBasesPatchCall
UpdateMask sets the optional parameter "updateMask": Not specified means `update all`. Currently, only `display_name` can be updated, an InvalidArgument will be returned for attempting to update other fields.
type ProjectsLocationsKnowledgeBasesService ¶ added in v0.37.0
type ProjectsLocationsKnowledgeBasesService struct { Documents *ProjectsLocationsKnowledgeBasesDocumentsService // contains filtered or unexported fields }
func NewProjectsLocationsKnowledgeBasesService ¶ added in v0.37.0
func NewProjectsLocationsKnowledgeBasesService(s *Service) *ProjectsLocationsKnowledgeBasesService
func (*ProjectsLocationsKnowledgeBasesService) Create ¶ added in v0.37.0
func (r *ProjectsLocationsKnowledgeBasesService) Create(parent string, googleclouddialogflowv2beta1knowledgebase *GoogleCloudDialogflowV2beta1KnowledgeBase) *ProjectsLocationsKnowledgeBasesCreateCall
Create: Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
- parent: The project to create a knowledge base for. Format: `projects//locations/`.
func (*ProjectsLocationsKnowledgeBasesService) Delete ¶ added in v0.37.0
func (r *ProjectsLocationsKnowledgeBasesService) Delete(name string) *ProjectsLocationsKnowledgeBasesDeleteCall
Delete: Deletes the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
- name: The name of the knowledge base to delete. Format: `projects//locations//knowledgeBases/`.
func (*ProjectsLocationsKnowledgeBasesService) Get ¶ added in v0.37.0
func (r *ProjectsLocationsKnowledgeBasesService) Get(name string) *ProjectsLocationsKnowledgeBasesGetCall
Get: Retrieves the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
- name: The name of the knowledge base to retrieve. Format `projects//locations//knowledgeBases/`.
func (*ProjectsLocationsKnowledgeBasesService) List ¶ added in v0.37.0
func (r *ProjectsLocationsKnowledgeBasesService) List(parent string) *ProjectsLocationsKnowledgeBasesListCall
List: Returns the list of all knowledge bases of the specified agent. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
- parent: The project to list of knowledge bases for. Format: `projects//locations/`.
func (*ProjectsLocationsKnowledgeBasesService) Patch ¶ added in v0.37.0
func (r *ProjectsLocationsKnowledgeBasesService) Patch(name string, googleclouddialogflowv2beta1knowledgebase *GoogleCloudDialogflowV2beta1KnowledgeBase) *ProjectsLocationsKnowledgeBasesPatchCall
Patch: Updates the specified knowledge base. Note: The `projects.agent.knowledgeBases` resource is deprecated; only use `projects.knowledgeBases`.
- name: The knowledge base resource name. The name must be empty when creating a knowledge base. Format: `projects//locations//knowledgeBases/`.
type ProjectsLocationsListCall ¶ added in v0.53.0
type ProjectsLocationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsListCall) Context ¶ added in v0.53.0
func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
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 (*ProjectsLocationsListCall) Do ¶ added in v0.53.0
func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudLocationListLocationsResponse, error)
Do executes the "dialogflow.projects.locations.list" call. Exactly one of *GoogleCloudLocationListLocationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudLocationListLocationsResponse.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 (*ProjectsLocationsListCall) Fields ¶ added in v0.53.0
func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsListCall) Filter ¶ added in v0.53.0
func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160 (https://google.aip.dev/160).
func (*ProjectsLocationsListCall) Header ¶ added in v0.53.0
func (c *ProjectsLocationsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsListCall) IfNoneMatch ¶ added in v0.53.0
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
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 (*ProjectsLocationsListCall) PageSize ¶ added in v0.53.0
func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number of results to return. If not set, the service selects a default.
func (*ProjectsLocationsListCall) PageToken ¶ added in v0.53.0
func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
PageToken sets the optional parameter "pageToken": A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
func (*ProjectsLocationsListCall) Pages ¶ added in v0.53.0
func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*GoogleCloudLocationListLocationsResponse) 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 ProjectsLocationsOperationsCancelCall ¶ added in v0.11.0
type ProjectsLocationsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsCancelCall) Context ¶ added in v0.11.0
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 ¶ added in v0.11.0
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 ¶ added in v0.11.0
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 ¶ added in v0.11.0
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 ¶ added in v0.10.0
type ProjectsLocationsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsGetCall) Context ¶ added in v0.10.0
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
type ProjectsLocationsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsListCall) Context ¶ added in v0.10.0
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsOperationsListCall) Header ¶ added in v0.10.0
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsOperationsListCall) PageToken ¶ added in v0.10.0
func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsOperationsListCall) Pages ¶ added in v0.10.0
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 ¶ added in v0.10.0
type ProjectsLocationsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsOperationsService ¶ added in v0.10.0
func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService
func (*ProjectsLocationsOperationsService) Cancel ¶ added in v0.11.0
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
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 ProjectsLocationsService ¶ added in v0.9.0
type ProjectsLocationsService struct { Agent *ProjectsLocationsAgentService AnswerRecords *ProjectsLocationsAnswerRecordsService ConversationProfiles *ProjectsLocationsConversationProfilesService Conversations *ProjectsLocationsConversationsService KnowledgeBases *ProjectsLocationsKnowledgeBasesService Operations *ProjectsLocationsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsService ¶ added in v0.9.0
func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
func (*ProjectsLocationsService) DeleteAgent ¶ added in v0.9.0
func (r *ProjectsLocationsService) DeleteAgent(parent string) *ProjectsLocationsDeleteAgentCall
DeleteAgent: Deletes the specified agent.
- parent: The project that the agent to delete is associated with. Format: `projects/` or `projects//locations/`.
func (*ProjectsLocationsService) Get ¶ added in v0.53.0
func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (*ProjectsLocationsService) GetAgent ¶ added in v0.9.0
func (r *ProjectsLocationsService) GetAgent(parent string) *ProjectsLocationsGetAgentCall
GetAgent: Retrieves the specified agent.
- parent: The project that the agent to fetch is associated with. Format: `projects/` or `projects//locations/`.
func (*ProjectsLocationsService) List ¶ added in v0.53.0
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall
List: Lists information about the supported locations for this service.
- name: The resource that owns the locations collection, if applicable.
func (*ProjectsLocationsService) SetAgent ¶ added in v0.21.0
func (r *ProjectsLocationsService) SetAgent(parent string, googleclouddialogflowv2beta1agent *GoogleCloudDialogflowV2beta1Agent) *ProjectsLocationsSetAgentCall
SetAgent: Creates/updates the specified agent. Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The project of this agent. Format: `projects/` or `projects//locations/`.
type ProjectsLocationsSetAgentCall ¶ added in v0.21.0
type ProjectsLocationsSetAgentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSetAgentCall) Context ¶ added in v0.21.0
func (c *ProjectsLocationsSetAgentCall) Context(ctx context.Context) *ProjectsLocationsSetAgentCall
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 (*ProjectsLocationsSetAgentCall) Do ¶ added in v0.21.0
func (c *ProjectsLocationsSetAgentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Agent, error)
Do executes the "dialogflow.projects.locations.setAgent" call. Exactly one of *GoogleCloudDialogflowV2beta1Agent or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Agent.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 (*ProjectsLocationsSetAgentCall) Fields ¶ added in v0.21.0
func (c *ProjectsLocationsSetAgentCall) Fields(s ...googleapi.Field) *ProjectsLocationsSetAgentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsSetAgentCall) Header ¶ added in v0.21.0
func (c *ProjectsLocationsSetAgentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsSetAgentCall) UpdateMask ¶ added in v0.21.0
func (c *ProjectsLocationsSetAgentCall) UpdateMask(updateMask string) *ProjectsLocationsSetAgentCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated.
type ProjectsOperationsCancelCall ¶ added in v0.11.0
type ProjectsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (*ProjectsOperationsCancelCall) Context ¶ added in v0.11.0
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 ¶ added in v0.11.0
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 ¶ added in v0.11.0
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 ¶ added in v0.11.0
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 ¶ added in v0.8.0
type ProjectsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsOperationsListCall) Context ¶ added in v0.8.0
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 ¶ added in v0.8.0
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 ¶ added in v0.8.0
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 ¶ added in v0.8.0
func (c *ProjectsOperationsListCall) Filter(filter string) *ProjectsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsOperationsListCall) Header ¶ added in v0.8.0
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 ¶ added in v0.8.0
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 ¶ added in v0.8.0
func (c *ProjectsOperationsListCall) PageSize(pageSize int64) *ProjectsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsOperationsListCall) PageToken ¶ added in v0.8.0
func (c *ProjectsOperationsListCall) PageToken(pageToken string) *ProjectsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsOperationsListCall) Pages ¶ added in v0.8.0
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 ¶ added in v0.11.0
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 ¶ added in v0.8.0
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 { Agent *ProjectsAgentService AnswerRecords *ProjectsAnswerRecordsService ConversationProfiles *ProjectsConversationProfilesService Conversations *ProjectsConversationsService KnowledgeBases *ProjectsKnowledgeBasesService Locations *ProjectsLocationsService Operations *ProjectsOperationsService // contains filtered or unexported fields }
func NewProjectsService ¶
func NewProjectsService(s *Service) *ProjectsService
func (*ProjectsService) DeleteAgent ¶ added in v0.7.0
func (r *ProjectsService) DeleteAgent(parent string) *ProjectsDeleteAgentCall
DeleteAgent: Deletes the specified agent.
- parent: The project that the agent to delete is associated with. Format: `projects/` or `projects//locations/`.
func (*ProjectsService) GetAgent ¶
func (r *ProjectsService) GetAgent(parent string) *ProjectsGetAgentCall
GetAgent: Retrieves the specified agent.
- parent: The project that the agent to fetch is associated with. Format: `projects/` or `projects//locations/`.
func (*ProjectsService) SetAgent ¶ added in v0.20.0
func (r *ProjectsService) SetAgent(parent string, googleclouddialogflowv2beta1agent *GoogleCloudDialogflowV2beta1Agent) *ProjectsSetAgentCall
SetAgent: Creates/updates the specified agent. Note: You should always train an agent prior to sending it queries. See the training documentation (https://cloud.google.com/dialogflow/es/docs/training).
- parent: The project of this agent. Format: `projects/` or `projects//locations/`.
type ProjectsSetAgentCall ¶ added in v0.20.0
type ProjectsSetAgentCall struct {
// contains filtered or unexported fields
}
func (*ProjectsSetAgentCall) Context ¶ added in v0.20.0
func (c *ProjectsSetAgentCall) Context(ctx context.Context) *ProjectsSetAgentCall
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 (*ProjectsSetAgentCall) Do ¶ added in v0.20.0
func (c *ProjectsSetAgentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowV2beta1Agent, error)
Do executes the "dialogflow.projects.setAgent" call. Exactly one of *GoogleCloudDialogflowV2beta1Agent or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDialogflowV2beta1Agent.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 (*ProjectsSetAgentCall) Fields ¶ added in v0.20.0
func (c *ProjectsSetAgentCall) Fields(s ...googleapi.Field) *ProjectsSetAgentCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsSetAgentCall) Header ¶ added in v0.20.0
func (c *ProjectsSetAgentCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsSetAgentCall) UpdateMask ¶ added in v0.20.0
func (c *ProjectsSetAgentCall) UpdateMask(updateMask string) *ProjectsSetAgentCall
UpdateMask sets the optional parameter "updateMask": The mask to control which fields get updated.
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 ¶ added in v0.3.0
NewService creates a new Service.