Classes
protos.google.api.ClientLibrarySettings
Represents a ClientLibrarySettings.
protos.google.api.CommonLanguageSettings
Represents a CommonLanguageSettings.
protos.google.api.CppSettings
Represents a CppSettings.
protos.google.api.CustomHttpPattern
Represents a CustomHttpPattern.
protos.google.api.DotnetSettings
Represents a DotnetSettings.
protos.google.api.GoSettings
Represents a GoSettings.
protos.google.api.Http
Represents a Http.
protos.google.api.HttpRule
Represents a HttpRule.
protos.google.api.JavaSettings
Represents a JavaSettings.
protos.google.api.MethodSettings
Represents a MethodSettings.
protos.google.api.MethodSettings.LongRunning
Represents a LongRunning.
protos.google.api.NodeSettings
Represents a NodeSettings.
protos.google.api.PhpSettings
Represents a PhpSettings.
protos.google.api.Publishing
Represents a Publishing.
protos.google.api.PythonSettings
Represents a PythonSettings.
protos.google.api.ResourceDescriptor
Represents a ResourceDescriptor.
protos.google.api.ResourceReference
Represents a ResourceReference.
protos.google.api.RubySettings
Represents a RubySettings.
protos.google.cloud.dataqna.v1alpha.AnnotatedString
Represents an AnnotatedString.
protos.google.cloud.dataqna.v1alpha.AnnotatedString.SemanticMarkup
Represents a SemanticMarkup.
protos.google.cloud.dataqna.v1alpha.AutoSuggestionService
Represents an AutoSuggestionService
protos.google.cloud.dataqna.v1alpha.BigQueryJob
Represents a BigQueryJob.
protos.google.cloud.dataqna.v1alpha.CreateQuestionRequest
Represents a CreateQuestionRequest.
protos.google.cloud.dataqna.v1alpha.DataQuery
Represents a DataQuery.
protos.google.cloud.dataqna.v1alpha.DebugFlags
Represents a DebugFlags.
protos.google.cloud.dataqna.v1alpha.ExecuteQuestionRequest
Represents an ExecuteQuestionRequest.
protos.google.cloud.dataqna.v1alpha.ExecutionInfo
Represents an ExecutionInfo.
protos.google.cloud.dataqna.v1alpha.GetQuestionRequest
Represents a GetQuestionRequest.
protos.google.cloud.dataqna.v1alpha.GetUserFeedbackRequest
Represents a GetUserFeedbackRequest.
protos.google.cloud.dataqna.v1alpha.HumanReadable
Represents a HumanReadable.
protos.google.cloud.dataqna.v1alpha.Interpretation
Represents an Interpretation.
protos.google.cloud.dataqna.v1alpha.InterpretationStructure
Represents an InterpretationStructure.
protos.google.cloud.dataqna.v1alpha.InterpretationStructure.ColumnInfo
Represents a ColumnInfo.
protos.google.cloud.dataqna.v1alpha.InterpretError
Represents an InterpretError.
protos.google.cloud.dataqna.v1alpha.InterpretError.InterpretAmbiguityDetails
Represents an InterpretAmbiguityDetails.
protos.google.cloud.dataqna.v1alpha.InterpretError.InterpretErrorDetails
Represents an InterpretErrorDetails.
protos.google.cloud.dataqna.v1alpha.InterpretError.InterpretIncompleteQueryDetails
Represents an InterpretIncompleteQueryDetails.
protos.google.cloud.dataqna.v1alpha.InterpretError.InterpretUnsupportedDetails
Represents an InterpretUnsupportedDetails.
protos.google.cloud.dataqna.v1alpha.Question
Represents a Question.
protos.google.cloud.dataqna.v1alpha.QuestionService
Represents a QuestionService
protos.google.cloud.dataqna.v1alpha.Suggestion
Represents a Suggestion.
protos.google.cloud.dataqna.v1alpha.SuggestionInfo
Represents a SuggestionInfo.
protos.google.cloud.dataqna.v1alpha.SuggestionInfo.MatchInfo
Represents a MatchInfo.
protos.google.cloud.dataqna.v1alpha.SuggestQueriesRequest
Represents a SuggestQueriesRequest.
protos.google.cloud.dataqna.v1alpha.SuggestQueriesResponse
Represents a SuggestQueriesResponse.
protos.google.cloud.dataqna.v1alpha.UpdateUserFeedbackRequest
Represents an UpdateUserFeedbackRequest.
protos.google.cloud.dataqna.v1alpha.UserFeedback
Represents a UserFeedback.
protos.google.protobuf.Any
Represents an Any.
protos.google.protobuf.DescriptorProto
Represents a DescriptorProto.
protos.google.protobuf.DescriptorProto.ExtensionRange
Represents an ExtensionRange.
protos.google.protobuf.DescriptorProto.ReservedRange
Represents a ReservedRange.
protos.google.protobuf.Duration
Represents a Duration.
protos.google.protobuf.EnumDescriptorProto
Represents an EnumDescriptorProto.
protos.google.protobuf.EnumDescriptorProto.EnumReservedRange
Represents an EnumReservedRange.
protos.google.protobuf.EnumOptions
Represents an EnumOptions.
protos.google.protobuf.EnumValueDescriptorProto
Represents an EnumValueDescriptorProto.
protos.google.protobuf.EnumValueOptions
Represents an EnumValueOptions.
protos.google.protobuf.ExtensionRangeOptions
Represents an ExtensionRangeOptions.
protos.google.protobuf.ExtensionRangeOptions.Declaration
Represents a Declaration.
protos.google.protobuf.FeatureSet
Represents a FeatureSet.
protos.google.protobuf.FeatureSetDefaults
Represents a FeatureSetDefaults.
protos.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
Represents a FeatureSetEditionDefault.
protos.google.protobuf.FieldDescriptorProto
Represents a FieldDescriptorProto.
protos.google.protobuf.FieldMask
Represents a FieldMask.
protos.google.protobuf.FieldOptions
Represents a FieldOptions.
protos.google.protobuf.FieldOptions.EditionDefault
Represents an EditionDefault.
protos.google.protobuf.FileDescriptorProto
Represents a FileDescriptorProto.
protos.google.protobuf.FileDescriptorSet
Represents a FileDescriptorSet.
protos.google.protobuf.FileOptions
Represents a FileOptions.
protos.google.protobuf.GeneratedCodeInfo
Represents a GeneratedCodeInfo.
protos.google.protobuf.GeneratedCodeInfo.Annotation
Represents an Annotation.
protos.google.protobuf.MessageOptions
Represents a MessageOptions.
protos.google.protobuf.MethodDescriptorProto
Represents a MethodDescriptorProto.
protos.google.protobuf.MethodOptions
Represents a MethodOptions.
protos.google.protobuf.OneofDescriptorProto
Represents an OneofDescriptorProto.
protos.google.protobuf.OneofOptions
Represents an OneofOptions.
protos.google.protobuf.ServiceDescriptorProto
Represents a ServiceDescriptorProto.
protos.google.protobuf.ServiceOptions
Represents a ServiceOptions.
protos.google.protobuf.SourceCodeInfo
Represents a SourceCodeInfo.
protos.google.protobuf.SourceCodeInfo.Location
Represents a Location.
protos.google.protobuf.Timestamp
Represents a Timestamp.
protos.google.protobuf.UninterpretedOption
Represents an UninterpretedOption.
protos.google.protobuf.UninterpretedOption.NamePart
Represents a NamePart.
protos.google.rpc.Status
Represents a Status.
v1alpha.AutoSuggestionServiceClient
This stateless API provides automatic suggestions for natural language queries for the data sources in the provided project and location.
The service provides a resourceless operation suggestQueries
that can be called to get a list of suggestions for a given incomplete query and scope (or list of scopes) under which the query is to be interpreted.
There are two types of suggestions, ENTITY for single entity suggestions and TEMPLATE for full sentences. By default, both types are returned.
Example Request: ``` GetSuggestions({ parent: "locations/us/projects/my-project" scopes: "//bigquery.googleapis.com/projects/my-project/datasets/my-dataset/tables/my-table" query: "top it" }) ```
The service will retrieve information based on the given scope(s) and give suggestions based on that (e.g. "top item" for "top it" if "item" is a known dimension for the provided scope). ``` suggestions { suggestion_info { annotated_suggestion { text_formatted: "top item by sum of usd_revenue_net" markups { type: DIMENSION start_char_index: 4 length: 4 } markups { type: METRIC start_char_index: 19 length: 15 } } query_matches { start_char_index: 0 length: 6 } } suggestion_type: TEMPLATE ranking_score: 0.9 } suggestions { suggestion_info { annotated_suggestion { text_formatted: "item" markups { type: DIMENSION start_char_index: 4 length: 2 } } query_matches { start_char_index: 0 length: 6 } } suggestion_type: ENTITY ranking_score: 0.8 } ``` v1alpha
v1alpha.QuestionServiceClient
Service to interpret natural language queries. The service allows to create Question
resources that are interpreted and are filled with one or more interpretations if the question could be interpreted. Once a Question
resource is created and has at least one interpretation, an interpretation can be chosen for execution, which triggers a query to the backend (for BigQuery, it will create a job). Upon successful execution of that interpretation, backend specific information will be returned so that the client can retrieve the results from the backend.
The Question
resources are named projects/* /locations/* /questions/*
.
The Question
resource has a singletion sub-resource UserFeedback
named projects/* /locations/* /questions/* /userFeedback
, which allows access to user feedback. v1alpha
Interfaces
protos.google.api.IClientLibrarySettings
Properties of a ClientLibrarySettings.
protos.google.api.ICommonLanguageSettings
Properties of a CommonLanguageSettings.
protos.google.api.ICppSettings
Properties of a CppSettings.
protos.google.api.ICustomHttpPattern
Properties of a CustomHttpPattern.
protos.google.api.IDotnetSettings
Properties of a DotnetSettings.
protos.google.api.IGoSettings
Properties of a GoSettings.
protos.google.api.IHttp
Properties of a Http.
protos.google.api.IHttpRule
Properties of a HttpRule.
protos.google.api.IJavaSettings
Properties of a JavaSettings.
protos.google.api.IMethodSettings
Properties of a MethodSettings.
protos.google.api.INodeSettings
Properties of a NodeSettings.
protos.google.api.IPhpSettings
Properties of a PhpSettings.
protos.google.api.IPublishing
Properties of a Publishing.
protos.google.api.IPythonSettings
Properties of a PythonSettings.
protos.google.api.IResourceDescriptor
Properties of a ResourceDescriptor.
protos.google.api.IResourceReference
Properties of a ResourceReference.
protos.google.api.IRubySettings
Properties of a RubySettings.
protos.google.api.MethodSettings.ILongRunning
Properties of a LongRunning.
protos.google.cloud.dataqna.v1alpha.AnnotatedString.ISemanticMarkup
Properties of a SemanticMarkup.
protos.google.cloud.dataqna.v1alpha.IAnnotatedString
Properties of an AnnotatedString.
protos.google.cloud.dataqna.v1alpha.IBigQueryJob
Properties of a BigQueryJob.
protos.google.cloud.dataqna.v1alpha.ICreateQuestionRequest
Properties of a CreateQuestionRequest.
protos.google.cloud.dataqna.v1alpha.IDataQuery
Properties of a DataQuery.
protos.google.cloud.dataqna.v1alpha.IDebugFlags
Properties of a DebugFlags.
protos.google.cloud.dataqna.v1alpha.IExecuteQuestionRequest
Properties of an ExecuteQuestionRequest.
protos.google.cloud.dataqna.v1alpha.IExecutionInfo
Properties of an ExecutionInfo.
protos.google.cloud.dataqna.v1alpha.IGetQuestionRequest
Properties of a GetQuestionRequest.
protos.google.cloud.dataqna.v1alpha.IGetUserFeedbackRequest
Properties of a GetUserFeedbackRequest.
protos.google.cloud.dataqna.v1alpha.IHumanReadable
Properties of a HumanReadable.
protos.google.cloud.dataqna.v1alpha.IInterpretation
Properties of an Interpretation.
protos.google.cloud.dataqna.v1alpha.IInterpretationStructure
Properties of an InterpretationStructure.
protos.google.cloud.dataqna.v1alpha.IInterpretError
Properties of an InterpretError.
protos.google.cloud.dataqna.v1alpha.InterpretationStructure.IColumnInfo
Properties of a ColumnInfo.
protos.google.cloud.dataqna.v1alpha.InterpretError.IInterpretAmbiguityDetails
Properties of an InterpretAmbiguityDetails.
protos.google.cloud.dataqna.v1alpha.InterpretError.IInterpretErrorDetails
Properties of an InterpretErrorDetails.
protos.google.cloud.dataqna.v1alpha.InterpretError.IInterpretIncompleteQueryDetails
Properties of an InterpretIncompleteQueryDetails.
protos.google.cloud.dataqna.v1alpha.InterpretError.IInterpretUnsupportedDetails
Properties of an InterpretUnsupportedDetails.
protos.google.cloud.dataqna.v1alpha.IQuestion
Properties of a Question.
protos.google.cloud.dataqna.v1alpha.ISuggestion
Properties of a Suggestion.
protos.google.cloud.dataqna.v1alpha.ISuggestionInfo
Properties of a SuggestionInfo.
protos.google.cloud.dataqna.v1alpha.ISuggestQueriesRequest
Properties of a SuggestQueriesRequest.
protos.google.cloud.dataqna.v1alpha.ISuggestQueriesResponse
Properties of a SuggestQueriesResponse.
protos.google.cloud.dataqna.v1alpha.IUpdateUserFeedbackRequest
Properties of an UpdateUserFeedbackRequest.
protos.google.cloud.dataqna.v1alpha.IUserFeedback
Properties of a UserFeedback.
protos.google.cloud.dataqna.v1alpha.SuggestionInfo.IMatchInfo
Properties of a MatchInfo.
protos.google.protobuf.DescriptorProto.IExtensionRange
Properties of an ExtensionRange.
protos.google.protobuf.DescriptorProto.IReservedRange
Properties of a ReservedRange.
protos.google.protobuf.EnumDescriptorProto.IEnumReservedRange
Properties of an EnumReservedRange.
protos.google.protobuf.ExtensionRangeOptions.IDeclaration
Properties of a Declaration.
protos.google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault
Properties of a FeatureSetEditionDefault.
protos.google.protobuf.FieldOptions.IEditionDefault
Properties of an EditionDefault.
protos.google.protobuf.GeneratedCodeInfo.IAnnotation
Properties of an Annotation.
protos.google.protobuf.IAny
Properties of an Any.
protos.google.protobuf.IDescriptorProto
Properties of a DescriptorProto.
protos.google.protobuf.IDuration
Properties of a Duration.
protos.google.protobuf.IEnumDescriptorProto
Properties of an EnumDescriptorProto.
protos.google.protobuf.IEnumOptions
Properties of an EnumOptions.
protos.google.protobuf.IEnumValueDescriptorProto
Properties of an EnumValueDescriptorProto.
protos.google.protobuf.IEnumValueOptions
Properties of an EnumValueOptions.
protos.google.protobuf.IExtensionRangeOptions
Properties of an ExtensionRangeOptions.
protos.google.protobuf.IFeatureSet
Properties of a FeatureSet.
protos.google.protobuf.IFeatureSetDefaults
Properties of a FeatureSetDefaults.
protos.google.protobuf.IFieldDescriptorProto
Properties of a FieldDescriptorProto.
protos.google.protobuf.IFieldMask
Properties of a FieldMask.
protos.google.protobuf.IFieldOptions
Properties of a FieldOptions.
protos.google.protobuf.IFileDescriptorProto
Properties of a FileDescriptorProto.
protos.google.protobuf.IFileDescriptorSet
Properties of a FileDescriptorSet.
protos.google.protobuf.IFileOptions
Properties of a FileOptions.
protos.google.protobuf.IGeneratedCodeInfo
Properties of a GeneratedCodeInfo.
protos.google.protobuf.IMessageOptions
Properties of a MessageOptions.
protos.google.protobuf.IMethodDescriptorProto
Properties of a MethodDescriptorProto.
protos.google.protobuf.IMethodOptions
Properties of a MethodOptions.
protos.google.protobuf.IOneofDescriptorProto
Properties of an OneofDescriptorProto.
protos.google.protobuf.IOneofOptions
Properties of an OneofOptions.
protos.google.protobuf.IServiceDescriptorProto
Properties of a ServiceDescriptorProto.
protos.google.protobuf.IServiceOptions
Properties of a ServiceOptions.
protos.google.protobuf.ISourceCodeInfo
Properties of a SourceCodeInfo.
protos.google.protobuf.ITimestamp
Properties of a Timestamp.
protos.google.protobuf.IUninterpretedOption
Properties of an UninterpretedOption.
protos.google.protobuf.SourceCodeInfo.ILocation
Properties of a Location.
protos.google.protobuf.UninterpretedOption.INamePart
Properties of a NamePart.
protos.google.rpc.IStatus
Properties of a Status.
Enums
protos.google.api.ClientLibraryDestination
ClientLibraryDestination enum.
protos.google.api.ClientLibraryOrganization
ClientLibraryOrganization enum.
protos.google.api.FieldBehavior
FieldBehavior enum.
protos.google.api.LaunchStage
LaunchStage enum.
protos.google.api.ResourceDescriptor.History
History enum.
protos.google.api.ResourceDescriptor.Style
Style enum.
protos.google.cloud.dataqna.v1alpha.AnnotatedString.SemanticMarkupType
SemanticMarkupType enum.
protos.google.cloud.dataqna.v1alpha.ExecutionInfo.JobExecutionState
JobExecutionState enum.
protos.google.cloud.dataqna.v1alpha.InterpretationStructure.VisualizationType
VisualizationType enum.
protos.google.cloud.dataqna.v1alpha.InterpretEntity
InterpretEntity enum.
protos.google.cloud.dataqna.v1alpha.InterpretError.InterpretErrorCode
InterpretErrorCode enum.
protos.google.cloud.dataqna.v1alpha.SuggestionType
SuggestionType enum.
protos.google.cloud.dataqna.v1alpha.UserFeedback.UserFeedbackRating
UserFeedbackRating enum.
protos.google.protobuf.Edition
Edition enum.
protos.google.protobuf.ExtensionRangeOptions.VerificationState
VerificationState enum.
protos.google.protobuf.FeatureSet.EnumType
EnumType enum.
protos.google.protobuf.FeatureSet.FieldPresence
FieldPresence enum.
protos.google.protobuf.FeatureSet.JsonFormat
JsonFormat enum.
protos.google.protobuf.FeatureSet.MessageEncoding
MessageEncoding enum.
protos.google.protobuf.FeatureSet.RepeatedFieldEncoding
RepeatedFieldEncoding enum.
protos.google.protobuf.FeatureSet.Utf8Validation
Utf8Validation enum.
protos.google.protobuf.FieldDescriptorProto.Label
Label enum.
protos.google.protobuf.FieldDescriptorProto.Type
Type enum.
protos.google.protobuf.FieldOptions.CType
CType enum.
protos.google.protobuf.FieldOptions.JSType
JSType enum.
protos.google.protobuf.FieldOptions.OptionRetention
OptionRetention enum.
protos.google.protobuf.FieldOptions.OptionTargetType
OptionTargetType enum.
protos.google.protobuf.FileOptions.OptimizeMode
OptimizeMode enum.
protos.google.protobuf.GeneratedCodeInfo.Annotation.Semantic
Semantic enum.
protos.google.protobuf.MethodOptions.IdempotencyLevel
IdempotencyLevel enum.
Variables
_default
_default: {
v1alpha: typeof v1alpha;
AutoSuggestionServiceClient: typeof v1alpha.AutoSuggestionServiceClient;
QuestionServiceClient: typeof v1alpha.QuestionServiceClient;
}
AutoSuggestionServiceClient
AutoSuggestionServiceClient: typeof v1alpha.AutoSuggestionServiceClient
QuestionServiceClient
QuestionServiceClient: typeof v1alpha.QuestionServiceClient
Type Aliases
AutoSuggestionServiceClient
type AutoSuggestionServiceClient = v1alpha.AutoSuggestionServiceClient;
protos.google.cloud.dataqna.v1alpha.AutoSuggestionService.SuggestQueriesCallback
type SuggestQueriesCallback = (error: (Error|null), response?: google.cloud.dataqna.v1alpha.SuggestQueriesResponse) => void;
Callback as used by .
protos.google.cloud.dataqna.v1alpha.QuestionService.CreateQuestionCallback
type CreateQuestionCallback = (error: (Error|null), response?: google.cloud.dataqna.v1alpha.Question) => void;
Callback as used by .
protos.google.cloud.dataqna.v1alpha.QuestionService.ExecuteQuestionCallback
type ExecuteQuestionCallback = (error: (Error|null), response?: google.cloud.dataqna.v1alpha.Question) => void;
Callback as used by .
protos.google.cloud.dataqna.v1alpha.QuestionService.GetQuestionCallback
type GetQuestionCallback = (error: (Error|null), response?: google.cloud.dataqna.v1alpha.Question) => void;
Callback as used by .
protos.google.cloud.dataqna.v1alpha.QuestionService.GetUserFeedbackCallback
type GetUserFeedbackCallback = (error: (Error|null), response?: google.cloud.dataqna.v1alpha.UserFeedback) => void;
Callback as used by .
protos.google.cloud.dataqna.v1alpha.QuestionService.UpdateUserFeedbackCallback
type UpdateUserFeedbackCallback = (error: (Error|null), response?: google.cloud.dataqna.v1alpha.UserFeedback) => void;
Callback as used by .
QuestionServiceClient
type QuestionServiceClient = v1alpha.QuestionServiceClient;