Returns the conversations Resource.
Returns the insightsdata Resource.
Returns the issueModels Resource.
Returns the operations Resource.
Returns the phraseMatchers Resource.
Close httplib2 connections.
getSettings(name, x__xgafv=None)
Gets project-level settings.
updateSettings(name, body=None, updateMask=None, x__xgafv=None)
Updates project-level settings.
close()
Close httplib2 connections.
getSettings(name, x__xgafv=None)
Gets project-level settings. Args: name: string, Required. The name of the settings resource to get. (required) x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # The settings resource. "analysisConfig": { # Default configuration when creating Analyses in Insights. # Default analysis settings. "runtimeIntegrationAnalysisPercentage": 3.14, # Percentage of conversations created using Dialogflow runtime integration to analyze automatically, between [0, 100]. }, "conversationTtl": "A String", # The default TTL for newly-created conversations. If a conversation has a specified expiration, that value will be used instead. Changing this value will not change the expiration of existing conversations. Conversations with no expire time persist until they are deleted. "createTime": "A String", # Output only. The time at which the settings was created. "languageCode": "A String", # A language code to be applied to each transcript segment unless the segment already specifies a language code. Language code defaults to "en-US" if it is neither specified on the segment nor here. "name": "A String", # Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings "pubsubNotificationSettings": { # A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic. Keys are notification triggers. Supported keys are: * "all-triggers": Notify each time any of the supported triggers occurs. * "create-analysis": Notify each time an analysis is created. * "create-conversation": Notify each time a conversation is created. * "export-insights-data": Notify each time an export is complete. * "update-conversation": Notify each time a conversation is updated via UpdateConversation. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic} "a_key": "A String", }, "updateTime": "A String", # Output only. The time at which the settings were last updated. }
updateSettings(name, body=None, updateMask=None, x__xgafv=None)
Updates project-level settings. Args: name: string, Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings (required) body: object, The request body. The object takes the form of: { # The settings resource. "analysisConfig": { # Default configuration when creating Analyses in Insights. # Default analysis settings. "runtimeIntegrationAnalysisPercentage": 3.14, # Percentage of conversations created using Dialogflow runtime integration to analyze automatically, between [0, 100]. }, "conversationTtl": "A String", # The default TTL for newly-created conversations. If a conversation has a specified expiration, that value will be used instead. Changing this value will not change the expiration of existing conversations. Conversations with no expire time persist until they are deleted. "createTime": "A String", # Output only. The time at which the settings was created. "languageCode": "A String", # A language code to be applied to each transcript segment unless the segment already specifies a language code. Language code defaults to "en-US" if it is neither specified on the segment nor here. "name": "A String", # Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings "pubsubNotificationSettings": { # A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic. Keys are notification triggers. Supported keys are: * "all-triggers": Notify each time any of the supported triggers occurs. * "create-analysis": Notify each time an analysis is created. * "create-conversation": Notify each time a conversation is created. * "export-insights-data": Notify each time an export is complete. * "update-conversation": Notify each time a conversation is updated via UpdateConversation. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic} "a_key": "A String", }, "updateTime": "A String", # Output only. The time at which the settings were last updated. } updateMask: string, Required. The list of fields to be updated. x__xgafv: string, V1 error format. Allowed values 1 - v1 error format 2 - v2 error format Returns: An object of the form: { # The settings resource. "analysisConfig": { # Default configuration when creating Analyses in Insights. # Default analysis settings. "runtimeIntegrationAnalysisPercentage": 3.14, # Percentage of conversations created using Dialogflow runtime integration to analyze automatically, between [0, 100]. }, "conversationTtl": "A String", # The default TTL for newly-created conversations. If a conversation has a specified expiration, that value will be used instead. Changing this value will not change the expiration of existing conversations. Conversations with no expire time persist until they are deleted. "createTime": "A String", # Output only. The time at which the settings was created. "languageCode": "A String", # A language code to be applied to each transcript segment unless the segment already specifies a language code. Language code defaults to "en-US" if it is neither specified on the segment nor here. "name": "A String", # Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings "pubsubNotificationSettings": { # A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic. Keys are notification triggers. Supported keys are: * "all-triggers": Notify each time any of the supported triggers occurs. * "create-analysis": Notify each time an analysis is created. * "create-conversation": Notify each time a conversation is created. * "export-insights-data": Notify each time an export is complete. * "update-conversation": Notify each time a conversation is updated via UpdateConversation. Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic} "a_key": "A String", }, "updateTime": "A String", # Output only. The time at which the settings were last updated. }