Documentation ¶
Overview ¶
Package dataqna aliases all exported identifiers in package "cloud.google.com/go/dataqna/apiv1alpha/dataqnapb".
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb. Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details.
Index ¶
- Constants
- Variables
- func RegisterAutoSuggestionServiceServer(s *grpc.Server, srv AutoSuggestionServiceServer)deprecated
- func RegisterQuestionServiceServer(s *grpc.Server, srv QuestionServiceServer)deprecated
- type AnnotatedStringdeprecated
- type AnnotatedString_SemanticMarkupdeprecated
- type AnnotatedString_SemanticMarkupTypedeprecated
- type AutoSuggestionServiceClientdeprecated
- type AutoSuggestionServiceServerdeprecated
- type BigQueryJobdeprecated
- type CreateQuestionRequestdeprecated
- type DataQuerydeprecated
- type DebugFlagsdeprecated
- type ExecuteQuestionRequestdeprecated
- type ExecutionInfodeprecated
- type ExecutionInfo_JobExecutionStatedeprecated
- type GetQuestionRequestdeprecated
- type GetUserFeedbackRequestdeprecated
- type HumanReadabledeprecated
- type InterpretEntitydeprecated
- type InterpretErrordeprecated
- type InterpretError_InterpretAmbiguityDetailsdeprecated
- type InterpretError_InterpretErrorCodedeprecated
- type InterpretError_InterpretErrorDetailsdeprecated
- type InterpretError_InterpretIncompleteQueryDetailsdeprecated
- type InterpretError_InterpretUnsupportedDetailsdeprecated
- type Interpretationdeprecated
- type InterpretationStructuredeprecated
- type InterpretationStructure_ColumnInfodeprecated
- type InterpretationStructure_VisualizationTypedeprecated
- type Questiondeprecated
- type QuestionServiceClientdeprecated
- type QuestionServiceServerdeprecated
- type SuggestQueriesRequestdeprecated
- type SuggestQueriesResponsedeprecated
- type Suggestiondeprecated
- type SuggestionInfodeprecated
- type SuggestionInfo_MatchInfodeprecated
- type SuggestionTypedeprecated
- type UnimplementedAutoSuggestionServiceServerdeprecated
- type UnimplementedQuestionServiceServerdeprecated
- type UpdateUserFeedbackRequestdeprecated
- type UserFeedbackdeprecated
- type UserFeedback_UserFeedbackRatingdeprecated
Constants ¶
const ( AnnotatedString_BLOCKED = src.AnnotatedString_BLOCKED AnnotatedString_DIMENSION = src.AnnotatedString_DIMENSION AnnotatedString_FILTER = src.AnnotatedString_FILTER AnnotatedString_MARKUP_TYPE_UNSPECIFIED = src.AnnotatedString_MARKUP_TYPE_UNSPECIFIED AnnotatedString_METRIC = src.AnnotatedString_METRIC AnnotatedString_ROW = src.AnnotatedString_ROW AnnotatedString_UNUSED = src.AnnotatedString_UNUSED ExecutionInfo_FAILED = src.ExecutionInfo_FAILED ExecutionInfo_JOB_EXECUTION_STATE_UNSPECIFIED = src.ExecutionInfo_JOB_EXECUTION_STATE_UNSPECIFIED ExecutionInfo_NOT_EXECUTED = src.ExecutionInfo_NOT_EXECUTED ExecutionInfo_RUNNING = src.ExecutionInfo_RUNNING ExecutionInfo_SUCCEEDED = src.ExecutionInfo_SUCCEEDED InterpretEntity_DIMENSION = src.InterpretEntity_DIMENSION InterpretEntity_INTERPRET_ENTITY_UNSPECIFIED = src.InterpretEntity_INTERPRET_ENTITY_UNSPECIFIED InterpretEntity_METRIC = src.InterpretEntity_METRIC InterpretError_FAILED_TO_ANSWER = src.InterpretError_FAILED_TO_ANSWER InterpretError_FAILED_TO_UNDERSTAND = src.InterpretError_FAILED_TO_UNDERSTAND InterpretError_INTERPRET_ERROR_CODE_UNSPECIFIED = src.InterpretError_INTERPRET_ERROR_CODE_UNSPECIFIED InterpretError_INVALID_QUERY = src.InterpretError_INVALID_QUERY InterpretationStructure_AREA_CHART = src.InterpretationStructure_AREA_CHART InterpretationStructure_BAR_CHART = src.InterpretationStructure_BAR_CHART InterpretationStructure_CHART_NOT_UNDERSTOOD = src.InterpretationStructure_CHART_NOT_UNDERSTOOD InterpretationStructure_COLUMN_CHART = src.InterpretationStructure_COLUMN_CHART InterpretationStructure_COMBO_CHART = src.InterpretationStructure_COMBO_CHART InterpretationStructure_GENERIC_CHART = src.InterpretationStructure_GENERIC_CHART InterpretationStructure_HISTOGRAM = src.InterpretationStructure_HISTOGRAM InterpretationStructure_LINE_CHART = src.InterpretationStructure_LINE_CHART InterpretationStructure_PIE_CHART = src.InterpretationStructure_PIE_CHART InterpretationStructure_SCATTER_PLOT = src.InterpretationStructure_SCATTER_PLOT InterpretationStructure_TABLE = src.InterpretationStructure_TABLE InterpretationStructure_TIMELINE = src.InterpretationStructure_TIMELINE InterpretationStructure_VISUALIZATION_TYPE_UNSPECIFIED = src.InterpretationStructure_VISUALIZATION_TYPE_UNSPECIFIED SuggestionType_ENTITY = src.SuggestionType_ENTITY SuggestionType_SUGGESTION_TYPE_UNSPECIFIED = src.SuggestionType_SUGGESTION_TYPE_UNSPECIFIED SuggestionType_TEMPLATE = src.SuggestionType_TEMPLATE UserFeedback_NEGATIVE = src.UserFeedback_NEGATIVE UserFeedback_POSITIVE = src.UserFeedback_POSITIVE UserFeedback_USER_FEEDBACK_RATING_UNSPECIFIED = src.UserFeedback_USER_FEEDBACK_RATING_UNSPECIFIED )
Deprecated: Please use consts in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
Variables ¶
var ( AnnotatedString_SemanticMarkupType_name = src.AnnotatedString_SemanticMarkupType_name AnnotatedString_SemanticMarkupType_value = src.AnnotatedString_SemanticMarkupType_value ExecutionInfo_JobExecutionState_name = src.ExecutionInfo_JobExecutionState_name ExecutionInfo_JobExecutionState_value = src.ExecutionInfo_JobExecutionState_value File_google_cloud_dataqna_v1alpha_annotated_string_proto = src.File_google_cloud_dataqna_v1alpha_annotated_string_proto File_google_cloud_dataqna_v1alpha_auto_suggestion_service_proto = src.File_google_cloud_dataqna_v1alpha_auto_suggestion_service_proto File_google_cloud_dataqna_v1alpha_question_proto = src.File_google_cloud_dataqna_v1alpha_question_proto File_google_cloud_dataqna_v1alpha_question_service_proto = src.File_google_cloud_dataqna_v1alpha_question_service_proto File_google_cloud_dataqna_v1alpha_user_feedback_proto = src.File_google_cloud_dataqna_v1alpha_user_feedback_proto InterpretEntity_name = src.InterpretEntity_name InterpretEntity_value = src.InterpretEntity_value InterpretError_InterpretErrorCode_name = src.InterpretError_InterpretErrorCode_name InterpretError_InterpretErrorCode_value = src.InterpretError_InterpretErrorCode_value InterpretationStructure_VisualizationType_name = src.InterpretationStructure_VisualizationType_name InterpretationStructure_VisualizationType_value = src.InterpretationStructure_VisualizationType_value SuggestionType_name = src.SuggestionType_name SuggestionType_value = src.SuggestionType_value UserFeedback_UserFeedbackRating_name = src.UserFeedback_UserFeedbackRating_name UserFeedback_UserFeedbackRating_value = src.UserFeedback_UserFeedbackRating_value )
Deprecated: Please use vars in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
Functions ¶
func RegisterAutoSuggestionServiceServer
deprecated
func RegisterAutoSuggestionServiceServer(s *grpc.Server, srv AutoSuggestionServiceServer)
Deprecated: Please use funcs in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
func RegisterQuestionServiceServer
deprecated
func RegisterQuestionServiceServer(s *grpc.Server, srv QuestionServiceServer)
Deprecated: Please use funcs in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
Types ¶
type AnnotatedString
deprecated
type AnnotatedString = src.AnnotatedString
Describes string annotation from both semantic and formatting perspectives. Example: User Query: top countries by population in Africa 0 4 14 17 28 31 37 Table Data: + "country" - dimension + "population" - metric + "Africa" - value in the "continent" column text_formatted = `"top countries by population in Africa"` html_formatted = `"top <b>countries</b> by <b>population</b> in <i>Africa</i>"` ``` markups = [ {DIMENSION, 4, 12}, // 'countries' {METRIC, 17, 26}, // 'population' {FILTER, 31, 36} // 'Africa' ] ``` Note that html formattings for 'DIMENSION' and 'METRIC' are the same, while semantic markups are different.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type AnnotatedString_SemanticMarkup
deprecated
type AnnotatedString_SemanticMarkup = src.AnnotatedString_SemanticMarkup
Semantic markup denotes a substring (by index and length) with markup information.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type AnnotatedString_SemanticMarkupType
deprecated
type AnnotatedString_SemanticMarkupType = src.AnnotatedString_SemanticMarkupType
Semantic markup types.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type AutoSuggestionServiceClient
deprecated
type AutoSuggestionServiceClient = src.AutoSuggestionServiceClient
AutoSuggestionServiceClient is the client API for AutoSuggestionService service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
func NewAutoSuggestionServiceClient
deprecated
func NewAutoSuggestionServiceClient(cc grpc.ClientConnInterface) AutoSuggestionServiceClient
Deprecated: Please use funcs in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type AutoSuggestionServiceServer
deprecated
type AutoSuggestionServiceServer = src.AutoSuggestionServiceServer
AutoSuggestionServiceServer is the server API for AutoSuggestionService service.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type BigQueryJob
deprecated
type BigQueryJob = src.BigQueryJob
BigQuery job information. This can be used to query the BigQuery API and retrieve the current job's status (using [jobs.get](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/get)).
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type CreateQuestionRequest
deprecated
type CreateQuestionRequest = src.CreateQuestionRequest
Request to create a question resource.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type DataQuery
deprecated
Representation of the data query for the backend. This is provided for informational purposes only. Clients should not use it to send it to the backend directly, but rather use the `execute` RPC to trigger the execution. Using the `execute` RPC is needed in order to track the state of a question and report on it correctly to the data administrators.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type DebugFlags
deprecated
type DebugFlags = src.DebugFlags
Configuriation of debug flags.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type ExecuteQuestionRequest
deprecated
type ExecuteQuestionRequest = src.ExecuteQuestionRequest
Request to execute an interpretation.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type ExecutionInfo
deprecated
type ExecutionInfo = src.ExecutionInfo
Information about the backend status (such as BigQuery) of the execution.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type ExecutionInfo_JobExecutionState
deprecated
type ExecutionInfo_JobExecutionState = src.ExecutionInfo_JobExecutionState
Enum of possible job execution statuses.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type GetQuestionRequest
deprecated
type GetQuestionRequest = src.GetQuestionRequest
A request to get a previously created question.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type GetUserFeedbackRequest
deprecated
type GetUserFeedbackRequest = src.GetUserFeedbackRequest
Request to get user feedback.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type HumanReadable
deprecated
type HumanReadable = src.HumanReadable
Human readable interpretation.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type InterpretEntity
deprecated
type InterpretEntity = src.InterpretEntity
Query entities of an interpretation.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type InterpretError
deprecated
type InterpretError = src.InterpretError
Details on the failure to interpret the question.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type InterpretError_InterpretAmbiguityDetails
deprecated
type InterpretError_InterpretAmbiguityDetails = src.InterpretError_InterpretAmbiguityDetails
Details about a query that was too ambiguous. Currently, the message has no fields and its presence signals that there was ambiguity.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type InterpretError_InterpretErrorCode
deprecated
type InterpretError_InterpretErrorCode = src.InterpretError_InterpretErrorCode
The interpret error code provides an error category why the interpretation failed.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type InterpretError_InterpretErrorDetails
deprecated
type InterpretError_InterpretErrorDetails = src.InterpretError_InterpretErrorDetails
Details on interpretation failure.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type InterpretError_InterpretIncompleteQueryDetails
deprecated
type InterpretError_InterpretIncompleteQueryDetails = src.InterpretError_InterpretIncompleteQueryDetails
Details about an incomplete query.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type InterpretError_InterpretUnsupportedDetails
deprecated
type InterpretError_InterpretUnsupportedDetails = src.InterpretError_InterpretUnsupportedDetails
Details about unsupported parts in a query.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type Interpretation
deprecated
type Interpretation = src.Interpretation
An interpretation of a natural language query.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type InterpretationStructure
deprecated
type InterpretationStructure = src.InterpretationStructure
Information about the interpretation structure that helps to understand and visualize the response.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type InterpretationStructure_ColumnInfo
deprecated
type InterpretationStructure_ColumnInfo = src.InterpretationStructure_ColumnInfo
Information about a column.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type InterpretationStructure_VisualizationType
deprecated
type InterpretationStructure_VisualizationType = src.InterpretationStructure_VisualizationType
Enumeration of visualzation types to use for query response data.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type Question
deprecated
type QuestionServiceClient
deprecated
type QuestionServiceClient = src.QuestionServiceClient
QuestionServiceClient is the client API for QuestionService service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
func NewQuestionServiceClient
deprecated
func NewQuestionServiceClient(cc grpc.ClientConnInterface) QuestionServiceClient
Deprecated: Please use funcs in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type QuestionServiceServer
deprecated
type QuestionServiceServer = src.QuestionServiceServer
QuestionServiceServer is the server API for QuestionService service.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type SuggestQueriesRequest
deprecated
type SuggestQueriesRequest = src.SuggestQueriesRequest
Request for query suggestions.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type SuggestQueriesResponse
deprecated
type SuggestQueriesResponse = src.SuggestQueriesResponse
Response to SuggestQueries.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type Suggestion
deprecated
type Suggestion = src.Suggestion
A suggestion for a query with a ranking score.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type SuggestionInfo
deprecated
type SuggestionInfo = src.SuggestionInfo
Detailed information about the suggestion.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type SuggestionInfo_MatchInfo
deprecated
type SuggestionInfo_MatchInfo = src.SuggestionInfo_MatchInfo
MatchInfo describes which part of suggestion matched with data in user typed query. This can be used to highlight matching parts in the UI. This is different from the annotations provided in annotated_suggestion. The annotated_suggestion provides information about the semantic meaning, while this provides information about how it relates to the input. Example: user query: `top products` ``` annotated_suggestion { text_formatted = "top product_group" html_formatted = "top <b>product_group</b>" markups { {type: TEXT, start_char_index: 0, length: 3} {type: DIMENSION, start_char_index: 4, length: 13} } } query_matches { { start_char_index: 0, length: 3 } { start_char_index: 4, length: 7} } ```
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type SuggestionType
deprecated
type SuggestionType = src.SuggestionType
The type of suggestion.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type UnimplementedAutoSuggestionServiceServer
deprecated
type UnimplementedAutoSuggestionServiceServer = src.UnimplementedAutoSuggestionServiceServer
UnimplementedAutoSuggestionServiceServer can be embedded to have forward compatible implementations.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type UnimplementedQuestionServiceServer
deprecated
type UnimplementedQuestionServiceServer = src.UnimplementedQuestionServiceServer
UnimplementedQuestionServiceServer can be embedded to have forward compatible implementations.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type UpdateUserFeedbackRequest
deprecated
type UpdateUserFeedbackRequest = src.UpdateUserFeedbackRequest
Request to updates user feedback.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type UserFeedback
deprecated
type UserFeedback = src.UserFeedback
Feedback provided by a user.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb
type UserFeedback_UserFeedbackRating
deprecated
type UserFeedback_UserFeedbackRating = src.UserFeedback_UserFeedbackRating
Enumeration of feedback ratings.
Deprecated: Please use types in: cloud.google.com/go/dataqna/apiv1alpha/dataqnapb