Summary of entries of Methods for dataqna.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceAsyncClient
AutoSuggestionServiceAsyncClient
(
*
,
credentials
:
typing
.
Optional
[
google
.
auth
.
credentials
.
Credentials
]
=
None
,
transport
:
typing
.
Optional
[
typing
.
Union
[
str
,
google
.
cloud
.
dataqna_v1alpha
.
services
.
auto_suggestion_service
.
transports
.
base
.
AutoSuggestionServiceTransport
,
typing
.
Callable
[[
...
],
google
.
cloud
.
dataqna_v1alpha
.
services
.
auto_suggestion_service
.
transports
.
base
.
AutoSuggestionServiceTransport
]]]
=
'grpc_asyncio'
,
client_options
:
typing
.
Optional
[
google
.
api_core
.
client_options
.
ClientOptions
]
=
None
,
client_info
:
google
.
api_core
.
gapic_v1
.
client_info
.
ClientInfo
=
Instantiates the auto suggestion service async client.
See more: google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceAsyncClient
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceAsyncClient.common_billing_account_path
common_billing_account_path
(
billing_account
:
str
)
-
> str
Returns a fully-qualified billing_account string.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceAsyncClient.common_folder_path
common_folder_path
(
folder
:
str
)
-
> str
Returns a fully-qualified folder string.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceAsyncClient.common_location_path
common_location_path
(
project
:
str
,
location
:
str
)
-
> str
Returns a fully-qualified location string.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceAsyncClient.common_organization_path
common_organization_path
(
organization
:
str
)
-
> str
Returns a fully-qualified organization string.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceAsyncClient.common_project_path
common_project_path
(
project
:
str
)
-
> str
Returns a fully-qualified project string.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceAsyncClient.from_service_account_file
from_service_account_file
(
filename
:
str
,
*
args
,
**
kwargs
)
Creates an instance of this client using the provided credentials file.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceAsyncClient.from_service_account_info
from_service_account_info
(
info
:
dict
,
*
args
,
**
kwargs
)
Creates an instance of this client using the provided credentials info.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceAsyncClient.from_service_account_json
from_service_account_json
(
filename
:
str
,
*
args
,
**
kwargs
)
Creates an instance of this client using the provided credentials file.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source
(
client_options
:
typing
.
Optional
[
google
.
api_core
.
client_options
.
ClientOptions
]
=
None
,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceAsyncClient.get_transport_class
get_transport_class
(
label
:
typing
.
Optional
[
str
]
=
None
,
)
-
> typing
.
Type
[
google
.
cloud
.
dataqna_v1alpha
.
services
.
auto_suggestion_service
.
transports
.
base
.
AutoSuggestionServiceTransport
]
Returns an appropriate transport class.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a billing_account path into its component segments.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceAsyncClient.parse_common_folder_path
parse_common_folder_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a folder path into its component segments.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceAsyncClient.parse_common_location_path
parse_common_location_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a location path into its component segments.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceAsyncClient.parse_common_organization_path
parse_common_organization_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a organization path into its component segments.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceAsyncClient.parse_common_project_path
parse_common_project_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a project path into its component segments.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceAsyncClient.suggest_queries
suggest_queries
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
dataqna_v1alpha
.
types
.
auto_suggestion_service
.
SuggestQueriesRequest
,
dict
,
]
]
=
None
,
*
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
dataqna_v1alpha
.
types
.
auto_suggestion_service
.
SuggestQueriesResponse
Gets a list of suggestions based on a prefix string.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceClient
AutoSuggestionServiceClient
(
*
,
credentials
:
typing
.
Optional
[
google
.
auth
.
credentials
.
Credentials
]
=
None
,
transport
:
typing
.
Optional
[
typing
.
Union
[
str
,
google
.
cloud
.
dataqna_v1alpha
.
services
.
auto_suggestion_service
.
transports
.
base
.
AutoSuggestionServiceTransport
,
typing
.
Callable
[[
...
],
google
.
cloud
.
dataqna_v1alpha
.
services
.
auto_suggestion_service
.
transports
.
base
.
AutoSuggestionServiceTransport
]]]
=
None
,
client_options
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
client_options
.
ClientOptions
,
dict
]]
=
None
,
client_info
:
google
.
api_core
.
gapic_v1
.
client_info
.
ClientInfo
=
Instantiates the auto suggestion service client.
See more: google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceClient
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceClient.__exit__
__exit__
(
type
,
value
,
traceback
)
Releases underlying transport's resources.
See more: google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceClient. exit
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceClient.common_billing_account_path
common_billing_account_path
(
billing_account
:
str
)
-
> str
Returns a fully-qualified billing_account string.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceClient.common_folder_path
common_folder_path
(
folder
:
str
)
-
> str
Returns a fully-qualified folder string.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceClient.common_location_path
common_location_path
(
project
:
str
,
location
:
str
)
-
> str
Returns a fully-qualified location string.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceClient.common_organization_path
common_organization_path
(
organization
:
str
)
-
> str
Returns a fully-qualified organization string.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceClient.common_project_path
common_project_path
(
project
:
str
)
-
> str
Returns a fully-qualified project string.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceClient.from_service_account_file
from_service_account_file
(
filename
:
str
,
*
args
,
**
kwargs
)
Creates an instance of this client using the provided credentials file.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceClient.from_service_account_info
from_service_account_info
(
info
:
dict
,
*
args
,
**
kwargs
)
Creates an instance of this client using the provided credentials info.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceClient.from_service_account_json
from_service_account_json
(
filename
:
str
,
*
args
,
**
kwargs
)
Creates an instance of this client using the provided credentials file.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source
(
client_options
:
typing
.
Optional
[
google
.
api_core
.
client_options
.
ClientOptions
]
=
None
,
)
Deprecated.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceClient.parse_common_billing_account_path
parse_common_billing_account_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a billing_account path into its component segments.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceClient.parse_common_folder_path
parse_common_folder_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a folder path into its component segments.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceClient.parse_common_location_path
parse_common_location_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a location path into its component segments.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceClient.parse_common_organization_path
parse_common_organization_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a organization path into its component segments.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceClient.parse_common_project_path
parse_common_project_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a project path into its component segments.
google.cloud.dataqna_v1alpha.services.auto_suggestion_service.AutoSuggestionServiceClient.suggest_queries
suggest_queries
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
dataqna_v1alpha
.
types
.
auto_suggestion_service
.
SuggestQueriesRequest
,
dict
,
]
]
=
None
,
*
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
dataqna_v1alpha
.
types
.
auto_suggestion_service
.
SuggestQueriesResponse
Gets a list of suggestions based on a prefix string.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient
QuestionServiceAsyncClient
(
*
,
credentials
:
typing
.
Optional
[
google
.
auth
.
credentials
.
Credentials
]
=
None
,
transport
:
typing
.
Optional
[
typing
.
Union
[
str
,
google
.
cloud
.
dataqna_v1alpha
.
services
.
question_service
.
transports
.
base
.
QuestionServiceTransport
,
typing
.
Callable
[[
...
],
google
.
cloud
.
dataqna_v1alpha
.
services
.
question_service
.
transports
.
base
.
QuestionServiceTransport
]]]
=
'grpc_asyncio'
,
client_options
:
typing
.
Optional
[
google
.
api_core
.
client_options
.
ClientOptions
]
=
None
,
client_info
:
google
.
api_core
.
gapic_v1
.
client_info
.
ClientInfo
=
Instantiates the question service async client.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.common_billing_account_path
common_billing_account_path
(
billing_account
:
str
)
-
> str
Returns a fully-qualified billing_account string.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.common_folder_path
common_folder_path
(
folder
:
str
)
-
> str
Returns a fully-qualified folder string.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.common_folder_path
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.common_location_path
common_location_path
(
project
:
str
,
location
:
str
)
-
> str
Returns a fully-qualified location string.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.common_organization_path
common_organization_path
(
organization
:
str
)
-
> str
Returns a fully-qualified organization string.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.common_project_path
common_project_path
(
project
:
str
)
-
> str
Returns a fully-qualified project string.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.create_question
create_question
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
dataqna_v1alpha
.
types
.
question_service
.
CreateQuestionRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
question
:
typing
.
Optional
[
google
.
cloud
.
dataqna_v1alpha
.
types
.
question
.
Question
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
dataqna_v1alpha
.
types
.
question
.
Question
Creates a question.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.create_question
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.execute_question
execute_question
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
dataqna_v1alpha
.
types
.
question_service
.
ExecuteQuestionRequest
,
dict
,
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
interpretation_index
:
typing
.
Optional
[
int
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
dataqna_v1alpha
.
types
.
question
.
Question
Executes an interpretation.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.execute_question
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.from_service_account_file
from_service_account_file
(
filename
:
str
,
*
args
,
**
kwargs
)
Creates an instance of this client using the provided credentials file.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.from_service_account_info
from_service_account_info
(
info
:
dict
,
*
args
,
**
kwargs
)
Creates an instance of this client using the provided credentials info.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.from_service_account_json
from_service_account_json
(
filename
:
str
,
*
args
,
**
kwargs
)
Creates an instance of this client using the provided credentials file.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source
(
client_options
:
typing
.
Optional
[
google
.
api_core
.
client_options
.
ClientOptions
]
=
None
,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.get_question
get_question
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
dataqna_v1alpha
.
types
.
question_service
.
GetQuestionRequest
,
dict
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
dataqna_v1alpha
.
types
.
question
.
Question
Gets a previously created question.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.get_question
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.get_transport_class
get_transport_class
(
label
:
typing
.
Optional
[
str
]
=
None
,
)
-
> typing
.
Type
[
google
.
cloud
.
dataqna_v1alpha
.
services
.
question_service
.
transports
.
base
.
QuestionServiceTransport
]
Returns an appropriate transport class.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.get_user_feedback
get_user_feedback
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
dataqna_v1alpha
.
types
.
question_service
.
GetUserFeedbackRequest
,
dict
,
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
dataqna_v1alpha
.
types
.
user_feedback
.
UserFeedback
Gets previously created user feedback.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.get_user_feedback
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a billing_account path into its component segments.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.parse_common_folder_path
parse_common_folder_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a folder path into its component segments.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.parse_common_location_path
parse_common_location_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a location path into its component segments.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.parse_common_organization_path
parse_common_organization_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a organization path into its component segments.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.parse_common_project_path
parse_common_project_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a project path into its component segments.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.parse_question_path
parse_question_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a question path into its component segments.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.parse_user_feedback_path
parse_user_feedback_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a user_feedback path into its component segments.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.question_path
question_path
(
project
:
str
,
location
:
str
,
question
:
str
)
-
> str
Returns a fully-qualified question string.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.question_path
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.update_user_feedback
update_user_feedback
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
dataqna_v1alpha
.
types
.
question_service
.
UpdateUserFeedbackRequest
,
dict
,
]
]
=
None
,
*
,
user_feedback
:
typing
.
Optional
[
google
.
cloud
.
dataqna_v1alpha
.
types
.
user_feedback
.
UserFeedback
]
=
None
,
update_mask
:
typing
.
Optional
[
google
.
protobuf
.
field_mask_pb2
.
FieldMask
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary_async
.
AsyncRetry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
dataqna_v1alpha
.
types
.
user_feedback
.
UserFeedback
Updates user feedback.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.user_feedback_path
user_feedback_path
(
project
:
str
,
location
:
str
,
question
:
str
)
-
> str
Returns a fully-qualified user_feedback string.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceAsyncClient.user_feedback_path
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient
QuestionServiceClient
(
*
,
credentials
:
typing
.
Optional
[
google
.
auth
.
credentials
.
Credentials
]
=
None
,
transport
:
typing
.
Optional
[
typing
.
Union
[
str
,
google
.
cloud
.
dataqna_v1alpha
.
services
.
question_service
.
transports
.
base
.
QuestionServiceTransport
,
typing
.
Callable
[[
...
],
google
.
cloud
.
dataqna_v1alpha
.
services
.
question_service
.
transports
.
base
.
QuestionServiceTransport
]]]
=
None
,
client_options
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
client_options
.
ClientOptions
,
dict
]]
=
None
,
client_info
:
google
.
api_core
.
gapic_v1
.
client_info
.
ClientInfo
=
Instantiates the question service client.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.__exit__
__exit__
(
type
,
value
,
traceback
)
Releases underlying transport's resources.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient. exit
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.common_billing_account_path
common_billing_account_path
(
billing_account
:
str
)
-
> str
Returns a fully-qualified billing_account string.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.common_folder_path
common_folder_path
(
folder
:
str
)
-
> str
Returns a fully-qualified folder string.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.common_folder_path
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.common_location_path
common_location_path
(
project
:
str
,
location
:
str
)
-
> str
Returns a fully-qualified location string.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.common_location_path
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.common_organization_path
common_organization_path
(
organization
:
str
)
-
> str
Returns a fully-qualified organization string.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.common_project_path
common_project_path
(
project
:
str
)
-
> str
Returns a fully-qualified project string.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.common_project_path
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.create_question
create_question
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
dataqna_v1alpha
.
types
.
question_service
.
CreateQuestionRequest
,
dict
,
]
]
=
None
,
*
,
parent
:
typing
.
Optional
[
str
]
=
None
,
question
:
typing
.
Optional
[
google
.
cloud
.
dataqna_v1alpha
.
types
.
question
.
Question
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
dataqna_v1alpha
.
types
.
question
.
Question
Creates a question.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.create_question
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.execute_question
execute_question
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
dataqna_v1alpha
.
types
.
question_service
.
ExecuteQuestionRequest
,
dict
,
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
interpretation_index
:
typing
.
Optional
[
int
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
dataqna_v1alpha
.
types
.
question
.
Question
Executes an interpretation.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.execute_question
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.from_service_account_file
from_service_account_file
(
filename
:
str
,
*
args
,
**
kwargs
)
Creates an instance of this client using the provided credentials file.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.from_service_account_info
from_service_account_info
(
info
:
dict
,
*
args
,
**
kwargs
)
Creates an instance of this client using the provided credentials info.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.from_service_account_json
from_service_account_json
(
filename
:
str
,
*
args
,
**
kwargs
)
Creates an instance of this client using the provided credentials file.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source
(
client_options
:
typing
.
Optional
[
google
.
api_core
.
client_options
.
ClientOptions
]
=
None
,
)
Deprecated.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.get_question
get_question
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
dataqna_v1alpha
.
types
.
question_service
.
GetQuestionRequest
,
dict
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
dataqna_v1alpha
.
types
.
question
.
Question
Gets a previously created question.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.get_question
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.get_user_feedback
get_user_feedback
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
dataqna_v1alpha
.
types
.
question_service
.
GetUserFeedbackRequest
,
dict
,
]
]
=
None
,
*
,
name
:
typing
.
Optional
[
str
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
dataqna_v1alpha
.
types
.
user_feedback
.
UserFeedback
Gets previously created user feedback.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.get_user_feedback
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.parse_common_billing_account_path
parse_common_billing_account_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a billing_account path into its component segments.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.parse_common_folder_path
parse_common_folder_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a folder path into its component segments.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.parse_common_location_path
parse_common_location_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a location path into its component segments.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.parse_common_organization_path
parse_common_organization_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a organization path into its component segments.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.parse_common_project_path
parse_common_project_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parse a project path into its component segments.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.parse_question_path
parse_question_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a question path into its component segments.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.parse_question_path
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.parse_user_feedback_path
parse_user_feedback_path
(
path
:
str
)
-
> typing
.
Dict
[
str
,
str
]
Parses a user_feedback path into its component segments.
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.question_path
question_path
(
project
:
str
,
location
:
str
,
question
:
str
)
-
> str
Returns a fully-qualified question string.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.question_path
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.update_user_feedback
update_user_feedback
(
request
:
typing
.
Optional
[
typing
.
Union
[
google
.
cloud
.
dataqna_v1alpha
.
types
.
question_service
.
UpdateUserFeedbackRequest
,
dict
,
]
]
=
None
,
*
,
user_feedback
:
typing
.
Optional
[
google
.
cloud
.
dataqna_v1alpha
.
types
.
user_feedback
.
UserFeedback
]
=
None
,
update_mask
:
typing
.
Optional
[
google
.
protobuf
.
field_mask_pb2
.
FieldMask
]
=
None
,
retry
:
typing
.
Optional
[
typing
.
Union
[
google
.
api_core
.
retry
.
retry_unary
.
Retry
,
google
.
api_core
.
gapic_v1
.
method
.
_MethodDefault
,
]
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
timeout
:
typing
.
Union
[
float
,
object
]
=
_MethodDefault
.
_DEFAULT_VALUE
,
metadata
:
typing
.
Sequence
[
typing
.
Tuple
[
str
,
typing
.
Union
[
str
,
bytes
]]]
=
()
)
-
> google
.
cloud
.
dataqna_v1alpha
.
types
.
user_feedback
.
UserFeedback
Updates user feedback.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.update_user_feedback
google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.user_feedback_path
user_feedback_path
(
project
:
str
,
location
:
str
,
question
:
str
)
-
> str
Returns a fully-qualified user_feedback string.
See more: google.cloud.dataqna_v1alpha.services.question_service.QuestionServiceClient.user_feedback_path