Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Create a QaQuestionTag.
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists the question tags.
Retrieves the next page of results.
close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Create a QaQuestionTag.
Args:
parent: string, Required. The parent resource of the QaQuestionTag. (required)
body: object, The request body.
The object takes the form of:
{ # A tag is a resource which aims to categorize a set of questions across multiple scorecards, e.g., "Customer Satisfaction","Billing", etc.
"createTime": "A String", # Output only. The time at which the question tag was created.
"displayName": "A String", # Required. A user-specified display name for the tag.
"name": "A String", # Identifier. Resource name for the QaQuestionTag Format projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag} In the above format, the last segment, i.e., qa_question_tag, is a server-generated ID corresponding to the tag resource.
"qaQuestionIds": [ # Optional. The list of QA question IDs that the tag applies to. Optional, a tag may not necessarily be referenced by any questions.
"A String",
],
"updateTime": "A String", # Output only. The most recent time at which the question tag was updated.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # A tag is a resource which aims to categorize a set of questions across multiple scorecards, e.g., "Customer Satisfaction","Billing", etc.
"createTime": "A String", # Output only. The time at which the question tag was created.
"displayName": "A String", # Required. A user-specified display name for the tag.
"name": "A String", # Identifier. Resource name for the QaQuestionTag Format projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag} In the above format, the last segment, i.e., qa_question_tag, is a server-generated ID corresponding to the tag resource.
"qaQuestionIds": [ # Optional. The list of QA question IDs that the tag applies to. Optional, a tag may not necessarily be referenced by any questions.
"A String",
],
"updateTime": "A String", # Output only. The most recent time at which the question tag was updated.
}
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists the question tags.
Args:
parent: string, Required. The parent resource of the QaQuestionTags. (required)
filter: string, Optional. A filter to reduce results to a specific subset. Supports disjunctions (OR) and conjunctions (AND). Supported fields include the following: * `project_id` - id of the project to list tags for * `qa_scorecard_revision_id` - id of the scorecard revision to list tags for * `qa_question_id - id of the question to list tags for`
pageSize: integer, Optional. The maximum number of questions to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty `next_page_token` in the response indicates that more data is available.
pageToken: string, Optional. The value returned by the last `ListQaQuestionTagsResponse`. This value indicates that this is a continuation of a prior `ListQaQuestionTags` call and that the system should return the next page of data.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # The response from a ListQaQuestionTags request.
"nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
"qaQuestionTags": [ # The parent resource of the questions.
{ # A tag is a resource which aims to categorize a set of questions across multiple scorecards, e.g., "Customer Satisfaction","Billing", etc.
"createTime": "A String", # Output only. The time at which the question tag was created.
"displayName": "A String", # Required. A user-specified display name for the tag.
"name": "A String", # Identifier. Resource name for the QaQuestionTag Format projects/{project}/locations/{location}/qaQuestionTags/{qa_question_tag} In the above format, the last segment, i.e., qa_question_tag, is a server-generated ID corresponding to the tag resource.
"qaQuestionIds": [ # Optional. The list of QA question IDs that the tag applies to. Optional, a tag may not necessarily be referenced by any questions.
"A String",
],
"updateTime": "A String", # Output only. The most recent time at which the question tag was updated.
},
],
}
list_next()
Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call 'execute()' on to request the next
page. Returns None if there are no more items in the collection.