Documentation ¶
Overview ¶
Package discoveryengine provides access to the Discovery Engine API.
For product documentation, see: https://cloud.google.com/generative-ai-app-builder/docs/
Library status ¶
These client libraries are officially supported by Google. However, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.
When possible, we recommend using our newer [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go) that are still actively being worked and iterated on.
Creating a client ¶
Usage example:
import "google.golang.org/api/discoveryengine/v1beta" ... ctx := context.Background() discoveryengineService, err := discoveryengine.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 ¶
To use an API key for authentication (note: some APIs do not support API keys), use google.golang.org/api/option.WithAPIKey:
discoveryengineService, err := discoveryengine.NewService(ctx, option.WithAPIKey("AIza..."))
To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow, use google.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) discoveryengineService, err := discoveryengine.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See google.golang.org/api/option.ClientOption for details on options.
Index ¶
- Constants
- type GoogleApiDistribution
- type GoogleApiDistributionBucketOptions
- type GoogleApiDistributionBucketOptionsExplicit
- type GoogleApiDistributionBucketOptionsExponential
- type GoogleApiDistributionBucketOptionsLinear
- type GoogleApiDistributionExemplar
- type GoogleApiDistributionRange
- type GoogleApiHttpBody
- type GoogleApiMetric
- type GoogleApiMonitoredResource
- type GoogleApiMonitoredResourceMetadata
- type GoogleCloudDiscoveryengineLoggingErrorContext
- type GoogleCloudDiscoveryengineLoggingErrorLog
- type GoogleCloudDiscoveryengineLoggingHttpRequestContext
- type GoogleCloudDiscoveryengineLoggingImportErrorContext
- type GoogleCloudDiscoveryengineLoggingServiceContext
- type GoogleCloudDiscoveryengineLoggingSourceLocation
- type GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig
- type GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata
- type GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse
- type GoogleCloudDiscoveryengineV1CmekConfig
- type GoogleCloudDiscoveryengineV1Condition
- type GoogleCloudDiscoveryengineV1ConditionQueryTerm
- type GoogleCloudDiscoveryengineV1ConditionTimeRange
- type GoogleCloudDiscoveryengineV1Control
- type GoogleCloudDiscoveryengineV1ControlBoostAction
- type GoogleCloudDiscoveryengineV1ControlFilterAction
- type GoogleCloudDiscoveryengineV1ControlPromoteAction
- type GoogleCloudDiscoveryengineV1ControlRedirectAction
- type GoogleCloudDiscoveryengineV1ControlSynonymsAction
- type GoogleCloudDiscoveryengineV1CreateDataStoreMetadata
- type GoogleCloudDiscoveryengineV1CreateEngineMetadata
- type GoogleCloudDiscoveryengineV1CreateSchemaMetadata
- type GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata
- type GoogleCloudDiscoveryengineV1DataStore
- type GoogleCloudDiscoveryengineV1DataStoreBillingEstimation
- type GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore
- type GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata
- type GoogleCloudDiscoveryengineV1DeleteEngineMetadata
- type GoogleCloudDiscoveryengineV1DeleteSchemaMetadata
- type GoogleCloudDiscoveryengineV1DeleteTargetSiteMetadata
- type GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata
- type GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse
- type GoogleCloudDiscoveryengineV1DocumentProcessingConfig
- type GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig
- type GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
- type GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig
- type GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig
- type GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig
- type GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig
- type GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata
- type GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchResponse
- type GoogleCloudDiscoveryengineV1Engine
- type GoogleCloudDiscoveryengineV1EngineChatEngineConfig
- type GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig
- type GoogleCloudDiscoveryengineV1EngineChatEngineMetadata
- type GoogleCloudDiscoveryengineV1EngineCommonConfig
- type GoogleCloudDiscoveryengineV1EngineSearchEngineConfig
- type GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata
- type GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsResponse
- type GoogleCloudDiscoveryengineV1ImportDocumentsMetadata
- type GoogleCloudDiscoveryengineV1ImportDocumentsResponse
- type GoogleCloudDiscoveryengineV1ImportErrorConfig
- type GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesMetadata
- type GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse
- type GoogleCloudDiscoveryengineV1ImportUserEventsMetadata
- type GoogleCloudDiscoveryengineV1ImportUserEventsResponse
- type GoogleCloudDiscoveryengineV1Project
- type GoogleCloudDiscoveryengineV1ProjectServiceTerms
- type GoogleCloudDiscoveryengineV1ProvisionProjectMetadata
- type GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsMetadata
- type GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse
- type GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata
- type GoogleCloudDiscoveryengineV1PurgeDocumentsResponse
- type GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesMetadata
- type GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesResponse
- type GoogleCloudDiscoveryengineV1Schema
- type GoogleCloudDiscoveryengineV1SearchLinkPromotion
- type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec
- type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec
- type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec
- type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec
- type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec
- type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec
- type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec
- type GoogleCloudDiscoveryengineV1ServingConfig
- type GoogleCloudDiscoveryengineV1ServingConfigGenericConfig
- type GoogleCloudDiscoveryengineV1ServingConfigMediaConfig
- type GoogleCloudDiscoveryengineV1SiteVerificationInfo
- type GoogleCloudDiscoveryengineV1TargetSite
- type GoogleCloudDiscoveryengineV1TargetSiteFailureReason
- type GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure
- type GoogleCloudDiscoveryengineV1TrainCustomModelMetadata
- type GoogleCloudDiscoveryengineV1TrainCustomModelResponse
- type GoogleCloudDiscoveryengineV1UpdateCmekConfigMetadata
- type GoogleCloudDiscoveryengineV1UpdateSchemaMetadata
- type GoogleCloudDiscoveryengineV1UpdateTargetSiteMetadata
- type GoogleCloudDiscoveryengineV1WorkspaceConfig
- type GoogleCloudDiscoveryengineV1alphaAclConfig
- type GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig
- type GoogleCloudDiscoveryengineV1alphaAnswer
- type GoogleCloudDiscoveryengineV1alphaAnswerCitation
- type GoogleCloudDiscoveryengineV1alphaAnswerCitationSource
- type GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport
- type GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo
- type GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo
- type GoogleCloudDiscoveryengineV1alphaAnswerReference
- type GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo
- type GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata
- type GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo
- type GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo
- type GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent
- type GoogleCloudDiscoveryengineV1alphaAnswerStep
- type GoogleCloudDiscoveryengineV1alphaAnswerStepAction
- type GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation
- type GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult
- type GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo
- type GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo
- type GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction
- type GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata
- type GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse
- type GoogleCloudDiscoveryengineV1alphaCmekConfig
- type GoogleCloudDiscoveryengineV1alphaCondition
- type GoogleCloudDiscoveryengineV1alphaConditionQueryTerm
- type GoogleCloudDiscoveryengineV1alphaConditionTimeRange
- type GoogleCloudDiscoveryengineV1alphaControl
- type GoogleCloudDiscoveryengineV1alphaControlBoostAction
- type GoogleCloudDiscoveryengineV1alphaControlFilterAction
- type GoogleCloudDiscoveryengineV1alphaControlPromoteAction
- type GoogleCloudDiscoveryengineV1alphaControlRedirectAction
- type GoogleCloudDiscoveryengineV1alphaControlSynonymsAction
- type GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries
- type GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata
- type GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata
- type GoogleCloudDiscoveryengineV1alphaCreateEvaluationMetadata
- type GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata
- type GoogleCloudDiscoveryengineV1alphaCreateSitemapMetadata
- type GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata
- type GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec
- type GoogleCloudDiscoveryengineV1alphaDataStore
- type GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation
- type GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore
- type GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries
- type GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata
- type GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata
- type GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata
- type GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest
- type GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata
- type GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata
- type GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata
- type GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse
- type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig
- type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig
- type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
- type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig
- type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig
- type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig
- type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig
- type GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata
- type GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse
- type GoogleCloudDiscoveryengineV1alphaEngine
- type GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig
- type GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig
- type GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata
- type GoogleCloudDiscoveryengineV1alphaEngineCommonConfig
- type GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig
- type GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig
- type GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata
- type GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig
- type GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig
- type GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata
- type GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse
- type GoogleCloudDiscoveryengineV1alphaEvaluation
- type GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec
- type GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec
- type GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse
- type GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata
- type GoogleCloudDiscoveryengineV1alphaFieldConfig
- type GoogleCloudDiscoveryengineV1alphaGetSessionRequest
- type GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse
- type GoogleCloudDiscoveryengineV1alphaIdpConfig
- type GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig
- type GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata
- type GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse
- type GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
- type GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse
- type GoogleCloudDiscoveryengineV1alphaImportErrorConfig
- type GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata
- type GoogleCloudDiscoveryengineV1alphaImportSampleQueriesResponse
- type GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata
- type GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse
- type GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata
- type GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse
- type GoogleCloudDiscoveryengineV1alphaInterval
- type GoogleCloudDiscoveryengineV1alphaLanguageInfo
- type GoogleCloudDiscoveryengineV1alphaListSessionsRequest
- type GoogleCloudDiscoveryengineV1alphaListSessionsResponse
- type GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig
- type GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse
- type GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries
- type GoogleCloudDiscoveryengineV1alphaProject
- type GoogleCloudDiscoveryengineV1alphaProjectServiceTerms
- type GoogleCloudDiscoveryengineV1alphaProvisionProjectMetadata
- type GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata
- type GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsResponse
- type GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
- type GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse
- type GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata
- type GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesResponse
- type GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata
- type GoogleCloudDiscoveryengineV1alphaPurgeUserEventsResponse
- type GoogleCloudDiscoveryengineV1alphaQualityMetrics
- type GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics
- type GoogleCloudDiscoveryengineV1alphaQuery
- type GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata
- type GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse
- type GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo
- type GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason
- type GoogleCloudDiscoveryengineV1alphaSchema
- type GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion
- type GoogleCloudDiscoveryengineV1alphaSearchRequest
- type GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec
- type GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec
- type GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec
- type GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint
- type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec
- type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec
- type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec
- type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec
- type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec
- type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec
- type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec
- type GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec
- type GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec
- type GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector
- type GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec
- type GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey
- type GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery
- type GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec
- type GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec
- type GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec
- type GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec
- type GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec
- type GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec
- type GoogleCloudDiscoveryengineV1alphaSession
- type GoogleCloudDiscoveryengineV1alphaSessionTurn
- type GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata
- type GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse
- type GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo
- type GoogleCloudDiscoveryengineV1alphaSitemap
- type GoogleCloudDiscoveryengineV1alphaTargetSite
- type GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason
- type GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure
- type GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata
- type GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse
- type GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata
- type GoogleCloudDiscoveryengineV1alphaTuneEngineResponse
- type GoogleCloudDiscoveryengineV1alphaUpdateCmekConfigMetadata
- type GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata
- type GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest
- type GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata
- type GoogleCloudDiscoveryengineV1alphaUserInfo
- type GoogleCloudDiscoveryengineV1alphaWorkspaceConfig
- type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest
- type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpec
- type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec
- type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse
- type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseContentSuggestion
- type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion
- type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseQuerySuggestion
- type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseRecentSearchSuggestion
- type GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig
- type GoogleCloudDiscoveryengineV1betaAlloyDbSource
- type GoogleCloudDiscoveryengineV1betaAnswer
- type GoogleCloudDiscoveryengineV1betaAnswerCitation
- type GoogleCloudDiscoveryengineV1betaAnswerCitationSource
- type GoogleCloudDiscoveryengineV1betaAnswerGroundingSupport
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequest
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecModelSpec
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecPromptSpec
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestRelatedQuestionsSpec
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpec
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpec
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchParams
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultList
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResult
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer
- type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment
- type GoogleCloudDiscoveryengineV1betaAnswerQueryResponse
- type GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfo
- type GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfoQueryClassificationInfo
- type GoogleCloudDiscoveryengineV1betaAnswerReference
- type GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo
- type GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfoDocumentMetadata
- type GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo
- type GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo
- type GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfoChunkContent
- type GoogleCloudDiscoveryengineV1betaAnswerStep
- type GoogleCloudDiscoveryengineV1betaAnswerStepAction
- type GoogleCloudDiscoveryengineV1betaAnswerStepActionObservation
- type GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResult
- type GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultChunkInfo
- type GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultSnippetInfo
- type GoogleCloudDiscoveryengineV1betaAnswerStepActionSearchAction
- type GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata
- type GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest
- type GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse
- type GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponse
- type GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadata
- type GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue
- type GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest
- type GoogleCloudDiscoveryengineV1betaBigQuerySource
- type GoogleCloudDiscoveryengineV1betaBigtableOptions
- type GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumn
- type GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumnFamily
- type GoogleCloudDiscoveryengineV1betaBigtableSource
- type GoogleCloudDiscoveryengineV1betaCheckGroundingRequest
- type GoogleCloudDiscoveryengineV1betaCheckGroundingResponse
- type GoogleCloudDiscoveryengineV1betaCheckGroundingResponseCheckGroundingFactChunk
- type GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim
- type GoogleCloudDiscoveryengineV1betaCheckGroundingSpec
- type GoogleCloudDiscoveryengineV1betaChunk
- type GoogleCloudDiscoveryengineV1betaChunkChunkMetadata
- type GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata
- type GoogleCloudDiscoveryengineV1betaChunkPageSpan
- type GoogleCloudDiscoveryengineV1betaCloudSqlSource
- type GoogleCloudDiscoveryengineV1betaCmekConfig
- type GoogleCloudDiscoveryengineV1betaCompleteQueryResponse
- type GoogleCloudDiscoveryengineV1betaCompleteQueryResponseQuerySuggestion
- type GoogleCloudDiscoveryengineV1betaCompletionInfo
- type GoogleCloudDiscoveryengineV1betaCompletionSuggestion
- type GoogleCloudDiscoveryengineV1betaCondition
- type GoogleCloudDiscoveryengineV1betaConditionQueryTerm
- type GoogleCloudDiscoveryengineV1betaConditionTimeRange
- type GoogleCloudDiscoveryengineV1betaControl
- type GoogleCloudDiscoveryengineV1betaControlBoostAction
- type GoogleCloudDiscoveryengineV1betaControlFilterAction
- type GoogleCloudDiscoveryengineV1betaControlPromoteAction
- type GoogleCloudDiscoveryengineV1betaControlRedirectAction
- type GoogleCloudDiscoveryengineV1betaControlSynonymsAction
- type GoogleCloudDiscoveryengineV1betaConversation
- type GoogleCloudDiscoveryengineV1betaConversationContext
- type GoogleCloudDiscoveryengineV1betaConversationMessage
- type GoogleCloudDiscoveryengineV1betaConverseConversationRequest
- type GoogleCloudDiscoveryengineV1betaConverseConversationResponse
- type GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata
- type GoogleCloudDiscoveryengineV1betaCreateEngineMetadata
- type GoogleCloudDiscoveryengineV1betaCreateEvaluationMetadata
- type GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata
- type GoogleCloudDiscoveryengineV1betaCreateSitemapMetadata
- type GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata
- type GoogleCloudDiscoveryengineV1betaCreateTargetSiteRequest
- type GoogleCloudDiscoveryengineV1betaCustomAttribute
- type GoogleCloudDiscoveryengineV1betaCustomTuningModel
- type GoogleCloudDiscoveryengineV1betaDataStore
- type GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation
- type GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore
- type GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata
- type GoogleCloudDiscoveryengineV1betaDeleteEngineMetadata
- type GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata
- type GoogleCloudDiscoveryengineV1betaDeleteSitemapMetadata
- type GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata
- type GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata
- type GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchRequest
- type GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse
- type GoogleCloudDiscoveryengineV1betaDocument
- type GoogleCloudDiscoveryengineV1betaDocumentContent
- type GoogleCloudDiscoveryengineV1betaDocumentIndexStatus
- type GoogleCloudDiscoveryengineV1betaDocumentInfo
- type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig
- type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig
- type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig
- type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig
- type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig
- type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig
- type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig
- type GoogleCloudDiscoveryengineV1betaDoubleList
- type GoogleCloudDiscoveryengineV1betaEmbeddingConfig
- type GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata
- type GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchRequest
- type GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchResponse
- type GoogleCloudDiscoveryengineV1betaEngine
- type GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig
- type GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig
- type GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata
- type GoogleCloudDiscoveryengineV1betaEngineCommonConfig
- type GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig
- type GoogleCloudDiscoveryengineV1betaEvaluation
- type GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec
- type GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec
- type GoogleCloudDiscoveryengineV1betaFactChunk
- type GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse
- type GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse
- type GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata
- type GoogleCloudDiscoveryengineV1betaFhirStoreSource
- type GoogleCloudDiscoveryengineV1betaFirestoreSource
- type GoogleCloudDiscoveryengineV1betaGcsSource
- type GoogleCloudDiscoveryengineV1betaGroundingFact
- type GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata
- type GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequest
- type GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequestInlineSource
- type GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsResponse
- type GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata
- type GoogleCloudDiscoveryengineV1betaImportDocumentsRequest
- type GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource
- type GoogleCloudDiscoveryengineV1betaImportDocumentsResponse
- type GoogleCloudDiscoveryengineV1betaImportErrorConfig
- type GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata
- type GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequest
- type GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequestInlineSource
- type GoogleCloudDiscoveryengineV1betaImportSampleQueriesResponse
- type GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesMetadata
- type GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequest
- type GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequestInlineSource
- type GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse
- type GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata
- type GoogleCloudDiscoveryengineV1betaImportUserEventsRequest
- type GoogleCloudDiscoveryengineV1betaImportUserEventsRequestInlineSource
- type GoogleCloudDiscoveryengineV1betaImportUserEventsResponse
- type GoogleCloudDiscoveryengineV1betaInterval
- type GoogleCloudDiscoveryengineV1betaLanguageInfo
- type GoogleCloudDiscoveryengineV1betaListControlsResponse
- type GoogleCloudDiscoveryengineV1betaListConversationsResponse
- type GoogleCloudDiscoveryengineV1betaListCustomModelsResponse
- type GoogleCloudDiscoveryengineV1betaListDataStoresResponse
- type GoogleCloudDiscoveryengineV1betaListDocumentsResponse
- type GoogleCloudDiscoveryengineV1betaListEnginesResponse
- type GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponse
- type GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponseEvaluationResult
- type GoogleCloudDiscoveryengineV1betaListEvaluationsResponse
- type GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse
- type GoogleCloudDiscoveryengineV1betaListSampleQuerySetsResponse
- type GoogleCloudDiscoveryengineV1betaListSchemasResponse
- type GoogleCloudDiscoveryengineV1betaListServingConfigsResponse
- type GoogleCloudDiscoveryengineV1betaListSessionsResponse
- type GoogleCloudDiscoveryengineV1betaListTargetSitesResponse
- type GoogleCloudDiscoveryengineV1betaMediaInfo
- type GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig
- type GoogleCloudDiscoveryengineV1betaPageInfo
- type GoogleCloudDiscoveryengineV1betaPanelInfo
- type GoogleCloudDiscoveryengineV1betaPauseEngineRequest
- type GoogleCloudDiscoveryengineV1betaProject
- type GoogleCloudDiscoveryengineV1betaProjectServiceTerms
- type GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata
- type GoogleCloudDiscoveryengineV1betaProvisionProjectRequest
- type GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest
- type GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata
- type GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest
- type GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequestInlineSource
- type GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse
- type GoogleCloudDiscoveryengineV1betaPurgeErrorConfig
- type GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata
- type GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesRequest
- type GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse
- type GoogleCloudDiscoveryengineV1betaPurgeUserEventsRequest
- type GoogleCloudDiscoveryengineV1betaQualityMetrics
- type GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics
- type GoogleCloudDiscoveryengineV1betaQuery
- type GoogleCloudDiscoveryengineV1betaRankRequest
- type GoogleCloudDiscoveryengineV1betaRankResponse
- type GoogleCloudDiscoveryengineV1betaRankingRecord
- type GoogleCloudDiscoveryengineV1betaRecommendRequest
- type GoogleCloudDiscoveryengineV1betaRecommendResponse
- type GoogleCloudDiscoveryengineV1betaRecommendResponseRecommendationResult
- type GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest
- type GoogleCloudDiscoveryengineV1betaReply
- type GoogleCloudDiscoveryengineV1betaReplyReference
- type GoogleCloudDiscoveryengineV1betaResumeEngineRequest
- type GoogleCloudDiscoveryengineV1betaSampleQuery
- type GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntry
- type GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntryTarget
- type GoogleCloudDiscoveryengineV1betaSampleQuerySet
- type GoogleCloudDiscoveryengineV1betaSchema
- type GoogleCloudDiscoveryengineV1betaSearchInfo
- type GoogleCloudDiscoveryengineV1betaSearchLinkPromotion
- type GoogleCloudDiscoveryengineV1betaSearchRequest
- type GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec
- type GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec
- type GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec
- type GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint
- type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec
- type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec
- type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec
- type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec
- type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec
- type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec
- type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec
- type GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
- type GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec
- type GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector
- type GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec
- type GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey
- type GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery
- type GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec
- type GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec
- type GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec
- type GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec
- type GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec
- type GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec
- type GoogleCloudDiscoveryengineV1betaSearchResponse
- type GoogleCloudDiscoveryengineV1betaSearchResponseFacet
- type GoogleCloudDiscoveryengineV1betaSearchResponseFacetFacetValue
- type GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo
- type GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult
- type GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResultRefinementAttribute
- type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo
- type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter
- type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression
- type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression
- type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint
- func (s GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint) MarshalJSON() ([]byte, error)
- func (s *GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint) UnmarshalJSON(data []byte) error
- type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint
- func (s GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint) MarshalJSON() ([]byte, error)
- func (s *GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint) UnmarshalJSON(data []byte) error
- type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression
- type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint
- type GoogleCloudDiscoveryengineV1betaSearchResponseOneBoxResult
- type GoogleCloudDiscoveryengineV1betaSearchResponseQueryExpansionInfo
- type GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult
- type GoogleCloudDiscoveryengineV1betaSearchResponseSessionInfo
- type GoogleCloudDiscoveryengineV1betaSearchResponseSummary
- type GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation
- type GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata
- type GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource
- type GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference
- type GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReferenceChunkContent
- type GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes
- type GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata
- type GoogleCloudDiscoveryengineV1betaServingConfig
- type GoogleCloudDiscoveryengineV1betaServingConfigGenericConfig
- type GoogleCloudDiscoveryengineV1betaServingConfigMediaConfig
- type GoogleCloudDiscoveryengineV1betaSession
- type GoogleCloudDiscoveryengineV1betaSessionTurn
- type GoogleCloudDiscoveryengineV1betaSiteSearchEngine
- type GoogleCloudDiscoveryengineV1betaSiteVerificationInfo
- type GoogleCloudDiscoveryengineV1betaSitemap
- type GoogleCloudDiscoveryengineV1betaSpannerSource
- type GoogleCloudDiscoveryengineV1betaSuggestionDenyListEntry
- type GoogleCloudDiscoveryengineV1betaTargetSite
- type GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason
- type GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure
- type GoogleCloudDiscoveryengineV1betaTextInput
- type GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata
- type GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest
- type GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput
- type GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse
- type GoogleCloudDiscoveryengineV1betaTransactionInfo
- type GoogleCloudDiscoveryengineV1betaTuneEngineMetadata
- type GoogleCloudDiscoveryengineV1betaTuneEngineRequest
- type GoogleCloudDiscoveryengineV1betaTuneEngineResponse
- type GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata
- type GoogleCloudDiscoveryengineV1betaUpdateTargetSiteMetadata
- type GoogleCloudDiscoveryengineV1betaUserEvent
- type GoogleCloudDiscoveryengineV1betaUserInfo
- type GoogleCloudDiscoveryengineV1betaWorkspaceConfig
- type GoogleLongrunningCancelOperationRequest
- type GoogleLongrunningListOperationsResponse
- type GoogleLongrunningOperation
- type GoogleMonitoringV3Point
- type GoogleMonitoringV3TimeInterval
- type GoogleMonitoringV3TimeSeries
- type GoogleMonitoringV3TypedValue
- type GoogleProtobufEmpty
- type GoogleRpcStatus
- type GoogleTypeDate
- type ProjectsLocationsCollectionsDataConnectorOperationsGetCall
- func (c *ProjectsLocationsCollectionsDataConnectorOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataConnectorOperationsGetCall
- func (c *ProjectsLocationsCollectionsDataConnectorOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataConnectorOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataConnectorOperationsGetCall
- func (c *ProjectsLocationsCollectionsDataConnectorOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataConnectorOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataConnectorOperationsGetCall
- type ProjectsLocationsCollectionsDataConnectorOperationsListCall
- func (c *ProjectsLocationsCollectionsDataConnectorOperationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataConnectorOperationsListCall
- func (c *ProjectsLocationsCollectionsDataConnectorOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
- func (c *ProjectsLocationsCollectionsDataConnectorOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataConnectorOperationsListCall
- func (c *ProjectsLocationsCollectionsDataConnectorOperationsListCall) Filter(filter string) *ProjectsLocationsCollectionsDataConnectorOperationsListCall
- func (c *ProjectsLocationsCollectionsDataConnectorOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataConnectorOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataConnectorOperationsListCall
- func (c *ProjectsLocationsCollectionsDataConnectorOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataConnectorOperationsListCall
- func (c *ProjectsLocationsCollectionsDataConnectorOperationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataConnectorOperationsListCall
- func (c *ProjectsLocationsCollectionsDataConnectorOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
- type ProjectsLocationsCollectionsDataConnectorOperationsService
- type ProjectsLocationsCollectionsDataConnectorService
- type ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) MatcherFhirMatcherFhirResources(matcherFhirMatcherFhirResources ...string) *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) MatcherUrisMatcherUris(matcherUrisMatcherUris ...string) *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall
- type ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaDocument, error)
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall) DocumentId(documentId string) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaDocument, error)
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall
- type ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListDocumentsResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaDocument, error)
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall
- type ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresBranchesDocumentsService
- func (r *ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) Create(parent string, ...) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall
- func (r *ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) Delete(name string) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall
- func (r *ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) Get(name string) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall
- func (r *ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) Import(parent string, ...) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall
- func (r *ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) List(parent string) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall
- func (r *ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) Patch(name string, ...) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall
- func (r *ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) Purge(parent string, ...) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall
- type ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall
- type ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) Filter(filter string) *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
- type ProjectsLocationsCollectionsDataStoresBranchesOperationsService
- func (r *ProjectsLocationsCollectionsDataStoresBranchesOperationsService) Cancel(name string, ...) *ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall
- func (r *ProjectsLocationsCollectionsDataStoresBranchesOperationsService) Get(name string) *ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall
- func (r *ProjectsLocationsCollectionsDataStoresBranchesOperationsService) List(name string) *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall
- type ProjectsLocationsCollectionsDataStoresBranchesService
- type ProjectsLocationsCollectionsDataStoresCompleteQueryCall
- func (c *ProjectsLocationsCollectionsDataStoresCompleteQueryCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresCompleteQueryCall
- func (c *ProjectsLocationsCollectionsDataStoresCompleteQueryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaCompleteQueryResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresCompleteQueryCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresCompleteQueryCall
- func (c *ProjectsLocationsCollectionsDataStoresCompleteQueryCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresCompleteQueryCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresCompleteQueryCall
- func (c *ProjectsLocationsCollectionsDataStoresCompleteQueryCall) IncludeTailSuggestions(includeTailSuggestions bool) *ProjectsLocationsCollectionsDataStoresCompleteQueryCall
- func (c *ProjectsLocationsCollectionsDataStoresCompleteQueryCall) Query(query string) *ProjectsLocationsCollectionsDataStoresCompleteQueryCall
- func (c *ProjectsLocationsCollectionsDataStoresCompleteQueryCall) QueryModel(queryModel string) *ProjectsLocationsCollectionsDataStoresCompleteQueryCall
- func (c *ProjectsLocationsCollectionsDataStoresCompleteQueryCall) UserPseudoId(userPseudoId string) *ProjectsLocationsCollectionsDataStoresCompleteQueryCall
- type ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQueryCall
- func (c *ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQueryCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQueryCall
- func (c *ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQueryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQueryCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQueryCall
- func (c *ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQueryCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresCompletionConfigService
- type ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall
- func (c *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall
- func (c *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall
- func (c *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall
- func (c *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall
- func (c *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall
- func (c *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresCompletionSuggestionsService
- func (r *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsService) Import(parent string, ...) *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall
- func (r *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsService) Purge(parent string, ...) *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall
- type ProjectsLocationsCollectionsDataStoresControlsCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresControlsCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresControlsCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresControlsCreateCall) ControlId(controlId string) *ProjectsLocationsCollectionsDataStoresControlsCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresControlsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaControl, error)
- func (c *ProjectsLocationsCollectionsDataStoresControlsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresControlsCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresControlsCreateCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresControlsDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresControlsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresControlsDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresControlsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsCollectionsDataStoresControlsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresControlsDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresControlsDeleteCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresControlsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresControlsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresControlsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresControlsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaControl, error)
- func (c *ProjectsLocationsCollectionsDataStoresControlsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresControlsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresControlsGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresControlsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresControlsGetCall
- type ProjectsLocationsCollectionsDataStoresControlsListCall
- func (c *ProjectsLocationsCollectionsDataStoresControlsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresControlsListCall
- func (c *ProjectsLocationsCollectionsDataStoresControlsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListControlsResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresControlsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresControlsListCall
- func (c *ProjectsLocationsCollectionsDataStoresControlsListCall) Filter(filter string) *ProjectsLocationsCollectionsDataStoresControlsListCall
- func (c *ProjectsLocationsCollectionsDataStoresControlsListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresControlsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresControlsListCall
- func (c *ProjectsLocationsCollectionsDataStoresControlsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresControlsListCall
- func (c *ProjectsLocationsCollectionsDataStoresControlsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresControlsListCall
- func (c *ProjectsLocationsCollectionsDataStoresControlsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsCollectionsDataStoresControlsPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresControlsPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresControlsPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresControlsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaControl, error)
- func (c *ProjectsLocationsCollectionsDataStoresControlsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresControlsPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresControlsPatchCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresControlsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsDataStoresControlsPatchCall
- type ProjectsLocationsCollectionsDataStoresControlsService
- func (r *ProjectsLocationsCollectionsDataStoresControlsService) Create(parent string, ...) *ProjectsLocationsCollectionsDataStoresControlsCreateCall
- func (r *ProjectsLocationsCollectionsDataStoresControlsService) Delete(name string) *ProjectsLocationsCollectionsDataStoresControlsDeleteCall
- func (r *ProjectsLocationsCollectionsDataStoresControlsService) Get(name string) *ProjectsLocationsCollectionsDataStoresControlsGetCall
- func (r *ProjectsLocationsCollectionsDataStoresControlsService) List(parent string) *ProjectsLocationsCollectionsDataStoresControlsListCall
- func (r *ProjectsLocationsCollectionsDataStoresControlsService) Patch(name string, ...) *ProjectsLocationsCollectionsDataStoresControlsPatchCall
- type ProjectsLocationsCollectionsDataStoresConversationsConverseCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsConverseCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresConversationsConverseCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsConverseCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConverseConversationResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresConversationsConverseCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresConversationsConverseCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsConverseCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresConversationsCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresConversationsCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConversation, error)
- func (c *ProjectsLocationsCollectionsDataStoresConversationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresConversationsCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsCreateCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresConversationsDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresConversationsDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsCollectionsDataStoresConversationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresConversationsDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsDeleteCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresConversationsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresConversationsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConversation, error)
- func (c *ProjectsLocationsCollectionsDataStoresConversationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresConversationsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresConversationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresConversationsGetCall
- type ProjectsLocationsCollectionsDataStoresConversationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresConversationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListConversationsResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresConversationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresConversationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsListCall) Filter(filter string) *ProjectsLocationsCollectionsDataStoresConversationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresConversationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresConversationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsListCall) OrderBy(orderBy string) *ProjectsLocationsCollectionsDataStoresConversationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresConversationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresConversationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsCollectionsDataStoresConversationsPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresConversationsPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConversation, error)
- func (c *ProjectsLocationsCollectionsDataStoresConversationsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresConversationsPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresConversationsPatchCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresConversationsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsDataStoresConversationsPatchCall
- type ProjectsLocationsCollectionsDataStoresConversationsService
- func (r *ProjectsLocationsCollectionsDataStoresConversationsService) Converse(name string, ...) *ProjectsLocationsCollectionsDataStoresConversationsConverseCall
- func (r *ProjectsLocationsCollectionsDataStoresConversationsService) Create(parent string, ...) *ProjectsLocationsCollectionsDataStoresConversationsCreateCall
- func (r *ProjectsLocationsCollectionsDataStoresConversationsService) Delete(name string) *ProjectsLocationsCollectionsDataStoresConversationsDeleteCall
- func (r *ProjectsLocationsCollectionsDataStoresConversationsService) Get(name string) *ProjectsLocationsCollectionsDataStoresConversationsGetCall
- func (r *ProjectsLocationsCollectionsDataStoresConversationsService) List(parent string) *ProjectsLocationsCollectionsDataStoresConversationsListCall
- func (r *ProjectsLocationsCollectionsDataStoresConversationsService) Patch(name string, ...) *ProjectsLocationsCollectionsDataStoresConversationsPatchCall
- type ProjectsLocationsCollectionsDataStoresCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresCreateCall) CmekConfigName(cmekConfigName string) *ProjectsLocationsCollectionsDataStoresCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresCreateCall) CreateAdvancedSiteSearch(createAdvancedSiteSearch bool) *ProjectsLocationsCollectionsDataStoresCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresCreateCall) DataStoreId(dataStoreId string) *ProjectsLocationsCollectionsDataStoresCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresCreateCall) DisableCmek(disableCmek bool) *ProjectsLocationsCollectionsDataStoresCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresCreateCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresCreateCall) SkipDefaultSchemaCreation(skipDefaultSchemaCreation bool) *ProjectsLocationsCollectionsDataStoresCreateCall
- type ProjectsLocationsCollectionsDataStoresCustomModelsListCall
- func (c *ProjectsLocationsCollectionsDataStoresCustomModelsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresCustomModelsListCall
- func (c *ProjectsLocationsCollectionsDataStoresCustomModelsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListCustomModelsResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresCustomModelsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresCustomModelsListCall
- func (c *ProjectsLocationsCollectionsDataStoresCustomModelsListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresCustomModelsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresCustomModelsListCall
- type ProjectsLocationsCollectionsDataStoresCustomModelsService
- type ProjectsLocationsCollectionsDataStoresDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresDeleteCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresGetCall
- func (c *ProjectsLocationsCollectionsDataStoresGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresGetCall
- func (c *ProjectsLocationsCollectionsDataStoresGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaDataStore, error)
- func (c *ProjectsLocationsCollectionsDataStoresGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresGetCall
- func (c *ProjectsLocationsCollectionsDataStoresGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresGetCall
- type ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall
- func (c *ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall
- func (c *ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSiteSearchEngine, error)
- func (c *ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall
- func (c *ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall
- type ProjectsLocationsCollectionsDataStoresListCall
- func (c *ProjectsLocationsCollectionsDataStoresListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresListCall
- func (c *ProjectsLocationsCollectionsDataStoresListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListDataStoresResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresListCall
- func (c *ProjectsLocationsCollectionsDataStoresListCall) Filter(filter string) *ProjectsLocationsCollectionsDataStoresListCall
- func (c *ProjectsLocationsCollectionsDataStoresListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresListCall
- func (c *ProjectsLocationsCollectionsDataStoresListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresListCall
- func (c *ProjectsLocationsCollectionsDataStoresListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresListCall
- func (c *ProjectsLocationsCollectionsDataStoresListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall
- type ProjectsLocationsCollectionsDataStoresModelsOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) Filter(filter string) *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
- type ProjectsLocationsCollectionsDataStoresModelsOperationsService
- func (r *ProjectsLocationsCollectionsDataStoresModelsOperationsService) Get(name string) *ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall
- func (r *ProjectsLocationsCollectionsDataStoresModelsOperationsService) List(name string) *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall
- type ProjectsLocationsCollectionsDataStoresModelsService
- type ProjectsLocationsCollectionsDataStoresOperationsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresOperationsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresOperationsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresOperationsGetCall
- type ProjectsLocationsCollectionsDataStoresOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresOperationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresOperationsListCall) Filter(filter string) *ProjectsLocationsCollectionsDataStoresOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresOperationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
- type ProjectsLocationsCollectionsDataStoresOperationsService
- type ProjectsLocationsCollectionsDataStoresPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaDataStore, error)
- func (c *ProjectsLocationsCollectionsDataStoresPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresPatchCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsDataStoresPatchCall
- type ProjectsLocationsCollectionsDataStoresSchemasCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSchemasCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresSchemasCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSchemasCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasCreateCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresSchemasCreateCall) SchemaId(schemaId string) *ProjectsLocationsCollectionsDataStoresSchemasCreateCall
- type ProjectsLocationsCollectionsDataStoresSchemasDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSchemasDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresSchemasDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSchemasDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasDeleteCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresSchemasGetCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSchemasGetCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSchema, error)
- func (c *ProjectsLocationsCollectionsDataStoresSchemasGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSchemasGetCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresSchemasGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSchemasGetCall
- type ProjectsLocationsCollectionsDataStoresSchemasListCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSchemasListCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListSchemasResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresSchemasListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSchemasListCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresSchemasListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSchemasListCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresSchemasListCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresSchemasListCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall
- type ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) Filter(filter string) *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
- type ProjectsLocationsCollectionsDataStoresSchemasOperationsService
- func (r *ProjectsLocationsCollectionsDataStoresSchemasOperationsService) Get(name string) *ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall
- func (r *ProjectsLocationsCollectionsDataStoresSchemasOperationsService) List(name string) *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall
- type ProjectsLocationsCollectionsDataStoresSchemasPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsCollectionsDataStoresSchemasPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSchemasPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresSchemasPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSchemasPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresSchemasPatchCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresSchemasService
- func (r *ProjectsLocationsCollectionsDataStoresSchemasService) Create(parent string, ...) *ProjectsLocationsCollectionsDataStoresSchemasCreateCall
- func (r *ProjectsLocationsCollectionsDataStoresSchemasService) Delete(name string) *ProjectsLocationsCollectionsDataStoresSchemasDeleteCall
- func (r *ProjectsLocationsCollectionsDataStoresSchemasService) Get(name string) *ProjectsLocationsCollectionsDataStoresSchemasGetCall
- func (r *ProjectsLocationsCollectionsDataStoresSchemasService) List(parent string) *ProjectsLocationsCollectionsDataStoresSchemasListCall
- func (r *ProjectsLocationsCollectionsDataStoresSchemasService) Patch(name string, ...) *ProjectsLocationsCollectionsDataStoresSchemasPatchCall
- type ProjectsLocationsCollectionsDataStoresService
- func (r *ProjectsLocationsCollectionsDataStoresService) CompleteQuery(dataStore string) *ProjectsLocationsCollectionsDataStoresCompleteQueryCall
- func (r *ProjectsLocationsCollectionsDataStoresService) Create(parent string, ...) *ProjectsLocationsCollectionsDataStoresCreateCall
- func (r *ProjectsLocationsCollectionsDataStoresService) Delete(name string) *ProjectsLocationsCollectionsDataStoresDeleteCall
- func (r *ProjectsLocationsCollectionsDataStoresService) Get(name string) *ProjectsLocationsCollectionsDataStoresGetCall
- func (r *ProjectsLocationsCollectionsDataStoresService) GetSiteSearchEngine(name string) *ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall
- func (r *ProjectsLocationsCollectionsDataStoresService) List(parent string) *ProjectsLocationsCollectionsDataStoresListCall
- func (r *ProjectsLocationsCollectionsDataStoresService) Patch(name string, ...) *ProjectsLocationsCollectionsDataStoresPatchCall
- func (r *ProjectsLocationsCollectionsDataStoresService) TrainCustomModel(dataStore string, ...) *ProjectsLocationsCollectionsDataStoresTrainCustomModelCall
- type ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAnswerQueryResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresServingConfigsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresServingConfigsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaServingConfig, error)
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresServingConfigsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresServingConfigsGetCall
- type ProjectsLocationsCollectionsDataStoresServingConfigsListCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresServingConfigsListCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListServingConfigsResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresServingConfigsListCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresServingConfigsListCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresServingConfigsListCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresServingConfigsListCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaServingConfig, error)
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall
- type ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaRecommendResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSearchResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSearchResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsCollectionsDataStoresServingConfigsService
- func (r *ProjectsLocationsCollectionsDataStoresServingConfigsService) Answer(servingConfig string, ...) *ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall
- func (r *ProjectsLocationsCollectionsDataStoresServingConfigsService) Get(name string) *ProjectsLocationsCollectionsDataStoresServingConfigsGetCall
- func (r *ProjectsLocationsCollectionsDataStoresServingConfigsService) List(parent string) *ProjectsLocationsCollectionsDataStoresServingConfigsListCall
- func (r *ProjectsLocationsCollectionsDataStoresServingConfigsService) Patch(name string, ...) *ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall
- func (r *ProjectsLocationsCollectionsDataStoresServingConfigsService) Recommend(servingConfig string, ...) *ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall
- func (r *ProjectsLocationsCollectionsDataStoresServingConfigsService) Search(servingConfig string, ...) *ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall
- func (r *ProjectsLocationsCollectionsDataStoresServingConfigsService) SearchLite(servingConfig string, ...) *ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall
- func (r *ProjectsLocationsCollectionsDataStoresServingConfigsService) StreamAnswer(servingConfig string, ...) *ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall
- type ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAnswerQueryResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall
- func (c *ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAnswer, error)
- func (c *ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall
- type ProjectsLocationsCollectionsDataStoresSessionsAnswersService
- type ProjectsLocationsCollectionsDataStoresSessionsCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSessionsCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSession, error)
- func (c *ProjectsLocationsCollectionsDataStoresSessionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSessionsCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsCreateCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresSessionsDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSessionsDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsCollectionsDataStoresSessionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSessionsDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsDeleteCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresSessionsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSessionsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSession, error)
- func (c *ProjectsLocationsCollectionsDataStoresSessionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSessionsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresSessionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSessionsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsGetCall) IncludeAnswerDetails(includeAnswerDetails bool) *ProjectsLocationsCollectionsDataStoresSessionsGetCall
- type ProjectsLocationsCollectionsDataStoresSessionsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSessionsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListSessionsResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresSessionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSessionsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsListCall) Filter(filter string) *ProjectsLocationsCollectionsDataStoresSessionsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresSessionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSessionsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsListCall) OrderBy(orderBy string) *ProjectsLocationsCollectionsDataStoresSessionsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresSessionsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresSessionsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsCollectionsDataStoresSessionsPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSessionsPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSession, error)
- func (c *ProjectsLocationsCollectionsDataStoresSessionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSessionsPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresSessionsPatchCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresSessionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsDataStoresSessionsPatchCall
- type ProjectsLocationsCollectionsDataStoresSessionsService
- func (r *ProjectsLocationsCollectionsDataStoresSessionsService) Create(parent string, ...) *ProjectsLocationsCollectionsDataStoresSessionsCreateCall
- func (r *ProjectsLocationsCollectionsDataStoresSessionsService) Delete(name string) *ProjectsLocationsCollectionsDataStoresSessionsDeleteCall
- func (r *ProjectsLocationsCollectionsDataStoresSessionsService) Get(name string) *ProjectsLocationsCollectionsDataStoresSessionsGetCall
- func (r *ProjectsLocationsCollectionsDataStoresSessionsService) List(parent string) *ProjectsLocationsCollectionsDataStoresSessionsListCall
- func (r *ProjectsLocationsCollectionsDataStoresSessionsService) Patch(name string, ...) *ProjectsLocationsCollectionsDataStoresSessionsPatchCall
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSitesCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSitesCall) Context(ctx context.Context) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSitesCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSitesCall) Fields(s ...googleapi.Field) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSitesCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Context(ctx context.Context) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Fields(s ...googleapi.Field) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Context(ctx context.Context) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Fields(s ...googleapi.Field) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) Context(ctx context.Context) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) Fields(s ...googleapi.Field) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) IfNoneMatch(entityTag string) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) PageSize(pageSize int64) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) PageToken(pageToken string) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) Filter(filter string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsService
- func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsService) Get(name string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall
- func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsService) List(name string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineService
- func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineService) BatchVerifyTargetSites(parent string, ...) ...
- func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineService) DisableAdvancedSiteSearch(siteSearchEngine string, ...) ...
- func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineService) EnableAdvancedSiteSearch(siteSearchEngine string, ...) ...
- func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineService) FetchDomainVerificationStatus(siteSearchEngine string) ...
- func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineService) RecrawlUris(siteSearchEngine string, ...) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsService
- func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsService) Create(parent string, ...) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall
- func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsService) Delete(name string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesBatchCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Context(ctx context.Context) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Fields(s ...googleapi.Field) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaTargetSite, error)
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListTargetSitesResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall) Context(ctx context.Context) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall) Fields(s ...googleapi.Field) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall) IfNoneMatch(entityTag string) ...
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) Context(ctx context.Context) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) Fields(s ...googleapi.Field) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) Filter(filter string) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) IfNoneMatch(entityTag string) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) PageSize(pageSize int64) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) PageToken(pageToken string) ...
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsService
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall
- func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService
- func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService) BatchCreate(parent string, ...) ...
- func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService) Create(parent string, ...) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall
- func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService) Delete(name string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall
- func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService) Get(name string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall
- func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService) List(parent string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall
- func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService) Patch(name string, ...) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall
- type ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall
- func (c *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall
- func (c *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall
- func (c *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall
- func (c *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall
- func (c *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall
- func (c *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesService
- func (r *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesService) Import(parent string, ...) *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall
- func (r *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesService) Purge(parent string, ...) *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall
- type ProjectsLocationsCollectionsDataStoresTrainCustomModelCall
- func (c *ProjectsLocationsCollectionsDataStoresTrainCustomModelCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresTrainCustomModelCall
- func (c *ProjectsLocationsCollectionsDataStoresTrainCustomModelCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresTrainCustomModelCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresTrainCustomModelCall
- func (c *ProjectsLocationsCollectionsDataStoresTrainCustomModelCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresUserEventsCollectCall
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) Do(opts ...googleapi.CallOption) (*GoogleApiHttpBody, error)
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) Ets(ets int64) *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) Uri(uri string) *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) UserEvent(userEvent string) *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall
- type ProjectsLocationsCollectionsDataStoresUserEventsImportCall
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsImportCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresUserEventsImportCall
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresUserEventsImportCall
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsImportCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall) Header() http.Header
- type ProjectsLocationsCollectionsDataStoresUserEventsService
- func (r *ProjectsLocationsCollectionsDataStoresUserEventsService) Collect(parent string) *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall
- func (r *ProjectsLocationsCollectionsDataStoresUserEventsService) Import(parent string, ...) *ProjectsLocationsCollectionsDataStoresUserEventsImportCall
- func (r *ProjectsLocationsCollectionsDataStoresUserEventsService) Purge(parent string, ...) *ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall
- func (r *ProjectsLocationsCollectionsDataStoresUserEventsService) Write(parent string, ...) *ProjectsLocationsCollectionsDataStoresUserEventsWriteCall
- type ProjectsLocationsCollectionsDataStoresUserEventsWriteCall
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsWriteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresUserEventsWriteCall
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsWriteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaUserEvent, error)
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsWriteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresUserEventsWriteCall
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsWriteCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsDataStoresUserEventsWriteCall) WriteAsync(writeAsync bool) *ProjectsLocationsCollectionsDataStoresUserEventsWriteCall
- type ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQueryCall
- func (c *ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQueryCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQueryCall
- func (c *ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQueryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse, error)
- func (c *ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQueryCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQueryCall
- func (c *ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQueryCall) Header() http.Header
- type ProjectsLocationsCollectionsEnginesCompletionConfigService
- type ProjectsLocationsCollectionsEnginesControlsCreateCall
- func (c *ProjectsLocationsCollectionsEnginesControlsCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesControlsCreateCall
- func (c *ProjectsLocationsCollectionsEnginesControlsCreateCall) ControlId(controlId string) *ProjectsLocationsCollectionsEnginesControlsCreateCall
- func (c *ProjectsLocationsCollectionsEnginesControlsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaControl, error)
- func (c *ProjectsLocationsCollectionsEnginesControlsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesControlsCreateCall
- func (c *ProjectsLocationsCollectionsEnginesControlsCreateCall) Header() http.Header
- type ProjectsLocationsCollectionsEnginesControlsDeleteCall
- func (c *ProjectsLocationsCollectionsEnginesControlsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesControlsDeleteCall
- func (c *ProjectsLocationsCollectionsEnginesControlsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsCollectionsEnginesControlsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesControlsDeleteCall
- func (c *ProjectsLocationsCollectionsEnginesControlsDeleteCall) Header() http.Header
- type ProjectsLocationsCollectionsEnginesControlsGetCall
- func (c *ProjectsLocationsCollectionsEnginesControlsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesControlsGetCall
- func (c *ProjectsLocationsCollectionsEnginesControlsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaControl, error)
- func (c *ProjectsLocationsCollectionsEnginesControlsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesControlsGetCall
- func (c *ProjectsLocationsCollectionsEnginesControlsGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsEnginesControlsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesControlsGetCall
- type ProjectsLocationsCollectionsEnginesControlsListCall
- func (c *ProjectsLocationsCollectionsEnginesControlsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesControlsListCall
- func (c *ProjectsLocationsCollectionsEnginesControlsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListControlsResponse, error)
- func (c *ProjectsLocationsCollectionsEnginesControlsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesControlsListCall
- func (c *ProjectsLocationsCollectionsEnginesControlsListCall) Filter(filter string) *ProjectsLocationsCollectionsEnginesControlsListCall
- func (c *ProjectsLocationsCollectionsEnginesControlsListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsEnginesControlsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesControlsListCall
- func (c *ProjectsLocationsCollectionsEnginesControlsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsEnginesControlsListCall
- func (c *ProjectsLocationsCollectionsEnginesControlsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsEnginesControlsListCall
- func (c *ProjectsLocationsCollectionsEnginesControlsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsCollectionsEnginesControlsPatchCall
- func (c *ProjectsLocationsCollectionsEnginesControlsPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesControlsPatchCall
- func (c *ProjectsLocationsCollectionsEnginesControlsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaControl, error)
- func (c *ProjectsLocationsCollectionsEnginesControlsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesControlsPatchCall
- func (c *ProjectsLocationsCollectionsEnginesControlsPatchCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsEnginesControlsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsEnginesControlsPatchCall
- type ProjectsLocationsCollectionsEnginesControlsService
- func (r *ProjectsLocationsCollectionsEnginesControlsService) Create(parent string, ...) *ProjectsLocationsCollectionsEnginesControlsCreateCall
- func (r *ProjectsLocationsCollectionsEnginesControlsService) Delete(name string) *ProjectsLocationsCollectionsEnginesControlsDeleteCall
- func (r *ProjectsLocationsCollectionsEnginesControlsService) Get(name string) *ProjectsLocationsCollectionsEnginesControlsGetCall
- func (r *ProjectsLocationsCollectionsEnginesControlsService) List(parent string) *ProjectsLocationsCollectionsEnginesControlsListCall
- func (r *ProjectsLocationsCollectionsEnginesControlsService) Patch(name string, ...) *ProjectsLocationsCollectionsEnginesControlsPatchCall
- type ProjectsLocationsCollectionsEnginesConversationsConverseCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsConverseCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesConversationsConverseCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsConverseCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConverseConversationResponse, error)
- func (c *ProjectsLocationsCollectionsEnginesConversationsConverseCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesConversationsConverseCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsConverseCall) Header() http.Header
- type ProjectsLocationsCollectionsEnginesConversationsCreateCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesConversationsCreateCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConversation, error)
- func (c *ProjectsLocationsCollectionsEnginesConversationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesConversationsCreateCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsCreateCall) Header() http.Header
- type ProjectsLocationsCollectionsEnginesConversationsDeleteCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesConversationsDeleteCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsCollectionsEnginesConversationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesConversationsDeleteCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsDeleteCall) Header() http.Header
- type ProjectsLocationsCollectionsEnginesConversationsGetCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesConversationsGetCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConversation, error)
- func (c *ProjectsLocationsCollectionsEnginesConversationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesConversationsGetCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsEnginesConversationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesConversationsGetCall
- type ProjectsLocationsCollectionsEnginesConversationsListCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesConversationsListCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListConversationsResponse, error)
- func (c *ProjectsLocationsCollectionsEnginesConversationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesConversationsListCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsListCall) Filter(filter string) *ProjectsLocationsCollectionsEnginesConversationsListCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsEnginesConversationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesConversationsListCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsListCall) OrderBy(orderBy string) *ProjectsLocationsCollectionsEnginesConversationsListCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsEnginesConversationsListCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsEnginesConversationsListCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsCollectionsEnginesConversationsPatchCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesConversationsPatchCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConversation, error)
- func (c *ProjectsLocationsCollectionsEnginesConversationsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesConversationsPatchCall
- func (c *ProjectsLocationsCollectionsEnginesConversationsPatchCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsEnginesConversationsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsEnginesConversationsPatchCall
- type ProjectsLocationsCollectionsEnginesConversationsService
- func (r *ProjectsLocationsCollectionsEnginesConversationsService) Converse(name string, ...) *ProjectsLocationsCollectionsEnginesConversationsConverseCall
- func (r *ProjectsLocationsCollectionsEnginesConversationsService) Create(parent string, ...) *ProjectsLocationsCollectionsEnginesConversationsCreateCall
- func (r *ProjectsLocationsCollectionsEnginesConversationsService) Delete(name string) *ProjectsLocationsCollectionsEnginesConversationsDeleteCall
- func (r *ProjectsLocationsCollectionsEnginesConversationsService) Get(name string) *ProjectsLocationsCollectionsEnginesConversationsGetCall
- func (r *ProjectsLocationsCollectionsEnginesConversationsService) List(parent string) *ProjectsLocationsCollectionsEnginesConversationsListCall
- func (r *ProjectsLocationsCollectionsEnginesConversationsService) Patch(name string, ...) *ProjectsLocationsCollectionsEnginesConversationsPatchCall
- type ProjectsLocationsCollectionsEnginesCreateCall
- func (c *ProjectsLocationsCollectionsEnginesCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesCreateCall
- func (c *ProjectsLocationsCollectionsEnginesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsEnginesCreateCall) EngineId(engineId string) *ProjectsLocationsCollectionsEnginesCreateCall
- func (c *ProjectsLocationsCollectionsEnginesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesCreateCall
- func (c *ProjectsLocationsCollectionsEnginesCreateCall) Header() http.Header
- type ProjectsLocationsCollectionsEnginesDeleteCall
- func (c *ProjectsLocationsCollectionsEnginesDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesDeleteCall
- func (c *ProjectsLocationsCollectionsEnginesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsEnginesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesDeleteCall
- func (c *ProjectsLocationsCollectionsEnginesDeleteCall) Header() http.Header
- type ProjectsLocationsCollectionsEnginesGetCall
- func (c *ProjectsLocationsCollectionsEnginesGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesGetCall
- func (c *ProjectsLocationsCollectionsEnginesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaEngine, error)
- func (c *ProjectsLocationsCollectionsEnginesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesGetCall
- func (c *ProjectsLocationsCollectionsEnginesGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsEnginesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesGetCall
- type ProjectsLocationsCollectionsEnginesListCall
- func (c *ProjectsLocationsCollectionsEnginesListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesListCall
- func (c *ProjectsLocationsCollectionsEnginesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListEnginesResponse, error)
- func (c *ProjectsLocationsCollectionsEnginesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesListCall
- func (c *ProjectsLocationsCollectionsEnginesListCall) Filter(filter string) *ProjectsLocationsCollectionsEnginesListCall
- func (c *ProjectsLocationsCollectionsEnginesListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsEnginesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesListCall
- func (c *ProjectsLocationsCollectionsEnginesListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsEnginesListCall
- func (c *ProjectsLocationsCollectionsEnginesListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsEnginesListCall
- func (c *ProjectsLocationsCollectionsEnginesListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsCollectionsEnginesOperationsGetCall
- func (c *ProjectsLocationsCollectionsEnginesOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesOperationsGetCall
- func (c *ProjectsLocationsCollectionsEnginesOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsEnginesOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesOperationsGetCall
- func (c *ProjectsLocationsCollectionsEnginesOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsEnginesOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesOperationsGetCall
- type ProjectsLocationsCollectionsEnginesOperationsListCall
- func (c *ProjectsLocationsCollectionsEnginesOperationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesOperationsListCall
- func (c *ProjectsLocationsCollectionsEnginesOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
- func (c *ProjectsLocationsCollectionsEnginesOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesOperationsListCall
- func (c *ProjectsLocationsCollectionsEnginesOperationsListCall) Filter(filter string) *ProjectsLocationsCollectionsEnginesOperationsListCall
- func (c *ProjectsLocationsCollectionsEnginesOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsEnginesOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesOperationsListCall
- func (c *ProjectsLocationsCollectionsEnginesOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsEnginesOperationsListCall
- func (c *ProjectsLocationsCollectionsEnginesOperationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsEnginesOperationsListCall
- func (c *ProjectsLocationsCollectionsEnginesOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
- type ProjectsLocationsCollectionsEnginesOperationsService
- type ProjectsLocationsCollectionsEnginesPatchCall
- func (c *ProjectsLocationsCollectionsEnginesPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesPatchCall
- func (c *ProjectsLocationsCollectionsEnginesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaEngine, error)
- func (c *ProjectsLocationsCollectionsEnginesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesPatchCall
- func (c *ProjectsLocationsCollectionsEnginesPatchCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsEnginesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsEnginesPatchCall
- type ProjectsLocationsCollectionsEnginesPauseCall
- func (c *ProjectsLocationsCollectionsEnginesPauseCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesPauseCall
- func (c *ProjectsLocationsCollectionsEnginesPauseCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaEngine, error)
- func (c *ProjectsLocationsCollectionsEnginesPauseCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesPauseCall
- func (c *ProjectsLocationsCollectionsEnginesPauseCall) Header() http.Header
- type ProjectsLocationsCollectionsEnginesResumeCall
- func (c *ProjectsLocationsCollectionsEnginesResumeCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesResumeCall
- func (c *ProjectsLocationsCollectionsEnginesResumeCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaEngine, error)
- func (c *ProjectsLocationsCollectionsEnginesResumeCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesResumeCall
- func (c *ProjectsLocationsCollectionsEnginesResumeCall) Header() http.Header
- type ProjectsLocationsCollectionsEnginesService
- func (r *ProjectsLocationsCollectionsEnginesService) Create(parent string, ...) *ProjectsLocationsCollectionsEnginesCreateCall
- func (r *ProjectsLocationsCollectionsEnginesService) Delete(name string) *ProjectsLocationsCollectionsEnginesDeleteCall
- func (r *ProjectsLocationsCollectionsEnginesService) Get(name string) *ProjectsLocationsCollectionsEnginesGetCall
- func (r *ProjectsLocationsCollectionsEnginesService) List(parent string) *ProjectsLocationsCollectionsEnginesListCall
- func (r *ProjectsLocationsCollectionsEnginesService) Patch(name string, ...) *ProjectsLocationsCollectionsEnginesPatchCall
- func (r *ProjectsLocationsCollectionsEnginesService) Pause(name string, ...) *ProjectsLocationsCollectionsEnginesPauseCall
- func (r *ProjectsLocationsCollectionsEnginesService) Resume(name string, ...) *ProjectsLocationsCollectionsEnginesResumeCall
- func (r *ProjectsLocationsCollectionsEnginesService) Tune(name string, ...) *ProjectsLocationsCollectionsEnginesTuneCall
- type ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAnswerQueryResponse, error)
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall) Header() http.Header
- type ProjectsLocationsCollectionsEnginesServingConfigsGetCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesServingConfigsGetCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaServingConfig, error)
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesServingConfigsGetCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesServingConfigsGetCall
- type ProjectsLocationsCollectionsEnginesServingConfigsListCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesServingConfigsListCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListServingConfigsResponse, error)
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesServingConfigsListCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesServingConfigsListCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsEnginesServingConfigsListCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsEnginesServingConfigsListCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsCollectionsEnginesServingConfigsPatchCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesServingConfigsPatchCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaServingConfig, error)
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesServingConfigsPatchCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsPatchCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsEnginesServingConfigsPatchCall
- type ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaRecommendResponse, error)
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall) Header() http.Header
- type ProjectsLocationsCollectionsEnginesServingConfigsSearchCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsSearchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesServingConfigsSearchCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsSearchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSearchResponse, error)
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsSearchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesServingConfigsSearchCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsSearchCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsSearchCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSearchResponse, error)
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsCollectionsEnginesServingConfigsService
- func (r *ProjectsLocationsCollectionsEnginesServingConfigsService) Answer(servingConfig string, ...) *ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall
- func (r *ProjectsLocationsCollectionsEnginesServingConfigsService) Get(name string) *ProjectsLocationsCollectionsEnginesServingConfigsGetCall
- func (r *ProjectsLocationsCollectionsEnginesServingConfigsService) List(parent string) *ProjectsLocationsCollectionsEnginesServingConfigsListCall
- func (r *ProjectsLocationsCollectionsEnginesServingConfigsService) Patch(name string, ...) *ProjectsLocationsCollectionsEnginesServingConfigsPatchCall
- func (r *ProjectsLocationsCollectionsEnginesServingConfigsService) Recommend(servingConfig string, ...) *ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall
- func (r *ProjectsLocationsCollectionsEnginesServingConfigsService) Search(servingConfig string, ...) *ProjectsLocationsCollectionsEnginesServingConfigsSearchCall
- func (r *ProjectsLocationsCollectionsEnginesServingConfigsService) SearchLite(servingConfig string, ...) *ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall
- func (r *ProjectsLocationsCollectionsEnginesServingConfigsService) StreamAnswer(servingConfig string, ...) *ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall
- type ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAnswerQueryResponse, error)
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall
- func (c *ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall) Header() http.Header
- type ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAnswer, error)
- func (c *ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall
- type ProjectsLocationsCollectionsEnginesSessionsAnswersService
- type ProjectsLocationsCollectionsEnginesSessionsCreateCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesSessionsCreateCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSession, error)
- func (c *ProjectsLocationsCollectionsEnginesSessionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesSessionsCreateCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsCreateCall) Header() http.Header
- type ProjectsLocationsCollectionsEnginesSessionsDeleteCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesSessionsDeleteCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsCollectionsEnginesSessionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesSessionsDeleteCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsDeleteCall) Header() http.Header
- type ProjectsLocationsCollectionsEnginesSessionsGetCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesSessionsGetCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSession, error)
- func (c *ProjectsLocationsCollectionsEnginesSessionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesSessionsGetCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsEnginesSessionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesSessionsGetCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsGetCall) IncludeAnswerDetails(includeAnswerDetails bool) *ProjectsLocationsCollectionsEnginesSessionsGetCall
- type ProjectsLocationsCollectionsEnginesSessionsListCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesSessionsListCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListSessionsResponse, error)
- func (c *ProjectsLocationsCollectionsEnginesSessionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesSessionsListCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsListCall) Filter(filter string) *ProjectsLocationsCollectionsEnginesSessionsListCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsEnginesSessionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesSessionsListCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsListCall) OrderBy(orderBy string) *ProjectsLocationsCollectionsEnginesSessionsListCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsEnginesSessionsListCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsEnginesSessionsListCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsCollectionsEnginesSessionsPatchCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesSessionsPatchCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSession, error)
- func (c *ProjectsLocationsCollectionsEnginesSessionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesSessionsPatchCall
- func (c *ProjectsLocationsCollectionsEnginesSessionsPatchCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsEnginesSessionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsEnginesSessionsPatchCall
- type ProjectsLocationsCollectionsEnginesSessionsService
- func (r *ProjectsLocationsCollectionsEnginesSessionsService) Create(parent string, ...) *ProjectsLocationsCollectionsEnginesSessionsCreateCall
- func (r *ProjectsLocationsCollectionsEnginesSessionsService) Delete(name string) *ProjectsLocationsCollectionsEnginesSessionsDeleteCall
- func (r *ProjectsLocationsCollectionsEnginesSessionsService) Get(name string) *ProjectsLocationsCollectionsEnginesSessionsGetCall
- func (r *ProjectsLocationsCollectionsEnginesSessionsService) List(parent string) *ProjectsLocationsCollectionsEnginesSessionsListCall
- func (r *ProjectsLocationsCollectionsEnginesSessionsService) Patch(name string, ...) *ProjectsLocationsCollectionsEnginesSessionsPatchCall
- type ProjectsLocationsCollectionsEnginesTuneCall
- func (c *ProjectsLocationsCollectionsEnginesTuneCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesTuneCall
- func (c *ProjectsLocationsCollectionsEnginesTuneCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsEnginesTuneCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesTuneCall
- func (c *ProjectsLocationsCollectionsEnginesTuneCall) Header() http.Header
- type ProjectsLocationsCollectionsOperationsGetCall
- func (c *ProjectsLocationsCollectionsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsOperationsGetCall
- func (c *ProjectsLocationsCollectionsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsCollectionsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsOperationsGetCall
- func (c *ProjectsLocationsCollectionsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsOperationsGetCall
- type ProjectsLocationsCollectionsOperationsListCall
- func (c *ProjectsLocationsCollectionsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsOperationsListCall
- func (c *ProjectsLocationsCollectionsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
- func (c *ProjectsLocationsCollectionsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsOperationsListCall
- func (c *ProjectsLocationsCollectionsOperationsListCall) Filter(filter string) *ProjectsLocationsCollectionsOperationsListCall
- func (c *ProjectsLocationsCollectionsOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsCollectionsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsOperationsListCall
- func (c *ProjectsLocationsCollectionsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsOperationsListCall
- func (c *ProjectsLocationsCollectionsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsOperationsListCall
- func (c *ProjectsLocationsCollectionsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
- type ProjectsLocationsCollectionsOperationsService
- type ProjectsLocationsCollectionsService
- type ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall
- func (c *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall
- func (c *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponse, error)
- func (c *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall
- func (c *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall
- func (c *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) MatcherFhirMatcherFhirResources(matcherFhirMatcherFhirResources ...string) *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall
- func (c *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) MatcherUrisMatcherUris(matcherUrisMatcherUris ...string) *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall
- type ProjectsLocationsDataStoresBranchesDocumentsCreateCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsCreateCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesDocumentsCreateCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaDocument, error)
- func (c *ProjectsLocationsDataStoresBranchesDocumentsCreateCall) DocumentId(documentId string) *ProjectsLocationsDataStoresBranchesDocumentsCreateCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesDocumentsCreateCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsCreateCall) Header() http.Header
- type ProjectsLocationsDataStoresBranchesDocumentsDeleteCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesDocumentsDeleteCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsDataStoresBranchesDocumentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesDocumentsDeleteCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsDeleteCall) Header() http.Header
- type ProjectsLocationsDataStoresBranchesDocumentsGetCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesDocumentsGetCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaDocument, error)
- func (c *ProjectsLocationsDataStoresBranchesDocumentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesDocumentsGetCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsGetCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresBranchesDocumentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresBranchesDocumentsGetCall
- type ProjectsLocationsDataStoresBranchesDocumentsImportCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsImportCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesDocumentsImportCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresBranchesDocumentsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesDocumentsImportCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsImportCall) Header() http.Header
- type ProjectsLocationsDataStoresBranchesDocumentsListCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesDocumentsListCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListDocumentsResponse, error)
- func (c *ProjectsLocationsDataStoresBranchesDocumentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesDocumentsListCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsListCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresBranchesDocumentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresBranchesDocumentsListCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresBranchesDocumentsListCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresBranchesDocumentsListCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsDataStoresBranchesDocumentsPatchCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsDataStoresBranchesDocumentsPatchCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsPatchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesDocumentsPatchCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaDocument, error)
- func (c *ProjectsLocationsDataStoresBranchesDocumentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesDocumentsPatchCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsPatchCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresBranchesDocumentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDataStoresBranchesDocumentsPatchCall
- type ProjectsLocationsDataStoresBranchesDocumentsPurgeCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsPurgeCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesDocumentsPurgeCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsPurgeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresBranchesDocumentsPurgeCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesDocumentsPurgeCall
- func (c *ProjectsLocationsDataStoresBranchesDocumentsPurgeCall) Header() http.Header
- type ProjectsLocationsDataStoresBranchesDocumentsService
- func (r *ProjectsLocationsDataStoresBranchesDocumentsService) Create(parent string, ...) *ProjectsLocationsDataStoresBranchesDocumentsCreateCall
- func (r *ProjectsLocationsDataStoresBranchesDocumentsService) Delete(name string) *ProjectsLocationsDataStoresBranchesDocumentsDeleteCall
- func (r *ProjectsLocationsDataStoresBranchesDocumentsService) Get(name string) *ProjectsLocationsDataStoresBranchesDocumentsGetCall
- func (r *ProjectsLocationsDataStoresBranchesDocumentsService) Import(parent string, ...) *ProjectsLocationsDataStoresBranchesDocumentsImportCall
- func (r *ProjectsLocationsDataStoresBranchesDocumentsService) List(parent string) *ProjectsLocationsDataStoresBranchesDocumentsListCall
- func (r *ProjectsLocationsDataStoresBranchesDocumentsService) Patch(name string, ...) *ProjectsLocationsDataStoresBranchesDocumentsPatchCall
- func (r *ProjectsLocationsDataStoresBranchesDocumentsService) Purge(parent string, ...) *ProjectsLocationsDataStoresBranchesDocumentsPurgeCall
- type ProjectsLocationsDataStoresBranchesOperationsCancelCall
- func (c *ProjectsLocationsDataStoresBranchesOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesOperationsCancelCall
- func (c *ProjectsLocationsDataStoresBranchesOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsDataStoresBranchesOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesOperationsCancelCall
- func (c *ProjectsLocationsDataStoresBranchesOperationsCancelCall) Header() http.Header
- type ProjectsLocationsDataStoresBranchesOperationsGetCall
- func (c *ProjectsLocationsDataStoresBranchesOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesOperationsGetCall
- func (c *ProjectsLocationsDataStoresBranchesOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresBranchesOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesOperationsGetCall
- func (c *ProjectsLocationsDataStoresBranchesOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresBranchesOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresBranchesOperationsGetCall
- type ProjectsLocationsDataStoresBranchesOperationsListCall
- func (c *ProjectsLocationsDataStoresBranchesOperationsListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesOperationsListCall
- func (c *ProjectsLocationsDataStoresBranchesOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
- func (c *ProjectsLocationsDataStoresBranchesOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesOperationsListCall
- func (c *ProjectsLocationsDataStoresBranchesOperationsListCall) Filter(filter string) *ProjectsLocationsDataStoresBranchesOperationsListCall
- func (c *ProjectsLocationsDataStoresBranchesOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresBranchesOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresBranchesOperationsListCall
- func (c *ProjectsLocationsDataStoresBranchesOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresBranchesOperationsListCall
- func (c *ProjectsLocationsDataStoresBranchesOperationsListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresBranchesOperationsListCall
- func (c *ProjectsLocationsDataStoresBranchesOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
- type ProjectsLocationsDataStoresBranchesOperationsService
- func (r *ProjectsLocationsDataStoresBranchesOperationsService) Cancel(name string, ...) *ProjectsLocationsDataStoresBranchesOperationsCancelCall
- func (r *ProjectsLocationsDataStoresBranchesOperationsService) Get(name string) *ProjectsLocationsDataStoresBranchesOperationsGetCall
- func (r *ProjectsLocationsDataStoresBranchesOperationsService) List(name string) *ProjectsLocationsDataStoresBranchesOperationsListCall
- type ProjectsLocationsDataStoresBranchesService
- type ProjectsLocationsDataStoresCompleteQueryCall
- func (c *ProjectsLocationsDataStoresCompleteQueryCall) Context(ctx context.Context) *ProjectsLocationsDataStoresCompleteQueryCall
- func (c *ProjectsLocationsDataStoresCompleteQueryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaCompleteQueryResponse, error)
- func (c *ProjectsLocationsDataStoresCompleteQueryCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresCompleteQueryCall
- func (c *ProjectsLocationsDataStoresCompleteQueryCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresCompleteQueryCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresCompleteQueryCall
- func (c *ProjectsLocationsDataStoresCompleteQueryCall) IncludeTailSuggestions(includeTailSuggestions bool) *ProjectsLocationsDataStoresCompleteQueryCall
- func (c *ProjectsLocationsDataStoresCompleteQueryCall) Query(query string) *ProjectsLocationsDataStoresCompleteQueryCall
- func (c *ProjectsLocationsDataStoresCompleteQueryCall) QueryModel(queryModel string) *ProjectsLocationsDataStoresCompleteQueryCall
- func (c *ProjectsLocationsDataStoresCompleteQueryCall) UserPseudoId(userPseudoId string) *ProjectsLocationsDataStoresCompleteQueryCall
- type ProjectsLocationsDataStoresCompletionConfigCompleteQueryCall
- func (c *ProjectsLocationsDataStoresCompletionConfigCompleteQueryCall) Context(ctx context.Context) *ProjectsLocationsDataStoresCompletionConfigCompleteQueryCall
- func (c *ProjectsLocationsDataStoresCompletionConfigCompleteQueryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse, error)
- func (c *ProjectsLocationsDataStoresCompletionConfigCompleteQueryCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresCompletionConfigCompleteQueryCall
- func (c *ProjectsLocationsDataStoresCompletionConfigCompleteQueryCall) Header() http.Header
- type ProjectsLocationsDataStoresCompletionConfigService
- type ProjectsLocationsDataStoresCompletionSuggestionsImportCall
- func (c *ProjectsLocationsDataStoresCompletionSuggestionsImportCall) Context(ctx context.Context) *ProjectsLocationsDataStoresCompletionSuggestionsImportCall
- func (c *ProjectsLocationsDataStoresCompletionSuggestionsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresCompletionSuggestionsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresCompletionSuggestionsImportCall
- func (c *ProjectsLocationsDataStoresCompletionSuggestionsImportCall) Header() http.Header
- type ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall
- func (c *ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall) Context(ctx context.Context) *ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall
- func (c *ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall
- func (c *ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall) Header() http.Header
- type ProjectsLocationsDataStoresCompletionSuggestionsService
- func (r *ProjectsLocationsDataStoresCompletionSuggestionsService) Import(parent string, ...) *ProjectsLocationsDataStoresCompletionSuggestionsImportCall
- func (r *ProjectsLocationsDataStoresCompletionSuggestionsService) Purge(parent string, ...) *ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall
- type ProjectsLocationsDataStoresControlsCreateCall
- func (c *ProjectsLocationsDataStoresControlsCreateCall) Context(ctx context.Context) *ProjectsLocationsDataStoresControlsCreateCall
- func (c *ProjectsLocationsDataStoresControlsCreateCall) ControlId(controlId string) *ProjectsLocationsDataStoresControlsCreateCall
- func (c *ProjectsLocationsDataStoresControlsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaControl, error)
- func (c *ProjectsLocationsDataStoresControlsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresControlsCreateCall
- func (c *ProjectsLocationsDataStoresControlsCreateCall) Header() http.Header
- type ProjectsLocationsDataStoresControlsDeleteCall
- func (c *ProjectsLocationsDataStoresControlsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDataStoresControlsDeleteCall
- func (c *ProjectsLocationsDataStoresControlsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsDataStoresControlsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresControlsDeleteCall
- func (c *ProjectsLocationsDataStoresControlsDeleteCall) Header() http.Header
- type ProjectsLocationsDataStoresControlsGetCall
- func (c *ProjectsLocationsDataStoresControlsGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresControlsGetCall
- func (c *ProjectsLocationsDataStoresControlsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaControl, error)
- func (c *ProjectsLocationsDataStoresControlsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresControlsGetCall
- func (c *ProjectsLocationsDataStoresControlsGetCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresControlsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresControlsGetCall
- type ProjectsLocationsDataStoresControlsListCall
- func (c *ProjectsLocationsDataStoresControlsListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresControlsListCall
- func (c *ProjectsLocationsDataStoresControlsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListControlsResponse, error)
- func (c *ProjectsLocationsDataStoresControlsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresControlsListCall
- func (c *ProjectsLocationsDataStoresControlsListCall) Filter(filter string) *ProjectsLocationsDataStoresControlsListCall
- func (c *ProjectsLocationsDataStoresControlsListCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresControlsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresControlsListCall
- func (c *ProjectsLocationsDataStoresControlsListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresControlsListCall
- func (c *ProjectsLocationsDataStoresControlsListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresControlsListCall
- func (c *ProjectsLocationsDataStoresControlsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsDataStoresControlsPatchCall
- func (c *ProjectsLocationsDataStoresControlsPatchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresControlsPatchCall
- func (c *ProjectsLocationsDataStoresControlsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaControl, error)
- func (c *ProjectsLocationsDataStoresControlsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresControlsPatchCall
- func (c *ProjectsLocationsDataStoresControlsPatchCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresControlsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDataStoresControlsPatchCall
- type ProjectsLocationsDataStoresControlsService
- func (r *ProjectsLocationsDataStoresControlsService) Create(parent string, ...) *ProjectsLocationsDataStoresControlsCreateCall
- func (r *ProjectsLocationsDataStoresControlsService) Delete(name string) *ProjectsLocationsDataStoresControlsDeleteCall
- func (r *ProjectsLocationsDataStoresControlsService) Get(name string) *ProjectsLocationsDataStoresControlsGetCall
- func (r *ProjectsLocationsDataStoresControlsService) List(parent string) *ProjectsLocationsDataStoresControlsListCall
- func (r *ProjectsLocationsDataStoresControlsService) Patch(name string, ...) *ProjectsLocationsDataStoresControlsPatchCall
- type ProjectsLocationsDataStoresConversationsConverseCall
- func (c *ProjectsLocationsDataStoresConversationsConverseCall) Context(ctx context.Context) *ProjectsLocationsDataStoresConversationsConverseCall
- func (c *ProjectsLocationsDataStoresConversationsConverseCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConverseConversationResponse, error)
- func (c *ProjectsLocationsDataStoresConversationsConverseCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresConversationsConverseCall
- func (c *ProjectsLocationsDataStoresConversationsConverseCall) Header() http.Header
- type ProjectsLocationsDataStoresConversationsCreateCall
- func (c *ProjectsLocationsDataStoresConversationsCreateCall) Context(ctx context.Context) *ProjectsLocationsDataStoresConversationsCreateCall
- func (c *ProjectsLocationsDataStoresConversationsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConversation, error)
- func (c *ProjectsLocationsDataStoresConversationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresConversationsCreateCall
- func (c *ProjectsLocationsDataStoresConversationsCreateCall) Header() http.Header
- type ProjectsLocationsDataStoresConversationsDeleteCall
- func (c *ProjectsLocationsDataStoresConversationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDataStoresConversationsDeleteCall
- func (c *ProjectsLocationsDataStoresConversationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsDataStoresConversationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresConversationsDeleteCall
- func (c *ProjectsLocationsDataStoresConversationsDeleteCall) Header() http.Header
- type ProjectsLocationsDataStoresConversationsGetCall
- func (c *ProjectsLocationsDataStoresConversationsGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresConversationsGetCall
- func (c *ProjectsLocationsDataStoresConversationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConversation, error)
- func (c *ProjectsLocationsDataStoresConversationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresConversationsGetCall
- func (c *ProjectsLocationsDataStoresConversationsGetCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresConversationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresConversationsGetCall
- type ProjectsLocationsDataStoresConversationsListCall
- func (c *ProjectsLocationsDataStoresConversationsListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresConversationsListCall
- func (c *ProjectsLocationsDataStoresConversationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListConversationsResponse, error)
- func (c *ProjectsLocationsDataStoresConversationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresConversationsListCall
- func (c *ProjectsLocationsDataStoresConversationsListCall) Filter(filter string) *ProjectsLocationsDataStoresConversationsListCall
- func (c *ProjectsLocationsDataStoresConversationsListCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresConversationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresConversationsListCall
- func (c *ProjectsLocationsDataStoresConversationsListCall) OrderBy(orderBy string) *ProjectsLocationsDataStoresConversationsListCall
- func (c *ProjectsLocationsDataStoresConversationsListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresConversationsListCall
- func (c *ProjectsLocationsDataStoresConversationsListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresConversationsListCall
- func (c *ProjectsLocationsDataStoresConversationsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsDataStoresConversationsPatchCall
- func (c *ProjectsLocationsDataStoresConversationsPatchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresConversationsPatchCall
- func (c *ProjectsLocationsDataStoresConversationsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConversation, error)
- func (c *ProjectsLocationsDataStoresConversationsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresConversationsPatchCall
- func (c *ProjectsLocationsDataStoresConversationsPatchCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresConversationsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDataStoresConversationsPatchCall
- type ProjectsLocationsDataStoresConversationsService
- func (r *ProjectsLocationsDataStoresConversationsService) Converse(name string, ...) *ProjectsLocationsDataStoresConversationsConverseCall
- func (r *ProjectsLocationsDataStoresConversationsService) Create(parent string, ...) *ProjectsLocationsDataStoresConversationsCreateCall
- func (r *ProjectsLocationsDataStoresConversationsService) Delete(name string) *ProjectsLocationsDataStoresConversationsDeleteCall
- func (r *ProjectsLocationsDataStoresConversationsService) Get(name string) *ProjectsLocationsDataStoresConversationsGetCall
- func (r *ProjectsLocationsDataStoresConversationsService) List(parent string) *ProjectsLocationsDataStoresConversationsListCall
- func (r *ProjectsLocationsDataStoresConversationsService) Patch(name string, ...) *ProjectsLocationsDataStoresConversationsPatchCall
- type ProjectsLocationsDataStoresCreateCall
- func (c *ProjectsLocationsDataStoresCreateCall) CmekConfigName(cmekConfigName string) *ProjectsLocationsDataStoresCreateCall
- func (c *ProjectsLocationsDataStoresCreateCall) Context(ctx context.Context) *ProjectsLocationsDataStoresCreateCall
- func (c *ProjectsLocationsDataStoresCreateCall) CreateAdvancedSiteSearch(createAdvancedSiteSearch bool) *ProjectsLocationsDataStoresCreateCall
- func (c *ProjectsLocationsDataStoresCreateCall) DataStoreId(dataStoreId string) *ProjectsLocationsDataStoresCreateCall
- func (c *ProjectsLocationsDataStoresCreateCall) DisableCmek(disableCmek bool) *ProjectsLocationsDataStoresCreateCall
- func (c *ProjectsLocationsDataStoresCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresCreateCall
- func (c *ProjectsLocationsDataStoresCreateCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresCreateCall) SkipDefaultSchemaCreation(skipDefaultSchemaCreation bool) *ProjectsLocationsDataStoresCreateCall
- type ProjectsLocationsDataStoresDeleteCall
- func (c *ProjectsLocationsDataStoresDeleteCall) Context(ctx context.Context) *ProjectsLocationsDataStoresDeleteCall
- func (c *ProjectsLocationsDataStoresDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresDeleteCall
- func (c *ProjectsLocationsDataStoresDeleteCall) Header() http.Header
- type ProjectsLocationsDataStoresGetCall
- func (c *ProjectsLocationsDataStoresGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresGetCall
- func (c *ProjectsLocationsDataStoresGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaDataStore, error)
- func (c *ProjectsLocationsDataStoresGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresGetCall
- func (c *ProjectsLocationsDataStoresGetCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresGetCall
- type ProjectsLocationsDataStoresGetSiteSearchEngineCall
- func (c *ProjectsLocationsDataStoresGetSiteSearchEngineCall) Context(ctx context.Context) *ProjectsLocationsDataStoresGetSiteSearchEngineCall
- func (c *ProjectsLocationsDataStoresGetSiteSearchEngineCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSiteSearchEngine, error)
- func (c *ProjectsLocationsDataStoresGetSiteSearchEngineCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresGetSiteSearchEngineCall
- func (c *ProjectsLocationsDataStoresGetSiteSearchEngineCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresGetSiteSearchEngineCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresGetSiteSearchEngineCall
- type ProjectsLocationsDataStoresListCall
- func (c *ProjectsLocationsDataStoresListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresListCall
- func (c *ProjectsLocationsDataStoresListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListDataStoresResponse, error)
- func (c *ProjectsLocationsDataStoresListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresListCall
- func (c *ProjectsLocationsDataStoresListCall) Filter(filter string) *ProjectsLocationsDataStoresListCall
- func (c *ProjectsLocationsDataStoresListCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresListCall
- func (c *ProjectsLocationsDataStoresListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresListCall
- func (c *ProjectsLocationsDataStoresListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresListCall
- func (c *ProjectsLocationsDataStoresListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsDataStoresModelsOperationsGetCall
- func (c *ProjectsLocationsDataStoresModelsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresModelsOperationsGetCall
- func (c *ProjectsLocationsDataStoresModelsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresModelsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresModelsOperationsGetCall
- func (c *ProjectsLocationsDataStoresModelsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresModelsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresModelsOperationsGetCall
- type ProjectsLocationsDataStoresModelsOperationsListCall
- func (c *ProjectsLocationsDataStoresModelsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresModelsOperationsListCall
- func (c *ProjectsLocationsDataStoresModelsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
- func (c *ProjectsLocationsDataStoresModelsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresModelsOperationsListCall
- func (c *ProjectsLocationsDataStoresModelsOperationsListCall) Filter(filter string) *ProjectsLocationsDataStoresModelsOperationsListCall
- func (c *ProjectsLocationsDataStoresModelsOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresModelsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresModelsOperationsListCall
- func (c *ProjectsLocationsDataStoresModelsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresModelsOperationsListCall
- func (c *ProjectsLocationsDataStoresModelsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresModelsOperationsListCall
- func (c *ProjectsLocationsDataStoresModelsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
- type ProjectsLocationsDataStoresModelsOperationsService
- type ProjectsLocationsDataStoresModelsService
- type ProjectsLocationsDataStoresOperationsGetCall
- func (c *ProjectsLocationsDataStoresOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresOperationsGetCall
- func (c *ProjectsLocationsDataStoresOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresOperationsGetCall
- func (c *ProjectsLocationsDataStoresOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresOperationsGetCall
- type ProjectsLocationsDataStoresOperationsListCall
- func (c *ProjectsLocationsDataStoresOperationsListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresOperationsListCall
- func (c *ProjectsLocationsDataStoresOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
- func (c *ProjectsLocationsDataStoresOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresOperationsListCall
- func (c *ProjectsLocationsDataStoresOperationsListCall) Filter(filter string) *ProjectsLocationsDataStoresOperationsListCall
- func (c *ProjectsLocationsDataStoresOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresOperationsListCall
- func (c *ProjectsLocationsDataStoresOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresOperationsListCall
- func (c *ProjectsLocationsDataStoresOperationsListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresOperationsListCall
- func (c *ProjectsLocationsDataStoresOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
- type ProjectsLocationsDataStoresOperationsService
- type ProjectsLocationsDataStoresPatchCall
- func (c *ProjectsLocationsDataStoresPatchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresPatchCall
- func (c *ProjectsLocationsDataStoresPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaDataStore, error)
- func (c *ProjectsLocationsDataStoresPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresPatchCall
- func (c *ProjectsLocationsDataStoresPatchCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDataStoresPatchCall
- type ProjectsLocationsDataStoresSchemasCreateCall
- func (c *ProjectsLocationsDataStoresSchemasCreateCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSchemasCreateCall
- func (c *ProjectsLocationsDataStoresSchemasCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresSchemasCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSchemasCreateCall
- func (c *ProjectsLocationsDataStoresSchemasCreateCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresSchemasCreateCall) SchemaId(schemaId string) *ProjectsLocationsDataStoresSchemasCreateCall
- type ProjectsLocationsDataStoresSchemasDeleteCall
- func (c *ProjectsLocationsDataStoresSchemasDeleteCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSchemasDeleteCall
- func (c *ProjectsLocationsDataStoresSchemasDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresSchemasDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSchemasDeleteCall
- func (c *ProjectsLocationsDataStoresSchemasDeleteCall) Header() http.Header
- type ProjectsLocationsDataStoresSchemasGetCall
- func (c *ProjectsLocationsDataStoresSchemasGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSchemasGetCall
- func (c *ProjectsLocationsDataStoresSchemasGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSchema, error)
- func (c *ProjectsLocationsDataStoresSchemasGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSchemasGetCall
- func (c *ProjectsLocationsDataStoresSchemasGetCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresSchemasGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresSchemasGetCall
- type ProjectsLocationsDataStoresSchemasListCall
- func (c *ProjectsLocationsDataStoresSchemasListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSchemasListCall
- func (c *ProjectsLocationsDataStoresSchemasListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListSchemasResponse, error)
- func (c *ProjectsLocationsDataStoresSchemasListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSchemasListCall
- func (c *ProjectsLocationsDataStoresSchemasListCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresSchemasListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresSchemasListCall
- func (c *ProjectsLocationsDataStoresSchemasListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresSchemasListCall
- func (c *ProjectsLocationsDataStoresSchemasListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresSchemasListCall
- func (c *ProjectsLocationsDataStoresSchemasListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsDataStoresSchemasPatchCall
- func (c *ProjectsLocationsDataStoresSchemasPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsDataStoresSchemasPatchCall
- func (c *ProjectsLocationsDataStoresSchemasPatchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSchemasPatchCall
- func (c *ProjectsLocationsDataStoresSchemasPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresSchemasPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSchemasPatchCall
- func (c *ProjectsLocationsDataStoresSchemasPatchCall) Header() http.Header
- type ProjectsLocationsDataStoresSchemasService
- func (r *ProjectsLocationsDataStoresSchemasService) Create(parent string, ...) *ProjectsLocationsDataStoresSchemasCreateCall
- func (r *ProjectsLocationsDataStoresSchemasService) Delete(name string) *ProjectsLocationsDataStoresSchemasDeleteCall
- func (r *ProjectsLocationsDataStoresSchemasService) Get(name string) *ProjectsLocationsDataStoresSchemasGetCall
- func (r *ProjectsLocationsDataStoresSchemasService) List(parent string) *ProjectsLocationsDataStoresSchemasListCall
- func (r *ProjectsLocationsDataStoresSchemasService) Patch(name string, ...) *ProjectsLocationsDataStoresSchemasPatchCall
- type ProjectsLocationsDataStoresService
- func (r *ProjectsLocationsDataStoresService) CompleteQuery(dataStore string) *ProjectsLocationsDataStoresCompleteQueryCall
- func (r *ProjectsLocationsDataStoresService) Create(parent string, ...) *ProjectsLocationsDataStoresCreateCall
- func (r *ProjectsLocationsDataStoresService) Delete(name string) *ProjectsLocationsDataStoresDeleteCall
- func (r *ProjectsLocationsDataStoresService) Get(name string) *ProjectsLocationsDataStoresGetCall
- func (r *ProjectsLocationsDataStoresService) GetSiteSearchEngine(name string) *ProjectsLocationsDataStoresGetSiteSearchEngineCall
- func (r *ProjectsLocationsDataStoresService) List(parent string) *ProjectsLocationsDataStoresListCall
- func (r *ProjectsLocationsDataStoresService) Patch(name string, ...) *ProjectsLocationsDataStoresPatchCall
- type ProjectsLocationsDataStoresServingConfigsAnswerCall
- func (c *ProjectsLocationsDataStoresServingConfigsAnswerCall) Context(ctx context.Context) *ProjectsLocationsDataStoresServingConfigsAnswerCall
- func (c *ProjectsLocationsDataStoresServingConfigsAnswerCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAnswerQueryResponse, error)
- func (c *ProjectsLocationsDataStoresServingConfigsAnswerCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresServingConfigsAnswerCall
- func (c *ProjectsLocationsDataStoresServingConfigsAnswerCall) Header() http.Header
- type ProjectsLocationsDataStoresServingConfigsGetCall
- func (c *ProjectsLocationsDataStoresServingConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresServingConfigsGetCall
- func (c *ProjectsLocationsDataStoresServingConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaServingConfig, error)
- func (c *ProjectsLocationsDataStoresServingConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresServingConfigsGetCall
- func (c *ProjectsLocationsDataStoresServingConfigsGetCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresServingConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresServingConfigsGetCall
- type ProjectsLocationsDataStoresServingConfigsListCall
- func (c *ProjectsLocationsDataStoresServingConfigsListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresServingConfigsListCall
- func (c *ProjectsLocationsDataStoresServingConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListServingConfigsResponse, error)
- func (c *ProjectsLocationsDataStoresServingConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresServingConfigsListCall
- func (c *ProjectsLocationsDataStoresServingConfigsListCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresServingConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresServingConfigsListCall
- func (c *ProjectsLocationsDataStoresServingConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresServingConfigsListCall
- func (c *ProjectsLocationsDataStoresServingConfigsListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresServingConfigsListCall
- func (c *ProjectsLocationsDataStoresServingConfigsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsDataStoresServingConfigsPatchCall
- func (c *ProjectsLocationsDataStoresServingConfigsPatchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresServingConfigsPatchCall
- func (c *ProjectsLocationsDataStoresServingConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaServingConfig, error)
- func (c *ProjectsLocationsDataStoresServingConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresServingConfigsPatchCall
- func (c *ProjectsLocationsDataStoresServingConfigsPatchCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresServingConfigsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDataStoresServingConfigsPatchCall
- type ProjectsLocationsDataStoresServingConfigsRecommendCall
- func (c *ProjectsLocationsDataStoresServingConfigsRecommendCall) Context(ctx context.Context) *ProjectsLocationsDataStoresServingConfigsRecommendCall
- func (c *ProjectsLocationsDataStoresServingConfigsRecommendCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaRecommendResponse, error)
- func (c *ProjectsLocationsDataStoresServingConfigsRecommendCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresServingConfigsRecommendCall
- func (c *ProjectsLocationsDataStoresServingConfigsRecommendCall) Header() http.Header
- type ProjectsLocationsDataStoresServingConfigsSearchCall
- func (c *ProjectsLocationsDataStoresServingConfigsSearchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresServingConfigsSearchCall
- func (c *ProjectsLocationsDataStoresServingConfigsSearchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSearchResponse, error)
- func (c *ProjectsLocationsDataStoresServingConfigsSearchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresServingConfigsSearchCall
- func (c *ProjectsLocationsDataStoresServingConfigsSearchCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresServingConfigsSearchCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsDataStoresServingConfigsSearchLiteCall
- func (c *ProjectsLocationsDataStoresServingConfigsSearchLiteCall) Context(ctx context.Context) *ProjectsLocationsDataStoresServingConfigsSearchLiteCall
- func (c *ProjectsLocationsDataStoresServingConfigsSearchLiteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSearchResponse, error)
- func (c *ProjectsLocationsDataStoresServingConfigsSearchLiteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresServingConfigsSearchLiteCall
- func (c *ProjectsLocationsDataStoresServingConfigsSearchLiteCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresServingConfigsSearchLiteCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsDataStoresServingConfigsService
- func (r *ProjectsLocationsDataStoresServingConfigsService) Answer(servingConfig string, ...) *ProjectsLocationsDataStoresServingConfigsAnswerCall
- func (r *ProjectsLocationsDataStoresServingConfigsService) Get(name string) *ProjectsLocationsDataStoresServingConfigsGetCall
- func (r *ProjectsLocationsDataStoresServingConfigsService) List(parent string) *ProjectsLocationsDataStoresServingConfigsListCall
- func (r *ProjectsLocationsDataStoresServingConfigsService) Patch(name string, ...) *ProjectsLocationsDataStoresServingConfigsPatchCall
- func (r *ProjectsLocationsDataStoresServingConfigsService) Recommend(servingConfig string, ...) *ProjectsLocationsDataStoresServingConfigsRecommendCall
- func (r *ProjectsLocationsDataStoresServingConfigsService) Search(servingConfig string, ...) *ProjectsLocationsDataStoresServingConfigsSearchCall
- func (r *ProjectsLocationsDataStoresServingConfigsService) SearchLite(servingConfig string, ...) *ProjectsLocationsDataStoresServingConfigsSearchLiteCall
- func (r *ProjectsLocationsDataStoresServingConfigsService) StreamAnswer(servingConfig string, ...) *ProjectsLocationsDataStoresServingConfigsStreamAnswerCall
- type ProjectsLocationsDataStoresServingConfigsStreamAnswerCall
- func (c *ProjectsLocationsDataStoresServingConfigsStreamAnswerCall) Context(ctx context.Context) *ProjectsLocationsDataStoresServingConfigsStreamAnswerCall
- func (c *ProjectsLocationsDataStoresServingConfigsStreamAnswerCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAnswerQueryResponse, error)
- func (c *ProjectsLocationsDataStoresServingConfigsStreamAnswerCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresServingConfigsStreamAnswerCall
- func (c *ProjectsLocationsDataStoresServingConfigsStreamAnswerCall) Header() http.Header
- type ProjectsLocationsDataStoresSessionsAnswersGetCall
- func (c *ProjectsLocationsDataStoresSessionsAnswersGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSessionsAnswersGetCall
- func (c *ProjectsLocationsDataStoresSessionsAnswersGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAnswer, error)
- func (c *ProjectsLocationsDataStoresSessionsAnswersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSessionsAnswersGetCall
- func (c *ProjectsLocationsDataStoresSessionsAnswersGetCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresSessionsAnswersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresSessionsAnswersGetCall
- type ProjectsLocationsDataStoresSessionsAnswersService
- type ProjectsLocationsDataStoresSessionsCreateCall
- func (c *ProjectsLocationsDataStoresSessionsCreateCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSessionsCreateCall
- func (c *ProjectsLocationsDataStoresSessionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSession, error)
- func (c *ProjectsLocationsDataStoresSessionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSessionsCreateCall
- func (c *ProjectsLocationsDataStoresSessionsCreateCall) Header() http.Header
- type ProjectsLocationsDataStoresSessionsDeleteCall
- func (c *ProjectsLocationsDataStoresSessionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSessionsDeleteCall
- func (c *ProjectsLocationsDataStoresSessionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsDataStoresSessionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSessionsDeleteCall
- func (c *ProjectsLocationsDataStoresSessionsDeleteCall) Header() http.Header
- type ProjectsLocationsDataStoresSessionsGetCall
- func (c *ProjectsLocationsDataStoresSessionsGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSessionsGetCall
- func (c *ProjectsLocationsDataStoresSessionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSession, error)
- func (c *ProjectsLocationsDataStoresSessionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSessionsGetCall
- func (c *ProjectsLocationsDataStoresSessionsGetCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresSessionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresSessionsGetCall
- func (c *ProjectsLocationsDataStoresSessionsGetCall) IncludeAnswerDetails(includeAnswerDetails bool) *ProjectsLocationsDataStoresSessionsGetCall
- type ProjectsLocationsDataStoresSessionsListCall
- func (c *ProjectsLocationsDataStoresSessionsListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSessionsListCall
- func (c *ProjectsLocationsDataStoresSessionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListSessionsResponse, error)
- func (c *ProjectsLocationsDataStoresSessionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSessionsListCall
- func (c *ProjectsLocationsDataStoresSessionsListCall) Filter(filter string) *ProjectsLocationsDataStoresSessionsListCall
- func (c *ProjectsLocationsDataStoresSessionsListCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresSessionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresSessionsListCall
- func (c *ProjectsLocationsDataStoresSessionsListCall) OrderBy(orderBy string) *ProjectsLocationsDataStoresSessionsListCall
- func (c *ProjectsLocationsDataStoresSessionsListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresSessionsListCall
- func (c *ProjectsLocationsDataStoresSessionsListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresSessionsListCall
- func (c *ProjectsLocationsDataStoresSessionsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsDataStoresSessionsPatchCall
- func (c *ProjectsLocationsDataStoresSessionsPatchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSessionsPatchCall
- func (c *ProjectsLocationsDataStoresSessionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSession, error)
- func (c *ProjectsLocationsDataStoresSessionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSessionsPatchCall
- func (c *ProjectsLocationsDataStoresSessionsPatchCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresSessionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDataStoresSessionsPatchCall
- type ProjectsLocationsDataStoresSessionsService
- func (r *ProjectsLocationsDataStoresSessionsService) Create(parent string, ...) *ProjectsLocationsDataStoresSessionsCreateCall
- func (r *ProjectsLocationsDataStoresSessionsService) Delete(name string) *ProjectsLocationsDataStoresSessionsDeleteCall
- func (r *ProjectsLocationsDataStoresSessionsService) Get(name string) *ProjectsLocationsDataStoresSessionsGetCall
- func (r *ProjectsLocationsDataStoresSessionsService) List(parent string) *ProjectsLocationsDataStoresSessionsListCall
- func (r *ProjectsLocationsDataStoresSessionsService) Patch(name string, ...) *ProjectsLocationsDataStoresSessionsPatchCall
- type ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Header() http.Header
- type ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Header() http.Header
- type ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall) Header() http.Header
- type ProjectsLocationsDataStoresSiteSearchEngineService
- func (r *ProjectsLocationsDataStoresSiteSearchEngineService) DisableAdvancedSiteSearch(siteSearchEngine string, ...) *ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall
- func (r *ProjectsLocationsDataStoresSiteSearchEngineService) EnableAdvancedSiteSearch(siteSearchEngine string, ...) *ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall
- func (r *ProjectsLocationsDataStoresSiteSearchEngineService) RecrawlUris(siteSearchEngine string, ...) *ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall
- type ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall) Header() http.Header
- type ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall) Header() http.Header
- type ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse, error)
- func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall) MatcherUrisMatcherUris(matcherUrisMatcherUris ...string) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall
- type ProjectsLocationsDataStoresSiteSearchEngineSitemapsService
- func (r *ProjectsLocationsDataStoresSiteSearchEngineSitemapsService) Create(parent string, ...) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall
- func (r *ProjectsLocationsDataStoresSiteSearchEngineSitemapsService) Delete(name string) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall
- func (r *ProjectsLocationsDataStoresSiteSearchEngineSitemapsService) Fetch(parent string) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall
- type ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Header() http.Header
- type ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall) Header() http.Header
- type ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall) Header() http.Header
- type ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaTargetSite, error)
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall
- type ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListTargetSitesResponse, error)
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall
- func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall) Header() http.Header
- type ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService
- func (r *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService) BatchCreate(parent string, ...) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall
- func (r *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService) Create(parent string, ...) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall
- func (r *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService) Delete(name string) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall
- func (r *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService) Get(name string) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall
- func (r *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService) List(parent string) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall
- func (r *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService) Patch(name string, ...) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall
- type ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall
- func (c *ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall
- func (c *ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall
- func (c *ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall) Header() http.Header
- type ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall
- func (c *ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall
- func (c *ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall
- func (c *ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall) Header() http.Header
- type ProjectsLocationsDataStoresSuggestionDenyListEntriesService
- func (r *ProjectsLocationsDataStoresSuggestionDenyListEntriesService) Import(parent string, ...) *ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall
- func (r *ProjectsLocationsDataStoresSuggestionDenyListEntriesService) Purge(parent string, ...) *ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall
- type ProjectsLocationsDataStoresUserEventsCollectCall
- func (c *ProjectsLocationsDataStoresUserEventsCollectCall) Context(ctx context.Context) *ProjectsLocationsDataStoresUserEventsCollectCall
- func (c *ProjectsLocationsDataStoresUserEventsCollectCall) Do(opts ...googleapi.CallOption) (*GoogleApiHttpBody, error)
- func (c *ProjectsLocationsDataStoresUserEventsCollectCall) Ets(ets int64) *ProjectsLocationsDataStoresUserEventsCollectCall
- func (c *ProjectsLocationsDataStoresUserEventsCollectCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresUserEventsCollectCall
- func (c *ProjectsLocationsDataStoresUserEventsCollectCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresUserEventsCollectCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresUserEventsCollectCall
- func (c *ProjectsLocationsDataStoresUserEventsCollectCall) Uri(uri string) *ProjectsLocationsDataStoresUserEventsCollectCall
- func (c *ProjectsLocationsDataStoresUserEventsCollectCall) UserEvent(userEvent string) *ProjectsLocationsDataStoresUserEventsCollectCall
- type ProjectsLocationsDataStoresUserEventsImportCall
- func (c *ProjectsLocationsDataStoresUserEventsImportCall) Context(ctx context.Context) *ProjectsLocationsDataStoresUserEventsImportCall
- func (c *ProjectsLocationsDataStoresUserEventsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresUserEventsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresUserEventsImportCall
- func (c *ProjectsLocationsDataStoresUserEventsImportCall) Header() http.Header
- type ProjectsLocationsDataStoresUserEventsPurgeCall
- func (c *ProjectsLocationsDataStoresUserEventsPurgeCall) Context(ctx context.Context) *ProjectsLocationsDataStoresUserEventsPurgeCall
- func (c *ProjectsLocationsDataStoresUserEventsPurgeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsDataStoresUserEventsPurgeCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresUserEventsPurgeCall
- func (c *ProjectsLocationsDataStoresUserEventsPurgeCall) Header() http.Header
- type ProjectsLocationsDataStoresUserEventsService
- func (r *ProjectsLocationsDataStoresUserEventsService) Collect(parent string) *ProjectsLocationsDataStoresUserEventsCollectCall
- func (r *ProjectsLocationsDataStoresUserEventsService) Import(parent string, ...) *ProjectsLocationsDataStoresUserEventsImportCall
- func (r *ProjectsLocationsDataStoresUserEventsService) Purge(parent string, ...) *ProjectsLocationsDataStoresUserEventsPurgeCall
- func (r *ProjectsLocationsDataStoresUserEventsService) Write(parent string, ...) *ProjectsLocationsDataStoresUserEventsWriteCall
- type ProjectsLocationsDataStoresUserEventsWriteCall
- func (c *ProjectsLocationsDataStoresUserEventsWriteCall) Context(ctx context.Context) *ProjectsLocationsDataStoresUserEventsWriteCall
- func (c *ProjectsLocationsDataStoresUserEventsWriteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaUserEvent, error)
- func (c *ProjectsLocationsDataStoresUserEventsWriteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresUserEventsWriteCall
- func (c *ProjectsLocationsDataStoresUserEventsWriteCall) Header() http.Header
- func (c *ProjectsLocationsDataStoresUserEventsWriteCall) WriteAsync(writeAsync bool) *ProjectsLocationsDataStoresUserEventsWriteCall
- type ProjectsLocationsEvaluationsCreateCall
- func (c *ProjectsLocationsEvaluationsCreateCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsCreateCall
- func (c *ProjectsLocationsEvaluationsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsEvaluationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsCreateCall
- func (c *ProjectsLocationsEvaluationsCreateCall) Header() http.Header
- type ProjectsLocationsEvaluationsGetCall
- func (c *ProjectsLocationsEvaluationsGetCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsGetCall
- func (c *ProjectsLocationsEvaluationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaEvaluation, error)
- func (c *ProjectsLocationsEvaluationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsGetCall
- func (c *ProjectsLocationsEvaluationsGetCall) Header() http.Header
- func (c *ProjectsLocationsEvaluationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsEvaluationsGetCall
- type ProjectsLocationsEvaluationsListCall
- func (c *ProjectsLocationsEvaluationsListCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsListCall
- func (c *ProjectsLocationsEvaluationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListEvaluationsResponse, error)
- func (c *ProjectsLocationsEvaluationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsListCall
- func (c *ProjectsLocationsEvaluationsListCall) Header() http.Header
- func (c *ProjectsLocationsEvaluationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsEvaluationsListCall
- func (c *ProjectsLocationsEvaluationsListCall) PageSize(pageSize int64) *ProjectsLocationsEvaluationsListCall
- func (c *ProjectsLocationsEvaluationsListCall) PageToken(pageToken string) *ProjectsLocationsEvaluationsListCall
- func (c *ProjectsLocationsEvaluationsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsEvaluationsListResultsCall
- func (c *ProjectsLocationsEvaluationsListResultsCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsListResultsCall
- func (c *ProjectsLocationsEvaluationsListResultsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponse, error)
- func (c *ProjectsLocationsEvaluationsListResultsCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsListResultsCall
- func (c *ProjectsLocationsEvaluationsListResultsCall) Header() http.Header
- func (c *ProjectsLocationsEvaluationsListResultsCall) IfNoneMatch(entityTag string) *ProjectsLocationsEvaluationsListResultsCall
- func (c *ProjectsLocationsEvaluationsListResultsCall) PageSize(pageSize int64) *ProjectsLocationsEvaluationsListResultsCall
- func (c *ProjectsLocationsEvaluationsListResultsCall) PageToken(pageToken string) *ProjectsLocationsEvaluationsListResultsCall
- func (c *ProjectsLocationsEvaluationsListResultsCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsEvaluationsOperationsGetCall
- func (c *ProjectsLocationsEvaluationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsOperationsGetCall
- func (c *ProjectsLocationsEvaluationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsEvaluationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsOperationsGetCall
- func (c *ProjectsLocationsEvaluationsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsEvaluationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsEvaluationsOperationsGetCall
- type ProjectsLocationsEvaluationsOperationsService
- type ProjectsLocationsEvaluationsService
- func (r *ProjectsLocationsEvaluationsService) Create(parent string, ...) *ProjectsLocationsEvaluationsCreateCall
- func (r *ProjectsLocationsEvaluationsService) Get(name string) *ProjectsLocationsEvaluationsGetCall
- func (r *ProjectsLocationsEvaluationsService) List(parent string) *ProjectsLocationsEvaluationsListCall
- func (r *ProjectsLocationsEvaluationsService) ListResults(evaluation string) *ProjectsLocationsEvaluationsListResultsCall
- type ProjectsLocationsGroundingConfigsCheckCall
- func (c *ProjectsLocationsGroundingConfigsCheckCall) Context(ctx context.Context) *ProjectsLocationsGroundingConfigsCheckCall
- func (c *ProjectsLocationsGroundingConfigsCheckCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaCheckGroundingResponse, error)
- func (c *ProjectsLocationsGroundingConfigsCheckCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroundingConfigsCheckCall
- func (c *ProjectsLocationsGroundingConfigsCheckCall) Header() http.Header
- type ProjectsLocationsGroundingConfigsService
- type ProjectsLocationsIdentityMappingStoresOperationsGetCall
- func (c *ProjectsLocationsIdentityMappingStoresOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsIdentityMappingStoresOperationsGetCall
- func (c *ProjectsLocationsIdentityMappingStoresOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsIdentityMappingStoresOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsIdentityMappingStoresOperationsGetCall
- func (c *ProjectsLocationsIdentityMappingStoresOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsIdentityMappingStoresOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsIdentityMappingStoresOperationsGetCall
- type ProjectsLocationsIdentityMappingStoresOperationsListCall
- func (c *ProjectsLocationsIdentityMappingStoresOperationsListCall) Context(ctx context.Context) *ProjectsLocationsIdentityMappingStoresOperationsListCall
- func (c *ProjectsLocationsIdentityMappingStoresOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
- func (c *ProjectsLocationsIdentityMappingStoresOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsIdentityMappingStoresOperationsListCall
- func (c *ProjectsLocationsIdentityMappingStoresOperationsListCall) Filter(filter string) *ProjectsLocationsIdentityMappingStoresOperationsListCall
- func (c *ProjectsLocationsIdentityMappingStoresOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsIdentityMappingStoresOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsIdentityMappingStoresOperationsListCall
- func (c *ProjectsLocationsIdentityMappingStoresOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsIdentityMappingStoresOperationsListCall
- func (c *ProjectsLocationsIdentityMappingStoresOperationsListCall) PageToken(pageToken string) *ProjectsLocationsIdentityMappingStoresOperationsListCall
- func (c *ProjectsLocationsIdentityMappingStoresOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
- type ProjectsLocationsIdentityMappingStoresOperationsService
- type ProjectsLocationsIdentityMappingStoresService
- 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
- type ProjectsLocationsRankingConfigsRankCall
- func (c *ProjectsLocationsRankingConfigsRankCall) Context(ctx context.Context) *ProjectsLocationsRankingConfigsRankCall
- func (c *ProjectsLocationsRankingConfigsRankCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaRankResponse, error)
- func (c *ProjectsLocationsRankingConfigsRankCall) Fields(s ...googleapi.Field) *ProjectsLocationsRankingConfigsRankCall
- func (c *ProjectsLocationsRankingConfigsRankCall) Header() http.Header
- type ProjectsLocationsRankingConfigsService
- type ProjectsLocationsSampleQuerySetsCreateCall
- func (c *ProjectsLocationsSampleQuerySetsCreateCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsCreateCall
- func (c *ProjectsLocationsSampleQuerySetsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSampleQuerySet, error)
- func (c *ProjectsLocationsSampleQuerySetsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsCreateCall
- func (c *ProjectsLocationsSampleQuerySetsCreateCall) Header() http.Header
- func (c *ProjectsLocationsSampleQuerySetsCreateCall) SampleQuerySetId(sampleQuerySetId string) *ProjectsLocationsSampleQuerySetsCreateCall
- type ProjectsLocationsSampleQuerySetsDeleteCall
- func (c *ProjectsLocationsSampleQuerySetsDeleteCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsDeleteCall
- func (c *ProjectsLocationsSampleQuerySetsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsSampleQuerySetsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsDeleteCall
- func (c *ProjectsLocationsSampleQuerySetsDeleteCall) Header() http.Header
- type ProjectsLocationsSampleQuerySetsGetCall
- func (c *ProjectsLocationsSampleQuerySetsGetCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsGetCall
- func (c *ProjectsLocationsSampleQuerySetsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSampleQuerySet, error)
- func (c *ProjectsLocationsSampleQuerySetsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsGetCall
- func (c *ProjectsLocationsSampleQuerySetsGetCall) Header() http.Header
- func (c *ProjectsLocationsSampleQuerySetsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSampleQuerySetsGetCall
- type ProjectsLocationsSampleQuerySetsListCall
- func (c *ProjectsLocationsSampleQuerySetsListCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsListCall
- func (c *ProjectsLocationsSampleQuerySetsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListSampleQuerySetsResponse, error)
- func (c *ProjectsLocationsSampleQuerySetsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsListCall
- func (c *ProjectsLocationsSampleQuerySetsListCall) Header() http.Header
- func (c *ProjectsLocationsSampleQuerySetsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSampleQuerySetsListCall
- func (c *ProjectsLocationsSampleQuerySetsListCall) PageSize(pageSize int64) *ProjectsLocationsSampleQuerySetsListCall
- func (c *ProjectsLocationsSampleQuerySetsListCall) PageToken(pageToken string) *ProjectsLocationsSampleQuerySetsListCall
- func (c *ProjectsLocationsSampleQuerySetsListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsSampleQuerySetsOperationsGetCall
- func (c *ProjectsLocationsSampleQuerySetsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsOperationsGetCall
- func (c *ProjectsLocationsSampleQuerySetsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsSampleQuerySetsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsOperationsGetCall
- func (c *ProjectsLocationsSampleQuerySetsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsSampleQuerySetsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSampleQuerySetsOperationsGetCall
- type ProjectsLocationsSampleQuerySetsOperationsService
- type ProjectsLocationsSampleQuerySetsPatchCall
- func (c *ProjectsLocationsSampleQuerySetsPatchCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsPatchCall
- func (c *ProjectsLocationsSampleQuerySetsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSampleQuerySet, error)
- func (c *ProjectsLocationsSampleQuerySetsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsPatchCall
- func (c *ProjectsLocationsSampleQuerySetsPatchCall) Header() http.Header
- func (c *ProjectsLocationsSampleQuerySetsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSampleQuerySetsPatchCall
- type ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSampleQuery, error)
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall) Header() http.Header
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall) SampleQueryId(sampleQueryId string) *ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall
- type ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall) Header() http.Header
- type ProjectsLocationsSampleQuerySetsSampleQueriesGetCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesGetCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsSampleQueriesGetCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSampleQuery, error)
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsSampleQueriesGetCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesGetCall) Header() http.Header
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSampleQuerySetsSampleQueriesGetCall
- type ProjectsLocationsSampleQuerySetsSampleQueriesImportCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesImportCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsSampleQueriesImportCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsSampleQueriesImportCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesImportCall) Header() http.Header
- type ProjectsLocationsSampleQuerySetsSampleQueriesListCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesListCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsSampleQueriesListCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse, error)
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsSampleQueriesListCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesListCall) Header() http.Header
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSampleQuerySetsSampleQueriesListCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesListCall) PageSize(pageSize int64) *ProjectsLocationsSampleQuerySetsSampleQueriesListCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesListCall) PageToken(pageToken string) *ProjectsLocationsSampleQuerySetsSampleQueriesListCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesListCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSampleQuery, error)
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall) Header() http.Header
- func (c *ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall
- type ProjectsLocationsSampleQuerySetsSampleQueriesService
- func (r *ProjectsLocationsSampleQuerySetsSampleQueriesService) Create(parent string, ...) *ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall
- func (r *ProjectsLocationsSampleQuerySetsSampleQueriesService) Delete(name string) *ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall
- func (r *ProjectsLocationsSampleQuerySetsSampleQueriesService) Get(name string) *ProjectsLocationsSampleQuerySetsSampleQueriesGetCall
- func (r *ProjectsLocationsSampleQuerySetsSampleQueriesService) Import(parent string, ...) *ProjectsLocationsSampleQuerySetsSampleQueriesImportCall
- func (r *ProjectsLocationsSampleQuerySetsSampleQueriesService) List(parent string) *ProjectsLocationsSampleQuerySetsSampleQueriesListCall
- func (r *ProjectsLocationsSampleQuerySetsSampleQueriesService) Patch(name string, ...) *ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall
- type ProjectsLocationsSampleQuerySetsService
- func (r *ProjectsLocationsSampleQuerySetsService) Create(parent string, ...) *ProjectsLocationsSampleQuerySetsCreateCall
- func (r *ProjectsLocationsSampleQuerySetsService) Delete(name string) *ProjectsLocationsSampleQuerySetsDeleteCall
- func (r *ProjectsLocationsSampleQuerySetsService) Get(name string) *ProjectsLocationsSampleQuerySetsGetCall
- func (r *ProjectsLocationsSampleQuerySetsService) List(parent string) *ProjectsLocationsSampleQuerySetsListCall
- func (r *ProjectsLocationsSampleQuerySetsService) Patch(name string, ...) *ProjectsLocationsSampleQuerySetsPatchCall
- type ProjectsLocationsService
- type ProjectsLocationsUserEventsCollectCall
- func (c *ProjectsLocationsUserEventsCollectCall) Context(ctx context.Context) *ProjectsLocationsUserEventsCollectCall
- func (c *ProjectsLocationsUserEventsCollectCall) Do(opts ...googleapi.CallOption) (*GoogleApiHttpBody, error)
- func (c *ProjectsLocationsUserEventsCollectCall) Ets(ets int64) *ProjectsLocationsUserEventsCollectCall
- func (c *ProjectsLocationsUserEventsCollectCall) Fields(s ...googleapi.Field) *ProjectsLocationsUserEventsCollectCall
- func (c *ProjectsLocationsUserEventsCollectCall) Header() http.Header
- func (c *ProjectsLocationsUserEventsCollectCall) IfNoneMatch(entityTag string) *ProjectsLocationsUserEventsCollectCall
- func (c *ProjectsLocationsUserEventsCollectCall) Uri(uri string) *ProjectsLocationsUserEventsCollectCall
- func (c *ProjectsLocationsUserEventsCollectCall) UserEvent(userEvent string) *ProjectsLocationsUserEventsCollectCall
- type ProjectsLocationsUserEventsImportCall
- func (c *ProjectsLocationsUserEventsImportCall) Context(ctx context.Context) *ProjectsLocationsUserEventsImportCall
- func (c *ProjectsLocationsUserEventsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsLocationsUserEventsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsUserEventsImportCall
- func (c *ProjectsLocationsUserEventsImportCall) Header() http.Header
- type ProjectsLocationsUserEventsService
- func (r *ProjectsLocationsUserEventsService) Collect(parent string) *ProjectsLocationsUserEventsCollectCall
- func (r *ProjectsLocationsUserEventsService) Import(parent string, ...) *ProjectsLocationsUserEventsImportCall
- func (r *ProjectsLocationsUserEventsService) Write(parent string, ...) *ProjectsLocationsUserEventsWriteCall
- type ProjectsLocationsUserEventsWriteCall
- func (c *ProjectsLocationsUserEventsWriteCall) Context(ctx context.Context) *ProjectsLocationsUserEventsWriteCall
- func (c *ProjectsLocationsUserEventsWriteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaUserEvent, error)
- func (c *ProjectsLocationsUserEventsWriteCall) Fields(s ...googleapi.Field) *ProjectsLocationsUserEventsWriteCall
- func (c *ProjectsLocationsUserEventsWriteCall) Header() http.Header
- func (c *ProjectsLocationsUserEventsWriteCall) WriteAsync(writeAsync bool) *ProjectsLocationsUserEventsWriteCall
- 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 ProjectsProvisionCall
- func (c *ProjectsProvisionCall) Context(ctx context.Context) *ProjectsProvisionCall
- func (c *ProjectsProvisionCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
- func (c *ProjectsProvisionCall) Fields(s ...googleapi.Field) *ProjectsProvisionCall
- func (c *ProjectsProvisionCall) Header() http.Header
- type ProjectsService
- 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" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleApiDistribution ¶ added in v0.204.0
type GoogleApiDistribution struct { // BucketCounts: The number of values in each bucket of the histogram, as // described in `bucket_options`. If the distribution does not have a // histogram, then omit this field. If there is a histogram, then the sum of // the values in `bucket_counts` must equal the value in the `count` field of // the distribution. If present, `bucket_counts` should contain N values, where // N is the number of buckets specified in `bucket_options`. If you supply // fewer than N values, the remaining values are assumed to be 0. The order of // the values in `bucket_counts` follows the bucket numbering schemes described // for the three bucket types. The first value must be the count for the // underflow bucket (number 0). The next N-2 values are the counts for the // finite buckets (number 1 through N-2). The N'th value in `bucket_counts` is // the count for the overflow bucket (number N-1). BucketCounts googleapi.Int64s `json:"bucketCounts,omitempty"` // BucketOptions: Defines the histogram bucket boundaries. If the distribution // does not contain a histogram, then omit this field. BucketOptions *GoogleApiDistributionBucketOptions `json:"bucketOptions,omitempty"` // Count: The number of values in the population. Must be non-negative. This // value must equal the sum of the values in `bucket_counts` if a histogram is // provided. Count int64 `json:"count,omitempty,string"` // Exemplars: Must be in increasing order of `value` field. Exemplars []*GoogleApiDistributionExemplar `json:"exemplars,omitempty"` // Mean: The arithmetic mean of the values in the population. If `count` is // zero then this field must be zero. Mean float64 `json:"mean,omitempty"` // Range: If specified, contains the range of the population values. The field // must not be present if the `count` is zero. Range *GoogleApiDistributionRange `json:"range,omitempty"` // SumOfSquaredDeviation: The sum of squared deviations from the mean of the // values in the population. For values x_i this is: Sumi=1..n ((x_i - mean)^2) // Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition // describes Welford's method for accumulating this sum in one pass. If `count` // is zero then this field must be zero. SumOfSquaredDeviation float64 `json:"sumOfSquaredDeviation,omitempty"` // ForceSendFields is a list of field names (e.g. "BucketCounts") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BucketCounts") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleApiDistribution: `Distribution` contains summary statistics for a population of values. It optionally contains a histogram representing the distribution of those values across a set of buckets. The summary statistics are the count, mean, sum of the squared deviation from the mean, the minimum, and the maximum of the set of population of values. The histogram is based on a sequence of buckets and gives a count of values that fall into each bucket. The boundaries of the buckets are given either explicitly or by formulas for buckets of fixed or exponentially increasing widths. Although it is not forbidden, it is generally a bad idea to include non-finite values (infinities or NaNs) in the population of values, as this will render the `mean` and `sum_of_squared_deviation` fields meaningless.
func (GoogleApiDistribution) MarshalJSON ¶ added in v0.204.0
func (s GoogleApiDistribution) MarshalJSON() ([]byte, error)
func (*GoogleApiDistribution) UnmarshalJSON ¶ added in v0.204.0
func (s *GoogleApiDistribution) UnmarshalJSON(data []byte) error
type GoogleApiDistributionBucketOptions ¶ added in v0.204.0
type GoogleApiDistributionBucketOptions struct { // ExplicitBuckets: The explicit buckets. ExplicitBuckets *GoogleApiDistributionBucketOptionsExplicit `json:"explicitBuckets,omitempty"` // ExponentialBuckets: The exponential buckets. ExponentialBuckets *GoogleApiDistributionBucketOptionsExponential `json:"exponentialBuckets,omitempty"` // LinearBuckets: The linear bucket. LinearBuckets *GoogleApiDistributionBucketOptionsLinear `json:"linearBuckets,omitempty"` // ForceSendFields is a list of field names (e.g. "ExplicitBuckets") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExplicitBuckets") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleApiDistributionBucketOptions: `BucketOptions` describes the bucket boundaries used to create a histogram for the distribution. The buckets can be in a linear sequence, an exponential sequence, or each bucket can be specified explicitly. `BucketOptions` does not include the number of values in each bucket. A bucket has an inclusive lower bound and exclusive upper bound for the values that are counted for that bucket. The upper bound of a bucket must be strictly greater than the lower bound. The sequence of N buckets for a distribution consists of an underflow bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an overflow bucket (number N - 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets span the whole range of finite values: lower bound of the underflow bucket is -infinity and the upper bound of the overflow bucket is +infinity. The finite buckets are so-called because both bounds are finite.
func (GoogleApiDistributionBucketOptions) MarshalJSON ¶ added in v0.204.0
func (s GoogleApiDistributionBucketOptions) MarshalJSON() ([]byte, error)
type GoogleApiDistributionBucketOptionsExplicit ¶ added in v0.204.0
type GoogleApiDistributionBucketOptionsExplicit struct { // Bounds: The values must be monotonically increasing. Bounds []float64 `json:"bounds,omitempty"` // ForceSendFields is a list of field names (e.g. "Bounds") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Bounds") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleApiDistributionBucketOptionsExplicit: Specifies a set of buckets with arbitrary widths. There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following boundaries: Upper bound (0 <= i < N-1): bounds[i] Lower bound (1 <= i < N); bounds[i - 1] The `bounds` field must contain at least one element. If `bounds` has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.
func (GoogleApiDistributionBucketOptionsExplicit) MarshalJSON ¶ added in v0.204.0
func (s GoogleApiDistributionBucketOptionsExplicit) MarshalJSON() ([]byte, error)
func (*GoogleApiDistributionBucketOptionsExplicit) UnmarshalJSON ¶ added in v0.204.0
func (s *GoogleApiDistributionBucketOptionsExplicit) UnmarshalJSON(data []byte) error
type GoogleApiDistributionBucketOptionsExponential ¶ added in v0.204.0
type GoogleApiDistributionBucketOptionsExponential struct { // GrowthFactor: Must be greater than 1. GrowthFactor float64 `json:"growthFactor,omitempty"` // NumFiniteBuckets: Must be greater than 0. NumFiniteBuckets int64 `json:"numFiniteBuckets,omitempty"` // Scale: Must be greater than 0. Scale float64 `json:"scale,omitempty"` // ForceSendFields is a list of field names (e.g. "GrowthFactor") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GrowthFactor") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleApiDistributionBucketOptionsExponential: Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket. There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the following boundaries: Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)).
func (GoogleApiDistributionBucketOptionsExponential) MarshalJSON ¶ added in v0.204.0
func (s GoogleApiDistributionBucketOptionsExponential) MarshalJSON() ([]byte, error)
func (*GoogleApiDistributionBucketOptionsExponential) UnmarshalJSON ¶ added in v0.204.0
func (s *GoogleApiDistributionBucketOptionsExponential) UnmarshalJSON(data []byte) error
type GoogleApiDistributionBucketOptionsLinear ¶ added in v0.204.0
type GoogleApiDistributionBucketOptionsLinear struct { // NumFiniteBuckets: Must be greater than 0. NumFiniteBuckets int64 `json:"numFiniteBuckets,omitempty"` // Offset: Lower bound of the first bucket. Offset float64 `json:"offset,omitempty"` // Width: Must be greater than 0. Width float64 `json:"width,omitempty"` // ForceSendFields is a list of field names (e.g. "NumFiniteBuckets") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NumFiniteBuckets") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleApiDistributionBucketOptionsLinear: Specifies a linear sequence of buckets that all have the same width (except overflow and underflow). Each bucket represents a constant absolute uncertainty on the specific value in the bucket. There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the following boundaries: Upper bound (0 <= i < N-1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1)).
func (GoogleApiDistributionBucketOptionsLinear) MarshalJSON ¶ added in v0.204.0
func (s GoogleApiDistributionBucketOptionsLinear) MarshalJSON() ([]byte, error)
func (*GoogleApiDistributionBucketOptionsLinear) UnmarshalJSON ¶ added in v0.204.0
func (s *GoogleApiDistributionBucketOptionsLinear) UnmarshalJSON(data []byte) error
type GoogleApiDistributionExemplar ¶ added in v0.204.0
type GoogleApiDistributionExemplar struct { // Attachments: Contextual information about the example value. Examples are: // Trace: type.googleapis.com/google.monitoring.v3.SpanContext Literal string: // type.googleapis.com/google.protobuf.StringValue Labels dropped during // aggregation: type.googleapis.com/google.monitoring.v3.DroppedLabels There // may be only a single attachment of any given message type in a single // exemplar, and this is enforced by the system. Attachments []googleapi.RawMessage `json:"attachments,omitempty"` // Timestamp: The observation (sampling) time of the above value. Timestamp string `json:"timestamp,omitempty"` // Value: Value of the exemplar point. This value determines to which bucket // the exemplar belongs. Value float64 `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Attachments") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Attachments") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleApiDistributionExemplar: Exemplars are example points that may be used to annotate aggregated distribution values. They are metadata that gives information about a particular value added to a Distribution bucket, such as a trace ID that was active when a value was added. They may contain further information, such as a example values and timestamps, origin, etc.
func (GoogleApiDistributionExemplar) MarshalJSON ¶ added in v0.204.0
func (s GoogleApiDistributionExemplar) MarshalJSON() ([]byte, error)
func (*GoogleApiDistributionExemplar) UnmarshalJSON ¶ added in v0.204.0
func (s *GoogleApiDistributionExemplar) UnmarshalJSON(data []byte) error
type GoogleApiDistributionRange ¶ added in v0.204.0
type GoogleApiDistributionRange struct { // Max: The maximum of the population values. Max float64 `json:"max,omitempty"` // Min: The minimum of the population values. Min float64 `json:"min,omitempty"` // ForceSendFields is a list of field names (e.g. "Max") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Max") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleApiDistributionRange: The range of the population values.
func (GoogleApiDistributionRange) MarshalJSON ¶ added in v0.204.0
func (s GoogleApiDistributionRange) MarshalJSON() ([]byte, error)
func (*GoogleApiDistributionRange) UnmarshalJSON ¶ added in v0.204.0
func (s *GoogleApiDistributionRange) UnmarshalJSON(data []byte) error
type GoogleApiHttpBody ¶
type GoogleApiHttpBody struct { // ContentType: The HTTP Content-Type header value specifying the content type // of the body. ContentType string `json:"contentType,omitempty"` // Data: The HTTP request/response body as raw binary. Data string `json:"data,omitempty"` // Extensions: Application specific response metadata. Must be set in the first // response for streaming APIs. Extensions []googleapi.RawMessage `json:"extensions,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ContentType") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContentType") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleApiHttpBody: Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.
func (GoogleApiHttpBody) MarshalJSON ¶
func (s GoogleApiHttpBody) MarshalJSON() ([]byte, error)
type GoogleApiMetric ¶ added in v0.204.0
type GoogleApiMetric struct { // Labels: The set of label values that uniquely identify this metric. All // labels listed in the `MetricDescriptor` must be assigned values. Labels map[string]string `json:"labels,omitempty"` // Type: An existing metric type, see google.api.MetricDescriptor. For example, // `custom.googleapis.com/invoice/paid/amount`. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Labels") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Labels") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleApiMetric: A specific metric, identified by specifying values for all of the labels of a `MetricDescriptor`.
func (GoogleApiMetric) MarshalJSON ¶ added in v0.204.0
func (s GoogleApiMetric) MarshalJSON() ([]byte, error)
type GoogleApiMonitoredResource ¶ added in v0.204.0
type GoogleApiMonitoredResource struct { // Labels: Required. Values for all of the labels listed in the associated // monitored resource descriptor. For example, Compute Engine VM instances use // the labels "project_id", "instance_id", and "zone". Labels map[string]string `json:"labels,omitempty"` // Type: Required. The monitored resource type. This field must match the // `type` field of a MonitoredResourceDescriptor object. For example, the type // of a Compute Engine VM instance is `gce_instance`. Some descriptors include // the service name in the type; for example, the type of a Datastream stream // is `datastream.googleapis.com/Stream`. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Labels") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Labels") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleApiMonitoredResource: An object representing a resource that can be used for monitoring, logging, billing, or other purposes. Examples include virtual machine instances, databases, and storage devices such as disks. The `type` field identifies a MonitoredResourceDescriptor object that describes the resource's schema. Information in the `labels` field identifies the actual resource and its attributes according to the schema. For example, a particular Compute Engine VM instance could be represented by the following object, because the MonitoredResourceDescriptor for "gce_instance" has labels "project_id", "instance_id" and "zone": { "type": "gce_instance", "labels": { "project_id": "my-project", "instance_id": "12345678901234", "zone": "us-central1-a" }}
func (GoogleApiMonitoredResource) MarshalJSON ¶ added in v0.204.0
func (s GoogleApiMonitoredResource) MarshalJSON() ([]byte, error)
type GoogleApiMonitoredResourceMetadata ¶ added in v0.204.0
type GoogleApiMonitoredResourceMetadata struct { // SystemLabels: Output only. Values for predefined system metadata labels. // System labels are a kind of metadata extracted by Google, including // "machine_image", "vpc", "subnet_id", "security_group", "name", etc. System // label values can be only strings, Boolean values, or a list of strings. For // example: { "name": "my-test-instance", "security_group": ["a", "b", "c"], // "spot_instance": false } SystemLabels googleapi.RawMessage `json:"systemLabels,omitempty"` // UserLabels: Output only. A map of user-defined metadata labels. UserLabels map[string]string `json:"userLabels,omitempty"` // ForceSendFields is a list of field names (e.g. "SystemLabels") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SystemLabels") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleApiMonitoredResourceMetadata: Auxiliary metadata for a MonitoredResource object. MonitoredResource objects contain the minimum set of information to uniquely identify a monitored resource instance. There is some other useful auxiliary metadata. Monitoring and Logging use an ingestion pipeline to extract metadata for cloud resources of all types, and store the metadata in this message.
func (GoogleApiMonitoredResourceMetadata) MarshalJSON ¶ added in v0.204.0
func (s GoogleApiMonitoredResourceMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineLoggingErrorContext ¶ added in v0.107.0
type GoogleCloudDiscoveryengineLoggingErrorContext struct { // HttpRequest: The HTTP request which was processed when the error was // triggered. HttpRequest *GoogleCloudDiscoveryengineLoggingHttpRequestContext `json:"httpRequest,omitempty"` // ReportLocation: The location in the source code where the decision was made // to report the error, usually the place where it was logged. ReportLocation *GoogleCloudDiscoveryengineLoggingSourceLocation `json:"reportLocation,omitempty"` // ForceSendFields is a list of field names (e.g. "HttpRequest") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "HttpRequest") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineLoggingErrorContext: A description of the context in which an error occurred.
func (GoogleCloudDiscoveryengineLoggingErrorContext) MarshalJSON ¶ added in v0.107.0
func (s GoogleCloudDiscoveryengineLoggingErrorContext) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineLoggingErrorLog ¶ added in v0.107.0
type GoogleCloudDiscoveryengineLoggingErrorLog struct { // Context: A description of the context in which the error occurred. Context *GoogleCloudDiscoveryengineLoggingErrorContext `json:"context,omitempty"` // ImportPayload: The error payload that is populated on LRO import APIs. ImportPayload *GoogleCloudDiscoveryengineLoggingImportErrorContext `json:"importPayload,omitempty"` // Message: A message describing the error. Message string `json:"message,omitempty"` // RequestPayload: The API request payload, represented as a protocol buffer. // Most API request types are supported—for example: * // `type.googleapis.com/google.cloud.discoveryengine.v1alpha.DocumentService.Cre // ateDocumentRequest` * // `type.googleapis.com/google.cloud.discoveryengine.v1alpha.UserEventService.Wr // iteUserEventRequest` RequestPayload googleapi.RawMessage `json:"requestPayload,omitempty"` // ResponsePayload: The API response payload, represented as a protocol buffer. // This is used to log some "soft errors", where the response is valid but we // consider there are some quality issues like unjoined events. The following // API responses are supported, and no PII is included: * // `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend` * // `google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent` * // `google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent` ResponsePayload googleapi.RawMessage `json:"responsePayload,omitempty"` // ServiceContext: The service context in which this error has occurred. ServiceContext *GoogleCloudDiscoveryengineLoggingServiceContext `json:"serviceContext,omitempty"` // Status: The RPC status associated with the error log. Status *GoogleRpcStatus `json:"status,omitempty"` // ForceSendFields is a list of field names (e.g. "Context") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Context") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineLoggingErrorLog: An error log which is reported to the Error Reporting system.
func (GoogleCloudDiscoveryengineLoggingErrorLog) MarshalJSON ¶ added in v0.107.0
func (s GoogleCloudDiscoveryengineLoggingErrorLog) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineLoggingHttpRequestContext ¶ added in v0.107.0
type GoogleCloudDiscoveryengineLoggingHttpRequestContext struct { // ResponseStatusCode: The HTTP response status code for the request. ResponseStatusCode int64 `json:"responseStatusCode,omitempty"` // ForceSendFields is a list of field names (e.g. "ResponseStatusCode") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ResponseStatusCode") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineLoggingHttpRequestContext: HTTP request data that is related to a reported error.
func (GoogleCloudDiscoveryengineLoggingHttpRequestContext) MarshalJSON ¶ added in v0.107.0
func (s GoogleCloudDiscoveryengineLoggingHttpRequestContext) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineLoggingImportErrorContext ¶ added in v0.107.0
type GoogleCloudDiscoveryengineLoggingImportErrorContext struct { // Document: The detailed content which caused the error on importing a // document. Document string `json:"document,omitempty"` // GcsPath: Google Cloud Storage file path of the import source. Can be set for // batch operation error. GcsPath string `json:"gcsPath,omitempty"` // LineNumber: Line number of the content in file. Should be empty for // permission or batch operation error. LineNumber string `json:"lineNumber,omitempty"` // Operation: The operation resource name of the LRO. Operation string `json:"operation,omitempty"` // UserEvent: The detailed content which caused the error on importing a user // event. UserEvent string `json:"userEvent,omitempty"` // ForceSendFields is a list of field names (e.g. "Document") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Document") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineLoggingImportErrorContext: The error payload that is populated on LRO import APIs, including the following: * `google.cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments` * `google.cloud.discoveryengine.v1alpha.UserEventService.ImportUserEvents`
func (GoogleCloudDiscoveryengineLoggingImportErrorContext) MarshalJSON ¶ added in v0.107.0
func (s GoogleCloudDiscoveryengineLoggingImportErrorContext) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineLoggingServiceContext ¶ added in v0.107.0
type GoogleCloudDiscoveryengineLoggingServiceContext struct { // Service: An identifier of the service—for example, // `discoveryengine.googleapis.com`. Service string `json:"service,omitempty"` // ForceSendFields is a list of field names (e.g. "Service") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Service") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineLoggingServiceContext: Describes a running service that sends errors.
func (GoogleCloudDiscoveryengineLoggingServiceContext) MarshalJSON ¶ added in v0.107.0
func (s GoogleCloudDiscoveryengineLoggingServiceContext) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineLoggingSourceLocation ¶ added in v0.107.0
type GoogleCloudDiscoveryengineLoggingSourceLocation struct { // FunctionName: Human-readable name of a function or method—for example, // `google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend`. FunctionName string `json:"functionName,omitempty"` // ForceSendFields is a list of field names (e.g. "FunctionName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FunctionName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineLoggingSourceLocation: Indicates a location in the source code of the service for which errors are reported.
func (GoogleCloudDiscoveryengineLoggingSourceLocation) MarshalJSON ¶ added in v0.107.0
func (s GoogleCloudDiscoveryengineLoggingSourceLocation) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig ¶ added in v0.203.0
type GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig struct { }
GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig: Configuration data for advance site search.
type GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata: Metadata related to the progress of the SiteSearchEngineService.BatchCreateTargetSites operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse struct { // TargetSites: TargetSites created. TargetSites []*GoogleCloudDiscoveryengineV1TargetSite `json:"targetSites,omitempty"` // ForceSendFields is a list of field names (e.g. "TargetSites") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TargetSites") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse: Response message for SiteSearchEngineService.BatchCreateTargetSites method.
func (GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1CmekConfig ¶ added in v0.202.0
type GoogleCloudDiscoveryengineV1CmekConfig struct { // IsDefault: Output only. The default CmekConfig for the Customer. IsDefault bool `json:"isDefault,omitempty"` // KmsKey: Kms key resource name which will be used to encrypt resources // `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId // }`. KmsKey string `json:"kmsKey,omitempty"` // KmsKeyVersion: Kms key version resource name which will be used to encrypt // resources `/cryptoKeyVersions/{keyVersion}`. KmsKeyVersion string `json:"kmsKeyVersion,omitempty"` // LastRotationTimestampMicros: Output only. The timestamp of the last key // rotation. LastRotationTimestampMicros int64 `json:"lastRotationTimestampMicros,omitempty,string"` // Name: Required. Name of the CmekConfig, of the form // `projects/{project}/locations/{location}/cmekConfig` or // `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. Name string `json:"name,omitempty"` // State: Output only. State of the CmekConfig. // // Possible values: // "STATE_UNSPECIFIED" - The CmekConfig state is unknown. // "CREATING" - The CmekConfig is creating. // "ACTIVE" - The CmekConfig can be used with DataStores. // "KEY_ISSUE" - The CmekConfig is unavailable, most likely due to the KMS // Key being revoked. // "DELETING" - The CmekConfig is deleting. // "UNUSABLE" - The CmekConfig is not usable, most likely due to some // internal issue. // "ACTIVE_ROTATING" - The KMS key version is being rotated. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "IsDefault") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IsDefault") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1CmekConfig: Configurations used to enable CMEK data encryption with Cloud KMS keys.
func (GoogleCloudDiscoveryengineV1CmekConfig) MarshalJSON ¶ added in v0.202.0
func (s GoogleCloudDiscoveryengineV1CmekConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1Condition ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1Condition struct { // ActiveTimeRange: Range of time(s) specifying when condition is active. // Maximum of 10 time ranges. ActiveTimeRange []*GoogleCloudDiscoveryengineV1ConditionTimeRange `json:"activeTimeRange,omitempty"` // QueryRegex: Optional. Query regex to match the whole search query. Cannot be // set when Condition.query_terms is set. This is currently supporting // promotion use case. QueryRegex string `json:"queryRegex,omitempty"` // QueryTerms: Search only A list of terms to match the query on. Cannot be set // when Condition.query_regex is set. Maximum of 10 query terms. QueryTerms []*GoogleCloudDiscoveryengineV1ConditionQueryTerm `json:"queryTerms,omitempty"` // ForceSendFields is a list of field names (e.g. "ActiveTimeRange") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ActiveTimeRange") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1Condition: Defines circumstances to be checked before allowing a behavior
func (GoogleCloudDiscoveryengineV1Condition) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1Condition) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1ConditionQueryTerm ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1ConditionQueryTerm struct { // FullMatch: Whether the search query needs to exactly match the query term. FullMatch bool `json:"fullMatch,omitempty"` // Value: The specific query value to match against Must be lowercase, must be // UTF-8. Can have at most 3 space separated terms if full_match is true. // Cannot be an empty string. Maximum length of 5000 characters. Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "FullMatch") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FullMatch") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1ConditionQueryTerm: Matcher for search request query
func (GoogleCloudDiscoveryengineV1ConditionQueryTerm) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1ConditionQueryTerm) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1ConditionTimeRange ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1ConditionTimeRange struct { // EndTime: End of time range. Range is inclusive. Must be in the future. EndTime string `json:"endTime,omitempty"` // StartTime: Start of time range. Range is inclusive. StartTime string `json:"startTime,omitempty"` // ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1ConditionTimeRange: Used for time-dependent conditions.
func (GoogleCloudDiscoveryengineV1ConditionTimeRange) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1ConditionTimeRange) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1Control ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1Control struct { // AssociatedServingConfigIds: Output only. List of all ServingConfig IDs this // control is attached to. May take up to 10 minutes to update after changes. AssociatedServingConfigIds []string `json:"associatedServingConfigIds,omitempty"` // BoostAction: Defines a boost-type control BoostAction *GoogleCloudDiscoveryengineV1ControlBoostAction `json:"boostAction,omitempty"` // Conditions: Determines when the associated action will trigger. Omit to // always apply the action. Currently only a single condition may be specified. // Otherwise an INVALID ARGUMENT error is thrown. Conditions []*GoogleCloudDiscoveryengineV1Condition `json:"conditions,omitempty"` // DisplayName: Required. Human readable name. The identifier used in UI views. // Must be UTF-8 encoded string. Length limit is 128 characters. Otherwise an // INVALID ARGUMENT error is thrown. DisplayName string `json:"displayName,omitempty"` // FilterAction: Defines a filter-type control Currently not supported by // Recommendation FilterAction *GoogleCloudDiscoveryengineV1ControlFilterAction `json:"filterAction,omitempty"` // Name: Immutable. Fully qualified name // `projects/*/locations/global/dataStore/*/controls/*` Name string `json:"name,omitempty"` // PromoteAction: Promote certain links based on predefined trigger queries. // This now only supports basic site search. PromoteAction *GoogleCloudDiscoveryengineV1ControlPromoteAction `json:"promoteAction,omitempty"` // RedirectAction: Defines a redirect-type control. RedirectAction *GoogleCloudDiscoveryengineV1ControlRedirectAction `json:"redirectAction,omitempty"` // SolutionType: Required. Immutable. What solution the control belongs to. // Must be compatible with vertical of resource. Otherwise an INVALID ARGUMENT // error is thrown. // // Possible values: // "SOLUTION_TYPE_UNSPECIFIED" - Default value. // "SOLUTION_TYPE_RECOMMENDATION" - Used for Recommendations AI. // "SOLUTION_TYPE_SEARCH" - Used for Discovery Search. // "SOLUTION_TYPE_CHAT" - Used for use cases related to the Generative AI // agent. // "SOLUTION_TYPE_GENERATIVE_CHAT" - Used for use cases related to the // Generative Chat agent. It's used for Generative chat engine only, the // associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution. SolutionType string `json:"solutionType,omitempty"` // SynonymsAction: Treats a group of terms as synonyms of one another. SynonymsAction *GoogleCloudDiscoveryengineV1ControlSynonymsAction `json:"synonymsAction,omitempty"` // UseCases: Specifies the use case for the control. Affects what condition // fields can be set. Only applies to SOLUTION_TYPE_SEARCH. Currently only // allow one use case per control. Must be set when solution_type is // SolutionType.SOLUTION_TYPE_SEARCH. // // Possible values: // "SEARCH_USE_CASE_UNSPECIFIED" - Value used when unset. Will not occur in // CSS. // "SEARCH_USE_CASE_SEARCH" - Search use case. Expects the traffic has a // non-empty query. // "SEARCH_USE_CASE_BROWSE" - Browse use case. Expects the traffic has an // empty query. UseCases []string `json:"useCases,omitempty"` // ForceSendFields is a list of field names (e.g. "AssociatedServingConfigIds") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AssociatedServingConfigIds") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1Control: Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`.
func (GoogleCloudDiscoveryengineV1Control) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1Control) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1ControlBoostAction ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1ControlBoostAction struct { // Boost: Required. Strength of the boost, which should be in [-1, 1]. Negative // boost means demotion. Default is 0.0 (No-op). Boost float64 `json:"boost,omitempty"` // DataStore: Required. Specifies which data store's documents can be boosted // by this control. Full data store name e.g. // projects/123/locations/global/collections/default_collection/dataStores/defau // lt_data_store DataStore string `json:"dataStore,omitempty"` // Filter: Required. Specifies which products to apply the boost to. If no // filter is provided all products will be boosted (No-op). Syntax // documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum // length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown. Filter string `json:"filter,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1ControlBoostAction: Adjusts order of products in returned list.
func (GoogleCloudDiscoveryengineV1ControlBoostAction) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1ControlBoostAction) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1ControlBoostAction) UnmarshalJSON ¶ added in v0.183.0
func (s *GoogleCloudDiscoveryengineV1ControlBoostAction) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1ControlFilterAction ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1ControlFilterAction struct { // DataStore: Required. Specifies which data store's documents can be filtered // by this control. Full data store name e.g. // projects/123/locations/global/collections/default_collection/dataStores/defau // lt_data_store DataStore string `json:"dataStore,omitempty"` // Filter: Required. A filter to apply on the matching condition results. // Required Syntax documentation: // https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 // characters. Otherwise an INVALID ARGUMENT error is thrown. Filter string `json:"filter,omitempty"` // ForceSendFields is a list of field names (e.g. "DataStore") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataStore") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1ControlFilterAction: Specified which products may be included in results. Uses same filter as boost.
func (GoogleCloudDiscoveryengineV1ControlFilterAction) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1ControlFilterAction) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1ControlPromoteAction ¶ added in v0.210.0
type GoogleCloudDiscoveryengineV1ControlPromoteAction struct { // DataStore: Required. Data store with which this promotion is attached to. DataStore string `json:"dataStore,omitempty"` // SearchLinkPromotion: Required. Promotion attached to this action. SearchLinkPromotion *GoogleCloudDiscoveryengineV1SearchLinkPromotion `json:"searchLinkPromotion,omitempty"` // ForceSendFields is a list of field names (e.g. "DataStore") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataStore") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1ControlPromoteAction: Promote certain links based on some trigger queries. Example: Promote shoe store link when searching for `shoe` keyword. The link can be outside of associated data store.
func (GoogleCloudDiscoveryengineV1ControlPromoteAction) MarshalJSON ¶ added in v0.210.0
func (s GoogleCloudDiscoveryengineV1ControlPromoteAction) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1ControlRedirectAction ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1ControlRedirectAction struct { // RedirectUri: Required. The URI to which the shopper will be redirected. // Required. URI must have length equal or less than 2000 characters. Otherwise // an INVALID ARGUMENT error is thrown. RedirectUri string `json:"redirectUri,omitempty"` // ForceSendFields is a list of field names (e.g. "RedirectUri") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RedirectUri") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1ControlRedirectAction: Redirects a shopper to the provided URI.
func (GoogleCloudDiscoveryengineV1ControlRedirectAction) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1ControlRedirectAction) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1ControlSynonymsAction ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1ControlSynonymsAction struct { // Synonyms: Defines a set of synonyms. Can specify up to 100 synonyms. Must // specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown. Synonyms []string `json:"synonyms,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1ControlSynonymsAction: Creates a set of terms that will act as synonyms of one another. Example: "happy" will also be considered as "glad", "glad" will also be considered as "happy".
func (GoogleCloudDiscoveryengineV1ControlSynonymsAction) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1ControlSynonymsAction) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1CreateDataStoreMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1CreateDataStoreMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1CreateDataStoreMetadata: Metadata related to the progress of the DataStoreService.CreateDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1CreateDataStoreMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1CreateDataStoreMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1CreateEngineMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1CreateEngineMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1CreateEngineMetadata: Metadata related to the progress of the EngineService.CreateEngine operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1CreateEngineMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1CreateEngineMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1CreateSchemaMetadata ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1CreateSchemaMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1CreateSchemaMetadata: Metadata for Create Schema LRO.
func (GoogleCloudDiscoveryengineV1CreateSchemaMetadata) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1CreateSchemaMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata: Metadata related to the progress of the SiteSearchEngineService.CreateTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1CreateTargetSiteMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1DataStore ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1DataStore struct { // AdvancedSiteSearchConfig: Optional. Configuration for advanced site search. AdvancedSiteSearchConfig *GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig `json:"advancedSiteSearchConfig,omitempty"` // BillingEstimation: Output only. Data size estimation for billing. BillingEstimation *GoogleCloudDiscoveryengineV1DataStoreBillingEstimation `json:"billingEstimation,omitempty"` // CmekConfig: Output only. CMEK-related information for the DataStore. CmekConfig *GoogleCloudDiscoveryengineV1CmekConfig `json:"cmekConfig,omitempty"` // ContentConfig: Immutable. The content config of the data store. If this // field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. // // Possible values: // "CONTENT_CONFIG_UNSPECIFIED" - Default value. // "NO_CONTENT" - Only contains documents without any Document.content. // "CONTENT_REQUIRED" - Only contains documents with Document.content. // "PUBLIC_WEBSITE" - The data store is used for public website search. // "GOOGLE_WORKSPACE" - The data store is used for workspace search. Details // of workspace data store are specified in the WorkspaceConfig. ContentConfig string `json:"contentConfig,omitempty"` // CreateTime: Output only. Timestamp the DataStore was created at. CreateTime string `json:"createTime,omitempty"` // DefaultSchemaId: Output only. The id of the default Schema asscociated to // this data store. DefaultSchemaId string `json:"defaultSchemaId,omitempty"` // DisplayName: Required. The data store display name. This field must be a // UTF-8 encoded string with a length limit of 128 characters. Otherwise, an // INVALID_ARGUMENT error is returned. DisplayName string `json:"displayName,omitempty"` // DocumentProcessingConfig: Configuration for Document understanding and // enrichment. DocumentProcessingConfig *GoogleCloudDiscoveryengineV1DocumentProcessingConfig `json:"documentProcessingConfig,omitempty"` // IndustryVertical: Immutable. The industry vertical that the data store // registers. // // Possible values: // "INDUSTRY_VERTICAL_UNSPECIFIED" - Value used when unset. // "GENERIC" - The generic vertical for documents that are not specific to // any industry vertical. // "MEDIA" - The media industry vertical. // "HEALTHCARE_FHIR" - The healthcare FHIR vertical. IndustryVertical string `json:"industryVertical,omitempty"` // KmsKeyName: Input only. The KMS key to be used to protect this DataStore at // creation time. Must be set for requests that need to comply with CMEK Org // Policy protections. If this field is set and processed successfully, the // DataStore will be protected by the KMS key, as indicated in the cmek_config // field. KmsKeyName string `json:"kmsKeyName,omitempty"` // Name: Immutable. The full resource name of the data store. Format: // `projects/{project}/locations/{location}/collections/{collection_id}/dataStor // es/{data_store_id}`. This field must be a UTF-8 encoded string with a length // limit of 1024 characters. Name string `json:"name,omitempty"` // ServingConfigDataStore: Optional. Stores serving config at DataStore level. ServingConfigDataStore *GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore `json:"servingConfigDataStore,omitempty"` // SolutionTypes: The solutions that the data store enrolls. Available // solutions for each industry_vertical: * `MEDIA`: // `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: // `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be // enrolled. // // Possible values: // "SOLUTION_TYPE_UNSPECIFIED" - Default value. // "SOLUTION_TYPE_RECOMMENDATION" - Used for Recommendations AI. // "SOLUTION_TYPE_SEARCH" - Used for Discovery Search. // "SOLUTION_TYPE_CHAT" - Used for use cases related to the Generative AI // agent. // "SOLUTION_TYPE_GENERATIVE_CHAT" - Used for use cases related to the // Generative Chat agent. It's used for Generative chat engine only, the // associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution. SolutionTypes []string `json:"solutionTypes,omitempty"` // StartingSchema: The start schema to use for this DataStore when provisioning // it. If unset, a default vertical specialized schema will be used. This field // is only used by CreateDataStore API, and will be ignored if used in other // APIs. This field will be omitted from all API responses including // CreateDataStore API. To retrieve a schema of a DataStore, use // SchemaService.GetSchema API instead. The provided schema will be validated // against certain rules on schema. Learn more from this doc // (https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). StartingSchema *GoogleCloudDiscoveryengineV1Schema `json:"startingSchema,omitempty"` // WorkspaceConfig: Config to store data store type configuration for workspace // data. This must be set when DataStore.content_config is set as // DataStore.ContentConfig.GOOGLE_WORKSPACE. WorkspaceConfig *GoogleCloudDiscoveryengineV1WorkspaceConfig `json:"workspaceConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "AdvancedSiteSearchConfig") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdvancedSiteSearchConfig") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1DataStore: DataStore captures global settings and configs at the DataStore level.
func (GoogleCloudDiscoveryengineV1DataStore) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1DataStore) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1DataStoreBillingEstimation ¶ added in v0.200.0
type GoogleCloudDiscoveryengineV1DataStoreBillingEstimation struct { // StructuredDataSize: Data size for structured data in terms of bytes. StructuredDataSize int64 `json:"structuredDataSize,omitempty,string"` // StructuredDataUpdateTime: Last updated timestamp for structured data. StructuredDataUpdateTime string `json:"structuredDataUpdateTime,omitempty"` // UnstructuredDataSize: Data size for unstructured data in terms of bytes. UnstructuredDataSize int64 `json:"unstructuredDataSize,omitempty,string"` // UnstructuredDataUpdateTime: Last updated timestamp for unstructured data. UnstructuredDataUpdateTime string `json:"unstructuredDataUpdateTime,omitempty"` // WebsiteDataSize: Data size for websites in terms of bytes. WebsiteDataSize int64 `json:"websiteDataSize,omitempty,string"` // WebsiteDataUpdateTime: Last updated timestamp for websites. WebsiteDataUpdateTime string `json:"websiteDataUpdateTime,omitempty"` // ForceSendFields is a list of field names (e.g. "StructuredDataSize") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "StructuredDataSize") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1DataStoreBillingEstimation: Estimation of data size per data store.
func (GoogleCloudDiscoveryengineV1DataStoreBillingEstimation) MarshalJSON ¶ added in v0.200.0
func (s GoogleCloudDiscoveryengineV1DataStoreBillingEstimation) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore ¶ added in v0.203.0
type GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore struct { // DisabledForServing: If set true, the DataStore will not be available for // serving search requests. DisabledForServing bool `json:"disabledForServing,omitempty"` // ForceSendFields is a list of field names (e.g. "DisabledForServing") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisabledForServing") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore: Stores information regarding the serving configurations at DataStore level.
func (GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore) MarshalJSON ¶ added in v0.203.0
func (s GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata: Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1DeleteDataStoreMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1DeleteEngineMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1DeleteEngineMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1DeleteEngineMetadata: Metadata related to the progress of the EngineService.DeleteEngine operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1DeleteEngineMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1DeleteEngineMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1DeleteSchemaMetadata ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1DeleteSchemaMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1DeleteSchemaMetadata: Metadata for DeleteSchema LRO.
func (GoogleCloudDiscoveryengineV1DeleteSchemaMetadata) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1DeleteSchemaMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1DeleteTargetSiteMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1DeleteTargetSiteMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1DeleteTargetSiteMetadata: Metadata related to the progress of the SiteSearchEngineService.DeleteTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1DeleteTargetSiteMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1DeleteTargetSiteMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata: Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse struct { }
GoogleCloudDiscoveryengineV1DisableAdvancedSiteSearchResponse: Response message for SiteSearchEngineService.DisableAdvancedSiteSearch method.
type GoogleCloudDiscoveryengineV1DocumentProcessingConfig ¶ added in v0.168.0
type GoogleCloudDiscoveryengineV1DocumentProcessingConfig struct { // ChunkingConfig: Whether chunking mode is enabled. ChunkingConfig *GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig `json:"chunkingConfig,omitempty"` // DefaultParsingConfig: Configurations for default Document parser. If not // specified, we will configure it as default DigitalParsingConfig, and the // default parsing config will be applied to all file types for Document // parsing. DefaultParsingConfig *GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig `json:"defaultParsingConfig,omitempty"` // Name: The full resource name of the Document Processing Config. Format: // `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`. Name string `json:"name,omitempty"` // ParsingConfigOverrides: Map from file type to override the default parsing // configuration based on the file type. Supported keys: * `pdf`: Override // parsing config for PDF files, either digital parsing, ocr parsing or layout // parsing is supported. * `html`: Override parsing config for HTML files, only // digital parsing and layout parsing are supported. * `docx`: Override parsing // config for DOCX files, only digital parsing and layout parsing are // supported. * `pptx`: Override parsing config for PPTX files, only digital // parsing and layout parsing are supported. * `xlsm`: Override parsing config // for XLSM files, only digital parsing and layout parsing are supported. * // `xlsx`: Override parsing config for XLSX files, only digital parsing and // layout parsing are supported. ParsingConfigOverrides map[string]GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig `json:"parsingConfigOverrides,omitempty"` // ForceSendFields is a list of field names (e.g. "ChunkingConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChunkingConfig") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1DocumentProcessingConfig: A singleton resource of DataStore. If it's empty when DataStore is created and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the default parser will default to digital parser.
func (GoogleCloudDiscoveryengineV1DocumentProcessingConfig) MarshalJSON ¶ added in v0.168.0
func (s GoogleCloudDiscoveryengineV1DocumentProcessingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig ¶ added in v0.184.0
type GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig struct { // LayoutBasedChunkingConfig: Configuration for the layout based chunking. LayoutBasedChunkingConfig *GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig `json:"layoutBasedChunkingConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "LayoutBasedChunkingConfig") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LayoutBasedChunkingConfig") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig: Configuration for chunking config.
func (GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig) MarshalJSON ¶ added in v0.184.0
func (s GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig ¶ added in v0.184.0
type GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig struct { // ChunkSize: The token size limit for each chunk. Supported values: 100-500 // (inclusive). Default value: 500. ChunkSize int64 `json:"chunkSize,omitempty"` // IncludeAncestorHeadings: Whether to include appending different levels of // headings to chunks from the middle of the document to prevent context loss. // Default value: False. IncludeAncestorHeadings bool `json:"includeAncestorHeadings,omitempty"` // ForceSendFields is a list of field names (e.g. "ChunkSize") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChunkSize") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBased ChunkingConfig: Configuration for the layout based chunking.
func (GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig) MarshalJSON ¶ added in v0.184.0
func (s GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig ¶ added in v0.168.0
type GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig struct { // DigitalParsingConfig: Configurations applied to digital parser. DigitalParsingConfig *GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig `json:"digitalParsingConfig,omitempty"` // LayoutParsingConfig: Configurations applied to layout parser. LayoutParsingConfig *GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig `json:"layoutParsingConfig,omitempty"` // OcrParsingConfig: Configurations applied to OCR parser. Currently it only // applies to PDFs. OcrParsingConfig *GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig `json:"ocrParsingConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "DigitalParsingConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DigitalParsingConfig") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig: Related configurations applied to a specific type of document parser.
func (GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig) MarshalJSON ¶ added in v0.168.0
func (s GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig ¶ added in v0.170.0
type GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsingConfig struct { }
GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigDigitalParsi ngConfig: The digital parsing configurations for documents.
type GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig ¶ added in v0.184.0
type GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig struct { }
GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsin gConfig: The layout parsing configurations for documents.
type GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig ¶ added in v0.170.0
type GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig struct { // EnhancedDocumentElements: [DEPRECATED] This field is deprecated. To use the // additional enhanced document elements processing, please switch to // `layout_parsing_config`. EnhancedDocumentElements []string `json:"enhancedDocumentElements,omitempty"` // UseNativeText: If true, will use native text instead of OCR text on pages // containing native text. UseNativeText bool `json:"useNativeText,omitempty"` // ForceSendFields is a list of field names (e.g. "EnhancedDocumentElements") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnhancedDocumentElements") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingCo nfig: The OCR parsing configurations for documents.
func (GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig) MarshalJSON ¶ added in v0.170.0
func (s GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigOcrParsingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata: Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchResponse ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchResponse struct { }
GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchResponse: Response message for SiteSearchEngineService.EnableAdvancedSiteSearch method.
type GoogleCloudDiscoveryengineV1Engine ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1Engine struct { // ChatEngineConfig: Configurations for the Chat Engine. Only applicable if // solution_type is SOLUTION_TYPE_CHAT. ChatEngineConfig *GoogleCloudDiscoveryengineV1EngineChatEngineConfig `json:"chatEngineConfig,omitempty"` // ChatEngineMetadata: Output only. Additional information of the Chat Engine. // Only applicable if solution_type is SOLUTION_TYPE_CHAT. ChatEngineMetadata *GoogleCloudDiscoveryengineV1EngineChatEngineMetadata `json:"chatEngineMetadata,omitempty"` // CommonConfig: Common config spec that specifies the metadata of the engine. CommonConfig *GoogleCloudDiscoveryengineV1EngineCommonConfig `json:"commonConfig,omitempty"` // CreateTime: Output only. Timestamp the Recommendation Engine was created at. CreateTime string `json:"createTime,omitempty"` // DataStoreIds: The data stores associated with this engine. For // SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they // can only associate with at most one data store. If solution_type is // SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be // associated here. Note that when used in CreateEngineRequest, one DataStore // id must be provided as the system will use it for necessary initializations. DataStoreIds []string `json:"dataStoreIds,omitempty"` // DisableAnalytics: Optional. Whether to disable analytics for searches // performed on this engine. DisableAnalytics bool `json:"disableAnalytics,omitempty"` // DisplayName: Required. The display name of the engine. Should be human // readable. UTF-8 encoded string with limit of 1024 characters. DisplayName string `json:"displayName,omitempty"` // IndustryVertical: The industry vertical that the engine registers. The // restriction of the Engine industry vertical is based on DataStore: Vertical // on Engine has to match vertical of the DataStore linked to the engine. // // Possible values: // "INDUSTRY_VERTICAL_UNSPECIFIED" - Value used when unset. // "GENERIC" - The generic vertical for documents that are not specific to // any industry vertical. // "MEDIA" - The media industry vertical. // "HEALTHCARE_FHIR" - The healthcare FHIR vertical. IndustryVertical string `json:"industryVertical,omitempty"` // Name: Immutable. The fully qualified resource name of the engine. This field // must be a UTF-8 encoded string with a length limit of 1024 characters. // Format: // `projects/{project}/locations/{location}/collections/{collection}/engines/{en // gine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. // Otherwise, an INVALID_ARGUMENT error is returned. Name string `json:"name,omitempty"` // SearchEngineConfig: Configurations for the Search Engine. Only applicable if // solution_type is SOLUTION_TYPE_SEARCH. SearchEngineConfig *GoogleCloudDiscoveryengineV1EngineSearchEngineConfig `json:"searchEngineConfig,omitempty"` // SolutionType: Required. The solutions of the engine. // // Possible values: // "SOLUTION_TYPE_UNSPECIFIED" - Default value. // "SOLUTION_TYPE_RECOMMENDATION" - Used for Recommendations AI. // "SOLUTION_TYPE_SEARCH" - Used for Discovery Search. // "SOLUTION_TYPE_CHAT" - Used for use cases related to the Generative AI // agent. // "SOLUTION_TYPE_GENERATIVE_CHAT" - Used for use cases related to the // Generative Chat agent. It's used for Generative chat engine only, the // associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution. SolutionType string `json:"solutionType,omitempty"` // UpdateTime: Output only. Timestamp the Recommendation Engine was last // updated. UpdateTime string `json:"updateTime,omitempty"` // ForceSendFields is a list of field names (e.g. "ChatEngineConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChatEngineConfig") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1Engine: Metadata that describes the training and serving parameters of an Engine.
func (GoogleCloudDiscoveryengineV1Engine) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1Engine) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1EngineChatEngineConfig ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1EngineChatEngineConfig struct { // AgentCreationConfig: The configurationt generate the Dialogflow agent that // is associated to this Engine. Note that these configurations are one-time // consumed by and passed to Dialogflow service. It means they cannot be // retrieved using EngineService.GetEngine or EngineService.ListEngines API // after engine creation. AgentCreationConfig *GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig `json:"agentCreationConfig,omitempty"` // DialogflowAgentToLink: The resource name of an exist Dialogflow agent to // link to this Chat Engine. Customers can either provide // `agent_creation_config` to create agent or provide an agent name that links // the agent with the Chat engine. Format: `projects//locations//agents/`. Note // that the `dialogflow_agent_to_link` are one-time consumed by and passed to // Dialogflow service. It means they cannot be retrieved using // EngineService.GetEngine or EngineService.ListEngines API after engine // creation. Use ChatEngineMetadata.dialogflow_agent for actual agent // association after Engine is created. DialogflowAgentToLink string `json:"dialogflowAgentToLink,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentCreationConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AgentCreationConfig") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1EngineChatEngineConfig: Configurations for a Chat Engine.
func (GoogleCloudDiscoveryengineV1EngineChatEngineConfig) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1EngineChatEngineConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig struct { // Business: Name of the company, organization or other entity that the agent // represents. Used for knowledge connector LLM prompt and for knowledge // search. Business string `json:"business,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. DefaultLanguageCode string `json:"defaultLanguageCode,omitempty"` // Location: Agent location for Agent creation, supported values: global/us/eu. // If not provided, us Engine will create Agent using us-central-1 by default; // eu Engine will create Agent using eu-west-1 by default. Location string `json:"location,omitempty"` // TimeZone: Required. The time zone of the agent from the time zone database // (https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. TimeZone string `json:"timeZone,omitempty"` // ForceSendFields is a list of field names (e.g. "Business") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Business") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig: Configurations for generating a Dialogflow agent. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.
func (GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1EngineChatEngineConfigAgentCreationConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1EngineChatEngineMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1EngineChatEngineMetadata struct { // DialogflowAgent: The resource name of a Dialogflow agent, that this Chat // Engine refers to. Format: `projects//locations//agents/`. DialogflowAgent string `json:"dialogflowAgent,omitempty"` // ForceSendFields is a list of field names (e.g. "DialogflowAgent") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DialogflowAgent") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1EngineChatEngineMetadata: Additional information of a Chat Engine. Fields in this message are output only.
func (GoogleCloudDiscoveryengineV1EngineChatEngineMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1EngineChatEngineMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1EngineCommonConfig ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1EngineCommonConfig struct { // CompanyName: The name of the company, business or entity that is associated // with the engine. Setting this may help improve LLM related features. CompanyName string `json:"companyName,omitempty"` // ForceSendFields is a list of field names (e.g. "CompanyName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CompanyName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1EngineCommonConfig: Common configurations for an Engine.
func (GoogleCloudDiscoveryengineV1EngineCommonConfig) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1EngineCommonConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1EngineSearchEngineConfig ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1EngineSearchEngineConfig struct { // SearchAddOns: The add-on that this search engine enables. // // Possible values: // "SEARCH_ADD_ON_UNSPECIFIED" - Default value when the enum is unspecified. // This is invalid to use. // "SEARCH_ADD_ON_LLM" - Large language model add-on. SearchAddOns []string `json:"searchAddOns,omitempty"` // SearchTier: The search feature tier of this engine. Different tiers might // have different pricing. To learn more, check the pricing documentation. // Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. // // Possible values: // "SEARCH_TIER_UNSPECIFIED" - Default value when the enum is unspecified. // This is invalid to use. // "SEARCH_TIER_STANDARD" - Standard tier. // "SEARCH_TIER_ENTERPRISE" - Enterprise tier. SearchTier string `json:"searchTier,omitempty"` // ForceSendFields is a list of field names (e.g. "SearchAddOns") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SearchAddOns") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1EngineSearchEngineConfig: Configurations for a Search Engine.
func (GoogleCloudDiscoveryengineV1EngineSearchEngineConfig) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1EngineSearchEngineConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata ¶ added in v0.186.0
type GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // FailureCount: Count of CompletionSuggestions that failed to be imported. FailureCount int64 `json:"failureCount,omitempty,string"` // SuccessCount: Count of CompletionSuggestions successfully imported. SuccessCount int64 `json:"successCount,omitempty,string"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata: Metadata related to the progress of the ImportCompletionSuggestions operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata) MarshalJSON ¶ added in v0.186.0
func (s GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsResponse ¶ added in v0.186.0
type GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsResponse struct { // ErrorConfig: The desired location of errors incurred during the Import. ErrorConfig *GoogleCloudDiscoveryengineV1ImportErrorConfig `json:"errorConfig,omitempty"` // ErrorSamples: A sample of errors encountered while processing the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // ForceSendFields is a list of field names (e.g. "ErrorConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsResponse: Response of the CompletionService.ImportCompletionSuggestions method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.
func (GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsResponse) MarshalJSON ¶ added in v0.186.0
func (s GoogleCloudDiscoveryengineV1ImportCompletionSuggestionsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1ImportDocumentsMetadata ¶ added in v0.125.0
type GoogleCloudDiscoveryengineV1ImportDocumentsMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // FailureCount: Count of entries that encountered errors while processing. FailureCount int64 `json:"failureCount,omitempty,string"` // SuccessCount: Count of entries that were processed successfully. SuccessCount int64 `json:"successCount,omitempty,string"` // TotalCount: Total count of entries that were processed. TotalCount int64 `json:"totalCount,omitempty,string"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1ImportDocumentsMetadata: Metadata related to the progress of the ImportDocuments operation. This is returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1ImportDocumentsMetadata) MarshalJSON ¶ added in v0.125.0
func (s GoogleCloudDiscoveryengineV1ImportDocumentsMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1ImportDocumentsResponse ¶ added in v0.125.0
type GoogleCloudDiscoveryengineV1ImportDocumentsResponse struct { // ErrorConfig: Echoes the destination for the complete errors in the request // if set. ErrorConfig *GoogleCloudDiscoveryengineV1ImportErrorConfig `json:"errorConfig,omitempty"` // ErrorSamples: A sample of errors encountered while processing the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // ForceSendFields is a list of field names (e.g. "ErrorConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1ImportDocumentsResponse: Response of the ImportDocumentsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.
func (GoogleCloudDiscoveryengineV1ImportDocumentsResponse) MarshalJSON ¶ added in v0.125.0
func (s GoogleCloudDiscoveryengineV1ImportDocumentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1ImportErrorConfig ¶ added in v0.125.0
type GoogleCloudDiscoveryengineV1ImportErrorConfig struct { // GcsPrefix: Cloud Storage prefix for import errors. This must be an empty, // existing Cloud Storage directory. Import errors are written to sharded files // in this directory, one per line, as a JSON-encoded `google.rpc.Status` // message. GcsPrefix string `json:"gcsPrefix,omitempty"` // ForceSendFields is a list of field names (e.g. "GcsPrefix") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GcsPrefix") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1ImportErrorConfig: Configuration of destination for Import related errors.
func (GoogleCloudDiscoveryengineV1ImportErrorConfig) MarshalJSON ¶ added in v0.125.0
func (s GoogleCloudDiscoveryengineV1ImportErrorConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesMetadata ¶ added in v0.156.0
type GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesMetadata: Metadata related to the progress of the ImportSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesMetadata) MarshalJSON ¶ added in v0.156.0
func (s GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse ¶ added in v0.156.0
type GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse struct { // ErrorSamples: A sample of errors encountered while processing the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // FailedEntriesCount: Count of deny list entries that failed to be imported. FailedEntriesCount int64 `json:"failedEntriesCount,omitempty,string"` // ImportedEntriesCount: Count of deny list entries successfully imported. ImportedEntriesCount int64 `json:"importedEntriesCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorSamples") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse: Response message for CompletionService.ImportSuggestionDenyListEntries method.
func (GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse) MarshalJSON ¶ added in v0.156.0
func (s GoogleCloudDiscoveryengineV1ImportSuggestionDenyListEntriesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1ImportUserEventsMetadata ¶ added in v0.125.0
type GoogleCloudDiscoveryengineV1ImportUserEventsMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // FailureCount: Count of entries that encountered errors while processing. FailureCount int64 `json:"failureCount,omitempty,string"` // SuccessCount: Count of entries that were processed successfully. SuccessCount int64 `json:"successCount,omitempty,string"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1ImportUserEventsMetadata: Metadata related to the progress of the Import operation. This is returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1ImportUserEventsMetadata) MarshalJSON ¶ added in v0.125.0
func (s GoogleCloudDiscoveryengineV1ImportUserEventsMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1ImportUserEventsResponse ¶ added in v0.125.0
type GoogleCloudDiscoveryengineV1ImportUserEventsResponse struct { // ErrorConfig: Echoes the destination for the complete errors if this field // was set in the request. ErrorConfig *GoogleCloudDiscoveryengineV1ImportErrorConfig `json:"errorConfig,omitempty"` // ErrorSamples: A sample of errors encountered while processing the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // JoinedEventsCount: Count of user events imported with complete existing // Documents. JoinedEventsCount int64 `json:"joinedEventsCount,omitempty,string"` // UnjoinedEventsCount: Count of user events imported, but with Document // information not found in the existing Branch. UnjoinedEventsCount int64 `json:"unjoinedEventsCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ErrorConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1ImportUserEventsResponse: Response of the ImportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.
func (GoogleCloudDiscoveryengineV1ImportUserEventsResponse) MarshalJSON ¶ added in v0.125.0
func (s GoogleCloudDiscoveryengineV1ImportUserEventsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1Project ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1Project struct { // CreateTime: Output only. The timestamp when this project is created. CreateTime string `json:"createTime,omitempty"` // Name: Output only. Full resource name of the project, for example // `projects/{project}`. Note that when making requests, project number and // project id are both acceptable, but the server will always respond in // project number. Name string `json:"name,omitempty"` // ProvisionCompletionTime: Output only. The timestamp when this project is // successfully provisioned. Empty value means this project is still // provisioning and is not ready for use. ProvisionCompletionTime string `json:"provisionCompletionTime,omitempty"` // ServiceTermsMap: Output only. A map of terms of services. The key is the // `id` of ServiceTerms. ServiceTermsMap map[string]GoogleCloudDiscoveryengineV1ProjectServiceTerms `json:"serviceTermsMap,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1Project: Metadata and configurations for a Google Cloud project in the service.
func (GoogleCloudDiscoveryengineV1Project) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1Project) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1ProjectServiceTerms ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1ProjectServiceTerms struct { // AcceptTime: The last time when the project agreed to the terms of service. AcceptTime string `json:"acceptTime,omitempty"` // DeclineTime: The last time when the project declined or revoked the // agreement to terms of service. DeclineTime string `json:"declineTime,omitempty"` // Id: The unique identifier of this terms of service. Available terms: * // `GA_DATA_USE_TERMS`: Terms for data use // (https://cloud.google.com/retail/data-use-terms). When using this as `id`, // the acceptable version to provide is `2022-11-23`. Id string `json:"id,omitempty"` // State: Whether the project has accepted/rejected the service terms or it is // still pending. // // Possible values: // "STATE_UNSPECIFIED" - The default value of the enum. This value is not // actually used. // "TERMS_ACCEPTED" - The project has given consent to the terms of service. // "TERMS_PENDING" - The project is pending to review and accept the terms of // service. // "TERMS_DECLINED" - The project has declined or revoked the agreement to // terms of service. State string `json:"state,omitempty"` // Version: The version string of the terms of service. For acceptable values, // see the comments for id above. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "AcceptTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AcceptTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1ProjectServiceTerms: Metadata about the terms of service.
func (GoogleCloudDiscoveryengineV1ProjectServiceTerms) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1ProjectServiceTerms) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1ProvisionProjectMetadata ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1ProvisionProjectMetadata struct { }
GoogleCloudDiscoveryengineV1ProvisionProjectMetadata: Metadata associated with a project provision operation.
type GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsMetadata ¶ added in v0.186.0
type GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsMetadata: Metadata related to the progress of the PurgeCompletionSuggestions operation. This is returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsMetadata) MarshalJSON ¶ added in v0.186.0
func (s GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse ¶ added in v0.186.0
type GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse struct { // ErrorSamples: A sample of errors encountered while processing the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // PurgeSucceeded: Whether the completion suggestions were successfully purged. PurgeSucceeded bool `json:"purgeSucceeded,omitempty"` // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorSamples") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse: Response message for CompletionService.PurgeCompletionSuggestions method.
func (GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse) MarshalJSON ¶ added in v0.186.0
func (s GoogleCloudDiscoveryengineV1PurgeCompletionSuggestionsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata ¶ added in v0.125.0
type GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // FailureCount: Count of entries that encountered errors while processing. FailureCount int64 `json:"failureCount,omitempty,string"` // IgnoredCount: Count of entries that were ignored as entries were not found. IgnoredCount int64 `json:"ignoredCount,omitempty,string"` // SuccessCount: Count of entries that were deleted successfully. SuccessCount int64 `json:"successCount,omitempty,string"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata: Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata) MarshalJSON ¶ added in v0.125.0
func (s GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1PurgeDocumentsResponse ¶ added in v0.125.0
type GoogleCloudDiscoveryengineV1PurgeDocumentsResponse struct { // PurgeCount: The total count of documents purged as a result of the // operation. PurgeCount int64 `json:"purgeCount,omitempty,string"` // PurgeSample: A sample of document names that will be deleted. Only populated // if `force` is set to false. A max of 100 names will be returned and the // names are chosen at random. PurgeSample []string `json:"purgeSample,omitempty"` // ForceSendFields is a list of field names (e.g. "PurgeCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PurgeCount") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1PurgeDocumentsResponse: Response message for DocumentService.PurgeDocuments method. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.
func (GoogleCloudDiscoveryengineV1PurgeDocumentsResponse) MarshalJSON ¶ added in v0.125.0
func (s GoogleCloudDiscoveryengineV1PurgeDocumentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesMetadata ¶ added in v0.156.0
type GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesMetadata: Metadata related to the progress of the PurgeSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesMetadata) MarshalJSON ¶ added in v0.156.0
func (s GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesResponse ¶ added in v0.156.0
type GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesResponse struct { // ErrorSamples: A sample of errors encountered while processing the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // PurgeCount: Number of suggestion deny list entries purged. PurgeCount int64 `json:"purgeCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorSamples") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesResponse: Response message for CompletionService.PurgeSuggestionDenyListEntries method.
func (GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesResponse) MarshalJSON ¶ added in v0.156.0
func (s GoogleCloudDiscoveryengineV1PurgeSuggestionDenyListEntriesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1Schema ¶ added in v0.125.0
type GoogleCloudDiscoveryengineV1Schema struct { // JsonSchema: The JSON representation of the schema. JsonSchema string `json:"jsonSchema,omitempty"` // Name: Immutable. The full resource name of the schema, in the format of // `projects/{project}/locations/{location}/collections/{collection}/dataStores/ // {data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string // with a length limit of 1024 characters. Name string `json:"name,omitempty"` // StructSchema: The structured representation of the schema. StructSchema googleapi.RawMessage `json:"structSchema,omitempty"` // ForceSendFields is a list of field names (e.g. "JsonSchema") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "JsonSchema") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1Schema: Defines the structure and layout of a type of document data.
func (GoogleCloudDiscoveryengineV1Schema) MarshalJSON ¶ added in v0.125.0
func (s GoogleCloudDiscoveryengineV1Schema) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1SearchLinkPromotion ¶ added in v0.210.0
type GoogleCloudDiscoveryengineV1SearchLinkPromotion struct { // Description: Optional. The Promotion description. Maximum length: 200 // characters. Description string `json:"description,omitempty"` // Enabled: Optional. The enabled promotion will be returned for any serving // configs associated with the parent of the control this promotion is attached // to. This flag is used for basic site search only. Enabled bool `json:"enabled,omitempty"` // ImageUri: Optional. The promotion thumbnail image url. ImageUri string `json:"imageUri,omitempty"` // Title: Required. The title of the promotion. Maximum length: 160 characters. Title string `json:"title,omitempty"` // Uri: Required. The URL for the page the user wants to promote. Uri string `json:"uri,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1SearchLinkPromotion: Promotion proto includes uri and other helping information to display the promotion.
func (GoogleCloudDiscoveryengineV1SearchLinkPromotion) MarshalJSON ¶ added in v0.210.0
func (s GoogleCloudDiscoveryengineV1SearchLinkPromotion) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec ¶ added in v0.211.0
type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec struct { // ChunkSpec: Specifies the chunk spec to be returned from the search response. // Only available if the SearchRequest.ContentSearchSpec.search_result_mode is // set to CHUNKS ChunkSpec *GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec `json:"chunkSpec,omitempty"` // ExtractiveContentSpec: If there is no extractive_content_spec provided, // there will be no extractive answer in the search response. ExtractiveContentSpec *GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec `json:"extractiveContentSpec,omitempty"` // SearchResultMode: Specifies the search result mode. If unspecified, the // search result mode defaults to `DOCUMENTS`. // // Possible values: // "SEARCH_RESULT_MODE_UNSPECIFIED" - Default value. // "DOCUMENTS" - Returns documents in the search result. // "CHUNKS" - Returns chunks in the search result. Only available if the // DocumentProcessingConfig.chunking_config is specified. SearchResultMode string `json:"searchResultMode,omitempty"` // SnippetSpec: If `snippetSpec` is not specified, snippets are not included in // the search response. SnippetSpec *GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec `json:"snippetSpec,omitempty"` // SummarySpec: If `summarySpec` is not specified, summaries are not included // in the search response. SummarySpec *GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec `json:"summarySpec,omitempty"` // ForceSendFields is a list of field names (e.g. "ChunkSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChunkSpec") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec: A specification for configuring the behavior of content search.
func (GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec) MarshalJSON ¶ added in v0.211.0
func (s GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec ¶ added in v0.211.0
type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec struct { // NumNextChunks: The number of next chunks to be returned of the current // chunk. The maximum allowed value is 3. If not specified, no next chunks will // be returned. NumNextChunks int64 `json:"numNextChunks,omitempty"` // NumPreviousChunks: The number of previous chunks to be returned of the // current chunk. The maximum allowed value is 3. If not specified, no previous // chunks will be returned. NumPreviousChunks int64 `json:"numPreviousChunks,omitempty"` // ForceSendFields is a list of field names (e.g. "NumNextChunks") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NumNextChunks") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec: Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS
func (GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec) MarshalJSON ¶ added in v0.211.0
func (s GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec ¶ added in v0.211.0
type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec struct { // MaxExtractiveAnswerCount: The maximum number of extractive answers returned // in each search result. An extractive answer is a verbatim answer extracted // from the original document, which provides a precise and contextually // relevant answer to the search query. If the number of matching answers is // less than the `max_extractive_answer_count`, return all of the answers. // Otherwise, return the `max_extractive_answer_count`. At most five answers // are returned for each SearchResult. MaxExtractiveAnswerCount int64 `json:"maxExtractiveAnswerCount,omitempty"` // MaxExtractiveSegmentCount: The max number of extractive segments returned in // each search result. Only applied if the DataStore is set to // DataStore.ContentConfig.CONTENT_REQUIRED or DataStore.solution_types is // SOLUTION_TYPE_CHAT. An extractive segment is a text segment extracted from // the original document that is relevant to the search query, and, in general, // more verbose than an extractive answer. The segment could then be used as // input for LLMs to generate summaries and answers. If the number of matching // segments is less than `max_extractive_segment_count`, return all of the // segments. Otherwise, return the `max_extractive_segment_count`. MaxExtractiveSegmentCount int64 `json:"maxExtractiveSegmentCount,omitempty"` // NumNextSegments: Return at most `num_next_segments` segments after each // selected segments. NumNextSegments int64 `json:"numNextSegments,omitempty"` // NumPreviousSegments: Specifies whether to also include the adjacent from // each selected segments. Return at most `num_previous_segments` segments // before each selected segments. NumPreviousSegments int64 `json:"numPreviousSegments,omitempty"` // ReturnExtractiveSegmentScore: Specifies whether to return the confidence // score from the extractive segments in each search result. This feature is // available only for new or allowlisted data stores. To allowlist your data // store, contact your Customer Engineer. The default value is `false`. ReturnExtractiveSegmentScore bool `json:"returnExtractiveSegmentScore,omitempty"` // ForceSendFields is a list of field names (e.g. "MaxExtractiveAnswerCount") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaxExtractiveAnswerCount") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSp ec: A specification for configuring the extractive content in a search response.
func (GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec) MarshalJSON ¶ added in v0.211.0
func (s GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecExtractiveContentSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec ¶ added in v0.211.0
type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec struct { // MaxSnippetCount: [DEPRECATED] This field is deprecated. To control snippet // return, use `return_snippet` field. For backwards compatibility, we will // return snippet if max_snippet_count > 0. MaxSnippetCount int64 `json:"maxSnippetCount,omitempty"` // ReferenceOnly: [DEPRECATED] This field is deprecated and will have no affect // on the snippet. ReferenceOnly bool `json:"referenceOnly,omitempty"` // ReturnSnippet: If `true`, then return snippet. If no snippet can be // generated, we return "No snippet is available for this page." A // `snippet_status` with `SUCCESS` or `NO_SNIPPET_AVAILABLE` will also be // returned. ReturnSnippet bool `json:"returnSnippet,omitempty"` // ForceSendFields is a list of field names (e.g. "MaxSnippetCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaxSnippetCount") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec: A specification for configuring snippets in a search response.
func (GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec) MarshalJSON ¶ added in v0.211.0
func (s GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSnippetSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec ¶ added in v0.211.0
type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec struct { // IgnoreAdversarialQuery: Specifies whether to filter out adversarial queries. // The default value is `false`. Google employs search-query classification to // detect adversarial queries. No summary is returned if the search query is // classified as an adversarial query. For example, a user might ask a question // regarding negative comments about the company or submit a query designed to // generate unsafe, policy-violating output. If this field is set to `true`, we // skip generating summaries for adversarial queries and return fallback // messages instead. IgnoreAdversarialQuery bool `json:"ignoreAdversarialQuery,omitempty"` // IgnoreJailBreakingQuery: Optional. Specifies whether to filter out // jail-breaking queries. The default value is `false`. Google employs // search-query classification to detect jail-breaking queries. No summary is // returned if the search query is classified as a jail-breaking query. A user // might add instructions to the query to change the tone, style, language, // content of the answer, or ask the model to act as a different entity, e.g. // "Reply in the tone of a competing company's CEO". If this field is set to // `true`, we skip generating summaries for jail-breaking queries and return // fallback messages instead. IgnoreJailBreakingQuery bool `json:"ignoreJailBreakingQuery,omitempty"` // IgnoreLowRelevantContent: Specifies whether to filter out queries that have // low relevance. The default value is `false`. If this field is set to // `false`, all search results are used regardless of relevance to generate // answers. If set to `true`, only queries with high relevance search results // will generate answers. IgnoreLowRelevantContent bool `json:"ignoreLowRelevantContent,omitempty"` // IgnoreNonSummarySeekingQuery: Specifies whether to filter out queries that // are not summary-seeking. The default value is `false`. Google employs // search-query classification to detect summary-seeking queries. No summary is // returned if the search query is classified as a non-summary seeking query. // For example, `why is the sky blue` and `Who is the best soccer player in the // world?` are summary-seeking queries, but `SFO airport` and `world cup 2026` // are not. They are most likely navigational queries. If this field is set to // `true`, we skip generating summaries for non-summary seeking queries and // return fallback messages instead. IgnoreNonSummarySeekingQuery bool `json:"ignoreNonSummarySeekingQuery,omitempty"` // IncludeCitations: Specifies whether to include citations in the summary. The // default value is `false`. When this field is set to `true`, summaries // include in-line citation numbers. Example summary including citations: // BigQuery is Google Cloud's fully managed and completely serverless // enterprise data warehouse [1]. BigQuery supports all data types, works // across clouds, and has built-in machine learning and business intelligence, // all within a unified platform [2, 3]. The citation numbers refer to the // returned search results and are 1-indexed. For example, [1] means that the // sentence is attributed to the first search result. [2, 3] means that the // sentence is attributed to both the second and third search results. IncludeCitations bool `json:"includeCitations,omitempty"` // LanguageCode: Language code for Summary. Use language tags defined by BCP47 // (https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an // experimental feature. LanguageCode string `json:"languageCode,omitempty"` // ModelPromptSpec: If specified, the spec will be used to modify the prompt // provided to the LLM. ModelPromptSpec *GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec `json:"modelPromptSpec,omitempty"` // ModelSpec: If specified, the spec will be used to modify the model // specification provided to the LLM. ModelSpec *GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec `json:"modelSpec,omitempty"` // SummaryResultCount: The number of top results to generate the summary from. // If the number of results returned is less than `summaryResultCount`, the // summary is generated from all of the results. At most 10 results for // documents mode, or 50 for chunks mode, can be used to generate a summary. // The chunks mode is used when // SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS. SummaryResultCount int64 `json:"summaryResultCount,omitempty"` // UseSemanticChunks: If true, answer will be generated from most relevant // chunks from top search results. This feature will improve summary quality. // Note that with this feature enabled, not all top search results will be // referenced and included in the reference list, so the citation source index // only points to the search results listed in the reference list. UseSemanticChunks bool `json:"useSemanticChunks,omitempty"` // ForceSendFields is a list of field names (e.g. "IgnoreAdversarialQuery") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IgnoreAdversarialQuery") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec: A specification for configuring a summary returned in a search response.
func (GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec) MarshalJSON ¶ added in v0.211.0
func (s GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec ¶ added in v0.211.0
type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec struct { // Preamble: Text at the beginning of the prompt that instructs the assistant. // Examples are available in the user guide. Preamble string `json:"preamble,omitempty"` // ForceSendFields is a list of field names (e.g. "Preamble") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Preamble") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPro mptSpec: Specification of the prompt to use with the model.
func (GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec) MarshalJSON ¶ added in v0.211.0
func (s GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelPromptSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec ¶ added in v0.211.0
type GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec struct { // Version: The model version used to generate the summary. Supported values // are: * `stable`: string. Default value when no value is specified. Uses a // generally available, fine-tuned model. For more information, see Answer // generation model versions and lifecycle // (https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). // * `preview`: string. (Public preview) Uses a preview model. For more // information, see Answer generation model versions and lifecycle // (https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpe c: Specification of the model.
func (GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec) MarshalJSON ¶ added in v0.211.0
func (s GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpecModelSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1ServingConfig ¶ added in v0.211.0
type GoogleCloudDiscoveryengineV1ServingConfig struct { // BoostControlIds: Boost controls to use in serving path. All triggered boost // controls will be applied. Boost controls must be in the same data store as // the serving config. Maximum of 20 boost controls. BoostControlIds []string `json:"boostControlIds,omitempty"` // CreateTime: Output only. ServingConfig created timestamp. CreateTime string `json:"createTime,omitempty"` // DisplayName: Required. The human readable serving config display name. Used // in Discovery UI. This field must be a UTF-8 encoded string with a length // limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. DisplayName string `json:"displayName,omitempty"` // DissociateControlIds: Condition do not associate specifications. If multiple // do not associate conditions match, all matching do not associate controls in // the list will execute. Order does not matter. Maximum number of // specifications is 100. Can only be set if SolutionType is // SOLUTION_TYPE_SEARCH. DissociateControlIds []string `json:"dissociateControlIds,omitempty"` // DiversityLevel: How much diversity to use in recommendation model results // e.g. `medium-diversity` or `high-diversity`. Currently supported values: * // `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * // `auto-diversity` If not specified, we choose default based on recommendation // model type. Default value: `no-diversity`. Can only be set if SolutionType // is SOLUTION_TYPE_RECOMMENDATION. DiversityLevel string `json:"diversityLevel,omitempty"` // FilterControlIds: Filter controls to use in serving path. All triggered // filter controls will be applied. Filter controls must be in the same data // store as the serving config. Maximum of 20 filter controls. FilterControlIds []string `json:"filterControlIds,omitempty"` // GenericConfig: The GenericConfig of the serving configuration. GenericConfig *GoogleCloudDiscoveryengineV1ServingConfigGenericConfig `json:"genericConfig,omitempty"` // IgnoreControlIds: Condition ignore specifications. If multiple ignore // conditions match, all matching ignore controls in the list will execute. // Order does not matter. Maximum number of specifications is 100. IgnoreControlIds []string `json:"ignoreControlIds,omitempty"` // MediaConfig: The MediaConfig of the serving configuration. MediaConfig *GoogleCloudDiscoveryengineV1ServingConfigMediaConfig `json:"mediaConfig,omitempty"` // ModelId: The id of the model to use at serving time. Currently only // RecommendationModels are supported. Can be changed but only to a compatible // model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required // when SolutionType is SOLUTION_TYPE_RECOMMENDATION. ModelId string `json:"modelId,omitempty"` // Name: Immutable. Fully qualified name // `projects/{project}/locations/{location}/collections/{collection_id}/engines/ // {engine_id}/servingConfigs/{serving_config_id}` Name string `json:"name,omitempty"` // OnewaySynonymsControlIds: Condition oneway synonyms specifications. If // multiple oneway synonyms conditions match, all matching oneway synonyms // controls in the list will execute. Maximum number of specifications is 100. // Can only be set if SolutionType is SOLUTION_TYPE_SEARCH. OnewaySynonymsControlIds []string `json:"onewaySynonymsControlIds,omitempty"` // PromoteControlIds: Condition promote specifications. Maximum number of // specifications is 100. PromoteControlIds []string `json:"promoteControlIds,omitempty"` // RankingExpression: The ranking expression controls the customized ranking on // retrieval documents. To leverage this, document embedding is required. The // ranking expression setting in ServingConfig applies to all search requests // served by the serving config. However, if SearchRequest.ranking_expression // is specified, it overrides the ServingConfig ranking expression. The ranking // expression is a single function or multiple functions that are joined by // "+". * ranking_expression = function, { " + ", function }; Supported // functions: * double * relevance_score * double * // dotProduct(embedding_field_path) Function variables: * `relevance_score`: // pre-defined keywords, used for measure relevance between query and document. // * `embedding_field_path`: the document embedding field used with query // embedding vector. * `dotProduct`: embedding function between // embedding_field_path and query embedding vector. Example ranking expression: // If document has an embedding field doc_embedding, the ranking expression // could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. RankingExpression string `json:"rankingExpression,omitempty"` // RedirectControlIds: IDs of the redirect controls. Only the first triggered // redirect action is applied, even if multiple apply. Maximum number of // specifications is 100. Can only be set if SolutionType is // SOLUTION_TYPE_SEARCH. RedirectControlIds []string `json:"redirectControlIds,omitempty"` // ReplacementControlIds: Condition replacement specifications. Applied // according to the order in the list. A previously replaced term can not be // re-replaced. Maximum number of specifications is 100. Can only be set if // SolutionType is SOLUTION_TYPE_SEARCH. ReplacementControlIds []string `json:"replacementControlIds,omitempty"` // SolutionType: Required. Immutable. Specifies the solution type that a // serving config can be associated with. // // Possible values: // "SOLUTION_TYPE_UNSPECIFIED" - Default value. // "SOLUTION_TYPE_RECOMMENDATION" - Used for Recommendations AI. // "SOLUTION_TYPE_SEARCH" - Used for Discovery Search. // "SOLUTION_TYPE_CHAT" - Used for use cases related to the Generative AI // agent. // "SOLUTION_TYPE_GENERATIVE_CHAT" - Used for use cases related to the // Generative Chat agent. It's used for Generative chat engine only, the // associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution. SolutionType string `json:"solutionType,omitempty"` // SynonymsControlIds: Condition synonyms specifications. If multiple synonyms // conditions match, all matching synonyms controls in the list will execute. // Maximum number of specifications is 100. Can only be set if SolutionType is // SOLUTION_TYPE_SEARCH. SynonymsControlIds []string `json:"synonymsControlIds,omitempty"` // UpdateTime: Output only. ServingConfig updated timestamp. UpdateTime string `json:"updateTime,omitempty"` // ForceSendFields is a list of field names (e.g. "BoostControlIds") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BoostControlIds") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1ServingConfig: Configures metadata that is used to generate serving time results (e.g. search results or recommendation predictions). The ServingConfig is passed in the search and predict request and generates results.
func (GoogleCloudDiscoveryengineV1ServingConfig) MarshalJSON ¶ added in v0.211.0
func (s GoogleCloudDiscoveryengineV1ServingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1ServingConfigGenericConfig ¶ added in v0.211.0
type GoogleCloudDiscoveryengineV1ServingConfigGenericConfig struct { // ContentSearchSpec: Specifies the expected behavior of content search. Only // valid for content-search enabled data store. ContentSearchSpec *GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec `json:"contentSearchSpec,omitempty"` // ForceSendFields is a list of field names (e.g. "ContentSearchSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContentSearchSpec") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1ServingConfigGenericConfig: Specifies the configurations needed for Generic Discovery.Currently we support: * `content_search_spec`: configuration for generic content search.
func (GoogleCloudDiscoveryengineV1ServingConfigGenericConfig) MarshalJSON ¶ added in v0.211.0
func (s GoogleCloudDiscoveryengineV1ServingConfigGenericConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1ServingConfigMediaConfig ¶ added in v0.211.0
type GoogleCloudDiscoveryengineV1ServingConfigMediaConfig struct { // ContentFreshnessCutoffDays: Specifies the content freshness used for // recommendation result. Contents will be demoted if contents were published // for more than content freshness cutoff days. ContentFreshnessCutoffDays int64 `json:"contentFreshnessCutoffDays,omitempty"` // ContentWatchedPercentageThreshold: Specifies the content watched percentage // threshold for demotion. Threshold value must be between [0, 1.0] inclusive. ContentWatchedPercentageThreshold float64 `json:"contentWatchedPercentageThreshold,omitempty"` // ContentWatchedSecondsThreshold: Specifies the content watched minutes // threshold for demotion. ContentWatchedSecondsThreshold float64 `json:"contentWatchedSecondsThreshold,omitempty"` // DemoteContentWatchedPastDays: Optional. Specifies the number of days to look // back for demoting watched content. If set to zero or unset, defaults to the // maximum of 365 days. DemoteContentWatchedPastDays int64 `json:"demoteContentWatchedPastDays,omitempty"` // DemotionEventType: Specifies the event type used for demoting recommendation // result. Currently supported values: * `view-item`: Item viewed. * // `media-play`: Start/resume watching a video, playing a song, etc. * // `media-complete`: Finished or stopped midway through a video, song, etc. If // unset, watch history demotion will not be applied. Content freshness // demotion will still be applied. DemotionEventType string `json:"demotionEventType,omitempty"` // ForceSendFields is a list of field names (e.g. "ContentFreshnessCutoffDays") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContentFreshnessCutoffDays") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1ServingConfigMediaConfig: Specifies the configurations needed for Media Discovery. Currently we support: * `demote_content_watched`: Threshold for watched content demotion. Customers can specify if using watched content demotion or use viewed detail page. Using the content watched demotion, customers need to specify the watched minutes or percentage exceeds the threshold, the content will be demoted in the recommendation result. * `promote_fresh_content`: cutoff days for fresh content promotion. Customers can specify if using content freshness promotion. If the content was published within the cutoff days, the content will be promoted in the recommendation result. Can only be set if SolutionType is SOLUTION_TYPE_RECOMMENDATION.
func (GoogleCloudDiscoveryengineV1ServingConfigMediaConfig) MarshalJSON ¶ added in v0.211.0
func (s GoogleCloudDiscoveryengineV1ServingConfigMediaConfig) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1ServingConfigMediaConfig) UnmarshalJSON ¶ added in v0.211.0
func (s *GoogleCloudDiscoveryengineV1ServingConfigMediaConfig) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1SiteVerificationInfo ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1SiteVerificationInfo struct { // SiteVerificationState: Site verification state indicating the ownership and // validity. // // Possible values: // "SITE_VERIFICATION_STATE_UNSPECIFIED" - Defaults to VERIFIED. // "VERIFIED" - Site ownership verified. // "UNVERIFIED" - Site ownership pending verification or verification failed. // "EXEMPTED" - Site exempt from verification, e.g., a public website that // opens to all. SiteVerificationState string `json:"siteVerificationState,omitempty"` // VerifyTime: Latest site verification time. VerifyTime string `json:"verifyTime,omitempty"` // ForceSendFields is a list of field names (e.g. "SiteVerificationState") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SiteVerificationState") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1SiteVerificationInfo: Verification information for target sites in advanced site search.
func (GoogleCloudDiscoveryengineV1SiteVerificationInfo) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1SiteVerificationInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1TargetSite ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1TargetSite struct { // ExactMatch: Input only. If set to false, a uri_pattern is generated to // include all pages whose address contains the provided_uri_pattern. If set to // true, an uri_pattern is generated to try to be an exact match of the // provided_uri_pattern or just the specific page if the provided_uri_pattern // is a specific one. provided_uri_pattern is always normalized to generate the // URI pattern to be used by the search engine. ExactMatch bool `json:"exactMatch,omitempty"` // FailureReason: Output only. Failure reason. FailureReason *GoogleCloudDiscoveryengineV1TargetSiteFailureReason `json:"failureReason,omitempty"` // GeneratedUriPattern: Output only. This is system-generated based on the // provided_uri_pattern. GeneratedUriPattern string `json:"generatedUriPattern,omitempty"` // IndexingStatus: Output only. Indexing status. // // Possible values: // "INDEXING_STATUS_UNSPECIFIED" - Defaults to SUCCEEDED. // "PENDING" - The target site is in the update queue and will be picked up // by indexing pipeline. // "FAILED" - The target site fails to be indexed. // "SUCCEEDED" - The target site has been indexed. // "DELETING" - The previously indexed target site has been marked to be // deleted. This is a transitioning state which will resulted in either: 1. // target site deleted if unindexing is successful; 2. state reverts to // SUCCEEDED if the unindexing fails. IndexingStatus string `json:"indexingStatus,omitempty"` // Name: Output only. The fully qualified resource name of the target site. // `projects/{project}/locations/{location}/collections/{collection}/dataStores/ // {data_store}/siteSearchEngine/targetSites/{target_site}` The // `target_site_id` is system-generated. Name string `json:"name,omitempty"` // ProvidedUriPattern: Required. Input only. The user provided URI pattern from // which the `generated_uri_pattern` is generated. ProvidedUriPattern string `json:"providedUriPattern,omitempty"` // RootDomainUri: Output only. Root domain of the provided_uri_pattern. RootDomainUri string `json:"rootDomainUri,omitempty"` // SiteVerificationInfo: Output only. Site ownership and validity verification // status. SiteVerificationInfo *GoogleCloudDiscoveryengineV1SiteVerificationInfo `json:"siteVerificationInfo,omitempty"` // Type: The type of the target site, e.g., whether the site is to be included // or excluded. // // Possible values: // "TYPE_UNSPECIFIED" - This value is unused. In this case, server behavior // defaults to Type.INCLUDE. // "INCLUDE" - Include the target site. // "EXCLUDE" - Exclude the target site. Type string `json:"type,omitempty"` // UpdateTime: Output only. The target site's last updated time. UpdateTime string `json:"updateTime,omitempty"` // ForceSendFields is a list of field names (e.g. "ExactMatch") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExactMatch") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1TargetSite: A target site for the SiteSearchEngine.
func (GoogleCloudDiscoveryengineV1TargetSite) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1TargetSite) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1TargetSiteFailureReason ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1TargetSiteFailureReason struct { // QuotaFailure: Failed due to insufficient quota. QuotaFailure *GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure `json:"quotaFailure,omitempty"` // ForceSendFields is a list of field names (e.g. "QuotaFailure") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QuotaFailure") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1TargetSiteFailureReason: Site search indexing failure reasons.
func (GoogleCloudDiscoveryengineV1TargetSiteFailureReason) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1TargetSiteFailureReason) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure struct { // TotalRequiredQuota: This number is an estimation on how much total quota // this project needs to successfully complete indexing. TotalRequiredQuota int64 `json:"totalRequiredQuota,omitempty,string"` // ForceSendFields is a list of field names (e.g. "TotalRequiredQuota") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TotalRequiredQuota") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure: Failed due to insufficient quota.
func (GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1TargetSiteFailureReasonQuotaFailure) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1TrainCustomModelMetadata ¶ added in v0.193.0
type GoogleCloudDiscoveryengineV1TrainCustomModelMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1TrainCustomModelMetadata: Metadata related to the progress of the TrainCustomModel operation. This is returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1TrainCustomModelMetadata) MarshalJSON ¶ added in v0.193.0
func (s GoogleCloudDiscoveryengineV1TrainCustomModelMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1TrainCustomModelResponse ¶ added in v0.193.0
type GoogleCloudDiscoveryengineV1TrainCustomModelResponse struct { // ErrorConfig: Echoes the destination for the complete errors in the request // if set. ErrorConfig *GoogleCloudDiscoveryengineV1ImportErrorConfig `json:"errorConfig,omitempty"` // ErrorSamples: A sample of errors encountered while processing the data. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // Metrics: The metrics of the trained model. Metrics map[string]float64 `json:"metrics,omitempty"` // ModelName: Fully qualified name of the CustomTuningModel. ModelName string `json:"modelName,omitempty"` // ModelStatus: The trained model status. Possible values are: * **bad-data**: // The training data quality is bad. * **no-improvement**: Tuning didn't // improve performance. Won't deploy. * **in-progress**: Model training job // creation is in progress. * **training**: Model is actively training. * // **evaluating**: The model is evaluating trained metrics. * **indexing**: The // model trained metrics are indexing. * **ready**: The model is ready for // serving. ModelStatus string `json:"modelStatus,omitempty"` // ForceSendFields is a list of field names (e.g. "ErrorConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1TrainCustomModelResponse: Response of the TrainCustomModelRequest. This message is returned by the google.longrunning.Operations.response field.
func (GoogleCloudDiscoveryengineV1TrainCustomModelResponse) MarshalJSON ¶ added in v0.193.0
func (s GoogleCloudDiscoveryengineV1TrainCustomModelResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1UpdateCmekConfigMetadata ¶ added in v0.202.0
type GoogleCloudDiscoveryengineV1UpdateCmekConfigMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1UpdateCmekConfigMetadata: Metadata related to the progress of the CmekConfigService.UpdateCmekConfig operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1UpdateCmekConfigMetadata) MarshalJSON ¶ added in v0.202.0
func (s GoogleCloudDiscoveryengineV1UpdateCmekConfigMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1UpdateSchemaMetadata ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1UpdateSchemaMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1UpdateSchemaMetadata: Metadata for UpdateSchema LRO.
func (GoogleCloudDiscoveryengineV1UpdateSchemaMetadata) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1UpdateSchemaMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1UpdateTargetSiteMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1UpdateTargetSiteMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1UpdateTargetSiteMetadata: Metadata related to the progress of the SiteSearchEngineService.UpdateTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1UpdateTargetSiteMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1UpdateTargetSiteMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1WorkspaceConfig ¶ added in v0.193.0
type GoogleCloudDiscoveryengineV1WorkspaceConfig struct { // DasherCustomerId: Obfuscated Dasher customer ID. DasherCustomerId string `json:"dasherCustomerId,omitempty"` // SuperAdminEmailAddress: Optional. The super admin email address for the // workspace that will be used for access token generation. For now we only use // it for Native Google Drive connector data ingestion. SuperAdminEmailAddress string `json:"superAdminEmailAddress,omitempty"` // SuperAdminServiceAccount: Optional. The super admin service account for the // workspace that will be used for access token generation. For now we only use // it for Native Google Drive connector data ingestion. SuperAdminServiceAccount string `json:"superAdminServiceAccount,omitempty"` // Type: The Google Workspace data source. // // Possible values: // "TYPE_UNSPECIFIED" - Defaults to an unspecified Workspace type. // "GOOGLE_DRIVE" - Workspace Data Store contains Drive data // "GOOGLE_MAIL" - Workspace Data Store contains Mail data // "GOOGLE_SITES" - Workspace Data Store contains Sites data // "GOOGLE_CALENDAR" - Workspace Data Store contains Calendar data // "GOOGLE_CHAT" - Workspace Data Store contains Chat data // "GOOGLE_GROUPS" - Workspace Data Store contains Groups data // "GOOGLE_KEEP" - Workspace Data Store contains Keep data Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "DasherCustomerId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DasherCustomerId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1WorkspaceConfig: Config to store data store type configuration for workspace data
func (GoogleCloudDiscoveryengineV1WorkspaceConfig) MarshalJSON ¶ added in v0.193.0
func (s GoogleCloudDiscoveryengineV1WorkspaceConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaAclConfig ¶ added in v0.168.0
type GoogleCloudDiscoveryengineV1alphaAclConfig struct { // IdpConfig: Identity provider config. IdpConfig *GoogleCloudDiscoveryengineV1alphaIdpConfig `json:"idpConfig,omitempty"` // Name: Immutable. The full resource name of the acl configuration. Format: // `projects/{project}/locations/{location}/aclConfig`. This field must be a // UTF-8 encoded string with a length limit of 1024 characters. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "IdpConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IdpConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaAclConfig: Access Control Configuration.
func (GoogleCloudDiscoveryengineV1alphaAclConfig) MarshalJSON ¶ added in v0.168.0
func (s GoogleCloudDiscoveryengineV1alphaAclConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig ¶ added in v0.203.0
type GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig struct { // DisableAutomaticRefresh: If set true, automatic refresh is disabled for the // DataStore. DisableAutomaticRefresh bool `json:"disableAutomaticRefresh,omitempty"` // DisableInitialIndex: If set true, initial indexing is disabled for the // DataStore. DisableInitialIndex bool `json:"disableInitialIndex,omitempty"` // ForceSendFields is a list of field names (e.g. "DisableAutomaticRefresh") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisableAutomaticRefresh") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig: Configuration data for advance site search.
func (GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig) MarshalJSON ¶ added in v0.203.0
func (s GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaAnswer ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaAnswer struct { // AnswerSkippedReasons: Additional answer-skipped reasons. This provides the // reason for ignored cases. If nothing is skipped, this field is not set. // // Possible values: // "ANSWER_SKIPPED_REASON_UNSPECIFIED" - Default value. The answer skipped // reason is not specified. // "ADVERSARIAL_QUERY_IGNORED" - The adversarial query ignored case. // "NON_ANSWER_SEEKING_QUERY_IGNORED" - The non-answer seeking query ignored // case Google skips the answer if the query is chit chat. // "OUT_OF_DOMAIN_QUERY_IGNORED" - The out-of-domain query ignored case. // Google skips the answer if there are no high-relevance search results. // "POTENTIAL_POLICY_VIOLATION" - The potential policy violation case. Google // skips the answer if there is a potential policy violation detected. This // includes content that may be violent or toxic. // "NO_RELEVANT_CONTENT" - The no relevant content case. Google skips the // answer if there is no relevant content in the retrieved search results. // "JAIL_BREAKING_QUERY_IGNORED" - The jail-breaking query ignored case. For // example, "Reply in the tone of a competing company's CEO". Google skips the // answer if the query is classified as a jail-breaking query. // "CUSTOMER_POLICY_VIOLATION" - The customer policy violation case. Google // skips the summary if there is a customer policy violation detected. The // policy is defined by the customer. // "NON_ANSWER_SEEKING_QUERY_IGNORED_V2" - The non-answer seeking query // ignored case. Google skips the answer if the query doesn't have clear // intent. // "LOW_GROUNDED_ANSWER" - The low-grounded answer case. Google skips the // answer if a well grounded answer was unable to be generated. AnswerSkippedReasons []string `json:"answerSkippedReasons,omitempty"` // AnswerText: The textual answer. AnswerText string `json:"answerText,omitempty"` // Citations: Citations. Citations []*GoogleCloudDiscoveryengineV1alphaAnswerCitation `json:"citations,omitempty"` // CompleteTime: Output only. Answer completed timestamp. CompleteTime string `json:"completeTime,omitempty"` // CreateTime: Output only. Answer creation timestamp. CreateTime string `json:"createTime,omitempty"` // GroundingScore: A score in the range of [0, 1] describing how grounded the // answer is by the reference chunks. GroundingScore float64 `json:"groundingScore,omitempty"` // GroundingSupports: Optional. Grounding supports. GroundingSupports []*GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport `json:"groundingSupports,omitempty"` // Name: Immutable. Fully qualified name // `projects/{project}/locations/global/collections/{collection}/engines/{engine // }/sessions/*/answers/*` Name string `json:"name,omitempty"` // QueryUnderstandingInfo: Query understanding information. QueryUnderstandingInfo *GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo `json:"queryUnderstandingInfo,omitempty"` // References: References. References []*GoogleCloudDiscoveryengineV1alphaAnswerReference `json:"references,omitempty"` // RelatedQuestions: Suggested related questions. RelatedQuestions []string `json:"relatedQuestions,omitempty"` // State: The state of the answer generation. // // Possible values: // "STATE_UNSPECIFIED" - Unknown. // "IN_PROGRESS" - Answer generation is currently in progress. // "FAILED" - Answer generation currently failed. // "SUCCEEDED" - Answer generation has succeeded. // "STREAMING" - Answer generation is currently in progress. State string `json:"state,omitempty"` // Steps: Answer generation steps. Steps []*GoogleCloudDiscoveryengineV1alphaAnswerStep `json:"steps,omitempty"` // ForceSendFields is a list of field names (e.g. "AnswerSkippedReasons") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnswerSkippedReasons") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaAnswer: Defines an answer.
func (GoogleCloudDiscoveryengineV1alphaAnswer) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaAnswer) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1alphaAnswer) UnmarshalJSON ¶ added in v0.211.0
func (s *GoogleCloudDiscoveryengineV1alphaAnswer) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1alphaAnswerCitation ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaAnswerCitation struct { // EndIndex: End of the attributed segment, exclusive. EndIndex int64 `json:"endIndex,omitempty,string"` // Sources: Citation sources for the attributed segment. Sources []*GoogleCloudDiscoveryengineV1alphaAnswerCitationSource `json:"sources,omitempty"` // StartIndex: Index indicates the start of the segment, measured in bytes // (UTF-8 unicode). StartIndex int64 `json:"startIndex,omitempty,string"` // ForceSendFields is a list of field names (e.g. "EndIndex") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndIndex") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaAnswerCitation: Citation info for a segment.
func (GoogleCloudDiscoveryengineV1alphaAnswerCitation) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaAnswerCitation) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaAnswerCitationSource ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaAnswerCitationSource struct { // ReferenceId: ID of the citation source. ReferenceId string `json:"referenceId,omitempty"` // ForceSendFields is a list of field names (e.g. "ReferenceId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ReferenceId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaAnswerCitationSource: Citation source.
func (GoogleCloudDiscoveryengineV1alphaAnswerCitationSource) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaAnswerCitationSource) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport ¶ added in v0.211.0
type GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport struct { // EndIndex: Required. End of the claim, exclusive. EndIndex int64 `json:"endIndex,omitempty,string"` // GroundingCheckRequired: Indicates that this claim required grounding check. // When the system decided this claim didn't require attribution/grounding // check, this field is set to false. In that case, no grounding check was done // for the claim and therefore `grounding_score`, `sources` is not returned. GroundingCheckRequired bool `json:"groundingCheckRequired,omitempty"` // GroundingScore: A score in the range of [0, 1] describing how grounded is a // specific claim by the references. Higher value means that the claim is // better supported by the reference chunks. GroundingScore float64 `json:"groundingScore,omitempty"` // Sources: Optional. Citation sources for the claim. Sources []*GoogleCloudDiscoveryengineV1alphaAnswerCitationSource `json:"sources,omitempty"` // StartIndex: Required. Index indicates the start of the claim, measured in // bytes (UTF-8 unicode). StartIndex int64 `json:"startIndex,omitempty,string"` // ForceSendFields is a list of field names (e.g. "EndIndex") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndIndex") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport: Grounding support for a claim in `answer_text`.
func (GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport) MarshalJSON ¶ added in v0.211.0
func (s GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport) UnmarshalJSON ¶ added in v0.211.0
func (s *GoogleCloudDiscoveryengineV1alphaAnswerGroundingSupport) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo struct { // QueryClassificationInfo: Query classification information. QueryClassificationInfo []*GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo `json:"queryClassificationInfo,omitempty"` // ForceSendFields is a list of field names (e.g. "QueryClassificationInfo") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QueryClassificationInfo") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo: Query understanding information.
func (GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo struct { // Positive: Classification output. Positive bool `json:"positive,omitempty"` // Type: Query classification type. // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified query classification type. // "ADVERSARIAL_QUERY" - Adversarial query classification type. // "NON_ANSWER_SEEKING_QUERY" - Non-answer-seeking query classification type, // for chit chat. // "JAIL_BREAKING_QUERY" - Jail-breaking query classification type. // "NON_ANSWER_SEEKING_QUERY_V2" - Non-answer-seeking query classification // type, for no clear intent. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Positive") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Positive") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificat ionInfo: Query classification information.
func (GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaAnswerQueryUnderstandingInfoQueryClassificationInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaAnswerReference ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaAnswerReference struct { // ChunkInfo: Chunk information. ChunkInfo *GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo `json:"chunkInfo,omitempty"` // StructuredDocumentInfo: Structured document information. StructuredDocumentInfo *GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo `json:"structuredDocumentInfo,omitempty"` // UnstructuredDocumentInfo: Unstructured document information. UnstructuredDocumentInfo *GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo `json:"unstructuredDocumentInfo,omitempty"` // ForceSendFields is a list of field names (e.g. "ChunkInfo") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChunkInfo") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaAnswerReference: Reference.
func (GoogleCloudDiscoveryengineV1alphaAnswerReference) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaAnswerReference) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo struct { // Chunk: Chunk resource name. Chunk string `json:"chunk,omitempty"` // Content: Chunk textual content. Content string `json:"content,omitempty"` // DocumentMetadata: Document metadata. DocumentMetadata *GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata `json:"documentMetadata,omitempty"` // RelevanceScore: The relevance of the chunk for a given query. Values range // from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is // for informational purpose only. It may change for the same query and chunk // at any time due to a model retraining or change in implementation. RelevanceScore float64 `json:"relevanceScore,omitempty"` // ForceSendFields is a list of field names (e.g. "Chunk") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Chunk") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo: Chunk information.
func (GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo) UnmarshalJSON ¶ added in v0.173.0
func (s *GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata struct { // Document: Document resource name. Document string `json:"document,omitempty"` // PageIdentifier: Page identifier. PageIdentifier string `json:"pageIdentifier,omitempty"` // StructData: The structured JSON metadata for the document. It is populated // from the struct data from the Chunk in search result. StructData googleapi.RawMessage `json:"structData,omitempty"` // Title: Title. Title string `json:"title,omitempty"` // Uri: URI for the document. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "Document") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Document") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata: Document metadata.
func (GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo struct { // Document: Document resource name. Document string `json:"document,omitempty"` // StructData: Structured search data. StructData googleapi.RawMessage `json:"structData,omitempty"` // ForceSendFields is a list of field names (e.g. "Document") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Document") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo: Structured search information.
func (GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo struct { // ChunkContents: List of cited chunk contents derived from document content. ChunkContents []*GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent `json:"chunkContents,omitempty"` // Document: Document resource name. Document string `json:"document,omitempty"` // StructData: The structured JSON metadata for the document. It is populated // from the struct data from the Chunk in search result. StructData googleapi.RawMessage `json:"structData,omitempty"` // Title: Title. Title string `json:"title,omitempty"` // Uri: URI for the document. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "ChunkContents") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChunkContents") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo: Unstructured document information.
func (GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent struct { // Content: Chunk textual content. Content string `json:"content,omitempty"` // PageIdentifier: Page identifier. PageIdentifier string `json:"pageIdentifier,omitempty"` // RelevanceScore: The relevance of the chunk for a given query. Values range // from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is // for informational purpose only. It may change for the same query and chunk // at any time due to a model retraining or change in implementation. RelevanceScore float64 `json:"relevanceScore,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunk Content: Chunk content.
func (GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent) UnmarshalJSON ¶ added in v0.190.0
func (s *GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1alphaAnswerStep ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaAnswerStep struct { // Actions: Actions. Actions []*GoogleCloudDiscoveryengineV1alphaAnswerStepAction `json:"actions,omitempty"` // Description: The description of the step. Description string `json:"description,omitempty"` // State: The state of the step. // // Possible values: // "STATE_UNSPECIFIED" - Unknown. // "IN_PROGRESS" - Step is currently in progress. // "FAILED" - Step currently failed. // "SUCCEEDED" - Step has succeeded. State string `json:"state,omitempty"` // Thought: The thought of the step. Thought string `json:"thought,omitempty"` // ForceSendFields is a list of field names (e.g. "Actions") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Actions") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaAnswerStep: Step information.
func (GoogleCloudDiscoveryengineV1alphaAnswerStep) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaAnswerStep) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaAnswerStepAction ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaAnswerStepAction struct { // Observation: Observation. Observation *GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation `json:"observation,omitempty"` // SearchAction: Search action. SearchAction *GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction `json:"searchAction,omitempty"` // ForceSendFields is a list of field names (e.g. "Observation") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Observation") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaAnswerStepAction: Action.
func (GoogleCloudDiscoveryengineV1alphaAnswerStepAction) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaAnswerStepAction) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation struct { // SearchResults: Search results observed by the search action, it can be // snippets info or chunk info, depending on the citation type set by the user. SearchResults []*GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult `json:"searchResults,omitempty"` // ForceSendFields is a list of field names (e.g. "SearchResults") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SearchResults") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation: Observation.
func (GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservation) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult struct { // ChunkInfo: If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, // populate chunk info. ChunkInfo []*GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo `json:"chunkInfo,omitempty"` // Document: Document resource name. Document string `json:"document,omitempty"` // SnippetInfo: If citation_type is DOCUMENT_LEVEL_CITATION, populate document // level snippets. SnippetInfo []*GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo `json:"snippetInfo,omitempty"` // StructData: Data representation. The structured JSON data for the document. // It's populated from the struct data from the Document, or the Chunk in // search result. StructData googleapi.RawMessage `json:"structData,omitempty"` // Title: Title. Title string `json:"title,omitempty"` // Uri: URI for the document. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "ChunkInfo") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChunkInfo") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResult) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo struct { // Chunk: Chunk resource name. Chunk string `json:"chunk,omitempty"` // Content: Chunk textual content. Content string `json:"content,omitempty"` // RelevanceScore: The relevance of the chunk for a given query. Values range // from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is // for informational purpose only. It may change for the same query and chunk // at any time due to a model retraining or change in implementation. RelevanceScore float64 `json:"relevanceScore,omitempty"` // ForceSendFields is a list of field names (e.g. "Chunk") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Chunk") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunk Info: Chunk information.
func (GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo) UnmarshalJSON ¶ added in v0.173.0
func (s *GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultChunkInfo) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo struct { // Snippet: Snippet content. Snippet string `json:"snippet,omitempty"` // SnippetStatus: Status of the snippet defined by the search team. SnippetStatus string `json:"snippetStatus,omitempty"` // ForceSendFields is a list of field names (e.g. "Snippet") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Snippet") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnipp etInfo: Snippet information.
func (GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction struct { // Query: The query to search. Query string `json:"query,omitempty"` // ForceSendFields is a list of field names (e.g. "Query") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Query") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction: Search action.
func (GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaAnswerStepActionSearchAction) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata ¶ added in v0.154.0
type GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata: Metadata related to the progress of the SiteSearchEngineService.BatchCreateTargetSites operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata) MarshalJSON ¶ added in v0.154.0
func (s GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSiteMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse ¶ added in v0.125.0
type GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse struct { // TargetSites: TargetSites created. TargetSites []*GoogleCloudDiscoveryengineV1alphaTargetSite `json:"targetSites,omitempty"` // ForceSendFields is a list of field names (e.g. "TargetSites") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TargetSites") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse: Response message for SiteSearchEngineService.BatchCreateTargetSites method.
func (GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse) MarshalJSON ¶ added in v0.125.0
func (s GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaCmekConfig ¶ added in v0.202.0
type GoogleCloudDiscoveryengineV1alphaCmekConfig struct { // IsDefault: Output only. The default CmekConfig for the Customer. IsDefault bool `json:"isDefault,omitempty"` // KmsKey: Kms key resource name which will be used to encrypt resources // `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId // }`. KmsKey string `json:"kmsKey,omitempty"` // KmsKeyVersion: Kms key version resource name which will be used to encrypt // resources `/cryptoKeyVersions/{keyVersion}`. KmsKeyVersion string `json:"kmsKeyVersion,omitempty"` // LastRotationTimestampMicros: Output only. The timestamp of the last key // rotation. LastRotationTimestampMicros int64 `json:"lastRotationTimestampMicros,omitempty,string"` // Name: Required. Name of the CmekConfig, of the form // `projects/{project}/locations/{location}/cmekConfig` or // `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. Name string `json:"name,omitempty"` // State: Output only. State of the CmekConfig. // // Possible values: // "STATE_UNSPECIFIED" - The CmekConfig state is unknown. // "CREATING" - The CmekConfig is creating. // "ACTIVE" - The CmekConfig can be used with DataStores. // "KEY_ISSUE" - The CmekConfig is unavailable, most likely due to the KMS // Key being revoked. // "DELETING" - The CmekConfig is deleting. // "UNUSABLE" - The CmekConfig is not usable, most likely due to some // internal issue. // "ACTIVE_ROTATING" - The KMS key version is being rotated. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "IsDefault") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IsDefault") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaCmekConfig: Configurations used to enable CMEK data encryption with Cloud KMS keys.
func (GoogleCloudDiscoveryengineV1alphaCmekConfig) MarshalJSON ¶ added in v0.202.0
func (s GoogleCloudDiscoveryengineV1alphaCmekConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaCondition ¶ added in v0.112.0
type GoogleCloudDiscoveryengineV1alphaCondition struct { // ActiveTimeRange: Range of time(s) specifying when condition is active. // Maximum of 10 time ranges. ActiveTimeRange []*GoogleCloudDiscoveryengineV1alphaConditionTimeRange `json:"activeTimeRange,omitempty"` // QueryRegex: Optional. Query regex to match the whole search query. Cannot be // set when Condition.query_terms is set. This is currently supporting // promotion use case. QueryRegex string `json:"queryRegex,omitempty"` // QueryTerms: Search only A list of terms to match the query on. Cannot be set // when Condition.query_regex is set. Maximum of 10 query terms. QueryTerms []*GoogleCloudDiscoveryengineV1alphaConditionQueryTerm `json:"queryTerms,omitempty"` // ForceSendFields is a list of field names (e.g. "ActiveTimeRange") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ActiveTimeRange") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaCondition: Defines circumstances to be checked before allowing a behavior
func (GoogleCloudDiscoveryengineV1alphaCondition) MarshalJSON ¶ added in v0.112.0
func (s GoogleCloudDiscoveryengineV1alphaCondition) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaConditionQueryTerm ¶ added in v0.112.0
type GoogleCloudDiscoveryengineV1alphaConditionQueryTerm struct { // FullMatch: Whether the search query needs to exactly match the query term. FullMatch bool `json:"fullMatch,omitempty"` // Value: The specific query value to match against Must be lowercase, must be // UTF-8. Can have at most 3 space separated terms if full_match is true. // Cannot be an empty string. Maximum length of 5000 characters. Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "FullMatch") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FullMatch") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaConditionQueryTerm: Matcher for search request query
func (GoogleCloudDiscoveryengineV1alphaConditionQueryTerm) MarshalJSON ¶ added in v0.112.0
func (s GoogleCloudDiscoveryengineV1alphaConditionQueryTerm) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaConditionTimeRange ¶ added in v0.112.0
type GoogleCloudDiscoveryengineV1alphaConditionTimeRange struct { // EndTime: End of time range. Range is inclusive. Must be in the future. EndTime string `json:"endTime,omitempty"` // StartTime: Start of time range. Range is inclusive. StartTime string `json:"startTime,omitempty"` // ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaConditionTimeRange: Used for time-dependent conditions.
func (GoogleCloudDiscoveryengineV1alphaConditionTimeRange) MarshalJSON ¶ added in v0.112.0
func (s GoogleCloudDiscoveryengineV1alphaConditionTimeRange) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaControl ¶ added in v0.112.0
type GoogleCloudDiscoveryengineV1alphaControl struct { // AssociatedServingConfigIds: Output only. List of all ServingConfig IDs this // control is attached to. May take up to 10 minutes to update after changes. AssociatedServingConfigIds []string `json:"associatedServingConfigIds,omitempty"` // BoostAction: Defines a boost-type control BoostAction *GoogleCloudDiscoveryengineV1alphaControlBoostAction `json:"boostAction,omitempty"` // Conditions: Determines when the associated action will trigger. Omit to // always apply the action. Currently only a single condition may be specified. // Otherwise an INVALID ARGUMENT error is thrown. Conditions []*GoogleCloudDiscoveryengineV1alphaCondition `json:"conditions,omitempty"` // DisplayName: Required. Human readable name. The identifier used in UI views. // Must be UTF-8 encoded string. Length limit is 128 characters. Otherwise an // INVALID ARGUMENT error is thrown. DisplayName string `json:"displayName,omitempty"` // FilterAction: Defines a filter-type control Currently not supported by // Recommendation FilterAction *GoogleCloudDiscoveryengineV1alphaControlFilterAction `json:"filterAction,omitempty"` // Name: Immutable. Fully qualified name // `projects/*/locations/global/dataStore/*/controls/*` Name string `json:"name,omitempty"` // PromoteAction: Promote certain links based on predefined trigger queries. // This now only supports basic site search. PromoteAction *GoogleCloudDiscoveryengineV1alphaControlPromoteAction `json:"promoteAction,omitempty"` // RedirectAction: Defines a redirect-type control. RedirectAction *GoogleCloudDiscoveryengineV1alphaControlRedirectAction `json:"redirectAction,omitempty"` // SolutionType: Required. Immutable. What solution the control belongs to. // Must be compatible with vertical of resource. Otherwise an INVALID ARGUMENT // error is thrown. // // Possible values: // "SOLUTION_TYPE_UNSPECIFIED" - Default value. // "SOLUTION_TYPE_RECOMMENDATION" - Used for Recommendations AI. // "SOLUTION_TYPE_SEARCH" - Used for Discovery Search. // "SOLUTION_TYPE_CHAT" - Used for use cases related to the Generative AI // agent. // "SOLUTION_TYPE_GENERATIVE_CHAT" - Used for use cases related to the // Generative Chat agent. It's used for Generative chat engine only, the // associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution. SolutionType string `json:"solutionType,omitempty"` // SynonymsAction: Treats a group of terms as synonyms of one another. SynonymsAction *GoogleCloudDiscoveryengineV1alphaControlSynonymsAction `json:"synonymsAction,omitempty"` // UseCases: Specifies the use case for the control. Affects what condition // fields can be set. Only applies to SOLUTION_TYPE_SEARCH. Currently only // allow one use case per control. Must be set when solution_type is // SolutionType.SOLUTION_TYPE_SEARCH. // // Possible values: // "SEARCH_USE_CASE_UNSPECIFIED" - Value used when unset. Will not occur in // CSS. // "SEARCH_USE_CASE_SEARCH" - Search use case. Expects the traffic has a // non-empty query. // "SEARCH_USE_CASE_BROWSE" - Browse use case. Expects the traffic has an // empty query. UseCases []string `json:"useCases,omitempty"` // ForceSendFields is a list of field names (e.g. "AssociatedServingConfigIds") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AssociatedServingConfigIds") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaControl: Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`.
func (GoogleCloudDiscoveryengineV1alphaControl) MarshalJSON ¶ added in v0.112.0
func (s GoogleCloudDiscoveryengineV1alphaControl) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaControlBoostAction ¶ added in v0.112.0
type GoogleCloudDiscoveryengineV1alphaControlBoostAction struct { // Boost: Required. Strength of the boost, which should be in [-1, 1]. Negative // boost means demotion. Default is 0.0 (No-op). Boost float64 `json:"boost,omitempty"` // DataStore: Required. Specifies which data store's documents can be boosted // by this control. Full data store name e.g. // projects/123/locations/global/collections/default_collection/dataStores/defau // lt_data_store DataStore string `json:"dataStore,omitempty"` // Filter: Required. Specifies which products to apply the boost to. If no // filter is provided all products will be boosted (No-op). Syntax // documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum // length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown. Filter string `json:"filter,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaControlBoostAction: Adjusts order of products in returned list.
func (GoogleCloudDiscoveryengineV1alphaControlBoostAction) MarshalJSON ¶ added in v0.112.0
func (s GoogleCloudDiscoveryengineV1alphaControlBoostAction) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1alphaControlBoostAction) UnmarshalJSON ¶ added in v0.112.0
func (s *GoogleCloudDiscoveryengineV1alphaControlBoostAction) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1alphaControlFilterAction ¶ added in v0.112.0
type GoogleCloudDiscoveryengineV1alphaControlFilterAction struct { // DataStore: Required. Specifies which data store's documents can be filtered // by this control. Full data store name e.g. // projects/123/locations/global/collections/default_collection/dataStores/defau // lt_data_store DataStore string `json:"dataStore,omitempty"` // Filter: Required. A filter to apply on the matching condition results. // Required Syntax documentation: // https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 // characters. Otherwise an INVALID ARGUMENT error is thrown. Filter string `json:"filter,omitempty"` // ForceSendFields is a list of field names (e.g. "DataStore") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataStore") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaControlFilterAction: Specified which products may be included in results. Uses same filter as boost.
func (GoogleCloudDiscoveryengineV1alphaControlFilterAction) MarshalJSON ¶ added in v0.112.0
func (s GoogleCloudDiscoveryengineV1alphaControlFilterAction) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaControlPromoteAction ¶ added in v0.210.0
type GoogleCloudDiscoveryengineV1alphaControlPromoteAction struct { // DataStore: Required. Data store with which this promotion is attached to. DataStore string `json:"dataStore,omitempty"` // SearchLinkPromotion: Required. Promotion attached to this action. SearchLinkPromotion *GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion `json:"searchLinkPromotion,omitempty"` // ForceSendFields is a list of field names (e.g. "DataStore") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataStore") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaControlPromoteAction: Promote certain links based on some trigger queries. Example: Promote shoe store link when searching for `shoe` keyword. The link can be outside of associated data store.
func (GoogleCloudDiscoveryengineV1alphaControlPromoteAction) MarshalJSON ¶ added in v0.210.0
func (s GoogleCloudDiscoveryengineV1alphaControlPromoteAction) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaControlRedirectAction ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1alphaControlRedirectAction struct { // RedirectUri: Required. The URI to which the shopper will be redirected. // Required. URI must have length equal or less than 2000 characters. Otherwise // an INVALID ARGUMENT error is thrown. RedirectUri string `json:"redirectUri,omitempty"` // ForceSendFields is a list of field names (e.g. "RedirectUri") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RedirectUri") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaControlRedirectAction: Redirects a shopper to the provided URI.
func (GoogleCloudDiscoveryengineV1alphaControlRedirectAction) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1alphaControlRedirectAction) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaControlSynonymsAction ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1alphaControlSynonymsAction struct { // Synonyms: Defines a set of synonyms. Can specify up to 100 synonyms. Must // specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown. Synonyms []string `json:"synonyms,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaControlSynonymsAction: Creates a set of terms that will act as synonyms of one another. Example: "happy" will also be considered as "glad", "glad" will also be considered as "happy".
func (GoogleCloudDiscoveryengineV1alphaControlSynonymsAction) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1alphaControlSynonymsAction) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries ¶ added in v0.204.0
type GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries struct { // QpsTimeSeries: The QPS of the crawl rate. QpsTimeSeries *GoogleMonitoringV3TimeSeries `json:"qpsTimeSeries,omitempty"` // ForceSendFields is a list of field names (e.g. "QpsTimeSeries") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QpsTimeSeries") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries: The historical crawl rate timeseries data, used for monitoring.
func (GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries) MarshalJSON ¶ added in v0.204.0
func (s GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata ¶ added in v0.151.0
type GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata: Metadata related to the progress of the DataStoreService.CreateDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata) MarshalJSON ¶ added in v0.151.0
func (s GoogleCloudDiscoveryengineV1alphaCreateDataStoreMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata ¶ added in v0.151.0
type GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata: Metadata related to the progress of the EngineService.CreateEngine operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata) MarshalJSON ¶ added in v0.151.0
func (s GoogleCloudDiscoveryengineV1alphaCreateEngineMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaCreateEvaluationMetadata ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaCreateEvaluationMetadata struct { }
GoogleCloudDiscoveryengineV1alphaCreateEvaluationMetadata: Metadata for EvaluationService.CreateEvaluation method.
type GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata: Metadata for Create Schema LRO.
func (GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaCreateSitemapMetadata ¶ added in v0.205.0
type GoogleCloudDiscoveryengineV1alphaCreateSitemapMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaCreateSitemapMetadata: Metadata related to the progress of the SiteSearchEngineService.CreateSitemap operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaCreateSitemapMetadata) MarshalJSON ¶ added in v0.205.0
func (s GoogleCloudDiscoveryengineV1alphaCreateSitemapMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata ¶ added in v0.154.0
type GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata: Metadata related to the progress of the SiteSearchEngineService.CreateTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata) MarshalJSON ¶ added in v0.154.0
func (s GoogleCloudDiscoveryengineV1alphaCreateTargetSiteMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec struct { // EnableSearchAdaptor: Whether or not to enable and include custom fine tuned // search adaptor model. EnableSearchAdaptor bool `json:"enableSearchAdaptor,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableSearchAdaptor") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableSearchAdaptor") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec: Defines custom fine tuning spec.
func (GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaDataStore ¶ added in v0.151.0
type GoogleCloudDiscoveryengineV1alphaDataStore struct { // AclEnabled: Immutable. Whether data in the DataStore has ACL information. If // set to `true`, the source data must have ACL. ACL will be ingested when data // is ingested by DocumentService.ImportDocuments methods. When ACL is enabled // for the DataStore, Document can't be accessed by calling // DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL // is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` // content config. AclEnabled bool `json:"aclEnabled,omitempty"` // AdvancedSiteSearchConfig: Optional. Configuration for advanced site search. AdvancedSiteSearchConfig *GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig `json:"advancedSiteSearchConfig,omitempty"` // BillingEstimation: Output only. Data size estimation for billing. BillingEstimation *GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation `json:"billingEstimation,omitempty"` // CmekConfig: Output only. CMEK-related information for the DataStore. CmekConfig *GoogleCloudDiscoveryengineV1alphaCmekConfig `json:"cmekConfig,omitempty"` // ContentConfig: Immutable. The content config of the data store. If this // field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. // // Possible values: // "CONTENT_CONFIG_UNSPECIFIED" - Default value. // "NO_CONTENT" - Only contains documents without any Document.content. // "CONTENT_REQUIRED" - Only contains documents with Document.content. // "PUBLIC_WEBSITE" - The data store is used for public website search. // "GOOGLE_WORKSPACE" - The data store is used for workspace search. Details // of workspace data store are specified in the WorkspaceConfig. ContentConfig string `json:"contentConfig,omitempty"` // CreateTime: Output only. Timestamp the DataStore was created at. CreateTime string `json:"createTime,omitempty"` // DefaultSchemaId: Output only. The id of the default Schema asscociated to // this data store. DefaultSchemaId string `json:"defaultSchemaId,omitempty"` // DisplayName: Required. The data store display name. This field must be a // UTF-8 encoded string with a length limit of 128 characters. Otherwise, an // INVALID_ARGUMENT error is returned. DisplayName string `json:"displayName,omitempty"` // DocumentProcessingConfig: Configuration for Document understanding and // enrichment. DocumentProcessingConfig *GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig `json:"documentProcessingConfig,omitempty"` // IdpConfig: Output only. Data store level identity provider config. IdpConfig *GoogleCloudDiscoveryengineV1alphaIdpConfig `json:"idpConfig,omitempty"` // IndustryVertical: Immutable. The industry vertical that the data store // registers. // // Possible values: // "INDUSTRY_VERTICAL_UNSPECIFIED" - Value used when unset. // "GENERIC" - The generic vertical for documents that are not specific to // any industry vertical. // "MEDIA" - The media industry vertical. // "HEALTHCARE_FHIR" - The healthcare FHIR vertical. IndustryVertical string `json:"industryVertical,omitempty"` // KmsKeyName: Input only. The KMS key to be used to protect this DataStore at // creation time. Must be set for requests that need to comply with CMEK Org // Policy protections. If this field is set and processed successfully, the // DataStore will be protected by the KMS key, as indicated in the cmek_config // field. KmsKeyName string `json:"kmsKeyName,omitempty"` // LanguageInfo: Language info for DataStore. LanguageInfo *GoogleCloudDiscoveryengineV1alphaLanguageInfo `json:"languageInfo,omitempty"` // Name: Immutable. The full resource name of the data store. Format: // `projects/{project}/locations/{location}/collections/{collection_id}/dataStor // es/{data_store_id}`. This field must be a UTF-8 encoded string with a length // limit of 1024 characters. Name string `json:"name,omitempty"` // NaturalLanguageQueryUnderstandingConfig: Optional. Configuration for Natural // Language Query Understanding. NaturalLanguageQueryUnderstandingConfig *GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig `json:"naturalLanguageQueryUnderstandingConfig,omitempty"` // ServingConfigDataStore: Optional. Stores serving config at DataStore level. ServingConfigDataStore *GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore `json:"servingConfigDataStore,omitempty"` // SolutionTypes: The solutions that the data store enrolls. Available // solutions for each industry_vertical: * `MEDIA`: // `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: // `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be // enrolled. // // Possible values: // "SOLUTION_TYPE_UNSPECIFIED" - Default value. // "SOLUTION_TYPE_RECOMMENDATION" - Used for Recommendations AI. // "SOLUTION_TYPE_SEARCH" - Used for Discovery Search. // "SOLUTION_TYPE_CHAT" - Used for use cases related to the Generative AI // agent. // "SOLUTION_TYPE_GENERATIVE_CHAT" - Used for use cases related to the // Generative Chat agent. It's used for Generative chat engine only, the // associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution. SolutionTypes []string `json:"solutionTypes,omitempty"` // StartingSchema: The start schema to use for this DataStore when provisioning // it. If unset, a default vertical specialized schema will be used. This field // is only used by CreateDataStore API, and will be ignored if used in other // APIs. This field will be omitted from all API responses including // CreateDataStore API. To retrieve a schema of a DataStore, use // SchemaService.GetSchema API instead. The provided schema will be validated // against certain rules on schema. Learn more from this doc // (https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). StartingSchema *GoogleCloudDiscoveryengineV1alphaSchema `json:"startingSchema,omitempty"` // WorkspaceConfig: Config to store data store type configuration for workspace // data. This must be set when DataStore.content_config is set as // DataStore.ContentConfig.GOOGLE_WORKSPACE. WorkspaceConfig *GoogleCloudDiscoveryengineV1alphaWorkspaceConfig `json:"workspaceConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "AclEnabled") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AclEnabled") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaDataStore: DataStore captures global settings and configs at the DataStore level.
func (GoogleCloudDiscoveryengineV1alphaDataStore) MarshalJSON ¶ added in v0.151.0
func (s GoogleCloudDiscoveryengineV1alphaDataStore) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation ¶ added in v0.200.0
type GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation struct { // StructuredDataSize: Data size for structured data in terms of bytes. StructuredDataSize int64 `json:"structuredDataSize,omitempty,string"` // StructuredDataUpdateTime: Last updated timestamp for structured data. StructuredDataUpdateTime string `json:"structuredDataUpdateTime,omitempty"` // UnstructuredDataSize: Data size for unstructured data in terms of bytes. UnstructuredDataSize int64 `json:"unstructuredDataSize,omitempty,string"` // UnstructuredDataUpdateTime: Last updated timestamp for unstructured data. UnstructuredDataUpdateTime string `json:"unstructuredDataUpdateTime,omitempty"` // WebsiteDataSize: Data size for websites in terms of bytes. WebsiteDataSize int64 `json:"websiteDataSize,omitempty,string"` // WebsiteDataUpdateTime: Last updated timestamp for websites. WebsiteDataUpdateTime string `json:"websiteDataUpdateTime,omitempty"` // ForceSendFields is a list of field names (e.g. "StructuredDataSize") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "StructuredDataSize") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation: Estimation of data size per data store.
func (GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation) MarshalJSON ¶ added in v0.200.0
func (s GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore ¶ added in v0.203.0
type GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore struct { // DisabledForServing: If set true, the DataStore will not be available for // serving search requests. DisabledForServing bool `json:"disabledForServing,omitempty"` // ForceSendFields is a list of field names (e.g. "DisabledForServing") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisabledForServing") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore: Stores information regarding the serving configurations at DataStore level.
func (GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore) MarshalJSON ¶ added in v0.203.0
func (s GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries ¶ added in v0.204.0
type GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries struct { // AutoRefreshCrawlRate: Vertex AI's dedicated crawl rate time series of // auto-refresh, which is the crawl rate of Google-CloudVertexBot when dedicate // crawl is set, and the crawl rate is for best effort use cases like // refreshing urls periodically. AutoRefreshCrawlRate *GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries `json:"autoRefreshCrawlRate,omitempty"` // UserTriggeredCrawlRate: Vertex AI's dedicated crawl rate time series of user // triggered crawl, which is the crawl rate of Google-CloudVertexBot when // dedicate crawl is set, and user triggered crawl rate is for deterministic // use cases like crawling urls or sitemaps specified by users. UserTriggeredCrawlRate *GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries `json:"userTriggeredCrawlRate,omitempty"` // ForceSendFields is a list of field names (e.g. "AutoRefreshCrawlRate") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AutoRefreshCrawlRate") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries: The historical dedicated crawl rate timeseries data, used for monitoring. Dedicated crawl is used by Vertex AI to crawl the user's website when dedicate crawl is set.
func (GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries) MarshalJSON ¶ added in v0.204.0
func (s GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata ¶ added in v0.151.0
type GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata: Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata) MarshalJSON ¶ added in v0.151.0
func (s GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata ¶ added in v0.151.0
type GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata: Metadata related to the progress of the EngineService.DeleteEngine operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata) MarshalJSON ¶ added in v0.151.0
func (s GoogleCloudDiscoveryengineV1alphaDeleteEngineMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata: Metadata for DeleteSchema LRO.
func (GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1alphaDeleteSchemaMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest ¶ added in v0.211.0
type GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest struct { // Name: Required. The resource name of the Session to delete. Format: // `projects/{project}/locations/{location}/collections/{collection}/dataStores/ // {data_store_id}/sessions/{session_id}` Name string `json:"name,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest: Request for DeleteSession method.
func (GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest) MarshalJSON ¶ added in v0.211.0
func (s GoogleCloudDiscoveryengineV1alphaDeleteSessionRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata ¶ added in v0.205.0
type GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata: Metadata related to the progress of the SiteSearchEngineService.DeleteSitemap operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata) MarshalJSON ¶ added in v0.205.0
func (s GoogleCloudDiscoveryengineV1alphaDeleteSitemapMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata ¶ added in v0.154.0
type GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata: Metadata related to the progress of the SiteSearchEngineService.DeleteTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata) MarshalJSON ¶ added in v0.154.0
func (s GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata ¶ added in v0.154.0
type GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata: Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata) MarshalJSON ¶ added in v0.154.0
func (s GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse ¶ added in v0.154.0
type GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse struct { }
GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchResponse: Response message for SiteSearchEngineService.DisableAdvancedSiteSearch method.
type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig ¶ added in v0.155.0
type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig struct { // ChunkingConfig: Whether chunking mode is enabled. ChunkingConfig *GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig `json:"chunkingConfig,omitempty"` // DefaultParsingConfig: Configurations for default Document parser. If not // specified, we will configure it as default DigitalParsingConfig, and the // default parsing config will be applied to all file types for Document // parsing. DefaultParsingConfig *GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig `json:"defaultParsingConfig,omitempty"` // Name: The full resource name of the Document Processing Config. Format: // `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`. Name string `json:"name,omitempty"` // ParsingConfigOverrides: Map from file type to override the default parsing // configuration based on the file type. Supported keys: * `pdf`: Override // parsing config for PDF files, either digital parsing, ocr parsing or layout // parsing is supported. * `html`: Override parsing config for HTML files, only // digital parsing and layout parsing are supported. * `docx`: Override parsing // config for DOCX files, only digital parsing and layout parsing are // supported. * `pptx`: Override parsing config for PPTX files, only digital // parsing and layout parsing are supported. * `xlsm`: Override parsing config // for XLSM files, only digital parsing and layout parsing are supported. * // `xlsx`: Override parsing config for XLSX files, only digital parsing and // layout parsing are supported. ParsingConfigOverrides map[string]GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig `json:"parsingConfigOverrides,omitempty"` // ForceSendFields is a list of field names (e.g. "ChunkingConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChunkingConfig") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig: A singleton resource of DataStore. If it's empty when DataStore is created and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the default parser will default to digital parser.
func (GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig) MarshalJSON ¶ added in v0.155.0
func (s GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig ¶ added in v0.169.0
type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig struct { // LayoutBasedChunkingConfig: Configuration for the layout based chunking. LayoutBasedChunkingConfig *GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig `json:"layoutBasedChunkingConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "LayoutBasedChunkingConfig") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LayoutBasedChunkingConfig") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig: Configuration for chunking config.
func (GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig) MarshalJSON ¶ added in v0.169.0
func (s GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig ¶ added in v0.169.0
type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig struct { // ChunkSize: The token size limit for each chunk. Supported values: 100-500 // (inclusive). Default value: 500. ChunkSize int64 `json:"chunkSize,omitempty"` // IncludeAncestorHeadings: Whether to include appending different levels of // headings to chunks from the middle of the document to prevent context loss. // Default value: False. IncludeAncestorHeadings bool `json:"includeAncestorHeadings,omitempty"` // ForceSendFields is a list of field names (e.g. "ChunkSize") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChunkSize") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayout BasedChunkingConfig: Configuration for the layout based chunking.
func (GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig) MarshalJSON ¶ added in v0.169.0
func (s GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig ¶ added in v0.161.0
type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig struct { // DigitalParsingConfig: Configurations applied to digital parser. DigitalParsingConfig *GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig `json:"digitalParsingConfig,omitempty"` // LayoutParsingConfig: Configurations applied to layout parser. LayoutParsingConfig *GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig `json:"layoutParsingConfig,omitempty"` // OcrParsingConfig: Configurations applied to OCR parser. Currently it only // applies to PDFs. OcrParsingConfig *GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig `json:"ocrParsingConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "DigitalParsingConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DigitalParsingConfig") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig: Related configurations applied to a specific type of document parser.
func (GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig) MarshalJSON ¶ added in v0.161.0
func (s GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig ¶ added in v0.170.0
type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigitalParsingConfig struct { }
GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigDigital ParsingConfig: The digital parsing configurations for documents.
type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig ¶ added in v0.170.0
type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig struct { }
GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutP arsingConfig: The layout parsing configurations for documents.
type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig ¶ added in v0.170.0
type GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig struct { // EnhancedDocumentElements: [DEPRECATED] This field is deprecated. To use the // additional enhanced document elements processing, please switch to // `layout_parsing_config`. EnhancedDocumentElements []string `json:"enhancedDocumentElements,omitempty"` // UseNativeText: If true, will use native text instead of OCR text on pages // containing native text. UseNativeText bool `json:"useNativeText,omitempty"` // ForceSendFields is a list of field names (e.g. "EnhancedDocumentElements") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnhancedDocumentElements") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrPars ingConfig: The OCR parsing configurations for documents.
func (GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig) MarshalJSON ¶ added in v0.170.0
func (s GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata ¶ added in v0.154.0
type GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata: Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata) MarshalJSON ¶ added in v0.154.0
func (s GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse ¶ added in v0.154.0
type GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse struct { }
GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse: Response message for SiteSearchEngineService.EnableAdvancedSiteSearch method.
type GoogleCloudDiscoveryengineV1alphaEngine ¶ added in v0.151.0
type GoogleCloudDiscoveryengineV1alphaEngine struct { // ChatEngineConfig: Configurations for the Chat Engine. Only applicable if // solution_type is SOLUTION_TYPE_CHAT. ChatEngineConfig *GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig `json:"chatEngineConfig,omitempty"` // ChatEngineMetadata: Output only. Additional information of the Chat Engine. // Only applicable if solution_type is SOLUTION_TYPE_CHAT. ChatEngineMetadata *GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata `json:"chatEngineMetadata,omitempty"` // CommonConfig: Common config spec that specifies the metadata of the engine. CommonConfig *GoogleCloudDiscoveryengineV1alphaEngineCommonConfig `json:"commonConfig,omitempty"` // CreateTime: Output only. Timestamp the Recommendation Engine was created at. CreateTime string `json:"createTime,omitempty"` // DataStoreIds: The data stores associated with this engine. For // SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they // can only associate with at most one data store. If solution_type is // SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be // associated here. Note that when used in CreateEngineRequest, one DataStore // id must be provided as the system will use it for necessary initializations. DataStoreIds []string `json:"dataStoreIds,omitempty"` // DisableAnalytics: Optional. Whether to disable analytics for searches // performed on this engine. DisableAnalytics bool `json:"disableAnalytics,omitempty"` // DisplayName: Required. The display name of the engine. Should be human // readable. UTF-8 encoded string with limit of 1024 characters. DisplayName string `json:"displayName,omitempty"` // IndustryVertical: The industry vertical that the engine registers. The // restriction of the Engine industry vertical is based on DataStore: Vertical // on Engine has to match vertical of the DataStore linked to the engine. // // Possible values: // "INDUSTRY_VERTICAL_UNSPECIFIED" - Value used when unset. // "GENERIC" - The generic vertical for documents that are not specific to // any industry vertical. // "MEDIA" - The media industry vertical. // "HEALTHCARE_FHIR" - The healthcare FHIR vertical. IndustryVertical string `json:"industryVertical,omitempty"` // MediaRecommendationEngineConfig: Configurations for the Media Engine. Only // applicable on the data stores with solution_type // SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical. MediaRecommendationEngineConfig *GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig `json:"mediaRecommendationEngineConfig,omitempty"` // Name: Immutable. The fully qualified resource name of the engine. This field // must be a UTF-8 encoded string with a length limit of 1024 characters. // Format: // `projects/{project}/locations/{location}/collections/{collection}/engines/{en // gine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. // Otherwise, an INVALID_ARGUMENT error is returned. Name string `json:"name,omitempty"` // RecommendationMetadata: Output only. Additional information of a // recommendation engine. Only applicable if solution_type is // SOLUTION_TYPE_RECOMMENDATION. RecommendationMetadata *GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata `json:"recommendationMetadata,omitempty"` // SearchEngineConfig: Configurations for the Search Engine. Only applicable if // solution_type is SOLUTION_TYPE_SEARCH. SearchEngineConfig *GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig `json:"searchEngineConfig,omitempty"` // SimilarDocumentsConfig: Additional config specs for a `similar-items` // engine. SimilarDocumentsConfig *GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig `json:"similarDocumentsConfig,omitempty"` // SolutionType: Required. The solutions of the engine. // // Possible values: // "SOLUTION_TYPE_UNSPECIFIED" - Default value. // "SOLUTION_TYPE_RECOMMENDATION" - Used for Recommendations AI. // "SOLUTION_TYPE_SEARCH" - Used for Discovery Search. // "SOLUTION_TYPE_CHAT" - Used for use cases related to the Generative AI // agent. // "SOLUTION_TYPE_GENERATIVE_CHAT" - Used for use cases related to the // Generative Chat agent. It's used for Generative chat engine only, the // associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution. SolutionType string `json:"solutionType,omitempty"` // UpdateTime: Output only. Timestamp the Recommendation Engine was last // updated. UpdateTime string `json:"updateTime,omitempty"` // ForceSendFields is a list of field names (e.g. "ChatEngineConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChatEngineConfig") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaEngine: Metadata that describes the training and serving parameters of an Engine.
func (GoogleCloudDiscoveryengineV1alphaEngine) MarshalJSON ¶ added in v0.151.0
func (s GoogleCloudDiscoveryengineV1alphaEngine) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig ¶ added in v0.151.0
type GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig struct { // AgentCreationConfig: The configurationt generate the Dialogflow agent that // is associated to this Engine. Note that these configurations are one-time // consumed by and passed to Dialogflow service. It means they cannot be // retrieved using EngineService.GetEngine or EngineService.ListEngines API // after engine creation. AgentCreationConfig *GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig `json:"agentCreationConfig,omitempty"` // DialogflowAgentToLink: The resource name of an exist Dialogflow agent to // link to this Chat Engine. Customers can either provide // `agent_creation_config` to create agent or provide an agent name that links // the agent with the Chat engine. Format: `projects//locations//agents/`. Note // that the `dialogflow_agent_to_link` are one-time consumed by and passed to // Dialogflow service. It means they cannot be retrieved using // EngineService.GetEngine or EngineService.ListEngines API after engine // creation. Use ChatEngineMetadata.dialogflow_agent for actual agent // association after Engine is created. DialogflowAgentToLink string `json:"dialogflowAgentToLink,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentCreationConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AgentCreationConfig") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig: Configurations for a Chat Engine.
func (GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig) MarshalJSON ¶ added in v0.151.0
func (s GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig ¶ added in v0.151.0
type GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig struct { // Business: Name of the company, organization or other entity that the agent // represents. Used for knowledge connector LLM prompt and for knowledge // search. Business string `json:"business,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. DefaultLanguageCode string `json:"defaultLanguageCode,omitempty"` // Location: Agent location for Agent creation, supported values: global/us/eu. // If not provided, us Engine will create Agent using us-central-1 by default; // eu Engine will create Agent using eu-west-1 by default. Location string `json:"location,omitempty"` // TimeZone: Required. The time zone of the agent from the time zone database // (https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. TimeZone string `json:"timeZone,omitempty"` // ForceSendFields is a list of field names (e.g. "Business") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Business") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig: Configurations for generating a Dialogflow agent. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.
func (GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig) MarshalJSON ¶ added in v0.151.0
func (s GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata ¶ added in v0.151.0
type GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata struct { // DialogflowAgent: The resource name of a Dialogflow agent, that this Chat // Engine refers to. Format: `projects//locations//agents/`. DialogflowAgent string `json:"dialogflowAgent,omitempty"` // ForceSendFields is a list of field names (e.g. "DialogflowAgent") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DialogflowAgent") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata: Additional information of a Chat Engine. Fields in this message are output only.
func (GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata) MarshalJSON ¶ added in v0.151.0
func (s GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaEngineCommonConfig ¶ added in v0.151.0
type GoogleCloudDiscoveryengineV1alphaEngineCommonConfig struct { // CompanyName: The name of the company, business or entity that is associated // with the engine. Setting this may help improve LLM related features. CompanyName string `json:"companyName,omitempty"` // ForceSendFields is a list of field names (e.g. "CompanyName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CompanyName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaEngineCommonConfig: Common configurations for an Engine.
func (GoogleCloudDiscoveryengineV1alphaEngineCommonConfig) MarshalJSON ¶ added in v0.151.0
func (s GoogleCloudDiscoveryengineV1alphaEngineCommonConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig ¶ added in v0.151.0
type GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig struct { // OptimizationObjective: The optimization objective. e.g., `cvr`. This field // together with optimization_objective describe engine metadata to use to // control engine training and serving. Currently supported values: `ctr`, // `cvr`. If not specified, we choose default based on engine type. Default // depends on type of recommendation: `recommended-for-you` => `ctr` // `others-you-may-like` => `ctr` OptimizationObjective string `json:"optimizationObjective,omitempty"` // OptimizationObjectiveConfig: Name and value of the custom threshold for cvr // optimization_objective. For target_field `watch-time`, target_field_value // must be an integer value indicating the media progress time in seconds // between (0, 86400] (excludes 0, includes 86400) (e.g., 90). For target_field // `watch-percentage`, the target_field_value must be a valid float value // between (0, 1.0] (excludes 0, includes 1.0) (e.g., 0.5). OptimizationObjectiveConfig *GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig `json:"optimizationObjectiveConfig,omitempty"` // TrainingState: The training state that the engine is in (e.g. `TRAINING` or // `PAUSED`). Since part of the cost of running the service is frequency of // training - this can be used to determine when to train engine in order to // control cost. If not specified: the default value for `CreateEngine` method // is `TRAINING`. The default value for `UpdateEngine` method is to keep the // state the same as before. // // Possible values: // "TRAINING_STATE_UNSPECIFIED" - Unspecified training state. // "PAUSED" - The engine training is paused. // "TRAINING" - The engine is training. TrainingState string `json:"trainingState,omitempty"` // Type: Required. The type of engine. e.g., `recommended-for-you`. This field // together with optimization_objective describe engine metadata to use to // control engine training and serving. Currently supported values: // `recommended-for-you`, `others-you-may-like`, `more-like-this`, // `most-popular-items`. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "OptimizationObjective") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OptimizationObjective") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig: Additional config specs for a Media Recommendation engine.
func (GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig) MarshalJSON ¶ added in v0.151.0
func (s GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig ¶ added in v0.151.0
type GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig struct { // TargetField: Required. The name of the field to target. Currently supported // values: `watch-percentage`, `watch-time`. TargetField string `json:"targetField,omitempty"` // TargetFieldValueFloat: Required. The threshold to be applied to the target // (e.g., 0.5). TargetFieldValueFloat float64 `json:"targetFieldValueFloat,omitempty"` // ForceSendFields is a list of field names (e.g. "TargetField") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TargetField") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimiz ationObjectiveConfig: Custom threshold for `cvr` optimization_objective.
func (GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig) MarshalJSON ¶ added in v0.151.0
func (s GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig) UnmarshalJSON ¶ added in v0.151.0
func (s *GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfigOptimizationObjectiveConfig) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata ¶ added in v0.151.0
type GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata struct { // DataState: Output only. The state of data requirements for this engine: // `DATA_OK` and `DATA_ERROR`. Engine cannot be trained if the data is in // `DATA_ERROR` state. Engine can have `DATA_ERROR` state even if serving state // is `ACTIVE`: engines were trained successfully before, but cannot be // refreshed because the underlying engine no longer has sufficient data for // training. // // Possible values: // "DATA_STATE_UNSPECIFIED" - Unspecified default value, should never be // explicitly set. // "DATA_OK" - The engine has sufficient training data. // "DATA_ERROR" - The engine does not have sufficient training data. Error // messages can be queried via Stackdriver. DataState string `json:"dataState,omitempty"` // LastTuneTime: Output only. The timestamp when the latest successful tune // finished. Only applicable on Media Recommendation engines. LastTuneTime string `json:"lastTuneTime,omitempty"` // ServingState: Output only. The serving state of the engine: `ACTIVE`, // `NOT_ACTIVE`. // // Possible values: // "SERVING_STATE_UNSPECIFIED" - Unspecified serving state. // "INACTIVE" - The engine is not serving. // "ACTIVE" - The engine is serving and can be queried. // "TUNED" - The engine is trained on tuned hyperparameters and can be // queried. ServingState string `json:"servingState,omitempty"` // TuningOperation: Output only. The latest tune operation id associated with // the engine. Only applicable on Media Recommendation engines. If present, // this operation id can be used to determine if there is an ongoing tune for // this engine. To check the operation status, send the GetOperation request // with this operation id in the engine resource format. If no tuning has // happened for this engine, the string is empty. TuningOperation string `json:"tuningOperation,omitempty"` // ForceSendFields is a list of field names (e.g. "DataState") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataState") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata: Additional information of a recommendation engine.
func (GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata) MarshalJSON ¶ added in v0.151.0
func (s GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig ¶ added in v0.151.0
type GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig struct { // SearchAddOns: The add-on that this search engine enables. // // Possible values: // "SEARCH_ADD_ON_UNSPECIFIED" - Default value when the enum is unspecified. // This is invalid to use. // "SEARCH_ADD_ON_LLM" - Large language model add-on. SearchAddOns []string `json:"searchAddOns,omitempty"` // SearchTier: The search feature tier of this engine. Different tiers might // have different pricing. To learn more, check the pricing documentation. // Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. // // Possible values: // "SEARCH_TIER_UNSPECIFIED" - Default value when the enum is unspecified. // This is invalid to use. // "SEARCH_TIER_STANDARD" - Standard tier. // "SEARCH_TIER_ENTERPRISE" - Enterprise tier. SearchTier string `json:"searchTier,omitempty"` // ForceSendFields is a list of field names (e.g. "SearchAddOns") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SearchAddOns") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig: Configurations for a Search Engine.
func (GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig) MarshalJSON ¶ added in v0.151.0
func (s GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig ¶ added in v0.151.0
type GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig struct { }
GoogleCloudDiscoveryengineV1alphaEngineSimilarDocumentsEngineConfig: Additional config specs for a `similar-items` engine.
type GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata ¶ added in v0.155.0
type GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata: Metadata related to the progress of the EstimateDataSize operation. This is returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata) MarshalJSON ¶ added in v0.155.0
func (s GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse ¶ added in v0.155.0
type GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse struct { // DataSizeBytes: Data size in terms of bytes. DataSizeBytes int64 `json:"dataSizeBytes,omitempty,string"` // DocumentCount: Total number of documents. DocumentCount int64 `json:"documentCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "DataSizeBytes") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataSizeBytes") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse: Response of the EstimateDataSize request. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.
func (GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse) MarshalJSON ¶ added in v0.155.0
func (s GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaEvaluation ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaEvaluation struct { // CreateTime: Output only. Timestamp the Evaluation was created at. CreateTime string `json:"createTime,omitempty"` // EndTime: Output only. Timestamp the Evaluation was completed at. EndTime string `json:"endTime,omitempty"` // Error: Output only. The error that occurred during evaluation. Only // populated when the evaluation's state is FAILED. Error *GoogleRpcStatus `json:"error,omitempty"` // ErrorSamples: Output only. A sample of errors encountered while processing // the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // EvaluationSpec: Required. The specification of the evaluation. EvaluationSpec *GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec `json:"evaluationSpec,omitempty"` // Name: Identifier. The full resource name of the Evaluation, in the format of // `projects/{project}/locations/{location}/evaluations/{evaluation}`. This // field must be a UTF-8 encoded string with a length limit of 1024 characters. Name string `json:"name,omitempty"` // QualityMetrics: Output only. The metrics produced by the evaluation, // averaged across all SampleQuerys in the SampleQuerySet. Only populated when // the evaluation's state is SUCCEEDED. QualityMetrics *GoogleCloudDiscoveryengineV1alphaQualityMetrics `json:"qualityMetrics,omitempty"` // State: Output only. The state of the evaluation. // // Possible values: // "STATE_UNSPECIFIED" - The evaluation is unspecified. // "PENDING" - The service is preparing to run the evaluation. // "RUNNING" - The evaluation is in progress. // "SUCCEEDED" - The evaluation completed successfully. // "FAILED" - The evaluation failed. State string `json:"state,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaEvaluation: An evaluation is a single execution (or run) of an evaluation process. It encapsulates the state of the evaluation and the resulting data.
func (GoogleCloudDiscoveryengineV1alphaEvaluation) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaEvaluation) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec struct { // QuerySetSpec: Required. The specification of the query set. QuerySetSpec *GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec `json:"querySetSpec,omitempty"` // SearchRequest: Required. The search request that is used to perform the // evaluation. Only the following fields within SearchRequest are supported; if // any other fields are provided, an UNSUPPORTED error will be returned: * // SearchRequest.serving_config * SearchRequest.branch * // SearchRequest.canonical_filter * SearchRequest.query_expansion_spec * // SearchRequest.spell_correction_spec * SearchRequest.content_search_spec * // SearchRequest.user_pseudo_id SearchRequest *GoogleCloudDiscoveryengineV1alphaSearchRequest `json:"searchRequest,omitempty"` // ForceSendFields is a list of field names (e.g. "QuerySetSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QuerySetSpec") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec: Describes the specification of the evaluation.
func (GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec struct { // SampleQuerySet: Required. The full resource name of the SampleQuerySet used // for the evaluation, in the format of // `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. SampleQuerySet string `json:"sampleQuerySet,omitempty"` // ForceSendFields is a list of field names (e.g. "SampleQuerySet") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SampleQuerySet") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec: Describes the specification of the query set.
func (GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse ¶ added in v0.205.0
type GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse struct { // SitemapsMetadata: List of Sitemaps fetched. SitemapsMetadata []*GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata `json:"sitemapsMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "SitemapsMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SitemapsMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse: Response message for SiteSearchEngineService.FetchSitemaps method.
func (GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse) MarshalJSON ¶ added in v0.205.0
func (s GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata ¶ added in v0.205.0
type GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata struct { // Sitemap: The Sitemap. Sitemap *GoogleCloudDiscoveryengineV1alphaSitemap `json:"sitemap,omitempty"` // ForceSendFields is a list of field names (e.g. "Sitemap") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Sitemap") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata: Contains a Sitemap and its metadata.
func (GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata) MarshalJSON ¶ added in v0.205.0
func (s GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaFieldConfig ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1alphaFieldConfig struct { // AdvancedSiteSearchDataSources: If this field is set, only the corresponding // source will be indexed for this field. Otherwise, the values from different // sources are merged. Assuming a page with “ in meta tag, and “ in page map: // if this enum is set to METATAGS, we will only index “; if this enum is not // set, we will merge them and index “. // // Possible values: // "ADVANCED_SITE_SEARCH_DATA_SOURCE_UNSPECIFIED" - Value used when unset. // "METATAGS" - Retrieve value from meta tag. // "PAGEMAP" - Retrieve value from page map. // "URI_PATTERN_MAPPING" - Retrieve value from the attributes set by // SiteSearchEngineService.SetUriPatternDocumentData API. // "SCHEMA_ORG" - Retrieve value from schema.org data. AdvancedSiteSearchDataSources []string `json:"advancedSiteSearchDataSources,omitempty"` // CompletableOption: If completable_option is COMPLETABLE_ENABLED, field // values are directly used and returned as suggestions for Autocomplete in // CompletionService.CompleteQuery. If completable_option is unset, the server // behavior defaults to COMPLETABLE_DISABLED for fields that support setting // completable options, which are just `string` fields. For those fields that // do not support setting completable options, the server will skip completable // option setting, and setting completable_option for those fields will throw // `INVALID_ARGUMENT` error. // // Possible values: // "COMPLETABLE_OPTION_UNSPECIFIED" - Value used when unset. // "COMPLETABLE_ENABLED" - Completable option enabled for a schema field. // "COMPLETABLE_DISABLED" - Completable option disabled for a schema field. CompletableOption string `json:"completableOption,omitempty"` // DynamicFacetableOption: If dynamic_facetable_option is // DYNAMIC_FACETABLE_ENABLED, field values are available for dynamic facet. // Could only be DYNAMIC_FACETABLE_DISABLED if FieldConfig.indexable_option is // INDEXABLE_DISABLED. Otherwise, an `INVALID_ARGUMENT` error will be returned. // If dynamic_facetable_option is unset, the server behavior defaults to // DYNAMIC_FACETABLE_DISABLED for fields that support setting dynamic facetable // options. For those fields that do not support setting dynamic facetable // options, such as `object` and `boolean`, the server will skip dynamic // facetable option setting, and setting dynamic_facetable_option for those // fields will throw `INVALID_ARGUMENT` error. // // Possible values: // "DYNAMIC_FACETABLE_OPTION_UNSPECIFIED" - Value used when unset. // "DYNAMIC_FACETABLE_ENABLED" - Dynamic facetable option enabled for a // schema field. // "DYNAMIC_FACETABLE_DISABLED" - Dynamic facetable option disabled for a // schema field. DynamicFacetableOption string `json:"dynamicFacetableOption,omitempty"` // FieldPath: Required. Field path of the schema field. For example: `title`, // `description`, `release_info.release_year`. FieldPath string `json:"fieldPath,omitempty"` // FieldType: Output only. Raw type of the field. // // Possible values: // "FIELD_TYPE_UNSPECIFIED" - Field type is unspecified. // "OBJECT" - Field value type is Object. // "STRING" - Field value type is String. // "NUMBER" - Field value type is Number. // "INTEGER" - Field value type is Integer. // "BOOLEAN" - Field value type is Boolean. // "GEOLOCATION" - Field value type is Geolocation. Geolocation is expressed // as an object with the following keys: * `id`: a string representing the // location id * `longitude`: a number representing the longitude coordinate of // the location * `latitude`: a number repesenting the latitude coordinate of // the location * `address`: a string representing the full address of the // location `latitude` and `longitude` must always be provided together. At // least one of a) `address` or b) `latitude`-`longitude` pair must be // provided. // "DATETIME" - Field value type is Datetime. Datetime can be expressed as // either: * a number representing milliseconds-since-the-epoch * a string // representing milliseconds-since-the-epoch. e.g. "1420070400001" * a string // representing the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date or // date and time. e.g. "2015-01-01" or "2015-01-01T12:10:30Z" FieldType string `json:"fieldType,omitempty"` // IndexableOption: If indexable_option is INDEXABLE_ENABLED, field values are // indexed so that it can be filtered or faceted in SearchService.Search. If // indexable_option is unset, the server behavior defaults to // INDEXABLE_DISABLED for fields that support setting indexable options. For // those fields that do not support setting indexable options, such as `object` // and `boolean` and key properties, the server will skip indexable_option // setting, and setting indexable_option for those fields will throw // `INVALID_ARGUMENT` error. // // Possible values: // "INDEXABLE_OPTION_UNSPECIFIED" - Value used when unset. // "INDEXABLE_ENABLED" - Indexable option enabled for a schema field. // "INDEXABLE_DISABLED" - Indexable option disabled for a schema field. IndexableOption string `json:"indexableOption,omitempty"` // KeyPropertyType: Output only. Type of the key property that this field is // mapped to. Empty string if this is not annotated as mapped to a key // property. Example types are `title`, `description`. Full list is defined by // `keyPropertyMapping` in the schema field annotation. If the schema field has // a `KeyPropertyMapping` annotation, `indexable_option` and // `searchable_option` of this field cannot be modified. KeyPropertyType string `json:"keyPropertyType,omitempty"` // MetatagName: Optional. The metatag name found in the HTML page. If user // defines this field, the value of this metatag name will be used to extract // metatag. If the user does not define this field, the FieldConfig.field_path // will be used to extract metatag. MetatagName string `json:"metatagName,omitempty"` // RecsFilterableOption: If recs_filterable_option is FILTERABLE_ENABLED, field // values are filterable by filter expression in // RecommendationService.Recommend. If FILTERABLE_ENABLED but the field type is // numerical, field values are not filterable by text queries in // RecommendationService.Recommend. Only textual fields are supported. If // recs_filterable_option is unset, the default setting is FILTERABLE_DISABLED // for fields that support setting filterable options. When a field set to // [FILTERABLE_DISABLED] is filtered, a warning is generated and an empty // result is returned. // // Possible values: // "FILTERABLE_OPTION_UNSPECIFIED" - Value used when unset. // "FILTERABLE_ENABLED" - Filterable option enabled for a schema field. // "FILTERABLE_DISABLED" - Filterable option disabled for a schema field. RecsFilterableOption string `json:"recsFilterableOption,omitempty"` // RetrievableOption: If retrievable_option is RETRIEVABLE_ENABLED, field // values are included in the search results. If retrievable_option is unset, // the server behavior defaults to RETRIEVABLE_DISABLED for fields that support // setting retrievable options. For those fields that do not support setting // retrievable options, such as `object` and `boolean`, the server will skip // retrievable option setting, and setting retrievable_option for those fields // will throw `INVALID_ARGUMENT` error. // // Possible values: // "RETRIEVABLE_OPTION_UNSPECIFIED" - Value used when unset. // "RETRIEVABLE_ENABLED" - Retrievable option enabled for a schema field. // "RETRIEVABLE_DISABLED" - Retrievable option disabled for a schema field. RetrievableOption string `json:"retrievableOption,omitempty"` // SchemaOrgPaths: Field paths for indexing custom attribute from schema.org // data. More details of schema.org and its defined types can be found at // schema.org (https://schema.org). It is only used on advanced site search // schema. Currently only support full path from root. The full path to a field // is constructed by concatenating field names, starting from `_root`, with a // period `.` as the delimiter. Examples: * Publish date of the root: // _root.datePublished * Publish date of the reviews: // _root.review.datePublished SchemaOrgPaths []string `json:"schemaOrgPaths,omitempty"` // SearchableOption: If searchable_option is SEARCHABLE_ENABLED, field values // are searchable by text queries in SearchService.Search. If // SEARCHABLE_ENABLED but field type is numerical, field values will not be // searchable by text queries in SearchService.Search, as there are no text // values associated to numerical fields. If searchable_option is unset, the // server behavior defaults to SEARCHABLE_DISABLED for fields that support // setting searchable options. Only `string` fields that have no key property // mapping support setting searchable_option. For those fields that do not // support setting searchable options, the server will skip searchable option // setting, and setting searchable_option for those fields will throw // `INVALID_ARGUMENT` error. // // Possible values: // "SEARCHABLE_OPTION_UNSPECIFIED" - Value used when unset. // "SEARCHABLE_ENABLED" - Searchable option enabled for a schema field. // "SEARCHABLE_DISABLED" - Searchable option disabled for a schema field. SearchableOption string `json:"searchableOption,omitempty"` // ForceSendFields is a list of field names (e.g. // "AdvancedSiteSearchDataSources") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields // for more details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdvancedSiteSearchDataSources") // to include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaFieldConfig: Configurations for fields of a schema. For example, configuring a field is indexable, or searchable.
func (GoogleCloudDiscoveryengineV1alphaFieldConfig) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1alphaFieldConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaGetSessionRequest ¶ added in v0.211.0
type GoogleCloudDiscoveryengineV1alphaGetSessionRequest struct { // IncludeAnswerDetails: Optional. If set to true, the full session including // all answer details will be returned. IncludeAnswerDetails bool `json:"includeAnswerDetails,omitempty"` // Name: Required. The resource name of the Session to get. Format: // `projects/{project}/locations/{location}/collections/{collection}/dataStores/ // {data_store_id}/sessions/{session_id}` Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "IncludeAnswerDetails") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IncludeAnswerDetails") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaGetSessionRequest: Request for GetSession method.
func (GoogleCloudDiscoveryengineV1alphaGetSessionRequest) MarshalJSON ¶ added in v0.211.0
func (s GoogleCloudDiscoveryengineV1alphaGetSessionRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse struct { // DocumentDataMap: Document data keyed by URI pattern. For example: // document_data_map = { "www.url1.com/*": { "Categories": ["category1", // "category2"] }, "www.url2.com/*": { "Categories": ["category3"] } } DocumentDataMap map[string]googleapi.RawMessage `json:"documentDataMap,omitempty"` // ForceSendFields is a list of field names (e.g. "DocumentDataMap") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DocumentDataMap") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse: Response message for SiteSearchEngineService.GetUriPatternDocumentData method.
func (GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaGetUriPatternDocumentDataResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaIdpConfig ¶ added in v0.168.0
type GoogleCloudDiscoveryengineV1alphaIdpConfig struct { // ExternalIdpConfig: External Identity provider config. ExternalIdpConfig *GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig `json:"externalIdpConfig,omitempty"` // IdpType: Identity provider type configured. // // Possible values: // "IDP_TYPE_UNSPECIFIED" - Default value. ACL search not enabled. // "GSUITE" - Google 1P provider. // "THIRD_PARTY" - Third party provider. IdpType string `json:"idpType,omitempty"` // ForceSendFields is a list of field names (e.g. "ExternalIdpConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExternalIdpConfig") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaIdpConfig: Identity Provider Config.
func (GoogleCloudDiscoveryengineV1alphaIdpConfig) MarshalJSON ¶ added in v0.168.0
func (s GoogleCloudDiscoveryengineV1alphaIdpConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig ¶ added in v0.168.0
type GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig struct { // WorkforcePoolName: Workforce pool name. Example: // "locations/global/workforcePools/pool_id" WorkforcePoolName string `json:"workforcePoolName,omitempty"` // ForceSendFields is a list of field names (e.g. "WorkforcePoolName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "WorkforcePoolName") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig: Third party IDP Config.
func (GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig) MarshalJSON ¶ added in v0.168.0
func (s GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata ¶ added in v0.186.0
type GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // FailureCount: Count of CompletionSuggestions that failed to be imported. FailureCount int64 `json:"failureCount,omitempty,string"` // SuccessCount: Count of CompletionSuggestions successfully imported. SuccessCount int64 `json:"successCount,omitempty,string"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata: Metadata related to the progress of the ImportCompletionSuggestions operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata) MarshalJSON ¶ added in v0.186.0
func (s GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse ¶ added in v0.186.0
type GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse struct { // ErrorConfig: The desired location of errors incurred during the Import. ErrorConfig *GoogleCloudDiscoveryengineV1alphaImportErrorConfig `json:"errorConfig,omitempty"` // ErrorSamples: A sample of errors encountered while processing the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // ForceSendFields is a list of field names (e.g. "ErrorConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse: Response of the CompletionService.ImportCompletionSuggestions method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.
func (GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse) MarshalJSON ¶ added in v0.186.0
func (s GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata ¶
type GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // FailureCount: Count of entries that encountered errors while processing. FailureCount int64 `json:"failureCount,omitempty,string"` // SuccessCount: Count of entries that were processed successfully. SuccessCount int64 `json:"successCount,omitempty,string"` // TotalCount: Total count of entries that were processed. TotalCount int64 `json:"totalCount,omitempty,string"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata: Metadata related to the progress of the ImportDocuments operation. This is returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse ¶
type GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse struct { // ErrorConfig: Echoes the destination for the complete errors in the request // if set. ErrorConfig *GoogleCloudDiscoveryengineV1alphaImportErrorConfig `json:"errorConfig,omitempty"` // ErrorSamples: A sample of errors encountered while processing the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // ForceSendFields is a list of field names (e.g. "ErrorConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse: Response of the ImportDocumentsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.
func (GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1alphaImportDocumentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaImportErrorConfig ¶
type GoogleCloudDiscoveryengineV1alphaImportErrorConfig struct { // GcsPrefix: Cloud Storage prefix for import errors. This must be an empty, // existing Cloud Storage directory. Import errors are written to sharded files // in this directory, one per line, as a JSON-encoded `google.rpc.Status` // message. GcsPrefix string `json:"gcsPrefix,omitempty"` // ForceSendFields is a list of field names (e.g. "GcsPrefix") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GcsPrefix") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaImportErrorConfig: Configuration of destination for Import related errors.
func (GoogleCloudDiscoveryengineV1alphaImportErrorConfig) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1alphaImportErrorConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata struct { // CreateTime: ImportSampleQueries operation create time. CreateTime string `json:"createTime,omitempty"` // FailureCount: Count of SampleQuerys that failed to be imported. FailureCount int64 `json:"failureCount,omitempty,string"` // SuccessCount: Count of SampleQuerys successfully imported. SuccessCount int64 `json:"successCount,omitempty,string"` // TotalCount: Total count of SampleQuerys that were processed. TotalCount int64 `json:"totalCount,omitempty,string"` // UpdateTime: ImportSampleQueries operation last update time. If the operation // is done, this is also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata: Metadata related to the progress of the ImportSampleQueries operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaImportSampleQueriesMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaImportSampleQueriesResponse ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaImportSampleQueriesResponse struct { // ErrorConfig: The desired location of errors incurred during the Import. ErrorConfig *GoogleCloudDiscoveryengineV1alphaImportErrorConfig `json:"errorConfig,omitempty"` // ErrorSamples: A sample of errors encountered while processing the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // ForceSendFields is a list of field names (e.g. "ErrorConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaImportSampleQueriesResponse: Response of the SampleQueryService.ImportSampleQueries method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.
func (GoogleCloudDiscoveryengineV1alphaImportSampleQueriesResponse) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaImportSampleQueriesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata ¶ added in v0.156.0
type GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata: Metadata related to the progress of the ImportSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata) MarshalJSON ¶ added in v0.156.0
func (s GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse ¶ added in v0.156.0
type GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse struct { // ErrorSamples: A sample of errors encountered while processing the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // FailedEntriesCount: Count of deny list entries that failed to be imported. FailedEntriesCount int64 `json:"failedEntriesCount,omitempty,string"` // ImportedEntriesCount: Count of deny list entries successfully imported. ImportedEntriesCount int64 `json:"importedEntriesCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorSamples") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse: Response message for CompletionService.ImportSuggestionDenyListEntries method.
func (GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse) MarshalJSON ¶ added in v0.156.0
func (s GoogleCloudDiscoveryengineV1alphaImportSuggestionDenyListEntriesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata ¶
type GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // FailureCount: Count of entries that encountered errors while processing. FailureCount int64 `json:"failureCount,omitempty,string"` // SuccessCount: Count of entries that were processed successfully. SuccessCount int64 `json:"successCount,omitempty,string"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata: Metadata related to the progress of the Import operation. This is returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1alphaImportUserEventsMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse ¶
type GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse struct { // ErrorConfig: Echoes the destination for the complete errors if this field // was set in the request. ErrorConfig *GoogleCloudDiscoveryengineV1alphaImportErrorConfig `json:"errorConfig,omitempty"` // ErrorSamples: A sample of errors encountered while processing the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // JoinedEventsCount: Count of user events imported with complete existing // Documents. JoinedEventsCount int64 `json:"joinedEventsCount,omitempty,string"` // UnjoinedEventsCount: Count of user events imported, but with Document // information not found in the existing Branch. UnjoinedEventsCount int64 `json:"unjoinedEventsCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ErrorConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse: Response of the ImportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.
func (GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1alphaImportUserEventsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaInterval ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaInterval struct { // ExclusiveMaximum: Exclusive upper bound. ExclusiveMaximum float64 `json:"exclusiveMaximum,omitempty"` // ExclusiveMinimum: Exclusive lower bound. ExclusiveMinimum float64 `json:"exclusiveMinimum,omitempty"` // Maximum: Inclusive upper bound. Maximum float64 `json:"maximum,omitempty"` // Minimum: Inclusive lower bound. Minimum float64 `json:"minimum,omitempty"` // ForceSendFields is a list of field names (e.g. "ExclusiveMaximum") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExclusiveMaximum") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaInterval: A floating point interval.
func (GoogleCloudDiscoveryengineV1alphaInterval) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaInterval) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1alphaInterval) UnmarshalJSON ¶ added in v0.190.0
func (s *GoogleCloudDiscoveryengineV1alphaInterval) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1alphaLanguageInfo ¶ added in v0.185.0
type GoogleCloudDiscoveryengineV1alphaLanguageInfo struct { // Language: Output only. Language part of normalized_language_code. E.g.: // `en-US` -> `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`. Language string `json:"language,omitempty"` // LanguageCode: The language code for the DataStore. LanguageCode string `json:"languageCode,omitempty"` // NormalizedLanguageCode: Output only. This is the normalized form of // language_code. E.g.: language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` // will have normalized_language_code of `en-GB`. NormalizedLanguageCode string `json:"normalizedLanguageCode,omitempty"` // Region: Output only. Region part of normalized_language_code, if present. // E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> “. Region string `json:"region,omitempty"` // ForceSendFields is a list of field names (e.g. "Language") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Language") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaLanguageInfo: Language info for DataStore.
func (GoogleCloudDiscoveryengineV1alphaLanguageInfo) MarshalJSON ¶ added in v0.185.0
func (s GoogleCloudDiscoveryengineV1alphaLanguageInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaListSessionsRequest ¶ added in v0.211.0
type GoogleCloudDiscoveryengineV1alphaListSessionsRequest struct { // Filter: A filter to apply on the list results. The supported features are: // user_pseudo_id, state. Example: "user_pseudo_id = some_id" Filter string `json:"filter,omitempty"` // OrderBy: A comma-separated list of fields to order by, sorted in ascending // order. Use "desc" after a field name for descending. Supported fields: * // `update_time` * `create_time` * `session_name` * `is_pinned` Example: * // "update_time desc" * "create_time" * "is_pinned desc,update_time desc": list // sessions by is_pinned first, then by update_time. OrderBy string `json:"orderBy,omitempty"` // PageSize: Maximum number of results to return. If unspecified, defaults to // 50. Max allowed value is 1000. PageSize int64 `json:"pageSize,omitempty"` // PageToken: A page token, received from a previous `ListSessions` call. // Provide this to retrieve the subsequent page. PageToken string `json:"pageToken,omitempty"` // Parent: Required. The data store resource name. Format: // `projects/{project}/locations/{location}/collections/{collection}/dataStores/ // {data_store_id}` Parent string `json:"parent,omitempty"` // ForceSendFields is a list of field names (e.g. "Filter") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Filter") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaListSessionsRequest: Request for ListSessions method.
func (GoogleCloudDiscoveryengineV1alphaListSessionsRequest) MarshalJSON ¶ added in v0.211.0
func (s GoogleCloudDiscoveryengineV1alphaListSessionsRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaListSessionsResponse ¶ added in v0.211.0
type GoogleCloudDiscoveryengineV1alphaListSessionsResponse struct { // NextPageToken: Pagination token, if not returned indicates the last page. NextPageToken string `json:"nextPageToken,omitempty"` // Sessions: All the Sessions for a given data store. Sessions []*GoogleCloudDiscoveryengineV1alphaSession `json:"sessions,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaListSessionsResponse: Response for ListSessions method.
func (GoogleCloudDiscoveryengineV1alphaListSessionsResponse) MarshalJSON ¶ added in v0.211.0
func (s GoogleCloudDiscoveryengineV1alphaListSessionsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig ¶ added in v0.198.0
type GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig struct { // Mode: Mode of Natural Language Query Understanding. If this field is unset, // the behavior defaults to // NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED. // // Possible values: // "MODE_UNSPECIFIED" - Default value. // "DISABLED" - Natural Language Query Understanding is disabled. // "ENABLED" - Natural Language Query Understanding is enabled. Mode string `json:"mode,omitempty"` // ForceSendFields is a list of field names (e.g. "Mode") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Mode") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig: Configuration for Natural Language Query Understanding.
func (GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig) MarshalJSON ¶ added in v0.198.0
func (s GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse ¶ added in v0.204.0
type GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse struct { // DedicatedCrawlRateTimeSeries: The historical dedicated crawl rate timeseries // data, used for monitoring. DedicatedCrawlRateTimeSeries *GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries `json:"dedicatedCrawlRateTimeSeries,omitempty"` // Error: Errors from service when handling the request. Error *GoogleRpcStatus `json:"error,omitempty"` // OrganicCrawlRateTimeSeries: The historical organic crawl rate timeseries // data, used for monitoring. OrganicCrawlRateTimeSeries *GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries `json:"organicCrawlRateTimeSeries,omitempty"` // State: Output only. The state of the response. // // Possible values: // "STATE_UNSPECIFIED" - The state is unspecified. // "SUCCEEDED" - The state is successful. // "FAILED" - The state is failed. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. // "DedicatedCrawlRateTimeSeries") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields // for more details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DedicatedCrawlRateTimeSeries") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse: Response message for CrawlRateManagementService.ObtainCrawlRate method. The response contains organcic or dedicated crawl rate time series data for monitoring, depending on whether dedicated crawl rate is set.
func (GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse) MarshalJSON ¶ added in v0.204.0
func (s GoogleCloudDiscoveryengineV1alphaObtainCrawlRateResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries ¶ added in v0.204.0
type GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries struct { // GoogleOrganicCrawlRate: Google's organic crawl rate time series, which is // the sum of all googlebots' crawl rate. Please refer to // https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers // for more details about googlebots. GoogleOrganicCrawlRate *GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries `json:"googleOrganicCrawlRate,omitempty"` // VertexAiOrganicCrawlRate: Vertex AI's organic crawl rate time series, which // is the crawl rate of Google-CloudVertexBot when dedicate crawl is not set. // Please refer to // https://developers.google.com/search/docs/crawling-indexing/google-common-crawlers#google-cloudvertexbot // for more details about Google-CloudVertexBot. VertexAiOrganicCrawlRate *GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries `json:"vertexAiOrganicCrawlRate,omitempty"` // ForceSendFields is a list of field names (e.g. "GoogleOrganicCrawlRate") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GoogleOrganicCrawlRate") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries: The historical organic crawl rate timeseries data, used for monitoring. Organic crawl is auto-determined by Google to crawl the user's website when dedicate crawl is not set. Crawl rate is the QPS of crawl request Google sends to the user's website.
func (GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries) MarshalJSON ¶ added in v0.204.0
func (s GoogleCloudDiscoveryengineV1alphaOrganicCrawlRateTimeSeries) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaProject ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaProject struct { // CreateTime: Output only. The timestamp when this project is created. CreateTime string `json:"createTime,omitempty"` // Name: Output only. Full resource name of the project, for example // `projects/{project}`. Note that when making requests, project number and // project id are both acceptable, but the server will always respond in // project number. Name string `json:"name,omitempty"` // ProvisionCompletionTime: Output only. The timestamp when this project is // successfully provisioned. Empty value means this project is still // provisioning and is not ready for use. ProvisionCompletionTime string `json:"provisionCompletionTime,omitempty"` // ServiceTermsMap: Output only. A map of terms of services. The key is the // `id` of ServiceTerms. ServiceTermsMap map[string]GoogleCloudDiscoveryengineV1alphaProjectServiceTerms `json:"serviceTermsMap,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaProject: Metadata and configurations for a Google Cloud project in the service.
func (GoogleCloudDiscoveryengineV1alphaProject) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaProject) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaProjectServiceTerms ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaProjectServiceTerms struct { // AcceptTime: The last time when the project agreed to the terms of service. AcceptTime string `json:"acceptTime,omitempty"` // DeclineTime: The last time when the project declined or revoked the // agreement to terms of service. DeclineTime string `json:"declineTime,omitempty"` // Id: The unique identifier of this terms of service. Available terms: * // `GA_DATA_USE_TERMS`: Terms for data use // (https://cloud.google.com/retail/data-use-terms). When using this as `id`, // the acceptable version to provide is `2022-11-23`. Id string `json:"id,omitempty"` // State: Whether the project has accepted/rejected the service terms or it is // still pending. // // Possible values: // "STATE_UNSPECIFIED" - The default value of the enum. This value is not // actually used. // "TERMS_ACCEPTED" - The project has given consent to the terms of service. // "TERMS_PENDING" - The project is pending to review and accept the terms of // service. // "TERMS_DECLINED" - The project has declined or revoked the agreement to // terms of service. State string `json:"state,omitempty"` // Version: The version string of the terms of service. For acceptable values, // see the comments for id above. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "AcceptTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AcceptTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaProjectServiceTerms: Metadata about the terms of service.
func (GoogleCloudDiscoveryengineV1alphaProjectServiceTerms) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaProjectServiceTerms) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaProvisionProjectMetadata ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaProvisionProjectMetadata struct { }
GoogleCloudDiscoveryengineV1alphaProvisionProjectMetadata: Metadata associated with a project provision operation.
type GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata ¶ added in v0.186.0
type GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata: Metadata related to the progress of the PurgeCompletionSuggestions operation. This is returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata) MarshalJSON ¶ added in v0.186.0
func (s GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsResponse ¶ added in v0.186.0
type GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsResponse struct { // ErrorSamples: A sample of errors encountered while processing the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // PurgeSucceeded: Whether the completion suggestions were successfully purged. PurgeSucceeded bool `json:"purgeSucceeded,omitempty"` // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorSamples") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsResponse: Response message for CompletionService.PurgeCompletionSuggestions method.
func (GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsResponse) MarshalJSON ¶ added in v0.186.0
func (s GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata ¶ added in v0.122.0
type GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // FailureCount: Count of entries that encountered errors while processing. FailureCount int64 `json:"failureCount,omitempty,string"` // IgnoredCount: Count of entries that were ignored as entries were not found. IgnoredCount int64 `json:"ignoredCount,omitempty,string"` // SuccessCount: Count of entries that were deleted successfully. SuccessCount int64 `json:"successCount,omitempty,string"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata: Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata) MarshalJSON ¶ added in v0.122.0
func (s GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse ¶ added in v0.122.0
type GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse struct { // PurgeCount: The total count of documents purged as a result of the // operation. PurgeCount int64 `json:"purgeCount,omitempty,string"` // PurgeSample: A sample of document names that will be deleted. Only populated // if `force` is set to false. A max of 100 names will be returned and the // names are chosen at random. PurgeSample []string `json:"purgeSample,omitempty"` // ForceSendFields is a list of field names (e.g. "PurgeCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PurgeCount") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse: Response message for DocumentService.PurgeDocuments method. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.
func (GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse) MarshalJSON ¶ added in v0.122.0
func (s GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata ¶ added in v0.156.0
type GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata: Metadata related to the progress of the PurgeSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata) MarshalJSON ¶ added in v0.156.0
func (s GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesResponse ¶ added in v0.156.0
type GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesResponse struct { // ErrorSamples: A sample of errors encountered while processing the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // PurgeCount: Number of suggestion deny list entries purged. PurgeCount int64 `json:"purgeCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorSamples") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesResponse: Response message for CompletionService.PurgeSuggestionDenyListEntries method.
func (GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesResponse) MarshalJSON ¶ added in v0.156.0
func (s GoogleCloudDiscoveryengineV1alphaPurgeSuggestionDenyListEntriesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata ¶ added in v0.129.0
type GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // FailureCount: Count of entries that encountered errors while processing. FailureCount int64 `json:"failureCount,omitempty,string"` // SuccessCount: Count of entries that were deleted successfully. SuccessCount int64 `json:"successCount,omitempty,string"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata: Metadata related to the progress of the PurgeUserEvents operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata) MarshalJSON ¶ added in v0.129.0
func (s GoogleCloudDiscoveryengineV1alphaPurgeUserEventsMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaPurgeUserEventsResponse ¶ added in v0.129.0
type GoogleCloudDiscoveryengineV1alphaPurgeUserEventsResponse struct { // PurgeCount: The total count of events purged as a result of the operation. PurgeCount int64 `json:"purgeCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "PurgeCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PurgeCount") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaPurgeUserEventsResponse: Response of the PurgeUserEventsRequest. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.
func (GoogleCloudDiscoveryengineV1alphaPurgeUserEventsResponse) MarshalJSON ¶ added in v0.129.0
func (s GoogleCloudDiscoveryengineV1alphaPurgeUserEventsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaQualityMetrics ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaQualityMetrics struct { // DocNdcg: Normalized discounted cumulative gain (NDCG) per document, at // various top-k cutoff levels. NDCG measures the ranking quality, giving // higher relevance to top results. Example (top-3): Suppose SampleQuery with // three retrieved documents (D1, D2, D3) and binary relevance judgements (1 // for relevant, 0 for not relevant): Retrieved: [D3 (0), D1 (1), D2 (1)] // Ideal: [D1 (1), D2 (1), D3 (0)] Calculate NDCG@3 for each SampleQuery: * // DCG@3: 0/log2(1+1) + 1/log2(2+1) + 1/log2(3+1) = 1.13 * Ideal DCG@3: // 1/log2(1+1) + 1/log2(2+1) + 0/log2(3+1) = 1.63 * NDCG@3: 1.13/1.63 = 0.693 DocNdcg *GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics `json:"docNdcg,omitempty"` // DocPrecision: Precision per document, at various top-k cutoff levels. // Precision is the fraction of retrieved documents that are relevant. Example // (top-5): * For a single SampleQuery, If 4 out of 5 retrieved documents in // the top-5 are relevant, precision@5 = 4/5 = 0.8 DocPrecision *GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics `json:"docPrecision,omitempty"` // DocRecall: Recall per document, at various top-k cutoff levels. Recall is // the fraction of relevant documents retrieved out of all relevant documents. // Example (top-5): * For a single SampleQuery, If 3 out of 5 relevant // documents are retrieved in the top-5, recall@5 = 3/5 = 0.6 DocRecall *GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics `json:"docRecall,omitempty"` // PageNdcg: Normalized discounted cumulative gain (NDCG) per page, at various // top-k cutoff levels. NDCG measures the ranking quality, giving higher // relevance to top results. Example (top-3): Suppose SampleQuery with three // retrieved pages (P1, P2, P3) and binary relevance judgements (1 for // relevant, 0 for not relevant): Retrieved: [P3 (0), P1 (1), P2 (1)] Ideal: // [P1 (1), P2 (1), P3 (0)] Calculate NDCG@3 for SampleQuery: * DCG@3: // 0/log2(1+1) + 1/log2(2+1) + 1/log2(3+1) = 1.13 * Ideal DCG@3: 1/log2(1+1) + // 1/log2(2+1) + 0/log2(3+1) = 1.63 * NDCG@3: 1.13/1.63 = 0.693 PageNdcg *GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics `json:"pageNdcg,omitempty"` // PageRecall: Recall per page, at various top-k cutoff levels. Recall is the // fraction of relevant pages retrieved out of all relevant pages. Example // (top-5): * For a single SampleQuery, if 3 out of 5 relevant pages are // retrieved in the top-5, recall@5 = 3/5 = 0.6 PageRecall *GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics `json:"pageRecall,omitempty"` // ForceSendFields is a list of field names (e.g. "DocNdcg") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DocNdcg") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaQualityMetrics: Describes the metrics produced by the evaluation.
func (GoogleCloudDiscoveryengineV1alphaQualityMetrics) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaQualityMetrics) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics struct { // Top1: The top-1 value. Top1 float64 `json:"top1,omitempty"` // Top10: The top-10 value. Top10 float64 `json:"top10,omitempty"` // Top3: The top-3 value. Top3 float64 `json:"top3,omitempty"` // Top5: The top-5 value. Top5 float64 `json:"top5,omitempty"` // ForceSendFields is a list of field names (e.g. "Top1") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Top1") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics: Stores the metric values at specific top-k levels.
func (GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics) UnmarshalJSON ¶ added in v0.190.0
func (s *GoogleCloudDiscoveryengineV1alphaQualityMetricsTopkMetrics) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1alphaQuery ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaQuery struct { // QueryId: Unique Id for the query. QueryId string `json:"queryId,omitempty"` // Text: Plain text. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "QueryId") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QueryId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaQuery: Defines a user inputed query.
func (GoogleCloudDiscoveryengineV1alphaQuery) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaQuery) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata ¶ added in v0.144.0
type GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // InvalidUris: Unique URIs in the request that have invalid format. Sample // limited to 1000. InvalidUris []string `json:"invalidUris,omitempty"` // InvalidUrisCount: Total number of unique URIs in the request that have // invalid format. InvalidUrisCount int64 `json:"invalidUrisCount,omitempty"` // PendingCount: Total number of URIs that have yet to be crawled. PendingCount int64 `json:"pendingCount,omitempty"` // QuotaExceededCount: Total number of URIs that were rejected due to // insufficient indexing resources. QuotaExceededCount int64 `json:"quotaExceededCount,omitempty"` // SuccessCount: Total number of URIs that have been crawled so far. SuccessCount int64 `json:"successCount,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // UrisNotMatchingTargetSites: Unique URIs in the request that don't match any // TargetSite in the DataStore, only match TargetSites that haven't been fully // indexed, or match a TargetSite with type EXCLUDE. Sample limited to 1000. UrisNotMatchingTargetSites []string `json:"urisNotMatchingTargetSites,omitempty"` // UrisNotMatchingTargetSitesCount: Total number of URIs that don't match any // TargetSites. UrisNotMatchingTargetSitesCount int64 `json:"urisNotMatchingTargetSitesCount,omitempty"` // ValidUrisCount: Total number of unique URIs in the request that are not in // invalid_uris. ValidUrisCount int64 `json:"validUrisCount,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata: Metadata related to the progress of the SiteSearchEngineService.RecrawlUris operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata) MarshalJSON ¶ added in v0.144.0
func (s GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse ¶ added in v0.144.0
type GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse struct { // FailedUris: URIs that were not crawled before the LRO terminated. FailedUris []string `json:"failedUris,omitempty"` // FailureSamples: Details for a sample of up to 10 `failed_uris`. FailureSamples []*GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo `json:"failureSamples,omitempty"` // ForceSendFields is a list of field names (e.g. "FailedUris") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FailedUris") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse: Response message for SiteSearchEngineService.RecrawlUris method.
func (GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse) MarshalJSON ¶ added in v0.144.0
func (s GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo ¶ added in v0.144.0
type GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo struct { // FailureReasons: List of failure reasons by corpus type (e.g. desktop, // mobile). FailureReasons []*GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason `json:"failureReasons,omitempty"` // Uri: URI that failed to be crawled. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "FailureReasons") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FailureReasons") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo: Details about why a particular URI failed to be crawled. Each FailureInfo contains one FailureReason per CorpusType.
func (GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo) MarshalJSON ¶ added in v0.144.0
func (s GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason ¶ added in v0.144.0
type GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason struct { // CorpusType: DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED. // // Possible values: // "CORPUS_TYPE_UNSPECIFIED" - Default value. // "DESKTOP" - Denotes a crawling attempt for the desktop version of a page. // "MOBILE" - Denotes a crawling attempt for the mobile version of a page. CorpusType string `json:"corpusType,omitempty"` // ErrorMessage: Reason why the URI was not crawled. ErrorMessage string `json:"errorMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "CorpusType") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CorpusType") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason:
Details about why crawling failed for a particular CorpusType, e.g.,
DESKTOP and MOBILE crawling may fail for different reasons.
func (GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason) MarshalJSON ¶ added in v0.144.0
func (s GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSchema ¶ added in v0.115.0
type GoogleCloudDiscoveryengineV1alphaSchema struct { // FieldConfigs: Output only. Configurations for fields of the schema. FieldConfigs []*GoogleCloudDiscoveryengineV1alphaFieldConfig `json:"fieldConfigs,omitempty"` // JsonSchema: The JSON representation of the schema. JsonSchema string `json:"jsonSchema,omitempty"` // Name: Immutable. The full resource name of the schema, in the format of // `projects/{project}/locations/{location}/collections/{collection}/dataStores/ // {data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string // with a length limit of 1024 characters. Name string `json:"name,omitempty"` // StructSchema: The structured representation of the schema. StructSchema googleapi.RawMessage `json:"structSchema,omitempty"` // ForceSendFields is a list of field names (e.g. "FieldConfigs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FieldConfigs") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSchema: Defines the structure and layout of a type of document data.
func (GoogleCloudDiscoveryengineV1alphaSchema) MarshalJSON ¶ added in v0.115.0
func (s GoogleCloudDiscoveryengineV1alphaSchema) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion ¶ added in v0.210.0
type GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion struct { // Description: Optional. The Promotion description. Maximum length: 200 // characters. Description string `json:"description,omitempty"` // Enabled: Optional. The enabled promotion will be returned for any serving // configs associated with the parent of the control this promotion is attached // to. This flag is used for basic site search only. Enabled bool `json:"enabled,omitempty"` // ImageUri: Optional. The promotion thumbnail image url. ImageUri string `json:"imageUri,omitempty"` // Title: Required. The title of the promotion. Maximum length: 160 characters. Title string `json:"title,omitempty"` // Uri: Required. The URL for the page the user wants to promote. Uri string `json:"uri,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion: Promotion proto includes uri and other helping information to display the promotion.
func (GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion) MarshalJSON ¶ added in v0.210.0
func (s GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequest ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequest struct { // BoostSpec: Boost specification to boost certain documents. For more // information on boosting, see Boosting // (https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) BoostSpec *GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec `json:"boostSpec,omitempty"` // Branch: The branch resource name, such as // `projects/*/locations/global/collections/default_collection/dataStores/defaul // t_data_store/branches/0`. Use `default_branch` as the branch ID or leave // this field empty, to search documents under the default branch. Branch string `json:"branch,omitempty"` // CanonicalFilter: The default filter that is applied when a user performs a // search without checking any filters on the search page. The filter applied // to every search request when quality improvement such as query expansion is // needed. In the case a query does not have a sufficient amount of results // this filter will be used to determine whether or not to enable the query // expansion flow. The original filter will still be used for the query // expanded search. This field is strongly recommended to achieve high search // quality. For more information about filter syntax, see SearchRequest.filter. CanonicalFilter string `json:"canonicalFilter,omitempty"` // ContentSearchSpec: A specification for configuring the behavior of content // search. ContentSearchSpec *GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec `json:"contentSearchSpec,omitempty"` // CustomFineTuningSpec: Custom fine tuning configs. If set, it has higher // priority than the configs set in ServingConfig.custom_fine_tuning_spec. CustomFineTuningSpec *GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec `json:"customFineTuningSpec,omitempty"` // DataStoreSpecs: Specs defining DataStores to filter on in a search call and // configurations for those data stores. This is only considered for Engines // with multiple data stores. For engines with a single data store, the specs // directly under SearchRequest should be used. DataStoreSpecs []*GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec `json:"dataStoreSpecs,omitempty"` // EmbeddingSpec: Uses the provided embedding to do additional semantic // document retrieval. The retrieval is based on the dot product of // SearchRequest.EmbeddingSpec.EmbeddingVector.vector and the document // embedding that is provided in // SearchRequest.EmbeddingSpec.EmbeddingVector.field_path. If // SearchRequest.EmbeddingSpec.EmbeddingVector.field_path is not provided, it // will use ServingConfig.EmbeddingConfig.field_path. EmbeddingSpec *GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec `json:"embeddingSpec,omitempty"` // FacetSpecs: Facet specifications for faceted search. If empty, no facets are // returned. A maximum of 100 values are allowed. Otherwise, an // `INVALID_ARGUMENT` error is returned. FacetSpecs []*GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec `json:"facetSpecs,omitempty"` // Filter: The filter syntax consists of an expression language for // constructing a predicate from one or more fields of the documents being // filtered. Filter expression is case-sensitive. If this field is // unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI // Search is done by mapping the LHS filter key to a key property defined in // the Vertex AI Search backend -- this mapping is defined by the customer in // their schema. For example a media customer might have a field 'name' in // their schema. In this case the filter would look like this: filter --> // name:'ANY("king kong")' For more information about filtering including // syntax and filter operators, see Filter // (https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) Filter string `json:"filter,omitempty"` // ImageQuery: Raw image query. ImageQuery *GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery `json:"imageQuery,omitempty"` // LanguageCode: The BCP-47 language code, such as "en-US" or "sr-Latn". For // more information, see Standard fields // (https://cloud.google.com/apis/design/standard_fields). This field helps to // better interpret the query. If a value isn't specified, the query language // code is automatically detected, which may not be accurate. LanguageCode string `json:"languageCode,omitempty"` // NaturalLanguageQueryUnderstandingSpec: If // `naturalLanguageQueryUnderstandingSpec` is not specified, no additional // natural language query understanding will be done. NaturalLanguageQueryUnderstandingSpec *GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec `json:"naturalLanguageQueryUnderstandingSpec,omitempty"` // Offset: A 0-indexed integer that specifies the current offset (that is, // starting result location, amongst the Documents deemed by the API as // relevant) in search results. This field is only considered if page_token is // unset. If this field is negative, an `INVALID_ARGUMENT` is returned. Offset int64 `json:"offset,omitempty"` // OneBoxPageSize: The maximum number of results to return for OneBox. This // applies to each OneBox type individually. Default number is 10. OneBoxPageSize int64 `json:"oneBoxPageSize,omitempty"` // OrderBy: The order in which documents are returned. Documents can be ordered // by a field in an Document object. Leave it unset if ordered by relevance. // `order_by` expression is case-sensitive. For more information on ordering // the website search results, see Order web search results // (https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). // For more information on ordering the healthcare search results, see Order // healthcare search results // (https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). // If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. OrderBy string `json:"orderBy,omitempty"` // PageSize: Maximum number of Documents to return. The maximum allowed value // depends on the data type. Values above the maximum value are coerced to the // maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * // Websites with advanced indexing: Default `25`, Maximum `50`. * Other: // Default `50`, Maximum `100`. If this field is negative, an // `INVALID_ARGUMENT` is returned. PageSize int64 `json:"pageSize,omitempty"` // PageToken: A page token received from a previous SearchService.Search call. // Provide this to retrieve the subsequent page. When paginating, all other // parameters provided to SearchService.Search must match the call that // provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned. PageToken string `json:"pageToken,omitempty"` // Params: Additional search parameters. For public website search only, // supported values are: * `user_country_code`: string. Default empty. If set // to non-empty, results are restricted or boosted based on the location // provided. For example, `user_country_code: "au" For available codes see // Country Codes // (https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) // * `search_type`: double. Default empty. Enables non-webpage searching // depending on the value. The only valid non-default value is 1, which enables // image searching. For example, `search_type: 1` Params googleapi.RawMessage `json:"params,omitempty"` // PersonalizationSpec: The specification for personalization. Notice that if // both ServingConfig.personalization_spec and // SearchRequest.personalization_spec are set, // SearchRequest.personalization_spec overrides // ServingConfig.personalization_spec. PersonalizationSpec *GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec `json:"personalizationSpec,omitempty"` // Query: Raw search query. Query string `json:"query,omitempty"` // QueryExpansionSpec: The query expansion specification that specifies the // conditions under which query expansion occurs. QueryExpansionSpec *GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec `json:"queryExpansionSpec,omitempty"` // RankingExpression: The ranking expression controls the customized ranking on // retrieval documents. This overrides ServingConfig.ranking_expression. The // ranking expression is a single function or multiple functions that are // joined by "+". * ranking_expression = function, { " + ", function }; // Supported functions: * double * relevance_score * double * // dotProduct(embedding_field_path) Function variables: * `relevance_score`: // pre-defined keywords, used for measure relevance between query and document. // * `embedding_field_path`: the document embedding field used with query // embedding vector. * `dotProduct`: embedding function between // embedding_field_path and query embedding vector. Example ranking expression: // If document has an embedding field doc_embedding, the ranking expression // could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. RankingExpression string `json:"rankingExpression,omitempty"` // RegionCode: The Unicode country/region code (CLDR) of a location, such as // "US" and "419". For more information, see Standard fields // (https://cloud.google.com/apis/design/standard_fields). If set, then results // will be boosted based on the region_code provided. RegionCode string `json:"regionCode,omitempty"` // RelevanceThreshold: The relevance threshold of the search results. Default // to Google defined threshold, leveraging a balance of precision and recall to // deliver both highly accurate results and comprehensive coverage of relevant // information. // // Possible values: // "RELEVANCE_THRESHOLD_UNSPECIFIED" - Default value. In this case, server // behavior defaults to Google defined threshold. // "LOWEST" - Lowest relevance threshold. // "LOW" - Low relevance threshold. // "MEDIUM" - Medium relevance threshold. // "HIGH" - High relevance threshold. RelevanceThreshold string `json:"relevanceThreshold,omitempty"` // SafeSearch: Whether to turn on safe search. This is only supported for // website search. SafeSearch bool `json:"safeSearch,omitempty"` // SearchAsYouTypeSpec: Search as you type configuration. Only supported for // the IndustryVertical.MEDIA vertical. SearchAsYouTypeSpec *GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec `json:"searchAsYouTypeSpec,omitempty"` // ServingConfig: Required. The resource name of the Search serving config, // such as // `projects/*/locations/global/collections/default_collection/engines/*/serving // Configs/default_serving_config`, or // `projects/*/locations/global/collections/default_collection/dataStores/defaul // t_data_store/servingConfigs/default_serving_config`. This field is used to // identify the serving configuration name, set of models used to make the // search. ServingConfig string `json:"servingConfig,omitempty"` // Session: The session resource name. Optional. Session allows users to do // multi-turn /search API calls or coordination between /search API calls and // /answer API calls. Example #1 (multi-turn /search API calls): 1. Call // /search API with the auto-session mode (see below). 2. Call /search API with // the session ID generated in the first call. Here, the previous search query // gets considered in query standing. I.e., if the first query is "How did // Alphabet do in 2022?" and the current query is "How about 2023?", the // current query will be interpreted as "How did Alphabet do in 2023?". Example // #2 (coordination between /search API calls and /answer API calls): 1. Call // /search API with the auto-session mode (see below). 2. Call /answer API with // the session ID generated in the first call. Here, the answer generation // happens in the context of the search results from the first search call. // Auto-session mode: when `projects/.../sessions/-` is used, a new session // gets automatically created. Otherwise, users can use the create-session API // to create a session manually. Multi-turn Search feature is currently at // private GA stage. Please use v1alpha or v1beta version instead before we // launch this feature to public GA. Or ask for allowlisting through Google // Support team. Session string `json:"session,omitempty"` // SessionSpec: Session specification. Can be used only when `session` is set. SessionSpec *GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec `json:"sessionSpec,omitempty"` // SpellCorrectionSpec: The spell correction specification that specifies the // mode under which spell correction takes effect. SpellCorrectionSpec *GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec `json:"spellCorrectionSpec,omitempty"` // UserInfo: Information about the end user. Highly recommended for analytics. // UserInfo.user_agent is used to deduce `device_type` for analytics. UserInfo *GoogleCloudDiscoveryengineV1alphaUserInfo `json:"userInfo,omitempty"` // UserLabels: The user labels applied to a resource must meet the following // requirements: * Each resource can have multiple labels, up to a maximum of // 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 // character and a maximum length of 63 characters and cannot be empty. Values // can be empty and have a maximum length of 63 characters. * Keys and values // can contain only lowercase letters, numeric characters, underscores, and // dashes. All characters must use UTF-8 encoding, and international characters // are allowed. * The key portion of a label must be unique. However, you can // use the same key with multiple resources. * Keys must start with a lowercase // letter or international character. See Google Cloud Document // (https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) // for more details. UserLabels map[string]string `json:"userLabels,omitempty"` // UserPseudoId: A unique identifier for tracking visitors. For example, this // could be implemented with an HTTP cookie, which should be able to uniquely // identify a visitor on a single device. This unique identifier should not // change if the visitor logs in or out of the website. This field should NOT // have a fixed value such as `unknown_visitor`. This should be the same // identifier as UserEvent.user_pseudo_id and // CompleteQueryRequest.user_pseudo_id The field must be a UTF-8 encoded string // with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` // error is returned. UserPseudoId string `json:"userPseudoId,omitempty"` // ForceSendFields is a list of field names (e.g. "BoostSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BoostSpec") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequest: Request message for SearchService.Search method.
func (GoogleCloudDiscoveryengineV1alphaSearchRequest) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec struct { // ConditionBoostSpecs: Condition boost specifications. If a document matches // multiple conditions in the specifictions, boost scores from these // specifications are all applied and combined in a non-linear way. Maximum // number of specifications is 20. ConditionBoostSpecs []*GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec `json:"conditionBoostSpecs,omitempty"` // ForceSendFields is a list of field names (e.g. "ConditionBoostSpecs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConditionBoostSpecs") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec: Boost specification to boost certain documents.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec struct { // Boost: Strength of the condition boost, which should be in [-1, 1]. Negative // boost means demotion. Default is 0.0. Setting to 1.0 gives the document a // big promotion. However, it does not necessarily mean that the boosted // document will be the top result at all times, nor that other documents will // be excluded. Results could still be shown even when none of them matches the // condition. And results that are significantly more relevant to the search // query can still trump your heavily favored but irrelevant documents. Setting // to -1.0 gives the document a big demotion. However, results that are deeply // relevant might still be shown. The document will have an upstream battle to // get a fairly high ranking, but it is not blocked out completely. Setting to // 0.0 means no boost applied. The boosting condition is ignored. Only one of // the (condition, boost) combination or the boost_control_spec below are set. // If both are set then the global boost is ignored and the more fine-grained // boost_control_spec is applied. Boost float64 `json:"boost,omitempty"` // BoostControlSpec: Complex specification for custom ranking based on customer // defined attribute value. BoostControlSpec *GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec `json:"boostControlSpec,omitempty"` // Condition: An expression which specifies a boost condition. The syntax and // supported fields are the same as a filter expression. See // SearchRequest.filter for detail syntax and limitations. Examples: * To boost // documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue": // `(document_id: ANY("doc_1", "doc_2")) AND (color: ANY("Red", "Blue"))` Condition string `json:"condition,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec: Boost applies to documents which match a condition.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec) UnmarshalJSON ¶ added in v0.190.0
func (s *GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec struct { // AttributeType: The attribute type to be used to determine the boost amount. // The attribute value can be derived from the field value of the specified // field_name. In the case of numerical it is straightforward i.e. // attribute_value = numerical_field_value. In the case of freshness however, // attribute_value = (time.now() - datetime_field_value). // // Possible values: // "ATTRIBUTE_TYPE_UNSPECIFIED" - Unspecified AttributeType. // "NUMERICAL" - The value of the numerical field will be used to dynamically // update the boost amount. In this case, the attribute_value (the x value) of // the control point will be the actual value of the numerical field for which // the boost_amount is specified. // "FRESHNESS" - For the freshness use case the attribute value will be the // duration between the current time and the date in the datetime field // specified. The value must be formatted as an XSD `dayTimeDuration` value (a // restricted subset of an ISO 8601 duration value). The pattern for this is: // `nDnM]`. For example, `5D`, `3DT12H30M`, `T24H`. AttributeType string `json:"attributeType,omitempty"` // ControlPoints: The control points used to define the curve. The monotonic // function (defined through the interpolation_type above) passes through the // control points listed here. ControlPoints []*GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint `json:"controlPoints,omitempty"` // FieldName: The name of the field whose value will be used to determine the // boost amount. FieldName string `json:"fieldName,omitempty"` // InterpolationType: The interpolation type to be applied to connect the // control points listed below. // // Possible values: // "INTERPOLATION_TYPE_UNSPECIFIED" - Interpolation type is unspecified. In // this case, it defaults to Linear. // "LINEAR" - Piecewise linear interpolation will be applied. InterpolationType string `json:"interpolationType,omitempty"` // ForceSendFields is a list of field names (e.g. "AttributeType") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AttributeType") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoos tControlSpec: Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint struct { // AttributeValue: Can be one of: 1. The numerical field value. 2. The duration // spec for freshness: The value must be formatted as an XSD `dayTimeDuration` // value (a restricted subset of an ISO 8601 duration value). The pattern for // this is: `nDnM]`. AttributeValue string `json:"attributeValue,omitempty"` // BoostAmount: The value between -1 to 1 by which to boost the score if the // attribute_value evaluates to the value specified above. BoostAmount float64 `json:"boostAmount,omitempty"` // ForceSendFields is a list of field names (e.g. "AttributeValue") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AttributeValue") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoos tControlSpecControlPoint: The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).
func (GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint) UnmarshalJSON ¶ added in v0.190.0
func (s *GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec struct { // ChunkSpec: Specifies the chunk spec to be returned from the search response. // Only available if the SearchRequest.ContentSearchSpec.search_result_mode is // set to CHUNKS ChunkSpec *GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec `json:"chunkSpec,omitempty"` // ExtractiveContentSpec: If there is no extractive_content_spec provided, // there will be no extractive answer in the search response. ExtractiveContentSpec *GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec `json:"extractiveContentSpec,omitempty"` // SearchResultMode: Specifies the search result mode. If unspecified, the // search result mode defaults to `DOCUMENTS`. // // Possible values: // "SEARCH_RESULT_MODE_UNSPECIFIED" - Default value. // "DOCUMENTS" - Returns documents in the search result. // "CHUNKS" - Returns chunks in the search result. Only available if the // DocumentProcessingConfig.chunking_config is specified. SearchResultMode string `json:"searchResultMode,omitempty"` // SnippetSpec: If `snippetSpec` is not specified, snippets are not included in // the search response. SnippetSpec *GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec `json:"snippetSpec,omitempty"` // SummarySpec: If `summarySpec` is not specified, summaries are not included // in the search response. SummarySpec *GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec `json:"summarySpec,omitempty"` // ForceSendFields is a list of field names (e.g. "ChunkSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChunkSpec") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec: A specification for configuring the behavior of content search.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec struct { // NumNextChunks: The number of next chunks to be returned of the current // chunk. The maximum allowed value is 3. If not specified, no next chunks will // be returned. NumNextChunks int64 `json:"numNextChunks,omitempty"` // NumPreviousChunks: The number of previous chunks to be returned of the // current chunk. The maximum allowed value is 3. If not specified, no previous // chunks will be returned. NumPreviousChunks int64 `json:"numPreviousChunks,omitempty"` // ForceSendFields is a list of field names (e.g. "NumNextChunks") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NumNextChunks") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec: Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS
func (GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecChunkSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec struct { // MaxExtractiveAnswerCount: The maximum number of extractive answers returned // in each search result. An extractive answer is a verbatim answer extracted // from the original document, which provides a precise and contextually // relevant answer to the search query. If the number of matching answers is // less than the `max_extractive_answer_count`, return all of the answers. // Otherwise, return the `max_extractive_answer_count`. At most five answers // are returned for each SearchResult. MaxExtractiveAnswerCount int64 `json:"maxExtractiveAnswerCount,omitempty"` // MaxExtractiveSegmentCount: The max number of extractive segments returned in // each search result. Only applied if the DataStore is set to // DataStore.ContentConfig.CONTENT_REQUIRED or DataStore.solution_types is // SOLUTION_TYPE_CHAT. An extractive segment is a text segment extracted from // the original document that is relevant to the search query, and, in general, // more verbose than an extractive answer. The segment could then be used as // input for LLMs to generate summaries and answers. If the number of matching // segments is less than `max_extractive_segment_count`, return all of the // segments. Otherwise, return the `max_extractive_segment_count`. MaxExtractiveSegmentCount int64 `json:"maxExtractiveSegmentCount,omitempty"` // NumNextSegments: Return at most `num_next_segments` segments after each // selected segments. NumNextSegments int64 `json:"numNextSegments,omitempty"` // NumPreviousSegments: Specifies whether to also include the adjacent from // each selected segments. Return at most `num_previous_segments` segments // before each selected segments. NumPreviousSegments int64 `json:"numPreviousSegments,omitempty"` // ReturnExtractiveSegmentScore: Specifies whether to return the confidence // score from the extractive segments in each search result. This feature is // available only for new or allowlisted data stores. To allowlist your data // store, contact your Customer Engineer. The default value is `false`. ReturnExtractiveSegmentScore bool `json:"returnExtractiveSegmentScore,omitempty"` // ForceSendFields is a list of field names (e.g. "MaxExtractiveAnswerCount") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaxExtractiveAnswerCount") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveCont entSpec: A specification for configuring the extractive content in a search response.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecExtractiveContentSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec struct { // MaxSnippetCount: [DEPRECATED] This field is deprecated. To control snippet // return, use `return_snippet` field. For backwards compatibility, we will // return snippet if max_snippet_count > 0. MaxSnippetCount int64 `json:"maxSnippetCount,omitempty"` // ReferenceOnly: [DEPRECATED] This field is deprecated and will have no affect // on the snippet. ReferenceOnly bool `json:"referenceOnly,omitempty"` // ReturnSnippet: If `true`, then return snippet. If no snippet can be // generated, we return "No snippet is available for this page." A // `snippet_status` with `SUCCESS` or `NO_SNIPPET_AVAILABLE` will also be // returned. ReturnSnippet bool `json:"returnSnippet,omitempty"` // ForceSendFields is a list of field names (e.g. "MaxSnippetCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaxSnippetCount") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec: A specification for configuring snippets in a search response.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSnippetSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec struct { // IgnoreAdversarialQuery: Specifies whether to filter out adversarial queries. // The default value is `false`. Google employs search-query classification to // detect adversarial queries. No summary is returned if the search query is // classified as an adversarial query. For example, a user might ask a question // regarding negative comments about the company or submit a query designed to // generate unsafe, policy-violating output. If this field is set to `true`, we // skip generating summaries for adversarial queries and return fallback // messages instead. IgnoreAdversarialQuery bool `json:"ignoreAdversarialQuery,omitempty"` // IgnoreJailBreakingQuery: Optional. Specifies whether to filter out // jail-breaking queries. The default value is `false`. Google employs // search-query classification to detect jail-breaking queries. No summary is // returned if the search query is classified as a jail-breaking query. A user // might add instructions to the query to change the tone, style, language, // content of the answer, or ask the model to act as a different entity, e.g. // "Reply in the tone of a competing company's CEO". If this field is set to // `true`, we skip generating summaries for jail-breaking queries and return // fallback messages instead. IgnoreJailBreakingQuery bool `json:"ignoreJailBreakingQuery,omitempty"` // IgnoreLowRelevantContent: Specifies whether to filter out queries that have // low relevance. The default value is `false`. If this field is set to // `false`, all search results are used regardless of relevance to generate // answers. If set to `true`, only queries with high relevance search results // will generate answers. IgnoreLowRelevantContent bool `json:"ignoreLowRelevantContent,omitempty"` // IgnoreNonSummarySeekingQuery: Specifies whether to filter out queries that // are not summary-seeking. The default value is `false`. Google employs // search-query classification to detect summary-seeking queries. No summary is // returned if the search query is classified as a non-summary seeking query. // For example, `why is the sky blue` and `Who is the best soccer player in the // world?` are summary-seeking queries, but `SFO airport` and `world cup 2026` // are not. They are most likely navigational queries. If this field is set to // `true`, we skip generating summaries for non-summary seeking queries and // return fallback messages instead. IgnoreNonSummarySeekingQuery bool `json:"ignoreNonSummarySeekingQuery,omitempty"` // IncludeCitations: Specifies whether to include citations in the summary. The // default value is `false`. When this field is set to `true`, summaries // include in-line citation numbers. Example summary including citations: // BigQuery is Google Cloud's fully managed and completely serverless // enterprise data warehouse [1]. BigQuery supports all data types, works // across clouds, and has built-in machine learning and business intelligence, // all within a unified platform [2, 3]. The citation numbers refer to the // returned search results and are 1-indexed. For example, [1] means that the // sentence is attributed to the first search result. [2, 3] means that the // sentence is attributed to both the second and third search results. IncludeCitations bool `json:"includeCitations,omitempty"` // LanguageCode: Language code for Summary. Use language tags defined by BCP47 // (https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an // experimental feature. LanguageCode string `json:"languageCode,omitempty"` // ModelPromptSpec: If specified, the spec will be used to modify the prompt // provided to the LLM. ModelPromptSpec *GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec `json:"modelPromptSpec,omitempty"` // ModelSpec: If specified, the spec will be used to modify the model // specification provided to the LLM. ModelSpec *GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec `json:"modelSpec,omitempty"` // SummaryResultCount: The number of top results to generate the summary from. // If the number of results returned is less than `summaryResultCount`, the // summary is generated from all of the results. At most 10 results for // documents mode, or 50 for chunks mode, can be used to generate a summary. // The chunks mode is used when // SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS. SummaryResultCount int64 `json:"summaryResultCount,omitempty"` // UseSemanticChunks: If true, answer will be generated from most relevant // chunks from top search results. This feature will improve summary quality. // Note that with this feature enabled, not all top search results will be // referenced and included in the reference list, so the citation source index // only points to the search results listed in the reference list. UseSemanticChunks bool `json:"useSemanticChunks,omitempty"` // ForceSendFields is a list of field names (e.g. "IgnoreAdversarialQuery") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IgnoreAdversarialQuery") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec: A specification for configuring a summary returned in a search response.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec struct { // Preamble: Text at the beginning of the prompt that instructs the assistant. // Examples are available in the user guide. Preamble string `json:"preamble,omitempty"` // ForceSendFields is a list of field names (e.g. "Preamble") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Preamble") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMod elPromptSpec: Specification of the prompt to use with the model.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelPromptSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec struct { // Version: The model version used to generate the summary. Supported values // are: * `stable`: string. Default value when no value is specified. Uses a // generally available, fine-tuned model. For more information, see Answer // generation model versions and lifecycle // (https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). // * `preview`: string. (Public preview) Uses a preview model. For more // information, see Answer generation model versions and lifecycle // (https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMod elSpec: Specification of the model.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec struct { // BoostSpec: Optional. Boost specification to boost certain documents. For // more information on boosting, see Boosting // (https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) BoostSpec *GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec `json:"boostSpec,omitempty"` // DataStore: Required. Full resource name of DataStore, such as // `projects/{project}/locations/{location}/collections/{collection_id}/dataStor // es/{data_store_id}`. DataStore string `json:"dataStore,omitempty"` // Filter: Optional. Filter specification to filter documents in the data store // specified by data_store field. For more information on filtering, see // Filtering // (https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) Filter string `json:"filter,omitempty"` // ForceSendFields is a list of field names (e.g. "BoostSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BoostSpec") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec: A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec struct { // EmbeddingVectors: The embedding vector used for retrieval. Limit to 1. EmbeddingVectors []*GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector `json:"embeddingVectors,omitempty"` // ForceSendFields is a list of field names (e.g. "EmbeddingVectors") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EmbeddingVectors") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec: The specification that uses customized query embedding vector to do semantic document retrieval.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector struct { // FieldPath: Embedding field path in schema. FieldPath string `json:"fieldPath,omitempty"` // Vector: Query embedding vector. Vector []float64 `json:"vector,omitempty"` // ForceSendFields is a list of field names (e.g. "FieldPath") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FieldPath") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector: Embedding vector.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector) UnmarshalJSON ¶ added in v0.190.0
func (s *GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpecEmbeddingVector) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec struct { // EnableDynamicPosition: Enables dynamic position for this facet. If set to // true, the position of this facet among all facets in the response is // determined automatically. If dynamic facets are enabled, it is ordered // together. If set to false, the position of this facet in the response is the // same as in the request, and it is ranked before the facets with dynamic // position enable and all dynamic facets. For example, you may always want to // have rating facet returned in the response, but it's not necessarily to // always display the rating facet at the top. In that case, you can set // enable_dynamic_position to true so that the position of rating facet in // response is determined automatically. Another example, assuming you have the // following facets in the request: * "rating", enable_dynamic_position = true // * "price", enable_dynamic_position = false * "brands", // enable_dynamic_position = false And also you have a dynamic facets enabled, // which generates a facet `gender`. Then the final order of the facets in the // response can be ("price", "brands", "rating", "gender") or ("price", // "brands", "gender", "rating") depends on how API orders "gender" and // "rating" facets. However, notice that "price" and "brands" are always ranked // at first and second position because their enable_dynamic_position is false. EnableDynamicPosition bool `json:"enableDynamicPosition,omitempty"` // ExcludedFilterKeys: List of keys to exclude when faceting. By default, // FacetKey.key is not excluded from the filter unless it is listed in this // field. Listing a facet key in this field allows its values to appear as // facet results, even when they are filtered out of search results. Using this // field does not affect what search results are returned. For example, suppose // there are 100 documents with the color facet "Red" and 200 documents with // the color facet "Blue". A query containing the filter "color:ANY("Red")" and // having "color" as FacetKey.key would by default return only "Red" documents // in the search results, and also return "Red" with count 100 as the only // color facet. Although there are also blue documents available, "Blue" would // not be shown as an available facet value. If "color" is listed in // "excludedFilterKeys", then the query returns the facet values "Red" with // count 100 and "Blue" with count 200, because the "color" key is now excluded // from the filter. Because this field doesn't affect search results, the // search results are still correctly filtered to return only "Red" documents. // A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error // is returned. ExcludedFilterKeys []string `json:"excludedFilterKeys,omitempty"` // FacetKey: Required. The facet key specification. FacetKey *GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey `json:"facetKey,omitempty"` // Limit: Maximum facet values that are returned for this facet. If // unspecified, defaults to 20. The maximum allowed value is 300. Values above // 300 are coerced to 300. For aggregation in healthcare search, when the // [FacetKey.key] is "healthcare_aggregation_key", the limit will be overridden // to 10,000 internally, regardless of the value set here. If this field is // negative, an `INVALID_ARGUMENT` is returned. Limit int64 `json:"limit,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableDynamicPosition") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableDynamicPosition") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec: A facet specification to perform faceted search.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey struct { // CaseInsensitive: True to make facet keys case insensitive when getting // faceting values with prefixes or contains; false otherwise. CaseInsensitive bool `json:"caseInsensitive,omitempty"` // Contains: Only get facet values that contain the given strings. For example, // suppose "category" has three values "Action > 2022", "Action > 2021" and // "Sci-Fi > 2022". If set "contains" to "2022", the "category" facet only // contains "Action > 2022" and "Sci-Fi > 2022". Only supported on textual // fields. Maximum is 10. Contains []string `json:"contains,omitempty"` // Intervals: Set only if values should be bucketed into intervals. Must be set // for facets with numerical values. Must not be set for facet with text // values. Maximum number of intervals is 30. Intervals []*GoogleCloudDiscoveryengineV1alphaInterval `json:"intervals,omitempty"` // Key: Required. Supported textual and numerical facet keys in Document // object, over which the facet values are computed. Facet key is // case-sensitive. Key string `json:"key,omitempty"` // OrderBy: The order in which documents are returned. Allowed values are: * // "count desc", which means order by SearchResponse.Facet.values.count // descending. * "value desc", which means order by // SearchResponse.Facet.values.value descending. Only applies to textual // facets. If not set, textual values are sorted in natural order // (https://en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are // sorted in the order given by FacetSpec.FacetKey.intervals. OrderBy string `json:"orderBy,omitempty"` // Prefixes: Only get facet values that start with the given string prefix. For // example, suppose "category" has three values "Action > 2022", "Action > // 2021" and "Sci-Fi > 2022". If set "prefixes" to "Action", the "category" // facet only contains "Action > 2022" and "Action > 2021". Only supported on // textual fields. Maximum is 10. Prefixes []string `json:"prefixes,omitempty"` // RestrictedValues: Only get facet for the given restricted values. Only // supported on textual fields. For example, suppose "category" has three // values "Action > 2022", "Action > 2021" and "Sci-Fi > 2022". If set // "restricted_values" to "Action > 2022", the "category" facet only contains // "Action > 2022". Only supported on textual fields. Maximum is 10. RestrictedValues []string `json:"restrictedValues,omitempty"` // ForceSendFields is a list of field names (e.g. "CaseInsensitive") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CaseInsensitive") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey: Specifies how a facet is computed.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestFacetSpecFacetKey) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery struct { // ImageBytes: Base64 encoded image bytes. Supported image formats: JPEG, PNG, // and BMP. ImageBytes string `json:"imageBytes,omitempty"` // ForceSendFields is a list of field names (e.g. "ImageBytes") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ImageBytes") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery: Specifies the image query input.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec struct { // FilterExtractionCondition: The condition under which filter extraction // should occur. Default to Condition.DISABLED. // // Possible values: // "CONDITION_UNSPECIFIED" - Server behavior defaults to Condition.DISABLED. // "DISABLED" - Disables NL filter extraction. // "ENABLED" - Enables NL filter extraction. FilterExtractionCondition string `json:"filterExtractionCondition,omitempty"` // GeoSearchQueryDetectionFieldNames: Field names used for location-based // filtering, where geolocation filters are detected in natural language search // queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. // If this field is set, it overrides the field names set in // ServingConfig.geo_search_query_detection_field_names. GeoSearchQueryDetectionFieldNames []string `json:"geoSearchQueryDetectionFieldNames,omitempty"` // ForceSendFields is a list of field names (e.g. "FilterExtractionCondition") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FilterExtractionCondition") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandi ngSpec: Specification to enable natural language understanding capabilities for search requests.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec ¶ added in v0.200.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec struct { // Mode: The personalization mode of the search request. Defaults to Mode.AUTO. // // Possible values: // "MODE_UNSPECIFIED" - Default value. In this case, server behavior defaults // to Mode.AUTO. // "AUTO" - Personalization is enabled if data quality requirements are met. // "DISABLED" - Disable personalization. Mode string `json:"mode,omitempty"` // ForceSendFields is a list of field names (e.g. "Mode") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Mode") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec: The specification for personalization.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec) MarshalJSON ¶ added in v0.200.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestPersonalizationSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec struct { // Condition: The condition under which query expansion should occur. Default // to Condition.DISABLED. // // Possible values: // "CONDITION_UNSPECIFIED" - Unspecified query expansion condition. In this // case, server behavior defaults to Condition.DISABLED. // "DISABLED" - Disabled query expansion. Only the exact search query is // used, even if SearchResponse.total_size is zero. // "AUTO" - Automatic query expansion built by the Search API. Condition string `json:"condition,omitempty"` // PinUnexpandedResults: Whether to pin unexpanded results. If this field is // set to true, unexpanded products are always at the top of the search // results, followed by the expanded results. PinUnexpandedResults bool `json:"pinUnexpandedResults,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec: Specification to determine under which conditions query expansion should occur.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec struct { // Condition: The condition under which search as you type should occur. // Default to Condition.DISABLED. // // Possible values: // "CONDITION_UNSPECIFIED" - Server behavior defaults to Condition.DISABLED. // "DISABLED" - Disables Search As You Type. // "ENABLED" - Enables Search As You Type. Condition string `json:"condition,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec: Specification for search as you type in search requests.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec struct { // QueryId: If set, the search result gets stored to the "turn" specified by // this query ID. Example: Let's say the session looks like this: session { // name: ".../sessions/xxx" turns { query { text: "What is foo?" query_id: // ".../questions/yyy" } answer: "Foo is ..." } turns { query { text: "How // about bar then?" query_id: ".../questions/zzz" } } } The user can call // /search API with a request like this: session: ".../sessions/xxx" // session_spec { query_id: ".../questions/zzz" } Then, the API stores the // search result, associated with the last turn. The stored search result can // be used by a subsequent /answer API call (with the session ID and the query // ID specified). Also, it is possible to call /search and /answer in parallel // with the same session ID & query ID. QueryId string `json:"queryId,omitempty"` // SearchResultPersistenceCount: The number of top search results to persist. // The persisted search results can be used for the subsequent /answer api // call. This field is simliar to the `summary_result_count` field in // SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count. At most 10 // results for documents mode, or 50 for chunks mode. SearchResultPersistenceCount int64 `json:"searchResultPersistenceCount,omitempty"` // ForceSendFields is a list of field names (e.g. "QueryId") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QueryId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec: Session specification. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec struct { // Mode: The mode under which spell correction replaces the original search // query. Defaults to Mode.AUTO. // // Possible values: // "MODE_UNSPECIFIED" - Unspecified spell correction mode. In this case, // server behavior defaults to Mode.AUTO. // "SUGGESTION_ONLY" - Search API tries to find a spelling suggestion. If a // suggestion is found, it is put in the SearchResponse.corrected_query. The // spelling suggestion won't be used as the search query. // "AUTO" - Automatic spell correction built by the Search API. Search will // be based on the corrected query if found. Mode string `json:"mode,omitempty"` // ForceSendFields is a list of field names (e.g. "Mode") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Mode") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec: The specification for query spell correction.
func (GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSession ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaSession struct { // DisplayName: Optional. The display name of the session. This field is used // to identify the session in the UI. By default, the display name is the first // turn query text in the session. DisplayName string `json:"displayName,omitempty"` // EndTime: Output only. The time the session finished. EndTime string `json:"endTime,omitempty"` // IsPinned: Optional. Whether the session is pinned, pinned session will be // displayed on the top of the session list. IsPinned bool `json:"isPinned,omitempty"` // Name: Immutable. Fully qualified name // `projects/{project}/locations/global/collections/{collection}/engines/{engine // }/sessions/*` Name string `json:"name,omitempty"` // StartTime: Output only. The time the session started. StartTime string `json:"startTime,omitempty"` // State: The state of the session. // // Possible values: // "STATE_UNSPECIFIED" - State is unspecified. // "IN_PROGRESS" - The session is currently open. State string `json:"state,omitempty"` // Turns: Turns. Turns []*GoogleCloudDiscoveryengineV1alphaSessionTurn `json:"turns,omitempty"` // UserPseudoId: A unique identifier for tracking users. UserPseudoId string `json:"userPseudoId,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSession: External session proto definition.
func (GoogleCloudDiscoveryengineV1alphaSession) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaSession) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSessionTurn ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1alphaSessionTurn struct { // Answer: The resource name of the answer to the user query. Only set if the // answer generation (/answer API call) happened in this turn. Answer string `json:"answer,omitempty"` // DetailedAnswer: Output only. In ConversationalSearchService.GetSession API, // if GetSessionRequest.include_answer_details is set to true, this field will // be populated when getting answer query session. DetailedAnswer *GoogleCloudDiscoveryengineV1alphaAnswer `json:"detailedAnswer,omitempty"` // Query: The user query. Query *GoogleCloudDiscoveryengineV1alphaQuery `json:"query,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSessionTurn: Represents a turn, including a query from the user and a answer from service.
func (GoogleCloudDiscoveryengineV1alphaSessionTurn) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1alphaSessionTurn) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata: Metadata related to the progress of the SiteSearchEngineService.SetUriPatternDocumentData operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse struct { }
GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse: Response message for SiteSearchEngineService.SetUriPatternDocumentData method.
type GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo ¶ added in v0.135.0
type GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo struct { // SiteVerificationState: Site verification state indicating the ownership and // validity. // // Possible values: // "SITE_VERIFICATION_STATE_UNSPECIFIED" - Defaults to VERIFIED. // "VERIFIED" - Site ownership verified. // "UNVERIFIED" - Site ownership pending verification or verification failed. // "EXEMPTED" - Site exempt from verification, e.g., a public website that // opens to all. SiteVerificationState string `json:"siteVerificationState,omitempty"` // VerifyTime: Latest site verification time. VerifyTime string `json:"verifyTime,omitempty"` // ForceSendFields is a list of field names (e.g. "SiteVerificationState") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SiteVerificationState") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo: Verification information for target sites in advanced site search.
func (GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo) MarshalJSON ¶ added in v0.135.0
func (s GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaSitemap ¶ added in v0.205.0
type GoogleCloudDiscoveryengineV1alphaSitemap struct { // CreateTime: Output only. The sitemap's creation time. CreateTime string `json:"createTime,omitempty"` // Name: Output only. The fully qualified resource name of the sitemap. // `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/ // *` The `sitemap_id` suffix is system-generated. Name string `json:"name,omitempty"` // Uri: Public URI for the sitemap, e.g. `www.example.com/sitemap.xml`. Uri string `json:"uri,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaSitemap: A sitemap for the SiteSearchEngine.
func (GoogleCloudDiscoveryengineV1alphaSitemap) MarshalJSON ¶ added in v0.205.0
func (s GoogleCloudDiscoveryengineV1alphaSitemap) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaTargetSite ¶ added in v0.125.0
type GoogleCloudDiscoveryengineV1alphaTargetSite struct { // ExactMatch: Input only. If set to false, a uri_pattern is generated to // include all pages whose address contains the provided_uri_pattern. If set to // true, an uri_pattern is generated to try to be an exact match of the // provided_uri_pattern or just the specific page if the provided_uri_pattern // is a specific one. provided_uri_pattern is always normalized to generate the // URI pattern to be used by the search engine. ExactMatch bool `json:"exactMatch,omitempty"` // FailureReason: Output only. Failure reason. FailureReason *GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason `json:"failureReason,omitempty"` // GeneratedUriPattern: Output only. This is system-generated based on the // provided_uri_pattern. GeneratedUriPattern string `json:"generatedUriPattern,omitempty"` // IndexingStatus: Output only. Indexing status. // // Possible values: // "INDEXING_STATUS_UNSPECIFIED" - Defaults to SUCCEEDED. // "PENDING" - The target site is in the update queue and will be picked up // by indexing pipeline. // "FAILED" - The target site fails to be indexed. // "SUCCEEDED" - The target site has been indexed. // "DELETING" - The previously indexed target site has been marked to be // deleted. This is a transitioning state which will resulted in either: 1. // target site deleted if unindexing is successful; 2. state reverts to // SUCCEEDED if the unindexing fails. IndexingStatus string `json:"indexingStatus,omitempty"` // Name: Output only. The fully qualified resource name of the target site. // `projects/{project}/locations/{location}/collections/{collection}/dataStores/ // {data_store}/siteSearchEngine/targetSites/{target_site}` The // `target_site_id` is system-generated. Name string `json:"name,omitempty"` // ProvidedUriPattern: Required. Input only. The user provided URI pattern from // which the `generated_uri_pattern` is generated. ProvidedUriPattern string `json:"providedUriPattern,omitempty"` // RootDomainUri: Output only. Root domain of the provided_uri_pattern. RootDomainUri string `json:"rootDomainUri,omitempty"` // SiteVerificationInfo: Output only. Site ownership and validity verification // status. SiteVerificationInfo *GoogleCloudDiscoveryengineV1alphaSiteVerificationInfo `json:"siteVerificationInfo,omitempty"` // Type: The type of the target site, e.g., whether the site is to be included // or excluded. // // Possible values: // "TYPE_UNSPECIFIED" - This value is unused. In this case, server behavior // defaults to Type.INCLUDE. // "INCLUDE" - Include the target site. // "EXCLUDE" - Exclude the target site. Type string `json:"type,omitempty"` // UpdateTime: Output only. The target site's last updated time. UpdateTime string `json:"updateTime,omitempty"` // ForceSendFields is a list of field names (e.g. "ExactMatch") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExactMatch") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaTargetSite: A target site for the SiteSearchEngine.
func (GoogleCloudDiscoveryengineV1alphaTargetSite) MarshalJSON ¶ added in v0.125.0
func (s GoogleCloudDiscoveryengineV1alphaTargetSite) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason struct { // QuotaFailure: Failed due to insufficient quota. QuotaFailure *GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure `json:"quotaFailure,omitempty"` // ForceSendFields is a list of field names (e.g. "QuotaFailure") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QuotaFailure") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason: Site search indexing failure reasons.
func (GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure struct { // TotalRequiredQuota: This number is an estimation on how much total quota // this project needs to successfully complete indexing. TotalRequiredQuota int64 `json:"totalRequiredQuota,omitempty,string"` // ForceSendFields is a list of field names (e.g. "TotalRequiredQuota") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TotalRequiredQuota") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure: Failed due to insufficient quota.
func (GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata ¶ added in v0.155.0
type GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata: Metadata related to the progress of the TrainCustomModel operation. This is returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata) MarshalJSON ¶ added in v0.155.0
func (s GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse ¶ added in v0.155.0
type GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse struct { // ErrorConfig: Echoes the destination for the complete errors in the request // if set. ErrorConfig *GoogleCloudDiscoveryengineV1alphaImportErrorConfig `json:"errorConfig,omitempty"` // ErrorSamples: A sample of errors encountered while processing the data. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // Metrics: The metrics of the trained model. Metrics map[string]float64 `json:"metrics,omitempty"` // ModelName: Fully qualified name of the CustomTuningModel. ModelName string `json:"modelName,omitempty"` // ModelStatus: The trained model status. Possible values are: * **bad-data**: // The training data quality is bad. * **no-improvement**: Tuning didn't // improve performance. Won't deploy. * **in-progress**: Model training job // creation is in progress. * **training**: Model is actively training. * // **evaluating**: The model is evaluating trained metrics. * **indexing**: The // model trained metrics are indexing. * **ready**: The model is ready for // serving. ModelStatus string `json:"modelStatus,omitempty"` // ForceSendFields is a list of field names (e.g. "ErrorConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse: Response of the TrainCustomModelRequest. This message is returned by the google.longrunning.Operations.response field.
func (GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse) MarshalJSON ¶ added in v0.155.0
func (s GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata ¶ added in v0.151.0
type GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata struct { // Engine: Required. The resource name of the engine that this tune applies to. // Format: // `projects/{project}/locations/{location}/collections/{collection_id}/engines/ // {engine_id}` Engine string `json:"engine,omitempty"` // ForceSendFields is a list of field names (e.g. "Engine") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Engine") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata: Metadata associated with a tune operation.
func (GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata) MarshalJSON ¶ added in v0.151.0
func (s GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaTuneEngineResponse ¶ added in v0.151.0
type GoogleCloudDiscoveryengineV1alphaTuneEngineResponse struct { }
GoogleCloudDiscoveryengineV1alphaTuneEngineResponse: Response associated with a tune operation.
type GoogleCloudDiscoveryengineV1alphaUpdateCmekConfigMetadata ¶ added in v0.202.0
type GoogleCloudDiscoveryengineV1alphaUpdateCmekConfigMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaUpdateCmekConfigMetadata: Metadata related to the progress of the CmekConfigService.UpdateCmekConfig operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaUpdateCmekConfigMetadata) MarshalJSON ¶ added in v0.202.0
func (s GoogleCloudDiscoveryengineV1alphaUpdateCmekConfigMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata: Metadata for UpdateSchema LRO.
func (GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest ¶ added in v0.211.0
type GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest struct { // Session: Required. The Session to update. Session *GoogleCloudDiscoveryengineV1alphaSession `json:"session,omitempty"` // UpdateMask: Indicates which fields in the provided Session to update. The // following are NOT supported: * Session.name If not set or empty, all // supported fields are updated. UpdateMask string `json:"updateMask,omitempty"` // ForceSendFields is a list of field names (e.g. "Session") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Session") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest: Request for UpdateSession method.
func (GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest) MarshalJSON ¶ added in v0.211.0
func (s GoogleCloudDiscoveryengineV1alphaUpdateSessionRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata ¶ added in v0.154.0
type GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata: Metadata related to the progress of the SiteSearchEngineService.UpdateTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata) MarshalJSON ¶ added in v0.154.0
func (s GoogleCloudDiscoveryengineV1alphaUpdateTargetSiteMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaUserInfo ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1alphaUserInfo struct { // UserAgent: User agent as included in the HTTP header. The field must be a // UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an // `INVALID_ARGUMENT` error is returned. This should not be set when using the // client side event reporting with GTM or JavaScript tag in // UserEventService.CollectUserEvent or if UserEvent.direct_user_request is // set. UserAgent string `json:"userAgent,omitempty"` // UserId: Highly recommended for logged-in users. Unique identifier for // logged-in user, such as a user name. Don't set for anonymous users. Always // use a hashed value for this ID. Don't set the field to the same fixed ID for // different users. This mixes the event history of those users together, which // results in degraded model quality. The field must be a UTF-8 encoded string // with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` // error is returned. UserId string `json:"userId,omitempty"` // ForceSendFields is a list of field names (e.g. "UserAgent") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UserAgent") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaUserInfo: Information of an end user.
func (GoogleCloudDiscoveryengineV1alphaUserInfo) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1alphaUserInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1alphaWorkspaceConfig ¶ added in v0.193.0
type GoogleCloudDiscoveryengineV1alphaWorkspaceConfig struct { // DasherCustomerId: Obfuscated Dasher customer ID. DasherCustomerId string `json:"dasherCustomerId,omitempty"` // SuperAdminEmailAddress: Optional. The super admin email address for the // workspace that will be used for access token generation. For now we only use // it for Native Google Drive connector data ingestion. SuperAdminEmailAddress string `json:"superAdminEmailAddress,omitempty"` // SuperAdminServiceAccount: Optional. The super admin service account for the // workspace that will be used for access token generation. For now we only use // it for Native Google Drive connector data ingestion. SuperAdminServiceAccount string `json:"superAdminServiceAccount,omitempty"` // Type: The Google Workspace data source. // // Possible values: // "TYPE_UNSPECIFIED" - Defaults to an unspecified Workspace type. // "GOOGLE_DRIVE" - Workspace Data Store contains Drive data // "GOOGLE_MAIL" - Workspace Data Store contains Mail data // "GOOGLE_SITES" - Workspace Data Store contains Sites data // "GOOGLE_CALENDAR" - Workspace Data Store contains Calendar data // "GOOGLE_CHAT" - Workspace Data Store contains Chat data // "GOOGLE_GROUPS" - Workspace Data Store contains Groups data // "GOOGLE_KEEP" - Workspace Data Store contains Keep data Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "DasherCustomerId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DasherCustomerId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1alphaWorkspaceConfig: Config to store data store type configuration for workspace data
func (GoogleCloudDiscoveryengineV1alphaWorkspaceConfig) MarshalJSON ¶ added in v0.193.0
func (s GoogleCloudDiscoveryengineV1alphaWorkspaceConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest ¶ added in v0.204.0
type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest struct { // BoostSpec: Optional. Specification to boost suggestions matching the // condition. BoostSpec *GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpec `json:"boostSpec,omitempty"` // IncludeTailSuggestions: Indicates if tail suggestions should be returned if // there are no suggestions that match the full query. Even if set to true, if // there are suggestions that match the full query, those are returned and no // tail suggestions are returned. IncludeTailSuggestions bool `json:"includeTailSuggestions,omitempty"` // Query: Required. The typeahead input used to fetch suggestions. Maximum // length is 128 characters. The query can not be empty for most of the // suggestion types. If it is empty, an `INVALID_ARGUMENT` error is returned. // The exception is when the suggestion_types contains only the type // `RECENT_SEARCH`, the query can be an empty string. The is called "zero // prefix" feature, which returns user's recently searched queries given the // empty query. Query string `json:"query,omitempty"` // QueryModel: Specifies the autocomplete data model. This overrides any model // specified in the Configuration > Autocomplete section of the Cloud console. // Currently supported values: * `document` - Using suggestions generated from // user-imported documents. * `search-history` - Using suggestions generated // from the past history of SearchService.Search API calls. Do not use it when // there is no traffic for Search API. * `user-event` - Using suggestions // generated from user-imported search events. * `document-completable` - Using // suggestions taken directly from user-imported document fields marked as // completable. Default values: * `document` is the default model for regular // dataStores. * `search-history` is the default model for site search // dataStores. QueryModel string `json:"queryModel,omitempty"` // SuggestionTypes: Optional. Suggestion types to return. If empty or // unspecified, query suggestions are returned. Only one suggestion type is // supported at the moment. // // Possible values: // "SUGGESTION_TYPE_UNSPECIFIED" - Default value. // "QUERY" - Returns query suggestions. // "PEOPLE" - Returns people suggestions. // "CONTENT" - Returns content suggestions. // "RECENT_SEARCH" - Returns recent search suggestions. // "GOOGLE_WORKSPACE" - Returns Google Workspace suggestions. SuggestionTypes []string `json:"suggestionTypes,omitempty"` // UserInfo: Optional. Information about the end user. This should be the same // identifier information as UserEvent.user_info and SearchRequest.user_info. UserInfo *GoogleCloudDiscoveryengineV1betaUserInfo `json:"userInfo,omitempty"` // UserPseudoId: A unique identifier for tracking visitors. For example, this // could be implemented with an HTTP cookie, which should be able to uniquely // identify a visitor on a single device. This unique identifier should not // change if the visitor logs in or out of the website. This field should NOT // have a fixed value such as `unknown_visitor`. This should be the same // identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The // field must be a UTF-8 encoded string with a length limit of 128 UserPseudoId string `json:"userPseudoId,omitempty"` // ForceSendFields is a list of field names (e.g. "BoostSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BoostSpec") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest: Request message for CompletionService.AdvancedCompleteQuery method. .
func (GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest) MarshalJSON ¶ added in v0.204.0
func (s GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpec ¶ added in v0.204.0
type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpec struct { // ConditionBoostSpecs: Condition boost specifications. If a suggestion matches // multiple conditions in the specifictions, boost values from these // specifications are all applied and combined in a non-linear way. Maximum // number of specifications is 20. Note: Currently only support language // condition boost. ConditionBoostSpecs []*GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec `json:"conditionBoostSpecs,omitempty"` // ForceSendFields is a list of field names (e.g. "ConditionBoostSpecs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConditionBoostSpecs") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpec: Specification to boost suggestions based on the condtion of the suggestion.
func (GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpec) MarshalJSON ¶ added in v0.204.0
func (s GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec ¶ added in v0.204.0
type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec struct { // Boost: Strength of the boost, which should be in [-1, 1]. Negative boost // means demotion. Default is 0.0. Setting to 1.0 gives the suggestions a big // promotion. However, it does not necessarily mean that the top result will be // a boosted suggestion. Setting to -1.0 gives the suggestions a big demotion. // However, other suggestions that are relevant might still be shown. Setting // to 0.0 means no boost applied. The boosting condition is ignored. Boost float64 `json:"boost,omitempty"` // Condition: An expression which specifies a boost condition. The syntax is // the same as filter expression syntax // (https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax). // Currently, the only supported condition is a list of BCP-47 lang codes. // Example: * To boost suggestions in languages `en` or `fr`: `(lang_code: // ANY("en", "fr"))` Condition string `json:"condition,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpecConditio nBoostSpec: Boost applies to suggestions which match a condition.
func (GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec) MarshalJSON ¶ added in v0.204.0
func (s GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec) UnmarshalJSON ¶ added in v0.204.0
func (s *GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequestBoostSpecConditionBoostSpec) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse ¶ added in v0.204.0
type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse struct { // ContentSuggestions: Results of the matched content suggestions. The result // list is ordered and the first result is the top suggestion. ContentSuggestions []*GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseContentSuggestion `json:"contentSuggestions,omitempty"` // PeopleSuggestions: Results of the matched people suggestions. The result // list is ordered and the first result is the top suggestion. PeopleSuggestions []*GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion `json:"peopleSuggestions,omitempty"` // QuerySuggestions: Results of the matched query suggestions. The result list // is ordered and the first result is a top suggestion. QuerySuggestions []*GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseQuerySuggestion `json:"querySuggestions,omitempty"` // RecentSearchSuggestions: Results of the matched "recent search" suggestions. // The result list is ordered and the first result is the top suggestion. RecentSearchSuggestions []*GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseRecentSearchSuggestion `json:"recentSearchSuggestions,omitempty"` // TailMatchTriggered: True if the returned suggestions are all tail // suggestions. For tail matching to be triggered, include_tail_suggestions in // the request must be true and there must be no suggestions that match the // full query. TailMatchTriggered bool `json:"tailMatchTriggered,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ContentSuggestions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContentSuggestions") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse: Response message for CompletionService.AdvancedCompleteQuery method.
func (GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse) MarshalJSON ¶ added in v0.204.0
func (s GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseContentSuggestion ¶ added in v0.204.0
type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseContentSuggestion struct { // ContentType: The type of the content suggestion. // // Possible values: // "CONTENT_TYPE_UNSPECIFIED" - Default value. // "GOOGLE_WORKSPACE" - The suggestion is from a Google Workspace source. // "THIRD_PARTY" - The suggestion is from a third party source. ContentType string `json:"contentType,omitempty"` // DataStore: The name of the dataStore that this suggestion belongs to. DataStore string `json:"dataStore,omitempty"` // Document: The document data snippet in the suggestion. Only a subset of // fields will be populated. Document *GoogleCloudDiscoveryengineV1betaDocument `json:"document,omitempty"` // Suggestion: The suggestion for the query. Suggestion string `json:"suggestion,omitempty"` // ForceSendFields is a list of field names (e.g. "ContentType") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContentType") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseContentSuggestio n: Suggestions as content.
func (GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseContentSuggestion) MarshalJSON ¶ added in v0.204.0
func (s GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseContentSuggestion) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion ¶ added in v0.204.0
type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion struct { // DataStore: The name of the dataStore that this suggestion belongs to. DataStore string `json:"dataStore,omitempty"` // Document: The document data snippet in the suggestion. Only a subset of // fields is populated. Document *GoogleCloudDiscoveryengineV1betaDocument `json:"document,omitempty"` // PersonType: The type of the person. // // Possible values: // "PERSON_TYPE_UNSPECIFIED" - Default value. // "CLOUD_IDENTITY" - The suggestion is from a GOOGLE_IDENTITY source. // "THIRD_PARTY_IDENTITY" - The suggestion is from a THIRD_PARTY_IDENTITY // source. PersonType string `json:"personType,omitempty"` // Suggestion: The suggestion for the query. Suggestion string `json:"suggestion,omitempty"` // ForceSendFields is a list of field names (e.g. "DataStore") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataStore") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion : Suggestions as people.
func (GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion) MarshalJSON ¶ added in v0.204.0
func (s GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponsePersonSuggestion) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseQuerySuggestion ¶ added in v0.204.0
type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseQuerySuggestion struct { // CompletableFieldPaths: The unique document field paths that serve as the // source of this suggestion if it was generated from completable fields. This // field is only populated for the document-completable model. CompletableFieldPaths []string `json:"completableFieldPaths,omitempty"` // DataStore: The name of the dataStore that this suggestion belongs to. DataStore []string `json:"dataStore,omitempty"` // Suggestion: The suggestion for the query. Suggestion string `json:"suggestion,omitempty"` // ForceSendFields is a list of field names (e.g. "CompletableFieldPaths") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CompletableFieldPaths") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseQuerySuggestion:
Suggestions as search queries.
func (GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseQuerySuggestion) MarshalJSON ¶ added in v0.204.0
func (s GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseQuerySuggestion) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseRecentSearchSuggestion ¶ added in v0.204.0
type GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseRecentSearchSuggestion struct { // RecentSearchTime: The time when this recent rearch happened. RecentSearchTime string `json:"recentSearchTime,omitempty"` // Suggestion: The suggestion for the query. Suggestion string `json:"suggestion,omitempty"` // ForceSendFields is a list of field names (e.g. "RecentSearchTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RecentSearchTime") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseRecentSearchSugg estion: Suggestions from recent search history.
func (GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseRecentSearchSuggestion) MarshalJSON ¶ added in v0.204.0
func (s GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponseRecentSearchSuggestion) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig ¶ added in v0.203.0
type GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig struct { }
GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig: Configuration data for advance site search.
type GoogleCloudDiscoveryengineV1betaAlloyDbSource ¶ added in v0.184.0
type GoogleCloudDiscoveryengineV1betaAlloyDbSource struct { // ClusterId: Required. The AlloyDB cluster to copy the data from with a length // limit of 256 characters. ClusterId string `json:"clusterId,omitempty"` // DatabaseId: Required. The AlloyDB database to copy the data from with a // length limit of 256 characters. DatabaseId string `json:"databaseId,omitempty"` // GcsStagingDir: Intermediate Cloud Storage directory used for the import with // a length limit of 2,000 characters. Can be specified if one wants to have // the AlloyDB export to a specific Cloud Storage directory. Ensure that the // AlloyDB service account has the necessary Cloud Storage Admin permissions to // access the specified Cloud Storage directory. GcsStagingDir string `json:"gcsStagingDir,omitempty"` // LocationId: Required. The AlloyDB location to copy the data from with a // length limit of 256 characters. LocationId string `json:"locationId,omitempty"` // ProjectId: The project ID that contains the AlloyDB source. Has a length // limit of 128 characters. If not specified, inherits the project ID from the // parent request. ProjectId string `json:"projectId,omitempty"` // TableId: Required. The AlloyDB table to copy the data from with a length // limit of 256 characters. TableId string `json:"tableId,omitempty"` // ForceSendFields is a list of field names (e.g. "ClusterId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ClusterId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAlloyDbSource: AlloyDB source import data from.
func (GoogleCloudDiscoveryengineV1betaAlloyDbSource) MarshalJSON ¶ added in v0.184.0
func (s GoogleCloudDiscoveryengineV1betaAlloyDbSource) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswer ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswer struct { // AnswerSkippedReasons: Additional answer-skipped reasons. This provides the // reason for ignored cases. If nothing is skipped, this field is not set. // // Possible values: // "ANSWER_SKIPPED_REASON_UNSPECIFIED" - Default value. The answer skipped // reason is not specified. // "ADVERSARIAL_QUERY_IGNORED" - The adversarial query ignored case. // "NON_ANSWER_SEEKING_QUERY_IGNORED" - The non-answer seeking query ignored // case Google skips the answer if the query is chit chat. // "OUT_OF_DOMAIN_QUERY_IGNORED" - The out-of-domain query ignored case. // Google skips the answer if there are no high-relevance search results. // "POTENTIAL_POLICY_VIOLATION" - The potential policy violation case. Google // skips the answer if there is a potential policy violation detected. This // includes content that may be violent or toxic. // "NO_RELEVANT_CONTENT" - The no relevant content case. Google skips the // answer if there is no relevant content in the retrieved search results. // "JAIL_BREAKING_QUERY_IGNORED" - The jail-breaking query ignored case. For // example, "Reply in the tone of a competing company's CEO". Google skips the // answer if the query is classified as a jail-breaking query. // "CUSTOMER_POLICY_VIOLATION" - The customer policy violation case. Google // skips the summary if there is a customer policy violation detected. The // policy is defined by the customer. // "NON_ANSWER_SEEKING_QUERY_IGNORED_V2" - The non-answer seeking query // ignored case. Google skips the answer if the query doesn't have clear // intent. // "LOW_GROUNDED_ANSWER" - The low-grounded answer case. Google skips the // answer if a well grounded answer was unable to be generated. AnswerSkippedReasons []string `json:"answerSkippedReasons,omitempty"` // AnswerText: The textual answer. AnswerText string `json:"answerText,omitempty"` // Citations: Citations. Citations []*GoogleCloudDiscoveryengineV1betaAnswerCitation `json:"citations,omitempty"` // CompleteTime: Output only. Answer completed timestamp. CompleteTime string `json:"completeTime,omitempty"` // CreateTime: Output only. Answer creation timestamp. CreateTime string `json:"createTime,omitempty"` // GroundingScore: A score in the range of [0, 1] describing how grounded the // answer is by the reference chunks. GroundingScore float64 `json:"groundingScore,omitempty"` // GroundingSupports: Optional. Grounding supports. GroundingSupports []*GoogleCloudDiscoveryengineV1betaAnswerGroundingSupport `json:"groundingSupports,omitempty"` // Name: Immutable. Fully qualified name // `projects/{project}/locations/global/collections/{collection}/engines/{engine // }/sessions/*/answers/*` Name string `json:"name,omitempty"` // QueryUnderstandingInfo: Query understanding information. QueryUnderstandingInfo *GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfo `json:"queryUnderstandingInfo,omitempty"` // References: References. References []*GoogleCloudDiscoveryengineV1betaAnswerReference `json:"references,omitempty"` // RelatedQuestions: Suggested related questions. RelatedQuestions []string `json:"relatedQuestions,omitempty"` // State: The state of the answer generation. // // Possible values: // "STATE_UNSPECIFIED" - Unknown. // "IN_PROGRESS" - Answer generation is currently in progress. // "FAILED" - Answer generation currently failed. // "SUCCEEDED" - Answer generation has succeeded. // "STREAMING" - Answer generation is currently in progress. State string `json:"state,omitempty"` // Steps: Answer generation steps. Steps []*GoogleCloudDiscoveryengineV1betaAnswerStep `json:"steps,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AnswerSkippedReasons") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnswerSkippedReasons") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswer: Defines an answer.
func (GoogleCloudDiscoveryengineV1betaAnswer) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswer) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaAnswer) UnmarshalJSON ¶ added in v0.211.0
func (s *GoogleCloudDiscoveryengineV1betaAnswer) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaAnswerCitation ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerCitation struct { // EndIndex: End of the attributed segment, exclusive. EndIndex int64 `json:"endIndex,omitempty,string"` // Sources: Citation sources for the attributed segment. Sources []*GoogleCloudDiscoveryengineV1betaAnswerCitationSource `json:"sources,omitempty"` // StartIndex: Index indicates the start of the segment, measured in bytes // (UTF-8 unicode). StartIndex int64 `json:"startIndex,omitempty,string"` // ForceSendFields is a list of field names (e.g. "EndIndex") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndIndex") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerCitation: Citation info for a segment.
func (GoogleCloudDiscoveryengineV1betaAnswerCitation) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerCitation) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerCitationSource ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerCitationSource struct { // ReferenceId: ID of the citation source. ReferenceId string `json:"referenceId,omitempty"` // ForceSendFields is a list of field names (e.g. "ReferenceId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ReferenceId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerCitationSource: Citation source.
func (GoogleCloudDiscoveryengineV1betaAnswerCitationSource) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerCitationSource) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerGroundingSupport ¶ added in v0.211.0
type GoogleCloudDiscoveryengineV1betaAnswerGroundingSupport struct { // EndIndex: Required. End of the claim, exclusive. EndIndex int64 `json:"endIndex,omitempty,string"` // GroundingCheckRequired: Indicates that this claim required grounding check. // When the system decided this claim didn't require attribution/grounding // check, this field is set to false. In that case, no grounding check was done // for the claim and therefore `grounding_score`, `sources` is not returned. GroundingCheckRequired bool `json:"groundingCheckRequired,omitempty"` // GroundingScore: A score in the range of [0, 1] describing how grounded is a // specific claim by the references. Higher value means that the claim is // better supported by the reference chunks. GroundingScore float64 `json:"groundingScore,omitempty"` // Sources: Optional. Citation sources for the claim. Sources []*GoogleCloudDiscoveryengineV1betaAnswerCitationSource `json:"sources,omitempty"` // StartIndex: Required. Index indicates the start of the claim, measured in // bytes (UTF-8 unicode). StartIndex int64 `json:"startIndex,omitempty,string"` // ForceSendFields is a list of field names (e.g. "EndIndex") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndIndex") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerGroundingSupport: Grounding support for a claim in `answer_text`.
func (GoogleCloudDiscoveryengineV1betaAnswerGroundingSupport) MarshalJSON ¶ added in v0.211.0
func (s GoogleCloudDiscoveryengineV1betaAnswerGroundingSupport) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaAnswerGroundingSupport) UnmarshalJSON ¶ added in v0.211.0
func (s *GoogleCloudDiscoveryengineV1betaAnswerGroundingSupport) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequest ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequest struct { // AnswerGenerationSpec: Answer generation specification. AnswerGenerationSpec *GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec `json:"answerGenerationSpec,omitempty"` // AsynchronousMode: Deprecated: This field is deprecated. Streaming Answer API // will be supported. Asynchronous mode control. If enabled, the response will // be returned with answer/session resource name without final answer. The API // users need to do the polling to get the latest status of answer/session by // calling ConversationalSearchService.GetAnswer or // ConversationalSearchService.GetSession method. AsynchronousMode bool `json:"asynchronousMode,omitempty"` // GroundingSpec: Optional. Grounding specification. GroundingSpec *GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec `json:"groundingSpec,omitempty"` // Query: Required. Current user query. Query *GoogleCloudDiscoveryengineV1betaQuery `json:"query,omitempty"` // QueryUnderstandingSpec: Query understanding specification. QueryUnderstandingSpec *GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec `json:"queryUnderstandingSpec,omitempty"` // RelatedQuestionsSpec: Related questions specification. RelatedQuestionsSpec *GoogleCloudDiscoveryengineV1betaAnswerQueryRequestRelatedQuestionsSpec `json:"relatedQuestionsSpec,omitempty"` // SafetySpec: Model specification. SafetySpec *GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpec `json:"safetySpec,omitempty"` // SearchSpec: Search specification. SearchSpec *GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpec `json:"searchSpec,omitempty"` // Session: The session resource name. Not required. When session field is not // set, the API is in sessionless mode. We support auto session mode: users can // use the wildcard symbol `-` as session ID. A new ID will be automatically // generated and assigned. Session string `json:"session,omitempty"` // UserLabels: The user labels applied to a resource must meet the following // requirements: * Each resource can have multiple labels, up to a maximum of // 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 // character and a maximum length of 63 characters and cannot be empty. Values // can be empty and have a maximum length of 63 characters. * Keys and values // can contain only lowercase letters, numeric characters, underscores, and // dashes. All characters must use UTF-8 encoding, and international characters // are allowed. * The key portion of a label must be unique. However, you can // use the same key with multiple resources. * Keys must start with a lowercase // letter or international character. See Google Cloud Document // (https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) // for more details. UserLabels map[string]string `json:"userLabels,omitempty"` // UserPseudoId: A unique identifier for tracking visitors. For example, this // could be implemented with an HTTP cookie, which should be able to uniquely // identify a visitor on a single device. This unique identifier should not // change if the visitor logs in or out of the website. This field should NOT // have a fixed value such as `unknown_visitor`. The field must be a UTF-8 // encoded string with a length limit of 128 characters. Otherwise, an // `INVALID_ARGUMENT` error is returned. UserPseudoId string `json:"userPseudoId,omitempty"` // ForceSendFields is a list of field names (e.g. "AnswerGenerationSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnswerGenerationSpec") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequest: Request message for ConversationalSearchService.AnswerQuery method.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequest) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerQueryRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec struct { // AnswerLanguageCode: Language code for Answer. Use language tags defined by // BCP47 (https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an // experimental feature. AnswerLanguageCode string `json:"answerLanguageCode,omitempty"` // IgnoreAdversarialQuery: Specifies whether to filter out adversarial queries. // The default value is `false`. Google employs search-query classification to // detect adversarial queries. No answer is returned if the search query is // classified as an adversarial query. For example, a user might ask a question // regarding negative comments about the company or submit a query designed to // generate unsafe, policy-violating output. If this field is set to `true`, we // skip generating answers for adversarial queries and return fallback messages // instead. IgnoreAdversarialQuery bool `json:"ignoreAdversarialQuery,omitempty"` // IgnoreJailBreakingQuery: Optional. Specifies whether to filter out // jail-breaking queries. The default value is `false`. Google employs // search-query classification to detect jail-breaking queries. No summary is // returned if the search query is classified as a jail-breaking query. A user // might add instructions to the query to change the tone, style, language, // content of the answer, or ask the model to act as a different entity, e.g. // "Reply in the tone of a competing company's CEO". If this field is set to // `true`, we skip generating summaries for jail-breaking queries and return // fallback messages instead. IgnoreJailBreakingQuery bool `json:"ignoreJailBreakingQuery,omitempty"` // IgnoreLowRelevantContent: Specifies whether to filter out queries that have // low relevance. If this field is set to `false`, all search results are used // regardless of relevance to generate answers. If set to `true` or unset, the // behavior will be determined automatically by the service. IgnoreLowRelevantContent bool `json:"ignoreLowRelevantContent,omitempty"` // IgnoreNonAnswerSeekingQuery: Specifies whether to filter out queries that // are not answer-seeking. The default value is `false`. Google employs // search-query classification to detect answer-seeking queries. No answer is // returned if the search query is classified as a non-answer seeking query. If // this field is set to `true`, we skip generating answers for non-answer // seeking queries and return fallback messages instead. IgnoreNonAnswerSeekingQuery bool `json:"ignoreNonAnswerSeekingQuery,omitempty"` // IncludeCitations: Specifies whether to include citation metadata in the // answer. The default value is `false`. IncludeCitations bool `json:"includeCitations,omitempty"` // ModelSpec: Answer generation model specification. ModelSpec *GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecModelSpec `json:"modelSpec,omitempty"` // PromptSpec: Answer generation prompt specification. PromptSpec *GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecPromptSpec `json:"promptSpec,omitempty"` // ForceSendFields is a list of field names (e.g. "AnswerLanguageCode") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnswerLanguageCode") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec: Answer generation specification.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecModelSpec ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecModelSpec struct { // ModelVersion: Model version. If not set, it will use the default stable // model. Allowed values are: stable, preview. ModelVersion string `json:"modelVersion,omitempty"` // ForceSendFields is a list of field names (e.g. "ModelVersion") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ModelVersion") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecModelSp ec: Answer Generation Model specification.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecModelSpec) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecModelSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecPromptSpec ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecPromptSpec struct { // Preamble: Customized preamble. Preamble string `json:"preamble,omitempty"` // ForceSendFields is a list of field names (e.g. "Preamble") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Preamble") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecPromptS pec: Answer generation prompt specification.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecPromptSpec) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpecPromptSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec ¶ added in v0.204.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec struct { // FilteringLevel: Optional. Specifies whether to enable the filtering based on // grounding score and at what level. // // Possible values: // "FILTERING_LEVEL_UNSPECIFIED" - Default is no filter // "FILTERING_LEVEL_LOW" - Filter answers based on a low threshold. // "FILTERING_LEVEL_HIGH" - Filter answers based on a high threshold. FilteringLevel string `json:"filteringLevel,omitempty"` // IncludeGroundingSupports: Optional. Specifies whether to include // grounding_supports in the answer. The default value is `false`. When this // field is set to `true`, returned answer will have `grounding_score` and will // contain GroundingSupports for each claim. IncludeGroundingSupports bool `json:"includeGroundingSupports,omitempty"` // ForceSendFields is a list of field names (e.g. "FilteringLevel") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FilteringLevel") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec: Grounding specification.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec) MarshalJSON ¶ added in v0.204.0
func (s GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec struct { // QueryClassificationSpec: Query classification specification. QueryClassificationSpec *GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec `json:"queryClassificationSpec,omitempty"` // QueryRephraserSpec: Query rephraser specification. QueryRephraserSpec *GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec `json:"queryRephraserSpec,omitempty"` // ForceSendFields is a list of field names (e.g. "QueryClassificationSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QueryClassificationSpec") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec: Query understanding specification.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec struct { // Types: Enabled query classification types. // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified query classification type. // "ADVERSARIAL_QUERY" - Adversarial query classification type. // "NON_ANSWER_SEEKING_QUERY" - Non-answer-seeking query classification type, // for chit chat. // "JAIL_BREAKING_QUERY" - Jail-breaking query classification type. // "NON_ANSWER_SEEKING_QUERY_V2" - Non-answer-seeking query classification // type, for no clear intent. Types []string `json:"types,omitempty"` // ForceSendFields is a list of field names (e.g. "Types") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Types") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQuery ClassificationSpec: Query classification specification.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec struct { // Disable: Disable query rephraser. Disable bool `json:"disable,omitempty"` // MaxRephraseSteps: Max rephrase steps. The max number is 5 steps. If not set // or set to < 1, it will be set to 1 by default. MaxRephraseSteps int64 `json:"maxRephraseSteps,omitempty"` // ModelSpec: Optional. Query Rephraser Model specification. ModelSpec *GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec `json:"modelSpec,omitempty"` // ForceSendFields is a list of field names (e.g. "Disable") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Disable") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQuery RephraserSpec: Query rephraser specification.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec ¶ added in v0.211.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec struct { // ModelType: Optional. Enabled query rephraser model type. If not set, it will // use LARGE by default. // // Possible values: // "MODEL_TYPE_UNSPECIFIED" - Unspecified model type. // "SMALL" - Small query rephraser model. Gemini 1.0 XS model. // "LARGE" - Large query rephraser model. Gemini 1.0 Pro model. ModelType string `json:"modelType,omitempty"` // ForceSendFields is a list of field names (e.g. "ModelType") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ModelType") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQuery RephraserSpecModelSpec: Query Rephraser Model specification.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec) MarshalJSON ¶ added in v0.211.0
func (s GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpecModelSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestRelatedQuestionsSpec ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestRelatedQuestionsSpec struct { // Enable: Enable related questions feature if true. Enable bool `json:"enable,omitempty"` // ForceSendFields is a list of field names (e.g. "Enable") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enable") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequestRelatedQuestionsSpec: Related questions specification.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequestRelatedQuestionsSpec) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerQueryRequestRelatedQuestionsSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpec ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpec struct { // Enable: Enable the safety filtering on the answer response. It is false by // default. Enable bool `json:"enable,omitempty"` // ForceSendFields is a list of field names (e.g. "Enable") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Enable") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpec: Safety specification. There are two use cases: 1. when only safety_spec.enable is set, the BLOCK_LOW_AND_ABOVE threshold will be applied for all categories. 2. when safety_spec.enable is set and some safety_settings are set, only specified safety_settings are applied.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpec) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSafetySpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpec ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpec struct { // SearchParams: Search parameters. SearchParams *GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchParams `json:"searchParams,omitempty"` // SearchResultList: Search result list. SearchResultList *GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultList `json:"searchResultList,omitempty"` // ForceSendFields is a list of field names (e.g. "SearchParams") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SearchParams") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpec: Search specification.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpec) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchParams ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchParams struct { // BoostSpec: Boost specification to boost certain documents in search results // which may affect the answer query response. For more information on // boosting, see Boosting (https://cloud.google.com/retail/docs/boosting#boost) BoostSpec *GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec `json:"boostSpec,omitempty"` // DataStoreSpecs: Specs defining dataStores to filter on in a search call and // configurations for those dataStores. This is only considered for engines // with multiple dataStores use case. For single dataStore within an engine, // they should use the specs at the top level. DataStoreSpecs []*GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec `json:"dataStoreSpecs,omitempty"` // Filter: The filter syntax consists of an expression language for // constructing a predicate from one or more fields of the documents being // filtered. Filter expression is case-sensitive. This will be used to filter // search results which may affect the Answer response. If this field is // unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI // Search is done by mapping the LHS filter key to a key property defined in // the Vertex AI Search backend -- this mapping is defined by the customer in // their schema. For example a media customers might have a field 'name' in // their schema. In this case the filter would look like this: filter --> // name:'ANY("king kong")' For more information about filtering including // syntax and filter operators, see Filter // (https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) Filter string `json:"filter,omitempty"` // MaxReturnResults: Number of search results to return. The default value is // 10. MaxReturnResults int64 `json:"maxReturnResults,omitempty"` // NaturalLanguageQueryUnderstandingSpec: Optional. Specification to enable // natural language understanding capabilities for search requests. NaturalLanguageQueryUnderstandingSpec *GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec `json:"naturalLanguageQueryUnderstandingSpec,omitempty"` // OrderBy: The order in which documents are returned. Documents can be ordered // by a field in an Document object. Leave it unset if ordered by relevance. // `order_by` expression is case-sensitive. For more information on ordering, // see Ordering (https://cloud.google.com/retail/docs/filter-and-order#order) // If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. OrderBy string `json:"orderBy,omitempty"` // SearchResultMode: Specifies the search result mode. If unspecified, the // search result mode defaults to `DOCUMENTS`. See parse and chunk documents // (https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents) // // Possible values: // "SEARCH_RESULT_MODE_UNSPECIFIED" - Default value. // "DOCUMENTS" - Returns documents in the search result. // "CHUNKS" - Returns chunks in the search result. Only available if the // DocumentProcessingConfig.chunking_config is specified. SearchResultMode string `json:"searchResultMode,omitempty"` // ForceSendFields is a list of field names (e.g. "BoostSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BoostSpec") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchParams: Search parameters.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchParams) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchParams) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultList ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultList struct { // SearchResults: Search results. SearchResults []*GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResult `json:"searchResults,omitempty"` // ForceSendFields is a list of field names (e.g. "SearchResults") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SearchResults") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultList:
Search result list.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultList) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultList) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResult ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResult struct { // ChunkInfo: Chunk information. ChunkInfo *GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo `json:"chunkInfo,omitempty"` // UnstructuredDocumentInfo: Unstructured document information. UnstructuredDocumentInfo *GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo `json:"unstructuredDocumentInfo,omitempty"` // ForceSendFields is a list of field names (e.g. "ChunkInfo") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChunkInfo") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListS earchResult: Search result.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResult) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResult) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo struct { // Chunk: Chunk resource name. Chunk string `json:"chunk,omitempty"` // Content: Chunk textual content. Content string `json:"content,omitempty"` // DocumentMetadata: Metadata of the document from the current chunk. DocumentMetadata *GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata `json:"documentMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "Chunk") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Chunk") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListS earchResultChunkInfo: Chunk information.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata ¶ added in v0.198.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata struct { // Title: Title of the document. Title string `json:"title,omitempty"` // Uri: Uri of the document. Uri string `json:"uri,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListS earchResultChunkInfoDocumentMetadata: Document metadata contains the information of the document of the current chunk.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata) MarshalJSON ¶ added in v0.198.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo struct { // Document: Document resource name. Document string `json:"document,omitempty"` // DocumentContexts: List of document contexts. The content will be used for // Answer Generation. This is supposed to be the main content of the document // that can be long and comprehensive. DocumentContexts []*GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext `json:"documentContexts,omitempty"` // ExtractiveAnswers: Deprecated: This field is deprecated and will have no // effect on the Answer generation. Please use document_contexts and // extractive_segments fields. List of extractive answers. ExtractiveAnswers []*GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer `json:"extractiveAnswers,omitempty"` // ExtractiveSegments: List of extractive segments. ExtractiveSegments []*GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment `json:"extractiveSegments,omitempty"` // Title: Title. Title string `json:"title,omitempty"` // Uri: URI for the document. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "Document") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Document") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListS earchResultUnstructuredDocumentInfo: Unstructured document information.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo) MarshalJSON ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext struct { // Content: Document content to be used for answer generation. Content string `json:"content,omitempty"` // PageIdentifier: Page identifier. PageIdentifier string `json:"pageIdentifier,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListS earchResultUnstructuredDocumentInfoDocumentContext: Document context.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext) MarshalJSON ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer struct { // Content: Extractive answer content. Content string `json:"content,omitempty"` // PageIdentifier: Page identifier. PageIdentifier string `json:"pageIdentifier,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListS earchResultUnstructuredDocumentInfoExtractiveAnswer: Extractive answer. Guide (https://cloud.google.com/generative-ai-app-builder/docs/snippets#get-answers)
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer) MarshalJSON ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment struct { // Content: Extractive segment content. Content string `json:"content,omitempty"` // PageIdentifier: Page identifier. PageIdentifier string `json:"pageIdentifier,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListS earchResultUnstructuredDocumentInfoExtractiveSegment: Extractive segment. Guide (https://cloud.google.com/generative-ai-app-builder/docs/snippets#extractive-segments) Answer generation will only use it if document_contexts is empty. This is supposed to be shorter snippets.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment) MarshalJSON ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryResponse ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryResponse struct { // Answer: Answer resource object. If // AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec.max_rephrase_ste // ps is greater than 1, use Answer.name to fetch answer information using // ConversationalSearchService.GetAnswer API. Answer *GoogleCloudDiscoveryengineV1betaAnswer `json:"answer,omitempty"` // AnswerQueryToken: A global unique ID used for logging. AnswerQueryToken string `json:"answerQueryToken,omitempty"` // Session: Session resource object. It will be only available when session // field is set and valid in the AnswerQueryRequest request. Session *GoogleCloudDiscoveryengineV1betaSession `json:"session,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryResponse: Response message for ConversationalSearchService.AnswerQuery method.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryResponse) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerQueryResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfo ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfo struct { // QueryClassificationInfo: Query classification information. QueryClassificationInfo []*GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfoQueryClassificationInfo `json:"queryClassificationInfo,omitempty"` // ForceSendFields is a list of field names (e.g. "QueryClassificationInfo") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QueryClassificationInfo") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfo: Query understanding information.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfo) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfoQueryClassificationInfo ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfoQueryClassificationInfo struct { // Positive: Classification output. Positive bool `json:"positive,omitempty"` // Type: Query classification type. // // Possible values: // "TYPE_UNSPECIFIED" - Unspecified query classification type. // "ADVERSARIAL_QUERY" - Adversarial query classification type. // "NON_ANSWER_SEEKING_QUERY" - Non-answer-seeking query classification type, // for chit chat. // "JAIL_BREAKING_QUERY" - Jail-breaking query classification type. // "NON_ANSWER_SEEKING_QUERY_V2" - Non-answer-seeking query classification // type, for no clear intent. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Positive") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Positive") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfoQueryClassificati onInfo: Query classification information.
func (GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfoQueryClassificationInfo) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerQueryUnderstandingInfoQueryClassificationInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerReference ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerReference struct { // ChunkInfo: Chunk information. ChunkInfo *GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo `json:"chunkInfo,omitempty"` // StructuredDocumentInfo: Structured document information. StructuredDocumentInfo *GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo `json:"structuredDocumentInfo,omitempty"` // UnstructuredDocumentInfo: Unstructured document information. UnstructuredDocumentInfo *GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo `json:"unstructuredDocumentInfo,omitempty"` // ForceSendFields is a list of field names (e.g. "ChunkInfo") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChunkInfo") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerReference: Reference.
func (GoogleCloudDiscoveryengineV1betaAnswerReference) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerReference) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo struct { // Chunk: Chunk resource name. Chunk string `json:"chunk,omitempty"` // Content: Chunk textual content. Content string `json:"content,omitempty"` // DocumentMetadata: Document metadata. DocumentMetadata *GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfoDocumentMetadata `json:"documentMetadata,omitempty"` // RelevanceScore: The relevance of the chunk for a given query. Values range // from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is // for informational purpose only. It may change for the same query and chunk // at any time due to a model retraining or change in implementation. RelevanceScore float64 `json:"relevanceScore,omitempty"` // ForceSendFields is a list of field names (e.g. "Chunk") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Chunk") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo: Chunk information.
func (GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo) UnmarshalJSON ¶ added in v0.173.0
func (s *GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfoDocumentMetadata ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfoDocumentMetadata struct { // Document: Document resource name. Document string `json:"document,omitempty"` // PageIdentifier: Page identifier. PageIdentifier string `json:"pageIdentifier,omitempty"` // StructData: The structured JSON metadata for the document. It is populated // from the struct data from the Chunk in search result. StructData googleapi.RawMessage `json:"structData,omitempty"` // Title: Title. Title string `json:"title,omitempty"` // Uri: URI for the document. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "Document") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Document") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfoDocumentMetadata: Document metadata.
func (GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfoDocumentMetadata) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfoDocumentMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo struct { // Document: Document resource name. Document string `json:"document,omitempty"` // StructData: Structured search data. StructData googleapi.RawMessage `json:"structData,omitempty"` // ForceSendFields is a list of field names (e.g. "Document") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Document") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo: Structured search information.
func (GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo struct { // ChunkContents: List of cited chunk contents derived from document content. ChunkContents []*GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfoChunkContent `json:"chunkContents,omitempty"` // Document: Document resource name. Document string `json:"document,omitempty"` // StructData: The structured JSON metadata for the document. It is populated // from the struct data from the Chunk in search result. StructData googleapi.RawMessage `json:"structData,omitempty"` // Title: Title. Title string `json:"title,omitempty"` // Uri: URI for the document. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "ChunkContents") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChunkContents") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo: Unstructured document information.
func (GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfoChunkContent ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfoChunkContent struct { // Content: Chunk textual content. Content string `json:"content,omitempty"` // PageIdentifier: Page identifier. PageIdentifier string `json:"pageIdentifier,omitempty"` // RelevanceScore: The relevance of the chunk for a given query. Values range // from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is // for informational purpose only. It may change for the same query and chunk // at any time due to a model retraining or change in implementation. RelevanceScore float64 `json:"relevanceScore,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfoChunkC ontent: Chunk content.
func (GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfoChunkContent) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfoChunkContent) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfoChunkContent) UnmarshalJSON ¶ added in v0.190.0
func (s *GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfoChunkContent) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaAnswerStep ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerStep struct { // Actions: Actions. Actions []*GoogleCloudDiscoveryengineV1betaAnswerStepAction `json:"actions,omitempty"` // Description: The description of the step. Description string `json:"description,omitempty"` // State: The state of the step. // // Possible values: // "STATE_UNSPECIFIED" - Unknown. // "IN_PROGRESS" - Step is currently in progress. // "FAILED" - Step currently failed. // "SUCCEEDED" - Step has succeeded. State string `json:"state,omitempty"` // Thought: The thought of the step. Thought string `json:"thought,omitempty"` // ForceSendFields is a list of field names (e.g. "Actions") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Actions") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerStep: Step information.
func (GoogleCloudDiscoveryengineV1betaAnswerStep) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerStep) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerStepAction ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerStepAction struct { // Observation: Observation. Observation *GoogleCloudDiscoveryengineV1betaAnswerStepActionObservation `json:"observation,omitempty"` // SearchAction: Search action. SearchAction *GoogleCloudDiscoveryengineV1betaAnswerStepActionSearchAction `json:"searchAction,omitempty"` // ForceSendFields is a list of field names (e.g. "Observation") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Observation") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerStepAction: Action.
func (GoogleCloudDiscoveryengineV1betaAnswerStepAction) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerStepAction) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerStepActionObservation ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerStepActionObservation struct { // SearchResults: Search results observed by the search action, it can be // snippets info or chunk info, depending on the citation type set by the user. SearchResults []*GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResult `json:"searchResults,omitempty"` // ForceSendFields is a list of field names (e.g. "SearchResults") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SearchResults") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerStepActionObservation: Observation.
func (GoogleCloudDiscoveryengineV1betaAnswerStepActionObservation) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerStepActionObservation) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResult ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResult struct { // ChunkInfo: If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, // populate chunk info. ChunkInfo []*GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultChunkInfo `json:"chunkInfo,omitempty"` // Document: Document resource name. Document string `json:"document,omitempty"` // SnippetInfo: If citation_type is DOCUMENT_LEVEL_CITATION, populate document // level snippets. SnippetInfo []*GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultSnippetInfo `json:"snippetInfo,omitempty"` // StructData: Data representation. The structured JSON data for the document. // It's populated from the struct data from the Document, or the Chunk in // search result. StructData googleapi.RawMessage `json:"structData,omitempty"` // Title: Title. Title string `json:"title,omitempty"` // Uri: URI for the document. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "ChunkInfo") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChunkInfo") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
func (GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResult) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResult) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultChunkInfo ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultChunkInfo struct { // Chunk: Chunk resource name. Chunk string `json:"chunk,omitempty"` // Content: Chunk textual content. Content string `json:"content,omitempty"` // RelevanceScore: The relevance of the chunk for a given query. Values range // from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is // for informational purpose only. It may change for the same query and chunk // at any time due to a model retraining or change in implementation. RelevanceScore float64 `json:"relevanceScore,omitempty"` // ForceSendFields is a list of field names (e.g. "Chunk") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Chunk") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultChunkI nfo: Chunk information.
func (GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultChunkInfo) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultChunkInfo) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultChunkInfo) UnmarshalJSON ¶ added in v0.173.0
func (s *GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultChunkInfo) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultSnippetInfo ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultSnippetInfo struct { // Snippet: Snippet content. Snippet string `json:"snippet,omitempty"` // SnippetStatus: Status of the snippet defined by the search team. SnippetStatus string `json:"snippetStatus,omitempty"` // ForceSendFields is a list of field names (e.g. "Snippet") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Snippet") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultSnippe tInfo: Snippet information.
func (GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultSnippetInfo) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultSnippetInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaAnswerStepActionSearchAction ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaAnswerStepActionSearchAction struct { // Query: The query to search. Query string `json:"query,omitempty"` // ForceSendFields is a list of field names (e.g. "Query") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Query") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaAnswerStepActionSearchAction: Search action.
func (GoogleCloudDiscoveryengineV1betaAnswerStepActionSearchAction) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaAnswerStepActionSearchAction) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata: Metadata related to the progress of the SiteSearchEngineService.BatchCreateTargetSites operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest struct { // Requests: Required. The request message specifying the resources to create. // A maximum of 20 TargetSites can be created in a batch. Requests []*GoogleCloudDiscoveryengineV1betaCreateTargetSiteRequest `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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest: Request message for SiteSearchEngineService.BatchCreateTargetSites method.
func (GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse struct { // TargetSites: TargetSites created. TargetSites []*GoogleCloudDiscoveryengineV1betaTargetSite `json:"targetSites,omitempty"` // ForceSendFields is a list of field names (e.g. "TargetSites") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TargetSites") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse: Response message for SiteSearchEngineService.BatchCreateTargetSites method.
func (GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponse ¶ added in v0.193.0
type GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponse struct { // DocumentsMetadata: The metadata of the Documents. DocumentsMetadata []*GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadata `json:"documentsMetadata,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DocumentsMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DocumentsMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponse: Response message for DocumentService.BatchGetDocumentsMetadata method.
func (GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponse) MarshalJSON ¶ added in v0.193.0
func (s GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadata ¶ added in v0.193.0
type GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadata struct { // DataIngestionSource: The data ingestion source of the Document. Allowed // values are: * `batch`: Data ingested via Batch API, e.g., ImportDocuments. * // `streaming` Data ingested via Streaming API, e.g., FHIR streaming. DataIngestionSource string `json:"dataIngestionSource,omitempty"` // LastRefreshedTime: The timestamp of the last time the Document was last // indexed. LastRefreshedTime string `json:"lastRefreshedTime,omitempty"` // MatcherValue: The value of the matcher that was used to match the Document. MatcherValue *GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue `json:"matcherValue,omitempty"` // State: The state of the document. // // Possible values: // "STATE_UNSPECIFIED" - Should never be set. // "INDEXED" - The Document is indexed. // "NOT_IN_TARGET_SITE" - The Document is not indexed because its URI is not // in the TargetSite. // "NOT_IN_INDEX" - The Document is not indexed. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "DataIngestionSource") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataIngestionSource") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMeta data: The metadata of a Document.
func (GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadata) MarshalJSON ¶ added in v0.193.0
func (s GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue ¶ added in v0.193.0
type GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue struct { // FhirResource: Format: // projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_s // tore}/fhir/{resource_type}/{fhir_resource_id} FhirResource string `json:"fhirResource,omitempty"` // Uri: If match by URI, the URI of the Document. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "FhirResource") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FhirResource") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMeta dataMatcherValue: The value of the matcher that was used to match the Document.
func (GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue) MarshalJSON ¶ added in v0.193.0
func (s GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest struct { }
GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest: Request message for SiteSearchEngineService.BatchVerifyTargetSites method.
type GoogleCloudDiscoveryengineV1betaBigQuerySource ¶
type GoogleCloudDiscoveryengineV1betaBigQuerySource struct { // DataSchema: The schema to use when parsing the data from the source. // Supported values for user event imports: * `user_event` (default): One // UserEvent per row. Supported values for document imports: * `document` // (default): One Document format per row. Each document must have a valid // Document.id and one of Document.json_data or Document.struct_data. * // `custom`: One custom data per row in arbitrary format that conforms to the // defined Schema of the data store. This can only be used by the GENERIC Data // Store vertical. DataSchema string `json:"dataSchema,omitempty"` // DatasetId: Required. The BigQuery data set to copy the data from with a // length limit of 1,024 characters. DatasetId string `json:"datasetId,omitempty"` // GcsStagingDir: Intermediate Cloud Storage directory used for the import with // a length limit of 2,000 characters. Can be specified if one wants to have // the BigQuery export to a specific Cloud Storage directory. GcsStagingDir string `json:"gcsStagingDir,omitempty"` // PartitionDate: BigQuery time partitioned table's _PARTITIONDATE in // YYYY-MM-DD format. PartitionDate *GoogleTypeDate `json:"partitionDate,omitempty"` // ProjectId: The project ID or the project number that contains the BigQuery // source. Has a length limit of 128 characters. If not specified, inherits the // project ID from the parent request. ProjectId string `json:"projectId,omitempty"` // TableId: Required. The BigQuery table to copy the data from with a length // limit of 1,024 characters. TableId string `json:"tableId,omitempty"` // ForceSendFields is a list of field names (e.g. "DataSchema") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataSchema") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaBigQuerySource: BigQuery source import data from.
func (GoogleCloudDiscoveryengineV1betaBigQuerySource) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaBigQuerySource) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaBigtableOptions ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaBigtableOptions struct { // Families: The mapping from family names to an object that contains column // families level information for the given column family. If a family is not // present in this map it will be ignored. Families map[string]GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumnFamily `json:"families,omitempty"` // KeyFieldName: The field name used for saving row key value in the document. // The name has to match the pattern `a-zA-Z0-9*`. KeyFieldName string `json:"keyFieldName,omitempty"` // ForceSendFields is a list of field names (e.g. "Families") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Families") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaBigtableOptions: The Bigtable Options object that contains information to support the import.
func (GoogleCloudDiscoveryengineV1betaBigtableOptions) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaBigtableOptions) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumn ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumn struct { // Encoding: The encoding mode of the values when the type is not `STRING`. // Acceptable encoding values are: * `TEXT`: indicates values are alphanumeric // text strings. * `BINARY`: indicates values are encoded using `HBase // Bytes.toBytes` family of functions. This can be overridden for a specific // column by listing that column in `columns` and specifying an encoding for // it. // // Possible values: // "ENCODING_UNSPECIFIED" - The encoding is unspecified. // "TEXT" - Text encoding. // "BINARY" - Binary encoding. Encoding string `json:"encoding,omitempty"` // FieldName: The field name to use for this column in the document. The name // has to match the pattern `a-zA-Z0-9*`. If not set, it is parsed from the // qualifier bytes with best effort. However, due to different naming patterns, // field name collisions could happen, where parsing behavior is undefined. FieldName string `json:"fieldName,omitempty"` // Qualifier: Required. Qualifier of the column. If it cannot be decoded with // utf-8, use a base-64 encoded string instead. Qualifier string `json:"qualifier,omitempty"` // Type: The type of values in this column family. The values are expected to // be encoded using `HBase Bytes.toBytes` function when the encoding value is // set to `BINARY`. // // Possible values: // "TYPE_UNSPECIFIED" - The type is unspecified. // "STRING" - String type. // "NUMBER" - Numerical type. // "INTEGER" - Integer type. // "VAR_INTEGER" - Variable length integer type. // "BIG_NUMERIC" - BigDecimal type. // "BOOLEAN" - Boolean type. // "JSON" - JSON type. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Encoding") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Encoding") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumn: The column of the Bigtable.
func (GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumn) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumn) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumnFamily ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumnFamily struct { // Columns: The list of objects that contains column level information for each // column. If a column is not present in this list it will be ignored. Columns []*GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumn `json:"columns,omitempty"` // Encoding: The encoding mode of the values when the type is not STRING. // Acceptable encoding values are: * `TEXT`: indicates values are alphanumeric // text strings. * `BINARY`: indicates values are encoded using `HBase // Bytes.toBytes` family of functions. This can be overridden for a specific // column by listing that column in `columns` and specifying an encoding for // it. // // Possible values: // "ENCODING_UNSPECIFIED" - The encoding is unspecified. // "TEXT" - Text encoding. // "BINARY" - Binary encoding. Encoding string `json:"encoding,omitempty"` // FieldName: The field name to use for this column family in the document. The // name has to match the pattern `a-zA-Z0-9*`. If not set, it is parsed from // the family name with best effort. However, due to different naming patterns, // field name collisions could happen, where parsing behavior is undefined. FieldName string `json:"fieldName,omitempty"` // Type: The type of values in this column family. The values are expected to // be encoded using `HBase Bytes.toBytes` function when the encoding value is // set to `BINARY`. // // Possible values: // "TYPE_UNSPECIFIED" - The type is unspecified. // "STRING" - String type. // "NUMBER" - Numerical type. // "INTEGER" - Integer type. // "VAR_INTEGER" - Variable length integer type. // "BIG_NUMERIC" - BigDecimal type. // "BOOLEAN" - Boolean type. // "JSON" - JSON type. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Columns") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Columns") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumnFamily: The column family of the Bigtable.
func (GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumnFamily) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaBigtableOptionsBigtableColumnFamily) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaBigtableSource ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaBigtableSource struct { // BigtableOptions: Required. Bigtable options that contains information needed // when parsing data into typed structures. For example, column type // annotations. BigtableOptions *GoogleCloudDiscoveryengineV1betaBigtableOptions `json:"bigtableOptions,omitempty"` // InstanceId: Required. The instance ID of the Cloud Bigtable that needs to be // imported. InstanceId string `json:"instanceId,omitempty"` // ProjectId: The project ID that contains the Bigtable source. Has a length // limit of 128 characters. If not specified, inherits the project ID from the // parent request. ProjectId string `json:"projectId,omitempty"` // TableId: Required. The table ID of the Cloud Bigtable that needs to be // imported. TableId string `json:"tableId,omitempty"` // ForceSendFields is a list of field names (e.g. "BigtableOptions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigtableOptions") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaBigtableSource: The Cloud Bigtable source for importing data.
func (GoogleCloudDiscoveryengineV1betaBigtableSource) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaBigtableSource) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaCheckGroundingRequest ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaCheckGroundingRequest struct { // AnswerCandidate: Answer candidate to check. It can have a maximum length of // 4096 tokens. AnswerCandidate string `json:"answerCandidate,omitempty"` // Facts: List of facts for the grounding check. We support up to 200 facts. Facts []*GoogleCloudDiscoveryengineV1betaGroundingFact `json:"facts,omitempty"` // GroundingSpec: Configuration of the grounding check. GroundingSpec *GoogleCloudDiscoveryengineV1betaCheckGroundingSpec `json:"groundingSpec,omitempty"` // UserLabels: The user labels applied to a resource must meet the following // requirements: * Each resource can have multiple labels, up to a maximum of // 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 // character and a maximum length of 63 characters and cannot be empty. Values // can be empty and have a maximum length of 63 characters. * Keys and values // can contain only lowercase letters, numeric characters, underscores, and // dashes. All characters must use UTF-8 encoding, and international characters // are allowed. * The key portion of a label must be unique. However, you can // use the same key with multiple resources. * Keys must start with a lowercase // letter or international character. See Google Cloud Document // (https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) // for more details. UserLabels map[string]string `json:"userLabels,omitempty"` // ForceSendFields is a list of field names (e.g. "AnswerCandidate") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnswerCandidate") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaCheckGroundingRequest: Request message for GroundedGenerationService.CheckGrounding method.
func (GoogleCloudDiscoveryengineV1betaCheckGroundingRequest) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaCheckGroundingRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaCheckGroundingResponse ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaCheckGroundingResponse struct { // CitedChunks: List of facts cited across all claims in the answer candidate. // These are derived from the facts supplied in the request. CitedChunks []*GoogleCloudDiscoveryengineV1betaFactChunk `json:"citedChunks,omitempty"` // CitedFacts: List of facts cited across all claims in the answer candidate. // These are derived from the facts supplied in the request. CitedFacts []*GoogleCloudDiscoveryengineV1betaCheckGroundingResponseCheckGroundingFactChunk `json:"citedFacts,omitempty"` // Claims: Claim texts and citation info across all claims in the answer // candidate. Claims []*GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim `json:"claims,omitempty"` // SupportScore: The support score for the input answer candidate. Higher the // score, higher is the fraction of claims that are supported by the provided // facts. This is always set when a response is returned. SupportScore float64 `json:"supportScore,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CitedChunks") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CitedChunks") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaCheckGroundingResponse: Response message for the GroundedGenerationService.CheckGrounding method.
func (GoogleCloudDiscoveryengineV1betaCheckGroundingResponse) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaCheckGroundingResponse) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaCheckGroundingResponse) UnmarshalJSON ¶ added in v0.173.0
func (s *GoogleCloudDiscoveryengineV1betaCheckGroundingResponse) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaCheckGroundingResponseCheckGroundingFactChunk ¶ added in v0.205.0
type GoogleCloudDiscoveryengineV1betaCheckGroundingResponseCheckGroundingFactChunk struct { // ChunkText: Text content of the fact chunk. Can be at most 10K characters // long. ChunkText string `json:"chunkText,omitempty"` // ForceSendFields is a list of field names (e.g. "ChunkText") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChunkText") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaCheckGroundingResponseCheckGroundingFactChunk : Fact chunk for grounding check.
func (GoogleCloudDiscoveryengineV1betaCheckGroundingResponseCheckGroundingFactChunk) MarshalJSON ¶ added in v0.205.0
func (s GoogleCloudDiscoveryengineV1betaCheckGroundingResponseCheckGroundingFactChunk) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim struct { // CitationIndices: A list of indices (into 'cited_chunks') specifying the // citations associated with the claim. For instance [1,3,4] means that // cited_chunks[1], cited_chunks[3], cited_chunks[4] are the facts cited // supporting for the claim. A citation to a fact indicates that the claim is // supported by the fact. CitationIndices []int64 `json:"citationIndices,omitempty"` // ClaimText: Text for the claim in the answer candidate. Always provided // regardless of whether citations or anti-citations are found. ClaimText string `json:"claimText,omitempty"` // EndPos: Position indicating the end of the claim in the answer candidate, // exclusive. EndPos int64 `json:"endPos,omitempty"` // GroundingCheckRequired: Indicates that this claim required grounding check. // When the system decided this claim doesn't require attribution/grounding // check, this field will be set to false. In that case, no grounding check was // done for the claim and therefore citation_indices should not be returned. GroundingCheckRequired bool `json:"groundingCheckRequired,omitempty"` // StartPos: Position indicating the start of the claim in the answer // candidate, measured in bytes. StartPos int64 `json:"startPos,omitempty"` // ForceSendFields is a list of field names (e.g. "CitationIndices") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CitationIndices") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim: Text and citation info for a claim in the answer candidate.
func (GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaCheckGroundingResponseClaim) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaCheckGroundingSpec ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaCheckGroundingSpec struct { // CitationThreshold: The threshold (in [0,1]) used for determining whether a // fact must be cited for a claim in the answer candidate. Choosing a higher // threshold will lead to fewer but very strong citations, while choosing a // lower threshold may lead to more but somewhat weaker citations. If unset, // the threshold will default to 0.6. CitationThreshold float64 `json:"citationThreshold,omitempty"` // ForceSendFields is a list of field names (e.g. "CitationThreshold") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CitationThreshold") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaCheckGroundingSpec: Specification for the grounding check.
func (GoogleCloudDiscoveryengineV1betaCheckGroundingSpec) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaCheckGroundingSpec) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaCheckGroundingSpec) UnmarshalJSON ¶ added in v0.173.0
func (s *GoogleCloudDiscoveryengineV1betaCheckGroundingSpec) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaChunk ¶ added in v0.185.0
type GoogleCloudDiscoveryengineV1betaChunk struct { // ChunkMetadata: Output only. Metadata of the current chunk. ChunkMetadata *GoogleCloudDiscoveryengineV1betaChunkChunkMetadata `json:"chunkMetadata,omitempty"` // Content: Content is a string from a document (parsed content). Content string `json:"content,omitempty"` // DerivedStructData: Output only. This field is OUTPUT_ONLY. It contains // derived data that are not in the original input document. DerivedStructData googleapi.RawMessage `json:"derivedStructData,omitempty"` // DocumentMetadata: Metadata of the document from the current chunk. DocumentMetadata *GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata `json:"documentMetadata,omitempty"` // Id: Unique chunk ID of the current chunk. Id string `json:"id,omitempty"` // Name: The full resource name of the chunk. Format: // `projects/{project}/locations/{location}/collections/{collection}/dataStores/ // {data_store}/branches/{branch}/documents/{document_id}/chunks/{chunk_id}`. // This field must be a UTF-8 encoded string with a length limit of 1024 // characters. Name string `json:"name,omitempty"` // PageSpan: Page span of the chunk. PageSpan *GoogleCloudDiscoveryengineV1betaChunkPageSpan `json:"pageSpan,omitempty"` // RelevanceScore: Output only. Represents the relevance score based on // similarity. Higher score indicates higher chunk relevance. The score is in // range [-1.0, 1.0]. Only populated on SearchResponse. RelevanceScore float64 `json:"relevanceScore,omitempty"` // ForceSendFields is a list of field names (e.g. "ChunkMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChunkMetadata") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaChunk: Chunk captures all raw metadata information of items to be recommended or searched in the chunk mode.
func (GoogleCloudDiscoveryengineV1betaChunk) MarshalJSON ¶ added in v0.185.0
func (s GoogleCloudDiscoveryengineV1betaChunk) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaChunk) UnmarshalJSON ¶ added in v0.185.0
func (s *GoogleCloudDiscoveryengineV1betaChunk) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaChunkChunkMetadata ¶ added in v0.185.0
type GoogleCloudDiscoveryengineV1betaChunkChunkMetadata struct { // NextChunks: The next chunks of the current chunk. The number is controlled // by SearchRequest.ContentSearchSpec.ChunkSpec.num_next_chunks. This field is // only populated on SearchService.Search API. NextChunks []*GoogleCloudDiscoveryengineV1betaChunk `json:"nextChunks,omitempty"` // PreviousChunks: The previous chunks of the current chunk. The number is // controlled by SearchRequest.ContentSearchSpec.ChunkSpec.num_previous_chunks. // This field is only populated on SearchService.Search API. PreviousChunks []*GoogleCloudDiscoveryengineV1betaChunk `json:"previousChunks,omitempty"` // ForceSendFields is a list of field names (e.g. "NextChunks") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextChunks") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaChunkChunkMetadata: Metadata of the current chunk. This field is only populated on SearchService.Search API.
func (GoogleCloudDiscoveryengineV1betaChunkChunkMetadata) MarshalJSON ¶ added in v0.185.0
func (s GoogleCloudDiscoveryengineV1betaChunkChunkMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata ¶ added in v0.185.0
type GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata struct { // StructData: Data representation. The structured JSON data for the document. // It should conform to the registered Schema or an `INVALID_ARGUMENT` error is // thrown. StructData googleapi.RawMessage `json:"structData,omitempty"` // Title: Title of the document. Title string `json:"title,omitempty"` // Uri: Uri of the document. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "StructData") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "StructData") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata: Document metadata contains the information of the document of the current chunk.
func (GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata) MarshalJSON ¶ added in v0.185.0
func (s GoogleCloudDiscoveryengineV1betaChunkDocumentMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaChunkPageSpan ¶ added in v0.185.0
type GoogleCloudDiscoveryengineV1betaChunkPageSpan struct { // PageEnd: The end page of the chunk. PageEnd int64 `json:"pageEnd,omitempty"` // PageStart: The start page of the chunk. PageStart int64 `json:"pageStart,omitempty"` // ForceSendFields is a list of field names (e.g. "PageEnd") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PageEnd") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaChunkPageSpan: Page span of the chunk.
func (GoogleCloudDiscoveryengineV1betaChunkPageSpan) MarshalJSON ¶ added in v0.185.0
func (s GoogleCloudDiscoveryengineV1betaChunkPageSpan) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaCloudSqlSource ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaCloudSqlSource struct { // DatabaseId: Required. The Cloud SQL database to copy the data from with a // length limit of 256 characters. DatabaseId string `json:"databaseId,omitempty"` // GcsStagingDir: Intermediate Cloud Storage directory used for the import with // a length limit of 2,000 characters. Can be specified if one wants to have // the Cloud SQL export to a specific Cloud Storage directory. Ensure that the // Cloud SQL service account has the necessary Cloud Storage Admin permissions // to access the specified Cloud Storage directory. GcsStagingDir string `json:"gcsStagingDir,omitempty"` // InstanceId: Required. The Cloud SQL instance to copy the data from with a // length limit of 256 characters. InstanceId string `json:"instanceId,omitempty"` // Offload: Option for serverless export. Enabling this option will incur // additional cost. More info can be found here // (https://cloud.google.com/sql/pricing#serverless). Offload bool `json:"offload,omitempty"` // ProjectId: The project ID that contains the Cloud SQL source. Has a length // limit of 128 characters. If not specified, inherits the project ID from the // parent request. ProjectId string `json:"projectId,omitempty"` // TableId: Required. The Cloud SQL table to copy the data from with a length // limit of 256 characters. TableId string `json:"tableId,omitempty"` // ForceSendFields is a list of field names (e.g. "DatabaseId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DatabaseId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaCloudSqlSource: Cloud SQL source import data from.
func (GoogleCloudDiscoveryengineV1betaCloudSqlSource) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaCloudSqlSource) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaCmekConfig ¶ added in v0.202.0
type GoogleCloudDiscoveryengineV1betaCmekConfig struct { // IsDefault: Output only. The default CmekConfig for the Customer. IsDefault bool `json:"isDefault,omitempty"` // KmsKey: Kms key resource name which will be used to encrypt resources // `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId // }`. KmsKey string `json:"kmsKey,omitempty"` // KmsKeyVersion: Kms key version resource name which will be used to encrypt // resources `/cryptoKeyVersions/{keyVersion}`. KmsKeyVersion string `json:"kmsKeyVersion,omitempty"` // LastRotationTimestampMicros: Output only. The timestamp of the last key // rotation. LastRotationTimestampMicros int64 `json:"lastRotationTimestampMicros,omitempty,string"` // Name: Required. Name of the CmekConfig, of the form // `projects/{project}/locations/{location}/cmekConfig` or // `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. Name string `json:"name,omitempty"` // State: Output only. State of the CmekConfig. // // Possible values: // "STATE_UNSPECIFIED" - The CmekConfig state is unknown. // "CREATING" - The CmekConfig is creating. // "ACTIVE" - The CmekConfig can be used with DataStores. // "KEY_ISSUE" - The CmekConfig is unavailable, most likely due to the KMS // Key being revoked. // "DELETING" - The CmekConfig is deleting. // "UNUSABLE" - The CmekConfig is not usable, most likely due to some // internal issue. // "ACTIVE_ROTATING" - The KMS key version is being rotated. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "IsDefault") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IsDefault") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaCmekConfig: Configurations used to enable CMEK data encryption with Cloud KMS keys.
func (GoogleCloudDiscoveryengineV1betaCmekConfig) MarshalJSON ¶ added in v0.202.0
func (s GoogleCloudDiscoveryengineV1betaCmekConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaCompleteQueryResponse ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaCompleteQueryResponse struct { // QuerySuggestions: Results of the matched query suggestions. The result list // is ordered and the first result is a top suggestion. QuerySuggestions []*GoogleCloudDiscoveryengineV1betaCompleteQueryResponseQuerySuggestion `json:"querySuggestions,omitempty"` // TailMatchTriggered: True if the returned suggestions are all tail // suggestions. For tail matching to be triggered, include_tail_suggestions in // the request must be true and there must be no suggestions that match the // full query. TailMatchTriggered bool `json:"tailMatchTriggered,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "QuerySuggestions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QuerySuggestions") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaCompleteQueryResponse: Response message for CompletionService.CompleteQuery method.
func (GoogleCloudDiscoveryengineV1betaCompleteQueryResponse) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaCompleteQueryResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaCompleteQueryResponseQuerySuggestion ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaCompleteQueryResponseQuerySuggestion struct { // CompletableFieldPaths: The unique document field paths that serve as the // source of this suggestion if it was generated from completable fields. This // field is only populated for the document-completable model. CompletableFieldPaths []string `json:"completableFieldPaths,omitempty"` // Suggestion: The suggestion for the query. Suggestion string `json:"suggestion,omitempty"` // ForceSendFields is a list of field names (e.g. "CompletableFieldPaths") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CompletableFieldPaths") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaCompleteQueryResponseQuerySuggestion: Suggestions as search queries.
func (GoogleCloudDiscoveryengineV1betaCompleteQueryResponseQuerySuggestion) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaCompleteQueryResponseQuerySuggestion) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaCompletionInfo ¶
type GoogleCloudDiscoveryengineV1betaCompletionInfo struct { // SelectedPosition: End user selected // CompleteQueryResponse.QuerySuggestion.suggestion position, starting from 0. SelectedPosition int64 `json:"selectedPosition,omitempty"` // SelectedSuggestion: End user selected // CompleteQueryResponse.QuerySuggestion.suggestion. SelectedSuggestion string `json:"selectedSuggestion,omitempty"` // ForceSendFields is a list of field names (e.g. "SelectedPosition") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SelectedPosition") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaCompletionInfo: Detailed completion information including completion attribution token and clicked completion info.
func (GoogleCloudDiscoveryengineV1betaCompletionInfo) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaCompletionInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaCompletionSuggestion ¶ added in v0.186.0
type GoogleCloudDiscoveryengineV1betaCompletionSuggestion struct { // AlternativePhrases: Alternative matching phrases for this suggestion. AlternativePhrases []string `json:"alternativePhrases,omitempty"` // Frequency: Frequency of this suggestion. Will be used to rank suggestions // when score is not available. Frequency int64 `json:"frequency,omitempty,string"` // GlobalScore: Global score of this suggestion. Control how this suggestion // would be scored / ranked. GlobalScore float64 `json:"globalScore,omitempty"` // GroupId: If two suggestions have the same groupId, they will not be returned // together. Instead the one ranked higher will be returned. This can be used // to deduplicate semantically identical suggestions. GroupId string `json:"groupId,omitempty"` // GroupScore: The score of this suggestion within its group. GroupScore float64 `json:"groupScore,omitempty"` // LanguageCode: BCP-47 language code of this suggestion. LanguageCode string `json:"languageCode,omitempty"` // Suggestion: Required. The suggestion text. Suggestion string `json:"suggestion,omitempty"` // ForceSendFields is a list of field names (e.g. "AlternativePhrases") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AlternativePhrases") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaCompletionSuggestion: Autocomplete suggestions that are imported from Customer.
func (GoogleCloudDiscoveryengineV1betaCompletionSuggestion) MarshalJSON ¶ added in v0.186.0
func (s GoogleCloudDiscoveryengineV1betaCompletionSuggestion) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaCompletionSuggestion) UnmarshalJSON ¶ added in v0.186.0
func (s *GoogleCloudDiscoveryengineV1betaCompletionSuggestion) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaCondition ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1betaCondition struct { // ActiveTimeRange: Range of time(s) specifying when condition is active. // Maximum of 10 time ranges. ActiveTimeRange []*GoogleCloudDiscoveryengineV1betaConditionTimeRange `json:"activeTimeRange,omitempty"` // QueryRegex: Optional. Query regex to match the whole search query. Cannot be // set when Condition.query_terms is set. This is currently supporting // promotion use case. QueryRegex string `json:"queryRegex,omitempty"` // QueryTerms: Search only A list of terms to match the query on. Cannot be set // when Condition.query_regex is set. Maximum of 10 query terms. QueryTerms []*GoogleCloudDiscoveryengineV1betaConditionQueryTerm `json:"queryTerms,omitempty"` // ForceSendFields is a list of field names (e.g. "ActiveTimeRange") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ActiveTimeRange") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaCondition: Defines circumstances to be checked before allowing a behavior
func (GoogleCloudDiscoveryengineV1betaCondition) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1betaCondition) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaConditionQueryTerm ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1betaConditionQueryTerm struct { // FullMatch: Whether the search query needs to exactly match the query term. FullMatch bool `json:"fullMatch,omitempty"` // Value: The specific query value to match against Must be lowercase, must be // UTF-8. Can have at most 3 space separated terms if full_match is true. // Cannot be an empty string. Maximum length of 5000 characters. Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "FullMatch") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FullMatch") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaConditionQueryTerm: Matcher for search request query
func (GoogleCloudDiscoveryengineV1betaConditionQueryTerm) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1betaConditionQueryTerm) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaConditionTimeRange ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1betaConditionTimeRange struct { // EndTime: End of time range. Range is inclusive. Must be in the future. EndTime string `json:"endTime,omitempty"` // StartTime: Start of time range. Range is inclusive. StartTime string `json:"startTime,omitempty"` // ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaConditionTimeRange: Used for time-dependent conditions.
func (GoogleCloudDiscoveryengineV1betaConditionTimeRange) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1betaConditionTimeRange) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaControl ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1betaControl struct { // AssociatedServingConfigIds: Output only. List of all ServingConfig IDs this // control is attached to. May take up to 10 minutes to update after changes. AssociatedServingConfigIds []string `json:"associatedServingConfigIds,omitempty"` // BoostAction: Defines a boost-type control BoostAction *GoogleCloudDiscoveryengineV1betaControlBoostAction `json:"boostAction,omitempty"` // Conditions: Determines when the associated action will trigger. Omit to // always apply the action. Currently only a single condition may be specified. // Otherwise an INVALID ARGUMENT error is thrown. Conditions []*GoogleCloudDiscoveryengineV1betaCondition `json:"conditions,omitempty"` // DisplayName: Required. Human readable name. The identifier used in UI views. // Must be UTF-8 encoded string. Length limit is 128 characters. Otherwise an // INVALID ARGUMENT error is thrown. DisplayName string `json:"displayName,omitempty"` // FilterAction: Defines a filter-type control Currently not supported by // Recommendation FilterAction *GoogleCloudDiscoveryengineV1betaControlFilterAction `json:"filterAction,omitempty"` // Name: Immutable. Fully qualified name // `projects/*/locations/global/dataStore/*/controls/*` Name string `json:"name,omitempty"` // PromoteAction: Promote certain links based on predefined trigger queries. // This now only supports basic site search. PromoteAction *GoogleCloudDiscoveryengineV1betaControlPromoteAction `json:"promoteAction,omitempty"` // RedirectAction: Defines a redirect-type control. RedirectAction *GoogleCloudDiscoveryengineV1betaControlRedirectAction `json:"redirectAction,omitempty"` // SolutionType: Required. Immutable. What solution the control belongs to. // Must be compatible with vertical of resource. Otherwise an INVALID ARGUMENT // error is thrown. // // Possible values: // "SOLUTION_TYPE_UNSPECIFIED" - Default value. // "SOLUTION_TYPE_RECOMMENDATION" - Used for Recommendations AI. // "SOLUTION_TYPE_SEARCH" - Used for Discovery Search. // "SOLUTION_TYPE_CHAT" - Used for use cases related to the Generative AI // agent. // "SOLUTION_TYPE_GENERATIVE_CHAT" - Used for use cases related to the // Generative Chat agent. It's used for Generative chat engine only, the // associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution. SolutionType string `json:"solutionType,omitempty"` // SynonymsAction: Treats a group of terms as synonyms of one another. SynonymsAction *GoogleCloudDiscoveryengineV1betaControlSynonymsAction `json:"synonymsAction,omitempty"` // UseCases: Specifies the use case for the control. Affects what condition // fields can be set. Only applies to SOLUTION_TYPE_SEARCH. Currently only // allow one use case per control. Must be set when solution_type is // SolutionType.SOLUTION_TYPE_SEARCH. // // Possible values: // "SEARCH_USE_CASE_UNSPECIFIED" - Value used when unset. Will not occur in // CSS. // "SEARCH_USE_CASE_SEARCH" - Search use case. Expects the traffic has a // non-empty query. // "SEARCH_USE_CASE_BROWSE" - Browse use case. Expects the traffic has an // empty query. UseCases []string `json:"useCases,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AssociatedServingConfigIds") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AssociatedServingConfigIds") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaControl: Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`.
func (GoogleCloudDiscoveryengineV1betaControl) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1betaControl) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaControlBoostAction ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1betaControlBoostAction struct { // Boost: Required. Strength of the boost, which should be in [-1, 1]. Negative // boost means demotion. Default is 0.0 (No-op). Boost float64 `json:"boost,omitempty"` // DataStore: Required. Specifies which data store's documents can be boosted // by this control. Full data store name e.g. // projects/123/locations/global/collections/default_collection/dataStores/defau // lt_data_store DataStore string `json:"dataStore,omitempty"` // Filter: Required. Specifies which products to apply the boost to. If no // filter is provided all products will be boosted (No-op). Syntax // documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum // length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown. Filter string `json:"filter,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaControlBoostAction: Adjusts order of products in returned list.
func (GoogleCloudDiscoveryengineV1betaControlBoostAction) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1betaControlBoostAction) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaControlBoostAction) UnmarshalJSON ¶ added in v0.183.0
func (s *GoogleCloudDiscoveryengineV1betaControlBoostAction) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaControlFilterAction ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1betaControlFilterAction struct { // DataStore: Required. Specifies which data store's documents can be filtered // by this control. Full data store name e.g. // projects/123/locations/global/collections/default_collection/dataStores/defau // lt_data_store DataStore string `json:"dataStore,omitempty"` // Filter: Required. A filter to apply on the matching condition results. // Required Syntax documentation: // https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 // characters. Otherwise an INVALID ARGUMENT error is thrown. Filter string `json:"filter,omitempty"` // ForceSendFields is a list of field names (e.g. "DataStore") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataStore") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaControlFilterAction: Specified which products may be included in results. Uses same filter as boost.
func (GoogleCloudDiscoveryengineV1betaControlFilterAction) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1betaControlFilterAction) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaControlPromoteAction ¶ added in v0.210.0
type GoogleCloudDiscoveryengineV1betaControlPromoteAction struct { // DataStore: Required. Data store with which this promotion is attached to. DataStore string `json:"dataStore,omitempty"` // SearchLinkPromotion: Required. Promotion attached to this action. SearchLinkPromotion *GoogleCloudDiscoveryengineV1betaSearchLinkPromotion `json:"searchLinkPromotion,omitempty"` // ForceSendFields is a list of field names (e.g. "DataStore") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataStore") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaControlPromoteAction: Promote certain links based on some trigger queries. Example: Promote shoe store link when searching for `shoe` keyword. The link can be outside of associated data store.
func (GoogleCloudDiscoveryengineV1betaControlPromoteAction) MarshalJSON ¶ added in v0.210.0
func (s GoogleCloudDiscoveryengineV1betaControlPromoteAction) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaControlRedirectAction ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1betaControlRedirectAction struct { // RedirectUri: Required. The URI to which the shopper will be redirected. // Required. URI must have length equal or less than 2000 characters. Otherwise // an INVALID ARGUMENT error is thrown. RedirectUri string `json:"redirectUri,omitempty"` // ForceSendFields is a list of field names (e.g. "RedirectUri") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RedirectUri") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaControlRedirectAction: Redirects a shopper to the provided URI.
func (GoogleCloudDiscoveryengineV1betaControlRedirectAction) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1betaControlRedirectAction) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaControlSynonymsAction ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1betaControlSynonymsAction struct { // Synonyms: Defines a set of synonyms. Can specify up to 100 synonyms. Must // specify at least 2 synonyms. Otherwise an INVALID ARGUMENT error is thrown. Synonyms []string `json:"synonyms,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaControlSynonymsAction: Creates a set of terms that will act as synonyms of one another. Example: "happy" will also be considered as "glad", "glad" will also be considered as "happy".
func (GoogleCloudDiscoveryengineV1betaControlSynonymsAction) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1betaControlSynonymsAction) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaConversation ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaConversation struct { // EndTime: Output only. The time the conversation finished. EndTime string `json:"endTime,omitempty"` // Messages: Conversation messages. Messages []*GoogleCloudDiscoveryengineV1betaConversationMessage `json:"messages,omitempty"` // Name: Immutable. Fully qualified name // `projects/{project}/locations/global/collections/{collection}/dataStore/*/con // versations/*` or // `projects/{project}/locations/global/collections/{collection}/engines/*/conve // rsations/*`. Name string `json:"name,omitempty"` // StartTime: Output only. The time the conversation started. StartTime string `json:"startTime,omitempty"` // State: The state of the Conversation. // // Possible values: // "STATE_UNSPECIFIED" - Unknown. // "IN_PROGRESS" - Conversation is currently open. // "COMPLETED" - Conversation has been completed. State string `json:"state,omitempty"` // UserPseudoId: A unique identifier for tracking users. UserPseudoId string `json:"userPseudoId,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaConversation: External conversation proto definition.
func (GoogleCloudDiscoveryengineV1betaConversation) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaConversation) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaConversationContext ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaConversationContext struct { // ActiveDocument: The current active document the user opened. It contains the // document resource reference. ActiveDocument string `json:"activeDocument,omitempty"` // ContextDocuments: The current list of documents the user is seeing. It // contains the document resource references. ContextDocuments []string `json:"contextDocuments,omitempty"` // ForceSendFields is a list of field names (e.g. "ActiveDocument") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ActiveDocument") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaConversationContext: Defines context of the conversation
func (GoogleCloudDiscoveryengineV1betaConversationContext) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaConversationContext) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaConversationMessage ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaConversationMessage struct { // CreateTime: Output only. Message creation timestamp. CreateTime string `json:"createTime,omitempty"` // Reply: Search reply. Reply *GoogleCloudDiscoveryengineV1betaReply `json:"reply,omitempty"` // UserInput: User text input. UserInput *GoogleCloudDiscoveryengineV1betaTextInput `json:"userInput,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaConversationMessage: Defines a conversation message.
func (GoogleCloudDiscoveryengineV1betaConversationMessage) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaConversationMessage) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaConverseConversationRequest ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaConverseConversationRequest struct { // BoostSpec: Boost specification to boost certain documents in search results // which may affect the converse response. For more information on boosting, // see Boosting (https://cloud.google.com/retail/docs/boosting#boost) BoostSpec *GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec `json:"boostSpec,omitempty"` // Conversation: The conversation to be used by auto session only. The name // field will be ignored as we automatically assign new name for the // conversation in auto session. Conversation *GoogleCloudDiscoveryengineV1betaConversation `json:"conversation,omitempty"` // Filter: The filter syntax consists of an expression language for // constructing a predicate from one or more fields of the documents being // filtered. Filter expression is case-sensitive. This will be used to filter // search results which may affect the summary response. If this field is // unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI // Search is done by mapping the LHS filter key to a key property defined in // the Vertex AI Search backend -- this mapping is defined by the customer in // their schema. For example a media customer might have a field 'name' in // their schema. In this case the filter would look like this: filter --> // name:'ANY("king kong")' For more information about filtering including // syntax and filter operators, see Filter // (https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) Filter string `json:"filter,omitempty"` // Query: Required. Current user input. Query *GoogleCloudDiscoveryengineV1betaTextInput `json:"query,omitempty"` // SafeSearch: Whether to turn on safe search. SafeSearch bool `json:"safeSearch,omitempty"` // ServingConfig: The resource name of the Serving Config to use. Format: // `projects/{project}/locations/{location}/collections/{collection}/dataStores/ // {data_store_id}/servingConfigs/{serving_config_id}` If this is not set, the // default serving config will be used. ServingConfig string `json:"servingConfig,omitempty"` // SummarySpec: A specification for configuring the summary returned in the // response. SummarySpec *GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec `json:"summarySpec,omitempty"` // UserLabels: The user labels applied to a resource must meet the following // requirements: * Each resource can have multiple labels, up to a maximum of // 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 // character and a maximum length of 63 characters and cannot be empty. Values // can be empty and have a maximum length of 63 characters. * Keys and values // can contain only lowercase letters, numeric characters, underscores, and // dashes. All characters must use UTF-8 encoding, and international characters // are allowed. * The key portion of a label must be unique. However, you can // use the same key with multiple resources. * Keys must start with a lowercase // letter or international character. See Google Cloud Document // (https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) // for more details. UserLabels map[string]string `json:"userLabels,omitempty"` // ForceSendFields is a list of field names (e.g. "BoostSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BoostSpec") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaConverseConversationRequest: Request message for ConversationalSearchService.ConverseConversation method.
func (GoogleCloudDiscoveryengineV1betaConverseConversationRequest) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaConverseConversationRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaConverseConversationResponse ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaConverseConversationResponse struct { // Conversation: Updated conversation including the answer. Conversation *GoogleCloudDiscoveryengineV1betaConversation `json:"conversation,omitempty"` // RelatedQuestions: Suggested related questions. RelatedQuestions []string `json:"relatedQuestions,omitempty"` // Reply: Answer to the current query. Reply *GoogleCloudDiscoveryengineV1betaReply `json:"reply,omitempty"` // SearchResults: Search Results. SearchResults []*GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult `json:"searchResults,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaConverseConversationResponse: Response message for ConversationalSearchService.ConverseConversation method.
func (GoogleCloudDiscoveryengineV1betaConverseConversationResponse) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaConverseConversationResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata: Metadata related to the progress of the DataStoreService.CreateDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaCreateDataStoreMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaCreateEngineMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaCreateEngineMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaCreateEngineMetadata: Metadata related to the progress of the EngineService.CreateEngine operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1betaCreateEngineMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaCreateEngineMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaCreateEvaluationMetadata ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaCreateEvaluationMetadata struct { }
GoogleCloudDiscoveryengineV1betaCreateEvaluationMetadata: Metadata for EvaluationService.CreateEvaluation method.
type GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata: Metadata for Create Schema LRO.
func (GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaCreateSchemaMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaCreateSitemapMetadata ¶ added in v0.205.0
type GoogleCloudDiscoveryengineV1betaCreateSitemapMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaCreateSitemapMetadata: Metadata related to the progress of the SiteSearchEngineService.CreateSitemap operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1betaCreateSitemapMetadata) MarshalJSON ¶ added in v0.205.0
func (s GoogleCloudDiscoveryengineV1betaCreateSitemapMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata: Metadata related to the progress of the SiteSearchEngineService.CreateTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaCreateTargetSiteMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaCreateTargetSiteRequest ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaCreateTargetSiteRequest struct { // Parent: Required. Parent resource name of TargetSite, such as // `projects/{project}/locations/{location}/collections/{collection}/dataStores/ // {data_store}/siteSearchEngine`. Parent string `json:"parent,omitempty"` // TargetSite: Required. The TargetSite to create. TargetSite *GoogleCloudDiscoveryengineV1betaTargetSite `json:"targetSite,omitempty"` // ForceSendFields is a list of field names (e.g. "Parent") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Parent") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaCreateTargetSiteRequest: Request message for SiteSearchEngineService.CreateTargetSite method.
func (GoogleCloudDiscoveryengineV1betaCreateTargetSiteRequest) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaCreateTargetSiteRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaCustomAttribute ¶
type GoogleCloudDiscoveryengineV1betaCustomAttribute struct { // Numbers: The numerical values of this custom attribute. For example, `[2.3, // 15.4]` when the key is "lengths_cm". Exactly one of CustomAttribute.text or // CustomAttribute.numbers should be set. Otherwise, an `INVALID_ARGUMENT` // error is returned. Numbers []float64 `json:"numbers,omitempty"` // Text: The textual values of this custom attribute. For example, `["yellow", // "green"]` when the key is "color". Empty string is not allowed. Otherwise, // an `INVALID_ARGUMENT` error is returned. Exactly one of CustomAttribute.text // or CustomAttribute.numbers should be set. Otherwise, an `INVALID_ARGUMENT` // error is returned. Text []string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "Numbers") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Numbers") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaCustomAttribute: A custom attribute that is not explicitly modeled in a resource, e.g. UserEvent.
func (GoogleCloudDiscoveryengineV1betaCustomAttribute) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaCustomAttribute) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaCustomAttribute) UnmarshalJSON ¶ added in v0.122.0
func (s *GoogleCloudDiscoveryengineV1betaCustomAttribute) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaCustomTuningModel ¶ added in v0.178.0
type GoogleCloudDiscoveryengineV1betaCustomTuningModel struct { // CreateTime: Deprecated: Timestamp the Model was created at. CreateTime string `json:"createTime,omitempty"` // DisplayName: The display name of the model. DisplayName string `json:"displayName,omitempty"` // ErrorMessage: Currently this is only populated if the model state is // `INPUT_VALIDATION_FAILED`. ErrorMessage string `json:"errorMessage,omitempty"` // Metrics: The metrics of the trained model. Metrics map[string]float64 `json:"metrics,omitempty"` // ModelState: The state that the model is in (e.g.`TRAINING` or // `TRAINING_FAILED`). // // Possible values: // "MODEL_STATE_UNSPECIFIED" - Default value. // "TRAINING_PAUSED" - The model is in a paused training state. // "TRAINING" - The model is currently training. // "TRAINING_COMPLETE" - The model has successfully completed training. // "READY_FOR_SERVING" - The model is ready for serving. // "TRAINING_FAILED" - The model training failed. // "NO_IMPROVEMENT" - The model training finished successfully but metrics // did not improve. // "INPUT_VALIDATION_FAILED" - Input data validation failed. Model training // didn't start. ModelState string `json:"modelState,omitempty"` // ModelVersion: The version of the model. ModelVersion int64 `json:"modelVersion,omitempty,string"` // Name: Required. The fully qualified resource name of the model. Format: // `projects/{project}/locations/{location}/collections/{collection}/dataStores/ // {data_store}/customTuningModels/{custom_tuning_model}`. Model must be an // alpha-numerical string with limit of 40 characters. Name string `json:"name,omitempty"` // TrainingStartTime: Timestamp the model training was initiated. TrainingStartTime string `json:"trainingStartTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaCustomTuningModel: Metadata that describes a custom tuned model.
func (GoogleCloudDiscoveryengineV1betaCustomTuningModel) MarshalJSON ¶ added in v0.178.0
func (s GoogleCloudDiscoveryengineV1betaCustomTuningModel) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaDataStore ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaDataStore struct { // AdvancedSiteSearchConfig: Optional. Configuration for advanced site search. AdvancedSiteSearchConfig *GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig `json:"advancedSiteSearchConfig,omitempty"` // BillingEstimation: Output only. Data size estimation for billing. BillingEstimation *GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation `json:"billingEstimation,omitempty"` // CmekConfig: Output only. CMEK-related information for the DataStore. CmekConfig *GoogleCloudDiscoveryengineV1betaCmekConfig `json:"cmekConfig,omitempty"` // ContentConfig: Immutable. The content config of the data store. If this // field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. // // Possible values: // "CONTENT_CONFIG_UNSPECIFIED" - Default value. // "NO_CONTENT" - Only contains documents without any Document.content. // "CONTENT_REQUIRED" - Only contains documents with Document.content. // "PUBLIC_WEBSITE" - The data store is used for public website search. // "GOOGLE_WORKSPACE" - The data store is used for workspace search. Details // of workspace data store are specified in the WorkspaceConfig. ContentConfig string `json:"contentConfig,omitempty"` // CreateTime: Output only. Timestamp the DataStore was created at. CreateTime string `json:"createTime,omitempty"` // DefaultSchemaId: Output only. The id of the default Schema asscociated to // this data store. DefaultSchemaId string `json:"defaultSchemaId,omitempty"` // DisplayName: Required. The data store display name. This field must be a // UTF-8 encoded string with a length limit of 128 characters. Otherwise, an // INVALID_ARGUMENT error is returned. DisplayName string `json:"displayName,omitempty"` // DocumentProcessingConfig: Configuration for Document understanding and // enrichment. DocumentProcessingConfig *GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig `json:"documentProcessingConfig,omitempty"` // IndustryVertical: Immutable. The industry vertical that the data store // registers. // // Possible values: // "INDUSTRY_VERTICAL_UNSPECIFIED" - Value used when unset. // "GENERIC" - The generic vertical for documents that are not specific to // any industry vertical. // "MEDIA" - The media industry vertical. // "HEALTHCARE_FHIR" - The healthcare FHIR vertical. IndustryVertical string `json:"industryVertical,omitempty"` // KmsKeyName: Input only. The KMS key to be used to protect this DataStore at // creation time. Must be set for requests that need to comply with CMEK Org // Policy protections. If this field is set and processed successfully, the // DataStore will be protected by the KMS key, as indicated in the cmek_config // field. KmsKeyName string `json:"kmsKeyName,omitempty"` // LanguageInfo: Language info for DataStore. LanguageInfo *GoogleCloudDiscoveryengineV1betaLanguageInfo `json:"languageInfo,omitempty"` // Name: Immutable. The full resource name of the data store. Format: // `projects/{project}/locations/{location}/collections/{collection_id}/dataStor // es/{data_store_id}`. This field must be a UTF-8 encoded string with a length // limit of 1024 characters. Name string `json:"name,omitempty"` // NaturalLanguageQueryUnderstandingConfig: Optional. Configuration for Natural // Language Query Understanding. NaturalLanguageQueryUnderstandingConfig *GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig `json:"naturalLanguageQueryUnderstandingConfig,omitempty"` // ServingConfigDataStore: Optional. Stores serving config at DataStore level. ServingConfigDataStore *GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore `json:"servingConfigDataStore,omitempty"` // SolutionTypes: The solutions that the data store enrolls. Available // solutions for each industry_vertical: * `MEDIA`: // `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: // `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be // enrolled. // // Possible values: // "SOLUTION_TYPE_UNSPECIFIED" - Default value. // "SOLUTION_TYPE_RECOMMENDATION" - Used for Recommendations AI. // "SOLUTION_TYPE_SEARCH" - Used for Discovery Search. // "SOLUTION_TYPE_CHAT" - Used for use cases related to the Generative AI // agent. // "SOLUTION_TYPE_GENERATIVE_CHAT" - Used for use cases related to the // Generative Chat agent. It's used for Generative chat engine only, the // associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution. SolutionTypes []string `json:"solutionTypes,omitempty"` // StartingSchema: The start schema to use for this DataStore when provisioning // it. If unset, a default vertical specialized schema will be used. This field // is only used by CreateDataStore API, and will be ignored if used in other // APIs. This field will be omitted from all API responses including // CreateDataStore API. To retrieve a schema of a DataStore, use // SchemaService.GetSchema API instead. The provided schema will be validated // against certain rules on schema. Learn more from this doc // (https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). StartingSchema *GoogleCloudDiscoveryengineV1betaSchema `json:"startingSchema,omitempty"` // WorkspaceConfig: Config to store data store type configuration for workspace // data. This must be set when DataStore.content_config is set as // DataStore.ContentConfig.GOOGLE_WORKSPACE. WorkspaceConfig *GoogleCloudDiscoveryengineV1betaWorkspaceConfig `json:"workspaceConfig,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AdvancedSiteSearchConfig") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdvancedSiteSearchConfig") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaDataStore: DataStore captures global settings and configs at the DataStore level.
func (GoogleCloudDiscoveryengineV1betaDataStore) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaDataStore) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation ¶ added in v0.200.0
type GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation struct { // StructuredDataSize: Data size for structured data in terms of bytes. StructuredDataSize int64 `json:"structuredDataSize,omitempty,string"` // StructuredDataUpdateTime: Last updated timestamp for structured data. StructuredDataUpdateTime string `json:"structuredDataUpdateTime,omitempty"` // UnstructuredDataSize: Data size for unstructured data in terms of bytes. UnstructuredDataSize int64 `json:"unstructuredDataSize,omitempty,string"` // UnstructuredDataUpdateTime: Last updated timestamp for unstructured data. UnstructuredDataUpdateTime string `json:"unstructuredDataUpdateTime,omitempty"` // WebsiteDataSize: Data size for websites in terms of bytes. WebsiteDataSize int64 `json:"websiteDataSize,omitempty,string"` // WebsiteDataUpdateTime: Last updated timestamp for websites. WebsiteDataUpdateTime string `json:"websiteDataUpdateTime,omitempty"` // ForceSendFields is a list of field names (e.g. "StructuredDataSize") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "StructuredDataSize") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation: Estimation of data size per data store.
func (GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation) MarshalJSON ¶ added in v0.200.0
func (s GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore ¶ added in v0.203.0
type GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore struct { // DisabledForServing: If set true, the DataStore will not be available for // serving search requests. DisabledForServing bool `json:"disabledForServing,omitempty"` // ForceSendFields is a list of field names (e.g. "DisabledForServing") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisabledForServing") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore: Stores information regarding the serving configurations at DataStore level.
func (GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore) MarshalJSON ¶ added in v0.203.0
func (s GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata: Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaDeleteDataStoreMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaDeleteEngineMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaDeleteEngineMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaDeleteEngineMetadata: Metadata related to the progress of the EngineService.DeleteEngine operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1betaDeleteEngineMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaDeleteEngineMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata: Metadata for DeleteSchema LRO.
func (GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaDeleteSchemaMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaDeleteSitemapMetadata ¶ added in v0.205.0
type GoogleCloudDiscoveryengineV1betaDeleteSitemapMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaDeleteSitemapMetadata: Metadata related to the progress of the SiteSearchEngineService.DeleteSitemap operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1betaDeleteSitemapMetadata) MarshalJSON ¶ added in v0.205.0
func (s GoogleCloudDiscoveryengineV1betaDeleteSitemapMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata: Metadata related to the progress of the SiteSearchEngineService.DeleteTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaDeleteTargetSiteMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata: Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchRequest ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchRequest struct { }
GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchRequest: Request message for SiteSearchEngineService.DisableAdvancedSiteSearch method.
type GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse struct { }
GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse: Response message for SiteSearchEngineService.DisableAdvancedSiteSearch method.
type GoogleCloudDiscoveryengineV1betaDocument ¶
type GoogleCloudDiscoveryengineV1betaDocument struct { // Content: The unstructured data linked to this document. Content must be set // if this document is under a `CONTENT_REQUIRED` data store. Content *GoogleCloudDiscoveryengineV1betaDocumentContent `json:"content,omitempty"` // DerivedStructData: Output only. This field is OUTPUT_ONLY. It contains // derived data that are not in the original input document. DerivedStructData googleapi.RawMessage `json:"derivedStructData,omitempty"` // Id: Immutable. The identifier of the document. Id should conform to RFC-1034 // (https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 // characters. Id string `json:"id,omitempty"` // IndexStatus: Output only. The index status of the document. * If document is // indexed successfully, the index_time field is populated. * Otherwise, if // document is not indexed due to errors, the error_samples field is populated. // * Otherwise, index_status is unset. IndexStatus *GoogleCloudDiscoveryengineV1betaDocumentIndexStatus `json:"indexStatus,omitempty"` // IndexTime: Output only. The last time the document was indexed. If this // field is set, the document could be returned in search results. This field // is OUTPUT_ONLY. If this field is not populated, it means the document has // never been indexed. IndexTime string `json:"indexTime,omitempty"` // JsonData: The JSON string representation of the document. It should conform // to the registered Schema or an `INVALID_ARGUMENT` error is thrown. JsonData string `json:"jsonData,omitempty"` // Name: Immutable. The full resource name of the document. Format: // `projects/{project}/locations/{location}/collections/{collection}/dataStores/ // {data_store}/branches/{branch}/documents/{document_id}`. This field must be // a UTF-8 encoded string with a length limit of 1024 characters. Name string `json:"name,omitempty"` // ParentDocumentId: The identifier of the parent document. Currently supports // at most two level document hierarchy. Id should conform to RFC-1034 // (https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 // characters. ParentDocumentId string `json:"parentDocumentId,omitempty"` // SchemaId: The identifier of the schema located in the same data store. SchemaId string `json:"schemaId,omitempty"` // StructData: The structured JSON data for the document. It should conform to // the registered Schema or an `INVALID_ARGUMENT` error is thrown. StructData googleapi.RawMessage `json:"structData,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaDocument: Document captures all raw metadata information of items to be recommended or searched.
func (GoogleCloudDiscoveryengineV1betaDocument) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaDocument) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaDocumentContent ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaDocumentContent struct { // MimeType: The MIME type of the content. Supported types: * `application/pdf` // (PDF, only native PDFs are supported for now) * `text/html` (HTML) * // `application/vnd.openxmlformats-officedocument.wordprocessingml.document` // (DOCX) * // `application/vnd.openxmlformats-officedocument.presentationml.presentation` // (PPTX) * `text/plain` (TXT) See // https://www.iana.org/assignments/media-types/media-types.xhtml. MimeType string `json:"mimeType,omitempty"` // RawBytes: The content represented as a stream of bytes. The maximum length // is 1,000,000 bytes (1 MB / ~0.95 MiB). Note: As with all `bytes` fields, // this field is represented as pure binary in Protocol Buffers and // base64-encoded string in JSON. For example, `abc123!?$*&()'-=@~` should be // represented as `YWJjMTIzIT8kKiYoKSctPUB+` in JSON. See // https://developers.google.com/protocol-buffers/docs/proto3#json. RawBytes string `json:"rawBytes,omitempty"` // Uri: The URI of the content. Only Cloud Storage URIs (e.g. // `gs://bucket-name/path/to/file`) are supported. The maximum file size is 2.5 // MB for text-based formats, 200 MB for other formats. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "MimeType") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MimeType") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaDocumentContent: Unstructured data linked to this document.
func (GoogleCloudDiscoveryengineV1betaDocumentContent) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaDocumentContent) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaDocumentIndexStatus ¶ added in v0.197.0
type GoogleCloudDiscoveryengineV1betaDocumentIndexStatus struct { // ErrorSamples: A sample of errors encountered while indexing the document. If // this field is populated, the document is not indexed due to errors. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // IndexTime: The time when the document was indexed. If this field is // populated, it means the document has been indexed. IndexTime string `json:"indexTime,omitempty"` // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorSamples") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaDocumentIndexStatus: Index status of the document.
func (GoogleCloudDiscoveryengineV1betaDocumentIndexStatus) MarshalJSON ¶ added in v0.197.0
func (s GoogleCloudDiscoveryengineV1betaDocumentIndexStatus) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaDocumentInfo ¶
type GoogleCloudDiscoveryengineV1betaDocumentInfo struct { // ConversionValue: Optional. The conversion value associated with this // Document. Must be set if UserEvent.event_type is "conversion". For example, // a value of 1000 signifies that 1000 seconds were spent viewing a Document // for the `watch` conversion type. ConversionValue float64 `json:"conversionValue,omitempty"` // Id: The Document resource ID. Id string `json:"id,omitempty"` // Joined: Output only. Whether the referenced Document can be found in the // data store. Joined bool `json:"joined,omitempty"` // Name: The Document resource full name, of the form: // `projects/{project}/locations/{location}/collections/{collection_id}/dataStor // es/{data_store_id}/branches/{branch_id}/documents/{document_id}` Name string `json:"name,omitempty"` // PromotionIds: The promotion IDs associated with this Document. Currently, // this field is restricted to at most one ID. PromotionIds []string `json:"promotionIds,omitempty"` // Quantity: Quantity of the Document associated with the user event. Defaults // to 1. For example, this field is 2 if two quantities of the same Document // are involved in a `add-to-cart` event. Required for events of the following // event types: * `add-to-cart` * `purchase` Quantity int64 `json:"quantity,omitempty"` // Uri: The Document URI - only allowed for website data stores. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "ConversionValue") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConversionValue") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaDocumentInfo: Detailed document information associated with a user event.
func (GoogleCloudDiscoveryengineV1betaDocumentInfo) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaDocumentInfo) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaDocumentInfo) UnmarshalJSON ¶ added in v0.206.0
func (s *GoogleCloudDiscoveryengineV1betaDocumentInfo) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig ¶ added in v0.168.0
type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig struct { // ChunkingConfig: Whether chunking mode is enabled. ChunkingConfig *GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig `json:"chunkingConfig,omitempty"` // DefaultParsingConfig: Configurations for default Document parser. If not // specified, we will configure it as default DigitalParsingConfig, and the // default parsing config will be applied to all file types for Document // parsing. DefaultParsingConfig *GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig `json:"defaultParsingConfig,omitempty"` // Name: The full resource name of the Document Processing Config. Format: // `projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`. Name string `json:"name,omitempty"` // ParsingConfigOverrides: Map from file type to override the default parsing // configuration based on the file type. Supported keys: * `pdf`: Override // parsing config for PDF files, either digital parsing, ocr parsing or layout // parsing is supported. * `html`: Override parsing config for HTML files, only // digital parsing and layout parsing are supported. * `docx`: Override parsing // config for DOCX files, only digital parsing and layout parsing are // supported. * `pptx`: Override parsing config for PPTX files, only digital // parsing and layout parsing are supported. * `xlsm`: Override parsing config // for XLSM files, only digital parsing and layout parsing are supported. * // `xlsx`: Override parsing config for XLSX files, only digital parsing and // layout parsing are supported. ParsingConfigOverrides map[string]GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig `json:"parsingConfigOverrides,omitempty"` // ForceSendFields is a list of field names (e.g. "ChunkingConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChunkingConfig") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig: A singleton resource of DataStore. If it's empty when DataStore is created and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the default parser will default to digital parser.
func (GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig) MarshalJSON ¶ added in v0.168.0
func (s GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig ¶ added in v0.184.0
type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig struct { // LayoutBasedChunkingConfig: Configuration for the layout based chunking. LayoutBasedChunkingConfig *GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig `json:"layoutBasedChunkingConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "LayoutBasedChunkingConfig") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "LayoutBasedChunkingConfig") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig: Configuration for chunking config.
func (GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig) MarshalJSON ¶ added in v0.184.0
func (s GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig ¶ added in v0.184.0
type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig struct { // ChunkSize: The token size limit for each chunk. Supported values: 100-500 // (inclusive). Default value: 500. ChunkSize int64 `json:"chunkSize,omitempty"` // IncludeAncestorHeadings: Whether to include appending different levels of // headings to chunks from the middle of the document to prevent context loss. // Default value: False. IncludeAncestorHeadings bool `json:"includeAncestorHeadings,omitempty"` // ForceSendFields is a list of field names (e.g. "ChunkSize") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChunkSize") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutB asedChunkingConfig: Configuration for the layout based chunking.
func (GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig) MarshalJSON ¶ added in v0.184.0
func (s GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig ¶ added in v0.168.0
type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig struct { // DigitalParsingConfig: Configurations applied to digital parser. DigitalParsingConfig *GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig `json:"digitalParsingConfig,omitempty"` // LayoutParsingConfig: Configurations applied to layout parser. LayoutParsingConfig *GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig `json:"layoutParsingConfig,omitempty"` // OcrParsingConfig: Configurations applied to OCR parser. Currently it only // applies to PDFs. OcrParsingConfig *GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig `json:"ocrParsingConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "DigitalParsingConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DigitalParsingConfig") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig: Related configurations applied to a specific type of document parser.
func (GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig) MarshalJSON ¶ added in v0.168.0
func (s GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig ¶ added in v0.170.0
type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalParsingConfig struct { }
GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigDigitalP arsingConfig: The digital parsing configurations for documents.
type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig ¶ added in v0.184.0
type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig struct { }
GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutPa rsingConfig: The layout parsing configurations for documents.
type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig ¶ added in v0.170.0
type GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig struct { // EnhancedDocumentElements: [DEPRECATED] This field is deprecated. To use the // additional enhanced document elements processing, please switch to // `layout_parsing_config`. EnhancedDocumentElements []string `json:"enhancedDocumentElements,omitempty"` // UseNativeText: If true, will use native text instead of OCR text on pages // containing native text. UseNativeText bool `json:"useNativeText,omitempty"` // ForceSendFields is a list of field names (e.g. "EnhancedDocumentElements") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnhancedDocumentElements") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsi ngConfig: The OCR parsing configurations for documents.
func (GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig) MarshalJSON ¶ added in v0.170.0
func (s GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaDoubleList ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaDoubleList struct { // Values: Double values. Values []float64 `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "Values") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Values") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaDoubleList: Double list.
func (GoogleCloudDiscoveryengineV1betaDoubleList) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaDoubleList) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaDoubleList) UnmarshalJSON ¶ added in v0.138.0
func (s *GoogleCloudDiscoveryengineV1betaDoubleList) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaEmbeddingConfig ¶ added in v0.163.0
type GoogleCloudDiscoveryengineV1betaEmbeddingConfig struct { // FieldPath: Full field path in the schema mapped as embedding field. FieldPath string `json:"fieldPath,omitempty"` // ForceSendFields is a list of field names (e.g. "FieldPath") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FieldPath") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaEmbeddingConfig: Defines embedding config, used for bring your own embeddings feature.
func (GoogleCloudDiscoveryengineV1betaEmbeddingConfig) MarshalJSON ¶ added in v0.163.0
func (s GoogleCloudDiscoveryengineV1betaEmbeddingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata: Metadata related to the progress of the SiteSearchEngineService.EnableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchRequest ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchRequest struct { }
GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchRequest: Request message for SiteSearchEngineService.EnableAdvancedSiteSearch method.
type GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchResponse ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchResponse struct { }
GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchResponse: Response message for SiteSearchEngineService.EnableAdvancedSiteSearch method.
type GoogleCloudDiscoveryengineV1betaEngine ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaEngine struct { // ChatEngineConfig: Configurations for the Chat Engine. Only applicable if // solution_type is SOLUTION_TYPE_CHAT. ChatEngineConfig *GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig `json:"chatEngineConfig,omitempty"` // ChatEngineMetadata: Output only. Additional information of the Chat Engine. // Only applicable if solution_type is SOLUTION_TYPE_CHAT. ChatEngineMetadata *GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata `json:"chatEngineMetadata,omitempty"` // CommonConfig: Common config spec that specifies the metadata of the engine. CommonConfig *GoogleCloudDiscoveryengineV1betaEngineCommonConfig `json:"commonConfig,omitempty"` // CreateTime: Output only. Timestamp the Recommendation Engine was created at. CreateTime string `json:"createTime,omitempty"` // DataStoreIds: The data stores associated with this engine. For // SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they // can only associate with at most one data store. If solution_type is // SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be // associated here. Note that when used in CreateEngineRequest, one DataStore // id must be provided as the system will use it for necessary initializations. DataStoreIds []string `json:"dataStoreIds,omitempty"` // DisableAnalytics: Optional. Whether to disable analytics for searches // performed on this engine. DisableAnalytics bool `json:"disableAnalytics,omitempty"` // DisplayName: Required. The display name of the engine. Should be human // readable. UTF-8 encoded string with limit of 1024 characters. DisplayName string `json:"displayName,omitempty"` // IndustryVertical: The industry vertical that the engine registers. The // restriction of the Engine industry vertical is based on DataStore: Vertical // on Engine has to match vertical of the DataStore linked to the engine. // // Possible values: // "INDUSTRY_VERTICAL_UNSPECIFIED" - Value used when unset. // "GENERIC" - The generic vertical for documents that are not specific to // any industry vertical. // "MEDIA" - The media industry vertical. // "HEALTHCARE_FHIR" - The healthcare FHIR vertical. IndustryVertical string `json:"industryVertical,omitempty"` // Name: Immutable. The fully qualified resource name of the engine. This field // must be a UTF-8 encoded string with a length limit of 1024 characters. // Format: // `projects/{project}/locations/{location}/collections/{collection}/engines/{en // gine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. // Otherwise, an INVALID_ARGUMENT error is returned. Name string `json:"name,omitempty"` // SearchEngineConfig: Configurations for the Search Engine. Only applicable if // solution_type is SOLUTION_TYPE_SEARCH. SearchEngineConfig *GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig `json:"searchEngineConfig,omitempty"` // SolutionType: Required. The solutions of the engine. // // Possible values: // "SOLUTION_TYPE_UNSPECIFIED" - Default value. // "SOLUTION_TYPE_RECOMMENDATION" - Used for Recommendations AI. // "SOLUTION_TYPE_SEARCH" - Used for Discovery Search. // "SOLUTION_TYPE_CHAT" - Used for use cases related to the Generative AI // agent. // "SOLUTION_TYPE_GENERATIVE_CHAT" - Used for use cases related to the // Generative Chat agent. It's used for Generative chat engine only, the // associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution. SolutionType string `json:"solutionType,omitempty"` // UpdateTime: Output only. Timestamp the Recommendation Engine was last // updated. 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. "ChatEngineConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChatEngineConfig") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaEngine: Metadata that describes the training and serving parameters of an Engine.
func (GoogleCloudDiscoveryengineV1betaEngine) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaEngine) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig struct { // AgentCreationConfig: The configurationt generate the Dialogflow agent that // is associated to this Engine. Note that these configurations are one-time // consumed by and passed to Dialogflow service. It means they cannot be // retrieved using EngineService.GetEngine or EngineService.ListEngines API // after engine creation. AgentCreationConfig *GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig `json:"agentCreationConfig,omitempty"` // DialogflowAgentToLink: The resource name of an exist Dialogflow agent to // link to this Chat Engine. Customers can either provide // `agent_creation_config` to create agent or provide an agent name that links // the agent with the Chat engine. Format: `projects//locations//agents/`. Note // that the `dialogflow_agent_to_link` are one-time consumed by and passed to // Dialogflow service. It means they cannot be retrieved using // EngineService.GetEngine or EngineService.ListEngines API after engine // creation. Use ChatEngineMetadata.dialogflow_agent for actual agent // association after Engine is created. DialogflowAgentToLink string `json:"dialogflowAgentToLink,omitempty"` // ForceSendFields is a list of field names (e.g. "AgentCreationConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AgentCreationConfig") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig: Configurations for a Chat Engine.
func (GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig struct { // Business: Name of the company, organization or other entity that the agent // represents. Used for knowledge connector LLM prompt and for knowledge // search. Business string `json:"business,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. DefaultLanguageCode string `json:"defaultLanguageCode,omitempty"` // Location: Agent location for Agent creation, supported values: global/us/eu. // If not provided, us Engine will create Agent using us-central-1 by default; // eu Engine will create Agent using eu-west-1 by default. Location string `json:"location,omitempty"` // TimeZone: Required. The time zone of the agent from the time zone database // (https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. TimeZone string `json:"timeZone,omitempty"` // ForceSendFields is a list of field names (e.g. "Business") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Business") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig: Configurations for generating a Dialogflow agent. Note that these configurations are one-time consumed by and passed to Dialogflow service. It means they cannot be retrieved using EngineService.GetEngine or EngineService.ListEngines API after engine creation.
func (GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaEngineChatEngineConfigAgentCreationConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata struct { // DialogflowAgent: The resource name of a Dialogflow agent, that this Chat // Engine refers to. Format: `projects//locations//agents/`. DialogflowAgent string `json:"dialogflowAgent,omitempty"` // ForceSendFields is a list of field names (e.g. "DialogflowAgent") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DialogflowAgent") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata: Additional information of a Chat Engine. Fields in this message are output only.
func (GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaEngineCommonConfig ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaEngineCommonConfig struct { // CompanyName: The name of the company, business or entity that is associated // with the engine. Setting this may help improve LLM related features. CompanyName string `json:"companyName,omitempty"` // ForceSendFields is a list of field names (e.g. "CompanyName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CompanyName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaEngineCommonConfig: Common configurations for an Engine.
func (GoogleCloudDiscoveryengineV1betaEngineCommonConfig) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaEngineCommonConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig struct { // SearchAddOns: The add-on that this search engine enables. // // Possible values: // "SEARCH_ADD_ON_UNSPECIFIED" - Default value when the enum is unspecified. // This is invalid to use. // "SEARCH_ADD_ON_LLM" - Large language model add-on. SearchAddOns []string `json:"searchAddOns,omitempty"` // SearchTier: The search feature tier of this engine. Different tiers might // have different pricing. To learn more, check the pricing documentation. // Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. // // Possible values: // "SEARCH_TIER_UNSPECIFIED" - Default value when the enum is unspecified. // This is invalid to use. // "SEARCH_TIER_STANDARD" - Standard tier. // "SEARCH_TIER_ENTERPRISE" - Enterprise tier. SearchTier string `json:"searchTier,omitempty"` // ForceSendFields is a list of field names (e.g. "SearchAddOns") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SearchAddOns") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig: Configurations for a Search Engine.
func (GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaEvaluation ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaEvaluation struct { // CreateTime: Output only. Timestamp the Evaluation was created at. CreateTime string `json:"createTime,omitempty"` // EndTime: Output only. Timestamp the Evaluation was completed at. EndTime string `json:"endTime,omitempty"` // Error: Output only. The error that occurred during evaluation. Only // populated when the evaluation's state is FAILED. Error *GoogleRpcStatus `json:"error,omitempty"` // ErrorSamples: Output only. A sample of errors encountered while processing // the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // EvaluationSpec: Required. The specification of the evaluation. EvaluationSpec *GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec `json:"evaluationSpec,omitempty"` // Name: Identifier. The full resource name of the Evaluation, in the format of // `projects/{project}/locations/{location}/evaluations/{evaluation}`. This // field must be a UTF-8 encoded string with a length limit of 1024 characters. Name string `json:"name,omitempty"` // QualityMetrics: Output only. The metrics produced by the evaluation, // averaged across all SampleQuerys in the SampleQuerySet. Only populated when // the evaluation's state is SUCCEEDED. QualityMetrics *GoogleCloudDiscoveryengineV1betaQualityMetrics `json:"qualityMetrics,omitempty"` // State: Output only. The state of the evaluation. // // Possible values: // "STATE_UNSPECIFIED" - The evaluation is unspecified. // "PENDING" - The service is preparing to run the evaluation. // "RUNNING" - The evaluation is in progress. // "SUCCEEDED" - The evaluation completed successfully. // "FAILED" - The evaluation failed. State string `json:"state,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaEvaluation: An evaluation is a single execution (or run) of an evaluation process. It encapsulates the state of the evaluation and the resulting data.
func (GoogleCloudDiscoveryengineV1betaEvaluation) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaEvaluation) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec struct { // QuerySetSpec: Required. The specification of the query set. QuerySetSpec *GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec `json:"querySetSpec,omitempty"` // SearchRequest: Required. The search request that is used to perform the // evaluation. Only the following fields within SearchRequest are supported; if // any other fields are provided, an UNSUPPORTED error will be returned: * // SearchRequest.serving_config * SearchRequest.branch * // SearchRequest.canonical_filter * SearchRequest.query_expansion_spec * // SearchRequest.spell_correction_spec * SearchRequest.content_search_spec * // SearchRequest.user_pseudo_id SearchRequest *GoogleCloudDiscoveryengineV1betaSearchRequest `json:"searchRequest,omitempty"` // ForceSendFields is a list of field names (e.g. "QuerySetSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QuerySetSpec") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec: Describes the specification of the evaluation.
func (GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec struct { // SampleQuerySet: Required. The full resource name of the SampleQuerySet used // for the evaluation, in the format of // `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. SampleQuerySet string `json:"sampleQuerySet,omitempty"` // ForceSendFields is a list of field names (e.g. "SampleQuerySet") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SampleQuerySet") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec: Describes the specification of the query set.
func (GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaFactChunk ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaFactChunk struct { // ChunkText: Text content of the fact chunk. Can be at most 10K characters // long. ChunkText string `json:"chunkText,omitempty"` // Index: The index of this chunk. Currently, only used for the streaming mode. Index int64 `json:"index,omitempty"` // Source: Source from which this fact chunk was retrieved. If it was retrieved // from the GroundingFacts provided in the request then this field will contain // the index of the specific fact from which this chunk was retrieved. Source string `json:"source,omitempty"` // SourceMetadata: More fine-grained information for the source reference. SourceMetadata map[string]string `json:"sourceMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "ChunkText") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChunkText") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaFactChunk: Fact Chunk.
func (GoogleCloudDiscoveryengineV1betaFactChunk) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaFactChunk) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse struct { // NextPageToken: A token that can be sent as `page_token` to retrieve the next // page. If this field is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // TargetSites: List of TargetSites containing the site verification status. TargetSites []*GoogleCloudDiscoveryengineV1betaTargetSite `json:"targetSites,omitempty"` // TotalSize: The total number of items matching the request. This will always // be populated in the response. TotalSize int64 `json:"totalSize,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse: Response message for SiteSearchEngineService.FetchDomainVerificationStatus method.
func (GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse ¶ added in v0.205.0
type GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse struct { // SitemapsMetadata: List of Sitemaps fetched. SitemapsMetadata []*GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata `json:"sitemapsMetadata,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "SitemapsMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SitemapsMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse: Response message for SiteSearchEngineService.FetchSitemaps method.
func (GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse) MarshalJSON ¶ added in v0.205.0
func (s GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata ¶ added in v0.205.0
type GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata struct { // Sitemap: The Sitemap. Sitemap *GoogleCloudDiscoveryengineV1betaSitemap `json:"sitemap,omitempty"` // ForceSendFields is a list of field names (e.g. "Sitemap") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Sitemap") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata: Contains a Sitemap and its metadata.
func (GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata) MarshalJSON ¶ added in v0.205.0
func (s GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaFhirStoreSource ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaFhirStoreSource struct { // FhirStore: Required. The full resource name of the FHIR store to import data // from, in the format of // `projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_ // store}`. FhirStore string `json:"fhirStore,omitempty"` // GcsStagingDir: Intermediate Cloud Storage directory used for the import with // a length limit of 2,000 characters. Can be specified if one wants to have // the FhirStore export to a specific Cloud Storage directory. GcsStagingDir string `json:"gcsStagingDir,omitempty"` // ResourceTypes: The FHIR resource types to import. The resource types should // be a subset of all supported FHIR resource types // (https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification). // Default to all supported FHIR resource types if empty. ResourceTypes []string `json:"resourceTypes,omitempty"` // UpdateFromLatestPredefinedSchema: Optional. Whether to update the DataStore // schema to the latest predefined schema. If true, the DataStore schema will // be updated to include any FHIR fields or resource types that have been added // since the last import and corresponding FHIR resources will be imported from // the FHIR store. Note this field cannot be used in conjunction with // `resource_types`. It should be used after initial import. UpdateFromLatestPredefinedSchema bool `json:"updateFromLatestPredefinedSchema,omitempty"` // ForceSendFields is a list of field names (e.g. "FhirStore") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FhirStore") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaFhirStoreSource: Cloud FhirStore source import data from.
func (GoogleCloudDiscoveryengineV1betaFhirStoreSource) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaFhirStoreSource) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaFirestoreSource ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaFirestoreSource struct { // CollectionId: Required. The Firestore collection (or entity) to copy the // data from with a length limit of 1,500 characters. CollectionId string `json:"collectionId,omitempty"` // DatabaseId: Required. The Firestore database to copy the data from with a // length limit of 256 characters. DatabaseId string `json:"databaseId,omitempty"` // GcsStagingDir: Intermediate Cloud Storage directory used for the import with // a length limit of 2,000 characters. Can be specified if one wants to have // the Firestore export to a specific Cloud Storage directory. Ensure that the // Firestore service account has the necessary Cloud Storage Admin permissions // to access the specified Cloud Storage directory. GcsStagingDir string `json:"gcsStagingDir,omitempty"` // ProjectId: The project ID that the Cloud SQL source is in with a length // limit of 128 characters. If not specified, inherits the project ID from the // parent request. ProjectId string `json:"projectId,omitempty"` // ForceSendFields is a list of field names (e.g. "CollectionId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CollectionId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaFirestoreSource: Firestore source import data from.
func (GoogleCloudDiscoveryengineV1betaFirestoreSource) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaFirestoreSource) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaGcsSource ¶
type GoogleCloudDiscoveryengineV1betaGcsSource struct { // DataSchema: The schema to use when parsing the data from the source. // Supported values for document imports: * `document` (default): One JSON // Document per line. Each document must have a valid Document.id. * `content`: // Unstructured data (e.g. PDF, HTML). Each file matched by `input_uris` // becomes a document, with the ID set to the first 128 bits of SHA256(URI) // encoded as a hex string. * `custom`: One custom data JSON per row in // arbitrary format that conforms to the defined Schema of the data store. This // can only be used by the GENERIC Data Store vertical. * `csv`: A CSV file // with header conforming to the defined Schema of the data store. Each entry // after the header is imported as a Document. This can only be used by the // GENERIC Data Store vertical. Supported values for user event imports: * // `user_event` (default): One JSON UserEvent per line. DataSchema string `json:"dataSchema,omitempty"` // InputUris: Required. Cloud Storage URIs to input files. Each URI can be up // to 2000 characters long. URIs can match the full object path (for example, // `gs://bucket/directory/object.json`) or a pattern matching one or more // files, such as `gs://bucket/directory/*.json`. A request can contain at most // 100 files (or 100,000 files if `data_schema` is `content`). Each file can be // up to 2 GB (or 100 MB if `data_schema` is `content`). InputUris []string `json:"inputUris,omitempty"` // ForceSendFields is a list of field names (e.g. "DataSchema") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataSchema") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaGcsSource: Cloud Storage location for input content.
func (GoogleCloudDiscoveryengineV1betaGcsSource) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaGcsSource) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaGroundingFact ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaGroundingFact struct { // Attributes: Attributes associated with the fact. Common attributes include // `source` (indicating where the fact was sourced from), `author` (indicating // the author of the fact), and so on. Attributes map[string]string `json:"attributes,omitempty"` // FactText: Text content of the fact. Can be at most 10K characters long. FactText string `json:"factText,omitempty"` // ForceSendFields is a list of field names (e.g. "Attributes") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Attributes") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaGroundingFact: Grounding Fact.
func (GoogleCloudDiscoveryengineV1betaGroundingFact) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaGroundingFact) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata ¶ added in v0.186.0
type GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // FailureCount: Count of CompletionSuggestions that failed to be imported. FailureCount int64 `json:"failureCount,omitempty,string"` // SuccessCount: Count of CompletionSuggestions successfully imported. SuccessCount int64 `json:"successCount,omitempty,string"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata: Metadata related to the progress of the ImportCompletionSuggestions operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata) MarshalJSON ¶ added in v0.186.0
func (s GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequest ¶ added in v0.186.0
type GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequest struct { // BigquerySource: BigQuery input source. BigquerySource *GoogleCloudDiscoveryengineV1betaBigQuerySource `json:"bigquerySource,omitempty"` // ErrorConfig: The desired location of errors incurred during the Import. ErrorConfig *GoogleCloudDiscoveryengineV1betaImportErrorConfig `json:"errorConfig,omitempty"` // GcsSource: Cloud Storage location for the input content. GcsSource *GoogleCloudDiscoveryengineV1betaGcsSource `json:"gcsSource,omitempty"` // InlineSource: The Inline source for suggestion entries. InlineSource *GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequestInlineSource `json:"inlineSource,omitempty"` // ForceSendFields is a list of field names (e.g. "BigquerySource") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigquerySource") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequest: Request message for CompletionService.ImportCompletionSuggestions method.
func (GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequest) MarshalJSON ¶ added in v0.186.0
func (s GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequestInlineSource ¶ added in v0.186.0
type GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequestInlineSource struct { // Suggestions: Required. A list of all denylist entries to import. Max of 1000 // items. Suggestions []*GoogleCloudDiscoveryengineV1betaCompletionSuggestion `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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequestInlineSourc e: The inline source for CompletionSuggestions.
func (GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequestInlineSource) MarshalJSON ¶ added in v0.186.0
func (s GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequestInlineSource) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsResponse ¶ added in v0.186.0
type GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsResponse struct { // ErrorConfig: The desired location of errors incurred during the Import. ErrorConfig *GoogleCloudDiscoveryengineV1betaImportErrorConfig `json:"errorConfig,omitempty"` // ErrorSamples: A sample of errors encountered while processing the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // ForceSendFields is a list of field names (e.g. "ErrorConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsResponse: Response of the CompletionService.ImportCompletionSuggestions method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.
func (GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsResponse) MarshalJSON ¶ added in v0.186.0
func (s GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata ¶
type GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // FailureCount: Count of entries that encountered errors while processing. FailureCount int64 `json:"failureCount,omitempty,string"` // SuccessCount: Count of entries that were processed successfully. SuccessCount int64 `json:"successCount,omitempty,string"` // TotalCount: Total count of entries that were processed. TotalCount int64 `json:"totalCount,omitempty,string"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata: Metadata related to the progress of the ImportDocuments operation. This is returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaImportDocumentsMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportDocumentsRequest ¶
type GoogleCloudDiscoveryengineV1betaImportDocumentsRequest struct { // AlloyDbSource: AlloyDB input source. AlloyDbSource *GoogleCloudDiscoveryengineV1betaAlloyDbSource `json:"alloyDbSource,omitempty"` // AutoGenerateIds: Whether to automatically generate IDs for the documents if // absent. If set to `true`, Document.ids are automatically generated based on // the hash of the payload, where IDs may not be consistent during multiple // imports. In which case ReconciliationMode.FULL is highly recommended to // avoid duplicate contents. If unset or set to `false`, Document.ids have to // be specified using id_field, otherwise, documents without IDs fail to be // imported. Supported data sources: * GcsSource. GcsSource.data_schema must be // `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * // BigQuerySource. BigQuerySource.data_schema must be `custom` or `csv`. // Otherwise, an INVALID_ARGUMENT error is thrown. * SpannerSource. * // CloudSqlSource. * FirestoreSource. * BigtableSource. AutoGenerateIds bool `json:"autoGenerateIds,omitempty"` // BigquerySource: BigQuery input source. BigquerySource *GoogleCloudDiscoveryengineV1betaBigQuerySource `json:"bigquerySource,omitempty"` // BigtableSource: Cloud Bigtable input source. BigtableSource *GoogleCloudDiscoveryengineV1betaBigtableSource `json:"bigtableSource,omitempty"` // CloudSqlSource: Cloud SQL input source. CloudSqlSource *GoogleCloudDiscoveryengineV1betaCloudSqlSource `json:"cloudSqlSource,omitempty"` // ErrorConfig: The desired location of errors incurred during the Import. ErrorConfig *GoogleCloudDiscoveryengineV1betaImportErrorConfig `json:"errorConfig,omitempty"` // FhirStoreSource: FhirStore input source. FhirStoreSource *GoogleCloudDiscoveryengineV1betaFhirStoreSource `json:"fhirStoreSource,omitempty"` // FirestoreSource: Firestore input source. FirestoreSource *GoogleCloudDiscoveryengineV1betaFirestoreSource `json:"firestoreSource,omitempty"` // GcsSource: Cloud Storage location for the input content. GcsSource *GoogleCloudDiscoveryengineV1betaGcsSource `json:"gcsSource,omitempty"` // IdField: The field indicates the ID field or column to be used as unique IDs // of the documents. For GcsSource it is the key of the JSON field. For // instance, `my_id` for JSON `{"my_id": "some_uuid"}`. For others, it may be // the column name of the table where the unique ids are stored. The values of // the JSON field or the table column are used as the Document.ids. The JSON // field or the table column must be of string type, and the values must be set // as valid strings conform to RFC-1034 (https://tools.ietf.org/html/rfc1034) // with 1-63 characters. Otherwise, documents without valid IDs fail to be // imported. Only set this field when auto_generate_ids is unset or set as // `false`. Otherwise, an INVALID_ARGUMENT error is thrown. If it is unset, a // default value `_id` is used when importing from the allowed data sources. // Supported data sources: * GcsSource. GcsSource.data_schema must be `custom` // or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown. * BigQuerySource. // BigQuerySource.data_schema must be `custom` or `csv`. Otherwise, an // INVALID_ARGUMENT error is thrown. * SpannerSource. * CloudSqlSource. * // FirestoreSource. * BigtableSource. IdField string `json:"idField,omitempty"` // InlineSource: The Inline source for the input content for documents. InlineSource *GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource `json:"inlineSource,omitempty"` // ReconciliationMode: The mode of reconciliation between existing documents // and the documents to be imported. Defaults to // ReconciliationMode.INCREMENTAL. // // Possible values: // "RECONCILIATION_MODE_UNSPECIFIED" - Defaults to `INCREMENTAL`. // "INCREMENTAL" - Inserts new documents or updates existing documents. // "FULL" - Calculates diff and replaces the entire document dataset. // Existing documents may be deleted if they are not present in the source // location. ReconciliationMode string `json:"reconciliationMode,omitempty"` // SpannerSource: Spanner input source. SpannerSource *GoogleCloudDiscoveryengineV1betaSpannerSource `json:"spannerSource,omitempty"` // UpdateMask: Indicates which fields in the provided imported documents to // update. If not set, the default is to update all fields. UpdateMask string `json:"updateMask,omitempty"` // ForceSendFields is a list of field names (e.g. "AlloyDbSource") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AlloyDbSource") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportDocumentsRequest: Request message for Import methods.
func (GoogleCloudDiscoveryengineV1betaImportDocumentsRequest) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaImportDocumentsRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource ¶
type GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource struct { // Documents: Required. A list of documents to update/create. Each document // must have a valid Document.id. Recommended max of 100 items. Documents []*GoogleCloudDiscoveryengineV1betaDocument `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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource: The inline source for the input config for ImportDocuments method.
func (GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportDocumentsResponse ¶
type GoogleCloudDiscoveryengineV1betaImportDocumentsResponse struct { // ErrorConfig: Echoes the destination for the complete errors in the request // if set. ErrorConfig *GoogleCloudDiscoveryengineV1betaImportErrorConfig `json:"errorConfig,omitempty"` // ErrorSamples: A sample of errors encountered while processing the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // ForceSendFields is a list of field names (e.g. "ErrorConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportDocumentsResponse: Response of the ImportDocumentsRequest. If the long running operation is done, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.
func (GoogleCloudDiscoveryengineV1betaImportDocumentsResponse) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaImportDocumentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportErrorConfig ¶
type GoogleCloudDiscoveryengineV1betaImportErrorConfig struct { // GcsPrefix: Cloud Storage prefix for import errors. This must be an empty, // existing Cloud Storage directory. Import errors are written to sharded files // in this directory, one per line, as a JSON-encoded `google.rpc.Status` // message. GcsPrefix string `json:"gcsPrefix,omitempty"` // ForceSendFields is a list of field names (e.g. "GcsPrefix") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GcsPrefix") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportErrorConfig: Configuration of destination for Import related errors.
func (GoogleCloudDiscoveryengineV1betaImportErrorConfig) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaImportErrorConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata struct { // CreateTime: ImportSampleQueries operation create time. CreateTime string `json:"createTime,omitempty"` // FailureCount: Count of SampleQuerys that failed to be imported. FailureCount int64 `json:"failureCount,omitempty,string"` // SuccessCount: Count of SampleQuerys successfully imported. SuccessCount int64 `json:"successCount,omitempty,string"` // TotalCount: Total count of SampleQuerys that were processed. TotalCount int64 `json:"totalCount,omitempty,string"` // UpdateTime: ImportSampleQueries operation last update time. If the operation // is done, this is also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata: Metadata related to the progress of the ImportSampleQueries operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaImportSampleQueriesMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequest ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequest struct { // BigquerySource: BigQuery input source. BigquerySource *GoogleCloudDiscoveryengineV1betaBigQuerySource `json:"bigquerySource,omitempty"` // ErrorConfig: The desired location of errors incurred during the Import. ErrorConfig *GoogleCloudDiscoveryengineV1betaImportErrorConfig `json:"errorConfig,omitempty"` // GcsSource: Cloud Storage location for the input content. GcsSource *GoogleCloudDiscoveryengineV1betaGcsSource `json:"gcsSource,omitempty"` // InlineSource: The Inline source for sample query entries. InlineSource *GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequestInlineSource `json:"inlineSource,omitempty"` // ForceSendFields is a list of field names (e.g. "BigquerySource") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigquerySource") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequest: Request message for SampleQueryService.ImportSampleQueries method.
func (GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequest) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequestInlineSource ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequestInlineSource struct { // SampleQueries: Required. A list of SampleQuerys to import. Max of 1000 // items. SampleQueries []*GoogleCloudDiscoveryengineV1betaSampleQuery `json:"sampleQueries,omitempty"` // ForceSendFields is a list of field names (e.g. "SampleQueries") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SampleQueries") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequestInlineSource: The inline source for SampleQuerys.
func (GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequestInlineSource) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequestInlineSource) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportSampleQueriesResponse ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaImportSampleQueriesResponse struct { // ErrorConfig: The desired location of errors incurred during the Import. ErrorConfig *GoogleCloudDiscoveryengineV1betaImportErrorConfig `json:"errorConfig,omitempty"` // ErrorSamples: A sample of errors encountered while processing the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // ForceSendFields is a list of field names (e.g. "ErrorConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportSampleQueriesResponse: Response of the SampleQueryService.ImportSampleQueries method. If the long running operation is done, this message is returned by the google.longrunning.Operations.response field if the operation is successful.
func (GoogleCloudDiscoveryengineV1betaImportSampleQueriesResponse) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaImportSampleQueriesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesMetadata ¶ added in v0.156.0
type GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesMetadata: Metadata related to the progress of the ImportSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesMetadata) MarshalJSON ¶ added in v0.156.0
func (s GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequest ¶ added in v0.156.0
type GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequest struct { // GcsSource: Cloud Storage location for the input content. Only 1 file can be // specified that contains all entries to import. Supported values // `gcs_source.schema` for autocomplete suggestion deny list entry imports: * // `suggestion_deny_list` (default): One JSON [SuggestionDenyListEntry] per // line. GcsSource *GoogleCloudDiscoveryengineV1betaGcsSource `json:"gcsSource,omitempty"` // InlineSource: The Inline source for the input content for suggestion deny // list entries. InlineSource *GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequestInlineSource `json:"inlineSource,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequest: Request message for CompletionService.ImportSuggestionDenyListEntries method.
func (GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequest) MarshalJSON ¶ added in v0.156.0
func (s GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequestInlineSource ¶ added in v0.156.0
type GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequestInlineSource struct { // Entries: Required. A list of all denylist entries to import. Max of 1000 // items. Entries []*GoogleCloudDiscoveryengineV1betaSuggestionDenyListEntry `json:"entries,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequestInlineS ource: The inline source for SuggestionDenyListEntry.
func (GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequestInlineSource) MarshalJSON ¶ added in v0.156.0
func (s GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequestInlineSource) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse ¶ added in v0.156.0
type GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse struct { // ErrorSamples: A sample of errors encountered while processing the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // FailedEntriesCount: Count of deny list entries that failed to be imported. FailedEntriesCount int64 `json:"failedEntriesCount,omitempty,string"` // ImportedEntriesCount: Count of deny list entries successfully imported. ImportedEntriesCount int64 `json:"importedEntriesCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorSamples") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse: Response message for CompletionService.ImportSuggestionDenyListEntries method.
func (GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse) MarshalJSON ¶ added in v0.156.0
func (s GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata ¶
type GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // FailureCount: Count of entries that encountered errors while processing. FailureCount int64 `json:"failureCount,omitempty,string"` // SuccessCount: Count of entries that were processed successfully. SuccessCount int64 `json:"successCount,omitempty,string"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata: Metadata related to the progress of the Import operation. This is returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaImportUserEventsMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportUserEventsRequest ¶
type GoogleCloudDiscoveryengineV1betaImportUserEventsRequest struct { // BigquerySource: BigQuery input source. BigquerySource *GoogleCloudDiscoveryengineV1betaBigQuerySource `json:"bigquerySource,omitempty"` // ErrorConfig: The desired location of errors incurred during the Import. // Cannot be set for inline user event imports. ErrorConfig *GoogleCloudDiscoveryengineV1betaImportErrorConfig `json:"errorConfig,omitempty"` // GcsSource: Cloud Storage location for the input content. GcsSource *GoogleCloudDiscoveryengineV1betaGcsSource `json:"gcsSource,omitempty"` // InlineSource: The Inline source for the input content for UserEvents. InlineSource *GoogleCloudDiscoveryengineV1betaImportUserEventsRequestInlineSource `json:"inlineSource,omitempty"` // ForceSendFields is a list of field names (e.g. "BigquerySource") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BigquerySource") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportUserEventsRequest: Request message for the ImportUserEvents request.
func (GoogleCloudDiscoveryengineV1betaImportUserEventsRequest) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaImportUserEventsRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportUserEventsRequestInlineSource ¶
type GoogleCloudDiscoveryengineV1betaImportUserEventsRequestInlineSource struct { // UserEvents: Required. A list of user events to import. Recommended max of // 10k items. UserEvents []*GoogleCloudDiscoveryengineV1betaUserEvent `json:"userEvents,omitempty"` // ForceSendFields is a list of field names (e.g. "UserEvents") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UserEvents") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportUserEventsRequestInlineSource: The inline source for the input config for ImportUserEvents method.
func (GoogleCloudDiscoveryengineV1betaImportUserEventsRequestInlineSource) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaImportUserEventsRequestInlineSource) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaImportUserEventsResponse ¶
type GoogleCloudDiscoveryengineV1betaImportUserEventsResponse struct { // ErrorConfig: Echoes the destination for the complete errors if this field // was set in the request. ErrorConfig *GoogleCloudDiscoveryengineV1betaImportErrorConfig `json:"errorConfig,omitempty"` // ErrorSamples: A sample of errors encountered while processing the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // JoinedEventsCount: Count of user events imported with complete existing // Documents. JoinedEventsCount int64 `json:"joinedEventsCount,omitempty,string"` // UnjoinedEventsCount: Count of user events imported, but with Document // information not found in the existing Branch. UnjoinedEventsCount int64 `json:"unjoinedEventsCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ErrorConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaImportUserEventsResponse: Response of the ImportUserEventsRequest. If the long running operation was successful, then this message is returned by the google.longrunning.Operations.response field if the operation was successful.
func (GoogleCloudDiscoveryengineV1betaImportUserEventsResponse) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaImportUserEventsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaInterval ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaInterval struct { // ExclusiveMaximum: Exclusive upper bound. ExclusiveMaximum float64 `json:"exclusiveMaximum,omitempty"` // ExclusiveMinimum: Exclusive lower bound. ExclusiveMinimum float64 `json:"exclusiveMinimum,omitempty"` // Maximum: Inclusive upper bound. Maximum float64 `json:"maximum,omitempty"` // Minimum: Inclusive lower bound. Minimum float64 `json:"minimum,omitempty"` // ForceSendFields is a list of field names (e.g. "ExclusiveMaximum") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExclusiveMaximum") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaInterval: A floating point interval.
func (GoogleCloudDiscoveryengineV1betaInterval) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaInterval) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaInterval) UnmarshalJSON ¶ added in v0.138.0
func (s *GoogleCloudDiscoveryengineV1betaInterval) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaLanguageInfo ¶ added in v0.185.0
type GoogleCloudDiscoveryengineV1betaLanguageInfo struct { // Language: Output only. Language part of normalized_language_code. E.g.: // `en-US` -> `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`. Language string `json:"language,omitempty"` // LanguageCode: The language code for the DataStore. LanguageCode string `json:"languageCode,omitempty"` // NormalizedLanguageCode: Output only. This is the normalized form of // language_code. E.g.: language_code of `en-GB`, `en_GB`, `en-UK` or `en-gb` // will have normalized_language_code of `en-GB`. NormalizedLanguageCode string `json:"normalizedLanguageCode,omitempty"` // Region: Output only. Region part of normalized_language_code, if present. // E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> “. Region string `json:"region,omitempty"` // ForceSendFields is a list of field names (e.g. "Language") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Language") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaLanguageInfo: Language info for DataStore.
func (GoogleCloudDiscoveryengineV1betaLanguageInfo) MarshalJSON ¶ added in v0.185.0
func (s GoogleCloudDiscoveryengineV1betaLanguageInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaListControlsResponse ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1betaListControlsResponse struct { // Controls: All the Controls for a given data store. Controls []*GoogleCloudDiscoveryengineV1betaControl `json:"controls,omitempty"` // NextPageToken: Pagination token, if not returned indicates the last page. 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. "Controls") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Controls") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaListControlsResponse: Response for ListControls method.
func (GoogleCloudDiscoveryengineV1betaListControlsResponse) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1betaListControlsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaListConversationsResponse ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaListConversationsResponse struct { // Conversations: All the Conversations for a given data store. Conversations []*GoogleCloudDiscoveryengineV1betaConversation `json:"conversations,omitempty"` // NextPageToken: Pagination token, if not returned indicates the last page. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaListConversationsResponse: Response for ListConversations method.
func (GoogleCloudDiscoveryengineV1betaListConversationsResponse) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaListConversationsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaListCustomModelsResponse ¶ added in v0.178.0
type GoogleCloudDiscoveryengineV1betaListCustomModelsResponse struct { // Models: List of custom tuning models. Models []*GoogleCloudDiscoveryengineV1betaCustomTuningModel `json:"models,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Models") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Models") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaListCustomModelsResponse: Response message for SearchTuningService.ListCustomModels method.
func (GoogleCloudDiscoveryengineV1betaListCustomModelsResponse) MarshalJSON ¶ added in v0.178.0
func (s GoogleCloudDiscoveryengineV1betaListCustomModelsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaListDataStoresResponse ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaListDataStoresResponse struct { // DataStores: All the customer's DataStores. DataStores []*GoogleCloudDiscoveryengineV1betaDataStore `json:"dataStores,omitempty"` // NextPageToken: A token that can be sent as ListDataStoresRequest.page_token // to retrieve the next page. If this field is omitted, there are no subsequent // pages. 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. "DataStores") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DataStores") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaListDataStoresResponse: Response message for DataStoreService.ListDataStores method.
func (GoogleCloudDiscoveryengineV1betaListDataStoresResponse) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaListDataStoresResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaListDocumentsResponse ¶
type GoogleCloudDiscoveryengineV1betaListDocumentsResponse struct { // Documents: The Documents. Documents []*GoogleCloudDiscoveryengineV1betaDocument `json:"documents,omitempty"` // NextPageToken: A token that can be sent as ListDocumentsRequest.page_token // to retrieve the next page. If this field is omitted, there are no subsequent // pages. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaListDocumentsResponse: Response message for DocumentService.ListDocuments method.
func (GoogleCloudDiscoveryengineV1betaListDocumentsResponse) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaListDocumentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaListEnginesResponse ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaListEnginesResponse struct { // Engines: All the customer's Engines. Engines []*GoogleCloudDiscoveryengineV1betaEngine `json:"engines,omitempty"` // NextPageToken: Not supported. 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. "Engines") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Engines") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaListEnginesResponse: Response message for EngineService.ListEngines method.
func (GoogleCloudDiscoveryengineV1betaListEnginesResponse) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaListEnginesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponse ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponse struct { // EvaluationResults: The EvaluationResults. EvaluationResults []*GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponseEvaluationResult `json:"evaluationResults,omitempty"` // NextPageToken: A token that can be sent as // ListEvaluationResultsRequest.page_token to retrieve the next page. If this // field is omitted, there are no subsequent pages. 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. "EvaluationResults") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EvaluationResults") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponse: Response message for EvaluationService.ListEvaluationResults method.
func (GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponse) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponseEvaluationResult ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponseEvaluationResult struct { // QualityMetrics: Output only. The metrics produced by the evaluation, for a // given SampleQuery. QualityMetrics *GoogleCloudDiscoveryengineV1betaQualityMetrics `json:"qualityMetrics,omitempty"` // SampleQuery: Output only. The SampleQuery that was evaluated. SampleQuery *GoogleCloudDiscoveryengineV1betaSampleQuery `json:"sampleQuery,omitempty"` // ForceSendFields is a list of field names (e.g. "QualityMetrics") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QualityMetrics") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponseEvaluationResult : Represents the results of an evaluation for a single SampleQuery.
func (GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponseEvaluationResult) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponseEvaluationResult) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaListEvaluationsResponse ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaListEvaluationsResponse struct { // Evaluations: The Evaluations. Evaluations []*GoogleCloudDiscoveryengineV1betaEvaluation `json:"evaluations,omitempty"` // NextPageToken: A token that can be sent as ListEvaluationsRequest.page_token // to retrieve the next page. If this field is omitted, there are no subsequent // pages. 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. "Evaluations") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Evaluations") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaListEvaluationsResponse: Response message for EvaluationService.ListEvaluations method.
func (GoogleCloudDiscoveryengineV1betaListEvaluationsResponse) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaListEvaluationsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse struct { // NextPageToken: A token that can be sent as // ListSampleQueriesRequest.page_token to retrieve the next page. If this field // is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // SampleQueries: The SampleQuerys. SampleQueries []*GoogleCloudDiscoveryengineV1betaSampleQuery `json:"sampleQueries,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse: Response message for SampleQueryService.ListSampleQueries method.
func (GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaListSampleQuerySetsResponse ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaListSampleQuerySetsResponse struct { // NextPageToken: A token that can be sent as // ListSampleQuerySetsRequest.page_token to retrieve the next page. If this // field is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // SampleQuerySets: The SampleQuerySets. SampleQuerySets []*GoogleCloudDiscoveryengineV1betaSampleQuerySet `json:"sampleQuerySets,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaListSampleQuerySetsResponse: Response message for SampleQuerySetService.ListSampleQuerySets method.
func (GoogleCloudDiscoveryengineV1betaListSampleQuerySetsResponse) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaListSampleQuerySetsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaListSchemasResponse ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaListSchemasResponse struct { // NextPageToken: A token that can be sent as ListSchemasRequest.page_token to // retrieve the next page. If this field is omitted, there are no subsequent // pages. NextPageToken string `json:"nextPageToken,omitempty"` // Schemas: The Schemas. Schemas []*GoogleCloudDiscoveryengineV1betaSchema `json:"schemas,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaListSchemasResponse: Response message for SchemaService.ListSchemas method.
func (GoogleCloudDiscoveryengineV1betaListSchemasResponse) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaListSchemasResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaListServingConfigsResponse ¶ added in v0.163.0
type GoogleCloudDiscoveryengineV1betaListServingConfigsResponse struct { // NextPageToken: Pagination token, if not returned indicates the last page. NextPageToken string `json:"nextPageToken,omitempty"` // ServingConfigs: All the ServingConfigs for a given dataStore. ServingConfigs []*GoogleCloudDiscoveryengineV1betaServingConfig `json:"servingConfigs,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaListServingConfigsResponse: Response for ListServingConfigs method.
func (GoogleCloudDiscoveryengineV1betaListServingConfigsResponse) MarshalJSON ¶ added in v0.163.0
func (s GoogleCloudDiscoveryengineV1betaListServingConfigsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaListSessionsResponse ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaListSessionsResponse struct { // NextPageToken: Pagination token, if not returned indicates the last page. NextPageToken string `json:"nextPageToken,omitempty"` // Sessions: All the Sessions for a given data store. Sessions []*GoogleCloudDiscoveryengineV1betaSession `json:"sessions,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaListSessionsResponse: Response for ListSessions method.
func (GoogleCloudDiscoveryengineV1betaListSessionsResponse) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaListSessionsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaListTargetSitesResponse ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaListTargetSitesResponse struct { // NextPageToken: A token that can be sent as `page_token` to retrieve the next // page. If this field is omitted, there are no subsequent pages. NextPageToken string `json:"nextPageToken,omitempty"` // TargetSites: List of TargetSites. TargetSites []*GoogleCloudDiscoveryengineV1betaTargetSite `json:"targetSites,omitempty"` // TotalSize: The total number of items matching the request. This will always // be populated in the response. TotalSize int64 `json:"totalSize,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaListTargetSitesResponse: Response message for SiteSearchEngineService.ListTargetSites method.
func (GoogleCloudDiscoveryengineV1betaListTargetSitesResponse) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaListTargetSitesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaMediaInfo ¶
type GoogleCloudDiscoveryengineV1betaMediaInfo struct { // MediaProgressDuration: The media progress time in seconds, if applicable. // For example, if the end user has finished 90 seconds of a playback video, // then MediaInfo.media_progress_duration.seconds should be set to 90. MediaProgressDuration string `json:"mediaProgressDuration,omitempty"` // MediaProgressPercentage: Media progress should be computed using only the // media_progress_duration relative to the media total length. This value must // be between `[0, 1.0]` inclusive. If this is not a playback or the progress // cannot be computed (e.g. ongoing livestream), this field should be unset. MediaProgressPercentage float64 `json:"mediaProgressPercentage,omitempty"` // ForceSendFields is a list of field names (e.g. "MediaProgressDuration") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MediaProgressDuration") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaMediaInfo: Media-specific user event information.
func (GoogleCloudDiscoveryengineV1betaMediaInfo) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaMediaInfo) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaMediaInfo) UnmarshalJSON ¶
func (s *GoogleCloudDiscoveryengineV1betaMediaInfo) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig ¶ added in v0.198.0
type GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig struct { // Mode: Mode of Natural Language Query Understanding. If this field is unset, // the behavior defaults to // NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED. // // Possible values: // "MODE_UNSPECIFIED" - Default value. // "DISABLED" - Natural Language Query Understanding is disabled. // "ENABLED" - Natural Language Query Understanding is enabled. Mode string `json:"mode,omitempty"` // ForceSendFields is a list of field names (e.g. "Mode") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Mode") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig: Configuration for Natural Language Query Understanding.
func (GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig) MarshalJSON ¶ added in v0.198.0
func (s GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaPageInfo ¶
type GoogleCloudDiscoveryengineV1betaPageInfo struct { // PageCategory: The most specific category associated with a category page. To // represent full path of category, use '>' sign to separate different // hierarchies. If '>' is part of the category name, replace it with other // character(s). Category pages include special pages such as sales or // promotions. For instance, a special sale page may have the category // hierarchy: "pageCategory" : "Sales > 2017 Black Friday Deals". Required // for `view-category-page` events. Other event types should not set this // field. Otherwise, an `INVALID_ARGUMENT` error is returned. PageCategory string `json:"pageCategory,omitempty"` // PageviewId: A unique ID of a web page view. This should be kept the same for // all user events triggered from the same pageview. For example, an item // detail page view could trigger multiple events as the user is browsing the // page. The `pageview_id` property should be kept the same for all these // events so that they can be grouped together properly. When using the client // side event reporting with JavaScript pixel and Google Tag Manager, this // value is filled in automatically. PageviewId string `json:"pageviewId,omitempty"` // ReferrerUri: The referrer URL of the current page. When using the client // side event reporting with JavaScript pixel and Google Tag Manager, this // value is filled in automatically. However, some browser privacy restrictions // may cause this field to be empty. ReferrerUri string `json:"referrerUri,omitempty"` // Uri: Complete URL (window.location.href) of the user's current page. When // using the client side event reporting with JavaScript pixel and Google Tag // Manager, this value is filled in automatically. Maximum length 5,000 // characters. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "PageCategory") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PageCategory") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaPageInfo: Detailed page information.
func (GoogleCloudDiscoveryengineV1betaPageInfo) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaPageInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaPanelInfo ¶
type GoogleCloudDiscoveryengineV1betaPanelInfo struct { // DisplayName: The display name of the panel. DisplayName string `json:"displayName,omitempty"` // Documents: Optional. The document IDs associated with this panel. Documents []*GoogleCloudDiscoveryengineV1betaDocumentInfo `json:"documents,omitempty"` // PanelId: Required. The panel ID. PanelId string `json:"panelId,omitempty"` // PanelPosition: The ordered position of the panel, if shown to the user with // other panels. If set, then total_panels must also be set. PanelPosition int64 `json:"panelPosition,omitempty"` // TotalPanels: The total number of panels, including this one, shown to the // user. Must be set if panel_position is set. TotalPanels int64 `json:"totalPanels,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaPanelInfo: Detailed panel information associated with a user event.
func (GoogleCloudDiscoveryengineV1betaPanelInfo) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaPanelInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaPauseEngineRequest ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaPauseEngineRequest struct { }
GoogleCloudDiscoveryengineV1betaPauseEngineRequest: Request for pausing training of an engine.
type GoogleCloudDiscoveryengineV1betaProject ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1betaProject struct { // CreateTime: Output only. The timestamp when this project is created. CreateTime string `json:"createTime,omitempty"` // Name: Output only. Full resource name of the project, for example // `projects/{project}`. Note that when making requests, project number and // project id are both acceptable, but the server will always respond in // project number. Name string `json:"name,omitempty"` // ProvisionCompletionTime: Output only. The timestamp when this project is // successfully provisioned. Empty value means this project is still // provisioning and is not ready for use. ProvisionCompletionTime string `json:"provisionCompletionTime,omitempty"` // ServiceTermsMap: Output only. A map of terms of services. The key is the // `id` of ServiceTerms. ServiceTermsMap map[string]GoogleCloudDiscoveryengineV1betaProjectServiceTerms `json:"serviceTermsMap,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaProject: Metadata and configurations for a Google Cloud project in the service.
func (GoogleCloudDiscoveryengineV1betaProject) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1betaProject) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaProjectServiceTerms ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1betaProjectServiceTerms struct { // AcceptTime: The last time when the project agreed to the terms of service. AcceptTime string `json:"acceptTime,omitempty"` // DeclineTime: The last time when the project declined or revoked the // agreement to terms of service. DeclineTime string `json:"declineTime,omitempty"` // Id: The unique identifier of this terms of service. Available terms: * // `GA_DATA_USE_TERMS`: Terms for data use // (https://cloud.google.com/retail/data-use-terms). When using this as `id`, // the acceptable version to provide is `2022-11-23`. Id string `json:"id,omitempty"` // State: Whether the project has accepted/rejected the service terms or it is // still pending. // // Possible values: // "STATE_UNSPECIFIED" - The default value of the enum. This value is not // actually used. // "TERMS_ACCEPTED" - The project has given consent to the terms of service. // "TERMS_PENDING" - The project is pending to review and accept the terms of // service. // "TERMS_DECLINED" - The project has declined or revoked the agreement to // terms of service. State string `json:"state,omitempty"` // Version: The version string of the terms of service. For acceptable values, // see the comments for id above. Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "AcceptTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AcceptTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaProjectServiceTerms: Metadata about the terms of service.
func (GoogleCloudDiscoveryengineV1betaProjectServiceTerms) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1betaProjectServiceTerms) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata struct { }
GoogleCloudDiscoveryengineV1betaProvisionProjectMetadata: Metadata associated with a project provision operation.
type GoogleCloudDiscoveryengineV1betaProvisionProjectRequest ¶ added in v0.183.0
type GoogleCloudDiscoveryengineV1betaProvisionProjectRequest struct { // AcceptDataUseTerms: Required. Set to `true` to specify that caller has read // and would like to give consent to the Terms for data use // (https://cloud.google.com/retail/data-use-terms). AcceptDataUseTerms bool `json:"acceptDataUseTerms,omitempty"` // DataUseTermsVersion: Required. The version of the Terms for data use // (https://cloud.google.com/retail/data-use-terms) that caller has read and // would like to give consent to. Acceptable version is `2022-11-23`, and this // may change over time. DataUseTermsVersion string `json:"dataUseTermsVersion,omitempty"` // ForceSendFields is a list of field names (e.g. "AcceptDataUseTerms") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AcceptDataUseTerms") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaProvisionProjectRequest: Request for ProjectService.ProvisionProject method.
func (GoogleCloudDiscoveryengineV1betaProvisionProjectRequest) MarshalJSON ¶ added in v0.183.0
func (s GoogleCloudDiscoveryengineV1betaProvisionProjectRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest ¶ added in v0.186.0
type GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest struct { }
GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest: Request message for CompletionService.PurgeCompletionSuggestions method.
type GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata ¶ added in v0.122.0
type GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // FailureCount: Count of entries that encountered errors while processing. FailureCount int64 `json:"failureCount,omitempty,string"` // IgnoredCount: Count of entries that were ignored as entries were not found. IgnoredCount int64 `json:"ignoredCount,omitempty,string"` // SuccessCount: Count of entries that were deleted successfully. SuccessCount int64 `json:"successCount,omitempty,string"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata: Metadata related to the progress of the PurgeDocuments operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata) MarshalJSON ¶ added in v0.122.0
func (s GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest ¶ added in v0.122.0
type GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest struct { // ErrorConfig: The desired location of errors incurred during the purge. ErrorConfig *GoogleCloudDiscoveryengineV1betaPurgeErrorConfig `json:"errorConfig,omitempty"` // Filter: Required. Filter matching documents to purge. Only currently // supported value is `*` (all items). Filter string `json:"filter,omitempty"` // Force: Actually performs the purge. If `force` is set to false, return the // expected purge count without deleting any documents. Force bool `json:"force,omitempty"` // GcsSource: Cloud Storage location for the input content. Supported // `data_schema`: * `document_id`: One valid Document.id per line. GcsSource *GoogleCloudDiscoveryengineV1betaGcsSource `json:"gcsSource,omitempty"` // InlineSource: Inline source for the input content for purge. InlineSource *GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequestInlineSource `json:"inlineSource,omitempty"` // ForceSendFields is a list of field names (e.g. "ErrorConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest: Request message for DocumentService.PurgeDocuments method.
func (GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest) MarshalJSON ¶ added in v0.122.0
func (s GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequestInlineSource ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequestInlineSource struct { // Documents: Required. A list of full resource name of documents to purge. In // the format // `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. // Recommended max of 100 items. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequestInlineSource: The inline source for the input config for DocumentService.PurgeDocuments method.
func (GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequestInlineSource) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequestInlineSource) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse ¶ added in v0.122.0
type GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse struct { // PurgeCount: The total count of documents purged as a result of the // operation. PurgeCount int64 `json:"purgeCount,omitempty,string"` // PurgeSample: A sample of document names that will be deleted. Only populated // if `force` is set to false. A max of 100 names will be returned and the // names are chosen at random. PurgeSample []string `json:"purgeSample,omitempty"` // ForceSendFields is a list of field names (e.g. "PurgeCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PurgeCount") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse: Response message for DocumentService.PurgeDocuments method. If the long running operation is successfully done, then this message is returned by the google.longrunning.Operations.response field.
func (GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse) MarshalJSON ¶ added in v0.122.0
func (s GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaPurgeErrorConfig ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaPurgeErrorConfig struct { // GcsPrefix: Cloud Storage prefix for purge errors. This must be an empty, // existing Cloud Storage directory. Purge errors are written to sharded files // in this directory, one per line, as a JSON-encoded `google.rpc.Status` // message. GcsPrefix string `json:"gcsPrefix,omitempty"` // ForceSendFields is a list of field names (e.g. "GcsPrefix") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GcsPrefix") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaPurgeErrorConfig: Configuration of destination for Purge related errors.
func (GoogleCloudDiscoveryengineV1betaPurgeErrorConfig) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaPurgeErrorConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata ¶ added in v0.156.0
type GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata: Metadata related to the progress of the PurgeSuggestionDenyListEntries operation. This is returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata) MarshalJSON ¶ added in v0.156.0
func (s GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesRequest ¶ added in v0.156.0
type GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesRequest struct { }
GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesRequest: Request message for CompletionService.PurgeSuggestionDenyListEntries method.
type GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse ¶ added in v0.156.0
type GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse struct { // ErrorSamples: A sample of errors encountered while processing the request. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // PurgeCount: Number of suggestion deny list entries purged. PurgeCount int64 `json:"purgeCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ErrorSamples") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorSamples") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse: Response message for CompletionService.PurgeSuggestionDenyListEntries method.
func (GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse) MarshalJSON ¶ added in v0.156.0
func (s GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaPurgeUserEventsRequest ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaPurgeUserEventsRequest struct { // Filter: Required. The filter string to specify the events to be deleted with // a length limit of 5,000 characters. The eligible fields for filtering are: * // `eventType`: Double quoted UserEvent.event_type string. * `eventTime`: in // ISO 8601 "zulu" format. * `userPseudoId`: Double quoted string. Specifying // this will delete all events associated with a visitor. * `userId`: Double // quoted string. Specifying this will delete all events associated with a // user. Note: This API only supports purging a max range of 30 days. Examples: // * Deleting all events in a time range: `eventTime > // "2012-04-23T18:25:43.511Z" eventTime < "2012-04-23T18:30:43.511Z" * // Deleting specific eventType in a time range: `eventTime > // "2012-04-23T18:25:43.511Z" eventTime < "2012-04-23T18:30:43.511Z" eventType // = "search" * Deleting all events for a specific visitor in a time range: // `eventTime > "2012-04-23T18:25:43.511Z" eventTime < // "2012-04-23T18:30:43.511Z" userPseudoId = "visitor1024" * Deleting the past // 30 days of events inside a DataStore: `*` The filtering fields are assumed // to have an implicit AND. Filter string `json:"filter,omitempty"` // Force: The `force` field is currently not supported. Purge user event // requests will permanently delete all purgeable events. Once the development // is complete: If `force` is set to false, the method will return the expected // purge count without deleting any user events. This field will default to // false if not included in the request. Force bool `json:"force,omitempty"` // ForceSendFields is a list of field names (e.g. "Filter") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Filter") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaPurgeUserEventsRequest: Request message for PurgeUserEvents method.
func (GoogleCloudDiscoveryengineV1betaPurgeUserEventsRequest) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaPurgeUserEventsRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaQualityMetrics ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaQualityMetrics struct { // DocNdcg: Normalized discounted cumulative gain (NDCG) per document, at // various top-k cutoff levels. NDCG measures the ranking quality, giving // higher relevance to top results. Example (top-3): Suppose SampleQuery with // three retrieved documents (D1, D2, D3) and binary relevance judgements (1 // for relevant, 0 for not relevant): Retrieved: [D3 (0), D1 (1), D2 (1)] // Ideal: [D1 (1), D2 (1), D3 (0)] Calculate NDCG@3 for each SampleQuery: * // DCG@3: 0/log2(1+1) + 1/log2(2+1) + 1/log2(3+1) = 1.13 * Ideal DCG@3: // 1/log2(1+1) + 1/log2(2+1) + 0/log2(3+1) = 1.63 * NDCG@3: 1.13/1.63 = 0.693 DocNdcg *GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics `json:"docNdcg,omitempty"` // DocPrecision: Precision per document, at various top-k cutoff levels. // Precision is the fraction of retrieved documents that are relevant. Example // (top-5): * For a single SampleQuery, If 4 out of 5 retrieved documents in // the top-5 are relevant, precision@5 = 4/5 = 0.8 DocPrecision *GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics `json:"docPrecision,omitempty"` // DocRecall: Recall per document, at various top-k cutoff levels. Recall is // the fraction of relevant documents retrieved out of all relevant documents. // Example (top-5): * For a single SampleQuery, If 3 out of 5 relevant // documents are retrieved in the top-5, recall@5 = 3/5 = 0.6 DocRecall *GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics `json:"docRecall,omitempty"` // PageNdcg: Normalized discounted cumulative gain (NDCG) per page, at various // top-k cutoff levels. NDCG measures the ranking quality, giving higher // relevance to top results. Example (top-3): Suppose SampleQuery with three // retrieved pages (P1, P2, P3) and binary relevance judgements (1 for // relevant, 0 for not relevant): Retrieved: [P3 (0), P1 (1), P2 (1)] Ideal: // [P1 (1), P2 (1), P3 (0)] Calculate NDCG@3 for SampleQuery: * DCG@3: // 0/log2(1+1) + 1/log2(2+1) + 1/log2(3+1) = 1.13 * Ideal DCG@3: 1/log2(1+1) + // 1/log2(2+1) + 0/log2(3+1) = 1.63 * NDCG@3: 1.13/1.63 = 0.693 PageNdcg *GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics `json:"pageNdcg,omitempty"` // PageRecall: Recall per page, at various top-k cutoff levels. Recall is the // fraction of relevant pages retrieved out of all relevant pages. Example // (top-5): * For a single SampleQuery, if 3 out of 5 relevant pages are // retrieved in the top-5, recall@5 = 3/5 = 0.6 PageRecall *GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics `json:"pageRecall,omitempty"` // ForceSendFields is a list of field names (e.g. "DocNdcg") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DocNdcg") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaQualityMetrics: Describes the metrics produced by the evaluation.
func (GoogleCloudDiscoveryengineV1betaQualityMetrics) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaQualityMetrics) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics struct { // Top1: The top-1 value. Top1 float64 `json:"top1,omitempty"` // Top10: The top-10 value. Top10 float64 `json:"top10,omitempty"` // Top3: The top-3 value. Top3 float64 `json:"top3,omitempty"` // Top5: The top-5 value. Top5 float64 `json:"top5,omitempty"` // ForceSendFields is a list of field names (e.g. "Top1") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Top1") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics: Stores the metric values at specific top-k levels.
func (GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics) UnmarshalJSON ¶ added in v0.190.0
func (s *GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaQuery ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaQuery struct { // QueryId: Unique Id for the query. QueryId string `json:"queryId,omitempty"` // Text: Plain text. Text string `json:"text,omitempty"` // ForceSendFields is a list of field names (e.g. "QueryId") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QueryId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaQuery: Defines a user inputed query.
func (GoogleCloudDiscoveryengineV1betaQuery) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaQuery) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaRankRequest ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaRankRequest struct { // IgnoreRecordDetailsInResponse: If true, the response will contain only // record ID and score. By default, it is false, the response will contain // record details. IgnoreRecordDetailsInResponse bool `json:"ignoreRecordDetailsInResponse,omitempty"` // Model: The identifier of the model to use. It is one of: * // `semantic-ranker-512@latest`: Semantic ranking model with maxiumn input // token size 512. It is set to `semantic-ranker-512@latest` by default if // unspecified. Model string `json:"model,omitempty"` // Query: The query to use. Query string `json:"query,omitempty"` // Records: Required. A list of records to rank. At most 200 records to rank. Records []*GoogleCloudDiscoveryengineV1betaRankingRecord `json:"records,omitempty"` // TopN: The number of results to return. If this is unset or no bigger than // zero, returns all results. TopN int64 `json:"topN,omitempty"` // UserLabels: The user labels applied to a resource must meet the following // requirements: * Each resource can have multiple labels, up to a maximum of // 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 // character and a maximum length of 63 characters and cannot be empty. Values // can be empty and have a maximum length of 63 characters. * Keys and values // can contain only lowercase letters, numeric characters, underscores, and // dashes. All characters must use UTF-8 encoding, and international characters // are allowed. * The key portion of a label must be unique. However, you can // use the same key with multiple resources. * Keys must start with a lowercase // letter or international character. See Google Cloud Document // (https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) // for more details. UserLabels map[string]string `json:"userLabels,omitempty"` // ForceSendFields is a list of field names (e.g. // "IgnoreRecordDetailsInResponse") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields // for more details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IgnoreRecordDetailsInResponse") // to include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaRankRequest: Request message for RankService.Rank method.
func (GoogleCloudDiscoveryengineV1betaRankRequest) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaRankRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaRankResponse ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaRankResponse struct { // Records: A list of records sorted by descending score. Records []*GoogleCloudDiscoveryengineV1betaRankingRecord `json:"records,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Records") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Records") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaRankResponse: Response message for RankService.Rank method.
func (GoogleCloudDiscoveryengineV1betaRankResponse) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaRankResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaRankingRecord ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaRankingRecord struct { // Content: The content of the record. Empty by default. At least one of title // or content should be set otherwise an INVALID_ARGUMENT error is thrown. Content string `json:"content,omitempty"` // Id: The unique ID to represent the record. Id string `json:"id,omitempty"` // Score: The score of this record based on the given query and selected model. // The score will be rounded to 2 decimal places. If the score is close to 0, // it will be rounded to 0.0001 to avoid returning unset. Score float64 `json:"score,omitempty"` // Title: The title of the record. Empty by default. At least one of title or // content should be set otherwise an INVALID_ARGUMENT error is thrown. Title string `json:"title,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaRankingRecord: Record message for RankService.Rank method.
func (GoogleCloudDiscoveryengineV1betaRankingRecord) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaRankingRecord) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaRankingRecord) UnmarshalJSON ¶ added in v0.173.0
func (s *GoogleCloudDiscoveryengineV1betaRankingRecord) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaRecommendRequest ¶
type GoogleCloudDiscoveryengineV1betaRecommendRequest struct { // Filter: Filter for restricting recommendation results with a length limit of // 5,000 characters. Currently, only filter expressions on the `filter_tags` // attribute is supported. Examples: * `(filter_tags: ANY("Red", "Blue") OR // filter_tags: ANY("Hot", "Cold"))` * `(filter_tags: ANY("Red", "Blue")) AND // NOT (filter_tags: ANY("Green"))` If `attributeFilteringSyntax` is set to // true under the `params` field, then attribute-based expressions are expected // instead of the above described tag-based syntax. Examples: * (language: // ANY("en", "es")) AND NOT (categories: ANY("Movie")) * (available: true) AND // (language: ANY("en", "es")) OR (categories: ANY("Movie")) If your filter // blocks all results, the API returns generic (unfiltered) popular Documents. // If you only want results strictly matching the filters, set // `strictFiltering` to `true` in RecommendRequest.params to receive empty // results instead. Note that the API never returns Documents with // `storageStatus` as `EXPIRED` or `DELETED` regardless of filter choices. Filter string `json:"filter,omitempty"` // PageSize: Maximum number of results to return. Set this property to the // number of recommendation results needed. If zero, the service chooses a // reasonable default. The maximum allowed value is 100. Values above 100 are // set to 100. PageSize int64 `json:"pageSize,omitempty"` // Params: Additional domain specific parameters for the recommendations. // Allowed values: * `returnDocument`: Boolean. If set to `true`, the // associated Document object is returned in // RecommendResponse.RecommendationResult.document. * `returnScore`: Boolean. // If set to true, the recommendation score corresponding to each returned // Document is set in RecommendResponse.RecommendationResult.metadata. The // given score indicates the probability of a Document conversion given the // user's context and history. * `strictFiltering`: Boolean. True by default. // If set to `false`, the service returns generic (unfiltered) popular // Documents instead of empty if your filter blocks all recommendation results. // * `diversityLevel`: String. Default empty. If set to be non-empty, then it // needs to be one of: * `no-diversity` * `low-diversity` * `medium-diversity` // * `high-diversity` * `auto-diversity` This gives request-level control and // adjusts recommendation results based on Document category. * // `attributeFilteringSyntax`: Boolean. False by default. If set to true, the // `filter` field is interpreted according to the new, attribute-based syntax. Params googleapi.RawMessage `json:"params,omitempty"` // UserEvent: Required. Context about the user, what they are looking at and // what action they took to trigger the Recommend request. Note that this user // event detail won't be ingested to userEvent logs. Thus, a separate userEvent // write request is required for event logging. Don't set // UserEvent.user_pseudo_id or UserEvent.user_info.user_id to the same fixed ID // for different users. If you are trying to receive non-personalized // recommendations (not recommended; this can negatively impact model // performance), instead set UserEvent.user_pseudo_id to a random unique ID and // leave UserEvent.user_info.user_id unset. UserEvent *GoogleCloudDiscoveryengineV1betaUserEvent `json:"userEvent,omitempty"` // UserLabels: The user labels applied to a resource must meet the following // requirements: * Each resource can have multiple labels, up to a maximum of // 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 // character and a maximum length of 63 characters and cannot be empty. Values // can be empty and have a maximum length of 63 characters. * Keys and values // can contain only lowercase letters, numeric characters, underscores, and // dashes. All characters must use UTF-8 encoding, and international characters // are allowed. * The key portion of a label must be unique. However, you can // use the same key with multiple resources. * Keys must start with a lowercase // letter or international character. See Requirements for labels // (https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) // for more details. UserLabels map[string]string `json:"userLabels,omitempty"` // ValidateOnly: Use validate only mode for this recommendation query. If set // to `true`, a fake model is used that returns arbitrary Document IDs. Note // that the validate only mode should only be used for testing the API, or if // the model is not ready. ValidateOnly bool `json:"validateOnly,omitempty"` // ForceSendFields is a list of field names (e.g. "Filter") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Filter") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaRecommendRequest: Request message for Recommend method.
func (GoogleCloudDiscoveryengineV1betaRecommendRequest) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaRecommendRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaRecommendResponse ¶
type GoogleCloudDiscoveryengineV1betaRecommendResponse struct { // AttributionToken: A unique attribution token. This should be included in the // UserEvent logs resulting from this recommendation, which enables accurate // attribution of recommendation model performance. AttributionToken string `json:"attributionToken,omitempty"` // MissingIds: IDs of documents in the request that were missing from the // default Branch associated with the requested ServingConfig. MissingIds []string `json:"missingIds,omitempty"` // Results: A list of recommended Documents. The order represents the ranking // (from the most relevant Document to the least). Results []*GoogleCloudDiscoveryengineV1betaRecommendResponseRecommendationResult `json:"results,omitempty"` // ValidateOnly: True if RecommendRequest.validate_only was set. ValidateOnly bool `json:"validateOnly,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AttributionToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AttributionToken") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaRecommendResponse: Response message for Recommend method.
func (GoogleCloudDiscoveryengineV1betaRecommendResponse) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaRecommendResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaRecommendResponseRecommendationResult ¶
type GoogleCloudDiscoveryengineV1betaRecommendResponseRecommendationResult struct { // Document: Set if `returnDocument` is set to true in RecommendRequest.params. Document *GoogleCloudDiscoveryengineV1betaDocument `json:"document,omitempty"` // Id: Resource ID of the recommended Document. Id string `json:"id,omitempty"` // Metadata: Additional Document metadata or annotations. Possible values: * // `score`: Recommendation score in double value. Is set if `returnScore` is // set to true in RecommendRequest.params. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // ForceSendFields is a list of field names (e.g. "Document") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Document") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaRecommendResponseRecommendationResult: RecommendationResult represents a generic recommendation result with associated metadata.
func (GoogleCloudDiscoveryengineV1betaRecommendResponseRecommendationResult) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaRecommendResponseRecommendationResult) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest struct { // SiteCredential: Optional. Full resource name of the SiteCredential, such as // `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/siteCrede // ntials/*`. Only set to crawl private URIs. SiteCredential string `json:"siteCredential,omitempty"` // Uris: Required. List of URIs to crawl. At most 10K URIs are supported, // otherwise an INVALID_ARGUMENT error is thrown. Each URI should match at // least one TargetSite in `site_search_engine`. Uris []string `json:"uris,omitempty"` // ForceSendFields is a list of field names (e.g. "SiteCredential") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SiteCredential") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest: Request message for SiteSearchEngineService.RecrawlUris method.
func (GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaReply ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaReply struct { // References: References in the reply. References []*GoogleCloudDiscoveryengineV1betaReplyReference `json:"references,omitempty"` // Reply: DEPRECATED: use `summary` instead. Text reply. Reply string `json:"reply,omitempty"` // Summary: Summary based on search results. Summary *GoogleCloudDiscoveryengineV1betaSearchResponseSummary `json:"summary,omitempty"` // ForceSendFields is a list of field names (e.g. "References") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "References") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaReply: Defines a reply message to user.
func (GoogleCloudDiscoveryengineV1betaReply) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaReply) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaReplyReference ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaReplyReference struct { // AnchorText: Anchor text. AnchorText string `json:"anchorText,omitempty"` // End: Anchor text end index. End int64 `json:"end,omitempty"` // Start: Anchor text start index. Start int64 `json:"start,omitempty"` // Uri: URI link reference. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "AnchorText") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AnchorText") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaReplyReference: Defines reference in reply.
func (GoogleCloudDiscoveryengineV1betaReplyReference) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaReplyReference) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaResumeEngineRequest ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaResumeEngineRequest struct { }
GoogleCloudDiscoveryengineV1betaResumeEngineRequest: Request for resuming training of an engine.
type GoogleCloudDiscoveryengineV1betaSampleQuery ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaSampleQuery struct { // CreateTime: Output only. Timestamp the SampleQuery was created at. CreateTime string `json:"createTime,omitempty"` // Name: Identifier. The full resource name of the sample query, in the format // of // `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/s // ampleQueries/{sample_query}`. This field must be a UTF-8 encoded string with // a length limit of 1024 characters. Name string `json:"name,omitempty"` // QueryEntry: The query entry. QueryEntry *GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntry `json:"queryEntry,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSampleQuery: Sample Query captures metadata to be used for evaluation.
func (GoogleCloudDiscoveryengineV1betaSampleQuery) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaSampleQuery) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntry ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntry struct { // Query: Required. The query. Query string `json:"query,omitempty"` // Targets: List of targets for the query. Targets []*GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntryTarget `json:"targets,omitempty"` // ForceSendFields is a list of field names (e.g. "Query") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Query") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntry: Query Entry captures metadata to be used for search evaluation.
func (GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntry) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntry) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntryTarget ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntryTarget struct { // PageNumbers: Expected page numbers of the target. Each page number must be // non negative. PageNumbers []int64 `json:"pageNumbers,omitempty"` // Score: Relevance score of the target. Score float64 `json:"score,omitempty"` // Uri: Expected uri of the target. This field must be a UTF-8 encoded string // with a length limit of 2048 characters. Example of valid uris: // `https://example.com/abc`, `gcs://example/example.pdf`. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "PageNumbers") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PageNumbers") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntryTarget: Defines the parameters of the query's expected outcome.
func (GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntryTarget) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntryTarget) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntryTarget) UnmarshalJSON ¶ added in v0.190.0
func (s *GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntryTarget) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaSampleQuerySet ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaSampleQuerySet struct { // CreateTime: Output only. Timestamp the SampleQuerySet was created at. CreateTime string `json:"createTime,omitempty"` // Description: The description of the SampleQuerySet. Description string `json:"description,omitempty"` // DisplayName: Required. The sample query set display name. This field must be // a UTF-8 encoded string with a length limit of 128 characters. DisplayName string `json:"displayName,omitempty"` // Name: Identifier. The full resource name of the SampleQuerySet, in the // format of // `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}`. // This field must be a UTF-8 encoded string with a length limit of 1024 // characters. 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. "CreateTime") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSampleQuerySet: A SampleQuerySet is the parent resource of SampleQuery, and contains the configurations shared by all SampleQuery under it.
func (GoogleCloudDiscoveryengineV1betaSampleQuerySet) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaSampleQuerySet) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSchema ¶ added in v0.115.0
type GoogleCloudDiscoveryengineV1betaSchema struct { // JsonSchema: The JSON representation of the schema. JsonSchema string `json:"jsonSchema,omitempty"` // Name: Immutable. The full resource name of the schema, in the format of // `projects/{project}/locations/{location}/collections/{collection}/dataStores/ // {data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string // with a length limit of 1024 characters. Name string `json:"name,omitempty"` // StructSchema: The structured representation of the schema. StructSchema googleapi.RawMessage `json:"structSchema,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "JsonSchema") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "JsonSchema") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSchema: Defines the structure and layout of a type of document data.
func (GoogleCloudDiscoveryengineV1betaSchema) MarshalJSON ¶ added in v0.115.0
func (s GoogleCloudDiscoveryengineV1betaSchema) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchInfo ¶
type GoogleCloudDiscoveryengineV1betaSearchInfo struct { // Offset: An integer that specifies the current offset for pagination (the // 0-indexed starting location, amongst the products deemed by the API as // relevant). See SearchRequest.offset for definition. If this field is // negative, an `INVALID_ARGUMENT` is returned. This can only be set for // `search` events. Other event types should not set this field. Otherwise, an // `INVALID_ARGUMENT` error is returned. Offset int64 `json:"offset,omitempty"` // OrderBy: The order in which products are returned, if applicable. See // SearchRequest.order_by for definition and syntax. The value must be a UTF-8 // encoded string with a length limit of 1,000 characters. Otherwise, an // `INVALID_ARGUMENT` error is returned. This can only be set for `search` // events. Other event types should not set this field. Otherwise, an // `INVALID_ARGUMENT` error is returned. OrderBy string `json:"orderBy,omitempty"` // SearchQuery: The user's search query. See SearchRequest.query for // definition. The value must be a UTF-8 encoded string with a length limit of // 5,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. At // least one of search_query or PageInfo.page_category is required for `search` // events. Other event types should not set this field. Otherwise, an // `INVALID_ARGUMENT` error is returned. SearchQuery string `json:"searchQuery,omitempty"` // ForceSendFields is a list of field names (e.g. "Offset") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Offset") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchInfo: Detailed search information.
func (GoogleCloudDiscoveryengineV1betaSearchInfo) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaSearchInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchLinkPromotion ¶ added in v0.210.0
type GoogleCloudDiscoveryengineV1betaSearchLinkPromotion struct { // Description: Optional. The Promotion description. Maximum length: 200 // characters. Description string `json:"description,omitempty"` // Enabled: Optional. The enabled promotion will be returned for any serving // configs associated with the parent of the control this promotion is attached // to. This flag is used for basic site search only. Enabled bool `json:"enabled,omitempty"` // ImageUri: Optional. The promotion thumbnail image url. ImageUri string `json:"imageUri,omitempty"` // Title: Required. The title of the promotion. Maximum length: 160 characters. Title string `json:"title,omitempty"` // Uri: Required. The URL for the page the user wants to promote. Uri string `json:"uri,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchLinkPromotion: Promotion proto includes uri and other helping information to display the promotion.
func (GoogleCloudDiscoveryengineV1betaSearchLinkPromotion) MarshalJSON ¶ added in v0.210.0
func (s GoogleCloudDiscoveryengineV1betaSearchLinkPromotion) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequest ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchRequest struct { // BoostSpec: Boost specification to boost certain documents. For more // information on boosting, see Boosting // (https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) BoostSpec *GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec `json:"boostSpec,omitempty"` // Branch: The branch resource name, such as // `projects/*/locations/global/collections/default_collection/dataStores/defaul // t_data_store/branches/0`. Use `default_branch` as the branch ID or leave // this field empty, to search documents under the default branch. Branch string `json:"branch,omitempty"` // CanonicalFilter: The default filter that is applied when a user performs a // search without checking any filters on the search page. The filter applied // to every search request when quality improvement such as query expansion is // needed. In the case a query does not have a sufficient amount of results // this filter will be used to determine whether or not to enable the query // expansion flow. The original filter will still be used for the query // expanded search. This field is strongly recommended to achieve high search // quality. For more information about filter syntax, see SearchRequest.filter. CanonicalFilter string `json:"canonicalFilter,omitempty"` // ContentSearchSpec: A specification for configuring the behavior of content // search. ContentSearchSpec *GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec `json:"contentSearchSpec,omitempty"` // DataStoreSpecs: Specs defining DataStores to filter on in a search call and // configurations for those data stores. This is only considered for Engines // with multiple data stores. For engines with a single data store, the specs // directly under SearchRequest should be used. DataStoreSpecs []*GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec `json:"dataStoreSpecs,omitempty"` // EmbeddingSpec: Uses the provided embedding to do additional semantic // document retrieval. The retrieval is based on the dot product of // SearchRequest.EmbeddingSpec.EmbeddingVector.vector and the document // embedding that is provided in // SearchRequest.EmbeddingSpec.EmbeddingVector.field_path. If // SearchRequest.EmbeddingSpec.EmbeddingVector.field_path is not provided, it // will use ServingConfig.EmbeddingConfig.field_path. EmbeddingSpec *GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec `json:"embeddingSpec,omitempty"` // FacetSpecs: Facet specifications for faceted search. If empty, no facets are // returned. A maximum of 100 values are allowed. Otherwise, an // `INVALID_ARGUMENT` error is returned. FacetSpecs []*GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec `json:"facetSpecs,omitempty"` // Filter: The filter syntax consists of an expression language for // constructing a predicate from one or more fields of the documents being // filtered. Filter expression is case-sensitive. If this field is // unrecognizable, an `INVALID_ARGUMENT` is returned. Filtering in Vertex AI // Search is done by mapping the LHS filter key to a key property defined in // the Vertex AI Search backend -- this mapping is defined by the customer in // their schema. For example a media customer might have a field 'name' in // their schema. In this case the filter would look like this: filter --> // name:'ANY("king kong")' For more information about filtering including // syntax and filter operators, see Filter // (https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) Filter string `json:"filter,omitempty"` // ImageQuery: Raw image query. ImageQuery *GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery `json:"imageQuery,omitempty"` // LanguageCode: The BCP-47 language code, such as "en-US" or "sr-Latn". For // more information, see Standard fields // (https://cloud.google.com/apis/design/standard_fields). This field helps to // better interpret the query. If a value isn't specified, the query language // code is automatically detected, which may not be accurate. LanguageCode string `json:"languageCode,omitempty"` // NaturalLanguageQueryUnderstandingSpec: If // `naturalLanguageQueryUnderstandingSpec` is not specified, no additional // natural language query understanding will be done. NaturalLanguageQueryUnderstandingSpec *GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec `json:"naturalLanguageQueryUnderstandingSpec,omitempty"` // Offset: A 0-indexed integer that specifies the current offset (that is, // starting result location, amongst the Documents deemed by the API as // relevant) in search results. This field is only considered if page_token is // unset. If this field is negative, an `INVALID_ARGUMENT` is returned. Offset int64 `json:"offset,omitempty"` // OneBoxPageSize: The maximum number of results to return for OneBox. This // applies to each OneBox type individually. Default number is 10. OneBoxPageSize int64 `json:"oneBoxPageSize,omitempty"` // OrderBy: The order in which documents are returned. Documents can be ordered // by a field in an Document object. Leave it unset if ordered by relevance. // `order_by` expression is case-sensitive. For more information on ordering // the website search results, see Order web search results // (https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). // For more information on ordering the healthcare search results, see Order // healthcare search results // (https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). // If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. OrderBy string `json:"orderBy,omitempty"` // PageSize: Maximum number of Documents to return. The maximum allowed value // depends on the data type. Values above the maximum value are coerced to the // maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * // Websites with advanced indexing: Default `25`, Maximum `50`. * Other: // Default `50`, Maximum `100`. If this field is negative, an // `INVALID_ARGUMENT` is returned. PageSize int64 `json:"pageSize,omitempty"` // PageToken: A page token received from a previous SearchService.Search call. // Provide this to retrieve the subsequent page. When paginating, all other // parameters provided to SearchService.Search must match the call that // provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned. PageToken string `json:"pageToken,omitempty"` // Params: Additional search parameters. For public website search only, // supported values are: * `user_country_code`: string. Default empty. If set // to non-empty, results are restricted or boosted based on the location // provided. For example, `user_country_code: "au" For available codes see // Country Codes // (https://developers.google.com/custom-search/docs/json_api_reference#countryCodes) // * `search_type`: double. Default empty. Enables non-webpage searching // depending on the value. The only valid non-default value is 1, which enables // image searching. For example, `search_type: 1` Params googleapi.RawMessage `json:"params,omitempty"` // PersonalizationSpec: The specification for personalization. Notice that if // both ServingConfig.personalization_spec and // SearchRequest.personalization_spec are set, // SearchRequest.personalization_spec overrides // ServingConfig.personalization_spec. PersonalizationSpec *GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec `json:"personalizationSpec,omitempty"` // Query: Raw search query. Query string `json:"query,omitempty"` // QueryExpansionSpec: The query expansion specification that specifies the // conditions under which query expansion occurs. QueryExpansionSpec *GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec `json:"queryExpansionSpec,omitempty"` // RankingExpression: The ranking expression controls the customized ranking on // retrieval documents. This overrides ServingConfig.ranking_expression. The // ranking expression is a single function or multiple functions that are // joined by "+". * ranking_expression = function, { " + ", function }; // Supported functions: * double * relevance_score * double * // dotProduct(embedding_field_path) Function variables: * `relevance_score`: // pre-defined keywords, used for measure relevance between query and document. // * `embedding_field_path`: the document embedding field used with query // embedding vector. * `dotProduct`: embedding function between // embedding_field_path and query embedding vector. Example ranking expression: // If document has an embedding field doc_embedding, the ranking expression // could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. RankingExpression string `json:"rankingExpression,omitempty"` // RegionCode: The Unicode country/region code (CLDR) of a location, such as // "US" and "419". For more information, see Standard fields // (https://cloud.google.com/apis/design/standard_fields). If set, then results // will be boosted based on the region_code provided. RegionCode string `json:"regionCode,omitempty"` // RelevanceThreshold: The relevance threshold of the search results. Default // to Google defined threshold, leveraging a balance of precision and recall to // deliver both highly accurate results and comprehensive coverage of relevant // information. // // Possible values: // "RELEVANCE_THRESHOLD_UNSPECIFIED" - Default value. In this case, server // behavior defaults to Google defined threshold. // "LOWEST" - Lowest relevance threshold. // "LOW" - Low relevance threshold. // "MEDIUM" - Medium relevance threshold. // "HIGH" - High relevance threshold. RelevanceThreshold string `json:"relevanceThreshold,omitempty"` // SafeSearch: Whether to turn on safe search. This is only supported for // website search. SafeSearch bool `json:"safeSearch,omitempty"` // SearchAsYouTypeSpec: Search as you type configuration. Only supported for // the IndustryVertical.MEDIA vertical. SearchAsYouTypeSpec *GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec `json:"searchAsYouTypeSpec,omitempty"` // ServingConfig: Required. The resource name of the Search serving config, // such as // `projects/*/locations/global/collections/default_collection/engines/*/serving // Configs/default_serving_config`, or // `projects/*/locations/global/collections/default_collection/dataStores/defaul // t_data_store/servingConfigs/default_serving_config`. This field is used to // identify the serving configuration name, set of models used to make the // search. ServingConfig string `json:"servingConfig,omitempty"` // Session: The session resource name. Optional. Session allows users to do // multi-turn /search API calls or coordination between /search API calls and // /answer API calls. Example #1 (multi-turn /search API calls): 1. Call // /search API with the auto-session mode (see below). 2. Call /search API with // the session ID generated in the first call. Here, the previous search query // gets considered in query standing. I.e., if the first query is "How did // Alphabet do in 2022?" and the current query is "How about 2023?", the // current query will be interpreted as "How did Alphabet do in 2023?". Example // #2 (coordination between /search API calls and /answer API calls): 1. Call // /search API with the auto-session mode (see below). 2. Call /answer API with // the session ID generated in the first call. Here, the answer generation // happens in the context of the search results from the first search call. // Auto-session mode: when `projects/.../sessions/-` is used, a new session // gets automatically created. Otherwise, users can use the create-session API // to create a session manually. Multi-turn Search feature is currently at // private GA stage. Please use v1alpha or v1beta version instead before we // launch this feature to public GA. Or ask for allowlisting through Google // Support team. Session string `json:"session,omitempty"` // SessionSpec: Session specification. Can be used only when `session` is set. SessionSpec *GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec `json:"sessionSpec,omitempty"` // SpellCorrectionSpec: The spell correction specification that specifies the // mode under which spell correction takes effect. SpellCorrectionSpec *GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec `json:"spellCorrectionSpec,omitempty"` // UserInfo: Information about the end user. Highly recommended for analytics. // UserInfo.user_agent is used to deduce `device_type` for analytics. UserInfo *GoogleCloudDiscoveryengineV1betaUserInfo `json:"userInfo,omitempty"` // UserLabels: The user labels applied to a resource must meet the following // requirements: * Each resource can have multiple labels, up to a maximum of // 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 // character and a maximum length of 63 characters and cannot be empty. Values // can be empty and have a maximum length of 63 characters. * Keys and values // can contain only lowercase letters, numeric characters, underscores, and // dashes. All characters must use UTF-8 encoding, and international characters // are allowed. * The key portion of a label must be unique. However, you can // use the same key with multiple resources. * Keys must start with a lowercase // letter or international character. See Google Cloud Document // (https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) // for more details. UserLabels map[string]string `json:"userLabels,omitempty"` // UserPseudoId: A unique identifier for tracking visitors. For example, this // could be implemented with an HTTP cookie, which should be able to uniquely // identify a visitor on a single device. This unique identifier should not // change if the visitor logs in or out of the website. This field should NOT // have a fixed value such as `unknown_visitor`. This should be the same // identifier as UserEvent.user_pseudo_id and // CompleteQueryRequest.user_pseudo_id The field must be a UTF-8 encoded string // with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` // error is returned. UserPseudoId string `json:"userPseudoId,omitempty"` // ForceSendFields is a list of field names (e.g. "BoostSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BoostSpec") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequest: Request message for SearchService.Search method.
func (GoogleCloudDiscoveryengineV1betaSearchRequest) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec struct { // ConditionBoostSpecs: Condition boost specifications. If a document matches // multiple conditions in the specifictions, boost scores from these // specifications are all applied and combined in a non-linear way. Maximum // number of specifications is 20. ConditionBoostSpecs []*GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec `json:"conditionBoostSpecs,omitempty"` // ForceSendFields is a list of field names (e.g. "ConditionBoostSpecs") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ConditionBoostSpecs") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec: Boost specification to boost certain documents.
func (GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec struct { // Boost: Strength of the condition boost, which should be in [-1, 1]. Negative // boost means demotion. Default is 0.0. Setting to 1.0 gives the document a // big promotion. However, it does not necessarily mean that the boosted // document will be the top result at all times, nor that other documents will // be excluded. Results could still be shown even when none of them matches the // condition. And results that are significantly more relevant to the search // query can still trump your heavily favored but irrelevant documents. Setting // to -1.0 gives the document a big demotion. However, results that are deeply // relevant might still be shown. The document will have an upstream battle to // get a fairly high ranking, but it is not blocked out completely. Setting to // 0.0 means no boost applied. The boosting condition is ignored. Only one of // the (condition, boost) combination or the boost_control_spec below are set. // If both are set then the global boost is ignored and the more fine-grained // boost_control_spec is applied. Boost float64 `json:"boost,omitempty"` // BoostControlSpec: Complex specification for custom ranking based on customer // defined attribute value. BoostControlSpec *GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec `json:"boostControlSpec,omitempty"` // Condition: An expression which specifies a boost condition. The syntax and // supported fields are the same as a filter expression. See // SearchRequest.filter for detail syntax and limitations. Examples: * To boost // documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue": // `(document_id: ANY("doc_1", "doc_2")) AND (color: ANY("Red", "Blue"))` Condition string `json:"condition,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec: Boost applies to documents which match a condition.
func (GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec) UnmarshalJSON ¶ added in v0.138.0
func (s *GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec struct { // AttributeType: The attribute type to be used to determine the boost amount. // The attribute value can be derived from the field value of the specified // field_name. In the case of numerical it is straightforward i.e. // attribute_value = numerical_field_value. In the case of freshness however, // attribute_value = (time.now() - datetime_field_value). // // Possible values: // "ATTRIBUTE_TYPE_UNSPECIFIED" - Unspecified AttributeType. // "NUMERICAL" - The value of the numerical field will be used to dynamically // update the boost amount. In this case, the attribute_value (the x value) of // the control point will be the actual value of the numerical field for which // the boost_amount is specified. // "FRESHNESS" - For the freshness use case the attribute value will be the // duration between the current time and the date in the datetime field // specified. The value must be formatted as an XSD `dayTimeDuration` value (a // restricted subset of an ISO 8601 duration value). The pattern for this is: // `nDnM]`. For example, `5D`, `3DT12H30M`, `T24H`. AttributeType string `json:"attributeType,omitempty"` // ControlPoints: The control points used to define the curve. The monotonic // function (defined through the interpolation_type above) passes through the // control points listed here. ControlPoints []*GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint `json:"controlPoints,omitempty"` // FieldName: The name of the field whose value will be used to determine the // boost amount. FieldName string `json:"fieldName,omitempty"` // InterpolationType: The interpolation type to be applied to connect the // control points listed below. // // Possible values: // "INTERPOLATION_TYPE_UNSPECIFIED" - Interpolation type is unspecified. In // this case, it defaults to Linear. // "LINEAR" - Piecewise linear interpolation will be applied. InterpolationType string `json:"interpolationType,omitempty"` // ForceSendFields is a list of field names (e.g. "AttributeType") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AttributeType") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoost ControlSpec: Specification for custom ranking based on customer specified attribute value. It provides more controls for customized ranking than the simple (condition, boost) combination above.
func (GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint struct { // AttributeValue: Can be one of: 1. The numerical field value. 2. The duration // spec for freshness: The value must be formatted as an XSD `dayTimeDuration` // value (a restricted subset of an ISO 8601 duration value). The pattern for // this is: `nDnM]`. AttributeValue string `json:"attributeValue,omitempty"` // BoostAmount: The value between -1 to 1 by which to boost the score if the // attribute_value evaluates to the value specified above. BoostAmount float64 `json:"boostAmount,omitempty"` // ForceSendFields is a list of field names (e.g. "AttributeValue") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AttributeValue") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoost ControlSpecControlPoint: The control points used to define the curve. The curve defined through these control points can only be monotonically increasing or decreasing(constant values are acceptable).
func (GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint) UnmarshalJSON ¶ added in v0.173.0
func (s *GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec struct { // ChunkSpec: Specifies the chunk spec to be returned from the search response. // Only available if the SearchRequest.ContentSearchSpec.search_result_mode is // set to CHUNKS ChunkSpec *GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec `json:"chunkSpec,omitempty"` // ExtractiveContentSpec: If there is no extractive_content_spec provided, // there will be no extractive answer in the search response. ExtractiveContentSpec *GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec `json:"extractiveContentSpec,omitempty"` // SearchResultMode: Specifies the search result mode. If unspecified, the // search result mode defaults to `DOCUMENTS`. // // Possible values: // "SEARCH_RESULT_MODE_UNSPECIFIED" - Default value. // "DOCUMENTS" - Returns documents in the search result. // "CHUNKS" - Returns chunks in the search result. Only available if the // DocumentProcessingConfig.chunking_config is specified. SearchResultMode string `json:"searchResultMode,omitempty"` // SnippetSpec: If `snippetSpec` is not specified, snippets are not included in // the search response. SnippetSpec *GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec `json:"snippetSpec,omitempty"` // SummarySpec: If `summarySpec` is not specified, summaries are not included // in the search response. SummarySpec *GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec `json:"summarySpec,omitempty"` // ForceSendFields is a list of field names (e.g. "ChunkSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChunkSpec") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec: A specification for configuring the behavior of content search.
func (GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec ¶ added in v0.185.0
type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec struct { // NumNextChunks: The number of next chunks to be returned of the current // chunk. The maximum allowed value is 3. If not specified, no next chunks will // be returned. NumNextChunks int64 `json:"numNextChunks,omitempty"` // NumPreviousChunks: The number of previous chunks to be returned of the // current chunk. The maximum allowed value is 3. If not specified, no previous // chunks will be returned. NumPreviousChunks int64 `json:"numPreviousChunks,omitempty"` // ForceSendFields is a list of field names (e.g. "NumNextChunks") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NumNextChunks") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec: Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS
func (GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec) MarshalJSON ¶ added in v0.185.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec struct { // MaxExtractiveAnswerCount: The maximum number of extractive answers returned // in each search result. An extractive answer is a verbatim answer extracted // from the original document, which provides a precise and contextually // relevant answer to the search query. If the number of matching answers is // less than the `max_extractive_answer_count`, return all of the answers. // Otherwise, return the `max_extractive_answer_count`. At most five answers // are returned for each SearchResult. MaxExtractiveAnswerCount int64 `json:"maxExtractiveAnswerCount,omitempty"` // MaxExtractiveSegmentCount: The max number of extractive segments returned in // each search result. Only applied if the DataStore is set to // DataStore.ContentConfig.CONTENT_REQUIRED or DataStore.solution_types is // SOLUTION_TYPE_CHAT. An extractive segment is a text segment extracted from // the original document that is relevant to the search query, and, in general, // more verbose than an extractive answer. The segment could then be used as // input for LLMs to generate summaries and answers. If the number of matching // segments is less than `max_extractive_segment_count`, return all of the // segments. Otherwise, return the `max_extractive_segment_count`. MaxExtractiveSegmentCount int64 `json:"maxExtractiveSegmentCount,omitempty"` // NumNextSegments: Return at most `num_next_segments` segments after each // selected segments. NumNextSegments int64 `json:"numNextSegments,omitempty"` // NumPreviousSegments: Specifies whether to also include the adjacent from // each selected segments. Return at most `num_previous_segments` segments // before each selected segments. NumPreviousSegments int64 `json:"numPreviousSegments,omitempty"` // ReturnExtractiveSegmentScore: Specifies whether to return the confidence // score from the extractive segments in each search result. This feature is // available only for new or allowlisted data stores. To allowlist your data // store, contact your Customer Engineer. The default value is `false`. ReturnExtractiveSegmentScore bool `json:"returnExtractiveSegmentScore,omitempty"` // ForceSendFields is a list of field names (e.g. "MaxExtractiveAnswerCount") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaxExtractiveAnswerCount") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveConte ntSpec: A specification for configuring the extractive content in a search response.
func (GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec struct { // MaxSnippetCount: [DEPRECATED] This field is deprecated. To control snippet // return, use `return_snippet` field. For backwards compatibility, we will // return snippet if max_snippet_count > 0. MaxSnippetCount int64 `json:"maxSnippetCount,omitempty"` // ReferenceOnly: [DEPRECATED] This field is deprecated and will have no affect // on the snippet. ReferenceOnly bool `json:"referenceOnly,omitempty"` // ReturnSnippet: If `true`, then return snippet. If no snippet can be // generated, we return "No snippet is available for this page." A // `snippet_status` with `SUCCESS` or `NO_SNIPPET_AVAILABLE` will also be // returned. ReturnSnippet bool `json:"returnSnippet,omitempty"` // ForceSendFields is a list of field names (e.g. "MaxSnippetCount") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaxSnippetCount") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec: A specification for configuring snippets in a search response.
func (GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec struct { // IgnoreAdversarialQuery: Specifies whether to filter out adversarial queries. // The default value is `false`. Google employs search-query classification to // detect adversarial queries. No summary is returned if the search query is // classified as an adversarial query. For example, a user might ask a question // regarding negative comments about the company or submit a query designed to // generate unsafe, policy-violating output. If this field is set to `true`, we // skip generating summaries for adversarial queries and return fallback // messages instead. IgnoreAdversarialQuery bool `json:"ignoreAdversarialQuery,omitempty"` // IgnoreJailBreakingQuery: Optional. Specifies whether to filter out // jail-breaking queries. The default value is `false`. Google employs // search-query classification to detect jail-breaking queries. No summary is // returned if the search query is classified as a jail-breaking query. A user // might add instructions to the query to change the tone, style, language, // content of the answer, or ask the model to act as a different entity, e.g. // "Reply in the tone of a competing company's CEO". If this field is set to // `true`, we skip generating summaries for jail-breaking queries and return // fallback messages instead. IgnoreJailBreakingQuery bool `json:"ignoreJailBreakingQuery,omitempty"` // IgnoreLowRelevantContent: Specifies whether to filter out queries that have // low relevance. The default value is `false`. If this field is set to // `false`, all search results are used regardless of relevance to generate // answers. If set to `true`, only queries with high relevance search results // will generate answers. IgnoreLowRelevantContent bool `json:"ignoreLowRelevantContent,omitempty"` // IgnoreNonSummarySeekingQuery: Specifies whether to filter out queries that // are not summary-seeking. The default value is `false`. Google employs // search-query classification to detect summary-seeking queries. No summary is // returned if the search query is classified as a non-summary seeking query. // For example, `why is the sky blue` and `Who is the best soccer player in the // world?` are summary-seeking queries, but `SFO airport` and `world cup 2026` // are not. They are most likely navigational queries. If this field is set to // `true`, we skip generating summaries for non-summary seeking queries and // return fallback messages instead. IgnoreNonSummarySeekingQuery bool `json:"ignoreNonSummarySeekingQuery,omitempty"` // IncludeCitations: Specifies whether to include citations in the summary. The // default value is `false`. When this field is set to `true`, summaries // include in-line citation numbers. Example summary including citations: // BigQuery is Google Cloud's fully managed and completely serverless // enterprise data warehouse [1]. BigQuery supports all data types, works // across clouds, and has built-in machine learning and business intelligence, // all within a unified platform [2, 3]. The citation numbers refer to the // returned search results and are 1-indexed. For example, [1] means that the // sentence is attributed to the first search result. [2, 3] means that the // sentence is attributed to both the second and third search results. IncludeCitations bool `json:"includeCitations,omitempty"` // LanguageCode: Language code for Summary. Use language tags defined by BCP47 // (https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an // experimental feature. LanguageCode string `json:"languageCode,omitempty"` // ModelPromptSpec: If specified, the spec will be used to modify the prompt // provided to the LLM. ModelPromptSpec *GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec `json:"modelPromptSpec,omitempty"` // ModelSpec: If specified, the spec will be used to modify the model // specification provided to the LLM. ModelSpec *GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec `json:"modelSpec,omitempty"` // SummaryResultCount: The number of top results to generate the summary from. // If the number of results returned is less than `summaryResultCount`, the // summary is generated from all of the results. At most 10 results for // documents mode, or 50 for chunks mode, can be used to generate a summary. // The chunks mode is used when // SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS. SummaryResultCount int64 `json:"summaryResultCount,omitempty"` // UseSemanticChunks: If true, answer will be generated from most relevant // chunks from top search results. This feature will improve summary quality. // Note that with this feature enabled, not all top search results will be // referenced and included in the reference list, so the citation source index // only points to the search results listed in the reference list. UseSemanticChunks bool `json:"useSemanticChunks,omitempty"` // ForceSendFields is a list of field names (e.g. "IgnoreAdversarialQuery") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "IgnoreAdversarialQuery") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec: A specification for configuring a summary returned in a search response.
func (GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec ¶ added in v0.155.0
type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec struct { // Preamble: Text at the beginning of the prompt that instructs the assistant. // Examples are available in the user guide. Preamble string `json:"preamble,omitempty"` // ForceSendFields is a list of field names (e.g. "Preamble") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Preamble") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMode lPromptSpec: Specification of the prompt to use with the model.
func (GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec) MarshalJSON ¶ added in v0.155.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec ¶ added in v0.154.0
type GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec struct { // Version: The model version used to generate the summary. Supported values // are: * `stable`: string. Default value when no value is specified. Uses a // generally available, fine-tuned model. For more information, see Answer // generation model versions and lifecycle // (https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). // * `preview`: string. (Public preview) Uses a preview model. For more // information, see Answer generation model versions and lifecycle // (https://cloud.google.com/generative-ai-app-builder/docs/answer-generation-models). 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMode lSpec: Specification of the model.
func (GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec) MarshalJSON ¶ added in v0.154.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec ¶ added in v0.170.0
type GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec struct { // BoostSpec: Optional. Boost specification to boost certain documents. For // more information on boosting, see Boosting // (https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results) BoostSpec *GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec `json:"boostSpec,omitempty"` // DataStore: Required. Full resource name of DataStore, such as // `projects/{project}/locations/{location}/collections/{collection_id}/dataStor // es/{data_store_id}`. DataStore string `json:"dataStore,omitempty"` // Filter: Optional. Filter specification to filter documents in the data store // specified by data_store field. For more information on filtering, see // Filtering // (https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) Filter string `json:"filter,omitempty"` // ForceSendFields is a list of field names (e.g. "BoostSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BoostSpec") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec: A struct to define data stores to filter on in a search call and configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error is returned.
func (GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec) MarshalJSON ¶ added in v0.170.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec struct { // EmbeddingVectors: The embedding vector used for retrieval. Limit to 1. EmbeddingVectors []*GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector `json:"embeddingVectors,omitempty"` // ForceSendFields is a list of field names (e.g. "EmbeddingVectors") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EmbeddingVectors") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec: The specification that uses customized query embedding vector to do semantic document retrieval.
func (GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector struct { // FieldPath: Embedding field path in schema. FieldPath string `json:"fieldPath,omitempty"` // Vector: Query embedding vector. Vector []float64 `json:"vector,omitempty"` // ForceSendFields is a list of field names (e.g. "FieldPath") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FieldPath") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector: Embedding vector.
func (GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector) UnmarshalJSON ¶ added in v0.138.0
func (s *GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec struct { // EnableDynamicPosition: Enables dynamic position for this facet. If set to // true, the position of this facet among all facets in the response is // determined automatically. If dynamic facets are enabled, it is ordered // together. If set to false, the position of this facet in the response is the // same as in the request, and it is ranked before the facets with dynamic // position enable and all dynamic facets. For example, you may always want to // have rating facet returned in the response, but it's not necessarily to // always display the rating facet at the top. In that case, you can set // enable_dynamic_position to true so that the position of rating facet in // response is determined automatically. Another example, assuming you have the // following facets in the request: * "rating", enable_dynamic_position = true // * "price", enable_dynamic_position = false * "brands", // enable_dynamic_position = false And also you have a dynamic facets enabled, // which generates a facet `gender`. Then the final order of the facets in the // response can be ("price", "brands", "rating", "gender") or ("price", // "brands", "gender", "rating") depends on how API orders "gender" and // "rating" facets. However, notice that "price" and "brands" are always ranked // at first and second position because their enable_dynamic_position is false. EnableDynamicPosition bool `json:"enableDynamicPosition,omitempty"` // ExcludedFilterKeys: List of keys to exclude when faceting. By default, // FacetKey.key is not excluded from the filter unless it is listed in this // field. Listing a facet key in this field allows its values to appear as // facet results, even when they are filtered out of search results. Using this // field does not affect what search results are returned. For example, suppose // there are 100 documents with the color facet "Red" and 200 documents with // the color facet "Blue". A query containing the filter "color:ANY("Red")" and // having "color" as FacetKey.key would by default return only "Red" documents // in the search results, and also return "Red" with count 100 as the only // color facet. Although there are also blue documents available, "Blue" would // not be shown as an available facet value. If "color" is listed in // "excludedFilterKeys", then the query returns the facet values "Red" with // count 100 and "Blue" with count 200, because the "color" key is now excluded // from the filter. Because this field doesn't affect search results, the // search results are still correctly filtered to return only "Red" documents. // A maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error // is returned. ExcludedFilterKeys []string `json:"excludedFilterKeys,omitempty"` // FacetKey: Required. The facet key specification. FacetKey *GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey `json:"facetKey,omitempty"` // Limit: Maximum facet values that are returned for this facet. If // unspecified, defaults to 20. The maximum allowed value is 300. Values above // 300 are coerced to 300. For aggregation in healthcare search, when the // [FacetKey.key] is "healthcare_aggregation_key", the limit will be overridden // to 10,000 internally, regardless of the value set here. If this field is // negative, an `INVALID_ARGUMENT` is returned. Limit int64 `json:"limit,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableDynamicPosition") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EnableDynamicPosition") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec: A facet specification to perform faceted search.
func (GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey struct { // CaseInsensitive: True to make facet keys case insensitive when getting // faceting values with prefixes or contains; false otherwise. CaseInsensitive bool `json:"caseInsensitive,omitempty"` // Contains: Only get facet values that contain the given strings. For example, // suppose "category" has three values "Action > 2022", "Action > 2021" and // "Sci-Fi > 2022". If set "contains" to "2022", the "category" facet only // contains "Action > 2022" and "Sci-Fi > 2022". Only supported on textual // fields. Maximum is 10. Contains []string `json:"contains,omitempty"` // Intervals: Set only if values should be bucketed into intervals. Must be set // for facets with numerical values. Must not be set for facet with text // values. Maximum number of intervals is 30. Intervals []*GoogleCloudDiscoveryengineV1betaInterval `json:"intervals,omitempty"` // Key: Required. Supported textual and numerical facet keys in Document // object, over which the facet values are computed. Facet key is // case-sensitive. Key string `json:"key,omitempty"` // OrderBy: The order in which documents are returned. Allowed values are: * // "count desc", which means order by SearchResponse.Facet.values.count // descending. * "value desc", which means order by // SearchResponse.Facet.values.value descending. Only applies to textual // facets. If not set, textual values are sorted in natural order // (https://en.wikipedia.org/wiki/Natural_sort_order); numerical intervals are // sorted in the order given by FacetSpec.FacetKey.intervals. OrderBy string `json:"orderBy,omitempty"` // Prefixes: Only get facet values that start with the given string prefix. For // example, suppose "category" has three values "Action > 2022", "Action > // 2021" and "Sci-Fi > 2022". If set "prefixes" to "Action", the "category" // facet only contains "Action > 2022" and "Action > 2021". Only supported on // textual fields. Maximum is 10. Prefixes []string `json:"prefixes,omitempty"` // RestrictedValues: Only get facet for the given restricted values. Only // supported on textual fields. For example, suppose "category" has three // values "Action > 2022", "Action > 2021" and "Sci-Fi > 2022". If set // "restricted_values" to "Action > 2022", the "category" facet only contains // "Action > 2022". Only supported on textual fields. Maximum is 10. RestrictedValues []string `json:"restrictedValues,omitempty"` // ForceSendFields is a list of field names (e.g. "CaseInsensitive") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CaseInsensitive") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey: Specifies how a facet is computed.
func (GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestFacetSpecFacetKey) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery struct { // ImageBytes: Base64 encoded image bytes. Supported image formats: JPEG, PNG, // and BMP. ImageBytes string `json:"imageBytes,omitempty"` // ForceSendFields is a list of field names (e.g. "ImageBytes") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ImageBytes") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery: Specifies the image query input.
func (GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec ¶ added in v0.188.0
type GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec struct { // FilterExtractionCondition: The condition under which filter extraction // should occur. Default to Condition.DISABLED. // // Possible values: // "CONDITION_UNSPECIFIED" - Server behavior defaults to Condition.DISABLED. // "DISABLED" - Disables NL filter extraction. // "ENABLED" - Enables NL filter extraction. FilterExtractionCondition string `json:"filterExtractionCondition,omitempty"` // GeoSearchQueryDetectionFieldNames: Field names used for location-based // filtering, where geolocation filters are detected in natural language search // queries. Only valid when the FilterExtractionCondition is set to `ENABLED`. // If this field is set, it overrides the field names set in // ServingConfig.geo_search_query_detection_field_names. GeoSearchQueryDetectionFieldNames []string `json:"geoSearchQueryDetectionFieldNames,omitempty"` // ForceSendFields is a list of field names (e.g. "FilterExtractionCondition") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FilterExtractionCondition") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandin gSpec: Specification to enable natural language understanding capabilities for search requests.
func (GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec) MarshalJSON ¶ added in v0.188.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec ¶ added in v0.200.0
type GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec struct { // Mode: The personalization mode of the search request. Defaults to Mode.AUTO. // // Possible values: // "MODE_UNSPECIFIED" - Default value. In this case, server behavior defaults // to Mode.AUTO. // "AUTO" - Personalization is enabled if data quality requirements are met. // "DISABLED" - Disable personalization. Mode string `json:"mode,omitempty"` // ForceSendFields is a list of field names (e.g. "Mode") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Mode") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec: The specification for personalization.
func (GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec) MarshalJSON ¶ added in v0.200.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec struct { // Condition: The condition under which query expansion should occur. Default // to Condition.DISABLED. // // Possible values: // "CONDITION_UNSPECIFIED" - Unspecified query expansion condition. In this // case, server behavior defaults to Condition.DISABLED. // "DISABLED" - Disabled query expansion. Only the exact search query is // used, even if SearchResponse.total_size is zero. // "AUTO" - Automatic query expansion built by the Search API. Condition string `json:"condition,omitempty"` // PinUnexpandedResults: Whether to pin unexpanded results. If this field is // set to true, unexpanded products are always at the top of the search // results, followed by the expanded results. PinUnexpandedResults bool `json:"pinUnexpandedResults,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec: Specification to determine under which conditions query expansion should occur.
func (GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec ¶ added in v0.188.0
type GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec struct { // Condition: The condition under which search as you type should occur. // Default to Condition.DISABLED. // // Possible values: // "CONDITION_UNSPECIFIED" - Server behavior defaults to Condition.DISABLED. // "DISABLED" - Disables Search As You Type. // "ENABLED" - Enables Search As You Type. Condition string `json:"condition,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec: Specification for search as you type in search requests.
func (GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec) MarshalJSON ¶ added in v0.188.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec ¶ added in v0.188.0
type GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec struct { // QueryId: If set, the search result gets stored to the "turn" specified by // this query ID. Example: Let's say the session looks like this: session { // name: ".../sessions/xxx" turns { query { text: "What is foo?" query_id: // ".../questions/yyy" } answer: "Foo is ..." } turns { query { text: "How // about bar then?" query_id: ".../questions/zzz" } } } The user can call // /search API with a request like this: session: ".../sessions/xxx" // session_spec { query_id: ".../questions/zzz" } Then, the API stores the // search result, associated with the last turn. The stored search result can // be used by a subsequent /answer API call (with the session ID and the query // ID specified). Also, it is possible to call /search and /answer in parallel // with the same session ID & query ID. QueryId string `json:"queryId,omitempty"` // SearchResultPersistenceCount: The number of top search results to persist. // The persisted search results can be used for the subsequent /answer api // call. This field is simliar to the `summary_result_count` field in // SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count. At most 10 // results for documents mode, or 50 for chunks mode. SearchResultPersistenceCount int64 `json:"searchResultPersistenceCount,omitempty"` // ForceSendFields is a list of field names (e.g. "QueryId") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QueryId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec: Session specification. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team.
func (GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec) MarshalJSON ¶ added in v0.188.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec struct { // Mode: The mode under which spell correction replaces the original search // query. Defaults to Mode.AUTO. // // Possible values: // "MODE_UNSPECIFIED" - Unspecified spell correction mode. In this case, // server behavior defaults to Mode.AUTO. // "SUGGESTION_ONLY" - Search API tries to find a spelling suggestion. If a // suggestion is found, it is put in the SearchResponse.corrected_query. The // spelling suggestion won't be used as the search query. // "AUTO" - Automatic spell correction built by the Search API. Search will // be based on the corrected query if found. Mode string `json:"mode,omitempty"` // ForceSendFields is a list of field names (e.g. "Mode") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Mode") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec: The specification for query spell correction.
func (GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchResponse ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchResponse struct { // AppliedControls: Controls applied as part of the Control service. AppliedControls []string `json:"appliedControls,omitempty"` // AttributionToken: A unique search token. This should be included in the // UserEvent logs resulting from this search, which enables accurate // attribution of search model performance. This also helps to identify a // request during the customer support scenarios. AttributionToken string `json:"attributionToken,omitempty"` // CorrectedQuery: Contains the spell corrected query, if found. If the spell // correction type is AUTOMATIC, then the search results are based on // corrected_query. Otherwise the original query is used for search. CorrectedQuery string `json:"correctedQuery,omitempty"` // Facets: Results of facets requested by user. Facets []*GoogleCloudDiscoveryengineV1betaSearchResponseFacet `json:"facets,omitempty"` GeoSearchDebugInfo []*GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo `json:"geoSearchDebugInfo,omitempty"` // GuidedSearchResult: Guided search result. GuidedSearchResult *GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult `json:"guidedSearchResult,omitempty"` // NaturalLanguageQueryUnderstandingInfo: Natural language query understanding // information for the returned results. NaturalLanguageQueryUnderstandingInfo *GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo `json:"naturalLanguageQueryUnderstandingInfo,omitempty"` // NextPageToken: A token that can be sent as SearchRequest.page_token to // retrieve the next page. If this field is omitted, there are no subsequent // pages. NextPageToken string `json:"nextPageToken,omitempty"` // OneBoxResults: A list of One Box results. There can be multiple One Box // results of different types. OneBoxResults []*GoogleCloudDiscoveryengineV1betaSearchResponseOneBoxResult `json:"oneBoxResults,omitempty"` // QueryExpansionInfo: Query expansion information for the returned results. QueryExpansionInfo *GoogleCloudDiscoveryengineV1betaSearchResponseQueryExpansionInfo `json:"queryExpansionInfo,omitempty"` // RedirectUri: The URI of a customer-defined redirect page. If redirect action // is triggered, no search is performed, and only redirect_uri and // attribution_token are set in the response. RedirectUri string `json:"redirectUri,omitempty"` // Results: A list of matched documents. The order represents the ranking. Results []*GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult `json:"results,omitempty"` // SearchLinkPromotions: Promotions for site search. SearchLinkPromotions []*GoogleCloudDiscoveryengineV1betaSearchLinkPromotion `json:"searchLinkPromotions,omitempty"` // SessionInfo: Session information. Only set if SearchRequest.session is // provided. See its description for more details. SessionInfo *GoogleCloudDiscoveryengineV1betaSearchResponseSessionInfo `json:"sessionInfo,omitempty"` // Summary: A summary as part of the search results. This field is only // returned if SearchRequest.ContentSearchSpec.summary_spec is set. Summary *GoogleCloudDiscoveryengineV1betaSearchResponseSummary `json:"summary,omitempty"` // TotalSize: The estimated total count of matched items irrespective of // pagination. The count of results returned by pagination may be less than the // total_size that matches. TotalSize int64 `json:"totalSize,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AppliedControls") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AppliedControls") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponse: Response message for SearchService.Search method.
func (GoogleCloudDiscoveryengineV1betaSearchResponse) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchResponseFacet ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchResponseFacet struct { // DynamicFacet: Whether the facet is dynamically generated. DynamicFacet bool `json:"dynamicFacet,omitempty"` // Key: The key for this facet. For example, "colors" or "price". It // matches SearchRequest.FacetSpec.FacetKey.key. Key string `json:"key,omitempty"` // Values: The facet values for this field. Values []*GoogleCloudDiscoveryengineV1betaSearchResponseFacetFacetValue `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "DynamicFacet") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DynamicFacet") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseFacet: A facet result.
func (GoogleCloudDiscoveryengineV1betaSearchResponseFacet) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchResponseFacet) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchResponseFacetFacetValue ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchResponseFacetFacetValue struct { // Count: Number of items that have this facet value. Count int64 `json:"count,omitempty,string"` // Interval: Interval value for a facet, such as 10, 20) for facet "price". It // matches [SearchRequest.FacetSpec.FacetKey.intervals. Interval *GoogleCloudDiscoveryengineV1betaInterval `json:"interval,omitempty"` // Value: Text value of a facet, such as "Black" for facet "colors". Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Count") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Count") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseFacetFacetValue: A facet value which contains value names and their count.
func (GoogleCloudDiscoveryengineV1betaSearchResponseFacetFacetValue) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchResponseFacetFacetValue) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo ¶ added in v0.144.0
type GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo struct { // ErrorMessage: The error produced. ErrorMessage string `json:"errorMessage,omitempty"` // OriginalAddressQuery: The address from which forward geocoding ingestion // produced issues. OriginalAddressQuery string `json:"originalAddressQuery,omitempty"` // ForceSendFields is a list of field names (e.g. "ErrorMessage") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorMessage") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo: Debug information specifically related to forward geocoding issues arising from Geolocation Search.
func (GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo) MarshalJSON ¶ added in v0.144.0
func (s GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult struct { // FollowUpQuestions: Suggested follow-up questions. FollowUpQuestions []string `json:"followUpQuestions,omitempty"` // RefinementAttributes: A list of ranked refinement attributes. RefinementAttributes []*GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResultRefinementAttribute `json:"refinementAttributes,omitempty"` // ForceSendFields is a list of field names (e.g. "FollowUpQuestions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FollowUpQuestions") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult: Guided search result. The guided search helps user to refine the search results and narrow down to the real needs from a broaded search results.
func (GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResultRefinementAttribute ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResultRefinementAttribute struct { // AttributeKey: Attribute key used to refine the results. For example, // "movie_type". AttributeKey string `json:"attributeKey,omitempty"` // AttributeValue: Attribute value used to refine the results. For example, // "drama". AttributeValue string `json:"attributeValue,omitempty"` // ForceSendFields is a list of field names (e.g. "AttributeKey") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AttributeKey") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResultRefinementAtt ribute: Useful attribute for search result refinements.
func (GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResultRefinementAttribute) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResultRefinementAttribute) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo ¶ added in v0.188.0
type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo struct { // ExtractedFilters: The filters that were extracted from the input query. ExtractedFilters string `json:"extractedFilters,omitempty"` // RewrittenQuery: Rewritten input query minus the extracted filters. RewrittenQuery string `json:"rewrittenQuery,omitempty"` // StructuredExtractedFilter: The filters that were extracted from the input // query represented in a structured form. StructuredExtractedFilter *GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter `json:"structuredExtractedFilter,omitempty"` // ForceSendFields is a list of field names (e.g. "ExtractedFilters") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExtractedFilters") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandi ngInfo: Information describing what natural language understanding was done on the input query.
func (GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo) MarshalJSON ¶ added in v0.188.0
func (s GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter ¶ added in v0.188.0
type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter struct { // Expression: The expression denoting the filter that was extracted from the // input query in a structured form. It can be a simple expression denoting a // single string, numerical or geolocation constraint or a compound expression // which is a combination of multiple expressions connected using logical (OR // and AND) operators. Expression *GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression `json:"expression,omitempty"` // ForceSendFields is a list of field names (e.g. "Expression") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Expression") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandi ngInfoStructuredExtractedFilter: The filters that were extracted from the input query represented in a structured form.
func (GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter) MarshalJSON ¶ added in v0.188.0
func (s GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression ¶ added in v0.188.0
type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression struct { // Expressions: The expressions that were ANDed together. Expressions []*GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression `json:"expressions,omitempty"` // ForceSendFields is a list of field names (e.g. "Expressions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Expressions") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandi ngInfoStructuredExtractedFilterAndExpression: Logical `And` operator.
func (GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression) MarshalJSON ¶ added in v0.188.0
type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression ¶ added in v0.188.0
type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression struct { // AndExpr: Logical "And" compound operator connecting multiple expressions. AndExpr *GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterAndExpression `json:"andExpr,omitempty"` // GeolocationConstraint: Geolocation constraint expression. GeolocationConstraint *GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint `json:"geolocationConstraint,omitempty"` // NumberConstraint: Numerical constraint expression. NumberConstraint *GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint `json:"numberConstraint,omitempty"` // OrExpr: Logical "Or" compound operator connecting multiple expressions. OrExpr *GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression `json:"orExpr,omitempty"` // StringConstraint: String constraint expression. StringConstraint *GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint `json:"stringConstraint,omitempty"` // ForceSendFields is a list of field names (e.g. "AndExpr") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AndExpr") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandi ngInfoStructuredExtractedFilterExpression: The expression denoting the filter that was extracted from the input query.
func (GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression) MarshalJSON ¶ added in v0.188.0
type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint ¶ added in v0.188.0
type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint struct { // Address: The reference address that was inferred from the input query. The // proximity of the reference address to the geolocation field will be used to // filter the results. Address string `json:"address,omitempty"` // FieldName: The name of the geolocation field as defined in the schema. FieldName string `json:"fieldName,omitempty"` // Latitude: The latitude of the geolocation inferred from the input query. Latitude float64 `json:"latitude,omitempty"` // Longitude: The longitude of the geolocation inferred from the input query. Longitude float64 `json:"longitude,omitempty"` // RadiusInMeters: The radius in meters around the address. The record is // returned if the location of the geolocation field is within the radius. RadiusInMeters float64 `json:"radiusInMeters,omitempty"` // ForceSendFields is a list of field names (e.g. "Address") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Address") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandi ngInfoStructuredExtractedFilterGeolocationConstraint: Constraint of a geolocation field. Name of the geolocation field as defined in the schema.
func (GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint) MarshalJSON ¶ added in v0.188.0
func (*GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterGeolocationConstraint) UnmarshalJSON ¶ added in v0.188.0
type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint ¶ added in v0.188.0
type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint struct { // Comparison: The comparison operation performed between the field value and // the value specified in the constraint. // // Possible values: // "COMPARISON_UNSPECIFIED" - Undefined comparison operator. // "EQUALS" - Denotes equality `=` operator. // "LESS_THAN_EQUALS" - Denotes less than or equal to `<=` operator. // "LESS_THAN" - Denotes less than `<` operator. // "GREATER_THAN_EQUALS" - Denotes greater than or equal to `>=` operator. // "GREATER_THAN" - Denotes greater than `>` operator. Comparison string `json:"comparison,omitempty"` // FieldName: Name of the numerical field as defined in the schema. FieldName string `json:"fieldName,omitempty"` // QuerySegment: Identifies the keywords within the search query that match a // filter. QuerySegment string `json:"querySegment,omitempty"` // Value: The value specified in the numerical constraint. Value float64 `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Comparison") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Comparison") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandi ngInfoStructuredExtractedFilterNumberConstraint: Constraint expression of a number field. Example: price < 100.
func (GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint) MarshalJSON ¶ added in v0.188.0
func (*GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint) UnmarshalJSON ¶ added in v0.188.0
func (s *GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterNumberConstraint) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression ¶ added in v0.188.0
type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression struct { // Expressions: The expressions that were ORed together. Expressions []*GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterExpression `json:"expressions,omitempty"` // ForceSendFields is a list of field names (e.g. "Expressions") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Expressions") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandi ngInfoStructuredExtractedFilterOrExpression: Logical `Or` operator.
func (GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterOrExpression) MarshalJSON ¶ added in v0.188.0
type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint ¶ added in v0.188.0
type GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint struct { // FieldName: Name of the string field as defined in the schema. FieldName string `json:"fieldName,omitempty"` // QuerySegment: Identifies the keywords within the search query that match a // filter. QuerySegment string `json:"querySegment,omitempty"` // Values: Values of the string field. The record will only be returned if the // field value matches one of the values specified here. Values []string `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "FieldName") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FieldName") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandi ngInfoStructuredExtractedFilterStringConstraint: Constraint expression of a string field.
func (GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilterStringConstraint) MarshalJSON ¶ added in v0.188.0
type GoogleCloudDiscoveryengineV1betaSearchResponseOneBoxResult ¶ added in v0.190.0
type GoogleCloudDiscoveryengineV1betaSearchResponseOneBoxResult struct { // OneBoxType: The type of One Box result. // // Possible values: // "ONE_BOX_TYPE_UNSPECIFIED" - Default value. Should not be used. // "PEOPLE" - One Box result contains people results. // "ORGANIZATION" - One Box result contains organization results. // "SLACK" - One Box result contains slack results. // "KNOWLEDGE_GRAPH" - One Box result contains Knowledge Graph search // responses. OneBoxType string `json:"oneBoxType,omitempty"` // SearchResults: The search results for this One Box. SearchResults []*GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult `json:"searchResults,omitempty"` // ForceSendFields is a list of field names (e.g. "OneBoxType") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "OneBoxType") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseOneBoxResult: OneBoxResult is a holder for all results of specific type that we want to display in UI differently.
func (GoogleCloudDiscoveryengineV1betaSearchResponseOneBoxResult) MarshalJSON ¶ added in v0.190.0
func (s GoogleCloudDiscoveryengineV1betaSearchResponseOneBoxResult) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchResponseQueryExpansionInfo ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchResponseQueryExpansionInfo struct { // ExpandedQuery: Bool describing whether query expansion has occurred. ExpandedQuery bool `json:"expandedQuery,omitempty"` // PinnedResultCount: Number of pinned results. This field will only be set // when expansion happens and // SearchRequest.QueryExpansionSpec.pin_unexpanded_results is set to true. PinnedResultCount int64 `json:"pinnedResultCount,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ExpandedQuery") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExpandedQuery") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseQueryExpansionInfo: Information describing query expansion including whether expansion has occurred.
func (GoogleCloudDiscoveryengineV1betaSearchResponseQueryExpansionInfo) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchResponseQueryExpansionInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult struct { // Chunk: The chunk data in the search response if the // SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS. Chunk *GoogleCloudDiscoveryengineV1betaChunk `json:"chunk,omitempty"` // Document: The document data snippet in the search response. Only fields that // are marked as `retrievable` are populated. Document *GoogleCloudDiscoveryengineV1betaDocument `json:"document,omitempty"` // Id: Document.id of the searched Document. Id string `json:"id,omitempty"` // ModelScores: Google provided available scores. ModelScores map[string]GoogleCloudDiscoveryengineV1betaDoubleList `json:"modelScores,omitempty"` // ForceSendFields is a list of field names (e.g. "Chunk") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Chunk") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult: Represents the search results.
func (GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchResponseSessionInfo ¶ added in v0.188.0
type GoogleCloudDiscoveryengineV1betaSearchResponseSessionInfo struct { // Name: Name of the session. If the auto-session mode is used (when // SearchRequest.session ends with "-"), this field holds the newly generated // session name. Name string `json:"name,omitempty"` // QueryId: Query ID that corresponds to this search API call. One session can // have multiple turns, each with a unique query ID. By specifying the session // name and this query ID in the Answer API call, the answer generation happens // in the context of the search results from this search call. QueryId string `json:"queryId,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseSessionInfo: Information about the session.
func (GoogleCloudDiscoveryengineV1betaSearchResponseSessionInfo) MarshalJSON ¶ added in v0.188.0
func (s GoogleCloudDiscoveryengineV1betaSearchResponseSessionInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchResponseSummary ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaSearchResponseSummary struct { // SafetyAttributes: A collection of Safety Attribute categories and their // associated confidence scores. SafetyAttributes *GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes `json:"safetyAttributes,omitempty"` // SummarySkippedReasons: Additional summary-skipped reasons. This provides the // reason for ignored cases. If nothing is skipped, this field is not set. // // Possible values: // "SUMMARY_SKIPPED_REASON_UNSPECIFIED" - Default value. The summary skipped // reason is not specified. // "ADVERSARIAL_QUERY_IGNORED" - The adversarial query ignored case. Only // used when SummarySpec.ignore_adversarial_query is set to `true`. // "NON_SUMMARY_SEEKING_QUERY_IGNORED" - The non-summary seeking query // ignored case. Google skips the summary if the query is chit chat. Only used // when SummarySpec.ignore_non_summary_seeking_query is set to `true`. // "OUT_OF_DOMAIN_QUERY_IGNORED" - The out-of-domain query ignored case. // Google skips the summary if there are no high-relevance search results. For // example, the data store contains facts about company A but the user query is // asking questions about company B. // "POTENTIAL_POLICY_VIOLATION" - The potential policy violation case. Google // skips the summary if there is a potential policy violation detected. This // includes content that may be violent or toxic. // "LLM_ADDON_NOT_ENABLED" - The LLM addon not enabled case. Google skips the // summary if the LLM addon is not enabled. // "NO_RELEVANT_CONTENT" - The no relevant content case. Google skips the // summary if there is no relevant content in the retrieved search results. // "JAIL_BREAKING_QUERY_IGNORED" - The jail-breaking query ignored case. For // example, "Reply in the tone of a competing company's CEO". Only used when // [SearchRequest.ContentSearchSpec.SummarySpec.ignore_jail_breaking_query] is // set to `true`. // "CUSTOMER_POLICY_VIOLATION" - The customer policy violation case. Google // skips the summary if there is a customer policy violation detected. The // policy is defined by the customer. // "NON_SUMMARY_SEEKING_QUERY_IGNORED_V2" - The non-answer seeking query // ignored case. Google skips the summary if the query doesn't have clear // intent. Only used when // [SearchRequest.ContentSearchSpec.SummarySpec.ignore_non_answer_seeking_query] // is set to `true`. SummarySkippedReasons []string `json:"summarySkippedReasons,omitempty"` // SummaryText: The summary content. SummaryText string `json:"summaryText,omitempty"` // SummaryWithMetadata: Summary with metadata information. SummaryWithMetadata *GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata `json:"summaryWithMetadata,omitempty"` // ForceSendFields is a list of field names (e.g. "SafetyAttributes") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SafetyAttributes") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseSummary: Summary of the top N search results specified by the summary spec.
func (GoogleCloudDiscoveryengineV1betaSearchResponseSummary) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaSearchResponseSummary) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation ¶ added in v0.155.0
type GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation struct { // EndIndex: End of the attributed segment, exclusive. EndIndex int64 `json:"endIndex,omitempty,string"` // Sources: Citation sources for the attributed segment. Sources []*GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource `json:"sources,omitempty"` // StartIndex: Index indicates the start of the segment, measured in // bytes/unicode. StartIndex int64 `json:"startIndex,omitempty,string"` // ForceSendFields is a list of field names (e.g. "EndIndex") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndIndex") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation: Citation info for a segment.
func (GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation) MarshalJSON ¶ added in v0.155.0
func (s GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata ¶ added in v0.155.0
type GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata struct { // Citations: Citations for segments. Citations []*GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation `json:"citations,omitempty"` // ForceSendFields is a list of field names (e.g. "Citations") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Citations") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata: Citation metadata.
func (GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata) MarshalJSON ¶ added in v0.155.0
func (s GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource ¶ added in v0.155.0
type GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource struct { // ReferenceIndex: Document reference index from // SummaryWithMetadata.references. It is 0-indexed and the value will be zero // if the reference_index is not set explicitly. ReferenceIndex int64 `json:"referenceIndex,omitempty,string"` // ForceSendFields is a list of field names (e.g. "ReferenceIndex") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ReferenceIndex") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource: Citation source.
func (GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource) MarshalJSON ¶ added in v0.155.0
func (s GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference ¶ added in v0.155.0
type GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference struct { // ChunkContents: List of cited chunk contents derived from document content. ChunkContents []*GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReferenceChunkContent `json:"chunkContents,omitempty"` // Document: Required. Document.name of the document. Full resource name of the // referenced document, in the format // `projects/*/locations/*/collections/*/dataStores/*/branches/*/documents/*`. Document string `json:"document,omitempty"` // Title: Title of the document. Title string `json:"title,omitempty"` // Uri: Cloud Storage or HTTP uri for the document. Uri string `json:"uri,omitempty"` // ForceSendFields is a list of field names (e.g. "ChunkContents") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChunkContents") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference: Document reference.
func (GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference) MarshalJSON ¶ added in v0.155.0
func (s GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReferenceChunkContent ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReferenceChunkContent struct { // Content: Chunk textual content. Content string `json:"content,omitempty"` // PageIdentifier: Page identifier. PageIdentifier string `json:"pageIdentifier,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReferenceChunkContent: Chunk content.
func (GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReferenceChunkContent) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReferenceChunkContent) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes ¶ added in v0.139.0
type GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes struct { // Categories: The display names of Safety Attribute categories associated with // the generated content. Order matches the Scores. Categories []string `json:"categories,omitempty"` // Scores: The confidence scores of the each category, higher value means // higher confidence. Order matches the Categories. Scores []float64 `json:"scores,omitempty"` // ForceSendFields is a list of field names (e.g. "Categories") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Categories") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes: Safety Attribute categories and their associated confidence scores.
func (GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes) MarshalJSON ¶ added in v0.139.0
func (s GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes) UnmarshalJSON ¶ added in v0.139.0
func (s *GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata ¶ added in v0.155.0
type GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata struct { // CitationMetadata: Citation metadata for given summary. CitationMetadata *GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata `json:"citationMetadata,omitempty"` // References: Document References. References []*GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference `json:"references,omitempty"` // Summary: Summary text with no citation information. Summary string `json:"summary,omitempty"` // ForceSendFields is a list of field names (e.g. "CitationMetadata") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CitationMetadata") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata: Summary with metadata information.
func (GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata) MarshalJSON ¶ added in v0.155.0
func (s GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaServingConfig ¶ added in v0.163.0
type GoogleCloudDiscoveryengineV1betaServingConfig struct { // BoostControlIds: Boost controls to use in serving path. All triggered boost // controls will be applied. Boost controls must be in the same data store as // the serving config. Maximum of 20 boost controls. BoostControlIds []string `json:"boostControlIds,omitempty"` // CreateTime: Output only. ServingConfig created timestamp. CreateTime string `json:"createTime,omitempty"` // DisplayName: Required. The human readable serving config display name. Used // in Discovery UI. This field must be a UTF-8 encoded string with a length // limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. DisplayName string `json:"displayName,omitempty"` // DissociateControlIds: Condition do not associate specifications. If multiple // do not associate conditions match, all matching do not associate controls in // the list will execute. Order does not matter. Maximum number of // specifications is 100. Can only be set if SolutionType is // SOLUTION_TYPE_SEARCH. DissociateControlIds []string `json:"dissociateControlIds,omitempty"` // DiversityLevel: How much diversity to use in recommendation model results // e.g. `medium-diversity` or `high-diversity`. Currently supported values: * // `no-diversity` * `low-diversity` * `medium-diversity` * `high-diversity` * // `auto-diversity` If not specified, we choose default based on recommendation // model type. Default value: `no-diversity`. Can only be set if SolutionType // is SOLUTION_TYPE_RECOMMENDATION. DiversityLevel string `json:"diversityLevel,omitempty"` // EmbeddingConfig: Bring your own embedding config. The config is used for // search semantic retrieval. The retrieval is based on the dot product of // SearchRequest.EmbeddingSpec.EmbeddingVector.vector and the document // embeddings that are provided by this EmbeddingConfig. If // SearchRequest.EmbeddingSpec.EmbeddingVector.vector is provided, it overrides // this ServingConfig.embedding_config. EmbeddingConfig *GoogleCloudDiscoveryengineV1betaEmbeddingConfig `json:"embeddingConfig,omitempty"` // FilterControlIds: Filter controls to use in serving path. All triggered // filter controls will be applied. Filter controls must be in the same data // store as the serving config. Maximum of 20 filter controls. FilterControlIds []string `json:"filterControlIds,omitempty"` // GenericConfig: The GenericConfig of the serving configuration. GenericConfig *GoogleCloudDiscoveryengineV1betaServingConfigGenericConfig `json:"genericConfig,omitempty"` // IgnoreControlIds: Condition ignore specifications. If multiple ignore // conditions match, all matching ignore controls in the list will execute. // Order does not matter. Maximum number of specifications is 100. IgnoreControlIds []string `json:"ignoreControlIds,omitempty"` // MediaConfig: The MediaConfig of the serving configuration. MediaConfig *GoogleCloudDiscoveryengineV1betaServingConfigMediaConfig `json:"mediaConfig,omitempty"` // ModelId: The id of the model to use at serving time. Currently only // RecommendationModels are supported. Can be changed but only to a compatible // model (e.g. others-you-may-like CTR to others-you-may-like CVR). Required // when SolutionType is SOLUTION_TYPE_RECOMMENDATION. ModelId string `json:"modelId,omitempty"` // Name: Immutable. Fully qualified name // `projects/{project}/locations/{location}/collections/{collection_id}/engines/ // {engine_id}/servingConfigs/{serving_config_id}` Name string `json:"name,omitempty"` // OnewaySynonymsControlIds: Condition oneway synonyms specifications. If // multiple oneway synonyms conditions match, all matching oneway synonyms // controls in the list will execute. Maximum number of specifications is 100. // Can only be set if SolutionType is SOLUTION_TYPE_SEARCH. OnewaySynonymsControlIds []string `json:"onewaySynonymsControlIds,omitempty"` // PersonalizationSpec: The specification for personalization spec. Notice that // if both ServingConfig.personalization_spec and // SearchRequest.personalization_spec are set, // SearchRequest.personalization_spec overrides // ServingConfig.personalization_spec. PersonalizationSpec *GoogleCloudDiscoveryengineV1betaSearchRequestPersonalizationSpec `json:"personalizationSpec,omitempty"` // PromoteControlIds: Condition promote specifications. Maximum number of // specifications is 100. PromoteControlIds []string `json:"promoteControlIds,omitempty"` // RankingExpression: The ranking expression controls the customized ranking on // retrieval documents. To leverage this, document embedding is required. The // ranking expression setting in ServingConfig applies to all search requests // served by the serving config. However, if SearchRequest.ranking_expression // is specified, it overrides the ServingConfig ranking expression. The ranking // expression is a single function or multiple functions that are joined by // "+". * ranking_expression = function, { " + ", function }; Supported // functions: * double * relevance_score * double * // dotProduct(embedding_field_path) Function variables: * `relevance_score`: // pre-defined keywords, used for measure relevance between query and document. // * `embedding_field_path`: the document embedding field used with query // embedding vector. * `dotProduct`: embedding function between // embedding_field_path and query embedding vector. Example ranking expression: // If document has an embedding field doc_embedding, the ranking expression // could be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. RankingExpression string `json:"rankingExpression,omitempty"` // RedirectControlIds: IDs of the redirect controls. Only the first triggered // redirect action is applied, even if multiple apply. Maximum number of // specifications is 100. Can only be set if SolutionType is // SOLUTION_TYPE_SEARCH. RedirectControlIds []string `json:"redirectControlIds,omitempty"` // ReplacementControlIds: Condition replacement specifications. Applied // according to the order in the list. A previously replaced term can not be // re-replaced. Maximum number of specifications is 100. Can only be set if // SolutionType is SOLUTION_TYPE_SEARCH. ReplacementControlIds []string `json:"replacementControlIds,omitempty"` // SolutionType: Required. Immutable. Specifies the solution type that a // serving config can be associated with. // // Possible values: // "SOLUTION_TYPE_UNSPECIFIED" - Default value. // "SOLUTION_TYPE_RECOMMENDATION" - Used for Recommendations AI. // "SOLUTION_TYPE_SEARCH" - Used for Discovery Search. // "SOLUTION_TYPE_CHAT" - Used for use cases related to the Generative AI // agent. // "SOLUTION_TYPE_GENERATIVE_CHAT" - Used for use cases related to the // Generative Chat agent. It's used for Generative chat engine only, the // associated data stores must enrolled with `SOLUTION_TYPE_CHAT` solution. SolutionType string `json:"solutionType,omitempty"` // SynonymsControlIds: Condition synonyms specifications. If multiple synonyms // conditions match, all matching synonyms controls in the list will execute. // Maximum number of specifications is 100. Can only be set if SolutionType is // SOLUTION_TYPE_SEARCH. SynonymsControlIds []string `json:"synonymsControlIds,omitempty"` // UpdateTime: Output only. ServingConfig updated timestamp. 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. "BoostControlIds") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BoostControlIds") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaServingConfig: Configures metadata that is used to generate serving time results (e.g. search results or recommendation predictions). The ServingConfig is passed in the search and predict request and generates results.
func (GoogleCloudDiscoveryengineV1betaServingConfig) MarshalJSON ¶ added in v0.163.0
func (s GoogleCloudDiscoveryengineV1betaServingConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaServingConfigGenericConfig ¶ added in v0.163.0
type GoogleCloudDiscoveryengineV1betaServingConfigGenericConfig struct { // ContentSearchSpec: Specifies the expected behavior of content search. Only // valid for content-search enabled data store. ContentSearchSpec *GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec `json:"contentSearchSpec,omitempty"` // ForceSendFields is a list of field names (e.g. "ContentSearchSpec") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContentSearchSpec") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaServingConfigGenericConfig: Specifies the configurations needed for Generic Discovery.Currently we support: * `content_search_spec`: configuration for generic content search.
func (GoogleCloudDiscoveryengineV1betaServingConfigGenericConfig) MarshalJSON ¶ added in v0.163.0
func (s GoogleCloudDiscoveryengineV1betaServingConfigGenericConfig) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaServingConfigMediaConfig ¶ added in v0.163.0
type GoogleCloudDiscoveryengineV1betaServingConfigMediaConfig struct { // ContentFreshnessCutoffDays: Specifies the content freshness used for // recommendation result. Contents will be demoted if contents were published // for more than content freshness cutoff days. ContentFreshnessCutoffDays int64 `json:"contentFreshnessCutoffDays,omitempty"` // ContentWatchedPercentageThreshold: Specifies the content watched percentage // threshold for demotion. Threshold value must be between [0, 1.0] inclusive. ContentWatchedPercentageThreshold float64 `json:"contentWatchedPercentageThreshold,omitempty"` // ContentWatchedSecondsThreshold: Specifies the content watched minutes // threshold for demotion. ContentWatchedSecondsThreshold float64 `json:"contentWatchedSecondsThreshold,omitempty"` // DemoteContentWatchedPastDays: Optional. Specifies the number of days to look // back for demoting watched content. If set to zero or unset, defaults to the // maximum of 365 days. DemoteContentWatchedPastDays int64 `json:"demoteContentWatchedPastDays,omitempty"` // DemotionEventType: Specifies the event type used for demoting recommendation // result. Currently supported values: * `view-item`: Item viewed. * // `media-play`: Start/resume watching a video, playing a song, etc. * // `media-complete`: Finished or stopped midway through a video, song, etc. If // unset, watch history demotion will not be applied. Content freshness // demotion will still be applied. DemotionEventType string `json:"demotionEventType,omitempty"` // ForceSendFields is a list of field names (e.g. "ContentFreshnessCutoffDays") // to unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ContentFreshnessCutoffDays") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaServingConfigMediaConfig: Specifies the configurations needed for Media Discovery. Currently we support: * `demote_content_watched`: Threshold for watched content demotion. Customers can specify if using watched content demotion or use viewed detail page. Using the content watched demotion, customers need to specify the watched minutes or percentage exceeds the threshold, the content will be demoted in the recommendation result. * `promote_fresh_content`: cutoff days for fresh content promotion. Customers can specify if using content freshness promotion. If the content was published within the cutoff days, the content will be promoted in the recommendation result. Can only be set if SolutionType is SOLUTION_TYPE_RECOMMENDATION.
func (GoogleCloudDiscoveryengineV1betaServingConfigMediaConfig) MarshalJSON ¶ added in v0.163.0
func (s GoogleCloudDiscoveryengineV1betaServingConfigMediaConfig) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaServingConfigMediaConfig) UnmarshalJSON ¶ added in v0.163.0
func (s *GoogleCloudDiscoveryengineV1betaServingConfigMediaConfig) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaSession ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaSession struct { // DisplayName: Optional. The display name of the session. This field is used // to identify the session in the UI. By default, the display name is the first // turn query text in the session. DisplayName string `json:"displayName,omitempty"` // EndTime: Output only. The time the session finished. EndTime string `json:"endTime,omitempty"` // IsPinned: Optional. Whether the session is pinned, pinned session will be // displayed on the top of the session list. IsPinned bool `json:"isPinned,omitempty"` // Name: Immutable. Fully qualified name // `projects/{project}/locations/global/collections/{collection}/engines/{engine // }/sessions/*` Name string `json:"name,omitempty"` // StartTime: Output only. The time the session started. StartTime string `json:"startTime,omitempty"` // State: The state of the session. // // Possible values: // "STATE_UNSPECIFIED" - State is unspecified. // "IN_PROGRESS" - The session is currently open. State string `json:"state,omitempty"` // Turns: Turns. Turns []*GoogleCloudDiscoveryengineV1betaSessionTurn `json:"turns,omitempty"` // UserPseudoId: A unique identifier for tracking users. UserPseudoId string `json:"userPseudoId,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSession: External session proto definition.
func (GoogleCloudDiscoveryengineV1betaSession) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaSession) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSessionTurn ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaSessionTurn struct { // Answer: The resource name of the answer to the user query. Only set if the // answer generation (/answer API call) happened in this turn. Answer string `json:"answer,omitempty"` // DetailedAnswer: Output only. In ConversationalSearchService.GetSession API, // if GetSessionRequest.include_answer_details is set to true, this field will // be populated when getting answer query session. DetailedAnswer *GoogleCloudDiscoveryengineV1betaAnswer `json:"detailedAnswer,omitempty"` // Query: The user query. Query *GoogleCloudDiscoveryengineV1betaQuery `json:"query,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSessionTurn: Represents a turn, including a query from the user and a answer from service.
func (GoogleCloudDiscoveryengineV1betaSessionTurn) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaSessionTurn) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSiteSearchEngine ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaSiteSearchEngine struct { // Name: The fully qualified resource name of the site search engine. Format: // `projects/*/locations/*/dataStores/*/siteSearchEngine` 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. "Name") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSiteSearchEngine: SiteSearchEngine captures DataStore level site search persisting configurations. It is a singleton value per data store.
func (GoogleCloudDiscoveryengineV1betaSiteSearchEngine) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaSiteSearchEngine) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSiteVerificationInfo ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaSiteVerificationInfo struct { // SiteVerificationState: Site verification state indicating the ownership and // validity. // // Possible values: // "SITE_VERIFICATION_STATE_UNSPECIFIED" - Defaults to VERIFIED. // "VERIFIED" - Site ownership verified. // "UNVERIFIED" - Site ownership pending verification or verification failed. // "EXEMPTED" - Site exempt from verification, e.g., a public website that // opens to all. SiteVerificationState string `json:"siteVerificationState,omitempty"` // VerifyTime: Latest site verification time. VerifyTime string `json:"verifyTime,omitempty"` // ForceSendFields is a list of field names (e.g. "SiteVerificationState") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "SiteVerificationState") to // include in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSiteVerificationInfo: Verification information for target sites in advanced site search.
func (GoogleCloudDiscoveryengineV1betaSiteVerificationInfo) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaSiteVerificationInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSitemap ¶ added in v0.205.0
type GoogleCloudDiscoveryengineV1betaSitemap struct { // CreateTime: Output only. The sitemap's creation time. CreateTime string `json:"createTime,omitempty"` // Name: Output only. The fully qualified resource name of the sitemap. // `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/ // *` The `sitemap_id` suffix is system-generated. Name string `json:"name,omitempty"` // Uri: Public URI for the sitemap, e.g. `www.example.com/sitemap.xml`. Uri string `json:"uri,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSitemap: A sitemap for the SiteSearchEngine.
func (GoogleCloudDiscoveryengineV1betaSitemap) MarshalJSON ¶ added in v0.205.0
func (s GoogleCloudDiscoveryengineV1betaSitemap) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSpannerSource ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaSpannerSource struct { // DatabaseId: Required. The database ID of the source Spanner table. DatabaseId string `json:"databaseId,omitempty"` // EnableDataBoost: Whether to apply data boost on Spanner export. Enabling // this option will incur additional cost. More info can be found here // (https://cloud.google.com/spanner/docs/databoost/databoost-overview#billing_and_quotas). EnableDataBoost bool `json:"enableDataBoost,omitempty"` // InstanceId: Required. The instance ID of the source Spanner table. InstanceId string `json:"instanceId,omitempty"` // ProjectId: The project ID that contains the Spanner source. Has a length // limit of 128 characters. If not specified, inherits the project ID from the // parent request. ProjectId string `json:"projectId,omitempty"` // TableId: Required. The table name of the Spanner database that needs to be // imported. TableId string `json:"tableId,omitempty"` // ForceSendFields is a list of field names (e.g. "DatabaseId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DatabaseId") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSpannerSource: The Spanner source for importing data
func (GoogleCloudDiscoveryengineV1betaSpannerSource) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaSpannerSource) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaSuggestionDenyListEntry ¶ added in v0.156.0
type GoogleCloudDiscoveryengineV1betaSuggestionDenyListEntry struct { // BlockPhrase: Required. Phrase to block from suggestions served. Can be // maximum 125 characters. BlockPhrase string `json:"blockPhrase,omitempty"` // MatchOperator: Required. The match operator to apply for this phrase. // Whether to block the exact phrase, or block any suggestions containing this // phrase. // // Possible values: // "MATCH_OPERATOR_UNSPECIFIED" - Default value. Should not be used // "EXACT_MATCH" - If the suggestion is an exact match to the block_phrase, // then block it. // "CONTAINS" - If the suggestion contains the block_phrase, then block it. MatchOperator string `json:"matchOperator,omitempty"` // ForceSendFields is a list of field names (e.g. "BlockPhrase") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BlockPhrase") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaSuggestionDenyListEntry: Suggestion deny list entry identifying the phrase to block from suggestions and the applied operation for the phrase.
func (GoogleCloudDiscoveryengineV1betaSuggestionDenyListEntry) MarshalJSON ¶ added in v0.156.0
func (s GoogleCloudDiscoveryengineV1betaSuggestionDenyListEntry) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaTargetSite ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaTargetSite struct { // ExactMatch: Input only. If set to false, a uri_pattern is generated to // include all pages whose address contains the provided_uri_pattern. If set to // true, an uri_pattern is generated to try to be an exact match of the // provided_uri_pattern or just the specific page if the provided_uri_pattern // is a specific one. provided_uri_pattern is always normalized to generate the // URI pattern to be used by the search engine. ExactMatch bool `json:"exactMatch,omitempty"` // FailureReason: Output only. Failure reason. FailureReason *GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason `json:"failureReason,omitempty"` // GeneratedUriPattern: Output only. This is system-generated based on the // provided_uri_pattern. GeneratedUriPattern string `json:"generatedUriPattern,omitempty"` // IndexingStatus: Output only. Indexing status. // // Possible values: // "INDEXING_STATUS_UNSPECIFIED" - Defaults to SUCCEEDED. // "PENDING" - The target site is in the update queue and will be picked up // by indexing pipeline. // "FAILED" - The target site fails to be indexed. // "SUCCEEDED" - The target site has been indexed. // "DELETING" - The previously indexed target site has been marked to be // deleted. This is a transitioning state which will resulted in either: 1. // target site deleted if unindexing is successful; 2. state reverts to // SUCCEEDED if the unindexing fails. IndexingStatus string `json:"indexingStatus,omitempty"` // Name: Output only. The fully qualified resource name of the target site. // `projects/{project}/locations/{location}/collections/{collection}/dataStores/ // {data_store}/siteSearchEngine/targetSites/{target_site}` The // `target_site_id` is system-generated. Name string `json:"name,omitempty"` // ProvidedUriPattern: Required. Input only. The user provided URI pattern from // which the `generated_uri_pattern` is generated. ProvidedUriPattern string `json:"providedUriPattern,omitempty"` // RootDomainUri: Output only. Root domain of the provided_uri_pattern. RootDomainUri string `json:"rootDomainUri,omitempty"` // SiteVerificationInfo: Output only. Site ownership and validity verification // status. SiteVerificationInfo *GoogleCloudDiscoveryengineV1betaSiteVerificationInfo `json:"siteVerificationInfo,omitempty"` // Type: The type of the target site, e.g., whether the site is to be included // or excluded. // // Possible values: // "TYPE_UNSPECIFIED" - This value is unused. In this case, server behavior // defaults to Type.INCLUDE. // "INCLUDE" - Include the target site. // "EXCLUDE" - Exclude the target site. Type string `json:"type,omitempty"` // UpdateTime: Output only. The target site's last updated time. 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. "ExactMatch") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExactMatch") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaTargetSite: A target site for the SiteSearchEngine.
func (GoogleCloudDiscoveryengineV1betaTargetSite) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaTargetSite) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason struct { // QuotaFailure: Failed due to insufficient quota. QuotaFailure *GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure `json:"quotaFailure,omitempty"` // ForceSendFields is a list of field names (e.g. "QuotaFailure") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "QuotaFailure") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason: Site search indexing failure reasons.
func (GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure struct { // TotalRequiredQuota: This number is an estimation on how much total quota // this project needs to successfully complete indexing. TotalRequiredQuota int64 `json:"totalRequiredQuota,omitempty,string"` // ForceSendFields is a list of field names (e.g. "TotalRequiredQuota") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TotalRequiredQuota") to include // in API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure: Failed due to insufficient quota.
func (GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaTextInput ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaTextInput struct { // Context: Conversation context of the input. Context *GoogleCloudDiscoveryengineV1betaConversationContext `json:"context,omitempty"` // Input: Text input. Input string `json:"input,omitempty"` // ForceSendFields is a list of field names (e.g. "Context") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Context") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaTextInput: Defines text input.
func (GoogleCloudDiscoveryengineV1betaTextInput) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaTextInput) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata ¶ added in v0.170.0
type GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata: Metadata related to the progress of the TrainCustomModel operation. This is returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata) MarshalJSON ¶ added in v0.170.0
func (s GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest ¶ added in v0.170.0
type GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest struct { // ErrorConfig: The desired location of errors incurred during the data // ingestion and training. ErrorConfig *GoogleCloudDiscoveryengineV1betaImportErrorConfig `json:"errorConfig,omitempty"` // GcsTrainingInput: Cloud Storage training input. GcsTrainingInput *GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput `json:"gcsTrainingInput,omitempty"` // ModelId: If not provided, a UUID will be generated. ModelId string `json:"modelId,omitempty"` // ModelType: Model to be trained. Supported values are: * **search-tuning**: // Fine tuning the search system based on data provided. ModelType string `json:"modelType,omitempty"` // ForceSendFields is a list of field names (e.g. "ErrorConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest: Request message for SearchTuningService.TrainCustomModel method.
func (GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest) MarshalJSON ¶ added in v0.170.0
func (s GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput ¶ added in v0.170.0
type GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput struct { // CorpusDataPath: The Cloud Storage corpus data which could be associated in // train data. The data path format is `gs:///`. A newline delimited // jsonl/ndjson file. For search-tuning model, each line should have the _id, // title and text. Example: `{"_id": "doc1", title: "relevant doc", "text": // "relevant text"}` CorpusDataPath string `json:"corpusDataPath,omitempty"` // QueryDataPath: The gcs query data which could be associated in train data. // The data path format is `gs:///`. A newline delimited jsonl/ndjson file. For // search-tuning model, each line should have the _id and text. Example: // {"_id": "query1", "text": "example query"} QueryDataPath string `json:"queryDataPath,omitempty"` // TestDataPath: Cloud Storage test data. Same format as train_data_path. If // not provided, a random 80/20 train/test split will be performed on // train_data_path. TestDataPath string `json:"testDataPath,omitempty"` // TrainDataPath: Cloud Storage training data path whose format should be // `gs:///`. The file should be in tsv format. Each line should have the doc_id // and query_id and score (number). For search-tuning model, it should have the // query-id corpus-id score as tsv file header. The score should be a number in // `[0, inf+)`. The larger the number is, the more relevant the pair is. // Example: * `query-id\tcorpus-id\tscore` * `query1\tdoc1\t1` TrainDataPath string `json:"trainDataPath,omitempty"` // ForceSendFields is a list of field names (e.g. "CorpusDataPath") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CorpusDataPath") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput: Cloud Storage training data input.
func (GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput) MarshalJSON ¶ added in v0.170.0
func (s GoogleCloudDiscoveryengineV1betaTrainCustomModelRequestGcsTrainingInput) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse ¶ added in v0.170.0
type GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse struct { // ErrorConfig: Echoes the destination for the complete errors in the request // if set. ErrorConfig *GoogleCloudDiscoveryengineV1betaImportErrorConfig `json:"errorConfig,omitempty"` // ErrorSamples: A sample of errors encountered while processing the data. ErrorSamples []*GoogleRpcStatus `json:"errorSamples,omitempty"` // Metrics: The metrics of the trained model. Metrics map[string]float64 `json:"metrics,omitempty"` // ModelName: Fully qualified name of the CustomTuningModel. ModelName string `json:"modelName,omitempty"` // ModelStatus: The trained model status. Possible values are: * **bad-data**: // The training data quality is bad. * **no-improvement**: Tuning didn't // improve performance. Won't deploy. * **in-progress**: Model training job // creation is in progress. * **training**: Model is actively training. * // **evaluating**: The model is evaluating trained metrics. * **indexing**: The // model trained metrics are indexing. * **ready**: The model is ready for // serving. ModelStatus string `json:"modelStatus,omitempty"` // ForceSendFields is a list of field names (e.g. "ErrorConfig") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorConfig") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse: Response of the TrainCustomModelRequest. This message is returned by the google.longrunning.Operations.response field.
func (GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse) MarshalJSON ¶ added in v0.170.0
func (s GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaTransactionInfo ¶
type GoogleCloudDiscoveryengineV1betaTransactionInfo struct { // Cost: All the costs associated with the products. These can be manufacturing // costs, shipping expenses not borne by the end user, or any other costs, such // that: * Profit = value - tax - cost Cost float64 `json:"cost,omitempty"` // Currency: Required. Currency code. Use three-character ISO-4217 code. Currency string `json:"currency,omitempty"` // DiscountValue: The total discount(s) value applied to this transaction. This // figure should be excluded from TransactionInfo.value For example, if a user // paid TransactionInfo.value amount, then nominal (pre-discount) value of the // transaction is the sum of TransactionInfo.value and // TransactionInfo.discount_value This means that profit is calculated the same // way, regardless of the discount value, and that // TransactionInfo.discount_value can be larger than TransactionInfo.value: * // Profit = value - tax - cost DiscountValue float64 `json:"discountValue,omitempty"` // Tax: All the taxes associated with the transaction. Tax float64 `json:"tax,omitempty"` // TransactionId: The transaction ID with a length limit of 128 characters. TransactionId string `json:"transactionId,omitempty"` // Value: Required. Total non-zero value associated with the transaction. This // value may include shipping, tax, or other adjustments to the total value // that you want to include. Value float64 `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Cost") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Cost") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaTransactionInfo: A transaction represents the entire purchase transaction.
func (GoogleCloudDiscoveryengineV1betaTransactionInfo) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaTransactionInfo) MarshalJSON() ([]byte, error)
func (*GoogleCloudDiscoveryengineV1betaTransactionInfo) UnmarshalJSON ¶
func (s *GoogleCloudDiscoveryengineV1betaTransactionInfo) UnmarshalJSON(data []byte) error
type GoogleCloudDiscoveryengineV1betaTuneEngineMetadata ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaTuneEngineMetadata struct { // Engine: Required. The resource name of the engine that this tune applies to. // Format: // `projects/{project}/locations/{location}/collections/{collection_id}/engines/ // {engine_id}` Engine string `json:"engine,omitempty"` // ForceSendFields is a list of field names (e.g. "Engine") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Engine") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaTuneEngineMetadata: Metadata associated with a tune operation.
func (GoogleCloudDiscoveryengineV1betaTuneEngineMetadata) MarshalJSON ¶ added in v0.173.0
func (s GoogleCloudDiscoveryengineV1betaTuneEngineMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaTuneEngineRequest ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaTuneEngineRequest struct { }
GoogleCloudDiscoveryengineV1betaTuneEngineRequest: Request to manually start a tuning process now (instead of waiting for the periodically scheduled tuning to happen).
type GoogleCloudDiscoveryengineV1betaTuneEngineResponse ¶ added in v0.173.0
type GoogleCloudDiscoveryengineV1betaTuneEngineResponse struct { }
GoogleCloudDiscoveryengineV1betaTuneEngineResponse: Response associated with a tune operation.
type GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata ¶ added in v0.138.0
type GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata: Metadata for UpdateSchema LRO.
func (GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata) MarshalJSON ¶ added in v0.138.0
func (s GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaUpdateTargetSiteMetadata ¶ added in v0.158.0
type GoogleCloudDiscoveryengineV1betaUpdateTargetSiteMetadata struct { // CreateTime: Operation create time. CreateTime string `json:"createTime,omitempty"` // UpdateTime: Operation last update time. If the operation is done, this is // also the finish time. UpdateTime string `json:"updateTime,omitempty"` // 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaUpdateTargetSiteMetadata: Metadata related to the progress of the SiteSearchEngineService.UpdateTargetSite operation. This will be returned by the google.longrunning.Operation.metadata field.
func (GoogleCloudDiscoveryengineV1betaUpdateTargetSiteMetadata) MarshalJSON ¶ added in v0.158.0
func (s GoogleCloudDiscoveryengineV1betaUpdateTargetSiteMetadata) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaUserEvent ¶
type GoogleCloudDiscoveryengineV1betaUserEvent struct { // Attributes: Extra user event features to include in the recommendation // model. These attributes must NOT contain data that needs to be parsed or // processed further, e.g. JSON or other encodings. If you provide custom // attributes for ingested user events, also include them in the user events // that you associate with prediction requests. Custom attribute formatting // must be consistent between imported events and events provided with // prediction requests. This lets the Discovery Engine API use those custom // attributes when training models and serving predictions, which helps improve // recommendation quality. This field needs to pass all below criteria, // otherwise an `INVALID_ARGUMENT` error is returned: * The key must be a UTF-8 // encoded string with a length limit of 5,000 characters. * For text // attributes, at most 400 values are allowed. Empty values are not allowed. // Each value must be a UTF-8 encoded string with a length limit of 256 // characters. * For number attributes, at most 400 values are allowed. For // product recommendations, an example of extra user information is // `traffic_channel`, which is how a user arrives at the site. Users can arrive // at the site by coming to the site directly, coming through Google search, or // in other ways. Attributes map[string]GoogleCloudDiscoveryengineV1betaCustomAttribute `json:"attributes,omitempty"` // AttributionToken: Token to attribute an API response to user action(s) to // trigger the event. Highly recommended for user events that are the result of // RecommendationService.Recommend. This field enables accurate attribution of // recommendation model performance. The value must be one of: * // RecommendResponse.attribution_token for events that are the result of // RecommendationService.Recommend. * SearchResponse.attribution_token for // events that are the result of SearchService.Search. This token enables us to // accurately attribute page view or conversion completion back to the event // and the particular predict response containing this clicked/purchased // product. If user clicks on product K in the recommendation results, pass // RecommendResponse.attribution_token as a URL parameter to product K's page. // When recording events on product K's page, log the // RecommendResponse.attribution_token to this field. AttributionToken string `json:"attributionToken,omitempty"` // CompletionInfo: CompletionService.CompleteQuery details related to the // event. This field should be set for `search` event when autocomplete // function is enabled and the user clicks a suggestion for search. CompletionInfo *GoogleCloudDiscoveryengineV1betaCompletionInfo `json:"completionInfo,omitempty"` // ConversionType: Optional. Conversion type. Required if UserEvent.event_type // is `conversion`. This is a customer-defined conversion name in lowercase // letters or numbers separated by "-", such as "watch", "good-visit" etc. Do // not set the field if UserEvent.event_type is not `conversion`. This mixes // the custom conversion event with predefined events like `search`, // `view-item` etc. ConversionType string `json:"conversionType,omitempty"` // DataStore: The DataStore resource full name, of the form // `projects/{project}/locations/{location}/collections/{collection_id}/dataStor // es/{data_store_id}`. Optional. Only required for user events whose data // store can't by determined by UserEvent.engine or UserEvent.documents. If // data store is set in the parent of write/import/collect user event requests, // this field can be omitted. DataStore string `json:"dataStore,omitempty"` // DirectUserRequest: Should set to true if the request is made directly from // the end user, in which case the UserEvent.user_info.user_agent can be // populated from the HTTP request. This flag should be set only if the API // request is made directly from the end user such as a mobile app (and not if // a gateway or a server is processing and pushing the user events). This // should not be set when using the JavaScript tag in // UserEventService.CollectUserEvent. DirectUserRequest bool `json:"directUserRequest,omitempty"` // Documents: List of Documents associated with this user event. This field is // optional except for the following event types: * `view-item` * `add-to-cart` // * `purchase` * `media-play` * `media-complete` In a `search` event, this // field represents the documents returned to the end user on the current page // (the end user may have not finished browsing the whole page yet). When a new // page is returned to the end user, after pagination/filtering/ordering even // for the same query, a new `search` event with different UserEvent.documents // is desired. Documents []*GoogleCloudDiscoveryengineV1betaDocumentInfo `json:"documents,omitempty"` // Engine: The Engine resource name, in the form of // `projects/{project}/locations/{location}/collections/{collection_id}/engines/ // {engine_id}`. Optional. Only required for Engine produced user events. For // example, user events from blended search. Engine string `json:"engine,omitempty"` // EventTime: Only required for UserEventService.ImportUserEvents method. // Timestamp of when the user event happened. EventTime string `json:"eventTime,omitempty"` // EventType: Required. User event type. Allowed values are: Generic values: * // `search`: Search for Documents. * `view-item`: Detailed page view of a // Document. * `view-item-list`: View of a panel or ordered list of Documents. // * `view-home-page`: View of the home page. * `view-category-page`: View of a // category page, e.g. Home > Men > Jeans * `add-feedback`: Add a user // feedback. Retail-related values: * `add-to-cart`: Add an item(s) to cart, // e.g. in Retail online shopping * `purchase`: Purchase an item(s) // Media-related values: * `media-play`: Start/resume watching a video, playing // a song, etc. * `media-complete`: Finished or stopped midway through a video, // song, etc. Custom conversion value: * `conversion`: Customer defined // conversion event. EventType string `json:"eventType,omitempty"` // Filter: The filter syntax consists of an expression language for // constructing a predicate from one or more fields of the documents being // filtered. One example is for `search` events, the associated SearchRequest // may contain a filter expression in SearchRequest.filter conforming to // https://google.aip.dev/160#filtering. Similarly, for `view-item-list` events // that are generated from a RecommendRequest, this field may be populated // directly from RecommendRequest.filter conforming to // https://google.aip.dev/160#filtering. The value must be a UTF-8 encoded // string with a length limit of 1,000 characters. Otherwise, an // `INVALID_ARGUMENT` error is returned. Filter string `json:"filter,omitempty"` // MediaInfo: Media-specific info. MediaInfo *GoogleCloudDiscoveryengineV1betaMediaInfo `json:"mediaInfo,omitempty"` // PageInfo: Page metadata such as categories and other critical information // for certain event types such as `view-category-page`. PageInfo *GoogleCloudDiscoveryengineV1betaPageInfo `json:"pageInfo,omitempty"` // Panel: Panel metadata associated with this user event. Panel *GoogleCloudDiscoveryengineV1betaPanelInfo `json:"panel,omitempty"` // Panels: Optional. List of panels associated with this event. Used for // page-level impression data. Panels []*GoogleCloudDiscoveryengineV1betaPanelInfo `json:"panels,omitempty"` // PromotionIds: The promotion IDs if this is an event associated with // promotions. Currently, this field is restricted to at most one ID. PromotionIds []string `json:"promotionIds,omitempty"` // SearchInfo: SearchService.Search details related to the event. This field // should be set for `search` event. SearchInfo *GoogleCloudDiscoveryengineV1betaSearchInfo `json:"searchInfo,omitempty"` // SessionId: A unique identifier for tracking a visitor session with a length // limit of 128 bytes. A session is an aggregation of an end user behavior in a // time span. A general guideline to populate the session_id: 1. If user has no // activity for 30 min, a new session_id should be assigned. 2. The session_id // should be unique across users, suggest use uuid or add // UserEvent.user_pseudo_id as prefix. SessionId string `json:"sessionId,omitempty"` // TagIds: A list of identifiers for the independent experiment groups this // user event belongs to. This is used to distinguish between user events // associated with different experiment setups. TagIds []string `json:"tagIds,omitempty"` // TransactionInfo: The transaction metadata (if any) associated with this user // event. TransactionInfo *GoogleCloudDiscoveryengineV1betaTransactionInfo `json:"transactionInfo,omitempty"` // UserInfo: Information about the end user. UserInfo *GoogleCloudDiscoveryengineV1betaUserInfo `json:"userInfo,omitempty"` // UserPseudoId: Required. A unique identifier for tracking visitors. For // example, this could be implemented with an HTTP cookie, which should be able // to uniquely identify a visitor on a single device. This unique identifier // should not change if the visitor log in/out of the website. Do not set the // field to the same fixed ID for different users. This mixes the event history // of those users together, which results in degraded model quality. The field // must be a UTF-8 encoded string with a length limit of 128 characters. // Otherwise, an `INVALID_ARGUMENT` error is returned. The field should not // contain PII or user-data. We recommend to use Google Analytics Client ID // (https://developers.google.com/analytics/devguides/collection/analyticsjs/field-reference#clientId) // for this field. UserPseudoId string `json:"userPseudoId,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Attributes") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Attributes") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaUserEvent: UserEvent captures all metadata information Discovery Engine API needs to know about how end users interact with your website.
func (GoogleCloudDiscoveryengineV1betaUserEvent) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaUserEvent) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaUserInfo ¶
type GoogleCloudDiscoveryengineV1betaUserInfo struct { // UserAgent: User agent as included in the HTTP header. The field must be a // UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an // `INVALID_ARGUMENT` error is returned. This should not be set when using the // client side event reporting with GTM or JavaScript tag in // UserEventService.CollectUserEvent or if UserEvent.direct_user_request is // set. UserAgent string `json:"userAgent,omitempty"` // UserId: Highly recommended for logged-in users. Unique identifier for // logged-in user, such as a user name. Don't set for anonymous users. Always // use a hashed value for this ID. Don't set the field to the same fixed ID for // different users. This mixes the event history of those users together, which // results in degraded model quality. The field must be a UTF-8 encoded string // with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` // error is returned. UserId string `json:"userId,omitempty"` // ForceSendFields is a list of field names (e.g. "UserAgent") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "UserAgent") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaUserInfo: Information of an end user.
func (GoogleCloudDiscoveryengineV1betaUserInfo) MarshalJSON ¶
func (s GoogleCloudDiscoveryengineV1betaUserInfo) MarshalJSON() ([]byte, error)
type GoogleCloudDiscoveryengineV1betaWorkspaceConfig ¶ added in v0.193.0
type GoogleCloudDiscoveryengineV1betaWorkspaceConfig struct { // DasherCustomerId: Obfuscated Dasher customer ID. DasherCustomerId string `json:"dasherCustomerId,omitempty"` // SuperAdminEmailAddress: Optional. The super admin email address for the // workspace that will be used for access token generation. For now we only use // it for Native Google Drive connector data ingestion. SuperAdminEmailAddress string `json:"superAdminEmailAddress,omitempty"` // SuperAdminServiceAccount: Optional. The super admin service account for the // workspace that will be used for access token generation. For now we only use // it for Native Google Drive connector data ingestion. SuperAdminServiceAccount string `json:"superAdminServiceAccount,omitempty"` // Type: The Google Workspace data source. // // Possible values: // "TYPE_UNSPECIFIED" - Defaults to an unspecified Workspace type. // "GOOGLE_DRIVE" - Workspace Data Store contains Drive data // "GOOGLE_MAIL" - Workspace Data Store contains Mail data // "GOOGLE_SITES" - Workspace Data Store contains Sites data // "GOOGLE_CALENDAR" - Workspace Data Store contains Calendar data // "GOOGLE_CHAT" - Workspace Data Store contains Chat data // "GOOGLE_GROUPS" - Workspace Data Store contains Groups data // "GOOGLE_KEEP" - Workspace Data Store contains Keep data Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "DasherCustomerId") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DasherCustomerId") to include in // API requests with the JSON null value. By default, fields with empty values // are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleCloudDiscoveryengineV1betaWorkspaceConfig: Config to store data store type configuration for workspace data
func (GoogleCloudDiscoveryengineV1betaWorkspaceConfig) MarshalJSON ¶ added in v0.193.0
func (s GoogleCloudDiscoveryengineV1betaWorkspaceConfig) MarshalJSON() ([]byte, error)
type GoogleLongrunningCancelOperationRequest ¶ added in v0.181.0
type GoogleLongrunningCancelOperationRequest struct { }
GoogleLongrunningCancelOperationRequest: The request message for Operations.CancelOperation.
type GoogleLongrunningListOperationsResponse ¶
type GoogleLongrunningListOperationsResponse struct { // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // Operations: A list of operations that matches the specified filter in the // request. Operations []*GoogleLongrunningOperation `json:"operations,omitempty"` // ServerResponse contains the HTTP response code and headers from the server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleLongrunningListOperationsResponse: The response message for Operations.ListOperations.
func (GoogleLongrunningListOperationsResponse) MarshalJSON ¶
func (s GoogleLongrunningListOperationsResponse) MarshalJSON() ([]byte, error)
type GoogleLongrunningOperation ¶
type GoogleLongrunningOperation struct { // Done: If the value is `false`, it means the operation is still in progress. // If `true`, the operation is completed, and either `error` or `response` is // available. Done bool `json:"done,omitempty"` // Error: The error result of the operation in case of failure or cancellation. Error *GoogleRpcStatus `json:"error,omitempty"` // Metadata: Service-specific metadata associated with the operation. It // typically contains progress information and common metadata such as create // time. Some services might not provide such metadata. Any method that returns // a long-running operation should document the metadata type, if any. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: The server-assigned name, which is only unique within the same service // that originally returns it. If you use the default HTTP mapping, the `name` // should be a resource name ending with `operations/{unique_id}`. Name string `json:"name,omitempty"` // Response: The normal, successful response of the operation. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. 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 GoogleMonitoringV3Point ¶ added in v0.204.0
type GoogleMonitoringV3Point struct { // Interval: The time interval to which the data point applies. For `GAUGE` // metrics, the start time is optional, but if it is supplied, it must equal // the end time. For `DELTA` metrics, the start and end time should specify a // non-zero interval, with subsequent points specifying contiguous and // non-overlapping intervals. For `CUMULATIVE` metrics, the start and end time // should specify a non-zero interval, with subsequent points specifying the // same start time and increasing end times, until an event resets the // cumulative value to zero and sets a new start time for the following points. Interval *GoogleMonitoringV3TimeInterval `json:"interval,omitempty"` // Value: The value of the data point. Value *GoogleMonitoringV3TypedValue `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Interval") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Interval") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleMonitoringV3Point: A single data point in a time series.
func (GoogleMonitoringV3Point) MarshalJSON ¶ added in v0.204.0
func (s GoogleMonitoringV3Point) MarshalJSON() ([]byte, error)
type GoogleMonitoringV3TimeInterval ¶ added in v0.204.0
type GoogleMonitoringV3TimeInterval struct { // EndTime: Required. The end of the time interval. EndTime string `json:"endTime,omitempty"` // StartTime: Optional. The beginning of the time interval. The default value // for the start time is the end time. The start time must not be later than // the end time. StartTime string `json:"startTime,omitempty"` // ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "EndTime") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleMonitoringV3TimeInterval: A time interval extending just after a start time through an end time. If the start time is the same as the end time, then the interval represents a single point in time.
func (GoogleMonitoringV3TimeInterval) MarshalJSON ¶ added in v0.204.0
func (s GoogleMonitoringV3TimeInterval) MarshalJSON() ([]byte, error)
type GoogleMonitoringV3TimeSeries ¶ added in v0.204.0
type GoogleMonitoringV3TimeSeries struct { // Description: Input only. A detailed description of the time series that will // be associated with the google.api.MetricDescriptor for the metric. Once set, // this field cannot be changed through CreateTimeSeries. Description string `json:"description,omitempty"` // Metadata: Output only. The associated monitored resource metadata. When // reading a time series, this field will include metadata labels that are // explicitly named in the reduction. When creating a time series, this field // is ignored. Metadata *GoogleApiMonitoredResourceMetadata `json:"metadata,omitempty"` // Metric: The associated metric. A fully-specified metric used to identify the // time series. Metric *GoogleApiMetric `json:"metric,omitempty"` // MetricKind: The metric kind of the time series. When listing time series, // this metric kind might be different from the metric kind of the associated // metric if this time series is an alignment or reduction of other time // series. When creating a time series, this field is optional. If present, it // must be the same as the metric kind of the associated metric. If the // associated metric's descriptor must be auto-created, then this field // specifies the metric kind of the new descriptor and must be either `GAUGE` // (the default) or `CUMULATIVE`. // // Possible values: // "METRIC_KIND_UNSPECIFIED" - Do not use this default value. // "GAUGE" - An instantaneous measurement of a value. // "DELTA" - The change in a value during a time interval. // "CUMULATIVE" - A value accumulated over a time interval. Cumulative // measurements in a time series should have the same start time and increasing // end times, until an event resets the cumulative value to zero and sets a new // start time for the following points. MetricKind string `json:"metricKind,omitempty"` // Points: The data points of this time series. When listing time series, // points are returned in reverse time order. When creating a time series, this // field must contain exactly one point and the point's type must be the same // as the value type of the associated metric. If the associated metric's // descriptor must be auto-created, then the value type of the descriptor is // determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or // `DISTRIBUTION`. Points []*GoogleMonitoringV3Point `json:"points,omitempty"` // Resource: The associated monitored resource. Custom metrics can use only // certain monitored resource types in their time series data. For more // information, see Monitored resources for custom metrics // (https://cloud.google.com/monitoring/custom-metrics/creating-metrics#custom-metric-resources). Resource *GoogleApiMonitoredResource `json:"resource,omitempty"` // Unit: The units in which the metric value is reported. It is only applicable // if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` // defines the representation of the stored metric values. This field can only // be changed through CreateTimeSeries when it is empty. Unit string `json:"unit,omitempty"` // ValueType: The value type of the time series. When listing time series, this // value type might be different from the value type of the associated metric // if this time series is an alignment or reduction of other time series. When // creating a time series, this field is optional. If present, it must be the // same as the type of the data in the `points` field. // // Possible values: // "VALUE_TYPE_UNSPECIFIED" - Do not use this default value. // "BOOL" - The value is a boolean. This value type can be used only if the // metric kind is `GAUGE`. // "INT64" - The value is a signed 64-bit integer. // "DOUBLE" - The value is a double precision floating point number. // "STRING" - The value is a text string. This value type can be used only if // the metric kind is `GAUGE`. // "DISTRIBUTION" - The value is a `Distribution`. // "MONEY" - The value is money. ValueType string `json:"valueType,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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleMonitoringV3TimeSeries: A collection of data points that describes the time-varying values of a metric. A time series is identified by a combination of a fully-specified monitored resource and a fully-specified metric. This type is used for both listing and creating time series.
func (GoogleMonitoringV3TimeSeries) MarshalJSON ¶ added in v0.204.0
func (s GoogleMonitoringV3TimeSeries) MarshalJSON() ([]byte, error)
type GoogleMonitoringV3TypedValue ¶ added in v0.204.0
type GoogleMonitoringV3TypedValue struct { // BoolValue: A Boolean value: `true` or `false`. BoolValue bool `json:"boolValue,omitempty"` // DistributionValue: A distribution value. DistributionValue *GoogleApiDistribution `json:"distributionValue,omitempty"` // DoubleValue: A 64-bit double-precision floating-point number. Its magnitude // is approximately ±10±300 and it has 16 significant digits of precision. DoubleValue float64 `json:"doubleValue,omitempty"` // Int64Value: A 64-bit integer. Its range is approximately ±9.2x1018. Int64Value int64 `json:"int64Value,omitempty,string"` // StringValue: A variable-length string value. StringValue string `json:"stringValue,omitempty"` // ForceSendFields is a list of field names (e.g. "BoolValue") to // unconditionally include in API requests. By default, fields with empty or // default values are omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "BoolValue") to include in API // requests with the JSON null value. By default, fields with empty values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleMonitoringV3TypedValue: A single strongly-typed value.
func (GoogleMonitoringV3TypedValue) MarshalJSON ¶ added in v0.204.0
func (s GoogleMonitoringV3TypedValue) MarshalJSON() ([]byte, error)
func (*GoogleMonitoringV3TypedValue) UnmarshalJSON ¶ added in v0.204.0
func (s *GoogleMonitoringV3TypedValue) UnmarshalJSON(data []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. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. 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. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. 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 GoogleTypeDate ¶
type GoogleTypeDate struct { // Day: Day of a month. Must be from 1 to 31 and valid for the year and month, // or 0 to specify a year by itself or a year and month where the day isn't // significant. Day int64 `json:"day,omitempty"` // Month: Month of a year. Must be from 1 to 12, or 0 to specify a year without // a month and day. Month int64 `json:"month,omitempty"` // Year: Year of the date. Must be from 1 to 9999, or 0 to specify a date // without a year. Year int64 `json:"year,omitempty"` // ForceSendFields is a list of field names (e.g. "Day") to unconditionally // include in API requests. By default, fields with empty or default values are // omitted from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more // details. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Day") to include in API requests // with the JSON null value. By default, fields with empty values are omitted // from API requests. See // https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details. NullFields []string `json:"-"` }
GoogleTypeDate: Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
func (GoogleTypeDate) MarshalJSON ¶
func (s GoogleTypeDate) MarshalJSON() ([]byte, error)
type ProjectsLocationsCollectionsDataConnectorOperationsGetCall ¶ added in v0.151.0
type ProjectsLocationsCollectionsDataConnectorOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataConnectorOperationsGetCall) Context ¶ added in v0.151.0
func (c *ProjectsLocationsCollectionsDataConnectorOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataConnectorOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataConnectorOperationsGetCall) Do ¶ added in v0.151.0
func (c *ProjectsLocationsCollectionsDataConnectorOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataConnector.operations.get" call. 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 (*ProjectsLocationsCollectionsDataConnectorOperationsGetCall) Fields ¶ added in v0.151.0
func (c *ProjectsLocationsCollectionsDataConnectorOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataConnectorOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataConnectorOperationsGetCall) Header ¶ added in v0.151.0
func (c *ProjectsLocationsCollectionsDataConnectorOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataConnectorOperationsGetCall) IfNoneMatch ¶ added in v0.151.0
func (c *ProjectsLocationsCollectionsDataConnectorOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataConnectorOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsDataConnectorOperationsListCall ¶ added in v0.151.0
type ProjectsLocationsCollectionsDataConnectorOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataConnectorOperationsListCall) Context ¶ added in v0.151.0
func (c *ProjectsLocationsCollectionsDataConnectorOperationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataConnectorOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataConnectorOperationsListCall) Do ¶ added in v0.151.0
func (c *ProjectsLocationsCollectionsDataConnectorOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataConnector.operations.list" call. 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 (*ProjectsLocationsCollectionsDataConnectorOperationsListCall) Fields ¶ added in v0.151.0
func (c *ProjectsLocationsCollectionsDataConnectorOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataConnectorOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataConnectorOperationsListCall) Filter ¶ added in v0.151.0
func (c *ProjectsLocationsCollectionsDataConnectorOperationsListCall) Filter(filter string) *ProjectsLocationsCollectionsDataConnectorOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsCollectionsDataConnectorOperationsListCall) Header ¶ added in v0.151.0
func (c *ProjectsLocationsCollectionsDataConnectorOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataConnectorOperationsListCall) IfNoneMatch ¶ added in v0.151.0
func (c *ProjectsLocationsCollectionsDataConnectorOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataConnectorOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsDataConnectorOperationsListCall) PageSize ¶ added in v0.151.0
func (c *ProjectsLocationsCollectionsDataConnectorOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataConnectorOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsCollectionsDataConnectorOperationsListCall) PageToken ¶ added in v0.151.0
func (c *ProjectsLocationsCollectionsDataConnectorOperationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataConnectorOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsCollectionsDataConnectorOperationsListCall) Pages ¶ added in v0.151.0
func (c *ProjectsLocationsCollectionsDataConnectorOperationsListCall) 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 ProjectsLocationsCollectionsDataConnectorOperationsService ¶ added in v0.151.0
type ProjectsLocationsCollectionsDataConnectorOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsDataConnectorOperationsService ¶ added in v0.151.0
func NewProjectsLocationsCollectionsDataConnectorOperationsService(s *Service) *ProjectsLocationsCollectionsDataConnectorOperationsService
func (*ProjectsLocationsCollectionsDataConnectorOperationsService) Get ¶ added in v0.151.0
func (r *ProjectsLocationsCollectionsDataConnectorOperationsService) Get(name string) *ProjectsLocationsCollectionsDataConnectorOperationsGetCall
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 (*ProjectsLocationsCollectionsDataConnectorOperationsService) List ¶ added in v0.151.0
func (r *ProjectsLocationsCollectionsDataConnectorOperationsService) List(name string) *ProjectsLocationsCollectionsDataConnectorOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsCollectionsDataConnectorService ¶ added in v0.151.0
type ProjectsLocationsCollectionsDataConnectorService struct { Operations *ProjectsLocationsCollectionsDataConnectorOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsCollectionsDataConnectorService ¶ added in v0.151.0
func NewProjectsLocationsCollectionsDataConnectorService(s *Service) *ProjectsLocationsCollectionsDataConnectorService
type ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall ¶ added in v0.193.0
type ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) Context ¶ added in v0.193.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) Do ¶ added in v0.193.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.branches.batchGetDocumentsMetadata" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponse.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 (*ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) Fields ¶ added in v0.193.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) Header ¶ added in v0.193.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) IfNoneMatch ¶ added in v0.193.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) MatcherFhirMatcherFhirResources ¶ added in v0.194.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) MatcherFhirMatcherFhirResources(matcherFhirMatcherFhirResources ...string) *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall
MatcherFhirMatcherFhirResources sets the optional parameter "matcher.fhirMatcher.fhirResources": Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_s tore}/fhir/{resource_type}/{fhir_resource_id}
func (*ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) MatcherUrisMatcherUris ¶ added in v0.193.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall) MatcherUrisMatcherUris(matcherUrisMatcherUris ...string) *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall
MatcherUrisMatcherUris sets the optional parameter "matcher.urisMatcher.uris": The exact URIs to match by.
type ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall) Context ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall) Do ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaDocument, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.branches.documents.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaDocument.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall) DocumentId ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall) DocumentId(documentId string) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall
DocumentId sets the optional parameter "documentId": Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to RFC-1034 (https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall) Fields ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall) Header ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall) Context ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall) Do ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.branches.documents.delete" call. 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 (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall) Fields ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall) Header ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall) Context ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall) Do ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaDocument, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.branches.documents.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaDocument.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall) Fields ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall) Header ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall) IfNoneMatch ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall) Context ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall) Do ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.branches.documents.import" call. 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 (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall) Fields ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall) Header ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) Context ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) Do ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListDocumentsResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.branches.documents.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListDocumentsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) Fields ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) Header ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) IfNoneMatch ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) PageSize ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall
PageSize sets the optional parameter "pageSize": Maximum number of Documents to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 are set to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) PageToken ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall
PageToken sets the optional parameter "pageToken": A page token ListDocumentsResponse.next_page_token, received from a previous DocumentService.ListDocuments call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to DocumentService.ListDocuments must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) Pages ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListDocumentsResponse) 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 ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall) AllowMissing ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall
AllowMissing sets the optional parameter "allowMissing": If set to `true` and the Document is not found, a new Document is be created.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall) Context ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall) Do ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaDocument, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.branches.documents.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaDocument.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall) Fields ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall) Header ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall) UpdateMask ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall
UpdateMask sets the optional parameter "updateMask": Indicates which fields in the provided imported 'document' to update. If not set, by default updates all fields.
type ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall ¶ added in v0.122.0
type ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall) Context ¶ added in v0.122.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall) Do ¶ added in v0.122.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.branches.documents.purge" call. 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 (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall) Fields ¶ added in v0.122.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall) Header ¶ added in v0.122.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresBranchesDocumentsService ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresBranchesDocumentsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsDataStoresBranchesDocumentsService ¶ added in v0.112.0
func NewProjectsLocationsCollectionsDataStoresBranchesDocumentsService(s *Service) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsService
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) Create ¶ added in v0.112.0
func (r *ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) Create(parent string, googleclouddiscoveryenginev1betadocument *GoogleCloudDiscoveryengineV1betaDocument) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsCreateCall
Create: Creates a Document.
- parent: The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/branches/{branch}`.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) Delete ¶ added in v0.112.0
func (r *ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) Delete(name string) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsDeleteCall
Delete: Deletes a Document.
- name: Full resource name of Document, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to delete the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the Document to delete does not exist, a `NOT_FOUND` error is returned.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) Get ¶ added in v0.112.0
func (r *ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) Get(name string) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsGetCall
Get: Gets a Document.
- name: Full resource name of Document, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to access the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested Document does not exist, a `NOT_FOUND` error is returned.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) Import ¶ added in v0.112.0
func (r *ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) Import(parent string, googleclouddiscoveryenginev1betaimportdocumentsrequest *GoogleCloudDiscoveryengineV1betaImportDocumentsRequest) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsImportCall
Import: Bulk import of multiple Documents. Request processing may be synchronous. Non-existing items are created. Note: It is possible for a subset of the Documents to be successfully updated.
- parent: The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/branches/{branch}`. Requires create/update permission.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) List ¶ added in v0.112.0
func (r *ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) List(parent string) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsListCall
List: Gets a list of Documents.
- parent: The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/branches/{branch}`. Use `default_branch` as the branch ID, to list documents under the default branch. If the caller does not have permission to list Documents under this branch, regardless of whether or not this branch exists, a `PERMISSION_DENIED` error is returned.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) Patch ¶ added in v0.112.0
func (r *ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) Patch(name string, googleclouddiscoveryenginev1betadocument *GoogleCloudDiscoveryengineV1betaDocument) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPatchCall
Patch: Updates a Document.
- name: Immutable. The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
func (*ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) Purge ¶ added in v0.122.0
func (r *ProjectsLocationsCollectionsDataStoresBranchesDocumentsService) Purge(parent string, googleclouddiscoveryenginev1betapurgedocumentsrequest *GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest) *ProjectsLocationsCollectionsDataStoresBranchesDocumentsPurgeCall
Purge: Permanently deletes all selected Documents in a branch. This process is asynchronous. Depending on the number of Documents to be deleted, this operation can take hours to complete. Before the delete operation completes, some Documents might still be returned by DocumentService.GetDocument or DocumentService.ListDocuments. To get a list of the Documents to be deleted, set PurgeDocumentsRequest.force to false.
- parent: The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/branches/{branch}`.
type ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall ¶ added in v0.181.0
type ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall) Context ¶ added in v0.181.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall) Do ¶ added in v0.181.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.branches.operations.cancel" call. 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 (*ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall) Fields ¶ added in v0.181.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall) Header ¶ added in v0.181.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall) Context ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall) Do ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.branches.operations.get" call. 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 (*ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall) Fields ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall) Header ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall) IfNoneMatch ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) Context ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) Do ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.branches.operations.list" call. 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 (*ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) Fields ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) Filter ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) Filter(filter string) *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) Header ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) IfNoneMatch ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) PageSize ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) PageToken ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) Pages ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall) 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 ProjectsLocationsCollectionsDataStoresBranchesOperationsService ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresBranchesOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsDataStoresBranchesOperationsService ¶ added in v0.112.0
func NewProjectsLocationsCollectionsDataStoresBranchesOperationsService(s *Service) *ProjectsLocationsCollectionsDataStoresBranchesOperationsService
func (*ProjectsLocationsCollectionsDataStoresBranchesOperationsService) Cancel ¶ added in v0.181.0
func (r *ProjectsLocationsCollectionsDataStoresBranchesOperationsService) Cancel(name string, googlelongrunningcanceloperationrequest *GoogleLongrunningCancelOperationRequest) *ProjectsLocationsCollectionsDataStoresBranchesOperationsCancelCall
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 (*ProjectsLocationsCollectionsDataStoresBranchesOperationsService) Get ¶ added in v0.112.0
func (r *ProjectsLocationsCollectionsDataStoresBranchesOperationsService) Get(name string) *ProjectsLocationsCollectionsDataStoresBranchesOperationsGetCall
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 (*ProjectsLocationsCollectionsDataStoresBranchesOperationsService) List ¶ added in v0.112.0
func (r *ProjectsLocationsCollectionsDataStoresBranchesOperationsService) List(name string) *ProjectsLocationsCollectionsDataStoresBranchesOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsCollectionsDataStoresBranchesService ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresBranchesService struct { Documents *ProjectsLocationsCollectionsDataStoresBranchesDocumentsService Operations *ProjectsLocationsCollectionsDataStoresBranchesOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsCollectionsDataStoresBranchesService ¶ added in v0.112.0
func NewProjectsLocationsCollectionsDataStoresBranchesService(s *Service) *ProjectsLocationsCollectionsDataStoresBranchesService
func (*ProjectsLocationsCollectionsDataStoresBranchesService) BatchGetDocumentsMetadata ¶ added in v0.193.0
func (r *ProjectsLocationsCollectionsDataStoresBranchesService) BatchGetDocumentsMetadata(parent string) *ProjectsLocationsCollectionsDataStoresBranchesBatchGetDocumentsMetadataCall
BatchGetDocumentsMetadata: Gets index freshness metadata for Documents. Supported for website search only.
- parent: The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/branches/{branch}`.
type ProjectsLocationsCollectionsDataStoresCompleteQueryCall ¶ added in v0.138.0
type ProjectsLocationsCollectionsDataStoresCompleteQueryCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresCompleteQueryCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresCompleteQueryCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresCompleteQueryCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresCompleteQueryCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresCompleteQueryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaCompleteQueryResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.completeQuery" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaCompleteQueryResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresCompleteQueryCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresCompleteQueryCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresCompleteQueryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresCompleteQueryCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresCompleteQueryCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresCompleteQueryCall) IfNoneMatch ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresCompleteQueryCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresCompleteQueryCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsDataStoresCompleteQueryCall) IncludeTailSuggestions ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresCompleteQueryCall) IncludeTailSuggestions(includeTailSuggestions bool) *ProjectsLocationsCollectionsDataStoresCompleteQueryCall
IncludeTailSuggestions sets the optional parameter "includeTailSuggestions": Indicates if tail suggestions should be returned if there are no suggestions that match the full query. Even if set to true, if there are suggestions that match the full query, those are returned and no tail suggestions are returned.
func (*ProjectsLocationsCollectionsDataStoresCompleteQueryCall) Query ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresCompleteQueryCall) Query(query string) *ProjectsLocationsCollectionsDataStoresCompleteQueryCall
Query sets the optional parameter "query": Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters.
func (*ProjectsLocationsCollectionsDataStoresCompleteQueryCall) QueryModel ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresCompleteQueryCall) QueryModel(queryModel string) *ProjectsLocationsCollectionsDataStoresCompleteQueryCall
QueryModel sets the optional parameter "queryModel": Specifies the autocomplete data model. This overrides any model specified in the Configuration > Autocomplete section of the Cloud console. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores.
func (*ProjectsLocationsCollectionsDataStoresCompleteQueryCall) UserPseudoId ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresCompleteQueryCall) UserPseudoId(userPseudoId string) *ProjectsLocationsCollectionsDataStoresCompleteQueryCall
UserPseudoId sets the optional parameter "userPseudoId": A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
type ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQueryCall ¶ added in v0.204.0
type ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQueryCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQueryCall) Context ¶ added in v0.204.0
func (c *ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQueryCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQueryCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQueryCall) Do ¶ added in v0.204.0
func (c *ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQueryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.completionConfig.completeQuery" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse.ServerResponse .Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQueryCall) Fields ¶ added in v0.204.0
func (c *ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQueryCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQueryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQueryCall) Header ¶ added in v0.204.0
func (c *ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQueryCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresCompletionConfigService ¶ added in v0.204.0
type ProjectsLocationsCollectionsDataStoresCompletionConfigService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsDataStoresCompletionConfigService ¶ added in v0.204.0
func NewProjectsLocationsCollectionsDataStoresCompletionConfigService(s *Service) *ProjectsLocationsCollectionsDataStoresCompletionConfigService
func (*ProjectsLocationsCollectionsDataStoresCompletionConfigService) CompleteQuery ¶ added in v0.204.0
func (r *ProjectsLocationsCollectionsDataStoresCompletionConfigService) CompleteQuery(completionConfig string, googleclouddiscoveryenginev1betaadvancedcompletequeryrequest *GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest) *ProjectsLocationsCollectionsDataStoresCompletionConfigCompleteQueryCall
CompleteQuery: Completes the user input with advanced keyword suggestions.
- completionConfig: The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/*/co mpletionConfig` `projects/*/locations/global/collections/default_collection/engines/*/compl etionConfig`.
type ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall ¶ added in v0.186.0
type ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall) Context ¶ added in v0.186.0
func (c *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall) Do ¶ added in v0.186.0
func (c *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.completionSuggestions.import" call. 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 (*ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall) Fields ¶ added in v0.186.0
func (c *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall) Header ¶ added in v0.186.0
func (c *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall ¶ added in v0.186.0
type ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall) Context ¶ added in v0.186.0
func (c *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall) Do ¶ added in v0.186.0
func (c *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.completionSuggestions.purge" call. 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 (*ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall) Fields ¶ added in v0.186.0
func (c *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall) Header ¶ added in v0.186.0
func (c *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresCompletionSuggestionsService ¶ added in v0.186.0
type ProjectsLocationsCollectionsDataStoresCompletionSuggestionsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsDataStoresCompletionSuggestionsService ¶ added in v0.186.0
func NewProjectsLocationsCollectionsDataStoresCompletionSuggestionsService(s *Service) *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsService
func (*ProjectsLocationsCollectionsDataStoresCompletionSuggestionsService) Import ¶ added in v0.186.0
func (r *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsService) Import(parent string, googleclouddiscoveryenginev1betaimportcompletionsuggestionsrequest *GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequest) *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsImportCall
Import: Imports CompletionSuggestions for a DataStore.
- parent: The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern `projects/*/locations/*/collections/*/dataStores/*`.
func (*ProjectsLocationsCollectionsDataStoresCompletionSuggestionsService) Purge ¶ added in v0.186.0
func (r *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsService) Purge(parent string, googleclouddiscoveryenginev1betapurgecompletionsuggestionsrequest *GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest) *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsPurgeCall
Purge: Permanently deletes all CompletionSuggestions for a DataStore.
- parent: The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
type ProjectsLocationsCollectionsDataStoresControlsCreateCall ¶ added in v0.183.0
type ProjectsLocationsCollectionsDataStoresControlsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresControlsCreateCall) Context ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresControlsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresControlsCreateCall) ControlId ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsCreateCall) ControlId(controlId string) *ProjectsLocationsCollectionsDataStoresControlsCreateCall
ControlId sets the optional parameter "controlId": Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value must be within 1-63 characters. Valid characters are /a-z-_/.
func (*ProjectsLocationsCollectionsDataStoresControlsCreateCall) Do ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaControl, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.controls.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaControl.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresControlsCreateCall) Fields ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresControlsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresControlsCreateCall) Header ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresControlsDeleteCall ¶ added in v0.183.0
type ProjectsLocationsCollectionsDataStoresControlsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresControlsDeleteCall) Context ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresControlsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresControlsDeleteCall) Do ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.controls.delete" call. 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 (*ProjectsLocationsCollectionsDataStoresControlsDeleteCall) Fields ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresControlsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresControlsDeleteCall) Header ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresControlsGetCall ¶ added in v0.183.0
type ProjectsLocationsCollectionsDataStoresControlsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresControlsGetCall) Context ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresControlsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresControlsGetCall) Do ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaControl, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.controls.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaControl.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresControlsGetCall) Fields ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresControlsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresControlsGetCall) Header ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresControlsGetCall) IfNoneMatch ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresControlsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsDataStoresControlsListCall ¶ added in v0.183.0
type ProjectsLocationsCollectionsDataStoresControlsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresControlsListCall) Context ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresControlsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresControlsListCall) Do ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListControlsResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.controls.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListControlsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresControlsListCall) Fields ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresControlsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresControlsListCall) Filter ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsListCall) Filter(filter string) *ProjectsLocationsCollectionsDataStoresControlsListCall
Filter sets the optional parameter "filter": A filter to apply on the list results. Supported features: * List all the products under the parent branch if filter is unset. Currently this field is unsupported.
func (*ProjectsLocationsCollectionsDataStoresControlsListCall) Header ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresControlsListCall) IfNoneMatch ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresControlsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsDataStoresControlsListCall) PageSize ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresControlsListCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.
func (*ProjectsLocationsCollectionsDataStoresControlsListCall) PageToken ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresControlsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page.
func (*ProjectsLocationsCollectionsDataStoresControlsListCall) Pages ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListControlsResponse) 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 ProjectsLocationsCollectionsDataStoresControlsPatchCall ¶ added in v0.183.0
type ProjectsLocationsCollectionsDataStoresControlsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresControlsPatchCall) Context ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresControlsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresControlsPatchCall) Do ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaControl, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.controls.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaControl.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresControlsPatchCall) Fields ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresControlsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresControlsPatchCall) Header ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresControlsPatchCall) UpdateMask ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresControlsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsDataStoresControlsPatchCall
UpdateMask sets the optional parameter "updateMask": Indicates which fields in the provided Control to update. The following are NOT supported: * Control.name * Control.solution_type If not set or empty, all supported fields are updated.
type ProjectsLocationsCollectionsDataStoresControlsService ¶ added in v0.183.0
type ProjectsLocationsCollectionsDataStoresControlsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsDataStoresControlsService ¶ added in v0.183.0
func NewProjectsLocationsCollectionsDataStoresControlsService(s *Service) *ProjectsLocationsCollectionsDataStoresControlsService
func (*ProjectsLocationsCollectionsDataStoresControlsService) Create ¶ added in v0.183.0
func (r *ProjectsLocationsCollectionsDataStoresControlsService) Create(parent string, googleclouddiscoveryenginev1betacontrol *GoogleCloudDiscoveryengineV1betaControl) *ProjectsLocationsCollectionsDataStoresControlsCreateCall
Create: Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned.
- parent: Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataSt ores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engine s/{engine_id}`.
func (*ProjectsLocationsCollectionsDataStoresControlsService) Delete ¶ added in v0.183.0
func (r *ProjectsLocationsCollectionsDataStoresControlsService) Delete(name string) *ProjectsLocationsCollectionsDataStoresControlsDeleteCall
Delete: Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned.
- name: The resource name of the Control to delete. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataSt ores/{data_store_id}/controls/{control_id}`.
func (*ProjectsLocationsCollectionsDataStoresControlsService) Get ¶ added in v0.183.0
func (r *ProjectsLocationsCollectionsDataStoresControlsService) Get(name string) *ProjectsLocationsCollectionsDataStoresControlsGetCall
Get: Gets a Control.
- name: The resource name of the Control to get. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataSt ores/{data_store_id}/controls/{control_id}`.
func (*ProjectsLocationsCollectionsDataStoresControlsService) List ¶ added in v0.183.0
func (r *ProjectsLocationsCollectionsDataStoresControlsService) List(parent string) *ProjectsLocationsCollectionsDataStoresControlsListCall
List: Lists all Controls by their parent DataStore.
- parent: The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataSt ores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engine s/{engine_id}`.
func (*ProjectsLocationsCollectionsDataStoresControlsService) Patch ¶ added in v0.183.0
func (r *ProjectsLocationsCollectionsDataStoresControlsService) Patch(name string, googleclouddiscoveryenginev1betacontrol *GoogleCloudDiscoveryengineV1betaControl) *ProjectsLocationsCollectionsDataStoresControlsPatchCall
Patch: Updates a Control. Control action type cannot be changed. If the Control to update does not exist, a NOT_FOUND error is returned.
- name: Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`.
type ProjectsLocationsCollectionsDataStoresConversationsConverseCall ¶ added in v0.138.0
type ProjectsLocationsCollectionsDataStoresConversationsConverseCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresConversationsConverseCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsConverseCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresConversationsConverseCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresConversationsConverseCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsConverseCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConverseConversationResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.conversations.converse" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaConverseConversationResponse.ServerResponse. Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresConversationsConverseCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsConverseCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresConversationsConverseCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresConversationsConverseCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsConverseCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresConversationsCreateCall ¶ added in v0.138.0
type ProjectsLocationsCollectionsDataStoresConversationsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresConversationsCreateCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresConversationsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresConversationsCreateCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConversation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.conversations.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaConversation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresConversationsCreateCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresConversationsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresConversationsCreateCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresConversationsDeleteCall ¶ added in v0.138.0
type ProjectsLocationsCollectionsDataStoresConversationsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresConversationsDeleteCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresConversationsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresConversationsDeleteCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.conversations.delete" call. 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 (*ProjectsLocationsCollectionsDataStoresConversationsDeleteCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresConversationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresConversationsDeleteCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresConversationsGetCall ¶ added in v0.138.0
type ProjectsLocationsCollectionsDataStoresConversationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresConversationsGetCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresConversationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresConversationsGetCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConversation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.conversations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaConversation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresConversationsGetCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresConversationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresConversationsGetCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresConversationsGetCall) IfNoneMatch ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresConversationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsDataStoresConversationsListCall ¶ added in v0.138.0
type ProjectsLocationsCollectionsDataStoresConversationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresConversationsListCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresConversationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresConversationsListCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListConversationsResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.conversations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListConversationsResponse.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 (*ProjectsLocationsCollectionsDataStoresConversationsListCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresConversationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresConversationsListCall) Filter ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsListCall) Filter(filter string) *ProjectsLocationsCollectionsDataStoresConversationsListCall
Filter sets the optional parameter "filter": A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example: "user_pseudo_id = some_id"
func (*ProjectsLocationsCollectionsDataStoresConversationsListCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresConversationsListCall) IfNoneMatch ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresConversationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsDataStoresConversationsListCall) OrderBy ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsListCall) OrderBy(orderBy string) *ProjectsLocationsCollectionsDataStoresConversationsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `conversation_name` Example: "update_time desc" "create_time"
func (*ProjectsLocationsCollectionsDataStoresConversationsListCall) PageSize ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresConversationsListCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.
func (*ProjectsLocationsCollectionsDataStoresConversationsListCall) PageToken ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresConversationsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page.
func (*ProjectsLocationsCollectionsDataStoresConversationsListCall) Pages ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListConversationsResponse) 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 ProjectsLocationsCollectionsDataStoresConversationsPatchCall ¶ added in v0.138.0
type ProjectsLocationsCollectionsDataStoresConversationsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresConversationsPatchCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresConversationsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresConversationsPatchCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConversation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.conversations.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaConversation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresConversationsPatchCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresConversationsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresConversationsPatchCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresConversationsPatchCall) UpdateMask ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresConversationsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsDataStoresConversationsPatchCall
UpdateMask sets the optional parameter "updateMask": Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated.
type ProjectsLocationsCollectionsDataStoresConversationsService ¶ added in v0.138.0
type ProjectsLocationsCollectionsDataStoresConversationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsDataStoresConversationsService ¶ added in v0.138.0
func NewProjectsLocationsCollectionsDataStoresConversationsService(s *Service) *ProjectsLocationsCollectionsDataStoresConversationsService
func (*ProjectsLocationsCollectionsDataStoresConversationsService) Converse ¶ added in v0.138.0
func (r *ProjectsLocationsCollectionsDataStoresConversationsService) Converse(name string, googleclouddiscoveryenginev1betaconverseconversationrequest *GoogleCloudDiscoveryengineV1betaConverseConversationRequest) *ProjectsLocationsCollectionsDataStoresConversationsConverseCall
Converse: Converses a conversation.
- name: The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session.
func (*ProjectsLocationsCollectionsDataStoresConversationsService) Create ¶ added in v0.138.0
func (r *ProjectsLocationsCollectionsDataStoresConversationsService) Create(parent string, googleclouddiscoveryenginev1betaconversation *GoogleCloudDiscoveryengineV1betaConversation) *ProjectsLocationsCollectionsDataStoresConversationsCreateCall
Create: Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned.
- parent: Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}`.
func (*ProjectsLocationsCollectionsDataStoresConversationsService) Delete ¶ added in v0.138.0
func (r *ProjectsLocationsCollectionsDataStoresConversationsService) Delete(name string) *ProjectsLocationsCollectionsDataStoresConversationsDeleteCall
Delete: Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned.
- name: The resource name of the Conversation to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}/conversations/{conversation_id}`.
func (*ProjectsLocationsCollectionsDataStoresConversationsService) Get ¶ added in v0.138.0
func (r *ProjectsLocationsCollectionsDataStoresConversationsService) Get(name string) *ProjectsLocationsCollectionsDataStoresConversationsGetCall
Get: Gets a Conversation.
- name: The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}/conversations/{conversation_id}`.
func (*ProjectsLocationsCollectionsDataStoresConversationsService) List ¶ added in v0.138.0
func (r *ProjectsLocationsCollectionsDataStoresConversationsService) List(parent string) *ProjectsLocationsCollectionsDataStoresConversationsListCall
List: Lists all Conversations by their parent DataStore.
- parent: The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}`.
func (*ProjectsLocationsCollectionsDataStoresConversationsService) Patch ¶ added in v0.138.0
func (r *ProjectsLocationsCollectionsDataStoresConversationsService) Patch(name string, googleclouddiscoveryenginev1betaconversation *GoogleCloudDiscoveryengineV1betaConversation) *ProjectsLocationsCollectionsDataStoresConversationsPatchCall
Patch: Updates a Conversation. Conversation action type cannot be changed. If the Conversation to update does not exist, a NOT_FOUND error is returned.
- name: Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*/c onversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*/con versations/*`.
type ProjectsLocationsCollectionsDataStoresCreateCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsDataStoresCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresCreateCall) CmekConfigName ¶ added in v0.202.0
func (c *ProjectsLocationsCollectionsDataStoresCreateCall) CmekConfigName(cmekConfigName string) *ProjectsLocationsCollectionsDataStoresCreateCall
CmekConfigName sets the optional parameter "cmekConfigName": Resource name of the CmekConfig to use for protecting this DataStore.
func (*ProjectsLocationsCollectionsDataStoresCreateCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresCreateCall) CreateAdvancedSiteSearch ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresCreateCall) CreateAdvancedSiteSearch(createAdvancedSiteSearch bool) *ProjectsLocationsCollectionsDataStoresCreateCall
CreateAdvancedSiteSearch sets the optional parameter "createAdvancedSiteSearch": A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored.
func (*ProjectsLocationsCollectionsDataStoresCreateCall) DataStoreId ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresCreateCall) DataStoreId(dataStoreId string) *ProjectsLocationsCollectionsDataStoresCreateCall
DataStoreId sets the optional parameter "dataStoreId": Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to RFC-1034 (https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
func (*ProjectsLocationsCollectionsDataStoresCreateCall) DisableCmek ¶ added in v0.202.0
func (c *ProjectsLocationsCollectionsDataStoresCreateCall) DisableCmek(disableCmek bool) *ProjectsLocationsCollectionsDataStoresCreateCall
DisableCmek sets the optional parameter "disableCmek": DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.
func (*ProjectsLocationsCollectionsDataStoresCreateCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.create" call. 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 (*ProjectsLocationsCollectionsDataStoresCreateCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresCreateCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresCreateCall) SkipDefaultSchemaCreation ¶ added in v0.190.0
func (c *ProjectsLocationsCollectionsDataStoresCreateCall) SkipDefaultSchemaCreation(skipDefaultSchemaCreation bool) *ProjectsLocationsCollectionsDataStoresCreateCall
SkipDefaultSchemaCreation sets the optional parameter "skipDefaultSchemaCreation": A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if `data_store.starting_schema` is specified.
type ProjectsLocationsCollectionsDataStoresCustomModelsListCall ¶ added in v0.178.0
type ProjectsLocationsCollectionsDataStoresCustomModelsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresCustomModelsListCall) Context ¶ added in v0.178.0
func (c *ProjectsLocationsCollectionsDataStoresCustomModelsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresCustomModelsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresCustomModelsListCall) Do ¶ added in v0.178.0
func (c *ProjectsLocationsCollectionsDataStoresCustomModelsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListCustomModelsResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.customModels.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListCustomModelsResponse.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 (*ProjectsLocationsCollectionsDataStoresCustomModelsListCall) Fields ¶ added in v0.178.0
func (c *ProjectsLocationsCollectionsDataStoresCustomModelsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresCustomModelsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresCustomModelsListCall) Header ¶ added in v0.178.0
func (c *ProjectsLocationsCollectionsDataStoresCustomModelsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresCustomModelsListCall) IfNoneMatch ¶ added in v0.178.0
func (c *ProjectsLocationsCollectionsDataStoresCustomModelsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresCustomModelsListCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsDataStoresCustomModelsService ¶ added in v0.178.0
type ProjectsLocationsCollectionsDataStoresCustomModelsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsDataStoresCustomModelsService ¶ added in v0.178.0
func NewProjectsLocationsCollectionsDataStoresCustomModelsService(s *Service) *ProjectsLocationsCollectionsDataStoresCustomModelsService
func (*ProjectsLocationsCollectionsDataStoresCustomModelsService) List ¶ added in v0.178.0
func (r *ProjectsLocationsCollectionsDataStoresCustomModelsService) List(dataStore string) *ProjectsLocationsCollectionsDataStoresCustomModelsListCall
List: Gets a list of all the custom models.
- dataStore: The resource name of the parent Data Store, such as `projects/*/locations/global/collections/default_collection/dataStores/defa ult_data_store`. This field is used to identify the data store where to fetch the models from.
type ProjectsLocationsCollectionsDataStoresDeleteCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsDataStoresDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresDeleteCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresDeleteCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.delete" call. 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 (*ProjectsLocationsCollectionsDataStoresDeleteCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresDeleteCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresGetCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsDataStoresGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresGetCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresGetCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaDataStore, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaDataStore.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresGetCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresGetCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresGetCall) IfNoneMatch ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSiteSearchEngine, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.getSiteSearchEngine" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSiteSearchEngine.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall) IfNoneMatch ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsDataStoresListCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsDataStoresListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresListCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresListCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListDataStoresResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListDataStoresResponse.ServerResponse.Header
or (if a response was returned at all) in error.(*googleapi.Error).Header.
Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresListCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresListCall) Filter ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresListCall) Filter(filter string) *ProjectsLocationsCollectionsDataStoresListCall
Filter sets the optional parameter "filter": Filter by solution type . For example: `filter = 'solution_type:SOLUTION_TYPE_SEARCH'`
func (*ProjectsLocationsCollectionsDataStoresListCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresListCall) IfNoneMatch ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsDataStoresListCall) PageSize ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresListCall
PageSize sets the optional parameter "pageSize": Maximum number of DataStores to return. If unspecified, defaults to 10. The maximum allowed value is 50. Values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT is returned.
func (*ProjectsLocationsCollectionsDataStoresListCall) PageToken ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresListCall
PageToken sets the optional parameter "pageToken": A page token ListDataStoresResponse.next_page_token, received from a previous DataStoreService.ListDataStores call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to DataStoreService.ListDataStores must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.
func (*ProjectsLocationsCollectionsDataStoresListCall) Pages ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListDataStoresResponse) 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 ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall) Context ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall) Do ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.models.operations.get" call. 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 (*ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall) Fields ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall) Header ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall) IfNoneMatch ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsDataStoresModelsOperationsListCall ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresModelsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) Context ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) Do ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.models.operations.list" call. 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 (*ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) Fields ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) Filter ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) Filter(filter string) *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) Header ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) IfNoneMatch ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) PageSize ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) PageToken ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) Pages ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall) 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 ProjectsLocationsCollectionsDataStoresModelsOperationsService ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresModelsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsDataStoresModelsOperationsService ¶ added in v0.112.0
func NewProjectsLocationsCollectionsDataStoresModelsOperationsService(s *Service) *ProjectsLocationsCollectionsDataStoresModelsOperationsService
func (*ProjectsLocationsCollectionsDataStoresModelsOperationsService) Get ¶ added in v0.112.0
func (r *ProjectsLocationsCollectionsDataStoresModelsOperationsService) Get(name string) *ProjectsLocationsCollectionsDataStoresModelsOperationsGetCall
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 (*ProjectsLocationsCollectionsDataStoresModelsOperationsService) List ¶ added in v0.112.0
func (r *ProjectsLocationsCollectionsDataStoresModelsOperationsService) List(name string) *ProjectsLocationsCollectionsDataStoresModelsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsCollectionsDataStoresModelsService ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresModelsService struct { Operations *ProjectsLocationsCollectionsDataStoresModelsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsCollectionsDataStoresModelsService ¶ added in v0.112.0
func NewProjectsLocationsCollectionsDataStoresModelsService(s *Service) *ProjectsLocationsCollectionsDataStoresModelsService
type ProjectsLocationsCollectionsDataStoresOperationsGetCall ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresOperationsGetCall) Context ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresOperationsGetCall) Do ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.operations.get" call. 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 (*ProjectsLocationsCollectionsDataStoresOperationsGetCall) Fields ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresOperationsGetCall) Header ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresOperationsGetCall) IfNoneMatch ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsDataStoresOperationsListCall ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresOperationsListCall) Context ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresOperationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresOperationsListCall) Do ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.operations.list" call. 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 (*ProjectsLocationsCollectionsDataStoresOperationsListCall) Fields ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresOperationsListCall) Filter ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresOperationsListCall) Filter(filter string) *ProjectsLocationsCollectionsDataStoresOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsCollectionsDataStoresOperationsListCall) Header ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresOperationsListCall) IfNoneMatch ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsDataStoresOperationsListCall) PageSize ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsCollectionsDataStoresOperationsListCall) PageToken ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresOperationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsCollectionsDataStoresOperationsListCall) Pages ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresOperationsListCall) 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 ProjectsLocationsCollectionsDataStoresOperationsService ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsDataStoresOperationsService ¶ added in v0.112.0
func NewProjectsLocationsCollectionsDataStoresOperationsService(s *Service) *ProjectsLocationsCollectionsDataStoresOperationsService
func (*ProjectsLocationsCollectionsDataStoresOperationsService) Get ¶ added in v0.112.0
func (r *ProjectsLocationsCollectionsDataStoresOperationsService) Get(name string) *ProjectsLocationsCollectionsDataStoresOperationsGetCall
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 (*ProjectsLocationsCollectionsDataStoresOperationsService) List ¶ added in v0.112.0
func (r *ProjectsLocationsCollectionsDataStoresOperationsService) List(name string) *ProjectsLocationsCollectionsDataStoresOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsCollectionsDataStoresPatchCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsDataStoresPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresPatchCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresPatchCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaDataStore, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaDataStore.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresPatchCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresPatchCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresPatchCall) UpdateMask ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsDataStoresPatchCall
UpdateMask sets the optional parameter "updateMask": Indicates which fields in the provided DataStore to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
type ProjectsLocationsCollectionsDataStoresSchemasCreateCall ¶ added in v0.138.0
type ProjectsLocationsCollectionsDataStoresSchemasCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSchemasCreateCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSchemasCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSchemasCreateCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.schemas.create" call. 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 (*ProjectsLocationsCollectionsDataStoresSchemasCreateCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSchemasCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSchemasCreateCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresSchemasCreateCall) SchemaId ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasCreateCall) SchemaId(schemaId string) *ProjectsLocationsCollectionsDataStoresSchemasCreateCall
SchemaId sets the optional parameter "schemaId": Required. The ID to use for the Schema, which becomes the final component of the Schema.name. This field should conform to RFC-1034 (https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.
type ProjectsLocationsCollectionsDataStoresSchemasDeleteCall ¶ added in v0.138.0
type ProjectsLocationsCollectionsDataStoresSchemasDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSchemasDeleteCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSchemasDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSchemasDeleteCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.schemas.delete" call. 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 (*ProjectsLocationsCollectionsDataStoresSchemasDeleteCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSchemasDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSchemasDeleteCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresSchemasGetCall ¶ added in v0.138.0
type ProjectsLocationsCollectionsDataStoresSchemasGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSchemasGetCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSchemasGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSchemasGetCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSchema, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.schemas.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSchema.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresSchemasGetCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSchemasGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSchemasGetCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresSchemasGetCall) IfNoneMatch ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSchemasGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsDataStoresSchemasListCall ¶ added in v0.138.0
type ProjectsLocationsCollectionsDataStoresSchemasListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSchemasListCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSchemasListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSchemasListCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListSchemasResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.schemas.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListSchemasResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresSchemasListCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSchemasListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSchemasListCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresSchemasListCall) IfNoneMatch ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSchemasListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsDataStoresSchemasListCall) PageSize ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresSchemasListCall
PageSize sets the optional parameter "pageSize": The maximum number of Schemas to return. The service may return fewer than this value. If unspecified, at most 100 Schemas are returned. The maximum value is 1000; values above 1000 are set to 1000.
func (*ProjectsLocationsCollectionsDataStoresSchemasListCall) PageToken ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresSchemasListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous SchemaService.ListSchemas call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SchemaService.ListSchemas must match the call that provided the page token.
func (*ProjectsLocationsCollectionsDataStoresSchemasListCall) Pages ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListSchemasResponse) 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 ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall ¶ added in v0.125.0
type ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall) Context ¶ added in v0.125.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall) Do ¶ added in v0.125.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.schemas.operations.get" call. 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 (*ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall) Fields ¶ added in v0.125.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall) Header ¶ added in v0.125.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall) IfNoneMatch ¶ added in v0.125.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall ¶ added in v0.125.0
type ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) Context ¶ added in v0.125.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) Do ¶ added in v0.125.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.schemas.operations.list" call. 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 (*ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) Fields ¶ added in v0.125.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) Filter ¶ added in v0.125.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) Filter(filter string) *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) Header ¶ added in v0.125.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) IfNoneMatch ¶ added in v0.125.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) PageSize ¶ added in v0.125.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) PageToken ¶ added in v0.125.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) Pages ¶ added in v0.125.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall) 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 ProjectsLocationsCollectionsDataStoresSchemasOperationsService ¶ added in v0.125.0
type ProjectsLocationsCollectionsDataStoresSchemasOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsDataStoresSchemasOperationsService ¶ added in v0.125.0
func NewProjectsLocationsCollectionsDataStoresSchemasOperationsService(s *Service) *ProjectsLocationsCollectionsDataStoresSchemasOperationsService
func (*ProjectsLocationsCollectionsDataStoresSchemasOperationsService) Get ¶ added in v0.125.0
func (r *ProjectsLocationsCollectionsDataStoresSchemasOperationsService) Get(name string) *ProjectsLocationsCollectionsDataStoresSchemasOperationsGetCall
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 (*ProjectsLocationsCollectionsDataStoresSchemasOperationsService) List ¶ added in v0.125.0
func (r *ProjectsLocationsCollectionsDataStoresSchemasOperationsService) List(name string) *ProjectsLocationsCollectionsDataStoresSchemasOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsCollectionsDataStoresSchemasPatchCall ¶ added in v0.138.0
type ProjectsLocationsCollectionsDataStoresSchemasPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSchemasPatchCall) AllowMissing ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsCollectionsDataStoresSchemasPatchCall
AllowMissing sets the optional parameter "allowMissing": If set to true, and the Schema is not found, a new Schema is created. In this situation, `update_mask` is ignored.
func (*ProjectsLocationsCollectionsDataStoresSchemasPatchCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSchemasPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSchemasPatchCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.schemas.patch" call. 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 (*ProjectsLocationsCollectionsDataStoresSchemasPatchCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSchemasPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSchemasPatchCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresSchemasPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresSchemasService ¶ added in v0.125.0
type ProjectsLocationsCollectionsDataStoresSchemasService struct { Operations *ProjectsLocationsCollectionsDataStoresSchemasOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsCollectionsDataStoresSchemasService ¶ added in v0.125.0
func NewProjectsLocationsCollectionsDataStoresSchemasService(s *Service) *ProjectsLocationsCollectionsDataStoresSchemasService
func (*ProjectsLocationsCollectionsDataStoresSchemasService) Create ¶ added in v0.138.0
func (r *ProjectsLocationsCollectionsDataStoresSchemasService) Create(parent string, googleclouddiscoveryenginev1betaschema *GoogleCloudDiscoveryengineV1betaSchema) *ProjectsLocationsCollectionsDataStoresSchemasCreateCall
Create: Creates a Schema.
- parent: The parent data store resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}`.
func (*ProjectsLocationsCollectionsDataStoresSchemasService) Delete ¶ added in v0.138.0
func (r *ProjectsLocationsCollectionsDataStoresSchemasService) Delete(name string) *ProjectsLocationsCollectionsDataStoresSchemasDeleteCall
Delete: Deletes a Schema.
- name: The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/schemas/{schema}`.
func (*ProjectsLocationsCollectionsDataStoresSchemasService) Get ¶ added in v0.138.0
func (r *ProjectsLocationsCollectionsDataStoresSchemasService) Get(name string) *ProjectsLocationsCollectionsDataStoresSchemasGetCall
Get: Gets a Schema.
- name: The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/schemas/{schema}`.
func (*ProjectsLocationsCollectionsDataStoresSchemasService) List ¶ added in v0.138.0
func (r *ProjectsLocationsCollectionsDataStoresSchemasService) List(parent string) *ProjectsLocationsCollectionsDataStoresSchemasListCall
List: Gets a list of Schemas.
- parent: The parent data store resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}`.
func (*ProjectsLocationsCollectionsDataStoresSchemasService) Patch ¶ added in v0.138.0
func (r *ProjectsLocationsCollectionsDataStoresSchemasService) Patch(name string, googleclouddiscoveryenginev1betaschema *GoogleCloudDiscoveryengineV1betaSchema) *ProjectsLocationsCollectionsDataStoresSchemasPatchCall
Patch: Updates a Schema.
- name: Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
type ProjectsLocationsCollectionsDataStoresService ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresService struct { Branches *ProjectsLocationsCollectionsDataStoresBranchesService CompletionConfig *ProjectsLocationsCollectionsDataStoresCompletionConfigService CompletionSuggestions *ProjectsLocationsCollectionsDataStoresCompletionSuggestionsService Controls *ProjectsLocationsCollectionsDataStoresControlsService Conversations *ProjectsLocationsCollectionsDataStoresConversationsService CustomModels *ProjectsLocationsCollectionsDataStoresCustomModelsService Models *ProjectsLocationsCollectionsDataStoresModelsService Operations *ProjectsLocationsCollectionsDataStoresOperationsService Schemas *ProjectsLocationsCollectionsDataStoresSchemasService ServingConfigs *ProjectsLocationsCollectionsDataStoresServingConfigsService Sessions *ProjectsLocationsCollectionsDataStoresSessionsService SiteSearchEngine *ProjectsLocationsCollectionsDataStoresSiteSearchEngineService SuggestionDenyListEntries *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesService UserEvents *ProjectsLocationsCollectionsDataStoresUserEventsService // contains filtered or unexported fields }
func NewProjectsLocationsCollectionsDataStoresService ¶ added in v0.112.0
func NewProjectsLocationsCollectionsDataStoresService(s *Service) *ProjectsLocationsCollectionsDataStoresService
func (*ProjectsLocationsCollectionsDataStoresService) CompleteQuery ¶ added in v0.138.0
func (r *ProjectsLocationsCollectionsDataStoresService) CompleteQuery(dataStore string) *ProjectsLocationsCollectionsDataStoresCompleteQueryCall
CompleteQuery: Completes the specified user input with keyword suggestions.
- dataStore: The parent data store resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/defa ult_data_store`.
func (*ProjectsLocationsCollectionsDataStoresService) Create ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsDataStoresService) Create(parent string, googleclouddiscoveryenginev1betadatastore *GoogleCloudDiscoveryengineV1betaDataStore) *ProjectsLocationsCollectionsDataStoresCreateCall
Create: Creates a DataStore. DataStore is for storing Documents. To serve these documents for Search, or Recommendation use case, an Engine needs to be created separately.
- parent: The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`.
func (*ProjectsLocationsCollectionsDataStoresService) Delete ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsDataStoresService) Delete(name string) *ProjectsLocationsCollectionsDataStoresDeleteCall
Delete: Deletes a DataStore.
- name: Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataSt ores/{data_store_id}`. If the caller does not have permission to delete the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the DataStore to delete does not exist, a NOT_FOUND error is returned.
func (*ProjectsLocationsCollectionsDataStoresService) Get ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsDataStoresService) Get(name string) *ProjectsLocationsCollectionsDataStoresGetCall
Get: Gets a DataStore.
- name: Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataSt ores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned.
func (*ProjectsLocationsCollectionsDataStoresService) GetSiteSearchEngine ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsDataStoresService) GetSiteSearchEngine(name string) *ProjectsLocationsCollectionsDataStoresGetSiteSearchEngineCall
GetSiteSearchEngine: Gets the SiteSearchEngine.
- name: Resource name of SiteSearchEngine, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/siteSearchEngine`. If the caller does not have permission to access the [SiteSearchEngine], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
func (*ProjectsLocationsCollectionsDataStoresService) List ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsDataStoresService) List(parent string) *ProjectsLocationsCollectionsDataStoresListCall
List: Lists all the DataStores associated with the project.
- parent: The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}`. If the caller does not have permission to list DataStores under this location, regardless of whether or not this data store exists, a PERMISSION_DENIED error is returned.
func (*ProjectsLocationsCollectionsDataStoresService) Patch ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsDataStoresService) Patch(name string, googleclouddiscoveryenginev1betadatastore *GoogleCloudDiscoveryengineV1betaDataStore) *ProjectsLocationsCollectionsDataStoresPatchCall
Patch: Updates a DataStore
- name: Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataSt ores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
func (*ProjectsLocationsCollectionsDataStoresService) TrainCustomModel ¶ added in v0.170.0
func (r *ProjectsLocationsCollectionsDataStoresService) TrainCustomModel(dataStore string, googleclouddiscoveryenginev1betatraincustommodelrequest *GoogleCloudDiscoveryengineV1betaTrainCustomModelRequest) *ProjectsLocationsCollectionsDataStoresTrainCustomModelCall
TrainCustomModel: Trains a custom model.
- dataStore: The resource name of the Data Store, such as `projects/*/locations/global/collections/default_collection/dataStores/defa ult_data_store`. This field is used to identify the data store where to train the models.
type ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall ¶ added in v0.173.0
type ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAnswerQueryResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.servingConfigs.answer" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaAnswerQueryResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresServingConfigsGetCall ¶ added in v0.163.0
type ProjectsLocationsCollectionsDataStoresServingConfigsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresServingConfigsGetCall) Context ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresServingConfigsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsGetCall) Do ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaServingConfig, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.servingConfigs.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaServingConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsGetCall) Fields ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresServingConfigsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsGetCall) Header ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsGetCall) IfNoneMatch ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresServingConfigsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsDataStoresServingConfigsListCall ¶ added in v0.163.0
type ProjectsLocationsCollectionsDataStoresServingConfigsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresServingConfigsListCall) Context ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresServingConfigsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsListCall) Do ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListServingConfigsResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.servingConfigs.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListServingConfigsResponse.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 (*ProjectsLocationsCollectionsDataStoresServingConfigsListCall) Fields ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresServingConfigsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsListCall) Header ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsListCall) IfNoneMatch ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresServingConfigsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsListCall) PageSize ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresServingConfigsListCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsListCall) PageToken ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresServingConfigsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsListCall) Pages ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListServingConfigsResponse) 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 ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall ¶ added in v0.163.0
type ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall) Context ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall) Do ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaServingConfig, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.servingConfigs.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaServingConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall) Fields ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall) Header ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall) UpdateMask ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall
UpdateMask sets the optional parameter "updateMask": Indicates which fields in the provided ServingConfig to update. The following are NOT supported: * ServingConfig.name If not set, all supported fields are updated.
type ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall) Context ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall) Do ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaRecommendResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.servingConfigs.recommend" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaRecommendResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall) Fields ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall) Header ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall ¶ added in v0.138.0
type ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSearchResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.servingConfigs.search" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSearchResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall) Pages ¶ added in v0.138.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaSearchResponse) 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 ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall ¶ added in v0.204.0
type ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall) Context ¶ added in v0.204.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall) Do ¶ added in v0.204.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSearchResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.servingConfigs.searchLite" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSearchResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall) Fields ¶ added in v0.204.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall) Header ¶ added in v0.204.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall) Pages ¶ added in v0.204.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaSearchResponse) 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 ProjectsLocationsCollectionsDataStoresServingConfigsService ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresServingConfigsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsDataStoresServingConfigsService ¶ added in v0.112.0
func NewProjectsLocationsCollectionsDataStoresServingConfigsService(s *Service) *ProjectsLocationsCollectionsDataStoresServingConfigsService
func (*ProjectsLocationsCollectionsDataStoresServingConfigsService) Answer ¶ added in v0.173.0
func (r *ProjectsLocationsCollectionsDataStoresServingConfigsService) Answer(servingConfig string, googleclouddiscoveryenginev1betaanswerqueryrequest *GoogleCloudDiscoveryengineV1betaAnswerQueryRequest) *ProjectsLocationsCollectionsDataStoresServingConfigsAnswerCall
Answer: Answer query method.
- servingConfig: The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servi ngConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/se rvingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsService) Get ¶ added in v0.163.0
func (r *ProjectsLocationsCollectionsDataStoresServingConfigsService) Get(name string) *ProjectsLocationsCollectionsDataStoresServingConfigsGetCall
Get: Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.
- name: The resource name of the ServingConfig to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{ engine}/servingConfigs/{serving_config_id}`.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsService) List ¶ added in v0.163.0
func (r *ProjectsLocationsCollectionsDataStoresServingConfigsService) List(parent string) *ProjectsLocationsCollectionsDataStoresServingConfigsListCall
List: Lists all ServingConfigs linked to this dataStore.
- parent: Full resource name of the parent resource. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{ engine}`.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsService) Patch ¶ added in v0.163.0
func (r *ProjectsLocationsCollectionsDataStoresServingConfigsService) Patch(name string, googleclouddiscoveryenginev1betaservingconfig *GoogleCloudDiscoveryengineV1betaServingConfig) *ProjectsLocationsCollectionsDataStoresServingConfigsPatchCall
Patch: Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.
- name: Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/engine s/{engine_id}/servingConfigs/{serving_config_id}`.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsService) Recommend ¶ added in v0.112.0
func (r *ProjectsLocationsCollectionsDataStoresServingConfigsService) Recommend(servingConfig string, googleclouddiscoveryenginev1betarecommendrequest *GoogleCloudDiscoveryengineV1betaRecommendRequest) *ProjectsLocationsCollectionsDataStoresServingConfigsRecommendCall
Recommend: Makes a recommendation, which requires a contextual user event.
- servingConfig: Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID is used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs /my-engine` for your RecommendationService.Recommend requests.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsService) Search ¶ added in v0.138.0
func (r *ProjectsLocationsCollectionsDataStoresServingConfigsService) Search(servingConfig string, googleclouddiscoveryenginev1betasearchrequest *GoogleCloudDiscoveryengineV1betaSearchRequest) *ProjectsLocationsCollectionsDataStoresServingConfigsSearchCall
Search: Performs a search.
- servingConfig: The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servi ngConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/defa ult_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsService) SearchLite ¶ added in v0.204.0
func (r *ProjectsLocationsCollectionsDataStoresServingConfigsService) SearchLite(servingConfig string, googleclouddiscoveryenginev1betasearchrequest *GoogleCloudDiscoveryengineV1betaSearchRequest) *ProjectsLocationsCollectionsDataStoresServingConfigsSearchLiteCall
SearchLite: Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security.
- servingConfig: The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servi ngConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/defa ult_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsService) StreamAnswer ¶ added in v0.211.0
func (r *ProjectsLocationsCollectionsDataStoresServingConfigsService) StreamAnswer(servingConfig string, googleclouddiscoveryenginev1betaanswerqueryrequest *GoogleCloudDiscoveryengineV1betaAnswerQueryRequest) *ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall
StreamAnswer: Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream.
- servingConfig: The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servi ngConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/se rvingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.
type ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall ¶ added in v0.211.0
type ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall) Context ¶ added in v0.211.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall) Do ¶ added in v0.211.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAnswerQueryResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.servingConfigs.streamAnswer" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaAnswerQueryResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall) Fields ¶ added in v0.211.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall) Header ¶ added in v0.211.0
func (c *ProjectsLocationsCollectionsDataStoresServingConfigsStreamAnswerCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall ¶ added in v0.173.0
type ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAnswer, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.sessions.answers.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaAnswer.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall) IfNoneMatch ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsDataStoresSessionsAnswersService ¶ added in v0.173.0
type ProjectsLocationsCollectionsDataStoresSessionsAnswersService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsDataStoresSessionsAnswersService ¶ added in v0.173.0
func NewProjectsLocationsCollectionsDataStoresSessionsAnswersService(s *Service) *ProjectsLocationsCollectionsDataStoresSessionsAnswersService
func (*ProjectsLocationsCollectionsDataStoresSessionsAnswersService) Get ¶ added in v0.173.0
func (r *ProjectsLocationsCollectionsDataStoresSessionsAnswersService) Get(name string) *ProjectsLocationsCollectionsDataStoresSessionsAnswersGetCall
Get: Gets a Answer.
- name: The resource name of the Answer to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{ engine_id}/sessions/{session_id}/answers/{answer_id}`.
type ProjectsLocationsCollectionsDataStoresSessionsCreateCall ¶ added in v0.173.0
type ProjectsLocationsCollectionsDataStoresSessionsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSessionsCreateCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSessionsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSessionsCreateCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSession, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.sessions.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSession.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresSessionsCreateCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSessionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSessionsCreateCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresSessionsDeleteCall ¶ added in v0.173.0
type ProjectsLocationsCollectionsDataStoresSessionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSessionsDeleteCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSessionsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSessionsDeleteCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.sessions.delete" call. 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 (*ProjectsLocationsCollectionsDataStoresSessionsDeleteCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSessionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSessionsDeleteCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresSessionsGetCall ¶ added in v0.173.0
type ProjectsLocationsCollectionsDataStoresSessionsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSessionsGetCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSessionsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSessionsGetCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSession, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.sessions.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSession.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresSessionsGetCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSessionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSessionsGetCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresSessionsGetCall) IfNoneMatch ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSessionsGetCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsDataStoresSessionsGetCall) IncludeAnswerDetails ¶ added in v0.211.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsGetCall) IncludeAnswerDetails(includeAnswerDetails bool) *ProjectsLocationsCollectionsDataStoresSessionsGetCall
IncludeAnswerDetails sets the optional parameter "includeAnswerDetails": If set to true, the full session including all answer details will be returned.
type ProjectsLocationsCollectionsDataStoresSessionsListCall ¶ added in v0.173.0
type ProjectsLocationsCollectionsDataStoresSessionsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSessionsListCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSessionsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSessionsListCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListSessionsResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.sessions.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListSessionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresSessionsListCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSessionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSessionsListCall) Filter ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsListCall) Filter(filter string) *ProjectsLocationsCollectionsDataStoresSessionsListCall
Filter sets the optional parameter "filter": A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example: "user_pseudo_id = some_id"
func (*ProjectsLocationsCollectionsDataStoresSessionsListCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresSessionsListCall) IfNoneMatch ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSessionsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsDataStoresSessionsListCall) OrderBy ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsListCall) OrderBy(orderBy string) *ProjectsLocationsCollectionsDataStoresSessionsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` Example: * "update_time desc" * "create_time" * "is_pinned desc,update_time desc": list sessions by is_pinned first, then by update_time.
func (*ProjectsLocationsCollectionsDataStoresSessionsListCall) PageSize ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresSessionsListCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.
func (*ProjectsLocationsCollectionsDataStoresSessionsListCall) PageToken ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresSessionsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page.
func (*ProjectsLocationsCollectionsDataStoresSessionsListCall) Pages ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListSessionsResponse) 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 ProjectsLocationsCollectionsDataStoresSessionsPatchCall ¶ added in v0.173.0
type ProjectsLocationsCollectionsDataStoresSessionsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSessionsPatchCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSessionsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSessionsPatchCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSession, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.sessions.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSession.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresSessionsPatchCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSessionsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSessionsPatchCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresSessionsPatchCall) UpdateMask ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsDataStoresSessionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsDataStoresSessionsPatchCall
UpdateMask sets the optional parameter "updateMask": Indicates which fields in the provided Session to update. The following are NOT supported: * Session.name If not set or empty, all supported fields are updated.
type ProjectsLocationsCollectionsDataStoresSessionsService ¶ added in v0.173.0
type ProjectsLocationsCollectionsDataStoresSessionsService struct { Answers *ProjectsLocationsCollectionsDataStoresSessionsAnswersService // contains filtered or unexported fields }
func NewProjectsLocationsCollectionsDataStoresSessionsService ¶ added in v0.173.0
func NewProjectsLocationsCollectionsDataStoresSessionsService(s *Service) *ProjectsLocationsCollectionsDataStoresSessionsService
func (*ProjectsLocationsCollectionsDataStoresSessionsService) Create ¶ added in v0.173.0
func (r *ProjectsLocationsCollectionsDataStoresSessionsService) Create(parent string, googleclouddiscoveryenginev1betasession *GoogleCloudDiscoveryengineV1betaSession) *ProjectsLocationsCollectionsDataStoresSessionsCreateCall
Create: Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned.
- parent: Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}`.
func (*ProjectsLocationsCollectionsDataStoresSessionsService) Delete ¶ added in v0.173.0
func (r *ProjectsLocationsCollectionsDataStoresSessionsService) Delete(name string) *ProjectsLocationsCollectionsDataStoresSessionsDeleteCall
Delete: Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned.
- name: The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}/sessions/{session_id}`.
func (*ProjectsLocationsCollectionsDataStoresSessionsService) Get ¶ added in v0.173.0
func (r *ProjectsLocationsCollectionsDataStoresSessionsService) Get(name string) *ProjectsLocationsCollectionsDataStoresSessionsGetCall
Get: Gets a Session.
- name: The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}/sessions/{session_id}`.
func (*ProjectsLocationsCollectionsDataStoresSessionsService) List ¶ added in v0.173.0
func (r *ProjectsLocationsCollectionsDataStoresSessionsService) List(parent string) *ProjectsLocationsCollectionsDataStoresSessionsListCall
List: Lists all Sessions by their parent DataStore.
- parent: The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}`.
func (*ProjectsLocationsCollectionsDataStoresSessionsService) Patch ¶ added in v0.173.0
func (r *ProjectsLocationsCollectionsDataStoresSessionsService) Patch(name string, googleclouddiscoveryenginev1betasession *GoogleCloudDiscoveryengineV1betaSession) *ProjectsLocationsCollectionsDataStoresSessionsPatchCall
Patch: Updates a Session. Session action type cannot be changed. If the Session to update does not exist, a NOT_FOUND error is returned.
- name: Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engi ne}/sessions/*`.
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSitesCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSitesCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSitesCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSitesCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSitesCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSitesCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSitesCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.batchVerifyTargetSites" call. 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 (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSitesCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSitesCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSitesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSitesCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSitesCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.disableAdvancedSiteSearch" call. 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 (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.enableAdvancedSiteSearch" call. 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 (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.fetchDomainVerificationStatus" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse.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 (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) IfNoneMatch ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) PageSize ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) PageToken ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `FetchDomainVerificationStatus` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FetchDomainVerificationStatus` must match the call that provided the page token.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) Pages ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse) 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 ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall ¶ added in v0.133.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall) Context ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall) Do ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.operations.get" call. 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 (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall) Fields ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall) Header ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall) IfNoneMatch ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall ¶ added in v0.133.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) Context ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) Do ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.operations.list" call. 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 (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) Fields ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) Filter ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) Filter(filter string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) Header ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) IfNoneMatch ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) PageSize ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) PageToken ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) Pages ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall) 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 ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsService ¶ added in v0.133.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsService ¶ added in v0.133.0
func NewProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsService(s *Service) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsService
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsService) Get ¶ added in v0.133.0
func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsService) Get(name string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsGetCall
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 (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsService) List ¶ added in v0.133.0
func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsService) List(name string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.recrawlUris" call. 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 (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineService ¶ added in v0.133.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineService struct { Operations *ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperationsService Sitemaps *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsService TargetSites *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService // contains filtered or unexported fields }
func NewProjectsLocationsCollectionsDataStoresSiteSearchEngineService ¶ added in v0.133.0
func NewProjectsLocationsCollectionsDataStoresSiteSearchEngineService(s *Service) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineService
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineService) BatchVerifyTargetSites ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineService) BatchVerifyTargetSites(parent string, googleclouddiscoveryenginev1betabatchverifytargetsitesrequest *GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineBatchVerifyTargetSitesCall
BatchVerifyTargetSites: Verify target sites' ownership and validity. This API sends all the target sites under site search engine for verification.
- parent: The parent resource shared by all TargetSites being verified. `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/siteSearchEngine`.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineService) DisableAdvancedSiteSearch ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineService) DisableAdvancedSiteSearch(siteSearchEngine string, googleclouddiscoveryenginev1betadisableadvancedsitesearchrequest *GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchRequest) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall
DisableAdvancedSiteSearch: Downgrade from advanced site search to basic site search.
- siteSearchEngine: Full resource name of the SiteSearchEngine, such as `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSea rchEngine`.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineService) EnableAdvancedSiteSearch ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineService) EnableAdvancedSiteSearch(siteSearchEngine string, googleclouddiscoveryenginev1betaenableadvancedsitesearchrequest *GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchRequest) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall
EnableAdvancedSiteSearch: Upgrade from basic site search to advanced site search.
- siteSearchEngine: Full resource name of the SiteSearchEngine, such as `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSea rchEngine`.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineService) FetchDomainVerificationStatus ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineService) FetchDomainVerificationStatus(siteSearchEngine string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineFetchDomainVerificationStatusCall
FetchDomainVerificationStatus: Returns list of target sites with its domain verification status. This method can only be called under data store with BASIC_SITE_SEARCH state at the moment.
- siteSearchEngine: The site search engine resource under which we fetch all the domain verification status. `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/siteSearchEngine`.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineService) RecrawlUris ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineService) RecrawlUris(siteSearchEngine string, googleclouddiscoveryenginev1betarecrawlurisrequest *GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineRecrawlUrisCall
RecrawlUris: Request on-demand recrawl for a list of URIs.
- siteSearchEngine: Full resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall ¶ added in v0.205.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall) Context ¶ added in v0.205.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall) Do ¶ added in v0.205.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.sitemaps.create" call. 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 (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall) Fields ¶ added in v0.205.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall) Header ¶ added in v0.205.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall ¶ added in v0.205.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall) Context ¶ added in v0.205.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall) Do ¶ added in v0.205.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.sitemaps.delete" call. 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 (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall) Fields ¶ added in v0.205.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall) Header ¶ added in v0.205.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsService ¶ added in v0.205.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsService ¶ added in v0.205.0
func NewProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsService(s *Service) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsService
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsService) Create ¶ added in v0.205.0
func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsService) Create(parent string, googleclouddiscoveryenginev1betasitemap *GoogleCloudDiscoveryengineV1betaSitemap) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsCreateCall
Create: Creates a Sitemap.
- parent: Parent resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsService) Delete ¶ added in v0.205.0
func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsService) Delete(name string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineSitemapsDeleteCall
Delete: Deletes a Sitemap.
- name: Full resource name of Sitemap, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/siteSearchEngine/sitemaps/{sitemap}`. If the caller does not have permission to access the Sitemap, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested Sitemap does not exist, a NOT_FOUND error is returned.
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesBatchCreateCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesBatchCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesBatchCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.batchCreate" call. 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 (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesBatchCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.create" call. 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 (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.delete" call. 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 (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaTargetSite, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaTargetSite.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall) IfNoneMatch ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListTargetSitesResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListTargetSitesResponse.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 (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) IfNoneMatch ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) PageSize ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) PageToken ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListTargetSites` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTargetSites` must match the call that provided the page token.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) Pages ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListTargetSitesResponse) 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 ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall ¶ added in v0.133.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall) Context ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall) Do ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.operations.get" call. 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 (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall) Fields ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall) Header ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall) IfNoneMatch ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall ¶ added in v0.133.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) Context ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) Do ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.operations.list" call. 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 (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) Fields ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) Filter ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) Filter(filter string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) Header ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) IfNoneMatch ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) PageSize ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) PageToken ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) Pages ¶ added in v0.133.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall) 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 ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsService ¶ added in v0.133.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsService ¶ added in v0.133.0
func NewProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsService(s *Service) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsService
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsService) Get ¶ added in v0.133.0
func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsService) Get(name string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsGetCall
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 (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsService) List ¶ added in v0.133.0
func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsService) List(name string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.siteSearchEngine.targetSites.patch" call. 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 (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService ¶ added in v0.133.0
type ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService struct { Operations *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService ¶ added in v0.133.0
func NewProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService(s *Service) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService) BatchCreate ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService) BatchCreate(parent string, googleclouddiscoveryenginev1betabatchcreatetargetsitesrequest *GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesBatchCreateCall
BatchCreate: Creates TargetSite in a batch.
- parent: The parent resource shared by all TargetSites being created. `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/siteSearchEngine`. The parent field in the CreateBookRequest messages must either be empty or match this field.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService) Create ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService) Create(parent string, googleclouddiscoveryenginev1betatargetsite *GoogleCloudDiscoveryengineV1betaTargetSite) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesCreateCall
Create: Creates a TargetSite.
- parent: Parent resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/siteSearchEngine`.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService) Delete ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService) Delete(name string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesDeleteCall
Delete: Deletes a TargetSite.
- name: Full resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/siteSearchEngine/targetSites/{target_site}`. If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not exist, a NOT_FOUND error is returned.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService) Get ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService) Get(name string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesGetCall
Get: Gets a TargetSite.
- name: Full resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/siteSearchEngine/targetSites/{target_site}`. If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not exist, a NOT_FOUND error is returned.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService) List ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService) List(parent string) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesListCall
List: Gets a list of TargetSites.
- parent: The parent site search engine resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/siteSearchEngine`. If the caller does not have permission to list TargetSites under this site search engine, regardless of whether or not this branch exists, a PERMISSION_DENIED error is returned.
func (*ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService) Patch ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesService) Patch(name string, googleclouddiscoveryenginev1betatargetsite *GoogleCloudDiscoveryengineV1betaTargetSite) *ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesPatchCall
Patch: Updates a TargetSite.
- name: Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated.
type ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall ¶ added in v0.156.0
type ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall) Context ¶ added in v0.156.0
func (c *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall) Do ¶ added in v0.156.0
func (c *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.suggestionDenyListEntries.import" call. 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 (*ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall) Fields ¶ added in v0.156.0
func (c *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall) Header ¶ added in v0.156.0
func (c *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall ¶ added in v0.156.0
type ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall) Context ¶ added in v0.156.0
func (c *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall) Do ¶ added in v0.156.0
func (c *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.suggestionDenyListEntries.purge" call. 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 (*ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall) Fields ¶ added in v0.156.0
func (c *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall) Header ¶ added in v0.156.0
func (c *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesService ¶ added in v0.156.0
type ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesService ¶ added in v0.156.0
func NewProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesService(s *Service) *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesService
func (*ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesService) Import ¶ added in v0.156.0
func (r *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesService) Import(parent string, googleclouddiscoveryenginev1betaimportsuggestiondenylistentriesrequest *GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequest) *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesImportCall
Import: Imports all SuggestionDenyListEntry for a DataStore.
- parent: The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
func (*ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesService) Purge ¶ added in v0.156.0
func (r *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesService) Purge(parent string, googleclouddiscoveryenginev1betapurgesuggestiondenylistentriesrequest *GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesRequest) *ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntriesPurgeCall
Purge: Permanently deletes all SuggestionDenyListEntry for a DataStore.
- parent: The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
type ProjectsLocationsCollectionsDataStoresTrainCustomModelCall ¶ added in v0.170.0
type ProjectsLocationsCollectionsDataStoresTrainCustomModelCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresTrainCustomModelCall) Context ¶ added in v0.170.0
func (c *ProjectsLocationsCollectionsDataStoresTrainCustomModelCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresTrainCustomModelCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresTrainCustomModelCall) Do ¶ added in v0.170.0
func (c *ProjectsLocationsCollectionsDataStoresTrainCustomModelCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.trainCustomModel" call. 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 (*ProjectsLocationsCollectionsDataStoresTrainCustomModelCall) Fields ¶ added in v0.170.0
func (c *ProjectsLocationsCollectionsDataStoresTrainCustomModelCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresTrainCustomModelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresTrainCustomModelCall) Header ¶ added in v0.170.0
func (c *ProjectsLocationsCollectionsDataStoresTrainCustomModelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresUserEventsCollectCall ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresUserEventsCollectCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) Context ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) Do ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) Do(opts ...googleapi.CallOption) (*GoogleApiHttpBody, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.userEvents.collect" call. Any non-2xx status code is an error. Response headers are in either *GoogleApiHttpBody.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) Ets ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) Ets(ets int64) *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall
Ets sets the optional parameter "ets": The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.
func (*ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) Fields ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) Header ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) IfNoneMatch ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) Uri ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) Uri(uri string) *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall
Uri sets the optional parameter "uri": The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for third-party requests.
func (*ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) UserEvent ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall) UserEvent(userEvent string) *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall
UserEvent sets the optional parameter "userEvent": Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.
type ProjectsLocationsCollectionsDataStoresUserEventsImportCall ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresUserEventsImportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresUserEventsImportCall) Context ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsImportCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresUserEventsImportCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresUserEventsImportCall) Do ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.userEvents.import" call. 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 (*ProjectsLocationsCollectionsDataStoresUserEventsImportCall) Fields ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresUserEventsImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresUserEventsImportCall) Header ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsImportCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall ¶ added in v0.190.0
type ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall) Context ¶ added in v0.190.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall) Do ¶ added in v0.190.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.userEvents.purge" call. 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 (*ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall) Fields ¶ added in v0.190.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall) Header ¶ added in v0.190.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsDataStoresUserEventsService ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresUserEventsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsDataStoresUserEventsService ¶ added in v0.112.0
func NewProjectsLocationsCollectionsDataStoresUserEventsService(s *Service) *ProjectsLocationsCollectionsDataStoresUserEventsService
func (*ProjectsLocationsCollectionsDataStoresUserEventsService) Collect ¶ added in v0.112.0
func (r *ProjectsLocationsCollectionsDataStoresUserEventsService) Collect(parent string) *ProjectsLocationsCollectionsDataStoresUserEventsCollectCall
Collect: Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.
- parent: The parent resource name. If the collect user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}`. If the collect user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`.
func (*ProjectsLocationsCollectionsDataStoresUserEventsService) Import ¶ added in v0.112.0
func (r *ProjectsLocationsCollectionsDataStoresUserEventsService) Import(parent string, googleclouddiscoveryenginev1betaimportusereventsrequest *GoogleCloudDiscoveryengineV1betaImportUserEventsRequest) *ProjectsLocationsCollectionsDataStoresUserEventsImportCall
Import: Bulk import of user events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ImportMetadata.
- parent: Parent DataStore resource name, of the form `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}`.
func (*ProjectsLocationsCollectionsDataStoresUserEventsService) Purge ¶ added in v0.190.0
func (r *ProjectsLocationsCollectionsDataStoresUserEventsService) Purge(parent string, googleclouddiscoveryenginev1betapurgeusereventsrequest *GoogleCloudDiscoveryengineV1betaPurgeUserEventsRequest) *ProjectsLocationsCollectionsDataStoresUserEventsPurgeCall
Purge: Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first.
- parent: The resource name of the catalog under which the events are created. The format is `projects/{project}/locations/global/collections/{collection}/dataStores/{d ataStore}`.
func (*ProjectsLocationsCollectionsDataStoresUserEventsService) Write ¶ added in v0.112.0
func (r *ProjectsLocationsCollectionsDataStoresUserEventsService) Write(parent string, googleclouddiscoveryenginev1betauserevent *GoogleCloudDiscoveryengineV1betaUserEvent) *ProjectsLocationsCollectionsDataStoresUserEventsWriteCall
Write: Writes a single user event.
- parent: The parent resource name. If the write user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}`. If the write user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`.
type ProjectsLocationsCollectionsDataStoresUserEventsWriteCall ¶ added in v0.112.0
type ProjectsLocationsCollectionsDataStoresUserEventsWriteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsDataStoresUserEventsWriteCall) Context ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsWriteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsDataStoresUserEventsWriteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsDataStoresUserEventsWriteCall) Do ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsWriteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaUserEvent, error)
Do executes the "discoveryengine.projects.locations.collections.dataStores.userEvents.write" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaUserEvent.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsDataStoresUserEventsWriteCall) Fields ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsWriteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsDataStoresUserEventsWriteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsDataStoresUserEventsWriteCall) Header ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsWriteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsDataStoresUserEventsWriteCall) WriteAsync ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsDataStoresUserEventsWriteCall) WriteAsync(writeAsync bool) *ProjectsLocationsCollectionsDataStoresUserEventsWriteCall
WriteAsync sets the optional parameter "writeAsync": If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write.
type ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQueryCall ¶ added in v0.204.0
type ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQueryCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQueryCall) Context ¶ added in v0.204.0
func (c *ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQueryCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQueryCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQueryCall) Do ¶ added in v0.204.0
func (c *ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQueryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse, error)
Do executes the "discoveryengine.projects.locations.collections.engines.completionConfig.completeQuery" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse.ServerResponse .Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQueryCall) Fields ¶ added in v0.204.0
func (c *ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQueryCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQueryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQueryCall) Header ¶ added in v0.204.0
func (c *ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQueryCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsEnginesCompletionConfigService ¶ added in v0.204.0
type ProjectsLocationsCollectionsEnginesCompletionConfigService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsEnginesCompletionConfigService ¶ added in v0.204.0
func NewProjectsLocationsCollectionsEnginesCompletionConfigService(s *Service) *ProjectsLocationsCollectionsEnginesCompletionConfigService
func (*ProjectsLocationsCollectionsEnginesCompletionConfigService) CompleteQuery ¶ added in v0.204.0
func (r *ProjectsLocationsCollectionsEnginesCompletionConfigService) CompleteQuery(completionConfig string, googleclouddiscoveryenginev1betaadvancedcompletequeryrequest *GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest) *ProjectsLocationsCollectionsEnginesCompletionConfigCompleteQueryCall
CompleteQuery: Completes the user input with advanced keyword suggestions.
- completionConfig: The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/*/co mpletionConfig` `projects/*/locations/global/collections/default_collection/engines/*/compl etionConfig`.
type ProjectsLocationsCollectionsEnginesControlsCreateCall ¶ added in v0.183.0
type ProjectsLocationsCollectionsEnginesControlsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesControlsCreateCall) Context ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesControlsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesControlsCreateCall) ControlId ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsCreateCall) ControlId(controlId string) *ProjectsLocationsCollectionsEnginesControlsCreateCall
ControlId sets the optional parameter "controlId": Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value must be within 1-63 characters. Valid characters are /a-z-_/.
func (*ProjectsLocationsCollectionsEnginesControlsCreateCall) Do ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaControl, error)
Do executes the "discoveryengine.projects.locations.collections.engines.controls.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaControl.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesControlsCreateCall) Fields ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesControlsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesControlsCreateCall) Header ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsEnginesControlsDeleteCall ¶ added in v0.183.0
type ProjectsLocationsCollectionsEnginesControlsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesControlsDeleteCall) Context ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesControlsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesControlsDeleteCall) Do ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "discoveryengine.projects.locations.collections.engines.controls.delete" call. 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 (*ProjectsLocationsCollectionsEnginesControlsDeleteCall) Fields ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesControlsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesControlsDeleteCall) Header ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsEnginesControlsGetCall ¶ added in v0.183.0
type ProjectsLocationsCollectionsEnginesControlsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesControlsGetCall) Context ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesControlsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesControlsGetCall) Do ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaControl, error)
Do executes the "discoveryengine.projects.locations.collections.engines.controls.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaControl.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesControlsGetCall) Fields ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesControlsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesControlsGetCall) Header ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsEnginesControlsGetCall) IfNoneMatch ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesControlsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsEnginesControlsListCall ¶ added in v0.183.0
type ProjectsLocationsCollectionsEnginesControlsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesControlsListCall) Context ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesControlsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesControlsListCall) Do ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListControlsResponse, error)
Do executes the "discoveryengine.projects.locations.collections.engines.controls.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListControlsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesControlsListCall) Fields ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesControlsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesControlsListCall) Filter ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsListCall) Filter(filter string) *ProjectsLocationsCollectionsEnginesControlsListCall
Filter sets the optional parameter "filter": A filter to apply on the list results. Supported features: * List all the products under the parent branch if filter is unset. Currently this field is unsupported.
func (*ProjectsLocationsCollectionsEnginesControlsListCall) Header ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsEnginesControlsListCall) IfNoneMatch ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesControlsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsEnginesControlsListCall) PageSize ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsEnginesControlsListCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.
func (*ProjectsLocationsCollectionsEnginesControlsListCall) PageToken ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsEnginesControlsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page.
func (*ProjectsLocationsCollectionsEnginesControlsListCall) Pages ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListControlsResponse) 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 ProjectsLocationsCollectionsEnginesControlsPatchCall ¶ added in v0.183.0
type ProjectsLocationsCollectionsEnginesControlsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesControlsPatchCall) Context ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesControlsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesControlsPatchCall) Do ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaControl, error)
Do executes the "discoveryengine.projects.locations.collections.engines.controls.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaControl.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesControlsPatchCall) Fields ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesControlsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesControlsPatchCall) Header ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsEnginesControlsPatchCall) UpdateMask ¶ added in v0.183.0
func (c *ProjectsLocationsCollectionsEnginesControlsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsEnginesControlsPatchCall
UpdateMask sets the optional parameter "updateMask": Indicates which fields in the provided Control to update. The following are NOT supported: * Control.name * Control.solution_type If not set or empty, all supported fields are updated.
type ProjectsLocationsCollectionsEnginesControlsService ¶ added in v0.183.0
type ProjectsLocationsCollectionsEnginesControlsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsEnginesControlsService ¶ added in v0.183.0
func NewProjectsLocationsCollectionsEnginesControlsService(s *Service) *ProjectsLocationsCollectionsEnginesControlsService
func (*ProjectsLocationsCollectionsEnginesControlsService) Create ¶ added in v0.183.0
func (r *ProjectsLocationsCollectionsEnginesControlsService) Create(parent string, googleclouddiscoveryenginev1betacontrol *GoogleCloudDiscoveryengineV1betaControl) *ProjectsLocationsCollectionsEnginesControlsCreateCall
Create: Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned.
- parent: Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataSt ores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engine s/{engine_id}`.
func (*ProjectsLocationsCollectionsEnginesControlsService) Delete ¶ added in v0.183.0
func (r *ProjectsLocationsCollectionsEnginesControlsService) Delete(name string) *ProjectsLocationsCollectionsEnginesControlsDeleteCall
Delete: Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned.
- name: The resource name of the Control to delete. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataSt ores/{data_store_id}/controls/{control_id}`.
func (*ProjectsLocationsCollectionsEnginesControlsService) Get ¶ added in v0.183.0
func (r *ProjectsLocationsCollectionsEnginesControlsService) Get(name string) *ProjectsLocationsCollectionsEnginesControlsGetCall
Get: Gets a Control.
- name: The resource name of the Control to get. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataSt ores/{data_store_id}/controls/{control_id}`.
func (*ProjectsLocationsCollectionsEnginesControlsService) List ¶ added in v0.183.0
func (r *ProjectsLocationsCollectionsEnginesControlsService) List(parent string) *ProjectsLocationsCollectionsEnginesControlsListCall
List: Lists all Controls by their parent DataStore.
- parent: The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataSt ores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engine s/{engine_id}`.
func (*ProjectsLocationsCollectionsEnginesControlsService) Patch ¶ added in v0.183.0
func (r *ProjectsLocationsCollectionsEnginesControlsService) Patch(name string, googleclouddiscoveryenginev1betacontrol *GoogleCloudDiscoveryengineV1betaControl) *ProjectsLocationsCollectionsEnginesControlsPatchCall
Patch: Updates a Control. Control action type cannot be changed. If the Control to update does not exist, a NOT_FOUND error is returned.
- name: Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`.
type ProjectsLocationsCollectionsEnginesConversationsConverseCall ¶ added in v0.154.0
type ProjectsLocationsCollectionsEnginesConversationsConverseCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesConversationsConverseCall) Context ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsConverseCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesConversationsConverseCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesConversationsConverseCall) Do ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsConverseCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConverseConversationResponse, error)
Do executes the "discoveryengine.projects.locations.collections.engines.conversations.converse" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaConverseConversationResponse.ServerResponse. Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesConversationsConverseCall) Fields ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsConverseCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesConversationsConverseCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesConversationsConverseCall) Header ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsConverseCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsEnginesConversationsCreateCall ¶ added in v0.154.0
type ProjectsLocationsCollectionsEnginesConversationsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesConversationsCreateCall) Context ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesConversationsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesConversationsCreateCall) Do ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConversation, error)
Do executes the "discoveryengine.projects.locations.collections.engines.conversations.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaConversation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesConversationsCreateCall) Fields ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesConversationsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesConversationsCreateCall) Header ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsEnginesConversationsDeleteCall ¶ added in v0.154.0
type ProjectsLocationsCollectionsEnginesConversationsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesConversationsDeleteCall) Context ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesConversationsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesConversationsDeleteCall) Do ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "discoveryengine.projects.locations.collections.engines.conversations.delete" call. 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 (*ProjectsLocationsCollectionsEnginesConversationsDeleteCall) Fields ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesConversationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesConversationsDeleteCall) Header ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsEnginesConversationsGetCall ¶ added in v0.154.0
type ProjectsLocationsCollectionsEnginesConversationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesConversationsGetCall) Context ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesConversationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesConversationsGetCall) Do ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConversation, error)
Do executes the "discoveryengine.projects.locations.collections.engines.conversations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaConversation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesConversationsGetCall) Fields ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesConversationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesConversationsGetCall) Header ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsEnginesConversationsGetCall) IfNoneMatch ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesConversationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsEnginesConversationsListCall ¶ added in v0.154.0
type ProjectsLocationsCollectionsEnginesConversationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesConversationsListCall) Context ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesConversationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesConversationsListCall) Do ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListConversationsResponse, error)
Do executes the "discoveryengine.projects.locations.collections.engines.conversations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListConversationsResponse.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 (*ProjectsLocationsCollectionsEnginesConversationsListCall) Fields ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesConversationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesConversationsListCall) Filter ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsListCall) Filter(filter string) *ProjectsLocationsCollectionsEnginesConversationsListCall
Filter sets the optional parameter "filter": A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example: "user_pseudo_id = some_id"
func (*ProjectsLocationsCollectionsEnginesConversationsListCall) Header ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsEnginesConversationsListCall) IfNoneMatch ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesConversationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsEnginesConversationsListCall) OrderBy ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsListCall) OrderBy(orderBy string) *ProjectsLocationsCollectionsEnginesConversationsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `conversation_name` Example: "update_time desc" "create_time"
func (*ProjectsLocationsCollectionsEnginesConversationsListCall) PageSize ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsEnginesConversationsListCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.
func (*ProjectsLocationsCollectionsEnginesConversationsListCall) PageToken ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsEnginesConversationsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page.
func (*ProjectsLocationsCollectionsEnginesConversationsListCall) Pages ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListConversationsResponse) 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 ProjectsLocationsCollectionsEnginesConversationsPatchCall ¶ added in v0.154.0
type ProjectsLocationsCollectionsEnginesConversationsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesConversationsPatchCall) Context ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesConversationsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesConversationsPatchCall) Do ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConversation, error)
Do executes the "discoveryengine.projects.locations.collections.engines.conversations.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaConversation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesConversationsPatchCall) Fields ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesConversationsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesConversationsPatchCall) Header ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsEnginesConversationsPatchCall) UpdateMask ¶ added in v0.154.0
func (c *ProjectsLocationsCollectionsEnginesConversationsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsEnginesConversationsPatchCall
UpdateMask sets the optional parameter "updateMask": Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated.
type ProjectsLocationsCollectionsEnginesConversationsService ¶ added in v0.154.0
type ProjectsLocationsCollectionsEnginesConversationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsEnginesConversationsService ¶ added in v0.154.0
func NewProjectsLocationsCollectionsEnginesConversationsService(s *Service) *ProjectsLocationsCollectionsEnginesConversationsService
func (*ProjectsLocationsCollectionsEnginesConversationsService) Converse ¶ added in v0.154.0
func (r *ProjectsLocationsCollectionsEnginesConversationsService) Converse(name string, googleclouddiscoveryenginev1betaconverseconversationrequest *GoogleCloudDiscoveryengineV1betaConverseConversationRequest) *ProjectsLocationsCollectionsEnginesConversationsConverseCall
Converse: Converses a conversation.
- name: The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session.
func (*ProjectsLocationsCollectionsEnginesConversationsService) Create ¶ added in v0.154.0
func (r *ProjectsLocationsCollectionsEnginesConversationsService) Create(parent string, googleclouddiscoveryenginev1betaconversation *GoogleCloudDiscoveryengineV1betaConversation) *ProjectsLocationsCollectionsEnginesConversationsCreateCall
Create: Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned.
- parent: Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}`.
func (*ProjectsLocationsCollectionsEnginesConversationsService) Delete ¶ added in v0.154.0
func (r *ProjectsLocationsCollectionsEnginesConversationsService) Delete(name string) *ProjectsLocationsCollectionsEnginesConversationsDeleteCall
Delete: Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned.
- name: The resource name of the Conversation to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}/conversations/{conversation_id}`.
func (*ProjectsLocationsCollectionsEnginesConversationsService) Get ¶ added in v0.154.0
func (r *ProjectsLocationsCollectionsEnginesConversationsService) Get(name string) *ProjectsLocationsCollectionsEnginesConversationsGetCall
Get: Gets a Conversation.
- name: The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}/conversations/{conversation_id}`.
func (*ProjectsLocationsCollectionsEnginesConversationsService) List ¶ added in v0.154.0
func (r *ProjectsLocationsCollectionsEnginesConversationsService) List(parent string) *ProjectsLocationsCollectionsEnginesConversationsListCall
List: Lists all Conversations by their parent DataStore.
- parent: The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}`.
func (*ProjectsLocationsCollectionsEnginesConversationsService) Patch ¶ added in v0.154.0
func (r *ProjectsLocationsCollectionsEnginesConversationsService) Patch(name string, googleclouddiscoveryenginev1betaconversation *GoogleCloudDiscoveryengineV1betaConversation) *ProjectsLocationsCollectionsEnginesConversationsPatchCall
Patch: Updates a Conversation. Conversation action type cannot be changed. If the Conversation to update does not exist, a NOT_FOUND error is returned.
- name: Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*/c onversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*/con versations/*`.
type ProjectsLocationsCollectionsEnginesCreateCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsEnginesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesCreateCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesCreateCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.engines.create" call. 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 (*ProjectsLocationsCollectionsEnginesCreateCall) EngineId ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesCreateCall) EngineId(engineId string) *ProjectsLocationsCollectionsEnginesCreateCall
EngineId sets the optional parameter "engineId": Required. The ID to use for the Engine, which will become the final component of the Engine's resource name. This field must conform to RFC-1034 (https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
func (*ProjectsLocationsCollectionsEnginesCreateCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesCreateCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsEnginesDeleteCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsEnginesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesDeleteCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesDeleteCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.engines.delete" call. 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 (*ProjectsLocationsCollectionsEnginesDeleteCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesDeleteCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsEnginesGetCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsEnginesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesGetCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesGetCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaEngine, error)
Do executes the "discoveryengine.projects.locations.collections.engines.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaEngine.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesGetCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesGetCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsEnginesGetCall) IfNoneMatch ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsEnginesListCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsEnginesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesListCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesListCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListEnginesResponse, error)
Do executes the "discoveryengine.projects.locations.collections.engines.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListEnginesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesListCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesListCall) Filter ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesListCall) Filter(filter string) *ProjectsLocationsCollectionsEnginesListCall
Filter sets the optional parameter "filter": Filter by solution type. For example: solution_type=SOLUTION_TYPE_SEARCH
func (*ProjectsLocationsCollectionsEnginesListCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsEnginesListCall) IfNoneMatch ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsEnginesListCall) PageSize ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsEnginesListCall
PageSize sets the optional parameter "pageSize": Not supported.
func (*ProjectsLocationsCollectionsEnginesListCall) PageToken ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsEnginesListCall
PageToken sets the optional parameter "pageToken": Not supported.
func (*ProjectsLocationsCollectionsEnginesListCall) Pages ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListEnginesResponse) 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 ProjectsLocationsCollectionsEnginesOperationsGetCall ¶ added in v0.121.0
type ProjectsLocationsCollectionsEnginesOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesOperationsGetCall) Context ¶ added in v0.121.0
func (c *ProjectsLocationsCollectionsEnginesOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesOperationsGetCall) Do ¶ added in v0.121.0
func (c *ProjectsLocationsCollectionsEnginesOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.engines.operations.get" call. 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 (*ProjectsLocationsCollectionsEnginesOperationsGetCall) Fields ¶ added in v0.121.0
func (c *ProjectsLocationsCollectionsEnginesOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesOperationsGetCall) Header ¶ added in v0.121.0
func (c *ProjectsLocationsCollectionsEnginesOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsEnginesOperationsGetCall) IfNoneMatch ¶ added in v0.121.0
func (c *ProjectsLocationsCollectionsEnginesOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsEnginesOperationsListCall ¶ added in v0.122.0
type ProjectsLocationsCollectionsEnginesOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesOperationsListCall) Context ¶ added in v0.122.0
func (c *ProjectsLocationsCollectionsEnginesOperationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesOperationsListCall) Do ¶ added in v0.122.0
func (c *ProjectsLocationsCollectionsEnginesOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "discoveryengine.projects.locations.collections.engines.operations.list" call. 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 (*ProjectsLocationsCollectionsEnginesOperationsListCall) Fields ¶ added in v0.122.0
func (c *ProjectsLocationsCollectionsEnginesOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesOperationsListCall) Filter ¶ added in v0.122.0
func (c *ProjectsLocationsCollectionsEnginesOperationsListCall) Filter(filter string) *ProjectsLocationsCollectionsEnginesOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsCollectionsEnginesOperationsListCall) Header ¶ added in v0.122.0
func (c *ProjectsLocationsCollectionsEnginesOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsEnginesOperationsListCall) IfNoneMatch ¶ added in v0.122.0
func (c *ProjectsLocationsCollectionsEnginesOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsEnginesOperationsListCall) PageSize ¶ added in v0.122.0
func (c *ProjectsLocationsCollectionsEnginesOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsEnginesOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsCollectionsEnginesOperationsListCall) PageToken ¶ added in v0.122.0
func (c *ProjectsLocationsCollectionsEnginesOperationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsEnginesOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsCollectionsEnginesOperationsListCall) Pages ¶ added in v0.122.0
func (c *ProjectsLocationsCollectionsEnginesOperationsListCall) 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 ProjectsLocationsCollectionsEnginesOperationsService ¶ added in v0.121.0
type ProjectsLocationsCollectionsEnginesOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsEnginesOperationsService ¶ added in v0.121.0
func NewProjectsLocationsCollectionsEnginesOperationsService(s *Service) *ProjectsLocationsCollectionsEnginesOperationsService
func (*ProjectsLocationsCollectionsEnginesOperationsService) Get ¶ added in v0.121.0
func (r *ProjectsLocationsCollectionsEnginesOperationsService) Get(name string) *ProjectsLocationsCollectionsEnginesOperationsGetCall
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 (*ProjectsLocationsCollectionsEnginesOperationsService) List ¶ added in v0.122.0
func (r *ProjectsLocationsCollectionsEnginesOperationsService) List(name string) *ProjectsLocationsCollectionsEnginesOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsCollectionsEnginesPatchCall ¶ added in v0.158.0
type ProjectsLocationsCollectionsEnginesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesPatchCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesPatchCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaEngine, error)
Do executes the "discoveryengine.projects.locations.collections.engines.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaEngine.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesPatchCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesPatchCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsEnginesPatchCall) UpdateMask ¶ added in v0.158.0
func (c *ProjectsLocationsCollectionsEnginesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsEnginesPatchCall
UpdateMask sets the optional parameter "updateMask": Indicates which fields in the provided Engine to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
type ProjectsLocationsCollectionsEnginesPauseCall ¶ added in v0.173.0
type ProjectsLocationsCollectionsEnginesPauseCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesPauseCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesPauseCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesPauseCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesPauseCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesPauseCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaEngine, error)
Do executes the "discoveryengine.projects.locations.collections.engines.pause" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaEngine.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesPauseCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesPauseCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesPauseCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesPauseCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesPauseCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsEnginesResumeCall ¶ added in v0.173.0
type ProjectsLocationsCollectionsEnginesResumeCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesResumeCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesResumeCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesResumeCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesResumeCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesResumeCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaEngine, error)
Do executes the "discoveryengine.projects.locations.collections.engines.resume" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaEngine.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesResumeCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesResumeCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesResumeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesResumeCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesResumeCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsEnginesService ¶ added in v0.121.0
type ProjectsLocationsCollectionsEnginesService struct { CompletionConfig *ProjectsLocationsCollectionsEnginesCompletionConfigService Controls *ProjectsLocationsCollectionsEnginesControlsService Conversations *ProjectsLocationsCollectionsEnginesConversationsService Operations *ProjectsLocationsCollectionsEnginesOperationsService ServingConfigs *ProjectsLocationsCollectionsEnginesServingConfigsService Sessions *ProjectsLocationsCollectionsEnginesSessionsService // contains filtered or unexported fields }
func NewProjectsLocationsCollectionsEnginesService ¶ added in v0.121.0
func NewProjectsLocationsCollectionsEnginesService(s *Service) *ProjectsLocationsCollectionsEnginesService
func (*ProjectsLocationsCollectionsEnginesService) Create ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsEnginesService) Create(parent string, googleclouddiscoveryenginev1betaengine *GoogleCloudDiscoveryengineV1betaEngine) *ProjectsLocationsCollectionsEnginesCreateCall
Create: Creates a Engine.
- parent: The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`.
func (*ProjectsLocationsCollectionsEnginesService) Delete ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsEnginesService) Delete(name string) *ProjectsLocationsCollectionsEnginesDeleteCall
Delete: Deletes a Engine.
- name: Full resource name of Engine, such as `projects/{project}/locations/{location}/collections/{collection_id}/engine s/{engine_id}`. If the caller does not have permission to delete the Engine, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Engine to delete does not exist, a NOT_FOUND error is returned.
func (*ProjectsLocationsCollectionsEnginesService) Get ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsEnginesService) Get(name string) *ProjectsLocationsCollectionsEnginesGetCall
Get: Gets a Engine.
- name: Full resource name of Engine, such as `projects/{project}/locations/{location}/collections/{collection_id}/engine s/{engine_id}`.
func (*ProjectsLocationsCollectionsEnginesService) List ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsEnginesService) List(parent string) *ProjectsLocationsCollectionsEnginesListCall
List: Lists all the Engines associated with the project.
- parent: The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}`.
func (*ProjectsLocationsCollectionsEnginesService) Patch ¶ added in v0.158.0
func (r *ProjectsLocationsCollectionsEnginesService) Patch(name string, googleclouddiscoveryenginev1betaengine *GoogleCloudDiscoveryengineV1betaEngine) *ProjectsLocationsCollectionsEnginesPatchCall
Patch: Updates an Engine
- name: Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{ engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned.
func (*ProjectsLocationsCollectionsEnginesService) Pause ¶ added in v0.173.0
func (r *ProjectsLocationsCollectionsEnginesService) Pause(name string, googleclouddiscoveryenginev1betapauseenginerequest *GoogleCloudDiscoveryengineV1betaPauseEngineRequest) *ProjectsLocationsCollectionsEnginesPauseCall
Pause: Pauses the training of an existing engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION.
- name: The name of the engine to pause. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engine s/{engine_id}`.
func (*ProjectsLocationsCollectionsEnginesService) Resume ¶ added in v0.173.0
func (r *ProjectsLocationsCollectionsEnginesService) Resume(name string, googleclouddiscoveryenginev1betaresumeenginerequest *GoogleCloudDiscoveryengineV1betaResumeEngineRequest) *ProjectsLocationsCollectionsEnginesResumeCall
Resume: Resumes the training of an existing engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION.
- name: The name of the engine to resume. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engine s/{engine_id}`.
func (*ProjectsLocationsCollectionsEnginesService) Tune ¶ added in v0.173.0
func (r *ProjectsLocationsCollectionsEnginesService) Tune(name string, googleclouddiscoveryenginev1betatuneenginerequest *GoogleCloudDiscoveryengineV1betaTuneEngineRequest) *ProjectsLocationsCollectionsEnginesTuneCall
Tune: Tunes an existing engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION.
- name: The resource name of the engine to tune. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engine s/{engine_id}`.
type ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall ¶ added in v0.173.0
type ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAnswerQueryResponse, error)
Do executes the "discoveryengine.projects.locations.collections.engines.servingConfigs.answer" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaAnswerQueryResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsEnginesServingConfigsGetCall ¶ added in v0.163.0
type ProjectsLocationsCollectionsEnginesServingConfigsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesServingConfigsGetCall) Context ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesServingConfigsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesServingConfigsGetCall) Do ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaServingConfig, error)
Do executes the "discoveryengine.projects.locations.collections.engines.servingConfigs.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaServingConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesServingConfigsGetCall) Fields ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesServingConfigsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesServingConfigsGetCall) Header ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsEnginesServingConfigsGetCall) IfNoneMatch ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesServingConfigsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsEnginesServingConfigsListCall ¶ added in v0.163.0
type ProjectsLocationsCollectionsEnginesServingConfigsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesServingConfigsListCall) Context ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesServingConfigsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesServingConfigsListCall) Do ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListServingConfigsResponse, error)
Do executes the "discoveryengine.projects.locations.collections.engines.servingConfigs.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListServingConfigsResponse.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 (*ProjectsLocationsCollectionsEnginesServingConfigsListCall) Fields ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesServingConfigsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesServingConfigsListCall) Header ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsEnginesServingConfigsListCall) IfNoneMatch ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesServingConfigsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsEnginesServingConfigsListCall) PageSize ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsEnginesServingConfigsListCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned.
func (*ProjectsLocationsCollectionsEnginesServingConfigsListCall) PageToken ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsEnginesServingConfigsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page.
func (*ProjectsLocationsCollectionsEnginesServingConfigsListCall) Pages ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListServingConfigsResponse) 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 ProjectsLocationsCollectionsEnginesServingConfigsPatchCall ¶ added in v0.163.0
type ProjectsLocationsCollectionsEnginesServingConfigsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesServingConfigsPatchCall) Context ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesServingConfigsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesServingConfigsPatchCall) Do ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaServingConfig, error)
Do executes the "discoveryengine.projects.locations.collections.engines.servingConfigs.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaServingConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesServingConfigsPatchCall) Fields ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesServingConfigsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesServingConfigsPatchCall) Header ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsEnginesServingConfigsPatchCall) UpdateMask ¶ added in v0.163.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsEnginesServingConfigsPatchCall
UpdateMask sets the optional parameter "updateMask": Indicates which fields in the provided ServingConfig to update. The following are NOT supported: * ServingConfig.name If not set, all supported fields are updated.
type ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall ¶ added in v0.147.0
type ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall) Context ¶ added in v0.147.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall) Do ¶ added in v0.147.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaRecommendResponse, error)
Do executes the "discoveryengine.projects.locations.collections.engines.servingConfigs.recommend" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaRecommendResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall) Fields ¶ added in v0.147.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall) Header ¶ added in v0.147.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsEnginesServingConfigsSearchCall ¶ added in v0.147.0
type ProjectsLocationsCollectionsEnginesServingConfigsSearchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesServingConfigsSearchCall) Context ¶ added in v0.147.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsSearchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesServingConfigsSearchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesServingConfigsSearchCall) Do ¶ added in v0.147.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsSearchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSearchResponse, error)
Do executes the "discoveryengine.projects.locations.collections.engines.servingConfigs.search" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSearchResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesServingConfigsSearchCall) Fields ¶ added in v0.147.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsSearchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesServingConfigsSearchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesServingConfigsSearchCall) Header ¶ added in v0.147.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsSearchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsEnginesServingConfigsSearchCall) Pages ¶ added in v0.147.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsSearchCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaSearchResponse) 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 ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall ¶ added in v0.204.0
type ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall) Context ¶ added in v0.204.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall) Do ¶ added in v0.204.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSearchResponse, error)
Do executes the "discoveryengine.projects.locations.collections.engines.servingConfigs.searchLite" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSearchResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall) Fields ¶ added in v0.204.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall) Header ¶ added in v0.204.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall) Pages ¶ added in v0.204.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaSearchResponse) 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 ProjectsLocationsCollectionsEnginesServingConfigsService ¶ added in v0.147.0
type ProjectsLocationsCollectionsEnginesServingConfigsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsEnginesServingConfigsService ¶ added in v0.147.0
func NewProjectsLocationsCollectionsEnginesServingConfigsService(s *Service) *ProjectsLocationsCollectionsEnginesServingConfigsService
func (*ProjectsLocationsCollectionsEnginesServingConfigsService) Answer ¶ added in v0.173.0
func (r *ProjectsLocationsCollectionsEnginesServingConfigsService) Answer(servingConfig string, googleclouddiscoveryenginev1betaanswerqueryrequest *GoogleCloudDiscoveryengineV1betaAnswerQueryRequest) *ProjectsLocationsCollectionsEnginesServingConfigsAnswerCall
Answer: Answer query method.
- servingConfig: The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servi ngConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/se rvingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.
func (*ProjectsLocationsCollectionsEnginesServingConfigsService) Get ¶ added in v0.163.0
func (r *ProjectsLocationsCollectionsEnginesServingConfigsService) Get(name string) *ProjectsLocationsCollectionsEnginesServingConfigsGetCall
Get: Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.
- name: The resource name of the ServingConfig to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{ engine}/servingConfigs/{serving_config_id}`.
func (*ProjectsLocationsCollectionsEnginesServingConfigsService) List ¶ added in v0.163.0
func (r *ProjectsLocationsCollectionsEnginesServingConfigsService) List(parent string) *ProjectsLocationsCollectionsEnginesServingConfigsListCall
List: Lists all ServingConfigs linked to this dataStore.
- parent: Full resource name of the parent resource. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{ engine}`.
func (*ProjectsLocationsCollectionsEnginesServingConfigsService) Patch ¶ added in v0.163.0
func (r *ProjectsLocationsCollectionsEnginesServingConfigsService) Patch(name string, googleclouddiscoveryenginev1betaservingconfig *GoogleCloudDiscoveryengineV1betaServingConfig) *ProjectsLocationsCollectionsEnginesServingConfigsPatchCall
Patch: Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.
- name: Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/engine s/{engine_id}/servingConfigs/{serving_config_id}`.
func (*ProjectsLocationsCollectionsEnginesServingConfigsService) Recommend ¶ added in v0.147.0
func (r *ProjectsLocationsCollectionsEnginesServingConfigsService) Recommend(servingConfig string, googleclouddiscoveryenginev1betarecommendrequest *GoogleCloudDiscoveryengineV1betaRecommendRequest) *ProjectsLocationsCollectionsEnginesServingConfigsRecommendCall
Recommend: Makes a recommendation, which requires a contextual user event.
- servingConfig: Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID is used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs /my-engine` for your RecommendationService.Recommend requests.
func (*ProjectsLocationsCollectionsEnginesServingConfigsService) Search ¶ added in v0.147.0
func (r *ProjectsLocationsCollectionsEnginesServingConfigsService) Search(servingConfig string, googleclouddiscoveryenginev1betasearchrequest *GoogleCloudDiscoveryengineV1betaSearchRequest) *ProjectsLocationsCollectionsEnginesServingConfigsSearchCall
Search: Performs a search.
- servingConfig: The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servi ngConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/defa ult_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.
func (*ProjectsLocationsCollectionsEnginesServingConfigsService) SearchLite ¶ added in v0.204.0
func (r *ProjectsLocationsCollectionsEnginesServingConfigsService) SearchLite(servingConfig string, googleclouddiscoveryenginev1betasearchrequest *GoogleCloudDiscoveryengineV1betaSearchRequest) *ProjectsLocationsCollectionsEnginesServingConfigsSearchLiteCall
SearchLite: Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security.
- servingConfig: The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servi ngConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/defa ult_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.
func (*ProjectsLocationsCollectionsEnginesServingConfigsService) StreamAnswer ¶ added in v0.211.0
func (r *ProjectsLocationsCollectionsEnginesServingConfigsService) StreamAnswer(servingConfig string, googleclouddiscoveryenginev1betaanswerqueryrequest *GoogleCloudDiscoveryengineV1betaAnswerQueryRequest) *ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall
StreamAnswer: Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream.
- servingConfig: The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servi ngConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/se rvingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.
type ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall ¶ added in v0.211.0
type ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall) Context ¶ added in v0.211.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall) Do ¶ added in v0.211.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAnswerQueryResponse, error)
Do executes the "discoveryengine.projects.locations.collections.engines.servingConfigs.streamAnswer" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaAnswerQueryResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall) Fields ¶ added in v0.211.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall) Header ¶ added in v0.211.0
func (c *ProjectsLocationsCollectionsEnginesServingConfigsStreamAnswerCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall ¶ added in v0.173.0
type ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAnswer, error)
Do executes the "discoveryengine.projects.locations.collections.engines.sessions.answers.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaAnswer.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall) IfNoneMatch ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsEnginesSessionsAnswersService ¶ added in v0.173.0
type ProjectsLocationsCollectionsEnginesSessionsAnswersService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsEnginesSessionsAnswersService ¶ added in v0.173.0
func NewProjectsLocationsCollectionsEnginesSessionsAnswersService(s *Service) *ProjectsLocationsCollectionsEnginesSessionsAnswersService
func (*ProjectsLocationsCollectionsEnginesSessionsAnswersService) Get ¶ added in v0.173.0
func (r *ProjectsLocationsCollectionsEnginesSessionsAnswersService) Get(name string) *ProjectsLocationsCollectionsEnginesSessionsAnswersGetCall
Get: Gets a Answer.
- name: The resource name of the Answer to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{ engine_id}/sessions/{session_id}/answers/{answer_id}`.
type ProjectsLocationsCollectionsEnginesSessionsCreateCall ¶ added in v0.173.0
type ProjectsLocationsCollectionsEnginesSessionsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesSessionsCreateCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsCreateCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesSessionsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesSessionsCreateCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSession, error)
Do executes the "discoveryengine.projects.locations.collections.engines.sessions.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSession.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesSessionsCreateCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesSessionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesSessionsCreateCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsEnginesSessionsDeleteCall ¶ added in v0.173.0
type ProjectsLocationsCollectionsEnginesSessionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesSessionsDeleteCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesSessionsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesSessionsDeleteCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "discoveryengine.projects.locations.collections.engines.sessions.delete" call. 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 (*ProjectsLocationsCollectionsEnginesSessionsDeleteCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesSessionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesSessionsDeleteCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsEnginesSessionsGetCall ¶ added in v0.173.0
type ProjectsLocationsCollectionsEnginesSessionsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesSessionsGetCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesSessionsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesSessionsGetCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSession, error)
Do executes the "discoveryengine.projects.locations.collections.engines.sessions.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSession.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesSessionsGetCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesSessionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesSessionsGetCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsEnginesSessionsGetCall) IfNoneMatch ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesSessionsGetCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsEnginesSessionsGetCall) IncludeAnswerDetails ¶ added in v0.211.0
func (c *ProjectsLocationsCollectionsEnginesSessionsGetCall) IncludeAnswerDetails(includeAnswerDetails bool) *ProjectsLocationsCollectionsEnginesSessionsGetCall
IncludeAnswerDetails sets the optional parameter "includeAnswerDetails": If set to true, the full session including all answer details will be returned.
type ProjectsLocationsCollectionsEnginesSessionsListCall ¶ added in v0.173.0
type ProjectsLocationsCollectionsEnginesSessionsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesSessionsListCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesSessionsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesSessionsListCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListSessionsResponse, error)
Do executes the "discoveryengine.projects.locations.collections.engines.sessions.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListSessionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesSessionsListCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesSessionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesSessionsListCall) Filter ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsListCall) Filter(filter string) *ProjectsLocationsCollectionsEnginesSessionsListCall
Filter sets the optional parameter "filter": A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example: "user_pseudo_id = some_id"
func (*ProjectsLocationsCollectionsEnginesSessionsListCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsEnginesSessionsListCall) IfNoneMatch ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsEnginesSessionsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsEnginesSessionsListCall) OrderBy ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsListCall) OrderBy(orderBy string) *ProjectsLocationsCollectionsEnginesSessionsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` Example: * "update_time desc" * "create_time" * "is_pinned desc,update_time desc": list sessions by is_pinned first, then by update_time.
func (*ProjectsLocationsCollectionsEnginesSessionsListCall) PageSize ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsEnginesSessionsListCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.
func (*ProjectsLocationsCollectionsEnginesSessionsListCall) PageToken ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsEnginesSessionsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page.
func (*ProjectsLocationsCollectionsEnginesSessionsListCall) Pages ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListSessionsResponse) 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 ProjectsLocationsCollectionsEnginesSessionsPatchCall ¶ added in v0.173.0
type ProjectsLocationsCollectionsEnginesSessionsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesSessionsPatchCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsPatchCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesSessionsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesSessionsPatchCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSession, error)
Do executes the "discoveryengine.projects.locations.collections.engines.sessions.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSession.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCollectionsEnginesSessionsPatchCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesSessionsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesSessionsPatchCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsEnginesSessionsPatchCall) UpdateMask ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesSessionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCollectionsEnginesSessionsPatchCall
UpdateMask sets the optional parameter "updateMask": Indicates which fields in the provided Session to update. The following are NOT supported: * Session.name If not set or empty, all supported fields are updated.
type ProjectsLocationsCollectionsEnginesSessionsService ¶ added in v0.173.0
type ProjectsLocationsCollectionsEnginesSessionsService struct { Answers *ProjectsLocationsCollectionsEnginesSessionsAnswersService // contains filtered or unexported fields }
func NewProjectsLocationsCollectionsEnginesSessionsService ¶ added in v0.173.0
func NewProjectsLocationsCollectionsEnginesSessionsService(s *Service) *ProjectsLocationsCollectionsEnginesSessionsService
func (*ProjectsLocationsCollectionsEnginesSessionsService) Create ¶ added in v0.173.0
func (r *ProjectsLocationsCollectionsEnginesSessionsService) Create(parent string, googleclouddiscoveryenginev1betasession *GoogleCloudDiscoveryengineV1betaSession) *ProjectsLocationsCollectionsEnginesSessionsCreateCall
Create: Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned.
- parent: Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}`.
func (*ProjectsLocationsCollectionsEnginesSessionsService) Delete ¶ added in v0.173.0
func (r *ProjectsLocationsCollectionsEnginesSessionsService) Delete(name string) *ProjectsLocationsCollectionsEnginesSessionsDeleteCall
Delete: Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned.
- name: The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}/sessions/{session_id}`.
func (*ProjectsLocationsCollectionsEnginesSessionsService) Get ¶ added in v0.173.0
func (r *ProjectsLocationsCollectionsEnginesSessionsService) Get(name string) *ProjectsLocationsCollectionsEnginesSessionsGetCall
Get: Gets a Session.
- name: The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}/sessions/{session_id}`.
func (*ProjectsLocationsCollectionsEnginesSessionsService) List ¶ added in v0.173.0
func (r *ProjectsLocationsCollectionsEnginesSessionsService) List(parent string) *ProjectsLocationsCollectionsEnginesSessionsListCall
List: Lists all Sessions by their parent DataStore.
- parent: The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}`.
func (*ProjectsLocationsCollectionsEnginesSessionsService) Patch ¶ added in v0.173.0
func (r *ProjectsLocationsCollectionsEnginesSessionsService) Patch(name string, googleclouddiscoveryenginev1betasession *GoogleCloudDiscoveryengineV1betaSession) *ProjectsLocationsCollectionsEnginesSessionsPatchCall
Patch: Updates a Session. Session action type cannot be changed. If the Session to update does not exist, a NOT_FOUND error is returned.
- name: Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engi ne}/sessions/*`.
type ProjectsLocationsCollectionsEnginesTuneCall ¶ added in v0.173.0
type ProjectsLocationsCollectionsEnginesTuneCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsEnginesTuneCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesTuneCall) Context(ctx context.Context) *ProjectsLocationsCollectionsEnginesTuneCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsEnginesTuneCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesTuneCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.engines.tune" call. 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 (*ProjectsLocationsCollectionsEnginesTuneCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesTuneCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsEnginesTuneCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsEnginesTuneCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsCollectionsEnginesTuneCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsCollectionsOperationsGetCall ¶ added in v0.112.0
type ProjectsLocationsCollectionsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsOperationsGetCall) Context ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsCollectionsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsOperationsGetCall) Do ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.collections.operations.get" call. 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 (*ProjectsLocationsCollectionsOperationsGetCall) Fields ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsOperationsGetCall) Header ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsOperationsGetCall) IfNoneMatch ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsCollectionsOperationsListCall ¶ added in v0.112.0
type ProjectsLocationsCollectionsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCollectionsOperationsListCall) Context ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsCollectionsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCollectionsOperationsListCall) Do ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "discoveryengine.projects.locations.collections.operations.list" call. 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 (*ProjectsLocationsCollectionsOperationsListCall) Fields ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCollectionsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCollectionsOperationsListCall) Filter ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsOperationsListCall) Filter(filter string) *ProjectsLocationsCollectionsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsCollectionsOperationsListCall) Header ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCollectionsOperationsListCall) IfNoneMatch ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCollectionsOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsCollectionsOperationsListCall) PageSize ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsCollectionsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsCollectionsOperationsListCall) PageToken ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsCollectionsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsCollectionsOperationsListCall) Pages ¶ added in v0.112.0
func (c *ProjectsLocationsCollectionsOperationsListCall) 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 ProjectsLocationsCollectionsOperationsService ¶ added in v0.112.0
type ProjectsLocationsCollectionsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCollectionsOperationsService ¶ added in v0.112.0
func NewProjectsLocationsCollectionsOperationsService(s *Service) *ProjectsLocationsCollectionsOperationsService
func (*ProjectsLocationsCollectionsOperationsService) Get ¶ added in v0.112.0
func (r *ProjectsLocationsCollectionsOperationsService) Get(name string) *ProjectsLocationsCollectionsOperationsGetCall
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 (*ProjectsLocationsCollectionsOperationsService) List ¶ added in v0.112.0
func (r *ProjectsLocationsCollectionsOperationsService) List(name string) *ProjectsLocationsCollectionsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsCollectionsService ¶ added in v0.112.0
type ProjectsLocationsCollectionsService struct { DataConnector *ProjectsLocationsCollectionsDataConnectorService DataStores *ProjectsLocationsCollectionsDataStoresService Engines *ProjectsLocationsCollectionsEnginesService Operations *ProjectsLocationsCollectionsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsCollectionsService ¶ added in v0.112.0
func NewProjectsLocationsCollectionsService(s *Service) *ProjectsLocationsCollectionsService
type ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall ¶ added in v0.193.0
type ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) Context ¶ added in v0.193.0
func (c *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) Do ¶ added in v0.193.0
func (c *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.branches.batchGetDocumentsMetadata" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponse.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 (*ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) Fields ¶ added in v0.193.0
func (c *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) Header ¶ added in v0.193.0
func (c *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) IfNoneMatch ¶ added in v0.193.0
func (c *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) MatcherFhirMatcherFhirResources ¶ added in v0.194.0
func (c *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) MatcherFhirMatcherFhirResources(matcherFhirMatcherFhirResources ...string) *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall
MatcherFhirMatcherFhirResources sets the optional parameter "matcher.fhirMatcher.fhirResources": Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_s tore}/fhir/{resource_type}/{fhir_resource_id}
func (*ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) MatcherUrisMatcherUris ¶ added in v0.193.0
func (c *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall) MatcherUrisMatcherUris(matcherUrisMatcherUris ...string) *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall
MatcherUrisMatcherUris sets the optional parameter "matcher.urisMatcher.uris": The exact URIs to match by.
type ProjectsLocationsDataStoresBranchesDocumentsCreateCall ¶
type ProjectsLocationsDataStoresBranchesDocumentsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresBranchesDocumentsCreateCall) Context ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsCreateCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesDocumentsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresBranchesDocumentsCreateCall) Do ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaDocument, error)
Do executes the "discoveryengine.projects.locations.dataStores.branches.documents.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaDocument.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresBranchesDocumentsCreateCall) DocumentId ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsCreateCall) DocumentId(documentId string) *ProjectsLocationsDataStoresBranchesDocumentsCreateCall
DocumentId sets the optional parameter "documentId": Required. The ID to use for the Document, which becomes the final component of the Document.name. If the caller does not have permission to create the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all Documents with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to RFC-1034 (https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
func (*ProjectsLocationsDataStoresBranchesDocumentsCreateCall) Fields ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesDocumentsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresBranchesDocumentsCreateCall) Header ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresBranchesDocumentsDeleteCall ¶
type ProjectsLocationsDataStoresBranchesDocumentsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresBranchesDocumentsDeleteCall) Context ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesDocumentsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresBranchesDocumentsDeleteCall) Do ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "discoveryengine.projects.locations.dataStores.branches.documents.delete" call. 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 (*ProjectsLocationsDataStoresBranchesDocumentsDeleteCall) Fields ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesDocumentsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresBranchesDocumentsDeleteCall) Header ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresBranchesDocumentsGetCall ¶
type ProjectsLocationsDataStoresBranchesDocumentsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresBranchesDocumentsGetCall) Context ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesDocumentsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresBranchesDocumentsGetCall) Do ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaDocument, error)
Do executes the "discoveryengine.projects.locations.dataStores.branches.documents.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaDocument.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresBranchesDocumentsGetCall) Fields ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesDocumentsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresBranchesDocumentsGetCall) Header ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresBranchesDocumentsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresBranchesDocumentsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsDataStoresBranchesDocumentsImportCall ¶
type ProjectsLocationsDataStoresBranchesDocumentsImportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresBranchesDocumentsImportCall) Context ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsImportCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesDocumentsImportCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresBranchesDocumentsImportCall) Do ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.branches.documents.import" call. 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 (*ProjectsLocationsDataStoresBranchesDocumentsImportCall) Fields ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesDocumentsImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresBranchesDocumentsImportCall) Header ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsImportCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresBranchesDocumentsListCall ¶
type ProjectsLocationsDataStoresBranchesDocumentsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresBranchesDocumentsListCall) Context ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesDocumentsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresBranchesDocumentsListCall) Do ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListDocumentsResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.branches.documents.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListDocumentsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresBranchesDocumentsListCall) Fields ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesDocumentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresBranchesDocumentsListCall) Header ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresBranchesDocumentsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresBranchesDocumentsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsDataStoresBranchesDocumentsListCall) PageSize ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresBranchesDocumentsListCall
PageSize sets the optional parameter "pageSize": Maximum number of Documents to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 are set to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.
func (*ProjectsLocationsDataStoresBranchesDocumentsListCall) PageToken ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresBranchesDocumentsListCall
PageToken sets the optional parameter "pageToken": A page token ListDocumentsResponse.next_page_token, received from a previous DocumentService.ListDocuments call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to DocumentService.ListDocuments must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.
func (*ProjectsLocationsDataStoresBranchesDocumentsListCall) Pages ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListDocumentsResponse) 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 ProjectsLocationsDataStoresBranchesDocumentsPatchCall ¶
type ProjectsLocationsDataStoresBranchesDocumentsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresBranchesDocumentsPatchCall) AllowMissing ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsDataStoresBranchesDocumentsPatchCall
AllowMissing sets the optional parameter "allowMissing": If set to `true` and the Document is not found, a new Document is be created.
func (*ProjectsLocationsDataStoresBranchesDocumentsPatchCall) Context ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsPatchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesDocumentsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresBranchesDocumentsPatchCall) Do ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaDocument, error)
Do executes the "discoveryengine.projects.locations.dataStores.branches.documents.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaDocument.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresBranchesDocumentsPatchCall) Fields ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesDocumentsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresBranchesDocumentsPatchCall) Header ¶
func (c *ProjectsLocationsDataStoresBranchesDocumentsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresBranchesDocumentsPatchCall) UpdateMask ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresBranchesDocumentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDataStoresBranchesDocumentsPatchCall
UpdateMask sets the optional parameter "updateMask": Indicates which fields in the provided imported 'document' to update. If not set, by default updates all fields.
type ProjectsLocationsDataStoresBranchesDocumentsPurgeCall ¶ added in v0.122.0
type ProjectsLocationsDataStoresBranchesDocumentsPurgeCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresBranchesDocumentsPurgeCall) Context ¶ added in v0.122.0
func (c *ProjectsLocationsDataStoresBranchesDocumentsPurgeCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesDocumentsPurgeCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresBranchesDocumentsPurgeCall) Do ¶ added in v0.122.0
func (c *ProjectsLocationsDataStoresBranchesDocumentsPurgeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.branches.documents.purge" call. 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 (*ProjectsLocationsDataStoresBranchesDocumentsPurgeCall) Fields ¶ added in v0.122.0
func (c *ProjectsLocationsDataStoresBranchesDocumentsPurgeCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesDocumentsPurgeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresBranchesDocumentsPurgeCall) Header ¶ added in v0.122.0
func (c *ProjectsLocationsDataStoresBranchesDocumentsPurgeCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresBranchesDocumentsService ¶
type ProjectsLocationsDataStoresBranchesDocumentsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDataStoresBranchesDocumentsService ¶
func NewProjectsLocationsDataStoresBranchesDocumentsService(s *Service) *ProjectsLocationsDataStoresBranchesDocumentsService
func (*ProjectsLocationsDataStoresBranchesDocumentsService) Create ¶
func (r *ProjectsLocationsDataStoresBranchesDocumentsService) Create(parent string, googleclouddiscoveryenginev1betadocument *GoogleCloudDiscoveryengineV1betaDocument) *ProjectsLocationsDataStoresBranchesDocumentsCreateCall
Create: Creates a Document.
- parent: The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/branches/{branch}`.
func (*ProjectsLocationsDataStoresBranchesDocumentsService) Delete ¶
func (r *ProjectsLocationsDataStoresBranchesDocumentsService) Delete(name string) *ProjectsLocationsDataStoresBranchesDocumentsDeleteCall
Delete: Deletes a Document.
- name: Full resource name of Document, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to delete the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the Document to delete does not exist, a `NOT_FOUND` error is returned.
func (*ProjectsLocationsDataStoresBranchesDocumentsService) Get ¶
func (r *ProjectsLocationsDataStoresBranchesDocumentsService) Get(name string) *ProjectsLocationsDataStoresBranchesDocumentsGetCall
Get: Gets a Document.
- name: Full resource name of Document, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/branches/{branch}/documents/{document}`. If the caller does not have permission to access the Document, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested Document does not exist, a `NOT_FOUND` error is returned.
func (*ProjectsLocationsDataStoresBranchesDocumentsService) Import ¶
func (r *ProjectsLocationsDataStoresBranchesDocumentsService) Import(parent string, googleclouddiscoveryenginev1betaimportdocumentsrequest *GoogleCloudDiscoveryengineV1betaImportDocumentsRequest) *ProjectsLocationsDataStoresBranchesDocumentsImportCall
Import: Bulk import of multiple Documents. Request processing may be synchronous. Non-existing items are created. Note: It is possible for a subset of the Documents to be successfully updated.
- parent: The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/branches/{branch}`. Requires create/update permission.
func (*ProjectsLocationsDataStoresBranchesDocumentsService) List ¶
func (r *ProjectsLocationsDataStoresBranchesDocumentsService) List(parent string) *ProjectsLocationsDataStoresBranchesDocumentsListCall
List: Gets a list of Documents.
- parent: The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/branches/{branch}`. Use `default_branch` as the branch ID, to list documents under the default branch. If the caller does not have permission to list Documents under this branch, regardless of whether or not this branch exists, a `PERMISSION_DENIED` error is returned.
func (*ProjectsLocationsDataStoresBranchesDocumentsService) Patch ¶
func (r *ProjectsLocationsDataStoresBranchesDocumentsService) Patch(name string, googleclouddiscoveryenginev1betadocument *GoogleCloudDiscoveryengineV1betaDocument) *ProjectsLocationsDataStoresBranchesDocumentsPatchCall
Patch: Updates a Document.
- name: Immutable. The full resource name of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/branches/{branch}/documents/{document_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
func (*ProjectsLocationsDataStoresBranchesDocumentsService) Purge ¶ added in v0.122.0
func (r *ProjectsLocationsDataStoresBranchesDocumentsService) Purge(parent string, googleclouddiscoveryenginev1betapurgedocumentsrequest *GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest) *ProjectsLocationsDataStoresBranchesDocumentsPurgeCall
Purge: Permanently deletes all selected Documents in a branch. This process is asynchronous. Depending on the number of Documents to be deleted, this operation can take hours to complete. Before the delete operation completes, some Documents might still be returned by DocumentService.GetDocument or DocumentService.ListDocuments. To get a list of the Documents to be deleted, set PurgeDocumentsRequest.force to false.
- parent: The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/branches/{branch}`.
type ProjectsLocationsDataStoresBranchesOperationsCancelCall ¶ added in v0.181.0
type ProjectsLocationsDataStoresBranchesOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresBranchesOperationsCancelCall) Context ¶ added in v0.181.0
func (c *ProjectsLocationsDataStoresBranchesOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresBranchesOperationsCancelCall) Do ¶ added in v0.181.0
func (c *ProjectsLocationsDataStoresBranchesOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "discoveryengine.projects.locations.dataStores.branches.operations.cancel" call. 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 (*ProjectsLocationsDataStoresBranchesOperationsCancelCall) Fields ¶ added in v0.181.0
func (c *ProjectsLocationsDataStoresBranchesOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresBranchesOperationsCancelCall) Header ¶ added in v0.181.0
func (c *ProjectsLocationsDataStoresBranchesOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresBranchesOperationsGetCall ¶
type ProjectsLocationsDataStoresBranchesOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresBranchesOperationsGetCall) Context ¶
func (c *ProjectsLocationsDataStoresBranchesOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresBranchesOperationsGetCall) Do ¶
func (c *ProjectsLocationsDataStoresBranchesOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.branches.operations.get" call. 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 (*ProjectsLocationsDataStoresBranchesOperationsGetCall) Fields ¶
func (c *ProjectsLocationsDataStoresBranchesOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresBranchesOperationsGetCall) Header ¶
func (c *ProjectsLocationsDataStoresBranchesOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresBranchesOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsDataStoresBranchesOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresBranchesOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsDataStoresBranchesOperationsListCall ¶
type ProjectsLocationsDataStoresBranchesOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresBranchesOperationsListCall) Context ¶
func (c *ProjectsLocationsDataStoresBranchesOperationsListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresBranchesOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresBranchesOperationsListCall) Do ¶
func (c *ProjectsLocationsDataStoresBranchesOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.branches.operations.list" call. 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 (*ProjectsLocationsDataStoresBranchesOperationsListCall) Fields ¶
func (c *ProjectsLocationsDataStoresBranchesOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresBranchesOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresBranchesOperationsListCall) Filter ¶
func (c *ProjectsLocationsDataStoresBranchesOperationsListCall) Filter(filter string) *ProjectsLocationsDataStoresBranchesOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsDataStoresBranchesOperationsListCall) Header ¶
func (c *ProjectsLocationsDataStoresBranchesOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresBranchesOperationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsDataStoresBranchesOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresBranchesOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsDataStoresBranchesOperationsListCall) PageSize ¶
func (c *ProjectsLocationsDataStoresBranchesOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresBranchesOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsDataStoresBranchesOperationsListCall) PageToken ¶
func (c *ProjectsLocationsDataStoresBranchesOperationsListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresBranchesOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsDataStoresBranchesOperationsListCall) Pages ¶
func (c *ProjectsLocationsDataStoresBranchesOperationsListCall) 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 ProjectsLocationsDataStoresBranchesOperationsService ¶
type ProjectsLocationsDataStoresBranchesOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDataStoresBranchesOperationsService ¶
func NewProjectsLocationsDataStoresBranchesOperationsService(s *Service) *ProjectsLocationsDataStoresBranchesOperationsService
func (*ProjectsLocationsDataStoresBranchesOperationsService) Cancel ¶ added in v0.181.0
func (r *ProjectsLocationsDataStoresBranchesOperationsService) Cancel(name string, googlelongrunningcanceloperationrequest *GoogleLongrunningCancelOperationRequest) *ProjectsLocationsDataStoresBranchesOperationsCancelCall
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 (*ProjectsLocationsDataStoresBranchesOperationsService) Get ¶
func (r *ProjectsLocationsDataStoresBranchesOperationsService) Get(name string) *ProjectsLocationsDataStoresBranchesOperationsGetCall
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 (*ProjectsLocationsDataStoresBranchesOperationsService) List ¶
func (r *ProjectsLocationsDataStoresBranchesOperationsService) List(name string) *ProjectsLocationsDataStoresBranchesOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsDataStoresBranchesService ¶
type ProjectsLocationsDataStoresBranchesService struct { Documents *ProjectsLocationsDataStoresBranchesDocumentsService Operations *ProjectsLocationsDataStoresBranchesOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsDataStoresBranchesService ¶
func NewProjectsLocationsDataStoresBranchesService(s *Service) *ProjectsLocationsDataStoresBranchesService
func (*ProjectsLocationsDataStoresBranchesService) BatchGetDocumentsMetadata ¶ added in v0.193.0
func (r *ProjectsLocationsDataStoresBranchesService) BatchGetDocumentsMetadata(parent string) *ProjectsLocationsDataStoresBranchesBatchGetDocumentsMetadataCall
BatchGetDocumentsMetadata: Gets index freshness metadata for Documents. Supported for website search only.
- parent: The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/branches/{branch}`.
type ProjectsLocationsDataStoresCompleteQueryCall ¶ added in v0.138.0
type ProjectsLocationsDataStoresCompleteQueryCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresCompleteQueryCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresCompleteQueryCall) Context(ctx context.Context) *ProjectsLocationsDataStoresCompleteQueryCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresCompleteQueryCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresCompleteQueryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaCompleteQueryResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.completeQuery" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaCompleteQueryResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresCompleteQueryCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresCompleteQueryCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresCompleteQueryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresCompleteQueryCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresCompleteQueryCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresCompleteQueryCall) IfNoneMatch ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresCompleteQueryCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresCompleteQueryCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsDataStoresCompleteQueryCall) IncludeTailSuggestions ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresCompleteQueryCall) IncludeTailSuggestions(includeTailSuggestions bool) *ProjectsLocationsDataStoresCompleteQueryCall
IncludeTailSuggestions sets the optional parameter "includeTailSuggestions": Indicates if tail suggestions should be returned if there are no suggestions that match the full query. Even if set to true, if there are suggestions that match the full query, those are returned and no tail suggestions are returned.
func (*ProjectsLocationsDataStoresCompleteQueryCall) Query ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresCompleteQueryCall) Query(query string) *ProjectsLocationsDataStoresCompleteQueryCall
Query sets the optional parameter "query": Required. The typeahead input used to fetch suggestions. Maximum length is 128 characters.
func (*ProjectsLocationsDataStoresCompleteQueryCall) QueryModel ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresCompleteQueryCall) QueryModel(queryModel string) *ProjectsLocationsDataStoresCompleteQueryCall
QueryModel sets the optional parameter "queryModel": Specifies the autocomplete data model. This overrides any model specified in the Configuration > Autocomplete section of the Cloud console. Currently supported values: * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. Default values: * `document` is the default model for regular dataStores. * `search-history` is the default model for site search dataStores.
func (*ProjectsLocationsDataStoresCompleteQueryCall) UserPseudoId ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresCompleteQueryCall) UserPseudoId(userPseudoId string) *ProjectsLocationsDataStoresCompleteQueryCall
UserPseudoId sets the optional parameter "userPseudoId": A unique identifier for tracking visitors. For example, this could be implemented with an HTTP cookie, which should be able to uniquely identify a visitor on a single device. This unique identifier should not change if the visitor logs in or out of the website. This field should NOT have a fixed value such as `unknown_visitor`. This should be the same identifier as UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
type ProjectsLocationsDataStoresCompletionConfigCompleteQueryCall ¶ added in v0.204.0
type ProjectsLocationsDataStoresCompletionConfigCompleteQueryCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresCompletionConfigCompleteQueryCall) Context ¶ added in v0.204.0
func (c *ProjectsLocationsDataStoresCompletionConfigCompleteQueryCall) Context(ctx context.Context) *ProjectsLocationsDataStoresCompletionConfigCompleteQueryCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresCompletionConfigCompleteQueryCall) Do ¶ added in v0.204.0
func (c *ProjectsLocationsDataStoresCompletionConfigCompleteQueryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.completionConfig.completeQuery" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryResponse.ServerResponse .Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresCompletionConfigCompleteQueryCall) Fields ¶ added in v0.204.0
func (c *ProjectsLocationsDataStoresCompletionConfigCompleteQueryCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresCompletionConfigCompleteQueryCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresCompletionConfigCompleteQueryCall) Header ¶ added in v0.204.0
func (c *ProjectsLocationsDataStoresCompletionConfigCompleteQueryCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresCompletionConfigService ¶ added in v0.204.0
type ProjectsLocationsDataStoresCompletionConfigService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDataStoresCompletionConfigService ¶ added in v0.204.0
func NewProjectsLocationsDataStoresCompletionConfigService(s *Service) *ProjectsLocationsDataStoresCompletionConfigService
func (*ProjectsLocationsDataStoresCompletionConfigService) CompleteQuery ¶ added in v0.204.0
func (r *ProjectsLocationsDataStoresCompletionConfigService) CompleteQuery(completionConfig string, googleclouddiscoveryenginev1betaadvancedcompletequeryrequest *GoogleCloudDiscoveryengineV1betaAdvancedCompleteQueryRequest) *ProjectsLocationsDataStoresCompletionConfigCompleteQueryCall
CompleteQuery: Completes the user input with advanced keyword suggestions.
- completionConfig: The completion_config of the parent dataStore or engine resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/*/co mpletionConfig` `projects/*/locations/global/collections/default_collection/engines/*/compl etionConfig`.
type ProjectsLocationsDataStoresCompletionSuggestionsImportCall ¶ added in v0.186.0
type ProjectsLocationsDataStoresCompletionSuggestionsImportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresCompletionSuggestionsImportCall) Context ¶ added in v0.186.0
func (c *ProjectsLocationsDataStoresCompletionSuggestionsImportCall) Context(ctx context.Context) *ProjectsLocationsDataStoresCompletionSuggestionsImportCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresCompletionSuggestionsImportCall) Do ¶ added in v0.186.0
func (c *ProjectsLocationsDataStoresCompletionSuggestionsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.completionSuggestions.import" call. 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 (*ProjectsLocationsDataStoresCompletionSuggestionsImportCall) Fields ¶ added in v0.186.0
func (c *ProjectsLocationsDataStoresCompletionSuggestionsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresCompletionSuggestionsImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresCompletionSuggestionsImportCall) Header ¶ added in v0.186.0
func (c *ProjectsLocationsDataStoresCompletionSuggestionsImportCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall ¶ added in v0.186.0
type ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall) Context ¶ added in v0.186.0
func (c *ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall) Context(ctx context.Context) *ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall) Do ¶ added in v0.186.0
func (c *ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.completionSuggestions.purge" call. 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 (*ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall) Fields ¶ added in v0.186.0
func (c *ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall) Header ¶ added in v0.186.0
func (c *ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresCompletionSuggestionsService ¶ added in v0.186.0
type ProjectsLocationsDataStoresCompletionSuggestionsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDataStoresCompletionSuggestionsService ¶ added in v0.186.0
func NewProjectsLocationsDataStoresCompletionSuggestionsService(s *Service) *ProjectsLocationsDataStoresCompletionSuggestionsService
func (*ProjectsLocationsDataStoresCompletionSuggestionsService) Import ¶ added in v0.186.0
func (r *ProjectsLocationsDataStoresCompletionSuggestionsService) Import(parent string, googleclouddiscoveryenginev1betaimportcompletionsuggestionsrequest *GoogleCloudDiscoveryengineV1betaImportCompletionSuggestionsRequest) *ProjectsLocationsDataStoresCompletionSuggestionsImportCall
Import: Imports CompletionSuggestions for a DataStore.
- parent: The parent data store resource name for which to import customer autocomplete suggestions. Follows pattern `projects/*/locations/*/collections/*/dataStores/*`.
func (*ProjectsLocationsDataStoresCompletionSuggestionsService) Purge ¶ added in v0.186.0
func (r *ProjectsLocationsDataStoresCompletionSuggestionsService) Purge(parent string, googleclouddiscoveryenginev1betapurgecompletionsuggestionsrequest *GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest) *ProjectsLocationsDataStoresCompletionSuggestionsPurgeCall
Purge: Permanently deletes all CompletionSuggestions for a DataStore.
- parent: The parent data store resource name for which to purge completion suggestions. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
type ProjectsLocationsDataStoresControlsCreateCall ¶ added in v0.183.0
type ProjectsLocationsDataStoresControlsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresControlsCreateCall) Context ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsCreateCall) Context(ctx context.Context) *ProjectsLocationsDataStoresControlsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresControlsCreateCall) ControlId ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsCreateCall) ControlId(controlId string) *ProjectsLocationsDataStoresControlsCreateCall
ControlId sets the optional parameter "controlId": Required. The ID to use for the Control, which will become the final component of the Control's resource name. This value must be within 1-63 characters. Valid characters are /a-z-_/.
func (*ProjectsLocationsDataStoresControlsCreateCall) Do ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaControl, error)
Do executes the "discoveryengine.projects.locations.dataStores.controls.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaControl.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresControlsCreateCall) Fields ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresControlsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresControlsCreateCall) Header ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresControlsDeleteCall ¶ added in v0.183.0
type ProjectsLocationsDataStoresControlsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresControlsDeleteCall) Context ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDataStoresControlsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresControlsDeleteCall) Do ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "discoveryengine.projects.locations.dataStores.controls.delete" call. 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 (*ProjectsLocationsDataStoresControlsDeleteCall) Fields ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresControlsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresControlsDeleteCall) Header ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresControlsGetCall ¶ added in v0.183.0
type ProjectsLocationsDataStoresControlsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresControlsGetCall) Context ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresControlsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresControlsGetCall) Do ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaControl, error)
Do executes the "discoveryengine.projects.locations.dataStores.controls.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaControl.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresControlsGetCall) Fields ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresControlsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresControlsGetCall) Header ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresControlsGetCall) IfNoneMatch ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresControlsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsDataStoresControlsListCall ¶ added in v0.183.0
type ProjectsLocationsDataStoresControlsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresControlsListCall) Context ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresControlsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresControlsListCall) Do ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListControlsResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.controls.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListControlsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresControlsListCall) Fields ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresControlsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresControlsListCall) Filter ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsListCall) Filter(filter string) *ProjectsLocationsDataStoresControlsListCall
Filter sets the optional parameter "filter": A filter to apply on the list results. Supported features: * List all the products under the parent branch if filter is unset. Currently this field is unsupported.
func (*ProjectsLocationsDataStoresControlsListCall) Header ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresControlsListCall) IfNoneMatch ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresControlsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsDataStoresControlsListCall) PageSize ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresControlsListCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.
func (*ProjectsLocationsDataStoresControlsListCall) PageToken ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresControlsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page.
func (*ProjectsLocationsDataStoresControlsListCall) Pages ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListControlsResponse) 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 ProjectsLocationsDataStoresControlsPatchCall ¶ added in v0.183.0
type ProjectsLocationsDataStoresControlsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresControlsPatchCall) Context ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsPatchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresControlsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresControlsPatchCall) Do ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaControl, error)
Do executes the "discoveryengine.projects.locations.dataStores.controls.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaControl.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresControlsPatchCall) Fields ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresControlsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresControlsPatchCall) Header ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresControlsPatchCall) UpdateMask ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresControlsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDataStoresControlsPatchCall
UpdateMask sets the optional parameter "updateMask": Indicates which fields in the provided Control to update. The following are NOT supported: * Control.name * Control.solution_type If not set or empty, all supported fields are updated.
type ProjectsLocationsDataStoresControlsService ¶ added in v0.183.0
type ProjectsLocationsDataStoresControlsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDataStoresControlsService ¶ added in v0.183.0
func NewProjectsLocationsDataStoresControlsService(s *Service) *ProjectsLocationsDataStoresControlsService
func (*ProjectsLocationsDataStoresControlsService) Create ¶ added in v0.183.0
func (r *ProjectsLocationsDataStoresControlsService) Create(parent string, googleclouddiscoveryenginev1betacontrol *GoogleCloudDiscoveryengineV1betaControl) *ProjectsLocationsDataStoresControlsCreateCall
Create: Creates a Control. By default 1000 controls are allowed for a data store. A request can be submitted to adjust this limit. If the Control to create already exists, an ALREADY_EXISTS error is returned.
- parent: Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataSt ores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engine s/{engine_id}`.
func (*ProjectsLocationsDataStoresControlsService) Delete ¶ added in v0.183.0
func (r *ProjectsLocationsDataStoresControlsService) Delete(name string) *ProjectsLocationsDataStoresControlsDeleteCall
Delete: Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned.
- name: The resource name of the Control to delete. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataSt ores/{data_store_id}/controls/{control_id}`.
func (*ProjectsLocationsDataStoresControlsService) Get ¶ added in v0.183.0
func (r *ProjectsLocationsDataStoresControlsService) Get(name string) *ProjectsLocationsDataStoresControlsGetCall
Get: Gets a Control.
- name: The resource name of the Control to get. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataSt ores/{data_store_id}/controls/{control_id}`.
func (*ProjectsLocationsDataStoresControlsService) List ¶ added in v0.183.0
func (r *ProjectsLocationsDataStoresControlsService) List(parent string) *ProjectsLocationsDataStoresControlsListCall
List: Lists all Controls by their parent DataStore.
- parent: The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataSt ores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engine s/{engine_id}`.
func (*ProjectsLocationsDataStoresControlsService) Patch ¶ added in v0.183.0
func (r *ProjectsLocationsDataStoresControlsService) Patch(name string, googleclouddiscoveryenginev1betacontrol *GoogleCloudDiscoveryengineV1betaControl) *ProjectsLocationsDataStoresControlsPatchCall
Patch: Updates a Control. Control action type cannot be changed. If the Control to update does not exist, a NOT_FOUND error is returned.
- name: Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/controls/*`.
type ProjectsLocationsDataStoresConversationsConverseCall ¶ added in v0.138.0
type ProjectsLocationsDataStoresConversationsConverseCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresConversationsConverseCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsConverseCall) Context(ctx context.Context) *ProjectsLocationsDataStoresConversationsConverseCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresConversationsConverseCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsConverseCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConverseConversationResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.conversations.converse" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaConverseConversationResponse.ServerResponse. Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresConversationsConverseCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsConverseCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresConversationsConverseCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresConversationsConverseCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsConverseCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresConversationsCreateCall ¶ added in v0.138.0
type ProjectsLocationsDataStoresConversationsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresConversationsCreateCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsCreateCall) Context(ctx context.Context) *ProjectsLocationsDataStoresConversationsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresConversationsCreateCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConversation, error)
Do executes the "discoveryengine.projects.locations.dataStores.conversations.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaConversation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresConversationsCreateCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresConversationsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresConversationsCreateCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresConversationsDeleteCall ¶ added in v0.138.0
type ProjectsLocationsDataStoresConversationsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresConversationsDeleteCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDataStoresConversationsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresConversationsDeleteCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "discoveryengine.projects.locations.dataStores.conversations.delete" call. 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 (*ProjectsLocationsDataStoresConversationsDeleteCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresConversationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresConversationsDeleteCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresConversationsGetCall ¶ added in v0.138.0
type ProjectsLocationsDataStoresConversationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresConversationsGetCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresConversationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresConversationsGetCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConversation, error)
Do executes the "discoveryengine.projects.locations.dataStores.conversations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaConversation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresConversationsGetCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresConversationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresConversationsGetCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresConversationsGetCall) IfNoneMatch ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresConversationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsDataStoresConversationsListCall ¶ added in v0.138.0
type ProjectsLocationsDataStoresConversationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresConversationsListCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresConversationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresConversationsListCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListConversationsResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.conversations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListConversationsResponse.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 (*ProjectsLocationsDataStoresConversationsListCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresConversationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresConversationsListCall) Filter ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsListCall) Filter(filter string) *ProjectsLocationsDataStoresConversationsListCall
Filter sets the optional parameter "filter": A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example: "user_pseudo_id = some_id"
func (*ProjectsLocationsDataStoresConversationsListCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresConversationsListCall) IfNoneMatch ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresConversationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsDataStoresConversationsListCall) OrderBy ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsListCall) OrderBy(orderBy string) *ProjectsLocationsDataStoresConversationsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `conversation_name` Example: "update_time desc" "create_time"
func (*ProjectsLocationsDataStoresConversationsListCall) PageSize ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresConversationsListCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.
func (*ProjectsLocationsDataStoresConversationsListCall) PageToken ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresConversationsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page.
func (*ProjectsLocationsDataStoresConversationsListCall) Pages ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListConversationsResponse) 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 ProjectsLocationsDataStoresConversationsPatchCall ¶ added in v0.138.0
type ProjectsLocationsDataStoresConversationsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresConversationsPatchCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsPatchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresConversationsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresConversationsPatchCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaConversation, error)
Do executes the "discoveryengine.projects.locations.dataStores.conversations.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaConversation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresConversationsPatchCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresConversationsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresConversationsPatchCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresConversationsPatchCall) UpdateMask ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresConversationsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDataStoresConversationsPatchCall
UpdateMask sets the optional parameter "updateMask": Indicates which fields in the provided Conversation to update. The following are NOT supported: * Conversation.name If not set or empty, all supported fields are updated.
type ProjectsLocationsDataStoresConversationsService ¶ added in v0.138.0
type ProjectsLocationsDataStoresConversationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDataStoresConversationsService ¶ added in v0.138.0
func NewProjectsLocationsDataStoresConversationsService(s *Service) *ProjectsLocationsDataStoresConversationsService
func (*ProjectsLocationsDataStoresConversationsService) Converse ¶ added in v0.138.0
func (r *ProjectsLocationsDataStoresConversationsService) Converse(name string, googleclouddiscoveryenginev1betaconverseconversationrequest *GoogleCloudDiscoveryengineV1betaConverseConversationRequest) *ProjectsLocationsDataStoresConversationsConverseCall
Converse: Converses a conversation.
- name: The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session.
func (*ProjectsLocationsDataStoresConversationsService) Create ¶ added in v0.138.0
func (r *ProjectsLocationsDataStoresConversationsService) Create(parent string, googleclouddiscoveryenginev1betaconversation *GoogleCloudDiscoveryengineV1betaConversation) *ProjectsLocationsDataStoresConversationsCreateCall
Create: Creates a Conversation. If the Conversation to create already exists, an ALREADY_EXISTS error is returned.
- parent: Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}`.
func (*ProjectsLocationsDataStoresConversationsService) Delete ¶ added in v0.138.0
func (r *ProjectsLocationsDataStoresConversationsService) Delete(name string) *ProjectsLocationsDataStoresConversationsDeleteCall
Delete: Deletes a Conversation. If the Conversation to delete does not exist, a NOT_FOUND error is returned.
- name: The resource name of the Conversation to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}/conversations/{conversation_id}`.
func (*ProjectsLocationsDataStoresConversationsService) Get ¶ added in v0.138.0
func (r *ProjectsLocationsDataStoresConversationsService) Get(name string) *ProjectsLocationsDataStoresConversationsGetCall
Get: Gets a Conversation.
- name: The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}/conversations/{conversation_id}`.
func (*ProjectsLocationsDataStoresConversationsService) List ¶ added in v0.138.0
func (r *ProjectsLocationsDataStoresConversationsService) List(parent string) *ProjectsLocationsDataStoresConversationsListCall
List: Lists all Conversations by their parent DataStore.
- parent: The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}`.
func (*ProjectsLocationsDataStoresConversationsService) Patch ¶ added in v0.138.0
func (r *ProjectsLocationsDataStoresConversationsService) Patch(name string, googleclouddiscoveryenginev1betaconversation *GoogleCloudDiscoveryengineV1betaConversation) *ProjectsLocationsDataStoresConversationsPatchCall
Patch: Updates a Conversation. Conversation action type cannot be changed. If the Conversation to update does not exist, a NOT_FOUND error is returned.
- name: Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/dataStore/*/c onversations/*` or `projects/{project}/locations/global/collections/{collection}/engines/*/con versations/*`.
type ProjectsLocationsDataStoresCreateCall ¶ added in v0.158.0
type ProjectsLocationsDataStoresCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresCreateCall) CmekConfigName ¶ added in v0.202.0
func (c *ProjectsLocationsDataStoresCreateCall) CmekConfigName(cmekConfigName string) *ProjectsLocationsDataStoresCreateCall
CmekConfigName sets the optional parameter "cmekConfigName": Resource name of the CmekConfig to use for protecting this DataStore.
func (*ProjectsLocationsDataStoresCreateCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresCreateCall) Context(ctx context.Context) *ProjectsLocationsDataStoresCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresCreateCall) CreateAdvancedSiteSearch ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresCreateCall) CreateAdvancedSiteSearch(createAdvancedSiteSearch bool) *ProjectsLocationsDataStoresCreateCall
CreateAdvancedSiteSearch sets the optional parameter "createAdvancedSiteSearch": A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored.
func (*ProjectsLocationsDataStoresCreateCall) DataStoreId ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresCreateCall) DataStoreId(dataStoreId string) *ProjectsLocationsDataStoresCreateCall
DataStoreId sets the optional parameter "dataStoreId": Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to RFC-1034 (https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
func (*ProjectsLocationsDataStoresCreateCall) DisableCmek ¶ added in v0.202.0
func (c *ProjectsLocationsDataStoresCreateCall) DisableCmek(disableCmek bool) *ProjectsLocationsDataStoresCreateCall
DisableCmek sets the optional parameter "disableCmek": DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.
func (*ProjectsLocationsDataStoresCreateCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.create" call. 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 (*ProjectsLocationsDataStoresCreateCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresCreateCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresCreateCall) SkipDefaultSchemaCreation ¶ added in v0.190.0
func (c *ProjectsLocationsDataStoresCreateCall) SkipDefaultSchemaCreation(skipDefaultSchemaCreation bool) *ProjectsLocationsDataStoresCreateCall
SkipDefaultSchemaCreation sets the optional parameter "skipDefaultSchemaCreation": A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if `data_store.starting_schema` is specified.
type ProjectsLocationsDataStoresDeleteCall ¶ added in v0.158.0
type ProjectsLocationsDataStoresDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresDeleteCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresDeleteCall) Context(ctx context.Context) *ProjectsLocationsDataStoresDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresDeleteCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.delete" call. 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 (*ProjectsLocationsDataStoresDeleteCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresDeleteCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresGetCall ¶ added in v0.158.0
type ProjectsLocationsDataStoresGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresGetCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresGetCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaDataStore, error)
Do executes the "discoveryengine.projects.locations.dataStores.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaDataStore.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresGetCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresGetCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresGetCall) IfNoneMatch ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsDataStoresGetSiteSearchEngineCall ¶ added in v0.158.0
type ProjectsLocationsDataStoresGetSiteSearchEngineCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresGetSiteSearchEngineCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresGetSiteSearchEngineCall) Context(ctx context.Context) *ProjectsLocationsDataStoresGetSiteSearchEngineCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresGetSiteSearchEngineCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresGetSiteSearchEngineCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSiteSearchEngine, error)
Do executes the "discoveryengine.projects.locations.dataStores.getSiteSearchEngine" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSiteSearchEngine.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresGetSiteSearchEngineCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresGetSiteSearchEngineCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresGetSiteSearchEngineCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresGetSiteSearchEngineCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresGetSiteSearchEngineCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresGetSiteSearchEngineCall) IfNoneMatch ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresGetSiteSearchEngineCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresGetSiteSearchEngineCall
IfNoneMatch sets an 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.
type ProjectsLocationsDataStoresListCall ¶ added in v0.158.0
type ProjectsLocationsDataStoresListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresListCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresListCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListDataStoresResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListDataStoresResponse.ServerResponse.Header
or (if a response was returned at all) in error.(*googleapi.Error).Header.
Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresListCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresListCall) Filter ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresListCall) Filter(filter string) *ProjectsLocationsDataStoresListCall
Filter sets the optional parameter "filter": Filter by solution type . For example: `filter = 'solution_type:SOLUTION_TYPE_SEARCH'`
func (*ProjectsLocationsDataStoresListCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresListCall) IfNoneMatch ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsDataStoresListCall) PageSize ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresListCall
PageSize sets the optional parameter "pageSize": Maximum number of DataStores to return. If unspecified, defaults to 10. The maximum allowed value is 50. Values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT is returned.
func (*ProjectsLocationsDataStoresListCall) PageToken ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresListCall
PageToken sets the optional parameter "pageToken": A page token ListDataStoresResponse.next_page_token, received from a previous DataStoreService.ListDataStores call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to DataStoreService.ListDataStores must match the call that provided the page token. Otherwise, an INVALID_ARGUMENT error is returned.
func (*ProjectsLocationsDataStoresListCall) Pages ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListDataStoresResponse) 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 ProjectsLocationsDataStoresModelsOperationsGetCall ¶
type ProjectsLocationsDataStoresModelsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresModelsOperationsGetCall) Context ¶
func (c *ProjectsLocationsDataStoresModelsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresModelsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresModelsOperationsGetCall) Do ¶
func (c *ProjectsLocationsDataStoresModelsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.models.operations.get" call. 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 (*ProjectsLocationsDataStoresModelsOperationsGetCall) Fields ¶
func (c *ProjectsLocationsDataStoresModelsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresModelsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresModelsOperationsGetCall) Header ¶
func (c *ProjectsLocationsDataStoresModelsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresModelsOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsDataStoresModelsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresModelsOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsDataStoresModelsOperationsListCall ¶
type ProjectsLocationsDataStoresModelsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresModelsOperationsListCall) Context ¶
func (c *ProjectsLocationsDataStoresModelsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresModelsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresModelsOperationsListCall) Do ¶
func (c *ProjectsLocationsDataStoresModelsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.models.operations.list" call. 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 (*ProjectsLocationsDataStoresModelsOperationsListCall) Fields ¶
func (c *ProjectsLocationsDataStoresModelsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresModelsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresModelsOperationsListCall) Filter ¶
func (c *ProjectsLocationsDataStoresModelsOperationsListCall) Filter(filter string) *ProjectsLocationsDataStoresModelsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsDataStoresModelsOperationsListCall) Header ¶
func (c *ProjectsLocationsDataStoresModelsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresModelsOperationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsDataStoresModelsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresModelsOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsDataStoresModelsOperationsListCall) PageSize ¶
func (c *ProjectsLocationsDataStoresModelsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresModelsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsDataStoresModelsOperationsListCall) PageToken ¶
func (c *ProjectsLocationsDataStoresModelsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresModelsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsDataStoresModelsOperationsListCall) Pages ¶
func (c *ProjectsLocationsDataStoresModelsOperationsListCall) 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 ProjectsLocationsDataStoresModelsOperationsService ¶
type ProjectsLocationsDataStoresModelsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDataStoresModelsOperationsService ¶
func NewProjectsLocationsDataStoresModelsOperationsService(s *Service) *ProjectsLocationsDataStoresModelsOperationsService
func (*ProjectsLocationsDataStoresModelsOperationsService) Get ¶
func (r *ProjectsLocationsDataStoresModelsOperationsService) Get(name string) *ProjectsLocationsDataStoresModelsOperationsGetCall
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 (*ProjectsLocationsDataStoresModelsOperationsService) List ¶
func (r *ProjectsLocationsDataStoresModelsOperationsService) List(name string) *ProjectsLocationsDataStoresModelsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsDataStoresModelsService ¶
type ProjectsLocationsDataStoresModelsService struct { Operations *ProjectsLocationsDataStoresModelsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsDataStoresModelsService ¶
func NewProjectsLocationsDataStoresModelsService(s *Service) *ProjectsLocationsDataStoresModelsService
type ProjectsLocationsDataStoresOperationsGetCall ¶
type ProjectsLocationsDataStoresOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresOperationsGetCall) Context ¶
func (c *ProjectsLocationsDataStoresOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresOperationsGetCall) Do ¶
func (c *ProjectsLocationsDataStoresOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.operations.get" call. 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 (*ProjectsLocationsDataStoresOperationsGetCall) Fields ¶
func (c *ProjectsLocationsDataStoresOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresOperationsGetCall) Header ¶
func (c *ProjectsLocationsDataStoresOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsDataStoresOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsDataStoresOperationsListCall ¶
type ProjectsLocationsDataStoresOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresOperationsListCall) Context ¶
func (c *ProjectsLocationsDataStoresOperationsListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresOperationsListCall) Do ¶
func (c *ProjectsLocationsDataStoresOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.operations.list" call. 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 (*ProjectsLocationsDataStoresOperationsListCall) Fields ¶
func (c *ProjectsLocationsDataStoresOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresOperationsListCall) Filter ¶
func (c *ProjectsLocationsDataStoresOperationsListCall) Filter(filter string) *ProjectsLocationsDataStoresOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsDataStoresOperationsListCall) Header ¶
func (c *ProjectsLocationsDataStoresOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresOperationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsDataStoresOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsDataStoresOperationsListCall) PageSize ¶
func (c *ProjectsLocationsDataStoresOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsDataStoresOperationsListCall) PageToken ¶
func (c *ProjectsLocationsDataStoresOperationsListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsDataStoresOperationsListCall) Pages ¶
func (c *ProjectsLocationsDataStoresOperationsListCall) 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 ProjectsLocationsDataStoresOperationsService ¶
type ProjectsLocationsDataStoresOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDataStoresOperationsService ¶
func NewProjectsLocationsDataStoresOperationsService(s *Service) *ProjectsLocationsDataStoresOperationsService
func (*ProjectsLocationsDataStoresOperationsService) Get ¶
func (r *ProjectsLocationsDataStoresOperationsService) Get(name string) *ProjectsLocationsDataStoresOperationsGetCall
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 (*ProjectsLocationsDataStoresOperationsService) List ¶
func (r *ProjectsLocationsDataStoresOperationsService) List(name string) *ProjectsLocationsDataStoresOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsDataStoresPatchCall ¶ added in v0.158.0
type ProjectsLocationsDataStoresPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresPatchCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresPatchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresPatchCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaDataStore, error)
Do executes the "discoveryengine.projects.locations.dataStores.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaDataStore.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresPatchCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresPatchCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresPatchCall) UpdateMask ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDataStoresPatchCall
UpdateMask sets the optional parameter "updateMask": Indicates which fields in the provided DataStore to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
type ProjectsLocationsDataStoresSchemasCreateCall ¶ added in v0.138.0
type ProjectsLocationsDataStoresSchemasCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSchemasCreateCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasCreateCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSchemasCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSchemasCreateCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.schemas.create" call. 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 (*ProjectsLocationsDataStoresSchemasCreateCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSchemasCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSchemasCreateCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresSchemasCreateCall) SchemaId ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasCreateCall) SchemaId(schemaId string) *ProjectsLocationsDataStoresSchemasCreateCall
SchemaId sets the optional parameter "schemaId": Required. The ID to use for the Schema, which becomes the final component of the Schema.name. This field should conform to RFC-1034 (https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters.
type ProjectsLocationsDataStoresSchemasDeleteCall ¶ added in v0.138.0
type ProjectsLocationsDataStoresSchemasDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSchemasDeleteCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasDeleteCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSchemasDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSchemasDeleteCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.schemas.delete" call. 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 (*ProjectsLocationsDataStoresSchemasDeleteCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSchemasDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSchemasDeleteCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresSchemasGetCall ¶ added in v0.138.0
type ProjectsLocationsDataStoresSchemasGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSchemasGetCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSchemasGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSchemasGetCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSchema, error)
Do executes the "discoveryengine.projects.locations.dataStores.schemas.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSchema.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresSchemasGetCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSchemasGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSchemasGetCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresSchemasGetCall) IfNoneMatch ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresSchemasGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsDataStoresSchemasListCall ¶ added in v0.138.0
type ProjectsLocationsDataStoresSchemasListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSchemasListCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSchemasListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSchemasListCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListSchemasResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.schemas.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListSchemasResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresSchemasListCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSchemasListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSchemasListCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresSchemasListCall) IfNoneMatch ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresSchemasListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsDataStoresSchemasListCall) PageSize ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresSchemasListCall
PageSize sets the optional parameter "pageSize": The maximum number of Schemas to return. The service may return fewer than this value. If unspecified, at most 100 Schemas are returned. The maximum value is 1000; values above 1000 are set to 1000.
func (*ProjectsLocationsDataStoresSchemasListCall) PageToken ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresSchemasListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous SchemaService.ListSchemas call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SchemaService.ListSchemas must match the call that provided the page token.
func (*ProjectsLocationsDataStoresSchemasListCall) Pages ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListSchemasResponse) 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 ProjectsLocationsDataStoresSchemasPatchCall ¶ added in v0.138.0
type ProjectsLocationsDataStoresSchemasPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSchemasPatchCall) AllowMissing ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsDataStoresSchemasPatchCall
AllowMissing sets the optional parameter "allowMissing": If set to true, and the Schema is not found, a new Schema is created. In this situation, `update_mask` is ignored.
func (*ProjectsLocationsDataStoresSchemasPatchCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasPatchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSchemasPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSchemasPatchCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.schemas.patch" call. 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 (*ProjectsLocationsDataStoresSchemasPatchCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSchemasPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSchemasPatchCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresSchemasPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresSchemasService ¶ added in v0.138.0
type ProjectsLocationsDataStoresSchemasService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDataStoresSchemasService ¶ added in v0.138.0
func NewProjectsLocationsDataStoresSchemasService(s *Service) *ProjectsLocationsDataStoresSchemasService
func (*ProjectsLocationsDataStoresSchemasService) Create ¶ added in v0.138.0
func (r *ProjectsLocationsDataStoresSchemasService) Create(parent string, googleclouddiscoveryenginev1betaschema *GoogleCloudDiscoveryengineV1betaSchema) *ProjectsLocationsDataStoresSchemasCreateCall
Create: Creates a Schema.
- parent: The parent data store resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}`.
func (*ProjectsLocationsDataStoresSchemasService) Delete ¶ added in v0.138.0
func (r *ProjectsLocationsDataStoresSchemasService) Delete(name string) *ProjectsLocationsDataStoresSchemasDeleteCall
Delete: Deletes a Schema.
- name: The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/schemas/{schema}`.
func (*ProjectsLocationsDataStoresSchemasService) Get ¶ added in v0.138.0
func (r *ProjectsLocationsDataStoresSchemasService) Get(name string) *ProjectsLocationsDataStoresSchemasGetCall
Get: Gets a Schema.
- name: The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/schemas/{schema}`.
func (*ProjectsLocationsDataStoresSchemasService) List ¶ added in v0.138.0
func (r *ProjectsLocationsDataStoresSchemasService) List(parent string) *ProjectsLocationsDataStoresSchemasListCall
List: Gets a list of Schemas.
- parent: The parent data store resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}`.
func (*ProjectsLocationsDataStoresSchemasService) Patch ¶ added in v0.138.0
func (r *ProjectsLocationsDataStoresSchemasService) Patch(name string, googleclouddiscoveryenginev1betaschema *GoogleCloudDiscoveryengineV1betaSchema) *ProjectsLocationsDataStoresSchemasPatchCall
Patch: Updates a Schema.
- name: Immutable. The full resource name of the schema, in the format of `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/schemas/{schema}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
type ProjectsLocationsDataStoresService ¶
type ProjectsLocationsDataStoresService struct { Branches *ProjectsLocationsDataStoresBranchesService CompletionConfig *ProjectsLocationsDataStoresCompletionConfigService CompletionSuggestions *ProjectsLocationsDataStoresCompletionSuggestionsService Controls *ProjectsLocationsDataStoresControlsService Conversations *ProjectsLocationsDataStoresConversationsService Models *ProjectsLocationsDataStoresModelsService Operations *ProjectsLocationsDataStoresOperationsService Schemas *ProjectsLocationsDataStoresSchemasService ServingConfigs *ProjectsLocationsDataStoresServingConfigsService Sessions *ProjectsLocationsDataStoresSessionsService SiteSearchEngine *ProjectsLocationsDataStoresSiteSearchEngineService SuggestionDenyListEntries *ProjectsLocationsDataStoresSuggestionDenyListEntriesService UserEvents *ProjectsLocationsDataStoresUserEventsService // contains filtered or unexported fields }
func NewProjectsLocationsDataStoresService ¶
func NewProjectsLocationsDataStoresService(s *Service) *ProjectsLocationsDataStoresService
func (*ProjectsLocationsDataStoresService) CompleteQuery ¶ added in v0.138.0
func (r *ProjectsLocationsDataStoresService) CompleteQuery(dataStore string) *ProjectsLocationsDataStoresCompleteQueryCall
CompleteQuery: Completes the specified user input with keyword suggestions.
- dataStore: The parent data store resource name for which the completion is performed, such as `projects/*/locations/global/collections/default_collection/dataStores/defa ult_data_store`.
func (*ProjectsLocationsDataStoresService) Create ¶ added in v0.158.0
func (r *ProjectsLocationsDataStoresService) Create(parent string, googleclouddiscoveryenginev1betadatastore *GoogleCloudDiscoveryengineV1betaDataStore) *ProjectsLocationsDataStoresCreateCall
Create: Creates a DataStore. DataStore is for storing Documents. To serve these documents for Search, or Recommendation use case, an Engine needs to be created separately.
- parent: The parent resource name, such as `projects/{project}/locations/{location}/collections/{collection}`.
func (*ProjectsLocationsDataStoresService) Delete ¶ added in v0.158.0
func (r *ProjectsLocationsDataStoresService) Delete(name string) *ProjectsLocationsDataStoresDeleteCall
Delete: Deletes a DataStore.
- name: Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataSt ores/{data_store_id}`. If the caller does not have permission to delete the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the DataStore to delete does not exist, a NOT_FOUND error is returned.
func (*ProjectsLocationsDataStoresService) Get ¶ added in v0.158.0
func (r *ProjectsLocationsDataStoresService) Get(name string) *ProjectsLocationsDataStoresGetCall
Get: Gets a DataStore.
- name: Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataSt ores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned.
func (*ProjectsLocationsDataStoresService) GetSiteSearchEngine ¶ added in v0.158.0
func (r *ProjectsLocationsDataStoresService) GetSiteSearchEngine(name string) *ProjectsLocationsDataStoresGetSiteSearchEngineCall
GetSiteSearchEngine: Gets the SiteSearchEngine.
- name: Resource name of SiteSearchEngine, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/siteSearchEngine`. If the caller does not have permission to access the [SiteSearchEngine], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
func (*ProjectsLocationsDataStoresService) List ¶ added in v0.158.0
func (r *ProjectsLocationsDataStoresService) List(parent string) *ProjectsLocationsDataStoresListCall
List: Lists all the DataStores associated with the project.
- parent: The parent branch resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}`. If the caller does not have permission to list DataStores under this location, regardless of whether or not this data store exists, a PERMISSION_DENIED error is returned.
func (*ProjectsLocationsDataStoresService) Patch ¶ added in v0.158.0
func (r *ProjectsLocationsDataStoresService) Patch(name string, googleclouddiscoveryenginev1betadatastore *GoogleCloudDiscoveryengineV1betaDataStore) *ProjectsLocationsDataStoresPatchCall
Patch: Updates a DataStore
- name: Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataSt ores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
type ProjectsLocationsDataStoresServingConfigsAnswerCall ¶ added in v0.173.0
type ProjectsLocationsDataStoresServingConfigsAnswerCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresServingConfigsAnswerCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresServingConfigsAnswerCall) Context(ctx context.Context) *ProjectsLocationsDataStoresServingConfigsAnswerCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresServingConfigsAnswerCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresServingConfigsAnswerCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAnswerQueryResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.servingConfigs.answer" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaAnswerQueryResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresServingConfigsAnswerCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresServingConfigsAnswerCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresServingConfigsAnswerCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresServingConfigsAnswerCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresServingConfigsAnswerCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresServingConfigsGetCall ¶ added in v0.163.0
type ProjectsLocationsDataStoresServingConfigsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresServingConfigsGetCall) Context ¶ added in v0.163.0
func (c *ProjectsLocationsDataStoresServingConfigsGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresServingConfigsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresServingConfigsGetCall) Do ¶ added in v0.163.0
func (c *ProjectsLocationsDataStoresServingConfigsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaServingConfig, error)
Do executes the "discoveryengine.projects.locations.dataStores.servingConfigs.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaServingConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresServingConfigsGetCall) Fields ¶ added in v0.163.0
func (c *ProjectsLocationsDataStoresServingConfigsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresServingConfigsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresServingConfigsGetCall) Header ¶ added in v0.163.0
func (c *ProjectsLocationsDataStoresServingConfigsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresServingConfigsGetCall) IfNoneMatch ¶ added in v0.163.0
func (c *ProjectsLocationsDataStoresServingConfigsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresServingConfigsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsDataStoresServingConfigsListCall ¶ added in v0.163.0
type ProjectsLocationsDataStoresServingConfigsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresServingConfigsListCall) Context ¶ added in v0.163.0
func (c *ProjectsLocationsDataStoresServingConfigsListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresServingConfigsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresServingConfigsListCall) Do ¶ added in v0.163.0
func (c *ProjectsLocationsDataStoresServingConfigsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListServingConfigsResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.servingConfigs.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListServingConfigsResponse.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 (*ProjectsLocationsDataStoresServingConfigsListCall) Fields ¶ added in v0.163.0
func (c *ProjectsLocationsDataStoresServingConfigsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresServingConfigsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresServingConfigsListCall) Header ¶ added in v0.163.0
func (c *ProjectsLocationsDataStoresServingConfigsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresServingConfigsListCall) IfNoneMatch ¶ added in v0.163.0
func (c *ProjectsLocationsDataStoresServingConfigsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresServingConfigsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsDataStoresServingConfigsListCall) PageSize ¶ added in v0.163.0
func (c *ProjectsLocationsDataStoresServingConfigsListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresServingConfigsListCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. If unspecified, defaults to 100. If a value greater than 100 is provided, at most 100 results are returned.
func (*ProjectsLocationsDataStoresServingConfigsListCall) PageToken ¶ added in v0.163.0
func (c *ProjectsLocationsDataStoresServingConfigsListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresServingConfigsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page.
func (*ProjectsLocationsDataStoresServingConfigsListCall) Pages ¶ added in v0.163.0
func (c *ProjectsLocationsDataStoresServingConfigsListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListServingConfigsResponse) 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 ProjectsLocationsDataStoresServingConfigsPatchCall ¶ added in v0.163.0
type ProjectsLocationsDataStoresServingConfigsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresServingConfigsPatchCall) Context ¶ added in v0.163.0
func (c *ProjectsLocationsDataStoresServingConfigsPatchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresServingConfigsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresServingConfigsPatchCall) Do ¶ added in v0.163.0
func (c *ProjectsLocationsDataStoresServingConfigsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaServingConfig, error)
Do executes the "discoveryengine.projects.locations.dataStores.servingConfigs.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaServingConfig.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresServingConfigsPatchCall) Fields ¶ added in v0.163.0
func (c *ProjectsLocationsDataStoresServingConfigsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresServingConfigsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresServingConfigsPatchCall) Header ¶ added in v0.163.0
func (c *ProjectsLocationsDataStoresServingConfigsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresServingConfigsPatchCall) UpdateMask ¶ added in v0.163.0
func (c *ProjectsLocationsDataStoresServingConfigsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDataStoresServingConfigsPatchCall
UpdateMask sets the optional parameter "updateMask": Indicates which fields in the provided ServingConfig to update. The following are NOT supported: * ServingConfig.name If not set, all supported fields are updated.
type ProjectsLocationsDataStoresServingConfigsRecommendCall ¶
type ProjectsLocationsDataStoresServingConfigsRecommendCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresServingConfigsRecommendCall) Context ¶
func (c *ProjectsLocationsDataStoresServingConfigsRecommendCall) Context(ctx context.Context) *ProjectsLocationsDataStoresServingConfigsRecommendCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresServingConfigsRecommendCall) Do ¶
func (c *ProjectsLocationsDataStoresServingConfigsRecommendCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaRecommendResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.servingConfigs.recommend" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaRecommendResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresServingConfigsRecommendCall) Fields ¶
func (c *ProjectsLocationsDataStoresServingConfigsRecommendCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresServingConfigsRecommendCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresServingConfigsRecommendCall) Header ¶
func (c *ProjectsLocationsDataStoresServingConfigsRecommendCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresServingConfigsSearchCall ¶ added in v0.138.0
type ProjectsLocationsDataStoresServingConfigsSearchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresServingConfigsSearchCall) Context ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresServingConfigsSearchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresServingConfigsSearchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresServingConfigsSearchCall) Do ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresServingConfigsSearchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSearchResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.servingConfigs.search" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSearchResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresServingConfigsSearchCall) Fields ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresServingConfigsSearchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresServingConfigsSearchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresServingConfigsSearchCall) Header ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresServingConfigsSearchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresServingConfigsSearchCall) Pages ¶ added in v0.138.0
func (c *ProjectsLocationsDataStoresServingConfigsSearchCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaSearchResponse) 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 ProjectsLocationsDataStoresServingConfigsSearchLiteCall ¶ added in v0.204.0
type ProjectsLocationsDataStoresServingConfigsSearchLiteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresServingConfigsSearchLiteCall) Context ¶ added in v0.204.0
func (c *ProjectsLocationsDataStoresServingConfigsSearchLiteCall) Context(ctx context.Context) *ProjectsLocationsDataStoresServingConfigsSearchLiteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresServingConfigsSearchLiteCall) Do ¶ added in v0.204.0
func (c *ProjectsLocationsDataStoresServingConfigsSearchLiteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSearchResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.servingConfigs.searchLite" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSearchResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresServingConfigsSearchLiteCall) Fields ¶ added in v0.204.0
func (c *ProjectsLocationsDataStoresServingConfigsSearchLiteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresServingConfigsSearchLiteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresServingConfigsSearchLiteCall) Header ¶ added in v0.204.0
func (c *ProjectsLocationsDataStoresServingConfigsSearchLiteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresServingConfigsSearchLiteCall) Pages ¶ added in v0.204.0
func (c *ProjectsLocationsDataStoresServingConfigsSearchLiteCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaSearchResponse) 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 ProjectsLocationsDataStoresServingConfigsService ¶
type ProjectsLocationsDataStoresServingConfigsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDataStoresServingConfigsService ¶
func NewProjectsLocationsDataStoresServingConfigsService(s *Service) *ProjectsLocationsDataStoresServingConfigsService
func (*ProjectsLocationsDataStoresServingConfigsService) Answer ¶ added in v0.173.0
func (r *ProjectsLocationsDataStoresServingConfigsService) Answer(servingConfig string, googleclouddiscoveryenginev1betaanswerqueryrequest *GoogleCloudDiscoveryengineV1betaAnswerQueryRequest) *ProjectsLocationsDataStoresServingConfigsAnswerCall
Answer: Answer query method.
- servingConfig: The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servi ngConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/se rvingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.
func (*ProjectsLocationsDataStoresServingConfigsService) Get ¶ added in v0.163.0
func (r *ProjectsLocationsDataStoresServingConfigsService) Get(name string) *ProjectsLocationsDataStoresServingConfigsGetCall
Get: Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.
- name: The resource name of the ServingConfig to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{ engine}/servingConfigs/{serving_config_id}`.
func (*ProjectsLocationsDataStoresServingConfigsService) List ¶ added in v0.163.0
func (r *ProjectsLocationsDataStoresServingConfigsService) List(parent string) *ProjectsLocationsDataStoresServingConfigsListCall
List: Lists all ServingConfigs linked to this dataStore.
- parent: Full resource name of the parent resource. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{ engine}`.
func (*ProjectsLocationsDataStoresServingConfigsService) Patch ¶ added in v0.163.0
func (r *ProjectsLocationsDataStoresServingConfigsService) Patch(name string, googleclouddiscoveryenginev1betaservingconfig *GoogleCloudDiscoveryengineV1betaServingConfig) *ProjectsLocationsDataStoresServingConfigsPatchCall
Patch: Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.
- name: Immutable. Fully qualified name `projects/{project}/locations/{location}/collections/{collection_id}/engine s/{engine_id}/servingConfigs/{serving_config_id}`.
func (*ProjectsLocationsDataStoresServingConfigsService) Recommend ¶
func (r *ProjectsLocationsDataStoresServingConfigsService) Recommend(servingConfig string, googleclouddiscoveryenginev1betarecommendrequest *GoogleCloudDiscoveryengineV1betaRecommendRequest) *ProjectsLocationsDataStoresServingConfigsRecommendCall
Recommend: Makes a recommendation, which requires a contextual user event.
- servingConfig: Full resource name of a ServingConfig: `projects/*/locations/global/collections/*/engines/*/servingConfigs/*`, or `projects/*/locations/global/collections/*/dataStores/*/servingConfigs/*` One default serving config is created along with your recommendation engine creation. The engine ID is used as the ID of the default serving config. For example, for Engine `projects/*/locations/global/collections/*/engines/my-engine`, you can use `projects/*/locations/global/collections/*/engines/my-engine/servingConfigs /my-engine` for your RecommendationService.Recommend requests.
func (*ProjectsLocationsDataStoresServingConfigsService) Search ¶ added in v0.138.0
func (r *ProjectsLocationsDataStoresServingConfigsService) Search(servingConfig string, googleclouddiscoveryenginev1betasearchrequest *GoogleCloudDiscoveryengineV1betaSearchRequest) *ProjectsLocationsDataStoresServingConfigsSearchCall
Search: Performs a search.
- servingConfig: The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servi ngConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/defa ult_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.
func (*ProjectsLocationsDataStoresServingConfigsService) SearchLite ¶ added in v0.204.0
func (r *ProjectsLocationsDataStoresServingConfigsService) SearchLite(servingConfig string, googleclouddiscoveryenginev1betasearchrequest *GoogleCloudDiscoveryengineV1betaSearchRequest) *ProjectsLocationsDataStoresServingConfigsSearchLiteCall
SearchLite: Performs a search. Similar to the SearchService.Search method, but a lite version that allows API key for authentication, where OAuth and IAM checks are not required. Only public website search is supported by this method. If data stores and engines not associated with public website search are specified, a `FAILED_PRECONDITION` error is returned. This method can be used for easy onboarding without having to implement an authentication backend. However, it is strongly recommended to use SearchService.Search instead with required OAuth and IAM checks to provide better data security.
- servingConfig: The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servi ngConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/defa ult_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.
func (*ProjectsLocationsDataStoresServingConfigsService) StreamAnswer ¶ added in v0.211.0
func (r *ProjectsLocationsDataStoresServingConfigsService) StreamAnswer(servingConfig string, googleclouddiscoveryenginev1betaanswerqueryrequest *GoogleCloudDiscoveryengineV1betaAnswerQueryRequest) *ProjectsLocationsDataStoresServingConfigsStreamAnswerCall
StreamAnswer: Answer query method (streaming). It takes one AnswerQueryRequest and returns multiple AnswerQueryResponse messages in a stream.
- servingConfig: The resource name of the Search serving config, such as `projects/*/locations/global/collections/default_collection/engines/*/servi ngConfigs/default_serving_config`, or `projects/*/locations/global/collections/default_collection/dataStores/*/se rvingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search.
type ProjectsLocationsDataStoresServingConfigsStreamAnswerCall ¶ added in v0.211.0
type ProjectsLocationsDataStoresServingConfigsStreamAnswerCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresServingConfigsStreamAnswerCall) Context ¶ added in v0.211.0
func (c *ProjectsLocationsDataStoresServingConfigsStreamAnswerCall) Context(ctx context.Context) *ProjectsLocationsDataStoresServingConfigsStreamAnswerCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresServingConfigsStreamAnswerCall) Do ¶ added in v0.211.0
func (c *ProjectsLocationsDataStoresServingConfigsStreamAnswerCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAnswerQueryResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.servingConfigs.streamAnswer" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaAnswerQueryResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresServingConfigsStreamAnswerCall) Fields ¶ added in v0.211.0
func (c *ProjectsLocationsDataStoresServingConfigsStreamAnswerCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresServingConfigsStreamAnswerCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresServingConfigsStreamAnswerCall) Header ¶ added in v0.211.0
func (c *ProjectsLocationsDataStoresServingConfigsStreamAnswerCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresSessionsAnswersGetCall ¶ added in v0.173.0
type ProjectsLocationsDataStoresSessionsAnswersGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSessionsAnswersGetCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsAnswersGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSessionsAnswersGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSessionsAnswersGetCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsAnswersGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaAnswer, error)
Do executes the "discoveryengine.projects.locations.dataStores.sessions.answers.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaAnswer.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresSessionsAnswersGetCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsAnswersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSessionsAnswersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSessionsAnswersGetCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsAnswersGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresSessionsAnswersGetCall) IfNoneMatch ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsAnswersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresSessionsAnswersGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsDataStoresSessionsAnswersService ¶ added in v0.173.0
type ProjectsLocationsDataStoresSessionsAnswersService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDataStoresSessionsAnswersService ¶ added in v0.173.0
func NewProjectsLocationsDataStoresSessionsAnswersService(s *Service) *ProjectsLocationsDataStoresSessionsAnswersService
func (*ProjectsLocationsDataStoresSessionsAnswersService) Get ¶ added in v0.173.0
func (r *ProjectsLocationsDataStoresSessionsAnswersService) Get(name string) *ProjectsLocationsDataStoresSessionsAnswersGetCall
Get: Gets a Answer.
- name: The resource name of the Answer to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{ engine_id}/sessions/{session_id}/answers/{answer_id}`.
type ProjectsLocationsDataStoresSessionsCreateCall ¶ added in v0.173.0
type ProjectsLocationsDataStoresSessionsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSessionsCreateCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsCreateCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSessionsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSessionsCreateCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSession, error)
Do executes the "discoveryengine.projects.locations.dataStores.sessions.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSession.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresSessionsCreateCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSessionsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSessionsCreateCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresSessionsDeleteCall ¶ added in v0.173.0
type ProjectsLocationsDataStoresSessionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSessionsDeleteCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSessionsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSessionsDeleteCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "discoveryengine.projects.locations.dataStores.sessions.delete" call. 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 (*ProjectsLocationsDataStoresSessionsDeleteCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSessionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSessionsDeleteCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresSessionsGetCall ¶ added in v0.173.0
type ProjectsLocationsDataStoresSessionsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSessionsGetCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSessionsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSessionsGetCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSession, error)
Do executes the "discoveryengine.projects.locations.dataStores.sessions.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSession.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresSessionsGetCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSessionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSessionsGetCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresSessionsGetCall) IfNoneMatch ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresSessionsGetCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsDataStoresSessionsGetCall) IncludeAnswerDetails ¶ added in v0.211.0
func (c *ProjectsLocationsDataStoresSessionsGetCall) IncludeAnswerDetails(includeAnswerDetails bool) *ProjectsLocationsDataStoresSessionsGetCall
IncludeAnswerDetails sets the optional parameter "includeAnswerDetails": If set to true, the full session including all answer details will be returned.
type ProjectsLocationsDataStoresSessionsListCall ¶ added in v0.173.0
type ProjectsLocationsDataStoresSessionsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSessionsListCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSessionsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSessionsListCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListSessionsResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.sessions.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListSessionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresSessionsListCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSessionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSessionsListCall) Filter ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsListCall) Filter(filter string) *ProjectsLocationsDataStoresSessionsListCall
Filter sets the optional parameter "filter": A filter to apply on the list results. The supported features are: user_pseudo_id, state. Example: "user_pseudo_id = some_id"
func (*ProjectsLocationsDataStoresSessionsListCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresSessionsListCall) IfNoneMatch ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresSessionsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsDataStoresSessionsListCall) OrderBy ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsListCall) OrderBy(orderBy string) *ProjectsLocationsDataStoresSessionsListCall
OrderBy sets the optional parameter "orderBy": A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` Example: * "update_time desc" * "create_time" * "is_pinned desc,update_time desc": list sessions by is_pinned first, then by update_time.
func (*ProjectsLocationsDataStoresSessionsListCall) PageSize ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresSessionsListCall
PageSize sets the optional parameter "pageSize": Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.
func (*ProjectsLocationsDataStoresSessionsListCall) PageToken ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresSessionsListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page.
func (*ProjectsLocationsDataStoresSessionsListCall) Pages ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListSessionsResponse) 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 ProjectsLocationsDataStoresSessionsPatchCall ¶ added in v0.173.0
type ProjectsLocationsDataStoresSessionsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSessionsPatchCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsPatchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSessionsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSessionsPatchCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSession, error)
Do executes the "discoveryengine.projects.locations.dataStores.sessions.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSession.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresSessionsPatchCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSessionsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSessionsPatchCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresSessionsPatchCall) UpdateMask ¶ added in v0.173.0
func (c *ProjectsLocationsDataStoresSessionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDataStoresSessionsPatchCall
UpdateMask sets the optional parameter "updateMask": Indicates which fields in the provided Session to update. The following are NOT supported: * Session.name If not set or empty, all supported fields are updated.
type ProjectsLocationsDataStoresSessionsService ¶ added in v0.173.0
type ProjectsLocationsDataStoresSessionsService struct { Answers *ProjectsLocationsDataStoresSessionsAnswersService // contains filtered or unexported fields }
func NewProjectsLocationsDataStoresSessionsService ¶ added in v0.173.0
func NewProjectsLocationsDataStoresSessionsService(s *Service) *ProjectsLocationsDataStoresSessionsService
func (*ProjectsLocationsDataStoresSessionsService) Create ¶ added in v0.173.0
func (r *ProjectsLocationsDataStoresSessionsService) Create(parent string, googleclouddiscoveryenginev1betasession *GoogleCloudDiscoveryengineV1betaSession) *ProjectsLocationsDataStoresSessionsCreateCall
Create: Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned.
- parent: Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}`.
func (*ProjectsLocationsDataStoresSessionsService) Delete ¶ added in v0.173.0
func (r *ProjectsLocationsDataStoresSessionsService) Delete(name string) *ProjectsLocationsDataStoresSessionsDeleteCall
Delete: Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned.
- name: The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}/sessions/{session_id}`.
func (*ProjectsLocationsDataStoresSessionsService) Get ¶ added in v0.173.0
func (r *ProjectsLocationsDataStoresSessionsService) Get(name string) *ProjectsLocationsDataStoresSessionsGetCall
Get: Gets a Session.
- name: The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}/sessions/{session_id}`.
func (*ProjectsLocationsDataStoresSessionsService) List ¶ added in v0.173.0
func (r *ProjectsLocationsDataStoresSessionsService) List(parent string) *ProjectsLocationsDataStoresSessionsListCall
List: Lists all Sessions by their parent DataStore.
- parent: The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store_id}`.
func (*ProjectsLocationsDataStoresSessionsService) Patch ¶ added in v0.173.0
func (r *ProjectsLocationsDataStoresSessionsService) Patch(name string, googleclouddiscoveryenginev1betasession *GoogleCloudDiscoveryengineV1betaSession) *ProjectsLocationsDataStoresSessionsPatchCall
Patch: Updates a Session. Session action type cannot be changed. If the Session to update does not exist, a NOT_FOUND error is returned.
- name: Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engi ne}/sessions/*`.
type ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall ¶ added in v0.158.0
type ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.siteSearchEngine.disableAdvancedSiteSearch" call. 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 (*ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall ¶ added in v0.158.0
type ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.siteSearchEngine.enableAdvancedSiteSearch" call. 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 (*ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall ¶ added in v0.158.0
type ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.siteSearchEngine.recrawlUris" call. 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 (*ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresSiteSearchEngineService ¶ added in v0.158.0
type ProjectsLocationsDataStoresSiteSearchEngineService struct { Sitemaps *ProjectsLocationsDataStoresSiteSearchEngineSitemapsService TargetSites *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService // contains filtered or unexported fields }
func NewProjectsLocationsDataStoresSiteSearchEngineService ¶ added in v0.158.0
func NewProjectsLocationsDataStoresSiteSearchEngineService(s *Service) *ProjectsLocationsDataStoresSiteSearchEngineService
func (*ProjectsLocationsDataStoresSiteSearchEngineService) DisableAdvancedSiteSearch ¶ added in v0.158.0
func (r *ProjectsLocationsDataStoresSiteSearchEngineService) DisableAdvancedSiteSearch(siteSearchEngine string, googleclouddiscoveryenginev1betadisableadvancedsitesearchrequest *GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchRequest) *ProjectsLocationsDataStoresSiteSearchEngineDisableAdvancedSiteSearchCall
DisableAdvancedSiteSearch: Downgrade from advanced site search to basic site search.
- siteSearchEngine: Full resource name of the SiteSearchEngine, such as `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSea rchEngine`.
func (*ProjectsLocationsDataStoresSiteSearchEngineService) EnableAdvancedSiteSearch ¶ added in v0.158.0
func (r *ProjectsLocationsDataStoresSiteSearchEngineService) EnableAdvancedSiteSearch(siteSearchEngine string, googleclouddiscoveryenginev1betaenableadvancedsitesearchrequest *GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchRequest) *ProjectsLocationsDataStoresSiteSearchEngineEnableAdvancedSiteSearchCall
EnableAdvancedSiteSearch: Upgrade from basic site search to advanced site search.
- siteSearchEngine: Full resource name of the SiteSearchEngine, such as `projects/{project}/locations/{location}/dataStores/{data_store_id}/siteSea rchEngine`.
func (*ProjectsLocationsDataStoresSiteSearchEngineService) RecrawlUris ¶ added in v0.158.0
func (r *ProjectsLocationsDataStoresSiteSearchEngineService) RecrawlUris(siteSearchEngine string, googleclouddiscoveryenginev1betarecrawlurisrequest *GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest) *ProjectsLocationsDataStoresSiteSearchEngineRecrawlUrisCall
RecrawlUris: Request on-demand recrawl for a list of URIs.
- siteSearchEngine: Full resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.
type ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall ¶ added in v0.205.0
type ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall) Context ¶ added in v0.205.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall) Do ¶ added in v0.205.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.siteSearchEngine.sitemaps.create" call. 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 (*ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall) Fields ¶ added in v0.205.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall) Header ¶ added in v0.205.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall ¶ added in v0.205.0
type ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall) Context ¶ added in v0.205.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall) Do ¶ added in v0.205.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.siteSearchEngine.sitemaps.delete" call. 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 (*ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall) Fields ¶ added in v0.205.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall) Header ¶ added in v0.205.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall ¶ added in v0.205.0
type ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall) Context ¶ added in v0.205.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall) Do ¶ added in v0.205.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.siteSearchEngine.sitemaps.fetch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaFetchSitemapsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall) Fields ¶ added in v0.205.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall) Header ¶ added in v0.205.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall) IfNoneMatch ¶ added in v0.205.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall) MatcherUrisMatcherUris ¶ added in v0.205.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall) MatcherUrisMatcherUris(matcherUrisMatcherUris ...string) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall
MatcherUrisMatcherUris sets the optional parameter "matcher.urisMatcher.uris": The Sitemap uris.
type ProjectsLocationsDataStoresSiteSearchEngineSitemapsService ¶ added in v0.205.0
type ProjectsLocationsDataStoresSiteSearchEngineSitemapsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDataStoresSiteSearchEngineSitemapsService ¶ added in v0.205.0
func NewProjectsLocationsDataStoresSiteSearchEngineSitemapsService(s *Service) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsService
func (*ProjectsLocationsDataStoresSiteSearchEngineSitemapsService) Create ¶ added in v0.205.0
func (r *ProjectsLocationsDataStoresSiteSearchEngineSitemapsService) Create(parent string, googleclouddiscoveryenginev1betasitemap *GoogleCloudDiscoveryengineV1betaSitemap) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsCreateCall
Create: Creates a Sitemap.
- parent: Parent resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.
func (*ProjectsLocationsDataStoresSiteSearchEngineSitemapsService) Delete ¶ added in v0.205.0
func (r *ProjectsLocationsDataStoresSiteSearchEngineSitemapsService) Delete(name string) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsDeleteCall
Delete: Deletes a Sitemap.
- name: Full resource name of Sitemap, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/siteSearchEngine/sitemaps/{sitemap}`. If the caller does not have permission to access the Sitemap, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested Sitemap does not exist, a NOT_FOUND error is returned.
func (*ProjectsLocationsDataStoresSiteSearchEngineSitemapsService) Fetch ¶ added in v0.205.0
func (r *ProjectsLocationsDataStoresSiteSearchEngineSitemapsService) Fetch(parent string) *ProjectsLocationsDataStoresSiteSearchEngineSitemapsFetchCall
Fetch: Fetch Sitemaps in a DataStore.
- parent: Parent resource name of the SiteSearchEngine, such as `projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine`.
type ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall ¶ added in v0.158.0
type ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.siteSearchEngine.targetSites.batchCreate" call. 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 (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall ¶ added in v0.158.0
type ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.siteSearchEngine.targetSites.create" call. 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 (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall ¶ added in v0.158.0
type ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.siteSearchEngine.targetSites.delete" call. 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 (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall ¶ added in v0.158.0
type ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaTargetSite, error)
Do executes the "discoveryengine.projects.locations.dataStores.siteSearchEngine.targetSites.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaTargetSite.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall) IfNoneMatch ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall ¶ added in v0.158.0
type ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListTargetSitesResponse, error)
Do executes the "discoveryengine.projects.locations.dataStores.siteSearchEngine.targetSites.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListTargetSitesResponse.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 (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) IfNoneMatch ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) PageSize ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) PageSize(pageSize int64) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. The maximum value is 1000; values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) PageToken ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) PageToken(pageToken string) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall
PageToken sets the optional parameter "pageToken": A page token, received from a previous `ListTargetSites` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTargetSites` must match the call that provided the page token.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) Pages ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListTargetSitesResponse) 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 ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall ¶ added in v0.158.0
type ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall) Context ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall) Do ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.siteSearchEngine.targetSites.patch" call. 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 (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall) Fields ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall) Header ¶ added in v0.158.0
func (c *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService ¶ added in v0.158.0
type ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDataStoresSiteSearchEngineTargetSitesService ¶ added in v0.158.0
func NewProjectsLocationsDataStoresSiteSearchEngineTargetSitesService(s *Service) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService) BatchCreate ¶ added in v0.158.0
func (r *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService) BatchCreate(parent string, googleclouddiscoveryenginev1betabatchcreatetargetsitesrequest *GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesBatchCreateCall
BatchCreate: Creates TargetSite in a batch.
- parent: The parent resource shared by all TargetSites being created. `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/siteSearchEngine`. The parent field in the CreateBookRequest messages must either be empty or match this field.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService) Create ¶ added in v0.158.0
func (r *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService) Create(parent string, googleclouddiscoveryenginev1betatargetsite *GoogleCloudDiscoveryengineV1betaTargetSite) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesCreateCall
Create: Creates a TargetSite.
- parent: Parent resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/siteSearchEngine`.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService) Delete ¶ added in v0.158.0
func (r *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService) Delete(name string) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesDeleteCall
Delete: Deletes a TargetSite.
- name: Full resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/siteSearchEngine/targetSites/{target_site}`. If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not exist, a NOT_FOUND error is returned.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService) Get ¶ added in v0.158.0
func (r *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService) Get(name string) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesGetCall
Get: Gets a TargetSite.
- name: Full resource name of TargetSite, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/siteSearchEngine/targetSites/{target_site}`. If the caller does not have permission to access the TargetSite, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested TargetSite does not exist, a NOT_FOUND error is returned.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService) List ¶ added in v0.158.0
func (r *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService) List(parent string) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesListCall
List: Gets a list of TargetSites.
- parent: The parent site search engine resource name, such as `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/siteSearchEngine`. If the caller does not have permission to list TargetSites under this site search engine, regardless of whether or not this branch exists, a PERMISSION_DENIED error is returned.
func (*ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService) Patch ¶ added in v0.158.0
func (r *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesService) Patch(name string, googleclouddiscoveryenginev1betatargetsite *GoogleCloudDiscoveryengineV1betaTargetSite) *ProjectsLocationsDataStoresSiteSearchEngineTargetSitesPatchCall
Patch: Updates a TargetSite.
- name: Output only. The fully qualified resource name of the target site. `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}/siteSearchEngine/targetSites/{target_site}` The `target_site_id` is system-generated.
type ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall ¶ added in v0.156.0
type ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall) Context ¶ added in v0.156.0
func (c *ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall) Do ¶ added in v0.156.0
func (c *ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.suggestionDenyListEntries.import" call. 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 (*ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall) Fields ¶ added in v0.156.0
func (c *ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall) Header ¶ added in v0.156.0
func (c *ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall ¶ added in v0.156.0
type ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall) Context ¶ added in v0.156.0
func (c *ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall) Context(ctx context.Context) *ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall) Do ¶ added in v0.156.0
func (c *ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.suggestionDenyListEntries.purge" call. 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 (*ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall) Fields ¶ added in v0.156.0
func (c *ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall) Header ¶ added in v0.156.0
func (c *ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresSuggestionDenyListEntriesService ¶ added in v0.156.0
type ProjectsLocationsDataStoresSuggestionDenyListEntriesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDataStoresSuggestionDenyListEntriesService ¶ added in v0.156.0
func NewProjectsLocationsDataStoresSuggestionDenyListEntriesService(s *Service) *ProjectsLocationsDataStoresSuggestionDenyListEntriesService
func (*ProjectsLocationsDataStoresSuggestionDenyListEntriesService) Import ¶ added in v0.156.0
func (r *ProjectsLocationsDataStoresSuggestionDenyListEntriesService) Import(parent string, googleclouddiscoveryenginev1betaimportsuggestiondenylistentriesrequest *GoogleCloudDiscoveryengineV1betaImportSuggestionDenyListEntriesRequest) *ProjectsLocationsDataStoresSuggestionDenyListEntriesImportCall
Import: Imports all SuggestionDenyListEntry for a DataStore.
- parent: The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
func (*ProjectsLocationsDataStoresSuggestionDenyListEntriesService) Purge ¶ added in v0.156.0
func (r *ProjectsLocationsDataStoresSuggestionDenyListEntriesService) Purge(parent string, googleclouddiscoveryenginev1betapurgesuggestiondenylistentriesrequest *GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesRequest) *ProjectsLocationsDataStoresSuggestionDenyListEntriesPurgeCall
Purge: Permanently deletes all SuggestionDenyListEntry for a DataStore.
- parent: The parent data store resource name for which to import denylist entries. Follows pattern projects/*/locations/*/collections/*/dataStores/*.
type ProjectsLocationsDataStoresUserEventsCollectCall ¶
type ProjectsLocationsDataStoresUserEventsCollectCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresUserEventsCollectCall) Context ¶
func (c *ProjectsLocationsDataStoresUserEventsCollectCall) Context(ctx context.Context) *ProjectsLocationsDataStoresUserEventsCollectCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresUserEventsCollectCall) Do ¶
func (c *ProjectsLocationsDataStoresUserEventsCollectCall) Do(opts ...googleapi.CallOption) (*GoogleApiHttpBody, error)
Do executes the "discoveryengine.projects.locations.dataStores.userEvents.collect" call. Any non-2xx status code is an error. Response headers are in either *GoogleApiHttpBody.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresUserEventsCollectCall) Ets ¶
func (c *ProjectsLocationsDataStoresUserEventsCollectCall) Ets(ets int64) *ProjectsLocationsDataStoresUserEventsCollectCall
Ets sets the optional parameter "ets": The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.
func (*ProjectsLocationsDataStoresUserEventsCollectCall) Fields ¶
func (c *ProjectsLocationsDataStoresUserEventsCollectCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresUserEventsCollectCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresUserEventsCollectCall) Header ¶
func (c *ProjectsLocationsDataStoresUserEventsCollectCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresUserEventsCollectCall) IfNoneMatch ¶
func (c *ProjectsLocationsDataStoresUserEventsCollectCall) IfNoneMatch(entityTag string) *ProjectsLocationsDataStoresUserEventsCollectCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsDataStoresUserEventsCollectCall) Uri ¶
func (c *ProjectsLocationsDataStoresUserEventsCollectCall) Uri(uri string) *ProjectsLocationsDataStoresUserEventsCollectCall
Uri sets the optional parameter "uri": The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for third-party requests.
func (*ProjectsLocationsDataStoresUserEventsCollectCall) UserEvent ¶
func (c *ProjectsLocationsDataStoresUserEventsCollectCall) UserEvent(userEvent string) *ProjectsLocationsDataStoresUserEventsCollectCall
UserEvent sets the optional parameter "userEvent": Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.
type ProjectsLocationsDataStoresUserEventsImportCall ¶
type ProjectsLocationsDataStoresUserEventsImportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresUserEventsImportCall) Context ¶
func (c *ProjectsLocationsDataStoresUserEventsImportCall) Context(ctx context.Context) *ProjectsLocationsDataStoresUserEventsImportCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresUserEventsImportCall) Do ¶
func (c *ProjectsLocationsDataStoresUserEventsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.userEvents.import" call. 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 (*ProjectsLocationsDataStoresUserEventsImportCall) Fields ¶
func (c *ProjectsLocationsDataStoresUserEventsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresUserEventsImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresUserEventsImportCall) Header ¶
func (c *ProjectsLocationsDataStoresUserEventsImportCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresUserEventsPurgeCall ¶ added in v0.190.0
type ProjectsLocationsDataStoresUserEventsPurgeCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresUserEventsPurgeCall) Context ¶ added in v0.190.0
func (c *ProjectsLocationsDataStoresUserEventsPurgeCall) Context(ctx context.Context) *ProjectsLocationsDataStoresUserEventsPurgeCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresUserEventsPurgeCall) Do ¶ added in v0.190.0
func (c *ProjectsLocationsDataStoresUserEventsPurgeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.dataStores.userEvents.purge" call. 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 (*ProjectsLocationsDataStoresUserEventsPurgeCall) Fields ¶ added in v0.190.0
func (c *ProjectsLocationsDataStoresUserEventsPurgeCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresUserEventsPurgeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresUserEventsPurgeCall) Header ¶ added in v0.190.0
func (c *ProjectsLocationsDataStoresUserEventsPurgeCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsDataStoresUserEventsService ¶
type ProjectsLocationsDataStoresUserEventsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDataStoresUserEventsService ¶
func NewProjectsLocationsDataStoresUserEventsService(s *Service) *ProjectsLocationsDataStoresUserEventsService
func (*ProjectsLocationsDataStoresUserEventsService) Collect ¶
func (r *ProjectsLocationsDataStoresUserEventsService) Collect(parent string) *ProjectsLocationsDataStoresUserEventsCollectCall
Collect: Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.
- parent: The parent resource name. If the collect user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}`. If the collect user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`.
func (*ProjectsLocationsDataStoresUserEventsService) Import ¶
func (r *ProjectsLocationsDataStoresUserEventsService) Import(parent string, googleclouddiscoveryenginev1betaimportusereventsrequest *GoogleCloudDiscoveryengineV1betaImportUserEventsRequest) *ProjectsLocationsDataStoresUserEventsImportCall
Import: Bulk import of user events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ImportMetadata.
- parent: Parent DataStore resource name, of the form `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}`.
func (*ProjectsLocationsDataStoresUserEventsService) Purge ¶ added in v0.190.0
func (r *ProjectsLocationsDataStoresUserEventsService) Purge(parent string, googleclouddiscoveryenginev1betapurgeusereventsrequest *GoogleCloudDiscoveryengineV1betaPurgeUserEventsRequest) *ProjectsLocationsDataStoresUserEventsPurgeCall
Purge: Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first.
- parent: The resource name of the catalog under which the events are created. The format is `projects/{project}/locations/global/collections/{collection}/dataStores/{d ataStore}`.
func (*ProjectsLocationsDataStoresUserEventsService) Write ¶
func (r *ProjectsLocationsDataStoresUserEventsService) Write(parent string, googleclouddiscoveryenginev1betauserevent *GoogleCloudDiscoveryengineV1betaUserEvent) *ProjectsLocationsDataStoresUserEventsWriteCall
Write: Writes a single user event.
- parent: The parent resource name. If the write user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}`. If the write user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`.
type ProjectsLocationsDataStoresUserEventsWriteCall ¶
type ProjectsLocationsDataStoresUserEventsWriteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDataStoresUserEventsWriteCall) Context ¶
func (c *ProjectsLocationsDataStoresUserEventsWriteCall) Context(ctx context.Context) *ProjectsLocationsDataStoresUserEventsWriteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDataStoresUserEventsWriteCall) Do ¶
func (c *ProjectsLocationsDataStoresUserEventsWriteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaUserEvent, error)
Do executes the "discoveryengine.projects.locations.dataStores.userEvents.write" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaUserEvent.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDataStoresUserEventsWriteCall) Fields ¶
func (c *ProjectsLocationsDataStoresUserEventsWriteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDataStoresUserEventsWriteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDataStoresUserEventsWriteCall) Header ¶
func (c *ProjectsLocationsDataStoresUserEventsWriteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDataStoresUserEventsWriteCall) WriteAsync ¶ added in v0.183.0
func (c *ProjectsLocationsDataStoresUserEventsWriteCall) WriteAsync(writeAsync bool) *ProjectsLocationsDataStoresUserEventsWriteCall
WriteAsync sets the optional parameter "writeAsync": If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write.
type ProjectsLocationsEvaluationsCreateCall ¶ added in v0.190.0
type ProjectsLocationsEvaluationsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEvaluationsCreateCall) Context ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsCreateCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsEvaluationsCreateCall) Do ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.evaluations.create" call. 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 (*ProjectsLocationsEvaluationsCreateCall) Fields ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsEvaluationsCreateCall) Header ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsEvaluationsGetCall ¶ added in v0.190.0
type ProjectsLocationsEvaluationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEvaluationsGetCall) Context ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsGetCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsEvaluationsGetCall) Do ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaEvaluation, error)
Do executes the "discoveryengine.projects.locations.evaluations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaEvaluation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEvaluationsGetCall) Fields ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsEvaluationsGetCall) Header ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsEvaluationsGetCall) IfNoneMatch ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsEvaluationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsEvaluationsListCall ¶ added in v0.190.0
type ProjectsLocationsEvaluationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEvaluationsListCall) Context ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsListCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsEvaluationsListCall) Do ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListEvaluationsResponse, error)
Do executes the "discoveryengine.projects.locations.evaluations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListEvaluationsResponse.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 (*ProjectsLocationsEvaluationsListCall) Fields ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsEvaluationsListCall) Header ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsEvaluationsListCall) IfNoneMatch ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsEvaluationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsEvaluationsListCall) PageSize ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsListCall) PageSize(pageSize int64) *ProjectsLocationsEvaluationsListCall
PageSize sets the optional parameter "pageSize": Maximum number of Evaluations to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.
func (*ProjectsLocationsEvaluationsListCall) PageToken ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsListCall) PageToken(pageToken string) *ProjectsLocationsEvaluationsListCall
PageToken sets the optional parameter "pageToken": A page token ListEvaluationsResponse.next_page_token, received from a previous EvaluationService.ListEvaluations call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to EvaluationService.ListEvaluations must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.
func (*ProjectsLocationsEvaluationsListCall) Pages ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListEvaluationsResponse) 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 ProjectsLocationsEvaluationsListResultsCall ¶ added in v0.190.0
type ProjectsLocationsEvaluationsListResultsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEvaluationsListResultsCall) Context ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsListResultsCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsListResultsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsEvaluationsListResultsCall) Do ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsListResultsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponse, error)
Do executes the "discoveryengine.projects.locations.evaluations.listResults" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponse.ServerResponse .Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsEvaluationsListResultsCall) Fields ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsListResultsCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsListResultsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsEvaluationsListResultsCall) Header ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsListResultsCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsEvaluationsListResultsCall) IfNoneMatch ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsListResultsCall) IfNoneMatch(entityTag string) *ProjectsLocationsEvaluationsListResultsCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsEvaluationsListResultsCall) PageSize ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsListResultsCall) PageSize(pageSize int64) *ProjectsLocationsEvaluationsListResultsCall
PageSize sets the optional parameter "pageSize": Maximum number of EvaluationResult to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.
func (*ProjectsLocationsEvaluationsListResultsCall) PageToken ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsListResultsCall) PageToken(pageToken string) *ProjectsLocationsEvaluationsListResultsCall
PageToken sets the optional parameter "pageToken": A page token ListEvaluationResultsResponse.next_page_token, received from a previous EvaluationService.ListEvaluationResults call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to EvaluationService.ListEvaluationResults must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.
func (*ProjectsLocationsEvaluationsListResultsCall) Pages ¶ added in v0.190.0
func (c *ProjectsLocationsEvaluationsListResultsCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListEvaluationResultsResponse) 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 ProjectsLocationsEvaluationsOperationsGetCall ¶ added in v0.188.0
type ProjectsLocationsEvaluationsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsEvaluationsOperationsGetCall) Context ¶ added in v0.188.0
func (c *ProjectsLocationsEvaluationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsEvaluationsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsEvaluationsOperationsGetCall) Do ¶ added in v0.188.0
func (c *ProjectsLocationsEvaluationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.evaluations.operations.get" call. 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 (*ProjectsLocationsEvaluationsOperationsGetCall) Fields ¶ added in v0.188.0
func (c *ProjectsLocationsEvaluationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsEvaluationsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsEvaluationsOperationsGetCall) Header ¶ added in v0.188.0
func (c *ProjectsLocationsEvaluationsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsEvaluationsOperationsGetCall) IfNoneMatch ¶ added in v0.188.0
func (c *ProjectsLocationsEvaluationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsEvaluationsOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsEvaluationsOperationsService ¶ added in v0.188.0
type ProjectsLocationsEvaluationsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsEvaluationsOperationsService ¶ added in v0.188.0
func NewProjectsLocationsEvaluationsOperationsService(s *Service) *ProjectsLocationsEvaluationsOperationsService
func (*ProjectsLocationsEvaluationsOperationsService) Get ¶ added in v0.188.0
func (r *ProjectsLocationsEvaluationsOperationsService) Get(name string) *ProjectsLocationsEvaluationsOperationsGetCall
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.
type ProjectsLocationsEvaluationsService ¶ added in v0.188.0
type ProjectsLocationsEvaluationsService struct { Operations *ProjectsLocationsEvaluationsOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsEvaluationsService ¶ added in v0.188.0
func NewProjectsLocationsEvaluationsService(s *Service) *ProjectsLocationsEvaluationsService
func (*ProjectsLocationsEvaluationsService) Create ¶ added in v0.190.0
func (r *ProjectsLocationsEvaluationsService) Create(parent string, googleclouddiscoveryenginev1betaevaluation *GoogleCloudDiscoveryengineV1betaEvaluation) *ProjectsLocationsEvaluationsCreateCall
Create: Creates a Evaluation. Upon creation, the evaluation will be automatically triggered and begin execution.
- parent: The parent resource name, such as `projects/{project}/locations/{location}`.
func (*ProjectsLocationsEvaluationsService) Get ¶ added in v0.190.0
func (r *ProjectsLocationsEvaluationsService) Get(name string) *ProjectsLocationsEvaluationsGetCall
Get: Gets a Evaluation.
- name: Full resource name of Evaluation, such as `projects/{project}/locations/{location}/evaluations/{evaluation}`. If the caller does not have permission to access the Evaluation, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested Evaluation does not exist, a NOT_FOUND error is returned.
func (*ProjectsLocationsEvaluationsService) List ¶ added in v0.190.0
func (r *ProjectsLocationsEvaluationsService) List(parent string) *ProjectsLocationsEvaluationsListCall
List: Gets a list of Evaluations.
- parent: The parent location resource name, such as `projects/{project}/locations/{location}`. If the caller does not have permission to list Evaluations under this location, regardless of whether or not this location exists, a `PERMISSION_DENIED` error is returned.
func (*ProjectsLocationsEvaluationsService) ListResults ¶ added in v0.190.0
func (r *ProjectsLocationsEvaluationsService) ListResults(evaluation string) *ProjectsLocationsEvaluationsListResultsCall
ListResults: Gets a list of results for a given a Evaluation.
- evaluation: The evaluation resource name, such as `projects/{project}/locations/{location}/evaluations/{evaluation}`. If the caller does not have permission to list EvaluationResult under this evaluation, regardless of whether or not this evaluation set exists, a `PERMISSION_DENIED` error is returned.
type ProjectsLocationsGroundingConfigsCheckCall ¶ added in v0.173.0
type ProjectsLocationsGroundingConfigsCheckCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsGroundingConfigsCheckCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsGroundingConfigsCheckCall) Context(ctx context.Context) *ProjectsLocationsGroundingConfigsCheckCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGroundingConfigsCheckCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsGroundingConfigsCheckCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaCheckGroundingResponse, error)
Do executes the "discoveryengine.projects.locations.groundingConfigs.check" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaCheckGroundingResponse.ServerResponse.Header
or (if a response was returned at all) in error.(*googleapi.Error).Header.
Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsGroundingConfigsCheckCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsGroundingConfigsCheckCall) Fields(s ...googleapi.Field) *ProjectsLocationsGroundingConfigsCheckCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsGroundingConfigsCheckCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsGroundingConfigsCheckCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsGroundingConfigsService ¶ added in v0.173.0
type ProjectsLocationsGroundingConfigsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsGroundingConfigsService ¶ added in v0.173.0
func NewProjectsLocationsGroundingConfigsService(s *Service) *ProjectsLocationsGroundingConfigsService
func (*ProjectsLocationsGroundingConfigsService) Check ¶ added in v0.173.0
func (r *ProjectsLocationsGroundingConfigsService) Check(groundingConfig string, googleclouddiscoveryenginev1betacheckgroundingrequest *GoogleCloudDiscoveryengineV1betaCheckGroundingRequest) *ProjectsLocationsGroundingConfigsCheckCall
Check: Performs a grounding check.
- groundingConfig: The resource name of the grounding config, such as `projects/*/locations/global/groundingConfigs/default_grounding_config`.
type ProjectsLocationsIdentityMappingStoresOperationsGetCall ¶ added in v0.200.0
type ProjectsLocationsIdentityMappingStoresOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsIdentityMappingStoresOperationsGetCall) Context ¶ added in v0.200.0
func (c *ProjectsLocationsIdentityMappingStoresOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsIdentityMappingStoresOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsIdentityMappingStoresOperationsGetCall) Do ¶ added in v0.200.0
func (c *ProjectsLocationsIdentityMappingStoresOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.identityMappingStores.operations.get" call. 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 (*ProjectsLocationsIdentityMappingStoresOperationsGetCall) Fields ¶ added in v0.200.0
func (c *ProjectsLocationsIdentityMappingStoresOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsIdentityMappingStoresOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsIdentityMappingStoresOperationsGetCall) Header ¶ added in v0.200.0
func (c *ProjectsLocationsIdentityMappingStoresOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsIdentityMappingStoresOperationsGetCall) IfNoneMatch ¶ added in v0.200.0
func (c *ProjectsLocationsIdentityMappingStoresOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsIdentityMappingStoresOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsIdentityMappingStoresOperationsListCall ¶ added in v0.200.0
type ProjectsLocationsIdentityMappingStoresOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsIdentityMappingStoresOperationsListCall) Context ¶ added in v0.200.0
func (c *ProjectsLocationsIdentityMappingStoresOperationsListCall) Context(ctx context.Context) *ProjectsLocationsIdentityMappingStoresOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsIdentityMappingStoresOperationsListCall) Do ¶ added in v0.200.0
func (c *ProjectsLocationsIdentityMappingStoresOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "discoveryengine.projects.locations.identityMappingStores.operations.list" call. 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 (*ProjectsLocationsIdentityMappingStoresOperationsListCall) Fields ¶ added in v0.200.0
func (c *ProjectsLocationsIdentityMappingStoresOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsIdentityMappingStoresOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsIdentityMappingStoresOperationsListCall) Filter ¶ added in v0.200.0
func (c *ProjectsLocationsIdentityMappingStoresOperationsListCall) Filter(filter string) *ProjectsLocationsIdentityMappingStoresOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsIdentityMappingStoresOperationsListCall) Header ¶ added in v0.200.0
func (c *ProjectsLocationsIdentityMappingStoresOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsIdentityMappingStoresOperationsListCall) IfNoneMatch ¶ added in v0.200.0
func (c *ProjectsLocationsIdentityMappingStoresOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsIdentityMappingStoresOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsIdentityMappingStoresOperationsListCall) PageSize ¶ added in v0.200.0
func (c *ProjectsLocationsIdentityMappingStoresOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsIdentityMappingStoresOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsIdentityMappingStoresOperationsListCall) PageToken ¶ added in v0.200.0
func (c *ProjectsLocationsIdentityMappingStoresOperationsListCall) PageToken(pageToken string) *ProjectsLocationsIdentityMappingStoresOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsIdentityMappingStoresOperationsListCall) Pages ¶ added in v0.200.0
func (c *ProjectsLocationsIdentityMappingStoresOperationsListCall) 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 ProjectsLocationsIdentityMappingStoresOperationsService ¶ added in v0.200.0
type ProjectsLocationsIdentityMappingStoresOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsIdentityMappingStoresOperationsService ¶ added in v0.200.0
func NewProjectsLocationsIdentityMappingStoresOperationsService(s *Service) *ProjectsLocationsIdentityMappingStoresOperationsService
func (*ProjectsLocationsIdentityMappingStoresOperationsService) Get ¶ added in v0.200.0
func (r *ProjectsLocationsIdentityMappingStoresOperationsService) Get(name string) *ProjectsLocationsIdentityMappingStoresOperationsGetCall
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 (*ProjectsLocationsIdentityMappingStoresOperationsService) List ¶ added in v0.200.0
func (r *ProjectsLocationsIdentityMappingStoresOperationsService) List(name string) *ProjectsLocationsIdentityMappingStoresOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsIdentityMappingStoresService ¶ added in v0.200.0
type ProjectsLocationsIdentityMappingStoresService struct { Operations *ProjectsLocationsIdentityMappingStoresOperationsService // contains filtered or unexported fields }
func NewProjectsLocationsIdentityMappingStoresService ¶ added in v0.200.0
func NewProjectsLocationsIdentityMappingStoresService(s *Service) *ProjectsLocationsIdentityMappingStoresService
type ProjectsLocationsOperationsGetCall ¶
type ProjectsLocationsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsGetCall) Context ¶
func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsGetCall) Do ¶
func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.operations.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningOperation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsGetCall) Fields ¶
func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsOperationsGetCall) Header ¶
func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsOperationsListCall ¶
type ProjectsLocationsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsListCall) Context ¶
func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsListCall) Do ¶
func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "discoveryengine.projects.locations.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsListCall) Fields ¶
func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsOperationsListCall) Filter ¶
func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsOperationsListCall) Header ¶
func (c *ProjectsLocationsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsOperationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsOperationsListCall) PageSize ¶
func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsOperationsListCall) PageToken ¶
func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsOperationsListCall) Pages ¶
func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsOperationsService ¶
type ProjectsLocationsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsOperationsService ¶
func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService
func (*ProjectsLocationsOperationsService) Get ¶
func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (*ProjectsLocationsOperationsService) List ¶
func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsRankingConfigsRankCall ¶ added in v0.173.0
type ProjectsLocationsRankingConfigsRankCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRankingConfigsRankCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsRankingConfigsRankCall) Context(ctx context.Context) *ProjectsLocationsRankingConfigsRankCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRankingConfigsRankCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsRankingConfigsRankCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaRankResponse, error)
Do executes the "discoveryengine.projects.locations.rankingConfigs.rank" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaRankResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRankingConfigsRankCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsRankingConfigsRankCall) Fields(s ...googleapi.Field) *ProjectsLocationsRankingConfigsRankCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsRankingConfigsRankCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsRankingConfigsRankCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsRankingConfigsService ¶ added in v0.173.0
type ProjectsLocationsRankingConfigsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsRankingConfigsService ¶ added in v0.173.0
func NewProjectsLocationsRankingConfigsService(s *Service) *ProjectsLocationsRankingConfigsService
func (*ProjectsLocationsRankingConfigsService) Rank ¶ added in v0.173.0
func (r *ProjectsLocationsRankingConfigsService) Rank(rankingConfig string, googleclouddiscoveryenginev1betarankrequest *GoogleCloudDiscoveryengineV1betaRankRequest) *ProjectsLocationsRankingConfigsRankCall
Rank: Ranks a list of text records based on the given input query.
- rankingConfig: The resource name of the rank service config, such as `projects/{project_num}/locations/{location}/rankingConfigs/default_ranking _config`.
type ProjectsLocationsSampleQuerySetsCreateCall ¶ added in v0.190.0
type ProjectsLocationsSampleQuerySetsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSampleQuerySetsCreateCall) Context ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsCreateCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSampleQuerySetsCreateCall) Do ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSampleQuerySet, error)
Do executes the "discoveryengine.projects.locations.sampleQuerySets.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSampleQuerySet.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsSampleQuerySetsCreateCall) Fields ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsSampleQuerySetsCreateCall) Header ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsSampleQuerySetsCreateCall) SampleQuerySetId ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsCreateCall) SampleQuerySetId(sampleQuerySetId string) *ProjectsLocationsSampleQuerySetsCreateCall
SampleQuerySetId sets the optional parameter "sampleQuerySetId": Required. The ID to use for the SampleQuerySet, which will become the final component of the SampleQuerySet.name. If the caller does not have permission to create the SampleQuerySet, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all SampleQuerySets with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to RFC-1034 (https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
type ProjectsLocationsSampleQuerySetsDeleteCall ¶ added in v0.190.0
type ProjectsLocationsSampleQuerySetsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSampleQuerySetsDeleteCall) Context ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsDeleteCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSampleQuerySetsDeleteCall) Do ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "discoveryengine.projects.locations.sampleQuerySets.delete" call. 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 (*ProjectsLocationsSampleQuerySetsDeleteCall) Fields ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsSampleQuerySetsDeleteCall) Header ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsSampleQuerySetsGetCall ¶ added in v0.190.0
type ProjectsLocationsSampleQuerySetsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSampleQuerySetsGetCall) Context ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsGetCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSampleQuerySetsGetCall) Do ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSampleQuerySet, error)
Do executes the "discoveryengine.projects.locations.sampleQuerySets.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSampleQuerySet.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsSampleQuerySetsGetCall) Fields ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsSampleQuerySetsGetCall) Header ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsSampleQuerySetsGetCall) IfNoneMatch ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSampleQuerySetsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsSampleQuerySetsListCall ¶ added in v0.190.0
type ProjectsLocationsSampleQuerySetsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSampleQuerySetsListCall) Context ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsListCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSampleQuerySetsListCall) Do ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListSampleQuerySetsResponse, error)
Do executes the "discoveryengine.projects.locations.sampleQuerySets.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListSampleQuerySetsResponse.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 (*ProjectsLocationsSampleQuerySetsListCall) Fields ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsSampleQuerySetsListCall) Header ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsSampleQuerySetsListCall) IfNoneMatch ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSampleQuerySetsListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsSampleQuerySetsListCall) PageSize ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsListCall) PageSize(pageSize int64) *ProjectsLocationsSampleQuerySetsListCall
PageSize sets the optional parameter "pageSize": Maximum number of SampleQuerySets to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.
func (*ProjectsLocationsSampleQuerySetsListCall) PageToken ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsListCall) PageToken(pageToken string) *ProjectsLocationsSampleQuerySetsListCall
PageToken sets the optional parameter "pageToken": A page token ListSampleQuerySetsResponse.next_page_token, received from a previous SampleQuerySetService.ListSampleQuerySets call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SampleQuerySetService.ListSampleQuerySets must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.
func (*ProjectsLocationsSampleQuerySetsListCall) Pages ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListSampleQuerySetsResponse) 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 ProjectsLocationsSampleQuerySetsOperationsGetCall ¶ added in v0.188.0
type ProjectsLocationsSampleQuerySetsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSampleQuerySetsOperationsGetCall) Context ¶ added in v0.188.0
func (c *ProjectsLocationsSampleQuerySetsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSampleQuerySetsOperationsGetCall) Do ¶ added in v0.188.0
func (c *ProjectsLocationsSampleQuerySetsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.sampleQuerySets.operations.get" call. 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 (*ProjectsLocationsSampleQuerySetsOperationsGetCall) Fields ¶ added in v0.188.0
func (c *ProjectsLocationsSampleQuerySetsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsSampleQuerySetsOperationsGetCall) Header ¶ added in v0.188.0
func (c *ProjectsLocationsSampleQuerySetsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsSampleQuerySetsOperationsGetCall) IfNoneMatch ¶ added in v0.188.0
func (c *ProjectsLocationsSampleQuerySetsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSampleQuerySetsOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsSampleQuerySetsOperationsService ¶ added in v0.188.0
type ProjectsLocationsSampleQuerySetsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsSampleQuerySetsOperationsService ¶ added in v0.188.0
func NewProjectsLocationsSampleQuerySetsOperationsService(s *Service) *ProjectsLocationsSampleQuerySetsOperationsService
func (*ProjectsLocationsSampleQuerySetsOperationsService) Get ¶ added in v0.188.0
func (r *ProjectsLocationsSampleQuerySetsOperationsService) Get(name string) *ProjectsLocationsSampleQuerySetsOperationsGetCall
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.
type ProjectsLocationsSampleQuerySetsPatchCall ¶ added in v0.190.0
type ProjectsLocationsSampleQuerySetsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSampleQuerySetsPatchCall) Context ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsPatchCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSampleQuerySetsPatchCall) Do ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSampleQuerySet, error)
Do executes the "discoveryengine.projects.locations.sampleQuerySets.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSampleQuerySet.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsSampleQuerySetsPatchCall) Fields ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsSampleQuerySetsPatchCall) Header ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsSampleQuerySetsPatchCall) UpdateMask ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSampleQuerySetsPatchCall
UpdateMask sets the optional parameter "updateMask": Indicates which fields in the provided imported 'sample query set' to update. If not set, will by default update all fields.
type ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall ¶ added in v0.190.0
type ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall) Context ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall) Do ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSampleQuery, error)
Do executes the "discoveryengine.projects.locations.sampleQuerySets.sampleQueries.create" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSampleQuery.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall) Fields ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall) Header ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall) SampleQueryId ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall) SampleQueryId(sampleQueryId string) *ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall
SampleQueryId sets the optional parameter "sampleQueryId": Required. The ID to use for the SampleQuery, which will become the final component of the SampleQuery.name. If the caller does not have permission to create the SampleQuery, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. This field must be unique among all SampleQuerys with the same parent. Otherwise, an `ALREADY_EXISTS` error is returned. This field must conform to RFC-1034 (https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
type ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall ¶ added in v0.190.0
type ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall) Context ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall) Do ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error)
Do executes the "discoveryengine.projects.locations.sampleQuerySets.sampleQueries.delete" call. 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 (*ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall) Fields ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall) Header ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsSampleQuerySetsSampleQueriesGetCall ¶ added in v0.190.0
type ProjectsLocationsSampleQuerySetsSampleQueriesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSampleQuerySetsSampleQueriesGetCall) Context ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesGetCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsSampleQueriesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesGetCall) Do ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSampleQuery, error)
Do executes the "discoveryengine.projects.locations.sampleQuerySets.sampleQueries.get" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSampleQuery.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesGetCall) Fields ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsSampleQueriesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesGetCall) Header ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesGetCall) IfNoneMatch ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSampleQuerySetsSampleQueriesGetCall
IfNoneMatch sets an 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.
type ProjectsLocationsSampleQuerySetsSampleQueriesImportCall ¶ added in v0.190.0
type ProjectsLocationsSampleQuerySetsSampleQueriesImportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSampleQuerySetsSampleQueriesImportCall) Context ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesImportCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsSampleQueriesImportCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesImportCall) Do ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.sampleQuerySets.sampleQueries.import" call. 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 (*ProjectsLocationsSampleQuerySetsSampleQueriesImportCall) Fields ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsSampleQueriesImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesImportCall) Header ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesImportCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsSampleQuerySetsSampleQueriesListCall ¶ added in v0.190.0
type ProjectsLocationsSampleQuerySetsSampleQueriesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSampleQuerySetsSampleQueriesListCall) Context ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesListCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsSampleQueriesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesListCall) Do ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse, error)
Do executes the "discoveryengine.projects.locations.sampleQuerySets.sampleQueries.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse.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 (*ProjectsLocationsSampleQuerySetsSampleQueriesListCall) Fields ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsSampleQueriesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesListCall) Header ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesListCall) IfNoneMatch ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSampleQuerySetsSampleQueriesListCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesListCall) PageSize ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesListCall) PageSize(pageSize int64) *ProjectsLocationsSampleQuerySetsSampleQueriesListCall
PageSize sets the optional parameter "pageSize": Maximum number of SampleQuerys to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000. If this field is negative, an `INVALID_ARGUMENT` error is returned.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesListCall) PageToken ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesListCall) PageToken(pageToken string) *ProjectsLocationsSampleQuerySetsSampleQueriesListCall
PageToken sets the optional parameter "pageToken": A page token ListSampleQueriesResponse.next_page_token, received from a previous SampleQueryService.ListSampleQueries call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to SampleQueryService.ListSampleQueries must match the call that provided the page token. Otherwise, an `INVALID_ARGUMENT` error is returned.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesListCall) Pages ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesListCall) Pages(ctx context.Context, f func(*GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse) 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 ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall ¶ added in v0.190.0
type ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall) Context ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall) Context(ctx context.Context) *ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall) Do ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaSampleQuery, error)
Do executes the "discoveryengine.projects.locations.sampleQuerySets.sampleQueries.patch" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaSampleQuery.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall) Fields ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall) Header ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall) UpdateMask ¶ added in v0.190.0
func (c *ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall
UpdateMask sets the optional parameter "updateMask": Indicates which fields in the provided imported 'simple query' to update. If not set, will by default update all fields.
type ProjectsLocationsSampleQuerySetsSampleQueriesService ¶ added in v0.190.0
type ProjectsLocationsSampleQuerySetsSampleQueriesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsSampleQuerySetsSampleQueriesService ¶ added in v0.190.0
func NewProjectsLocationsSampleQuerySetsSampleQueriesService(s *Service) *ProjectsLocationsSampleQuerySetsSampleQueriesService
func (*ProjectsLocationsSampleQuerySetsSampleQueriesService) Create ¶ added in v0.190.0
func (r *ProjectsLocationsSampleQuerySetsSampleQueriesService) Create(parent string, googleclouddiscoveryenginev1betasamplequery *GoogleCloudDiscoveryengineV1betaSampleQuery) *ProjectsLocationsSampleQuerySetsSampleQueriesCreateCall
Create: Creates a SampleQuery
- parent: The parent resource name, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesService) Delete ¶ added in v0.190.0
func (r *ProjectsLocationsSampleQuerySetsSampleQueriesService) Delete(name string) *ProjectsLocationsSampleQuerySetsSampleQueriesDeleteCall
Delete: Deletes a SampleQuery.
- name: Full resource name of SampleQuery, such as `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set} /sampleQueries/{sample_query}`. If the caller does not have permission to delete the SampleQuery, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the SampleQuery to delete does not exist, a `NOT_FOUND` error is returned.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesService) Get ¶ added in v0.190.0
func (r *ProjectsLocationsSampleQuerySetsSampleQueriesService) Get(name string) *ProjectsLocationsSampleQuerySetsSampleQueriesGetCall
Get: Gets a SampleQuery.
- name: Full resource name of SampleQuery, such as `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set} /sampleQueries/{sample_query}`. If the caller does not have permission to access the SampleQuery, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested SampleQuery does not exist, a NOT_FOUND error is returned.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesService) Import ¶ added in v0.190.0
func (r *ProjectsLocationsSampleQuerySetsSampleQueriesService) Import(parent string, googleclouddiscoveryenginev1betaimportsamplequeriesrequest *GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequest) *ProjectsLocationsSampleQuerySetsSampleQueriesImportCall
Import: Bulk import of multiple SampleQuerys. Sample queries that already exist may be deleted. Note: It is possible for a subset of the SampleQuerys to be successfully imported.
- parent: The parent sample query set resource name, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. If the caller does not have permission to list SampleQuerys under this sample query set, regardless of whether or not this sample query set exists, a `PERMISSION_DENIED` error is returned.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesService) List ¶ added in v0.190.0
func (r *ProjectsLocationsSampleQuerySetsSampleQueriesService) List(parent string) *ProjectsLocationsSampleQuerySetsSampleQueriesListCall
List: Gets a list of SampleQuerys.
- parent: The parent sample query set resource name, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. If the caller does not have permission to list SampleQuerys under this sample query set, regardless of whether or not this sample query set exists, a `PERMISSION_DENIED` error is returned.
func (*ProjectsLocationsSampleQuerySetsSampleQueriesService) Patch ¶ added in v0.190.0
func (r *ProjectsLocationsSampleQuerySetsSampleQueriesService) Patch(name string, googleclouddiscoveryenginev1betasamplequery *GoogleCloudDiscoveryengineV1betaSampleQuery) *ProjectsLocationsSampleQuerySetsSampleQueriesPatchCall
Patch: Updates a SampleQuery.
- name: Identifier. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set} /sampleQueries/{sample_query}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
type ProjectsLocationsSampleQuerySetsService ¶ added in v0.188.0
type ProjectsLocationsSampleQuerySetsService struct { Operations *ProjectsLocationsSampleQuerySetsOperationsService SampleQueries *ProjectsLocationsSampleQuerySetsSampleQueriesService // contains filtered or unexported fields }
func NewProjectsLocationsSampleQuerySetsService ¶ added in v0.188.0
func NewProjectsLocationsSampleQuerySetsService(s *Service) *ProjectsLocationsSampleQuerySetsService
func (*ProjectsLocationsSampleQuerySetsService) Create ¶ added in v0.190.0
func (r *ProjectsLocationsSampleQuerySetsService) Create(parent string, googleclouddiscoveryenginev1betasamplequeryset *GoogleCloudDiscoveryengineV1betaSampleQuerySet) *ProjectsLocationsSampleQuerySetsCreateCall
Create: Creates a SampleQuerySet
- parent: The parent resource name, such as `projects/{project}/locations/{location}`.
func (*ProjectsLocationsSampleQuerySetsService) Delete ¶ added in v0.190.0
func (r *ProjectsLocationsSampleQuerySetsService) Delete(name string) *ProjectsLocationsSampleQuerySetsDeleteCall
Delete: Deletes a SampleQuerySet.
- name: Full resource name of SampleQuerySet, such as `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set} `. If the caller does not have permission to delete the SampleQuerySet, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the SampleQuerySet to delete does not exist, a `NOT_FOUND` error is returned.
func (*ProjectsLocationsSampleQuerySetsService) Get ¶ added in v0.190.0
func (r *ProjectsLocationsSampleQuerySetsService) Get(name string) *ProjectsLocationsSampleQuerySetsGetCall
Get: Gets a SampleQuerySet.
- name: Full resource name of SampleQuerySet, such as `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set} `. If the caller does not have permission to access the SampleQuerySet, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested SampleQuerySet does not exist, a NOT_FOUND error is returned.
func (*ProjectsLocationsSampleQuerySetsService) List ¶ added in v0.190.0
func (r *ProjectsLocationsSampleQuerySetsService) List(parent string) *ProjectsLocationsSampleQuerySetsListCall
List: Gets a list of SampleQuerySets.
- parent: The parent location resource name, such as `projects/{project}/locations/{location}`. If the caller does not have permission to list SampleQuerySets under this location, regardless of whether or not this location exists, a `PERMISSION_DENIED` error is returned.
func (*ProjectsLocationsSampleQuerySetsService) Patch ¶ added in v0.190.0
func (r *ProjectsLocationsSampleQuerySetsService) Patch(name string, googleclouddiscoveryenginev1betasamplequeryset *GoogleCloudDiscoveryengineV1betaSampleQuerySet) *ProjectsLocationsSampleQuerySetsPatchCall
Patch: Updates a SampleQuerySet.
- name: Identifier. The full resource name of the SampleQuerySet, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set} `. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
type ProjectsLocationsService ¶
type ProjectsLocationsService struct { Collections *ProjectsLocationsCollectionsService DataStores *ProjectsLocationsDataStoresService Evaluations *ProjectsLocationsEvaluationsService GroundingConfigs *ProjectsLocationsGroundingConfigsService IdentityMappingStores *ProjectsLocationsIdentityMappingStoresService Operations *ProjectsLocationsOperationsService RankingConfigs *ProjectsLocationsRankingConfigsService SampleQuerySets *ProjectsLocationsSampleQuerySetsService UserEvents *ProjectsLocationsUserEventsService // contains filtered or unexported fields }
func NewProjectsLocationsService ¶
func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
type ProjectsLocationsUserEventsCollectCall ¶ added in v0.185.0
type ProjectsLocationsUserEventsCollectCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsUserEventsCollectCall) Context ¶ added in v0.185.0
func (c *ProjectsLocationsUserEventsCollectCall) Context(ctx context.Context) *ProjectsLocationsUserEventsCollectCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsUserEventsCollectCall) Do ¶ added in v0.185.0
func (c *ProjectsLocationsUserEventsCollectCall) Do(opts ...googleapi.CallOption) (*GoogleApiHttpBody, error)
Do executes the "discoveryengine.projects.locations.userEvents.collect" call. Any non-2xx status code is an error. Response headers are in either *GoogleApiHttpBody.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsUserEventsCollectCall) Ets ¶ added in v0.185.0
func (c *ProjectsLocationsUserEventsCollectCall) Ets(ets int64) *ProjectsLocationsUserEventsCollectCall
Ets sets the optional parameter "ets": The event timestamp in milliseconds. This prevents browser caching of otherwise identical get requests. The name is abbreviated to reduce the payload bytes.
func (*ProjectsLocationsUserEventsCollectCall) Fields ¶ added in v0.185.0
func (c *ProjectsLocationsUserEventsCollectCall) Fields(s ...googleapi.Field) *ProjectsLocationsUserEventsCollectCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsUserEventsCollectCall) Header ¶ added in v0.185.0
func (c *ProjectsLocationsUserEventsCollectCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsUserEventsCollectCall) IfNoneMatch ¶ added in v0.185.0
func (c *ProjectsLocationsUserEventsCollectCall) IfNoneMatch(entityTag string) *ProjectsLocationsUserEventsCollectCall
IfNoneMatch sets an 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.
func (*ProjectsLocationsUserEventsCollectCall) Uri ¶ added in v0.185.0
func (c *ProjectsLocationsUserEventsCollectCall) Uri(uri string) *ProjectsLocationsUserEventsCollectCall
Uri sets the optional parameter "uri": The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for third-party requests.
func (*ProjectsLocationsUserEventsCollectCall) UserEvent ¶ added in v0.185.0
func (c *ProjectsLocationsUserEventsCollectCall) UserEvent(userEvent string) *ProjectsLocationsUserEventsCollectCall
UserEvent sets the optional parameter "userEvent": Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters.
type ProjectsLocationsUserEventsImportCall ¶ added in v0.206.0
type ProjectsLocationsUserEventsImportCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsUserEventsImportCall) Context ¶ added in v0.206.0
func (c *ProjectsLocationsUserEventsImportCall) Context(ctx context.Context) *ProjectsLocationsUserEventsImportCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsUserEventsImportCall) Do ¶ added in v0.206.0
func (c *ProjectsLocationsUserEventsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.locations.userEvents.import" call. 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 (*ProjectsLocationsUserEventsImportCall) Fields ¶ added in v0.206.0
func (c *ProjectsLocationsUserEventsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsUserEventsImportCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsUserEventsImportCall) Header ¶ added in v0.206.0
func (c *ProjectsLocationsUserEventsImportCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsUserEventsService ¶ added in v0.173.0
type ProjectsLocationsUserEventsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsUserEventsService ¶ added in v0.173.0
func NewProjectsLocationsUserEventsService(s *Service) *ProjectsLocationsUserEventsService
func (*ProjectsLocationsUserEventsService) Collect ¶ added in v0.185.0
func (r *ProjectsLocationsUserEventsService) Collect(parent string) *ProjectsLocationsUserEventsCollectCall
Collect: Writes a single user event from the browser. This uses a GET request to due to browser restriction of POST-ing to a third-party domain. This method is used only by the Discovery Engine API JavaScript pixel and Google Tag Manager. Users should not call this method directly.
- parent: The parent resource name. If the collect user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}`. If the collect user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`.
func (*ProjectsLocationsUserEventsService) Import ¶ added in v0.206.0
func (r *ProjectsLocationsUserEventsService) Import(parent string, googleclouddiscoveryenginev1betaimportusereventsrequest *GoogleCloudDiscoveryengineV1betaImportUserEventsRequest) *ProjectsLocationsUserEventsImportCall
Import: Bulk import of user events. Request processing might be synchronous. Events that already exist are skipped. Use this method for backfilling historical user events. Operation.response is of type ImportResponse. Note that it is possible for a subset of the items to be successfully inserted. Operation.metadata is of type ImportMetadata.
- parent: Parent DataStore resource name, of the form `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}`.
func (*ProjectsLocationsUserEventsService) Write ¶ added in v0.173.0
func (r *ProjectsLocationsUserEventsService) Write(parent string, googleclouddiscoveryenginev1betauserevent *GoogleCloudDiscoveryengineV1betaUserEvent) *ProjectsLocationsUserEventsWriteCall
Write: Writes a single user event.
- parent: The parent resource name. If the write user event action is applied in DataStore level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStore s/{data_store}`. If the write user event action is applied in Location level, for example, the event with Document across multiple DataStore, the format is: `projects/{project}/locations/{location}`.
type ProjectsLocationsUserEventsWriteCall ¶ added in v0.173.0
type ProjectsLocationsUserEventsWriteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsUserEventsWriteCall) Context ¶ added in v0.173.0
func (c *ProjectsLocationsUserEventsWriteCall) Context(ctx context.Context) *ProjectsLocationsUserEventsWriteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsUserEventsWriteCall) Do ¶ added in v0.173.0
func (c *ProjectsLocationsUserEventsWriteCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDiscoveryengineV1betaUserEvent, error)
Do executes the "discoveryengine.projects.locations.userEvents.write" call. Any non-2xx status code is an error. Response headers are in either *GoogleCloudDiscoveryengineV1betaUserEvent.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsUserEventsWriteCall) Fields ¶ added in v0.173.0
func (c *ProjectsLocationsUserEventsWriteCall) Fields(s ...googleapi.Field) *ProjectsLocationsUserEventsWriteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsUserEventsWriteCall) Header ¶ added in v0.173.0
func (c *ProjectsLocationsUserEventsWriteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsUserEventsWriteCall) WriteAsync ¶ added in v0.183.0
func (c *ProjectsLocationsUserEventsWriteCall) WriteAsync(writeAsync bool) *ProjectsLocationsUserEventsWriteCall
WriteAsync sets the optional parameter "writeAsync": If set to true, the user event is written asynchronously after validation, and the API responds without waiting for the write.
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.
func (*ProjectsOperationsGetCall) Do ¶
func (c *ProjectsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.operations.get" call. 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 details.
func (*ProjectsOperationsGetCall) Header ¶
func (c *ProjectsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsOperationsGetCall
IfNoneMatch sets an 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.
type ProjectsOperationsListCall ¶
type ProjectsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsOperationsListCall) Context ¶
func (c *ProjectsOperationsListCall) Context(ctx context.Context) *ProjectsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsOperationsListCall) Do ¶
func (c *ProjectsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error)
Do executes the "discoveryengine.projects.operations.list" call. Any non-2xx status code is an error. Response headers are in either *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsOperationsListCall) Fields ¶
func (c *ProjectsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsOperationsListCall) Filter ¶
func (c *ProjectsOperationsListCall) Filter(filter string) *ProjectsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsOperationsListCall) Header ¶
func (c *ProjectsOperationsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsOperationsListCall) IfNoneMatch ¶
func (c *ProjectsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsOperationsListCall
IfNoneMatch sets an 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.
func (*ProjectsOperationsListCall) PageSize ¶
func (c *ProjectsOperationsListCall) PageSize(pageSize int64) *ProjectsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsOperationsListCall) PageToken ¶
func (c *ProjectsOperationsListCall) PageToken(pageToken string) *ProjectsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsOperationsListCall) Pages ¶
func (c *ProjectsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsOperationsService ¶
type ProjectsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsOperationsService ¶
func NewProjectsOperationsService(s *Service) *ProjectsOperationsService
func (*ProjectsOperationsService) Get ¶
func (r *ProjectsOperationsService) Get(name string) *ProjectsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (*ProjectsOperationsService) List ¶
func (r *ProjectsOperationsService) List(name string) *ProjectsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsProvisionCall ¶ added in v0.183.0
type ProjectsProvisionCall struct {
// contains filtered or unexported fields
}
func (*ProjectsProvisionCall) Context ¶ added in v0.183.0
func (c *ProjectsProvisionCall) Context(ctx context.Context) *ProjectsProvisionCall
Context sets the context to be used in this call's Do method.
func (*ProjectsProvisionCall) Do ¶ added in v0.183.0
func (c *ProjectsProvisionCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error)
Do executes the "discoveryengine.projects.provision" call. 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 (*ProjectsProvisionCall) Fields ¶ added in v0.183.0
func (c *ProjectsProvisionCall) Fields(s ...googleapi.Field) *ProjectsProvisionCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsProvisionCall) Header ¶ added in v0.183.0
func (c *ProjectsProvisionCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsService ¶
type ProjectsService struct { Locations *ProjectsLocationsService Operations *ProjectsOperationsService // contains filtered or unexported fields }
func NewProjectsService ¶
func NewProjectsService(s *Service) *ProjectsService
func (*ProjectsService) Provision ¶ added in v0.183.0
func (r *ProjectsService) Provision(name string, googleclouddiscoveryenginev1betaprovisionprojectrequest *GoogleCloudDiscoveryengineV1betaProvisionProjectRequest) *ProjectsProvisionCall
Provision: Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the Terms for data use (https://cloud.google.com/retail/data-use-terms), and optionally specify in request to provide consent to that service terms.
- name: Full resource name of a Project, such as `projects/{project_id_or_number}`.
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Projects *ProjectsService // contains filtered or unexported fields }
func New
deprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
func NewService ¶
NewService creates a new Service.