...

Source file src/google.golang.org/api/contactcenterinsights/v1/contactcenterinsights-gen.go

Documentation: google.golang.org/api/contactcenterinsights/v1

     1  // Copyright 2024 Google LLC.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // Code generated file. DO NOT EDIT.
     6  
     7  // Package contactcenterinsights provides access to the Contact Center AI Insights API.
     8  //
     9  // For product documentation, see: https://cloud.google.com/contact-center/insights/docs
    10  //
    11  // # Library status
    12  //
    13  // These client libraries are officially supported by Google. However, this
    14  // library is considered complete and is in maintenance mode. This means
    15  // that we will address critical bugs and security issues but will not add
    16  // any new features.
    17  //
    18  // When possible, we recommend using our newer
    19  // [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go)
    20  // that are still actively being worked and iterated on.
    21  //
    22  // # Creating a client
    23  //
    24  // Usage example:
    25  //
    26  //	import "google.golang.org/api/contactcenterinsights/v1"
    27  //	...
    28  //	ctx := context.Background()
    29  //	contactcenterinsightsService, err := contactcenterinsights.NewService(ctx)
    30  //
    31  // In this example, Google Application Default Credentials are used for
    32  // authentication. For information on how to create and obtain Application
    33  // Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
    34  //
    35  // # Other authentication options
    36  //
    37  // To use an API key for authentication (note: some APIs do not support API
    38  // keys), use [google.golang.org/api/option.WithAPIKey]:
    39  //
    40  //	contactcenterinsightsService, err := contactcenterinsights.NewService(ctx, option.WithAPIKey("AIza..."))
    41  //
    42  // To use an OAuth token (e.g., a user token obtained via a three-legged OAuth
    43  // flow, use [google.golang.org/api/option.WithTokenSource]:
    44  //
    45  //	config := &oauth2.Config{...}
    46  //	// ...
    47  //	token, err := config.Exchange(ctx, ...)
    48  //	contactcenterinsightsService, err := contactcenterinsights.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
    49  //
    50  // See [google.golang.org/api/option.ClientOption] for details on options.
    51  package contactcenterinsights // import "google.golang.org/api/contactcenterinsights/v1"
    52  
    53  import (
    54  	"bytes"
    55  	"context"
    56  	"encoding/json"
    57  	"errors"
    58  	"fmt"
    59  	"io"
    60  	"net/http"
    61  	"net/url"
    62  	"strconv"
    63  	"strings"
    64  
    65  	googleapi "google.golang.org/api/googleapi"
    66  	internal "google.golang.org/api/internal"
    67  	gensupport "google.golang.org/api/internal/gensupport"
    68  	option "google.golang.org/api/option"
    69  	internaloption "google.golang.org/api/option/internaloption"
    70  	htransport "google.golang.org/api/transport/http"
    71  )
    72  
    73  // Always reference these packages, just in case the auto-generated code
    74  // below doesn't.
    75  var _ = bytes.NewBuffer
    76  var _ = strconv.Itoa
    77  var _ = fmt.Sprintf
    78  var _ = json.NewDecoder
    79  var _ = io.Copy
    80  var _ = url.Parse
    81  var _ = gensupport.MarshalJSON
    82  var _ = googleapi.Version
    83  var _ = errors.New
    84  var _ = strings.Replace
    85  var _ = context.Canceled
    86  var _ = internaloption.WithDefaultEndpoint
    87  var _ = internal.Version
    88  
    89  const apiId = "contactcenterinsights:v1"
    90  const apiName = "contactcenterinsights"
    91  const apiVersion = "v1"
    92  const basePath = "https://contactcenterinsights.googleapis.com/"
    93  const basePathTemplate = "https://contactcenterinsights.UNIVERSE_DOMAIN/"
    94  const mtlsBasePath = "https://contactcenterinsights.mtls.googleapis.com/"
    95  
    96  // OAuth2 scopes used by this API.
    97  const (
    98  	// See, edit, configure, and delete your Google Cloud data and see the email
    99  	// address for your Google Account.
   100  	CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"
   101  )
   102  
   103  // NewService creates a new Service.
   104  func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {
   105  	scopesOption := internaloption.WithDefaultScopes(
   106  		"https://www.googleapis.com/auth/cloud-platform",
   107  	)
   108  	// NOTE: prepend, so we don't override user-specified scopes.
   109  	opts = append([]option.ClientOption{scopesOption}, opts...)
   110  	opts = append(opts, internaloption.WithDefaultEndpoint(basePath))
   111  	opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate))
   112  	opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))
   113  	opts = append(opts, internaloption.EnableNewAuthLibrary())
   114  	client, endpoint, err := htransport.NewClient(ctx, opts...)
   115  	if err != nil {
   116  		return nil, err
   117  	}
   118  	s, err := New(client)
   119  	if err != nil {
   120  		return nil, err
   121  	}
   122  	if endpoint != "" {
   123  		s.BasePath = endpoint
   124  	}
   125  	return s, nil
   126  }
   127  
   128  // New creates a new Service. It uses the provided http.Client for requests.
   129  //
   130  // Deprecated: please use NewService instead.
   131  // To provide a custom HTTP client, use option.WithHTTPClient.
   132  // If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
   133  func New(client *http.Client) (*Service, error) {
   134  	if client == nil {
   135  		return nil, errors.New("client is nil")
   136  	}
   137  	s := &Service{client: client, BasePath: basePath}
   138  	s.Projects = NewProjectsService(s)
   139  	return s, nil
   140  }
   141  
   142  type Service struct {
   143  	client    *http.Client
   144  	BasePath  string // API endpoint base URL
   145  	UserAgent string // optional additional User-Agent fragment
   146  
   147  	Projects *ProjectsService
   148  }
   149  
   150  func (s *Service) userAgent() string {
   151  	if s.UserAgent == "" {
   152  		return googleapi.UserAgent
   153  	}
   154  	return googleapi.UserAgent + " " + s.UserAgent
   155  }
   156  
   157  func NewProjectsService(s *Service) *ProjectsService {
   158  	rs := &ProjectsService{s: s}
   159  	rs.Locations = NewProjectsLocationsService(s)
   160  	return rs
   161  }
   162  
   163  type ProjectsService struct {
   164  	s *Service
   165  
   166  	Locations *ProjectsLocationsService
   167  }
   168  
   169  func NewProjectsLocationsService(s *Service) *ProjectsLocationsService {
   170  	rs := &ProjectsLocationsService{s: s}
   171  	rs.Conversations = NewProjectsLocationsConversationsService(s)
   172  	rs.Insightsdata = NewProjectsLocationsInsightsdataService(s)
   173  	rs.IssueModels = NewProjectsLocationsIssueModelsService(s)
   174  	rs.Operations = NewProjectsLocationsOperationsService(s)
   175  	rs.PhraseMatchers = NewProjectsLocationsPhraseMatchersService(s)
   176  	rs.Views = NewProjectsLocationsViewsService(s)
   177  	return rs
   178  }
   179  
   180  type ProjectsLocationsService struct {
   181  	s *Service
   182  
   183  	Conversations *ProjectsLocationsConversationsService
   184  
   185  	Insightsdata *ProjectsLocationsInsightsdataService
   186  
   187  	IssueModels *ProjectsLocationsIssueModelsService
   188  
   189  	Operations *ProjectsLocationsOperationsService
   190  
   191  	PhraseMatchers *ProjectsLocationsPhraseMatchersService
   192  
   193  	Views *ProjectsLocationsViewsService
   194  }
   195  
   196  func NewProjectsLocationsConversationsService(s *Service) *ProjectsLocationsConversationsService {
   197  	rs := &ProjectsLocationsConversationsService{s: s}
   198  	rs.Analyses = NewProjectsLocationsConversationsAnalysesService(s)
   199  	return rs
   200  }
   201  
   202  type ProjectsLocationsConversationsService struct {
   203  	s *Service
   204  
   205  	Analyses *ProjectsLocationsConversationsAnalysesService
   206  }
   207  
   208  func NewProjectsLocationsConversationsAnalysesService(s *Service) *ProjectsLocationsConversationsAnalysesService {
   209  	rs := &ProjectsLocationsConversationsAnalysesService{s: s}
   210  	return rs
   211  }
   212  
   213  type ProjectsLocationsConversationsAnalysesService struct {
   214  	s *Service
   215  }
   216  
   217  func NewProjectsLocationsInsightsdataService(s *Service) *ProjectsLocationsInsightsdataService {
   218  	rs := &ProjectsLocationsInsightsdataService{s: s}
   219  	return rs
   220  }
   221  
   222  type ProjectsLocationsInsightsdataService struct {
   223  	s *Service
   224  }
   225  
   226  func NewProjectsLocationsIssueModelsService(s *Service) *ProjectsLocationsIssueModelsService {
   227  	rs := &ProjectsLocationsIssueModelsService{s: s}
   228  	rs.Issues = NewProjectsLocationsIssueModelsIssuesService(s)
   229  	return rs
   230  }
   231  
   232  type ProjectsLocationsIssueModelsService struct {
   233  	s *Service
   234  
   235  	Issues *ProjectsLocationsIssueModelsIssuesService
   236  }
   237  
   238  func NewProjectsLocationsIssueModelsIssuesService(s *Service) *ProjectsLocationsIssueModelsIssuesService {
   239  	rs := &ProjectsLocationsIssueModelsIssuesService{s: s}
   240  	return rs
   241  }
   242  
   243  type ProjectsLocationsIssueModelsIssuesService struct {
   244  	s *Service
   245  }
   246  
   247  func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService {
   248  	rs := &ProjectsLocationsOperationsService{s: s}
   249  	return rs
   250  }
   251  
   252  type ProjectsLocationsOperationsService struct {
   253  	s *Service
   254  }
   255  
   256  func NewProjectsLocationsPhraseMatchersService(s *Service) *ProjectsLocationsPhraseMatchersService {
   257  	rs := &ProjectsLocationsPhraseMatchersService{s: s}
   258  	return rs
   259  }
   260  
   261  type ProjectsLocationsPhraseMatchersService struct {
   262  	s *Service
   263  }
   264  
   265  func NewProjectsLocationsViewsService(s *Service) *ProjectsLocationsViewsService {
   266  	rs := &ProjectsLocationsViewsService{s: s}
   267  	return rs
   268  }
   269  
   270  type ProjectsLocationsViewsService struct {
   271  	s *Service
   272  }
   273  
   274  // GoogleCloudContactcenterinsightsV1AgentCoachingInstruction: Agent Coaching
   275  // instructions that customer can configure.
   276  type GoogleCloudContactcenterinsightsV1AgentCoachingInstruction struct {
   277  	// AgentAction: Optional. The action that human agent should take. For example,
   278  	// "apologize for the slow shipping". If the users only want to use agent
   279  	// coaching for intent detection, agent_action can be empty
   280  	AgentAction string `json:"agentAction,omitempty"`
   281  	// Condition: Optional. The condition of the instruction. For example, "the
   282  	// customer wants to cancel an order". If the users want the instruction to be
   283  	// triggered unconditionally, the condition can be empty.
   284  	Condition string `json:"condition,omitempty"`
   285  	// Description: Optional. The detailed description of this instruction.
   286  	Description string `json:"description,omitempty"`
   287  	// DisplayName: Optional. Display name for the instruction.
   288  	DisplayName string `json:"displayName,omitempty"`
   289  	// Metadata: Optional. Additional information attached to this instruction.
   290  	Metadata map[string]string `json:"metadata,omitempty"`
   291  	// SystemAction: Optional. The action that system should take. For example,
   292  	// "call GetOrderTime with order_number={order number provided by the
   293  	// customer}". If the users don't have plugins or don't want to trigger
   294  	// plugins, the system_action can be empty
   295  	SystemAction string `json:"systemAction,omitempty"`
   296  	// ForceSendFields is a list of field names (e.g. "AgentAction") to
   297  	// unconditionally include in API requests. By default, fields with empty or
   298  	// default values are omitted from API requests. See
   299  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   300  	// details.
   301  	ForceSendFields []string `json:"-"`
   302  	// NullFields is a list of field names (e.g. "AgentAction") to include in API
   303  	// requests with the JSON null value. By default, fields with empty values are
   304  	// omitted from API requests. See
   305  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   306  	NullFields []string `json:"-"`
   307  }
   308  
   309  func (s *GoogleCloudContactcenterinsightsV1AgentCoachingInstruction) MarshalJSON() ([]byte, error) {
   310  	type NoMethod GoogleCloudContactcenterinsightsV1AgentCoachingInstruction
   311  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   312  }
   313  
   314  // GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion: Suggestion for
   315  // coaching agents.
   316  type GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion struct {
   317  	// AgentActionSuggestions: Optional. Suggested actions for the agent to take.
   318  	AgentActionSuggestions []*GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion `json:"agentActionSuggestions,omitempty"`
   319  	// ApplicableInstructions: Optional. Instructions applicable based on the
   320  	// current context.
   321  	ApplicableInstructions []*GoogleCloudContactcenterinsightsV1AgentCoachingInstruction `json:"applicableInstructions,omitempty"`
   322  	// SampleResponses: Optional. Sample response for the Agent.
   323  	SampleResponses []*GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse `json:"sampleResponses,omitempty"`
   324  	// SuggestionEval: Self evaluation of the suggestion.
   325  	SuggestionEval *GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval `json:"suggestionEval,omitempty"`
   326  	// SuggestionReasoning: Reasoning for the suggestion.
   327  	SuggestionReasoning *GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning `json:"suggestionReasoning,omitempty"`
   328  	// ForceSendFields is a list of field names (e.g. "AgentActionSuggestions") to
   329  	// unconditionally include in API requests. By default, fields with empty or
   330  	// default values are omitted from API requests. See
   331  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   332  	// details.
   333  	ForceSendFields []string `json:"-"`
   334  	// NullFields is a list of field names (e.g. "AgentActionSuggestions") to
   335  	// include in API requests with the JSON null value. By default, fields with
   336  	// empty values are omitted from API requests. See
   337  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   338  	NullFields []string `json:"-"`
   339  }
   340  
   341  func (s *GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion) MarshalJSON() ([]byte, error) {
   342  	type NoMethod GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion
   343  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   344  }
   345  
   346  // GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestio
   347  // n: Actions suggested for the agent. This is based on applicable
   348  // instructions.
   349  type GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion struct {
   350  	// AgentAction: Optional. The suggested action for the agent.
   351  	AgentAction string `json:"agentAction,omitempty"`
   352  	// ForceSendFields is a list of field names (e.g. "AgentAction") to
   353  	// unconditionally include in API requests. By default, fields with empty or
   354  	// default values are omitted from API requests. See
   355  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   356  	// details.
   357  	ForceSendFields []string `json:"-"`
   358  	// NullFields is a list of field names (e.g. "AgentAction") to include in API
   359  	// requests with the JSON null value. By default, fields with empty values are
   360  	// omitted from API requests. See
   361  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   362  	NullFields []string `json:"-"`
   363  }
   364  
   365  func (s *GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion) MarshalJSON() ([]byte, error) {
   366  	type NoMethod GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentActionSuggestion
   367  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   368  }
   369  
   370  // GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggest
   371  // ionEval: Self evaluations of the suggestion.
   372  type GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval struct {
   373  	// ActionActionSuggestionEval: Optional. Eval for Agent action suggestion.
   374  	ActionActionSuggestionEval string `json:"actionActionSuggestionEval,omitempty"`
   375  	// SampleResponseEval: Optional. Eval for sample response.
   376  	SampleResponseEval string `json:"sampleResponseEval,omitempty"`
   377  	// ForceSendFields is a list of field names (e.g. "ActionActionSuggestionEval")
   378  	// to unconditionally include in API requests. By default, fields with empty or
   379  	// default values are omitted from API requests. See
   380  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   381  	// details.
   382  	ForceSendFields []string `json:"-"`
   383  	// NullFields is a list of field names (e.g. "ActionActionSuggestionEval") to
   384  	// include in API requests with the JSON null value. By default, fields with
   385  	// empty values are omitted from API requests. See
   386  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   387  	NullFields []string `json:"-"`
   388  }
   389  
   390  func (s *GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval) MarshalJSON() ([]byte, error) {
   391  	type NoMethod GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionEval
   392  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   393  }
   394  
   395  // GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggest
   396  // ionReasoning: Reasoning for the suggestion.
   397  type GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning struct {
   398  	// AgentActionTaken: Optional. The actions that the agent has taken already.
   399  	AgentActionTaken string `json:"agentActionTaken,omitempty"`
   400  	// IssueSummary: Optional. Summary of the issue.
   401  	IssueSummary string `json:"issueSummary,omitempty"`
   402  	// ForceSendFields is a list of field names (e.g. "AgentActionTaken") to
   403  	// unconditionally include in API requests. By default, fields with empty or
   404  	// default values are omitted from API requests. See
   405  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   406  	// details.
   407  	ForceSendFields []string `json:"-"`
   408  	// NullFields is a list of field names (e.g. "AgentActionTaken") to include in
   409  	// API requests with the JSON null value. By default, fields with empty values
   410  	// are omitted from API requests. See
   411  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   412  	NullFields []string `json:"-"`
   413  }
   414  
   415  func (s *GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning) MarshalJSON() ([]byte, error) {
   416  	type NoMethod GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionAgentCoachingSuggestionReasoning
   417  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   418  }
   419  
   420  // GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse:
   421  // Sample response that the agent can use. This could be based on applicable
   422  // instructions and ingested data from other systems.
   423  type GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse struct {
   424  	// ResponseText: Optional. Sample response for Agent in text.
   425  	ResponseText string `json:"responseText,omitempty"`
   426  	// ForceSendFields is a list of field names (e.g. "ResponseText") to
   427  	// unconditionally include in API requests. By default, fields with empty or
   428  	// default values are omitted from API requests. See
   429  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   430  	// details.
   431  	ForceSendFields []string `json:"-"`
   432  	// NullFields is a list of field names (e.g. "ResponseText") to include in API
   433  	// requests with the JSON null value. By default, fields with empty values are
   434  	// omitted from API requests. See
   435  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   436  	NullFields []string `json:"-"`
   437  }
   438  
   439  func (s *GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse) MarshalJSON() ([]byte, error) {
   440  	type NoMethod GoogleCloudContactcenterinsightsV1AgentCoachingSuggestionSampleResponse
   441  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   442  }
   443  
   444  // GoogleCloudContactcenterinsightsV1Analysis: The analysis resource.
   445  type GoogleCloudContactcenterinsightsV1Analysis struct {
   446  	// AnalysisResult: Output only. The result of the analysis, which is populated
   447  	// when the analysis finishes.
   448  	AnalysisResult *GoogleCloudContactcenterinsightsV1AnalysisResult `json:"analysisResult,omitempty"`
   449  	// AnnotatorSelector: To select the annotators to run and the phrase matchers
   450  	// to use (if any). If not specified, all annotators will be run.
   451  	AnnotatorSelector *GoogleCloudContactcenterinsightsV1AnnotatorSelector `json:"annotatorSelector,omitempty"`
   452  	// CreateTime: Output only. The time at which the analysis was created, which
   453  	// occurs when the long-running operation completes.
   454  	CreateTime string `json:"createTime,omitempty"`
   455  	// Name: Immutable. The resource name of the analysis. Format:
   456  	// projects/{project}/locations/{location}/conversations/{conversation}/analyses
   457  	// /{analysis}
   458  	Name string `json:"name,omitempty"`
   459  	// RequestTime: Output only. The time at which the analysis was requested.
   460  	RequestTime string `json:"requestTime,omitempty"`
   461  
   462  	// ServerResponse contains the HTTP response code and headers from the server.
   463  	googleapi.ServerResponse `json:"-"`
   464  	// ForceSendFields is a list of field names (e.g. "AnalysisResult") to
   465  	// unconditionally include in API requests. By default, fields with empty or
   466  	// default values are omitted from API requests. See
   467  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   468  	// details.
   469  	ForceSendFields []string `json:"-"`
   470  	// NullFields is a list of field names (e.g. "AnalysisResult") to include in
   471  	// API requests with the JSON null value. By default, fields with empty values
   472  	// are omitted from API requests. See
   473  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   474  	NullFields []string `json:"-"`
   475  }
   476  
   477  func (s *GoogleCloudContactcenterinsightsV1Analysis) MarshalJSON() ([]byte, error) {
   478  	type NoMethod GoogleCloudContactcenterinsightsV1Analysis
   479  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   480  }
   481  
   482  // GoogleCloudContactcenterinsightsV1AnalysisResult: The result of an analysis.
   483  type GoogleCloudContactcenterinsightsV1AnalysisResult struct {
   484  	// CallAnalysisMetadata: Call-specific metadata created by the analysis.
   485  	CallAnalysisMetadata *GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata `json:"callAnalysisMetadata,omitempty"`
   486  	// EndTime: The time at which the analysis ended.
   487  	EndTime string `json:"endTime,omitempty"`
   488  	// ForceSendFields is a list of field names (e.g. "CallAnalysisMetadata") to
   489  	// unconditionally include in API requests. By default, fields with empty or
   490  	// default values are omitted from API requests. See
   491  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   492  	// details.
   493  	ForceSendFields []string `json:"-"`
   494  	// NullFields is a list of field names (e.g. "CallAnalysisMetadata") to include
   495  	// in API requests with the JSON null value. By default, fields with empty
   496  	// values are omitted from API requests. See
   497  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   498  	NullFields []string `json:"-"`
   499  }
   500  
   501  func (s *GoogleCloudContactcenterinsightsV1AnalysisResult) MarshalJSON() ([]byte, error) {
   502  	type NoMethod GoogleCloudContactcenterinsightsV1AnalysisResult
   503  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   504  }
   505  
   506  // GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata:
   507  // Call-specific metadata created during analysis.
   508  type GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata struct {
   509  	// Annotations: A list of call annotations that apply to this call.
   510  	Annotations []*GoogleCloudContactcenterinsightsV1CallAnnotation `json:"annotations,omitempty"`
   511  	// Entities: All the entities in the call.
   512  	Entities map[string]GoogleCloudContactcenterinsightsV1Entity `json:"entities,omitempty"`
   513  	// Intents: All the matched intents in the call.
   514  	Intents map[string]GoogleCloudContactcenterinsightsV1Intent `json:"intents,omitempty"`
   515  	// IssueModelResult: Overall conversation-level issue modeling result.
   516  	IssueModelResult *GoogleCloudContactcenterinsightsV1IssueModelResult `json:"issueModelResult,omitempty"`
   517  	// PhraseMatchers: All the matched phrase matchers in the call.
   518  	PhraseMatchers map[string]GoogleCloudContactcenterinsightsV1PhraseMatchData `json:"phraseMatchers,omitempty"`
   519  	// Sentiments: Overall conversation-level sentiment for each channel of the
   520  	// call.
   521  	Sentiments []*GoogleCloudContactcenterinsightsV1ConversationLevelSentiment `json:"sentiments,omitempty"`
   522  	// Silence: Overall conversation-level silence during the call.
   523  	Silence *GoogleCloudContactcenterinsightsV1ConversationLevelSilence `json:"silence,omitempty"`
   524  	// ForceSendFields is a list of field names (e.g. "Annotations") to
   525  	// unconditionally include in API requests. By default, fields with empty or
   526  	// default values are omitted from API requests. See
   527  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   528  	// details.
   529  	ForceSendFields []string `json:"-"`
   530  	// NullFields is a list of field names (e.g. "Annotations") to include in API
   531  	// requests with the JSON null value. By default, fields with empty values are
   532  	// omitted from API requests. See
   533  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   534  	NullFields []string `json:"-"`
   535  }
   536  
   537  func (s *GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata) MarshalJSON() ([]byte, error) {
   538  	type NoMethod GoogleCloudContactcenterinsightsV1AnalysisResultCallAnalysisMetadata
   539  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   540  }
   541  
   542  // GoogleCloudContactcenterinsightsV1AnnotationBoundary: A point in a
   543  // conversation that marks the start or the end of an annotation.
   544  type GoogleCloudContactcenterinsightsV1AnnotationBoundary struct {
   545  	// TranscriptIndex: The index in the sequence of transcribed pieces of the
   546  	// conversation where the boundary is located. This index starts at zero.
   547  	TranscriptIndex int64 `json:"transcriptIndex,omitempty"`
   548  	// WordIndex: The word index of this boundary with respect to the first word in
   549  	// the transcript piece. This index starts at zero.
   550  	WordIndex int64 `json:"wordIndex,omitempty"`
   551  	// ForceSendFields is a list of field names (e.g. "TranscriptIndex") to
   552  	// unconditionally include in API requests. By default, fields with empty or
   553  	// default values are omitted from API requests. See
   554  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   555  	// details.
   556  	ForceSendFields []string `json:"-"`
   557  	// NullFields is a list of field names (e.g. "TranscriptIndex") to include in
   558  	// API requests with the JSON null value. By default, fields with empty values
   559  	// are omitted from API requests. See
   560  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   561  	NullFields []string `json:"-"`
   562  }
   563  
   564  func (s *GoogleCloudContactcenterinsightsV1AnnotationBoundary) MarshalJSON() ([]byte, error) {
   565  	type NoMethod GoogleCloudContactcenterinsightsV1AnnotationBoundary
   566  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   567  }
   568  
   569  // GoogleCloudContactcenterinsightsV1AnnotatorSelector: Selector of all
   570  // available annotators and phrase matchers to run.
   571  type GoogleCloudContactcenterinsightsV1AnnotatorSelector struct {
   572  	// IssueModels: The issue model to run. If not provided, the most recently
   573  	// deployed topic model will be used. The provided issue model will only be
   574  	// used for inference if the issue model is deployed and if
   575  	// run_issue_model_annotator is set to true. If more than one issue model is
   576  	// provided, only the first provided issue model will be used for inference.
   577  	IssueModels []string `json:"issueModels,omitempty"`
   578  	// PhraseMatchers: The list of phrase matchers to run. If not provided, all
   579  	// active phrase matchers will be used. If inactive phrase matchers are
   580  	// provided, they will not be used. Phrase matchers will be run only if
   581  	// run_phrase_matcher_annotator is set to true. Format:
   582  	// projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
   583  	PhraseMatchers []string `json:"phraseMatchers,omitempty"`
   584  	// RunEntityAnnotator: Whether to run the entity annotator.
   585  	RunEntityAnnotator bool `json:"runEntityAnnotator,omitempty"`
   586  	// RunIntentAnnotator: Whether to run the intent annotator.
   587  	RunIntentAnnotator bool `json:"runIntentAnnotator,omitempty"`
   588  	// RunInterruptionAnnotator: Whether to run the interruption annotator.
   589  	RunInterruptionAnnotator bool `json:"runInterruptionAnnotator,omitempty"`
   590  	// RunIssueModelAnnotator: Whether to run the issue model annotator. A model
   591  	// should have already been deployed for this to take effect.
   592  	RunIssueModelAnnotator bool `json:"runIssueModelAnnotator,omitempty"`
   593  	// RunPhraseMatcherAnnotator: Whether to run the active phrase matcher
   594  	// annotator(s).
   595  	RunPhraseMatcherAnnotator bool `json:"runPhraseMatcherAnnotator,omitempty"`
   596  	// RunSentimentAnnotator: Whether to run the sentiment annotator.
   597  	RunSentimentAnnotator bool `json:"runSentimentAnnotator,omitempty"`
   598  	// RunSilenceAnnotator: Whether to run the silence annotator.
   599  	RunSilenceAnnotator bool `json:"runSilenceAnnotator,omitempty"`
   600  	// RunSummarizationAnnotator: Whether to run the summarization annotator.
   601  	RunSummarizationAnnotator bool `json:"runSummarizationAnnotator,omitempty"`
   602  	// SummarizationConfig: Configuration for the summarization annotator.
   603  	SummarizationConfig *GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig `json:"summarizationConfig,omitempty"`
   604  	// ForceSendFields is a list of field names (e.g. "IssueModels") to
   605  	// unconditionally include in API requests. By default, fields with empty or
   606  	// default values are omitted from API requests. See
   607  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   608  	// details.
   609  	ForceSendFields []string `json:"-"`
   610  	// NullFields is a list of field names (e.g. "IssueModels") to include in API
   611  	// requests with the JSON null value. By default, fields with empty values are
   612  	// omitted from API requests. See
   613  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   614  	NullFields []string `json:"-"`
   615  }
   616  
   617  func (s *GoogleCloudContactcenterinsightsV1AnnotatorSelector) MarshalJSON() ([]byte, error) {
   618  	type NoMethod GoogleCloudContactcenterinsightsV1AnnotatorSelector
   619  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   620  }
   621  
   622  // GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig:
   623  // Configuration for summarization.
   624  type GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig struct {
   625  	// ConversationProfile: Resource name of the Dialogflow conversation profile.
   626  	// Format:
   627  	// projects/{project}/locations/{location}/conversationProfiles/{conversation_pr
   628  	// ofile}
   629  	ConversationProfile string `json:"conversationProfile,omitempty"`
   630  	// SummarizationModel: Default summarization model to be used.
   631  	//
   632  	// Possible values:
   633  	//   "SUMMARIZATION_MODEL_UNSPECIFIED" - Unspecified summarization model.
   634  	//   "BASELINE_MODEL" - The CCAI baseline model.
   635  	//   "BASELINE_MODEL_V2_0" - The CCAI baseline model, V2.0.
   636  	SummarizationModel string `json:"summarizationModel,omitempty"`
   637  	// ForceSendFields is a list of field names (e.g. "ConversationProfile") to
   638  	// unconditionally include in API requests. By default, fields with empty or
   639  	// default values are omitted from API requests. See
   640  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   641  	// details.
   642  	ForceSendFields []string `json:"-"`
   643  	// NullFields is a list of field names (e.g. "ConversationProfile") to include
   644  	// in API requests with the JSON null value. By default, fields with empty
   645  	// values are omitted from API requests. See
   646  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   647  	NullFields []string `json:"-"`
   648  }
   649  
   650  func (s *GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig) MarshalJSON() ([]byte, error) {
   651  	type NoMethod GoogleCloudContactcenterinsightsV1AnnotatorSelectorSummarizationConfig
   652  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   653  }
   654  
   655  // GoogleCloudContactcenterinsightsV1AnswerFeedback: The feedback that the
   656  // customer has about a certain answer in the conversation.
   657  type GoogleCloudContactcenterinsightsV1AnswerFeedback struct {
   658  	// Clicked: Indicates whether an answer or item was clicked by the human agent.
   659  	Clicked bool `json:"clicked,omitempty"`
   660  	// CorrectnessLevel: The correctness level of an answer.
   661  	//
   662  	// Possible values:
   663  	//   "CORRECTNESS_LEVEL_UNSPECIFIED" - Correctness level unspecified.
   664  	//   "NOT_CORRECT" - Answer is totally wrong.
   665  	//   "PARTIALLY_CORRECT" - Answer is partially correct.
   666  	//   "FULLY_CORRECT" - Answer is fully correct.
   667  	CorrectnessLevel string `json:"correctnessLevel,omitempty"`
   668  	// Displayed: Indicates whether an answer or item was displayed to the human
   669  	// agent in the agent desktop UI.
   670  	Displayed bool `json:"displayed,omitempty"`
   671  	// ForceSendFields is a list of field names (e.g. "Clicked") to unconditionally
   672  	// include in API requests. By default, fields with empty or default values are
   673  	// omitted from API requests. See
   674  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   675  	// details.
   676  	ForceSendFields []string `json:"-"`
   677  	// NullFields is a list of field names (e.g. "Clicked") to include in API
   678  	// requests with the JSON null value. By default, fields with empty values are
   679  	// omitted from API requests. See
   680  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   681  	NullFields []string `json:"-"`
   682  }
   683  
   684  func (s *GoogleCloudContactcenterinsightsV1AnswerFeedback) MarshalJSON() ([]byte, error) {
   685  	type NoMethod GoogleCloudContactcenterinsightsV1AnswerFeedback
   686  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   687  }
   688  
   689  // GoogleCloudContactcenterinsightsV1ArticleSuggestionData: Agent Assist
   690  // Article Suggestion data.
   691  type GoogleCloudContactcenterinsightsV1ArticleSuggestionData struct {
   692  	// ConfidenceScore: The system's confidence score that this article is a good
   693  	// match for this conversation, ranging from 0.0 (completely uncertain) to 1.0
   694  	// (completely certain).
   695  	ConfidenceScore float64 `json:"confidenceScore,omitempty"`
   696  	// Metadata: Map that contains metadata about the Article Suggestion and the
   697  	// document that it originates from.
   698  	Metadata map[string]string `json:"metadata,omitempty"`
   699  	// QueryRecord: The name of the answer record. Format:
   700  	// projects/{project}/locations/{location}/answerRecords/{answer_record}
   701  	QueryRecord string `json:"queryRecord,omitempty"`
   702  	// Source: The knowledge document that this answer was extracted from. Format:
   703  	// projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}
   704  	Source string `json:"source,omitempty"`
   705  	// Title: Article title.
   706  	Title string `json:"title,omitempty"`
   707  	// Uri: Article URI.
   708  	Uri string `json:"uri,omitempty"`
   709  	// ForceSendFields is a list of field names (e.g. "ConfidenceScore") to
   710  	// unconditionally include in API requests. By default, fields with empty or
   711  	// default values are omitted from API requests. See
   712  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   713  	// details.
   714  	ForceSendFields []string `json:"-"`
   715  	// NullFields is a list of field names (e.g. "ConfidenceScore") to include in
   716  	// API requests with the JSON null value. By default, fields with empty values
   717  	// are omitted from API requests. See
   718  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   719  	NullFields []string `json:"-"`
   720  }
   721  
   722  func (s *GoogleCloudContactcenterinsightsV1ArticleSuggestionData) MarshalJSON() ([]byte, error) {
   723  	type NoMethod GoogleCloudContactcenterinsightsV1ArticleSuggestionData
   724  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   725  }
   726  
   727  func (s *GoogleCloudContactcenterinsightsV1ArticleSuggestionData) UnmarshalJSON(data []byte) error {
   728  	type NoMethod GoogleCloudContactcenterinsightsV1ArticleSuggestionData
   729  	var s1 struct {
   730  		ConfidenceScore gensupport.JSONFloat64 `json:"confidenceScore"`
   731  		*NoMethod
   732  	}
   733  	s1.NoMethod = (*NoMethod)(s)
   734  	if err := json.Unmarshal(data, &s1); err != nil {
   735  		return err
   736  	}
   737  	s.ConfidenceScore = float64(s1.ConfidenceScore)
   738  	return nil
   739  }
   740  
   741  // GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata: The
   742  // metadata for a bulk analyze conversations operation.
   743  type GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata struct {
   744  	// CompletedAnalysesCount: The number of requested analyses that have completed
   745  	// successfully so far.
   746  	CompletedAnalysesCount int64 `json:"completedAnalysesCount,omitempty"`
   747  	// CreateTime: The time the operation was created.
   748  	CreateTime string `json:"createTime,omitempty"`
   749  	// EndTime: The time the operation finished running.
   750  	EndTime string `json:"endTime,omitempty"`
   751  	// FailedAnalysesCount: The number of requested analyses that have failed so
   752  	// far.
   753  	FailedAnalysesCount int64 `json:"failedAnalysesCount,omitempty"`
   754  	// PartialErrors: Output only. Partial errors during bulk analyze operation
   755  	// that might cause the operation output to be incomplete.
   756  	PartialErrors []*GoogleRpcStatus `json:"partialErrors,omitempty"`
   757  	// Request: The original request for bulk analyze.
   758  	Request *GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest `json:"request,omitempty"`
   759  	// TotalRequestedAnalysesCount: Total number of analyses requested. Computed by
   760  	// the number of conversations returned by `filter` multiplied by
   761  	// `analysis_percentage` in the request.
   762  	TotalRequestedAnalysesCount int64 `json:"totalRequestedAnalysesCount,omitempty"`
   763  	// ForceSendFields is a list of field names (e.g. "CompletedAnalysesCount") to
   764  	// unconditionally include in API requests. By default, fields with empty or
   765  	// default values are omitted from API requests. See
   766  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   767  	// details.
   768  	ForceSendFields []string `json:"-"`
   769  	// NullFields is a list of field names (e.g. "CompletedAnalysesCount") to
   770  	// include in API requests with the JSON null value. By default, fields with
   771  	// empty values are omitted from API requests. See
   772  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   773  	NullFields []string `json:"-"`
   774  }
   775  
   776  func (s *GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata) MarshalJSON() ([]byte, error) {
   777  	type NoMethod GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsMetadata
   778  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   779  }
   780  
   781  // GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest: The
   782  // request to analyze conversations in bulk.
   783  type GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest struct {
   784  	// AnalysisPercentage: Required. Percentage of selected conversation to
   785  	// analyze, between [0, 100].
   786  	AnalysisPercentage float64 `json:"analysisPercentage,omitempty"`
   787  	// AnnotatorSelector: To select the annotators to run and the phrase matchers
   788  	// to use (if any). If not specified, all annotators will be run.
   789  	AnnotatorSelector *GoogleCloudContactcenterinsightsV1AnnotatorSelector `json:"annotatorSelector,omitempty"`
   790  	// Filter: Required. Filter used to select the subset of conversations to
   791  	// analyze.
   792  	Filter string `json:"filter,omitempty"`
   793  	// Parent: Required. The parent resource to create analyses in.
   794  	Parent string `json:"parent,omitempty"`
   795  	// ForceSendFields is a list of field names (e.g. "AnalysisPercentage") to
   796  	// unconditionally include in API requests. By default, fields with empty or
   797  	// default values are omitted from API requests. See
   798  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   799  	// details.
   800  	ForceSendFields []string `json:"-"`
   801  	// NullFields is a list of field names (e.g. "AnalysisPercentage") to include
   802  	// in API requests with the JSON null value. By default, fields with empty
   803  	// values are omitted from API requests. See
   804  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   805  	NullFields []string `json:"-"`
   806  }
   807  
   808  func (s *GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest) MarshalJSON() ([]byte, error) {
   809  	type NoMethod GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest
   810  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   811  }
   812  
   813  func (s *GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest) UnmarshalJSON(data []byte) error {
   814  	type NoMethod GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest
   815  	var s1 struct {
   816  		AnalysisPercentage gensupport.JSONFloat64 `json:"analysisPercentage"`
   817  		*NoMethod
   818  	}
   819  	s1.NoMethod = (*NoMethod)(s)
   820  	if err := json.Unmarshal(data, &s1); err != nil {
   821  		return err
   822  	}
   823  	s.AnalysisPercentage = float64(s1.AnalysisPercentage)
   824  	return nil
   825  }
   826  
   827  // GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsResponse: The
   828  // response for a bulk analyze conversations operation.
   829  type GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsResponse struct {
   830  	// FailedAnalysisCount: Count of failed analyses.
   831  	FailedAnalysisCount int64 `json:"failedAnalysisCount,omitempty"`
   832  	// SuccessfulAnalysisCount: Count of successful analyses.
   833  	SuccessfulAnalysisCount int64 `json:"successfulAnalysisCount,omitempty"`
   834  	// ForceSendFields is a list of field names (e.g. "FailedAnalysisCount") to
   835  	// unconditionally include in API requests. By default, fields with empty or
   836  	// default values are omitted from API requests. See
   837  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   838  	// details.
   839  	ForceSendFields []string `json:"-"`
   840  	// NullFields is a list of field names (e.g. "FailedAnalysisCount") to include
   841  	// in API requests with the JSON null value. By default, fields with empty
   842  	// values are omitted from API requests. See
   843  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   844  	NullFields []string `json:"-"`
   845  }
   846  
   847  func (s *GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsResponse) MarshalJSON() ([]byte, error) {
   848  	type NoMethod GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsResponse
   849  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   850  }
   851  
   852  // GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata: The
   853  // metadata for a bulk delete conversations operation.
   854  type GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata struct {
   855  	// CreateTime: The time the operation was created.
   856  	CreateTime string `json:"createTime,omitempty"`
   857  	// EndTime: The time the operation finished running.
   858  	EndTime string `json:"endTime,omitempty"`
   859  	// PartialErrors: Partial errors during bulk delete conversations operation
   860  	// that might cause the operation output to be incomplete.
   861  	PartialErrors []*GoogleRpcStatus `json:"partialErrors,omitempty"`
   862  	// Request: The original request for bulk delete.
   863  	Request *GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest `json:"request,omitempty"`
   864  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
   865  	// unconditionally include in API requests. By default, fields with empty or
   866  	// default values are omitted from API requests. See
   867  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   868  	// details.
   869  	ForceSendFields []string `json:"-"`
   870  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
   871  	// requests with the JSON null value. By default, fields with empty values are
   872  	// omitted from API requests. See
   873  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   874  	NullFields []string `json:"-"`
   875  }
   876  
   877  func (s *GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata) MarshalJSON() ([]byte, error) {
   878  	type NoMethod GoogleCloudContactcenterinsightsV1BulkDeleteConversationsMetadata
   879  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   880  }
   881  
   882  // GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest: The
   883  // request to delete conversations in bulk.
   884  type GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest struct {
   885  	// Filter: Filter used to select the subset of conversations to delete.
   886  	Filter string `json:"filter,omitempty"`
   887  	// Force: If set to true, all of this conversation's analyses will also be
   888  	// deleted. Otherwise, the request will only succeed if the conversation has no
   889  	// analyses.
   890  	Force bool `json:"force,omitempty"`
   891  	// MaxDeleteCount: Maximum number of conversations to delete.
   892  	MaxDeleteCount int64 `json:"maxDeleteCount,omitempty"`
   893  	// Parent: Required. The parent resource to delete conversations from. Format:
   894  	// projects/{project}/locations/{location}
   895  	Parent string `json:"parent,omitempty"`
   896  	// ForceSendFields is a list of field names (e.g. "Filter") to unconditionally
   897  	// include in API requests. By default, fields with empty or default values are
   898  	// omitted from API requests. See
   899  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   900  	// details.
   901  	ForceSendFields []string `json:"-"`
   902  	// NullFields is a list of field names (e.g. "Filter") to include in API
   903  	// requests with the JSON null value. By default, fields with empty values are
   904  	// omitted from API requests. See
   905  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   906  	NullFields []string `json:"-"`
   907  }
   908  
   909  func (s *GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest) MarshalJSON() ([]byte, error) {
   910  	type NoMethod GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest
   911  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   912  }
   913  
   914  // GoogleCloudContactcenterinsightsV1BulkDeleteConversationsResponse: The
   915  // response for a bulk delete conversations operation.
   916  type GoogleCloudContactcenterinsightsV1BulkDeleteConversationsResponse struct {
   917  }
   918  
   919  // GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse: Response
   920  // of querying an issue model's statistics.
   921  type GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse struct {
   922  	// CurrentStats: The latest label statistics for the queried issue model.
   923  	// Includes results on both training data and data labeled after deployment.
   924  	CurrentStats *GoogleCloudContactcenterinsightsV1IssueModelLabelStats `json:"currentStats,omitempty"`
   925  
   926  	// ServerResponse contains the HTTP response code and headers from the server.
   927  	googleapi.ServerResponse `json:"-"`
   928  	// ForceSendFields is a list of field names (e.g. "CurrentStats") to
   929  	// unconditionally include in API requests. By default, fields with empty or
   930  	// default values are omitted from API requests. See
   931  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   932  	// details.
   933  	ForceSendFields []string `json:"-"`
   934  	// NullFields is a list of field names (e.g. "CurrentStats") to include in API
   935  	// requests with the JSON null value. By default, fields with empty values are
   936  	// omitted from API requests. See
   937  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   938  	NullFields []string `json:"-"`
   939  }
   940  
   941  func (s *GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse) MarshalJSON() ([]byte, error) {
   942  	type NoMethod GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse
   943  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   944  }
   945  
   946  // GoogleCloudContactcenterinsightsV1CalculateStatsResponse: The response for
   947  // calculating conversation statistics.
   948  type GoogleCloudContactcenterinsightsV1CalculateStatsResponse struct {
   949  	// AverageDuration: The average duration of all conversations. The average is
   950  	// calculated using only conversations that have a time duration.
   951  	AverageDuration string `json:"averageDuration,omitempty"`
   952  	// AverageTurnCount: The average number of turns per conversation.
   953  	AverageTurnCount int64 `json:"averageTurnCount,omitempty"`
   954  	// ConversationCount: The total number of conversations.
   955  	ConversationCount int64 `json:"conversationCount,omitempty"`
   956  	// ConversationCountTimeSeries: A time series representing the count of
   957  	// conversations created over time that match that requested filter criteria.
   958  	ConversationCountTimeSeries *GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries `json:"conversationCountTimeSeries,omitempty"`
   959  	// CustomHighlighterMatches: A map associating each custom highlighter resource
   960  	// name with its respective number of matches in the set of conversations.
   961  	CustomHighlighterMatches map[string]int64 `json:"customHighlighterMatches,omitempty"`
   962  	// IssueMatches: A map associating each issue resource name with its respective
   963  	// number of matches in the set of conversations. Key has the format:
   964  	// `projects//locations//issueModels//issues/` Deprecated, use
   965  	// `issue_matches_stats` field instead.
   966  	IssueMatches map[string]int64 `json:"issueMatches,omitempty"`
   967  	// IssueMatchesStats: A map associating each issue resource name with its
   968  	// respective number of matches in the set of conversations. Key has the
   969  	// format: `projects//locations//issueModels//issues/`
   970  	IssueMatchesStats map[string]GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats `json:"issueMatchesStats,omitempty"`
   971  	// SmartHighlighterMatches: A map associating each smart highlighter display
   972  	// name with its respective number of matches in the set of conversations.
   973  	SmartHighlighterMatches map[string]int64 `json:"smartHighlighterMatches,omitempty"`
   974  
   975  	// ServerResponse contains the HTTP response code and headers from the server.
   976  	googleapi.ServerResponse `json:"-"`
   977  	// ForceSendFields is a list of field names (e.g. "AverageDuration") to
   978  	// unconditionally include in API requests. By default, fields with empty or
   979  	// default values are omitted from API requests. See
   980  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   981  	// details.
   982  	ForceSendFields []string `json:"-"`
   983  	// NullFields is a list of field names (e.g. "AverageDuration") to include in
   984  	// API requests with the JSON null value. By default, fields with empty values
   985  	// are omitted from API requests. See
   986  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   987  	NullFields []string `json:"-"`
   988  }
   989  
   990  func (s *GoogleCloudContactcenterinsightsV1CalculateStatsResponse) MarshalJSON() ([]byte, error) {
   991  	type NoMethod GoogleCloudContactcenterinsightsV1CalculateStatsResponse
   992  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   993  }
   994  
   995  // GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries: A time
   996  // series representing conversations over time.
   997  type GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries struct {
   998  	// IntervalDuration: The duration of each interval.
   999  	IntervalDuration string `json:"intervalDuration,omitempty"`
  1000  	// Points: An ordered list of intervals from earliest to latest, where each
  1001  	// interval represents the number of conversations that transpired during the
  1002  	// time window.
  1003  	Points []*GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval `json:"points,omitempty"`
  1004  	// ForceSendFields is a list of field names (e.g. "IntervalDuration") to
  1005  	// unconditionally include in API requests. By default, fields with empty or
  1006  	// default values are omitted from API requests. See
  1007  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1008  	// details.
  1009  	ForceSendFields []string `json:"-"`
  1010  	// NullFields is a list of field names (e.g. "IntervalDuration") to include in
  1011  	// API requests with the JSON null value. By default, fields with empty values
  1012  	// are omitted from API requests. See
  1013  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1014  	NullFields []string `json:"-"`
  1015  }
  1016  
  1017  func (s *GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries) MarshalJSON() ([]byte, error) {
  1018  	type NoMethod GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeries
  1019  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1020  }
  1021  
  1022  // GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval:
  1023  // A single interval in a time series.
  1024  type GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval struct {
  1025  	// ConversationCount: The number of conversations created in this interval.
  1026  	ConversationCount int64 `json:"conversationCount,omitempty"`
  1027  	// StartTime: The start time of this interval.
  1028  	StartTime string `json:"startTime,omitempty"`
  1029  	// ForceSendFields is a list of field names (e.g. "ConversationCount") to
  1030  	// unconditionally include in API requests. By default, fields with empty or
  1031  	// default values are omitted from API requests. See
  1032  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1033  	// details.
  1034  	ForceSendFields []string `json:"-"`
  1035  	// NullFields is a list of field names (e.g. "ConversationCount") to include in
  1036  	// API requests with the JSON null value. By default, fields with empty values
  1037  	// are omitted from API requests. See
  1038  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1039  	NullFields []string `json:"-"`
  1040  }
  1041  
  1042  func (s *GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval) MarshalJSON() ([]byte, error) {
  1043  	type NoMethod GoogleCloudContactcenterinsightsV1CalculateStatsResponseTimeSeriesInterval
  1044  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1045  }
  1046  
  1047  // GoogleCloudContactcenterinsightsV1CallAnnotation: A piece of metadata that
  1048  // applies to a window of a call.
  1049  type GoogleCloudContactcenterinsightsV1CallAnnotation struct {
  1050  	// AnnotationEndBoundary: The boundary in the conversation where the annotation
  1051  	// ends, inclusive.
  1052  	AnnotationEndBoundary *GoogleCloudContactcenterinsightsV1AnnotationBoundary `json:"annotationEndBoundary,omitempty"`
  1053  	// AnnotationStartBoundary: The boundary in the conversation where the
  1054  	// annotation starts, inclusive.
  1055  	AnnotationStartBoundary *GoogleCloudContactcenterinsightsV1AnnotationBoundary `json:"annotationStartBoundary,omitempty"`
  1056  	// ChannelTag: The channel of the audio where the annotation occurs. For
  1057  	// single-channel audio, this field is not populated.
  1058  	ChannelTag int64 `json:"channelTag,omitempty"`
  1059  	// EntityMentionData: Data specifying an entity mention.
  1060  	EntityMentionData *GoogleCloudContactcenterinsightsV1EntityMentionData `json:"entityMentionData,omitempty"`
  1061  	// HoldData: Data specifying a hold.
  1062  	HoldData *GoogleCloudContactcenterinsightsV1HoldData `json:"holdData,omitempty"`
  1063  	// IntentMatchData: Data specifying an intent match.
  1064  	IntentMatchData *GoogleCloudContactcenterinsightsV1IntentMatchData `json:"intentMatchData,omitempty"`
  1065  	// InterruptionData: Data specifying an interruption.
  1066  	InterruptionData *GoogleCloudContactcenterinsightsV1InterruptionData `json:"interruptionData,omitempty"`
  1067  	// IssueMatchData: Data specifying an issue match.
  1068  	IssueMatchData *GoogleCloudContactcenterinsightsV1IssueMatchData `json:"issueMatchData,omitempty"`
  1069  	// PhraseMatchData: Data specifying a phrase match.
  1070  	PhraseMatchData *GoogleCloudContactcenterinsightsV1PhraseMatchData `json:"phraseMatchData,omitempty"`
  1071  	// SentimentData: Data specifying sentiment.
  1072  	SentimentData *GoogleCloudContactcenterinsightsV1SentimentData `json:"sentimentData,omitempty"`
  1073  	// SilenceData: Data specifying silence.
  1074  	SilenceData *GoogleCloudContactcenterinsightsV1SilenceData `json:"silenceData,omitempty"`
  1075  	// ForceSendFields is a list of field names (e.g. "AnnotationEndBoundary") to
  1076  	// unconditionally include in API requests. By default, fields with empty or
  1077  	// default values are omitted from API requests. See
  1078  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1079  	// details.
  1080  	ForceSendFields []string `json:"-"`
  1081  	// NullFields is a list of field names (e.g. "AnnotationEndBoundary") to
  1082  	// include in API requests with the JSON null value. By default, fields with
  1083  	// empty values are omitted from API requests. See
  1084  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1085  	NullFields []string `json:"-"`
  1086  }
  1087  
  1088  func (s *GoogleCloudContactcenterinsightsV1CallAnnotation) MarshalJSON() ([]byte, error) {
  1089  	type NoMethod GoogleCloudContactcenterinsightsV1CallAnnotation
  1090  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1091  }
  1092  
  1093  // GoogleCloudContactcenterinsightsV1Conversation: The conversation resource.
  1094  type GoogleCloudContactcenterinsightsV1Conversation struct {
  1095  	// AgentId: An opaque, user-specified string representing the human agent who
  1096  	// handled the conversation.
  1097  	AgentId string `json:"agentId,omitempty"`
  1098  	// CallMetadata: Call-specific metadata.
  1099  	CallMetadata *GoogleCloudContactcenterinsightsV1ConversationCallMetadata `json:"callMetadata,omitempty"`
  1100  	// CreateTime: Output only. The time at which the conversation was created.
  1101  	CreateTime string `json:"createTime,omitempty"`
  1102  	// DataSource: The source of the audio and transcription for the conversation.
  1103  	DataSource *GoogleCloudContactcenterinsightsV1ConversationDataSource `json:"dataSource,omitempty"`
  1104  	// DialogflowIntents: Output only. All the matched Dialogflow intents in the
  1105  	// call. The key corresponds to a Dialogflow intent, format:
  1106  	// projects/{project}/agent/{agent}/intents/{intent}
  1107  	DialogflowIntents map[string]GoogleCloudContactcenterinsightsV1DialogflowIntent `json:"dialogflowIntents,omitempty"`
  1108  	// Duration: Output only. The duration of the conversation.
  1109  	Duration string `json:"duration,omitempty"`
  1110  	// ExpireTime: The time at which this conversation should expire. After this
  1111  	// time, the conversation data and any associated analyses will be deleted.
  1112  	ExpireTime string `json:"expireTime,omitempty"`
  1113  	// Labels: A map for the user to specify any custom fields. A maximum of 20
  1114  	// labels per conversation is allowed, with a maximum of 256 characters per
  1115  	// entry.
  1116  	Labels map[string]string `json:"labels,omitempty"`
  1117  	// LanguageCode: A user-specified language code for the conversation.
  1118  	LanguageCode string `json:"languageCode,omitempty"`
  1119  	// LatestAnalysis: Output only. The conversation's latest analysis, if one
  1120  	// exists.
  1121  	LatestAnalysis *GoogleCloudContactcenterinsightsV1Analysis `json:"latestAnalysis,omitempty"`
  1122  	// LatestSummary: Output only. Latest summary of the conversation.
  1123  	LatestSummary *GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData `json:"latestSummary,omitempty"`
  1124  	// Medium: Immutable. The conversation medium, if unspecified will default to
  1125  	// PHONE_CALL.
  1126  	//
  1127  	// Possible values:
  1128  	//   "MEDIUM_UNSPECIFIED" - Default value, if unspecified will default to
  1129  	// PHONE_CALL.
  1130  	//   "PHONE_CALL" - The format for conversations that took place over the
  1131  	// phone.
  1132  	//   "CHAT" - The format for conversations that took place over chat.
  1133  	Medium string `json:"medium,omitempty"`
  1134  	// Name: Immutable. The resource name of the conversation. Format:
  1135  	// projects/{project}/locations/{location}/conversations/{conversation}
  1136  	Name string `json:"name,omitempty"`
  1137  	// ObfuscatedUserId: Obfuscated user ID which the customer sent to us.
  1138  	ObfuscatedUserId string `json:"obfuscatedUserId,omitempty"`
  1139  	// QualityMetadata: Conversation metadata related to quality management.
  1140  	QualityMetadata *GoogleCloudContactcenterinsightsV1ConversationQualityMetadata `json:"qualityMetadata,omitempty"`
  1141  	// RuntimeAnnotations: Output only. The annotations that were generated during
  1142  	// the customer and agent interaction.
  1143  	RuntimeAnnotations []*GoogleCloudContactcenterinsightsV1RuntimeAnnotation `json:"runtimeAnnotations,omitempty"`
  1144  	// StartTime: The time at which the conversation started.
  1145  	StartTime string `json:"startTime,omitempty"`
  1146  	// Transcript: Output only. The conversation transcript.
  1147  	Transcript *GoogleCloudContactcenterinsightsV1ConversationTranscript `json:"transcript,omitempty"`
  1148  	// Ttl: Input only. The TTL for this resource. If specified, then this TTL will
  1149  	// be used to calculate the expire time.
  1150  	Ttl string `json:"ttl,omitempty"`
  1151  	// TurnCount: Output only. The number of turns in the conversation.
  1152  	TurnCount int64 `json:"turnCount,omitempty"`
  1153  	// UpdateTime: Output only. The most recent time at which the conversation was
  1154  	// updated.
  1155  	UpdateTime string `json:"updateTime,omitempty"`
  1156  
  1157  	// ServerResponse contains the HTTP response code and headers from the server.
  1158  	googleapi.ServerResponse `json:"-"`
  1159  	// ForceSendFields is a list of field names (e.g. "AgentId") to unconditionally
  1160  	// include in API requests. By default, fields with empty or default values are
  1161  	// omitted from API requests. See
  1162  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1163  	// details.
  1164  	ForceSendFields []string `json:"-"`
  1165  	// NullFields is a list of field names (e.g. "AgentId") to include in API
  1166  	// requests with the JSON null value. By default, fields with empty values are
  1167  	// omitted from API requests. See
  1168  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1169  	NullFields []string `json:"-"`
  1170  }
  1171  
  1172  func (s *GoogleCloudContactcenterinsightsV1Conversation) MarshalJSON() ([]byte, error) {
  1173  	type NoMethod GoogleCloudContactcenterinsightsV1Conversation
  1174  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1175  }
  1176  
  1177  // GoogleCloudContactcenterinsightsV1ConversationCallMetadata: Call-specific
  1178  // metadata.
  1179  type GoogleCloudContactcenterinsightsV1ConversationCallMetadata struct {
  1180  	// AgentChannel: The audio channel that contains the agent.
  1181  	AgentChannel int64 `json:"agentChannel,omitempty"`
  1182  	// CustomerChannel: The audio channel that contains the customer.
  1183  	CustomerChannel int64 `json:"customerChannel,omitempty"`
  1184  	// ForceSendFields is a list of field names (e.g. "AgentChannel") to
  1185  	// unconditionally include in API requests. By default, fields with empty or
  1186  	// default values are omitted from API requests. See
  1187  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1188  	// details.
  1189  	ForceSendFields []string `json:"-"`
  1190  	// NullFields is a list of field names (e.g. "AgentChannel") to include in API
  1191  	// requests with the JSON null value. By default, fields with empty values are
  1192  	// omitted from API requests. See
  1193  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1194  	NullFields []string `json:"-"`
  1195  }
  1196  
  1197  func (s *GoogleCloudContactcenterinsightsV1ConversationCallMetadata) MarshalJSON() ([]byte, error) {
  1198  	type NoMethod GoogleCloudContactcenterinsightsV1ConversationCallMetadata
  1199  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1200  }
  1201  
  1202  // GoogleCloudContactcenterinsightsV1ConversationDataSource: The conversation
  1203  // source, which is a combination of transcript and audio.
  1204  type GoogleCloudContactcenterinsightsV1ConversationDataSource struct {
  1205  	// DialogflowSource: The source when the conversation comes from Dialogflow.
  1206  	DialogflowSource *GoogleCloudContactcenterinsightsV1DialogflowSource `json:"dialogflowSource,omitempty"`
  1207  	// GcsSource: A Cloud Storage location specification for the audio and
  1208  	// transcript.
  1209  	GcsSource *GoogleCloudContactcenterinsightsV1GcsSource `json:"gcsSource,omitempty"`
  1210  	// ForceSendFields is a list of field names (e.g. "DialogflowSource") to
  1211  	// unconditionally include in API requests. By default, fields with empty or
  1212  	// default values are omitted from API requests. See
  1213  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1214  	// details.
  1215  	ForceSendFields []string `json:"-"`
  1216  	// NullFields is a list of field names (e.g. "DialogflowSource") to include in
  1217  	// API requests with the JSON null value. By default, fields with empty values
  1218  	// are omitted from API requests. See
  1219  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1220  	NullFields []string `json:"-"`
  1221  }
  1222  
  1223  func (s *GoogleCloudContactcenterinsightsV1ConversationDataSource) MarshalJSON() ([]byte, error) {
  1224  	type NoMethod GoogleCloudContactcenterinsightsV1ConversationDataSource
  1225  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1226  }
  1227  
  1228  // GoogleCloudContactcenterinsightsV1ConversationLevelSentiment: One channel of
  1229  // conversation-level sentiment data.
  1230  type GoogleCloudContactcenterinsightsV1ConversationLevelSentiment struct {
  1231  	// ChannelTag: The channel of the audio that the data applies to.
  1232  	ChannelTag int64 `json:"channelTag,omitempty"`
  1233  	// SentimentData: Data specifying sentiment.
  1234  	SentimentData *GoogleCloudContactcenterinsightsV1SentimentData `json:"sentimentData,omitempty"`
  1235  	// ForceSendFields is a list of field names (e.g. "ChannelTag") to
  1236  	// unconditionally include in API requests. By default, fields with empty or
  1237  	// default values are omitted from API requests. See
  1238  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1239  	// details.
  1240  	ForceSendFields []string `json:"-"`
  1241  	// NullFields is a list of field names (e.g. "ChannelTag") to include in API
  1242  	// requests with the JSON null value. By default, fields with empty values are
  1243  	// omitted from API requests. See
  1244  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1245  	NullFields []string `json:"-"`
  1246  }
  1247  
  1248  func (s *GoogleCloudContactcenterinsightsV1ConversationLevelSentiment) MarshalJSON() ([]byte, error) {
  1249  	type NoMethod GoogleCloudContactcenterinsightsV1ConversationLevelSentiment
  1250  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1251  }
  1252  
  1253  // GoogleCloudContactcenterinsightsV1ConversationLevelSilence:
  1254  // Conversation-level silence data.
  1255  type GoogleCloudContactcenterinsightsV1ConversationLevelSilence struct {
  1256  	// SilenceDuration: Amount of time calculated to be in silence.
  1257  	SilenceDuration string `json:"silenceDuration,omitempty"`
  1258  	// SilencePercentage: Percentage of the total conversation spent in silence.
  1259  	SilencePercentage float64 `json:"silencePercentage,omitempty"`
  1260  	// ForceSendFields is a list of field names (e.g. "SilenceDuration") to
  1261  	// unconditionally include in API requests. By default, fields with empty or
  1262  	// default values are omitted from API requests. See
  1263  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1264  	// details.
  1265  	ForceSendFields []string `json:"-"`
  1266  	// NullFields is a list of field names (e.g. "SilenceDuration") to include in
  1267  	// API requests with the JSON null value. By default, fields with empty values
  1268  	// are omitted from API requests. See
  1269  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1270  	NullFields []string `json:"-"`
  1271  }
  1272  
  1273  func (s *GoogleCloudContactcenterinsightsV1ConversationLevelSilence) MarshalJSON() ([]byte, error) {
  1274  	type NoMethod GoogleCloudContactcenterinsightsV1ConversationLevelSilence
  1275  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1276  }
  1277  
  1278  func (s *GoogleCloudContactcenterinsightsV1ConversationLevelSilence) UnmarshalJSON(data []byte) error {
  1279  	type NoMethod GoogleCloudContactcenterinsightsV1ConversationLevelSilence
  1280  	var s1 struct {
  1281  		SilencePercentage gensupport.JSONFloat64 `json:"silencePercentage"`
  1282  		*NoMethod
  1283  	}
  1284  	s1.NoMethod = (*NoMethod)(s)
  1285  	if err := json.Unmarshal(data, &s1); err != nil {
  1286  		return err
  1287  	}
  1288  	s.SilencePercentage = float64(s1.SilencePercentage)
  1289  	return nil
  1290  }
  1291  
  1292  // GoogleCloudContactcenterinsightsV1ConversationParticipant: The call
  1293  // participant speaking for a given utterance.
  1294  type GoogleCloudContactcenterinsightsV1ConversationParticipant struct {
  1295  	// DialogflowParticipant: Deprecated. Use `dialogflow_participant_name`
  1296  	// instead. The name of the Dialogflow participant. Format:
  1297  	// projects/{project}/locations/{location}/conversations/{conversation}/particip
  1298  	// ants/{participant}
  1299  	DialogflowParticipant string `json:"dialogflowParticipant,omitempty"`
  1300  	// DialogflowParticipantName: The name of the participant provided by
  1301  	// Dialogflow. Format:
  1302  	// projects/{project}/locations/{location}/conversations/{conversation}/particip
  1303  	// ants/{participant}
  1304  	DialogflowParticipantName string `json:"dialogflowParticipantName,omitempty"`
  1305  	// ObfuscatedExternalUserId: Obfuscated user ID from Dialogflow.
  1306  	ObfuscatedExternalUserId string `json:"obfuscatedExternalUserId,omitempty"`
  1307  	// Role: The role of the participant.
  1308  	//
  1309  	// Possible values:
  1310  	//   "ROLE_UNSPECIFIED" - Participant's role is not set.
  1311  	//   "HUMAN_AGENT" - Participant is a human agent.
  1312  	//   "AUTOMATED_AGENT" - Participant is an automated agent.
  1313  	//   "END_USER" - Participant is an end user who conversed with the contact
  1314  	// center.
  1315  	//   "ANY_AGENT" - Participant is either a human or automated agent.
  1316  	Role string `json:"role,omitempty"`
  1317  	// UserId: A user-specified ID representing the participant.
  1318  	UserId string `json:"userId,omitempty"`
  1319  	// ForceSendFields is a list of field names (e.g. "DialogflowParticipant") to
  1320  	// unconditionally include in API requests. By default, fields with empty or
  1321  	// default values are omitted from API requests. See
  1322  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1323  	// details.
  1324  	ForceSendFields []string `json:"-"`
  1325  	// NullFields is a list of field names (e.g. "DialogflowParticipant") to
  1326  	// include in API requests with the JSON null value. By default, fields with
  1327  	// empty values are omitted from API requests. See
  1328  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1329  	NullFields []string `json:"-"`
  1330  }
  1331  
  1332  func (s *GoogleCloudContactcenterinsightsV1ConversationParticipant) MarshalJSON() ([]byte, error) {
  1333  	type NoMethod GoogleCloudContactcenterinsightsV1ConversationParticipant
  1334  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1335  }
  1336  
  1337  // GoogleCloudContactcenterinsightsV1ConversationQualityMetadata: Conversation
  1338  // metadata related to quality management.
  1339  type GoogleCloudContactcenterinsightsV1ConversationQualityMetadata struct {
  1340  	// AgentInfo: Information about agents involved in the call.
  1341  	AgentInfo []*GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo `json:"agentInfo,omitempty"`
  1342  	// CustomerSatisfactionRating: An arbitrary integer value indicating the
  1343  	// customer's satisfaction rating.
  1344  	CustomerSatisfactionRating int64 `json:"customerSatisfactionRating,omitempty"`
  1345  	// MenuPath: An arbitrary string value specifying the menu path the customer
  1346  	// took.
  1347  	MenuPath string `json:"menuPath,omitempty"`
  1348  	// WaitDuration: The amount of time the customer waited to connect with an
  1349  	// agent.
  1350  	WaitDuration string `json:"waitDuration,omitempty"`
  1351  	// ForceSendFields is a list of field names (e.g. "AgentInfo") to
  1352  	// unconditionally include in API requests. By default, fields with empty or
  1353  	// default values are omitted from API requests. See
  1354  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1355  	// details.
  1356  	ForceSendFields []string `json:"-"`
  1357  	// NullFields is a list of field names (e.g. "AgentInfo") to include in API
  1358  	// requests with the JSON null value. By default, fields with empty values are
  1359  	// omitted from API requests. See
  1360  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1361  	NullFields []string `json:"-"`
  1362  }
  1363  
  1364  func (s *GoogleCloudContactcenterinsightsV1ConversationQualityMetadata) MarshalJSON() ([]byte, error) {
  1365  	type NoMethod GoogleCloudContactcenterinsightsV1ConversationQualityMetadata
  1366  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1367  }
  1368  
  1369  // GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo:
  1370  // Information about an agent involved in the conversation.
  1371  type GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo struct {
  1372  	// AgentId: A user-specified string representing the agent.
  1373  	AgentId string `json:"agentId,omitempty"`
  1374  	// DisplayName: The agent's name.
  1375  	DisplayName string `json:"displayName,omitempty"`
  1376  	// DispositionCode: A user-provided string indicating the outcome of the
  1377  	// agent's segment of the call.
  1378  	DispositionCode string `json:"dispositionCode,omitempty"`
  1379  	// Team: A user-specified string representing the agent's team.
  1380  	Team string `json:"team,omitempty"`
  1381  	// ForceSendFields is a list of field names (e.g. "AgentId") to unconditionally
  1382  	// include in API requests. By default, fields with empty or default values are
  1383  	// omitted from API requests. See
  1384  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1385  	// details.
  1386  	ForceSendFields []string `json:"-"`
  1387  	// NullFields is a list of field names (e.g. "AgentId") to include in API
  1388  	// requests with the JSON null value. By default, fields with empty values are
  1389  	// omitted from API requests. See
  1390  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1391  	NullFields []string `json:"-"`
  1392  }
  1393  
  1394  func (s *GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo) MarshalJSON() ([]byte, error) {
  1395  	type NoMethod GoogleCloudContactcenterinsightsV1ConversationQualityMetadataAgentInfo
  1396  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1397  }
  1398  
  1399  // GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData:
  1400  // Conversation summarization suggestion data.
  1401  type GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData struct {
  1402  	// AnswerRecord: The name of the answer record. Format:
  1403  	// projects/{project}/locations/{location}/answerRecords/{answer_record}
  1404  	AnswerRecord string `json:"answerRecord,omitempty"`
  1405  	// Confidence: The confidence score of the summarization.
  1406  	Confidence float64 `json:"confidence,omitempty"`
  1407  	// ConversationModel: The name of the model that generates this summary.
  1408  	// Format:
  1409  	// projects/{project}/locations/{location}/conversationModels/{conversation_mode
  1410  	// l}
  1411  	ConversationModel string `json:"conversationModel,omitempty"`
  1412  	// Metadata: A map that contains metadata about the summarization and the
  1413  	// document from which it originates.
  1414  	Metadata map[string]string `json:"metadata,omitempty"`
  1415  	// Text: The summarization content that is concatenated into one string.
  1416  	Text string `json:"text,omitempty"`
  1417  	// TextSections: The summarization content that is divided into sections. The
  1418  	// key is the section's name and the value is the section's content. There is
  1419  	// no specific format for the key or value.
  1420  	TextSections map[string]string `json:"textSections,omitempty"`
  1421  	// ForceSendFields is a list of field names (e.g. "AnswerRecord") to
  1422  	// unconditionally include in API requests. By default, fields with empty or
  1423  	// default values are omitted from API requests. See
  1424  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1425  	// details.
  1426  	ForceSendFields []string `json:"-"`
  1427  	// NullFields is a list of field names (e.g. "AnswerRecord") to include in API
  1428  	// requests with the JSON null value. By default, fields with empty values are
  1429  	// omitted from API requests. See
  1430  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1431  	NullFields []string `json:"-"`
  1432  }
  1433  
  1434  func (s *GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData) MarshalJSON() ([]byte, error) {
  1435  	type NoMethod GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData
  1436  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1437  }
  1438  
  1439  func (s *GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData) UnmarshalJSON(data []byte) error {
  1440  	type NoMethod GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData
  1441  	var s1 struct {
  1442  		Confidence gensupport.JSONFloat64 `json:"confidence"`
  1443  		*NoMethod
  1444  	}
  1445  	s1.NoMethod = (*NoMethod)(s)
  1446  	if err := json.Unmarshal(data, &s1); err != nil {
  1447  		return err
  1448  	}
  1449  	s.Confidence = float64(s1.Confidence)
  1450  	return nil
  1451  }
  1452  
  1453  // GoogleCloudContactcenterinsightsV1ConversationTranscript: A message
  1454  // representing the transcript of a conversation.
  1455  type GoogleCloudContactcenterinsightsV1ConversationTranscript struct {
  1456  	// TranscriptSegments: A list of sequential transcript segments that comprise
  1457  	// the conversation.
  1458  	TranscriptSegments []*GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment `json:"transcriptSegments,omitempty"`
  1459  	// ForceSendFields is a list of field names (e.g. "TranscriptSegments") to
  1460  	// unconditionally include in API requests. By default, fields with empty or
  1461  	// default values are omitted from API requests. See
  1462  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1463  	// details.
  1464  	ForceSendFields []string `json:"-"`
  1465  	// NullFields is a list of field names (e.g. "TranscriptSegments") to include
  1466  	// in API requests with the JSON null value. By default, fields with empty
  1467  	// values are omitted from API requests. See
  1468  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1469  	NullFields []string `json:"-"`
  1470  }
  1471  
  1472  func (s *GoogleCloudContactcenterinsightsV1ConversationTranscript) MarshalJSON() ([]byte, error) {
  1473  	type NoMethod GoogleCloudContactcenterinsightsV1ConversationTranscript
  1474  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1475  }
  1476  
  1477  // GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment: A
  1478  // segment of a full transcript.
  1479  type GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment struct {
  1480  	// ChannelTag: For conversations derived from multi-channel audio, this is the
  1481  	// channel number corresponding to the audio from that channel. For
  1482  	// audioChannelCount = N, its output values can range from '1' to 'N'. A
  1483  	// channel tag of 0 indicates that the audio is mono.
  1484  	ChannelTag int64 `json:"channelTag,omitempty"`
  1485  	// Confidence: A confidence estimate between 0.0 and 1.0 of the fidelity of
  1486  	// this segment. A default value of 0.0 indicates that the value is unset.
  1487  	Confidence float64 `json:"confidence,omitempty"`
  1488  	// DialogflowSegmentMetadata: CCAI metadata relating to the current transcript
  1489  	// segment.
  1490  	DialogflowSegmentMetadata *GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata `json:"dialogflowSegmentMetadata,omitempty"`
  1491  	// LanguageCode: The language code of this segment as a BCP-47
  1492  	// (https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example:
  1493  	// "en-US".
  1494  	LanguageCode string `json:"languageCode,omitempty"`
  1495  	// MessageTime: The time that the message occurred, if provided.
  1496  	MessageTime string `json:"messageTime,omitempty"`
  1497  	// SegmentParticipant: The participant of this segment.
  1498  	SegmentParticipant *GoogleCloudContactcenterinsightsV1ConversationParticipant `json:"segmentParticipant,omitempty"`
  1499  	// Sentiment: The sentiment for this transcript segment.
  1500  	Sentiment *GoogleCloudContactcenterinsightsV1SentimentData `json:"sentiment,omitempty"`
  1501  	// Text: The text of this segment.
  1502  	Text string `json:"text,omitempty"`
  1503  	// Words: A list of the word-specific information for each word in the segment.
  1504  	Words []*GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo `json:"words,omitempty"`
  1505  	// ForceSendFields is a list of field names (e.g. "ChannelTag") to
  1506  	// unconditionally include in API requests. By default, fields with empty or
  1507  	// default values are omitted from API requests. See
  1508  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1509  	// details.
  1510  	ForceSendFields []string `json:"-"`
  1511  	// NullFields is a list of field names (e.g. "ChannelTag") to include in API
  1512  	// requests with the JSON null value. By default, fields with empty values are
  1513  	// omitted from API requests. See
  1514  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1515  	NullFields []string `json:"-"`
  1516  }
  1517  
  1518  func (s *GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment) MarshalJSON() ([]byte, error) {
  1519  	type NoMethod GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment
  1520  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1521  }
  1522  
  1523  func (s *GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment) UnmarshalJSON(data []byte) error {
  1524  	type NoMethod GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegment
  1525  	var s1 struct {
  1526  		Confidence gensupport.JSONFloat64 `json:"confidence"`
  1527  		*NoMethod
  1528  	}
  1529  	s1.NoMethod = (*NoMethod)(s)
  1530  	if err := json.Unmarshal(data, &s1); err != nil {
  1531  		return err
  1532  	}
  1533  	s.Confidence = float64(s1.Confidence)
  1534  	return nil
  1535  }
  1536  
  1537  // GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDial
  1538  // ogflowSegmentMetadata: Metadata from Dialogflow relating to the current
  1539  // transcript segment.
  1540  type GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata struct {
  1541  	// SmartReplyAllowlistCovered: Whether the transcript segment was covered under
  1542  	// the configured smart reply allowlist in Agent Assist.
  1543  	SmartReplyAllowlistCovered bool `json:"smartReplyAllowlistCovered,omitempty"`
  1544  	// ForceSendFields is a list of field names (e.g. "SmartReplyAllowlistCovered")
  1545  	// to unconditionally include in API requests. By default, fields with empty or
  1546  	// default values are omitted from API requests. See
  1547  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1548  	// details.
  1549  	ForceSendFields []string `json:"-"`
  1550  	// NullFields is a list of field names (e.g. "SmartReplyAllowlistCovered") to
  1551  	// include in API requests with the JSON null value. By default, fields with
  1552  	// empty values are omitted from API requests. See
  1553  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1554  	NullFields []string `json:"-"`
  1555  }
  1556  
  1557  func (s *GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata) MarshalJSON() ([]byte, error) {
  1558  	type NoMethod GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata
  1559  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1560  }
  1561  
  1562  // GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWord
  1563  // Info: Word-level info for words in a transcript.
  1564  type GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo struct {
  1565  	// Confidence: A confidence estimate between 0.0 and 1.0 of the fidelity of
  1566  	// this word. A default value of 0.0 indicates that the value is unset.
  1567  	Confidence float64 `json:"confidence,omitempty"`
  1568  	// EndOffset: Time offset of the end of this word relative to the beginning of
  1569  	// the total conversation.
  1570  	EndOffset string `json:"endOffset,omitempty"`
  1571  	// StartOffset: Time offset of the start of this word relative to the beginning
  1572  	// of the total conversation.
  1573  	StartOffset string `json:"startOffset,omitempty"`
  1574  	// Word: The word itself. Includes punctuation marks that surround the word.
  1575  	Word string `json:"word,omitempty"`
  1576  	// ForceSendFields is a list of field names (e.g. "Confidence") to
  1577  	// unconditionally include in API requests. By default, fields with empty or
  1578  	// default values are omitted from API requests. See
  1579  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1580  	// details.
  1581  	ForceSendFields []string `json:"-"`
  1582  	// NullFields is a list of field names (e.g. "Confidence") to include in API
  1583  	// requests with the JSON null value. By default, fields with empty values are
  1584  	// omitted from API requests. See
  1585  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1586  	NullFields []string `json:"-"`
  1587  }
  1588  
  1589  func (s *GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo) MarshalJSON() ([]byte, error) {
  1590  	type NoMethod GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo
  1591  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1592  }
  1593  
  1594  func (s *GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo) UnmarshalJSON(data []byte) error {
  1595  	type NoMethod GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo
  1596  	var s1 struct {
  1597  		Confidence gensupport.JSONFloat64 `json:"confidence"`
  1598  		*NoMethod
  1599  	}
  1600  	s1.NoMethod = (*NoMethod)(s)
  1601  	if err := json.Unmarshal(data, &s1); err != nil {
  1602  		return err
  1603  	}
  1604  	s.Confidence = float64(s1.Confidence)
  1605  	return nil
  1606  }
  1607  
  1608  // GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata: Metadata
  1609  // for a create analysis operation.
  1610  type GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata struct {
  1611  	// AnnotatorSelector: Output only. The annotator selector used for the analysis
  1612  	// (if any).
  1613  	AnnotatorSelector *GoogleCloudContactcenterinsightsV1AnnotatorSelector `json:"annotatorSelector,omitempty"`
  1614  	// Conversation: Output only. The Conversation that this Analysis Operation
  1615  	// belongs to.
  1616  	Conversation string `json:"conversation,omitempty"`
  1617  	// CreateTime: Output only. The time the operation was created.
  1618  	CreateTime string `json:"createTime,omitempty"`
  1619  	// EndTime: Output only. The time the operation finished running.
  1620  	EndTime string `json:"endTime,omitempty"`
  1621  	// ForceSendFields is a list of field names (e.g. "AnnotatorSelector") to
  1622  	// unconditionally include in API requests. By default, fields with empty or
  1623  	// default values are omitted from API requests. See
  1624  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1625  	// details.
  1626  	ForceSendFields []string `json:"-"`
  1627  	// NullFields is a list of field names (e.g. "AnnotatorSelector") to include in
  1628  	// API requests with the JSON null value. By default, fields with empty values
  1629  	// are omitted from API requests. See
  1630  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1631  	NullFields []string `json:"-"`
  1632  }
  1633  
  1634  func (s *GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata) MarshalJSON() ([]byte, error) {
  1635  	type NoMethod GoogleCloudContactcenterinsightsV1CreateAnalysisOperationMetadata
  1636  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1637  }
  1638  
  1639  // GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata: Metadata for
  1640  // creating an issue model.
  1641  type GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata struct {
  1642  	// CreateTime: Output only. The time the operation was created.
  1643  	CreateTime string `json:"createTime,omitempty"`
  1644  	// EndTime: Output only. The time the operation finished running.
  1645  	EndTime string `json:"endTime,omitempty"`
  1646  	// Request: The original request for creation.
  1647  	Request *GoogleCloudContactcenterinsightsV1CreateIssueModelRequest `json:"request,omitempty"`
  1648  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  1649  	// unconditionally include in API requests. By default, fields with empty or
  1650  	// default values are omitted from API requests. See
  1651  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1652  	// details.
  1653  	ForceSendFields []string `json:"-"`
  1654  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  1655  	// requests with the JSON null value. By default, fields with empty values are
  1656  	// omitted from API requests. See
  1657  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1658  	NullFields []string `json:"-"`
  1659  }
  1660  
  1661  func (s *GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata) MarshalJSON() ([]byte, error) {
  1662  	type NoMethod GoogleCloudContactcenterinsightsV1CreateIssueModelMetadata
  1663  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1664  }
  1665  
  1666  // GoogleCloudContactcenterinsightsV1CreateIssueModelRequest: The request to
  1667  // create an issue model.
  1668  type GoogleCloudContactcenterinsightsV1CreateIssueModelRequest struct {
  1669  	// IssueModel: Required. The issue model to create.
  1670  	IssueModel *GoogleCloudContactcenterinsightsV1IssueModel `json:"issueModel,omitempty"`
  1671  	// Parent: Required. The parent resource of the issue model.
  1672  	Parent string `json:"parent,omitempty"`
  1673  	// ForceSendFields is a list of field names (e.g. "IssueModel") to
  1674  	// unconditionally include in API requests. By default, fields with empty or
  1675  	// default values are omitted from API requests. See
  1676  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1677  	// details.
  1678  	ForceSendFields []string `json:"-"`
  1679  	// NullFields is a list of field names (e.g. "IssueModel") to include in API
  1680  	// requests with the JSON null value. By default, fields with empty values are
  1681  	// omitted from API requests. See
  1682  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1683  	NullFields []string `json:"-"`
  1684  }
  1685  
  1686  func (s *GoogleCloudContactcenterinsightsV1CreateIssueModelRequest) MarshalJSON() ([]byte, error) {
  1687  	type NoMethod GoogleCloudContactcenterinsightsV1CreateIssueModelRequest
  1688  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1689  }
  1690  
  1691  // GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata: Metadata for
  1692  // deleting an issue model.
  1693  type GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata struct {
  1694  	// CreateTime: Output only. The time the operation was created.
  1695  	CreateTime string `json:"createTime,omitempty"`
  1696  	// EndTime: Output only. The time the operation finished running.
  1697  	EndTime string `json:"endTime,omitempty"`
  1698  	// Request: The original request for deletion.
  1699  	Request *GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest `json:"request,omitempty"`
  1700  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  1701  	// unconditionally include in API requests. By default, fields with empty or
  1702  	// default values are omitted from API requests. See
  1703  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1704  	// details.
  1705  	ForceSendFields []string `json:"-"`
  1706  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  1707  	// requests with the JSON null value. By default, fields with empty values are
  1708  	// omitted from API requests. See
  1709  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1710  	NullFields []string `json:"-"`
  1711  }
  1712  
  1713  func (s *GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata) MarshalJSON() ([]byte, error) {
  1714  	type NoMethod GoogleCloudContactcenterinsightsV1DeleteIssueModelMetadata
  1715  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1716  }
  1717  
  1718  // GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest: The request to
  1719  // delete an issue model.
  1720  type GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest struct {
  1721  	// Name: Required. The name of the issue model to delete.
  1722  	Name string `json:"name,omitempty"`
  1723  	// ForceSendFields is a list of field names (e.g. "Name") to unconditionally
  1724  	// include in API requests. By default, fields with empty or default values are
  1725  	// omitted from API requests. See
  1726  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1727  	// details.
  1728  	ForceSendFields []string `json:"-"`
  1729  	// NullFields is a list of field names (e.g. "Name") to include in API requests
  1730  	// with the JSON null value. By default, fields with empty values are omitted
  1731  	// from API requests. See
  1732  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1733  	NullFields []string `json:"-"`
  1734  }
  1735  
  1736  func (s *GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest) MarshalJSON() ([]byte, error) {
  1737  	type NoMethod GoogleCloudContactcenterinsightsV1DeleteIssueModelRequest
  1738  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1739  }
  1740  
  1741  // GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata: Metadata for
  1742  // deploying an issue model.
  1743  type GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata struct {
  1744  	// CreateTime: Output only. The time the operation was created.
  1745  	CreateTime string `json:"createTime,omitempty"`
  1746  	// EndTime: Output only. The time the operation finished running.
  1747  	EndTime string `json:"endTime,omitempty"`
  1748  	// Request: The original request for deployment.
  1749  	Request *GoogleCloudContactcenterinsightsV1DeployIssueModelRequest `json:"request,omitempty"`
  1750  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  1751  	// unconditionally include in API requests. By default, fields with empty or
  1752  	// default values are omitted from API requests. See
  1753  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1754  	// details.
  1755  	ForceSendFields []string `json:"-"`
  1756  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  1757  	// requests with the JSON null value. By default, fields with empty values are
  1758  	// omitted from API requests. See
  1759  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1760  	NullFields []string `json:"-"`
  1761  }
  1762  
  1763  func (s *GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata) MarshalJSON() ([]byte, error) {
  1764  	type NoMethod GoogleCloudContactcenterinsightsV1DeployIssueModelMetadata
  1765  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1766  }
  1767  
  1768  // GoogleCloudContactcenterinsightsV1DeployIssueModelRequest: The request to
  1769  // deploy an issue model.
  1770  type GoogleCloudContactcenterinsightsV1DeployIssueModelRequest struct {
  1771  	// Name: Required. The issue model to deploy.
  1772  	Name string `json:"name,omitempty"`
  1773  	// ForceSendFields is a list of field names (e.g. "Name") to unconditionally
  1774  	// include in API requests. By default, fields with empty or default values are
  1775  	// omitted from API requests. See
  1776  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1777  	// details.
  1778  	ForceSendFields []string `json:"-"`
  1779  	// NullFields is a list of field names (e.g. "Name") to include in API requests
  1780  	// with the JSON null value. By default, fields with empty values are omitted
  1781  	// from API requests. See
  1782  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1783  	NullFields []string `json:"-"`
  1784  }
  1785  
  1786  func (s *GoogleCloudContactcenterinsightsV1DeployIssueModelRequest) MarshalJSON() ([]byte, error) {
  1787  	type NoMethod GoogleCloudContactcenterinsightsV1DeployIssueModelRequest
  1788  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1789  }
  1790  
  1791  // GoogleCloudContactcenterinsightsV1DeployIssueModelResponse: The response to
  1792  // deploy an issue model.
  1793  type GoogleCloudContactcenterinsightsV1DeployIssueModelResponse struct {
  1794  }
  1795  
  1796  // GoogleCloudContactcenterinsightsV1DialogflowIntent: The data for a
  1797  // Dialogflow intent. Represents a detected intent in the conversation, e.g.
  1798  // MAKES_PROMISE.
  1799  type GoogleCloudContactcenterinsightsV1DialogflowIntent struct {
  1800  	// DisplayName: The human-readable name of the intent.
  1801  	DisplayName string `json:"displayName,omitempty"`
  1802  	// ForceSendFields is a list of field names (e.g. "DisplayName") to
  1803  	// unconditionally include in API requests. By default, fields with empty or
  1804  	// default values are omitted from API requests. See
  1805  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1806  	// details.
  1807  	ForceSendFields []string `json:"-"`
  1808  	// NullFields is a list of field names (e.g. "DisplayName") to include in API
  1809  	// requests with the JSON null value. By default, fields with empty values are
  1810  	// omitted from API requests. See
  1811  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1812  	NullFields []string `json:"-"`
  1813  }
  1814  
  1815  func (s *GoogleCloudContactcenterinsightsV1DialogflowIntent) MarshalJSON() ([]byte, error) {
  1816  	type NoMethod GoogleCloudContactcenterinsightsV1DialogflowIntent
  1817  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1818  }
  1819  
  1820  // GoogleCloudContactcenterinsightsV1DialogflowInteractionData: Dialogflow
  1821  // interaction data.
  1822  type GoogleCloudContactcenterinsightsV1DialogflowInteractionData struct {
  1823  	// Confidence: The confidence of the match ranging from 0.0 (completely
  1824  	// uncertain) to 1.0 (completely certain).
  1825  	Confidence float64 `json:"confidence,omitempty"`
  1826  	// DialogflowIntentId: The Dialogflow intent resource path. Format:
  1827  	// projects/{project}/agent/{agent}/intents/{intent}
  1828  	DialogflowIntentId string `json:"dialogflowIntentId,omitempty"`
  1829  	// ForceSendFields is a list of field names (e.g. "Confidence") to
  1830  	// unconditionally include in API requests. By default, fields with empty or
  1831  	// default values are omitted from API requests. See
  1832  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1833  	// details.
  1834  	ForceSendFields []string `json:"-"`
  1835  	// NullFields is a list of field names (e.g. "Confidence") to include in API
  1836  	// requests with the JSON null value. By default, fields with empty values are
  1837  	// omitted from API requests. See
  1838  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1839  	NullFields []string `json:"-"`
  1840  }
  1841  
  1842  func (s *GoogleCloudContactcenterinsightsV1DialogflowInteractionData) MarshalJSON() ([]byte, error) {
  1843  	type NoMethod GoogleCloudContactcenterinsightsV1DialogflowInteractionData
  1844  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1845  }
  1846  
  1847  func (s *GoogleCloudContactcenterinsightsV1DialogflowInteractionData) UnmarshalJSON(data []byte) error {
  1848  	type NoMethod GoogleCloudContactcenterinsightsV1DialogflowInteractionData
  1849  	var s1 struct {
  1850  		Confidence gensupport.JSONFloat64 `json:"confidence"`
  1851  		*NoMethod
  1852  	}
  1853  	s1.NoMethod = (*NoMethod)(s)
  1854  	if err := json.Unmarshal(data, &s1); err != nil {
  1855  		return err
  1856  	}
  1857  	s.Confidence = float64(s1.Confidence)
  1858  	return nil
  1859  }
  1860  
  1861  // GoogleCloudContactcenterinsightsV1DialogflowSource: A Dialogflow source of
  1862  // conversation data.
  1863  type GoogleCloudContactcenterinsightsV1DialogflowSource struct {
  1864  	// AudioUri: Cloud Storage URI that points to a file that contains the
  1865  	// conversation audio.
  1866  	AudioUri string `json:"audioUri,omitempty"`
  1867  	// DialogflowConversation: Output only. The name of the Dialogflow conversation
  1868  	// that this conversation resource is derived from. Format:
  1869  	// projects/{project}/locations/{location}/conversations/{conversation}
  1870  	DialogflowConversation string `json:"dialogflowConversation,omitempty"`
  1871  	// ForceSendFields is a list of field names (e.g. "AudioUri") to
  1872  	// unconditionally include in API requests. By default, fields with empty or
  1873  	// default values are omitted from API requests. See
  1874  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1875  	// details.
  1876  	ForceSendFields []string `json:"-"`
  1877  	// NullFields is a list of field names (e.g. "AudioUri") to include in API
  1878  	// requests with the JSON null value. By default, fields with empty values are
  1879  	// omitted from API requests. See
  1880  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1881  	NullFields []string `json:"-"`
  1882  }
  1883  
  1884  func (s *GoogleCloudContactcenterinsightsV1DialogflowSource) MarshalJSON() ([]byte, error) {
  1885  	type NoMethod GoogleCloudContactcenterinsightsV1DialogflowSource
  1886  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1887  }
  1888  
  1889  // GoogleCloudContactcenterinsightsV1Entity: The data for an entity annotation.
  1890  // Represents a phrase in the conversation that is a known entity, such as a
  1891  // person, an organization, or location.
  1892  type GoogleCloudContactcenterinsightsV1Entity struct {
  1893  	// DisplayName: The representative name for the entity.
  1894  	DisplayName string `json:"displayName,omitempty"`
  1895  	// Metadata: Metadata associated with the entity. For most entity types, the
  1896  	// metadata is a Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID
  1897  	// (`mid`), if they are available. For the metadata associated with other
  1898  	// entity types, see the Type table below.
  1899  	Metadata map[string]string `json:"metadata,omitempty"`
  1900  	// Salience: The salience score associated with the entity in the [0, 1.0]
  1901  	// range. The salience score for an entity provides information about the
  1902  	// importance or centrality of that entity to the entire document text. Scores
  1903  	// closer to 0 are less salient, while scores closer to 1.0 are highly salient.
  1904  	Salience float64 `json:"salience,omitempty"`
  1905  	// Sentiment: The aggregate sentiment expressed for this entity in the
  1906  	// conversation.
  1907  	Sentiment *GoogleCloudContactcenterinsightsV1SentimentData `json:"sentiment,omitempty"`
  1908  	// Type: The entity type.
  1909  	//
  1910  	// Possible values:
  1911  	//   "TYPE_UNSPECIFIED" - Unspecified.
  1912  	//   "PERSON" - Person.
  1913  	//   "LOCATION" - Location.
  1914  	//   "ORGANIZATION" - Organization.
  1915  	//   "EVENT" - Event.
  1916  	//   "WORK_OF_ART" - Artwork.
  1917  	//   "CONSUMER_GOOD" - Consumer product.
  1918  	//   "OTHER" - Other types of entities.
  1919  	//   "PHONE_NUMBER" - Phone number. The metadata lists the phone number
  1920  	// (formatted according to local convention), plus whichever additional
  1921  	// elements appear in the text: * `number` - The actual number, broken down
  1922  	// into sections according to local convention. * `national_prefix` - Country
  1923  	// code, if detected. * `area_code` - Region or area code, if detected. *
  1924  	// `extension` - Phone extension (to be dialed after connection), if detected.
  1925  	//   "ADDRESS" - Address. The metadata identifies the street number and
  1926  	// locality plus whichever additional elements appear in the text: *
  1927  	// `street_number` - Street number. * `locality` - City or town. *
  1928  	// `street_name` - Street/route name, if detected. * `postal_code` - Postal
  1929  	// code, if detected. * `country` - Country, if detected. * `broad_region` -
  1930  	// Administrative area, such as the state, if detected. * `narrow_region` -
  1931  	// Smaller administrative area, such as county, if detected. * `sublocality` -
  1932  	// Used in Asian addresses to demark a district within a city, if detected.
  1933  	//   "DATE" - Date. The metadata identifies the components of the date: *
  1934  	// `year` - Four digit year, if detected. * `month` - Two digit month number,
  1935  	// if detected. * `day` - Two digit day number, if detected.
  1936  	//   "NUMBER" - Number. The metadata is the number itself.
  1937  	//   "PRICE" - Price. The metadata identifies the `value` and `currency`.
  1938  	Type string `json:"type,omitempty"`
  1939  	// ForceSendFields is a list of field names (e.g. "DisplayName") to
  1940  	// unconditionally include in API requests. By default, fields with empty or
  1941  	// default values are omitted from API requests. See
  1942  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1943  	// details.
  1944  	ForceSendFields []string `json:"-"`
  1945  	// NullFields is a list of field names (e.g. "DisplayName") to include in API
  1946  	// requests with the JSON null value. By default, fields with empty values are
  1947  	// omitted from API requests. See
  1948  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1949  	NullFields []string `json:"-"`
  1950  }
  1951  
  1952  func (s *GoogleCloudContactcenterinsightsV1Entity) MarshalJSON() ([]byte, error) {
  1953  	type NoMethod GoogleCloudContactcenterinsightsV1Entity
  1954  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1955  }
  1956  
  1957  func (s *GoogleCloudContactcenterinsightsV1Entity) UnmarshalJSON(data []byte) error {
  1958  	type NoMethod GoogleCloudContactcenterinsightsV1Entity
  1959  	var s1 struct {
  1960  		Salience gensupport.JSONFloat64 `json:"salience"`
  1961  		*NoMethod
  1962  	}
  1963  	s1.NoMethod = (*NoMethod)(s)
  1964  	if err := json.Unmarshal(data, &s1); err != nil {
  1965  		return err
  1966  	}
  1967  	s.Salience = float64(s1.Salience)
  1968  	return nil
  1969  }
  1970  
  1971  // GoogleCloudContactcenterinsightsV1EntityMentionData: The data for an entity
  1972  // mention annotation. This represents a mention of an `Entity` in the
  1973  // conversation.
  1974  type GoogleCloudContactcenterinsightsV1EntityMentionData struct {
  1975  	// EntityUniqueId: The key of this entity in conversation entities. Can be used
  1976  	// to retrieve the exact `Entity` this mention is attached to.
  1977  	EntityUniqueId string `json:"entityUniqueId,omitempty"`
  1978  	// Sentiment: Sentiment expressed for this mention of the entity.
  1979  	Sentiment *GoogleCloudContactcenterinsightsV1SentimentData `json:"sentiment,omitempty"`
  1980  	// Type: The type of the entity mention.
  1981  	//
  1982  	// Possible values:
  1983  	//   "MENTION_TYPE_UNSPECIFIED" - Unspecified.
  1984  	//   "PROPER" - Proper noun.
  1985  	//   "COMMON" - Common noun (or noun compound).
  1986  	Type string `json:"type,omitempty"`
  1987  	// ForceSendFields is a list of field names (e.g. "EntityUniqueId") to
  1988  	// unconditionally include in API requests. By default, fields with empty or
  1989  	// default values are omitted from API requests. See
  1990  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1991  	// details.
  1992  	ForceSendFields []string `json:"-"`
  1993  	// NullFields is a list of field names (e.g. "EntityUniqueId") to include in
  1994  	// API requests with the JSON null value. By default, fields with empty values
  1995  	// are omitted from API requests. See
  1996  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1997  	NullFields []string `json:"-"`
  1998  }
  1999  
  2000  func (s *GoogleCloudContactcenterinsightsV1EntityMentionData) MarshalJSON() ([]byte, error) {
  2001  	type NoMethod GoogleCloudContactcenterinsightsV1EntityMentionData
  2002  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2003  }
  2004  
  2005  // GoogleCloudContactcenterinsightsV1ExactMatchConfig: Exact match
  2006  // configuration.
  2007  type GoogleCloudContactcenterinsightsV1ExactMatchConfig struct {
  2008  	// CaseSensitive: Whether to consider case sensitivity when performing an exact
  2009  	// match.
  2010  	CaseSensitive bool `json:"caseSensitive,omitempty"`
  2011  	// ForceSendFields is a list of field names (e.g. "CaseSensitive") to
  2012  	// unconditionally include in API requests. By default, fields with empty or
  2013  	// default values are omitted from API requests. See
  2014  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2015  	// details.
  2016  	ForceSendFields []string `json:"-"`
  2017  	// NullFields is a list of field names (e.g. "CaseSensitive") to include in API
  2018  	// requests with the JSON null value. By default, fields with empty values are
  2019  	// omitted from API requests. See
  2020  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2021  	NullFields []string `json:"-"`
  2022  }
  2023  
  2024  func (s *GoogleCloudContactcenterinsightsV1ExactMatchConfig) MarshalJSON() ([]byte, error) {
  2025  	type NoMethod GoogleCloudContactcenterinsightsV1ExactMatchConfig
  2026  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2027  }
  2028  
  2029  // GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata: Metadata for
  2030  // an export insights operation.
  2031  type GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata struct {
  2032  	// CreateTime: Output only. The time the operation was created.
  2033  	CreateTime string `json:"createTime,omitempty"`
  2034  	// EndTime: Output only. The time the operation finished running.
  2035  	EndTime string `json:"endTime,omitempty"`
  2036  	// PartialErrors: Partial errors during export operation that might cause the
  2037  	// operation output to be incomplete.
  2038  	PartialErrors []*GoogleRpcStatus `json:"partialErrors,omitempty"`
  2039  	// Request: The original request for export.
  2040  	Request *GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest `json:"request,omitempty"`
  2041  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  2042  	// unconditionally include in API requests. By default, fields with empty or
  2043  	// default values are omitted from API requests. See
  2044  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2045  	// details.
  2046  	ForceSendFields []string `json:"-"`
  2047  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  2048  	// requests with the JSON null value. By default, fields with empty values are
  2049  	// omitted from API requests. See
  2050  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2051  	NullFields []string `json:"-"`
  2052  }
  2053  
  2054  func (s *GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata) MarshalJSON() ([]byte, error) {
  2055  	type NoMethod GoogleCloudContactcenterinsightsV1ExportInsightsDataMetadata
  2056  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2057  }
  2058  
  2059  // GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest: The request to
  2060  // export insights.
  2061  type GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest struct {
  2062  	// BigQueryDestination: Specified if sink is a BigQuery table.
  2063  	BigQueryDestination *GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination `json:"bigQueryDestination,omitempty"`
  2064  	// Filter: A filter to reduce results to a specific subset. Useful for
  2065  	// exporting conversations with specific properties.
  2066  	Filter string `json:"filter,omitempty"`
  2067  	// KmsKey: A fully qualified KMS key name for BigQuery tables protected by
  2068  	// CMEK. Format:
  2069  	// projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/c
  2070  	// ryptoKeyVersions/{version}
  2071  	KmsKey string `json:"kmsKey,omitempty"`
  2072  	// Parent: Required. The parent resource to export data from.
  2073  	Parent string `json:"parent,omitempty"`
  2074  	// WriteDisposition: Options for what to do if the destination table already
  2075  	// exists.
  2076  	//
  2077  	// Possible values:
  2078  	//   "WRITE_DISPOSITION_UNSPECIFIED" - Write disposition is not specified.
  2079  	// Defaults to WRITE_TRUNCATE.
  2080  	//   "WRITE_TRUNCATE" - If the table already exists, BigQuery will overwrite
  2081  	// the table data and use the schema from the load.
  2082  	//   "WRITE_APPEND" - If the table already exists, BigQuery will append data to
  2083  	// the table.
  2084  	WriteDisposition string `json:"writeDisposition,omitempty"`
  2085  	// ForceSendFields is a list of field names (e.g. "BigQueryDestination") to
  2086  	// unconditionally include in API requests. By default, fields with empty or
  2087  	// default values are omitted from API requests. See
  2088  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2089  	// details.
  2090  	ForceSendFields []string `json:"-"`
  2091  	// NullFields is a list of field names (e.g. "BigQueryDestination") to include
  2092  	// in API requests with the JSON null value. By default, fields with empty
  2093  	// values are omitted from API requests. See
  2094  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2095  	NullFields []string `json:"-"`
  2096  }
  2097  
  2098  func (s *GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest) MarshalJSON() ([]byte, error) {
  2099  	type NoMethod GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest
  2100  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2101  }
  2102  
  2103  // GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestinatio
  2104  // n: A BigQuery Table Reference.
  2105  type GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination struct {
  2106  	// Dataset: Required. The name of the BigQuery dataset that the snapshot result
  2107  	// should be exported to. If this dataset does not exist, the export call
  2108  	// returns an INVALID_ARGUMENT error.
  2109  	Dataset string `json:"dataset,omitempty"`
  2110  	// ProjectId: A project ID or number. If specified, then export will attempt to
  2111  	// write data to this project instead of the resource project. Otherwise, the
  2112  	// resource project will be used.
  2113  	ProjectId string `json:"projectId,omitempty"`
  2114  	// Table: The BigQuery table name to which the insights data should be written.
  2115  	// If this table does not exist, the export call returns an INVALID_ARGUMENT
  2116  	// error.
  2117  	Table string `json:"table,omitempty"`
  2118  	// ForceSendFields is a list of field names (e.g. "Dataset") to unconditionally
  2119  	// include in API requests. By default, fields with empty or default values are
  2120  	// omitted from API requests. See
  2121  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2122  	// details.
  2123  	ForceSendFields []string `json:"-"`
  2124  	// NullFields is a list of field names (e.g. "Dataset") to include in API
  2125  	// requests with the JSON null value. By default, fields with empty values are
  2126  	// omitted from API requests. See
  2127  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2128  	NullFields []string `json:"-"`
  2129  }
  2130  
  2131  func (s *GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination) MarshalJSON() ([]byte, error) {
  2132  	type NoMethod GoogleCloudContactcenterinsightsV1ExportInsightsDataRequestBigQueryDestination
  2133  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2134  }
  2135  
  2136  // GoogleCloudContactcenterinsightsV1ExportInsightsDataResponse: Response for
  2137  // an export insights operation.
  2138  type GoogleCloudContactcenterinsightsV1ExportInsightsDataResponse struct {
  2139  }
  2140  
  2141  // GoogleCloudContactcenterinsightsV1ExportIssueModelMetadata: Metadata used
  2142  // for export issue model.
  2143  type GoogleCloudContactcenterinsightsV1ExportIssueModelMetadata struct {
  2144  	// CreateTime: The time the operation was created.
  2145  	CreateTime string `json:"createTime,omitempty"`
  2146  	// EndTime: The time the operation finished running.
  2147  	EndTime string `json:"endTime,omitempty"`
  2148  	// Request: The original export request.
  2149  	Request *GoogleCloudContactcenterinsightsV1ExportIssueModelRequest `json:"request,omitempty"`
  2150  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  2151  	// unconditionally include in API requests. By default, fields with empty or
  2152  	// default values are omitted from API requests. See
  2153  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2154  	// details.
  2155  	ForceSendFields []string `json:"-"`
  2156  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  2157  	// requests with the JSON null value. By default, fields with empty values are
  2158  	// omitted from API requests. See
  2159  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2160  	NullFields []string `json:"-"`
  2161  }
  2162  
  2163  func (s *GoogleCloudContactcenterinsightsV1ExportIssueModelMetadata) MarshalJSON() ([]byte, error) {
  2164  	type NoMethod GoogleCloudContactcenterinsightsV1ExportIssueModelMetadata
  2165  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2166  }
  2167  
  2168  // GoogleCloudContactcenterinsightsV1ExportIssueModelRequest: Request to export
  2169  // an issue model.
  2170  type GoogleCloudContactcenterinsightsV1ExportIssueModelRequest struct {
  2171  	// GcsDestination: Google Cloud Storage URI to export the Issue Model to.
  2172  	GcsDestination *GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination `json:"gcsDestination,omitempty"`
  2173  	// Name: Required. The issue model to export
  2174  	Name string `json:"name,omitempty"`
  2175  	// ForceSendFields is a list of field names (e.g. "GcsDestination") to
  2176  	// unconditionally include in API requests. By default, fields with empty or
  2177  	// default values are omitted from API requests. See
  2178  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2179  	// details.
  2180  	ForceSendFields []string `json:"-"`
  2181  	// NullFields is a list of field names (e.g. "GcsDestination") to include in
  2182  	// API requests with the JSON null value. By default, fields with empty values
  2183  	// are omitted from API requests. See
  2184  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2185  	NullFields []string `json:"-"`
  2186  }
  2187  
  2188  func (s *GoogleCloudContactcenterinsightsV1ExportIssueModelRequest) MarshalJSON() ([]byte, error) {
  2189  	type NoMethod GoogleCloudContactcenterinsightsV1ExportIssueModelRequest
  2190  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2191  }
  2192  
  2193  // GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination:
  2194  // Google Cloud Storage Object URI to save the issue model to.
  2195  type GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination struct {
  2196  	// ObjectUri: Required. Format: `gs:///`
  2197  	ObjectUri string `json:"objectUri,omitempty"`
  2198  	// ForceSendFields is a list of field names (e.g. "ObjectUri") to
  2199  	// unconditionally include in API requests. By default, fields with empty or
  2200  	// default values are omitted from API requests. See
  2201  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2202  	// details.
  2203  	ForceSendFields []string `json:"-"`
  2204  	// NullFields is a list of field names (e.g. "ObjectUri") to include in API
  2205  	// requests with the JSON null value. By default, fields with empty values are
  2206  	// omitted from API requests. See
  2207  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2208  	NullFields []string `json:"-"`
  2209  }
  2210  
  2211  func (s *GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination) MarshalJSON() ([]byte, error) {
  2212  	type NoMethod GoogleCloudContactcenterinsightsV1ExportIssueModelRequestGcsDestination
  2213  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2214  }
  2215  
  2216  // GoogleCloudContactcenterinsightsV1ExportIssueModelResponse: Response from
  2217  // export issue model
  2218  type GoogleCloudContactcenterinsightsV1ExportIssueModelResponse struct {
  2219  }
  2220  
  2221  // GoogleCloudContactcenterinsightsV1FaqAnswerData: Agent Assist
  2222  // frequently-asked-question answer data.
  2223  type GoogleCloudContactcenterinsightsV1FaqAnswerData struct {
  2224  	// Answer: The piece of text from the `source` knowledge base document.
  2225  	Answer string `json:"answer,omitempty"`
  2226  	// ConfidenceScore: The system's confidence score that this answer is a good
  2227  	// match for this conversation, ranging from 0.0 (completely uncertain) to 1.0
  2228  	// (completely certain).
  2229  	ConfidenceScore float64 `json:"confidenceScore,omitempty"`
  2230  	// Metadata: Map that contains metadata about the FAQ answer and the document
  2231  	// that it originates from.
  2232  	Metadata map[string]string `json:"metadata,omitempty"`
  2233  	// QueryRecord: The name of the answer record. Format:
  2234  	// projects/{project}/locations/{location}/answerRecords/{answer_record}
  2235  	QueryRecord string `json:"queryRecord,omitempty"`
  2236  	// Question: The corresponding FAQ question.
  2237  	Question string `json:"question,omitempty"`
  2238  	// Source: The knowledge document that this answer was extracted from. Format:
  2239  	// projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.
  2240  	Source string `json:"source,omitempty"`
  2241  	// ForceSendFields is a list of field names (e.g. "Answer") to unconditionally
  2242  	// include in API requests. By default, fields with empty or default values are
  2243  	// omitted from API requests. See
  2244  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2245  	// details.
  2246  	ForceSendFields []string `json:"-"`
  2247  	// NullFields is a list of field names (e.g. "Answer") to include in API
  2248  	// requests with the JSON null value. By default, fields with empty values are
  2249  	// omitted from API requests. See
  2250  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2251  	NullFields []string `json:"-"`
  2252  }
  2253  
  2254  func (s *GoogleCloudContactcenterinsightsV1FaqAnswerData) MarshalJSON() ([]byte, error) {
  2255  	type NoMethod GoogleCloudContactcenterinsightsV1FaqAnswerData
  2256  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2257  }
  2258  
  2259  func (s *GoogleCloudContactcenterinsightsV1FaqAnswerData) UnmarshalJSON(data []byte) error {
  2260  	type NoMethod GoogleCloudContactcenterinsightsV1FaqAnswerData
  2261  	var s1 struct {
  2262  		ConfidenceScore gensupport.JSONFloat64 `json:"confidenceScore"`
  2263  		*NoMethod
  2264  	}
  2265  	s1.NoMethod = (*NoMethod)(s)
  2266  	if err := json.Unmarshal(data, &s1); err != nil {
  2267  		return err
  2268  	}
  2269  	s.ConfidenceScore = float64(s1.ConfidenceScore)
  2270  	return nil
  2271  }
  2272  
  2273  // GoogleCloudContactcenterinsightsV1FreeFormSuggestion: Suggestion generated
  2274  // using free form generator.
  2275  type GoogleCloudContactcenterinsightsV1FreeFormSuggestion struct {
  2276  	// Labels: Optional. Labels for the generator.
  2277  	Labels []string `json:"labels,omitempty"`
  2278  	// Response: Required. Free form suggestion.
  2279  	Response string `json:"response,omitempty"`
  2280  	// ForceSendFields is a list of field names (e.g. "Labels") to unconditionally
  2281  	// include in API requests. By default, fields with empty or default values are
  2282  	// omitted from API requests. See
  2283  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2284  	// details.
  2285  	ForceSendFields []string `json:"-"`
  2286  	// NullFields is a list of field names (e.g. "Labels") to include in API
  2287  	// requests with the JSON null value. By default, fields with empty values are
  2288  	// omitted from API requests. See
  2289  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2290  	NullFields []string `json:"-"`
  2291  }
  2292  
  2293  func (s *GoogleCloudContactcenterinsightsV1FreeFormSuggestion) MarshalJSON() ([]byte, error) {
  2294  	type NoMethod GoogleCloudContactcenterinsightsV1FreeFormSuggestion
  2295  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2296  }
  2297  
  2298  // GoogleCloudContactcenterinsightsV1GcsSource: A Cloud Storage source of
  2299  // conversation data.
  2300  type GoogleCloudContactcenterinsightsV1GcsSource struct {
  2301  	// AudioUri: Cloud Storage URI that points to a file that contains the
  2302  	// conversation audio.
  2303  	AudioUri string `json:"audioUri,omitempty"`
  2304  	// TranscriptUri: Immutable. Cloud Storage URI that points to a file that
  2305  	// contains the conversation transcript.
  2306  	TranscriptUri string `json:"transcriptUri,omitempty"`
  2307  	// ForceSendFields is a list of field names (e.g. "AudioUri") to
  2308  	// unconditionally include in API requests. By default, fields with empty or
  2309  	// default values are omitted from API requests. See
  2310  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2311  	// details.
  2312  	ForceSendFields []string `json:"-"`
  2313  	// NullFields is a list of field names (e.g. "AudioUri") to include in API
  2314  	// requests with the JSON null value. By default, fields with empty values are
  2315  	// omitted from API requests. See
  2316  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2317  	NullFields []string `json:"-"`
  2318  }
  2319  
  2320  func (s *GoogleCloudContactcenterinsightsV1GcsSource) MarshalJSON() ([]byte, error) {
  2321  	type NoMethod GoogleCloudContactcenterinsightsV1GcsSource
  2322  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2323  }
  2324  
  2325  // GoogleCloudContactcenterinsightsV1GeneratorSuggestion: Suggestion generated
  2326  // using a Generator.
  2327  type GoogleCloudContactcenterinsightsV1GeneratorSuggestion struct {
  2328  	// AgentCoachingSuggestion: Optional. Suggestion to coach the agent.
  2329  	AgentCoachingSuggestion *GoogleCloudContactcenterinsightsV1AgentCoachingSuggestion `json:"agentCoachingSuggestion,omitempty"`
  2330  	// FreeFormSuggestion: Optional. Free form suggestion.
  2331  	FreeFormSuggestion *GoogleCloudContactcenterinsightsV1FreeFormSuggestion `json:"freeFormSuggestion,omitempty"`
  2332  	// SummarySuggestion: Optional. Suggested summary.
  2333  	SummarySuggestion *GoogleCloudContactcenterinsightsV1SummarySuggestion `json:"summarySuggestion,omitempty"`
  2334  	// ForceSendFields is a list of field names (e.g. "AgentCoachingSuggestion") to
  2335  	// unconditionally include in API requests. By default, fields with empty or
  2336  	// default values are omitted from API requests. See
  2337  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2338  	// details.
  2339  	ForceSendFields []string `json:"-"`
  2340  	// NullFields is a list of field names (e.g. "AgentCoachingSuggestion") to
  2341  	// include in API requests with the JSON null value. By default, fields with
  2342  	// empty values are omitted from API requests. See
  2343  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2344  	NullFields []string `json:"-"`
  2345  }
  2346  
  2347  func (s *GoogleCloudContactcenterinsightsV1GeneratorSuggestion) MarshalJSON() ([]byte, error) {
  2348  	type NoMethod GoogleCloudContactcenterinsightsV1GeneratorSuggestion
  2349  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2350  }
  2351  
  2352  // GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse: Represents
  2353  // response from generators.
  2354  type GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse struct {
  2355  	// GeneratorSuggestion: The suggestion generated from the Generator.
  2356  	GeneratorSuggestion *GoogleCloudContactcenterinsightsV1GeneratorSuggestion `json:"generatorSuggestion,omitempty"`
  2357  	// ForceSendFields is a list of field names (e.g. "GeneratorSuggestion") to
  2358  	// unconditionally include in API requests. By default, fields with empty or
  2359  	// default values are omitted from API requests. See
  2360  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2361  	// details.
  2362  	ForceSendFields []string `json:"-"`
  2363  	// NullFields is a list of field names (e.g. "GeneratorSuggestion") to include
  2364  	// in API requests with the JSON null value. By default, fields with empty
  2365  	// values are omitted from API requests. See
  2366  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2367  	NullFields []string `json:"-"`
  2368  }
  2369  
  2370  func (s *GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse) MarshalJSON() ([]byte, error) {
  2371  	type NoMethod GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse
  2372  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2373  }
  2374  
  2375  // GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse: Response for
  2376  // Knowledge Assist. Contains suggested query and optionally includes an answer
  2377  // for the query.
  2378  type GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse struct {
  2379  	// SuggestedQuery: The query suggested based on the context. Suggestion is made
  2380  	// only if it is different from the previous suggestion.
  2381  	SuggestedQuery *GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery `json:"suggestedQuery,omitempty"`
  2382  	// SuggestedQueryAnswer: The answer generated for the suggested query. Whether
  2383  	// or not an answer is generated depends on how confident we are about the
  2384  	// generated query.
  2385  	SuggestedQueryAnswer *GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer `json:"suggestedQueryAnswer,omitempty"`
  2386  	// ForceSendFields is a list of field names (e.g. "SuggestedQuery") to
  2387  	// unconditionally include in API requests. By default, fields with empty or
  2388  	// default values are omitted from API requests. See
  2389  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2390  	// details.
  2391  	ForceSendFields []string `json:"-"`
  2392  	// NullFields is a list of field names (e.g. "SuggestedQuery") to include in
  2393  	// API requests with the JSON null value. By default, fields with empty values
  2394  	// are omitted from API requests. See
  2395  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2396  	NullFields []string `json:"-"`
  2397  }
  2398  
  2399  func (s *GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse) MarshalJSON() ([]byte, error) {
  2400  	type NoMethod GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse
  2401  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2402  }
  2403  
  2404  // GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer:
  2405  // Represents an answer from Knowledge. Cuurently supports FAQ and Generative
  2406  // answers.
  2407  type GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer struct {
  2408  	// AnswerText: The piece of text from the `source` that answers this suggested
  2409  	// query.
  2410  	AnswerText string `json:"answerText,omitempty"`
  2411  	// FaqSource: Populated if the prediction came from FAQ.
  2412  	FaqSource *GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource `json:"faqSource,omitempty"`
  2413  	// GenerativeSource: Populated if the prediction was Generative.
  2414  	GenerativeSource *GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource `json:"generativeSource,omitempty"`
  2415  	// IntentMatchingSource: Populated if the prediction was from intent matching.
  2416  	IntentMatchingSource *GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource `json:"intentMatchingSource,omitempty"`
  2417  	// MatchConfidence: The system's confidence score that this answer is a good
  2418  	// match for this conversational query. The range is from 0.0 (completely
  2419  	// uncertain) to 1.0 (completely certain).
  2420  	MatchConfidence float64 `json:"matchConfidence,omitempty"`
  2421  	// ForceSendFields is a list of field names (e.g. "AnswerText") to
  2422  	// unconditionally include in API requests. By default, fields with empty or
  2423  	// default values are omitted from API requests. See
  2424  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2425  	// details.
  2426  	ForceSendFields []string `json:"-"`
  2427  	// NullFields is a list of field names (e.g. "AnswerText") to include in API
  2428  	// requests with the JSON null value. By default, fields with empty values are
  2429  	// omitted from API requests. See
  2430  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2431  	NullFields []string `json:"-"`
  2432  }
  2433  
  2434  func (s *GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer) MarshalJSON() ([]byte, error) {
  2435  	type NoMethod GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer
  2436  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2437  }
  2438  
  2439  func (s *GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer) UnmarshalJSON(data []byte) error {
  2440  	type NoMethod GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswer
  2441  	var s1 struct {
  2442  		MatchConfidence gensupport.JSONFloat64 `json:"matchConfidence"`
  2443  		*NoMethod
  2444  	}
  2445  	s1.NoMethod = (*NoMethod)(s)
  2446  	if err := json.Unmarshal(data, &s1); err != nil {
  2447  		return err
  2448  	}
  2449  	s.MatchConfidence = float64(s1.MatchConfidence)
  2450  	return nil
  2451  }
  2452  
  2453  // GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFa
  2454  // qSource: Details about source of FAQ answer.
  2455  type GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource struct {
  2456  	// Document: Indicates which Knowledge Document this answer was extracted from.
  2457  	// Format: `projects//knowledgeBases//documents/`.
  2458  	Document string `json:"document,omitempty"`
  2459  	// Question: The corresponding FAQ question.
  2460  	Question string `json:"question,omitempty"`
  2461  	// ForceSendFields is a list of field names (e.g. "Document") to
  2462  	// unconditionally include in API requests. By default, fields with empty or
  2463  	// default values are omitted from API requests. See
  2464  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2465  	// details.
  2466  	ForceSendFields []string `json:"-"`
  2467  	// NullFields is a list of field names (e.g. "Document") to include in API
  2468  	// requests with the JSON null value. By default, fields with empty values are
  2469  	// omitted from API requests. See
  2470  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2471  	NullFields []string `json:"-"`
  2472  }
  2473  
  2474  func (s *GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource) MarshalJSON() ([]byte, error) {
  2475  	type NoMethod GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource
  2476  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2477  }
  2478  
  2479  // GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGe
  2480  // nerativeSource: Details about source of Generative answer.
  2481  type GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource struct {
  2482  	// Snippets: All snippets used for this Generative Prediction, with their
  2483  	// source URI and data.
  2484  	Snippets []*GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet `json:"snippets,omitempty"`
  2485  	// ForceSendFields is a list of field names (e.g. "Snippets") to
  2486  	// unconditionally include in API requests. By default, fields with empty or
  2487  	// default values are omitted from API requests. See
  2488  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2489  	// details.
  2490  	ForceSendFields []string `json:"-"`
  2491  	// NullFields is a list of field names (e.g. "Snippets") to include in API
  2492  	// requests with the JSON null value. By default, fields with empty values are
  2493  	// omitted from API requests. See
  2494  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2495  	NullFields []string `json:"-"`
  2496  }
  2497  
  2498  func (s *GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource) MarshalJSON() ([]byte, error) {
  2499  	type NoMethod GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource
  2500  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2501  }
  2502  
  2503  // GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGe
  2504  // nerativeSourceSnippet: Snippet Source for a Generative Prediction.
  2505  type GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet struct {
  2506  	// Document: Indicates which Knowledge Document this snippet was extracted
  2507  	// from. Format: `projects//knowledgeBases//documents/`.
  2508  	Document string `json:"document,omitempty"`
  2509  	// Text: text taken from that URI.
  2510  	Text string `json:"text,omitempty"`
  2511  	// Title: Title of the document.
  2512  	Title string `json:"title,omitempty"`
  2513  	// Uri: URI the data is sourced from.
  2514  	Uri string `json:"uri,omitempty"`
  2515  	// ForceSendFields is a list of field names (e.g. "Document") to
  2516  	// unconditionally include in API requests. By default, fields with empty or
  2517  	// default values are omitted from API requests. See
  2518  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2519  	// details.
  2520  	ForceSendFields []string `json:"-"`
  2521  	// NullFields is a list of field names (e.g. "Document") to include in API
  2522  	// requests with the JSON null value. By default, fields with empty values are
  2523  	// omitted from API requests. See
  2524  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2525  	NullFields []string `json:"-"`
  2526  }
  2527  
  2528  func (s *GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet) MarshalJSON() ([]byte, error) {
  2529  	type NoMethod GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet
  2530  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2531  }
  2532  
  2533  // GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIn
  2534  // tentMatchingSource: Details about source of Intent Matching answer.
  2535  type GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource struct {
  2536  	// Title: Title of the document.
  2537  	Title string `json:"title,omitempty"`
  2538  	// Uri: URI the data is sourced from.
  2539  	Uri string `json:"uri,omitempty"`
  2540  	// ForceSendFields is a list of field names (e.g. "Title") to unconditionally
  2541  	// include in API requests. By default, fields with empty or default values are
  2542  	// omitted from API requests. See
  2543  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2544  	// details.
  2545  	ForceSendFields []string `json:"-"`
  2546  	// NullFields is a list of field names (e.g. "Title") to include in API
  2547  	// requests with the JSON null value. By default, fields with empty values are
  2548  	// omitted from API requests. See
  2549  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2550  	NullFields []string `json:"-"`
  2551  }
  2552  
  2553  func (s *GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource) MarshalJSON() ([]byte, error) {
  2554  	type NoMethod GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource
  2555  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2556  }
  2557  
  2558  // GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery:
  2559  // Represents a suggested query.
  2560  type GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery struct {
  2561  	// QueryText: Suggested query text.
  2562  	QueryText string `json:"queryText,omitempty"`
  2563  	// Score: Suggested query score.
  2564  	Score float64 `json:"score,omitempty"`
  2565  	// ForceSendFields is a list of field names (e.g. "QueryText") to
  2566  	// unconditionally include in API requests. By default, fields with empty or
  2567  	// default values are omitted from API requests. See
  2568  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2569  	// details.
  2570  	ForceSendFields []string `json:"-"`
  2571  	// NullFields is a list of field names (e.g. "QueryText") to include in API
  2572  	// requests with the JSON null value. By default, fields with empty values are
  2573  	// omitted from API requests. See
  2574  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2575  	NullFields []string `json:"-"`
  2576  }
  2577  
  2578  func (s *GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery) MarshalJSON() ([]byte, error) {
  2579  	type NoMethod GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery
  2580  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2581  }
  2582  
  2583  func (s *GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery) UnmarshalJSON(data []byte) error {
  2584  	type NoMethod GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseSuggestedQuery
  2585  	var s1 struct {
  2586  		Score gensupport.JSONFloat64 `json:"score"`
  2587  		*NoMethod
  2588  	}
  2589  	s1.NoMethod = (*NoMethod)(s)
  2590  	if err := json.Unmarshal(data, &s1); err != nil {
  2591  		return err
  2592  	}
  2593  	s.Score = float64(s1.Score)
  2594  	return nil
  2595  }
  2596  
  2597  // GoogleCloudContactcenterinsightsV1HoldData: The data for a hold annotation.
  2598  type GoogleCloudContactcenterinsightsV1HoldData struct {
  2599  }
  2600  
  2601  // GoogleCloudContactcenterinsightsV1ImportIssueModelMetadata: Metadata used
  2602  // for import issue model.
  2603  type GoogleCloudContactcenterinsightsV1ImportIssueModelMetadata struct {
  2604  	// CreateTime: The time the operation was created.
  2605  	CreateTime string `json:"createTime,omitempty"`
  2606  	// EndTime: The time the operation finished running.
  2607  	EndTime string `json:"endTime,omitempty"`
  2608  	// Request: The original import request.
  2609  	Request *GoogleCloudContactcenterinsightsV1ImportIssueModelRequest `json:"request,omitempty"`
  2610  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  2611  	// unconditionally include in API requests. By default, fields with empty or
  2612  	// default values are omitted from API requests. See
  2613  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2614  	// details.
  2615  	ForceSendFields []string `json:"-"`
  2616  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  2617  	// requests with the JSON null value. By default, fields with empty values are
  2618  	// omitted from API requests. See
  2619  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2620  	NullFields []string `json:"-"`
  2621  }
  2622  
  2623  func (s *GoogleCloudContactcenterinsightsV1ImportIssueModelMetadata) MarshalJSON() ([]byte, error) {
  2624  	type NoMethod GoogleCloudContactcenterinsightsV1ImportIssueModelMetadata
  2625  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2626  }
  2627  
  2628  // GoogleCloudContactcenterinsightsV1ImportIssueModelRequest: Request to import
  2629  // an issue model.
  2630  type GoogleCloudContactcenterinsightsV1ImportIssueModelRequest struct {
  2631  	// CreateNewModel: Optional. If set to true, will create a new issue model from
  2632  	// the imported file with randomly generated IDs for the issue model and
  2633  	// corresponding issues. Otherwise, replaces an existing model with the same ID
  2634  	// as the file.
  2635  	CreateNewModel bool `json:"createNewModel,omitempty"`
  2636  	// GcsSource: Google Cloud Storage source message.
  2637  	GcsSource *GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource `json:"gcsSource,omitempty"`
  2638  	// Parent: Required. The parent resource of the issue model.
  2639  	Parent string `json:"parent,omitempty"`
  2640  	// ForceSendFields is a list of field names (e.g. "CreateNewModel") to
  2641  	// unconditionally include in API requests. By default, fields with empty or
  2642  	// default values are omitted from API requests. See
  2643  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2644  	// details.
  2645  	ForceSendFields []string `json:"-"`
  2646  	// NullFields is a list of field names (e.g. "CreateNewModel") to include in
  2647  	// API requests with the JSON null value. By default, fields with empty values
  2648  	// are omitted from API requests. See
  2649  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2650  	NullFields []string `json:"-"`
  2651  }
  2652  
  2653  func (s *GoogleCloudContactcenterinsightsV1ImportIssueModelRequest) MarshalJSON() ([]byte, error) {
  2654  	type NoMethod GoogleCloudContactcenterinsightsV1ImportIssueModelRequest
  2655  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2656  }
  2657  
  2658  // GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource: Google
  2659  // Cloud Storage Object URI to get the issue model file from.
  2660  type GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource struct {
  2661  	// ObjectUri: Required. Format: `gs:///`
  2662  	ObjectUri string `json:"objectUri,omitempty"`
  2663  	// ForceSendFields is a list of field names (e.g. "ObjectUri") to
  2664  	// unconditionally include in API requests. By default, fields with empty or
  2665  	// default values are omitted from API requests. See
  2666  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2667  	// details.
  2668  	ForceSendFields []string `json:"-"`
  2669  	// NullFields is a list of field names (e.g. "ObjectUri") to include in API
  2670  	// requests with the JSON null value. By default, fields with empty values are
  2671  	// omitted from API requests. See
  2672  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2673  	NullFields []string `json:"-"`
  2674  }
  2675  
  2676  func (s *GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource) MarshalJSON() ([]byte, error) {
  2677  	type NoMethod GoogleCloudContactcenterinsightsV1ImportIssueModelRequestGcsSource
  2678  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2679  }
  2680  
  2681  // GoogleCloudContactcenterinsightsV1ImportIssueModelResponse: Response from
  2682  // import issue model
  2683  type GoogleCloudContactcenterinsightsV1ImportIssueModelResponse struct {
  2684  }
  2685  
  2686  // GoogleCloudContactcenterinsightsV1IngestConversationsMetadata: The metadata
  2687  // for an IngestConversations operation.
  2688  type GoogleCloudContactcenterinsightsV1IngestConversationsMetadata struct {
  2689  	// CreateTime: Output only. The time the operation was created.
  2690  	CreateTime string `json:"createTime,omitempty"`
  2691  	// EndTime: Output only. The time the operation finished running.
  2692  	EndTime string `json:"endTime,omitempty"`
  2693  	// IngestConversationsStats: Output only. Statistics for IngestConversations
  2694  	// operation.
  2695  	IngestConversationsStats *GoogleCloudContactcenterinsightsV1IngestConversationsMetadataIngestConversationsStats `json:"ingestConversationsStats,omitempty"`
  2696  	// PartialErrors: Output only. Partial errors during ingest operation that
  2697  	// might cause the operation output to be incomplete.
  2698  	PartialErrors []*GoogleRpcStatus `json:"partialErrors,omitempty"`
  2699  	// Request: Output only. The original request for ingest.
  2700  	Request *GoogleCloudContactcenterinsightsV1IngestConversationsRequest `json:"request,omitempty"`
  2701  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  2702  	// unconditionally include in API requests. By default, fields with empty or
  2703  	// default values are omitted from API requests. See
  2704  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2705  	// details.
  2706  	ForceSendFields []string `json:"-"`
  2707  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  2708  	// requests with the JSON null value. By default, fields with empty values are
  2709  	// omitted from API requests. See
  2710  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2711  	NullFields []string `json:"-"`
  2712  }
  2713  
  2714  func (s *GoogleCloudContactcenterinsightsV1IngestConversationsMetadata) MarshalJSON() ([]byte, error) {
  2715  	type NoMethod GoogleCloudContactcenterinsightsV1IngestConversationsMetadata
  2716  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2717  }
  2718  
  2719  // GoogleCloudContactcenterinsightsV1IngestConversationsMetadataIngestConversati
  2720  // onsStats: Statistics for IngestConversations operation.
  2721  type GoogleCloudContactcenterinsightsV1IngestConversationsMetadataIngestConversationsStats struct {
  2722  	// DuplicatesSkippedCount: Output only. The number of objects skipped because
  2723  	// another conversation with the same transcript uri had already been ingested.
  2724  	DuplicatesSkippedCount int64 `json:"duplicatesSkippedCount,omitempty"`
  2725  	// FailedIngestCount: Output only. The number of objects which were unable to
  2726  	// be ingested due to errors. The errors are populated in the partial_errors
  2727  	// field.
  2728  	FailedIngestCount int64 `json:"failedIngestCount,omitempty"`
  2729  	// ProcessedObjectCount: Output only. The number of objects processed during
  2730  	// the ingest operation.
  2731  	ProcessedObjectCount int64 `json:"processedObjectCount,omitempty"`
  2732  	// SuccessfulIngestCount: Output only. The number of new conversations added
  2733  	// during this ingest operation.
  2734  	SuccessfulIngestCount int64 `json:"successfulIngestCount,omitempty"`
  2735  	// ForceSendFields is a list of field names (e.g. "DuplicatesSkippedCount") to
  2736  	// unconditionally include in API requests. By default, fields with empty or
  2737  	// default values are omitted from API requests. See
  2738  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2739  	// details.
  2740  	ForceSendFields []string `json:"-"`
  2741  	// NullFields is a list of field names (e.g. "DuplicatesSkippedCount") to
  2742  	// include in API requests with the JSON null value. By default, fields with
  2743  	// empty values are omitted from API requests. See
  2744  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2745  	NullFields []string `json:"-"`
  2746  }
  2747  
  2748  func (s *GoogleCloudContactcenterinsightsV1IngestConversationsMetadataIngestConversationsStats) MarshalJSON() ([]byte, error) {
  2749  	type NoMethod GoogleCloudContactcenterinsightsV1IngestConversationsMetadataIngestConversationsStats
  2750  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2751  }
  2752  
  2753  // GoogleCloudContactcenterinsightsV1IngestConversationsRequest: The request to
  2754  // ingest conversations.
  2755  type GoogleCloudContactcenterinsightsV1IngestConversationsRequest struct {
  2756  	// ConversationConfig: Configuration that applies to all conversations.
  2757  	ConversationConfig *GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig `json:"conversationConfig,omitempty"`
  2758  	// GcsSource: A cloud storage bucket source. Note that any previously ingested
  2759  	// objects from the source will be skipped to avoid duplication.
  2760  	GcsSource *GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource `json:"gcsSource,omitempty"`
  2761  	// Parent: Required. The parent resource for new conversations.
  2762  	Parent string `json:"parent,omitempty"`
  2763  	// RedactionConfig: Optional. DLP settings for transcript redaction. Optional,
  2764  	// will default to the config specified in Settings.
  2765  	RedactionConfig *GoogleCloudContactcenterinsightsV1RedactionConfig `json:"redactionConfig,omitempty"`
  2766  	// SampleSize: Optional. If set, this fields indicates the number of objects to
  2767  	// ingest from the Cloud Storage bucket. If empty, the entire bucket will be
  2768  	// ingested. Note that conversations produced via sampling will not be ingested
  2769  	// by subsequent ingest requests unless they are first deleted.
  2770  	SampleSize int64 `json:"sampleSize,omitempty"`
  2771  	// SpeechConfig: Optional. Default Speech-to-Text configuration. Optional, will
  2772  	// default to the config specified in Settings.
  2773  	SpeechConfig *GoogleCloudContactcenterinsightsV1SpeechConfig `json:"speechConfig,omitempty"`
  2774  	// TranscriptObjectConfig: Configuration for when `source` contains
  2775  	// conversation transcripts.
  2776  	TranscriptObjectConfig *GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig `json:"transcriptObjectConfig,omitempty"`
  2777  	// ForceSendFields is a list of field names (e.g. "ConversationConfig") to
  2778  	// unconditionally include in API requests. By default, fields with empty or
  2779  	// default values are omitted from API requests. See
  2780  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2781  	// details.
  2782  	ForceSendFields []string `json:"-"`
  2783  	// NullFields is a list of field names (e.g. "ConversationConfig") to include
  2784  	// in API requests with the JSON null value. By default, fields with empty
  2785  	// values are omitted from API requests. See
  2786  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2787  	NullFields []string `json:"-"`
  2788  }
  2789  
  2790  func (s *GoogleCloudContactcenterinsightsV1IngestConversationsRequest) MarshalJSON() ([]byte, error) {
  2791  	type NoMethod GoogleCloudContactcenterinsightsV1IngestConversationsRequest
  2792  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2793  }
  2794  
  2795  // GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfi
  2796  // g: Configuration that applies to all conversations.
  2797  type GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig struct {
  2798  	// AgentChannel: Optional. Indicates which of the channels, 1 or 2, contains
  2799  	// the agent. Note that this must be set for conversations to be properly
  2800  	// displayed and analyzed.
  2801  	AgentChannel int64 `json:"agentChannel,omitempty"`
  2802  	// AgentId: Optional. An opaque, user-specified string representing a human
  2803  	// agent who handled all conversations in the import. Note that this will be
  2804  	// overridden if per-conversation metadata is provided via the
  2805  	// `metadata_bucket_uri`.
  2806  	AgentId string `json:"agentId,omitempty"`
  2807  	// CustomerChannel: Optional. Indicates which of the channels, 1 or 2, contains
  2808  	// the agent. Note that this must be set for conversations to be properly
  2809  	// displayed and analyzed.
  2810  	CustomerChannel int64 `json:"customerChannel,omitempty"`
  2811  	// ForceSendFields is a list of field names (e.g. "AgentChannel") to
  2812  	// unconditionally include in API requests. By default, fields with empty or
  2813  	// default values are omitted from API requests. See
  2814  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2815  	// details.
  2816  	ForceSendFields []string `json:"-"`
  2817  	// NullFields is a list of field names (e.g. "AgentChannel") to include in API
  2818  	// requests with the JSON null value. By default, fields with empty values are
  2819  	// omitted from API requests. See
  2820  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2821  	NullFields []string `json:"-"`
  2822  }
  2823  
  2824  func (s *GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig) MarshalJSON() ([]byte, error) {
  2825  	type NoMethod GoogleCloudContactcenterinsightsV1IngestConversationsRequestConversationConfig
  2826  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2827  }
  2828  
  2829  // GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource:
  2830  // Configuration for Cloud Storage bucket sources.
  2831  type GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource struct {
  2832  	// BucketObjectType: Optional. Specifies the type of the objects in
  2833  	// `bucket_uri`.
  2834  	//
  2835  	// Possible values:
  2836  	//   "BUCKET_OBJECT_TYPE_UNSPECIFIED" - The object type is unspecified and will
  2837  	// default to `TRANSCRIPT`.
  2838  	//   "TRANSCRIPT" - The object is a transcript.
  2839  	//   "AUDIO" - The object is an audio file.
  2840  	BucketObjectType string `json:"bucketObjectType,omitempty"`
  2841  	// BucketUri: Required. The Cloud Storage bucket containing source objects.
  2842  	BucketUri string `json:"bucketUri,omitempty"`
  2843  	// CustomMetadataKeys: Optional. Custom keys to extract as conversation labels
  2844  	// from metadata files in `metadata_bucket_uri`. Keys not included in this
  2845  	// field will be ignored. Note that there is a limit of 20 labels per
  2846  	// conversation.
  2847  	CustomMetadataKeys []string `json:"customMetadataKeys,omitempty"`
  2848  	// MetadataBucketUri: Optional. The Cloud Storage path to the source object
  2849  	// metadata. Note that: [1] metadata files are expected to be in JSON format
  2850  	// [2] metadata and source objects must be in separate buckets [3] a source
  2851  	// object's metadata object must share the same name to be properly ingested
  2852  	MetadataBucketUri string `json:"metadataBucketUri,omitempty"`
  2853  	// ForceSendFields is a list of field names (e.g. "BucketObjectType") to
  2854  	// unconditionally include in API requests. By default, fields with empty or
  2855  	// default values are omitted from API requests. See
  2856  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2857  	// details.
  2858  	ForceSendFields []string `json:"-"`
  2859  	// NullFields is a list of field names (e.g. "BucketObjectType") to include in
  2860  	// API requests with the JSON null value. By default, fields with empty values
  2861  	// are omitted from API requests. See
  2862  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2863  	NullFields []string `json:"-"`
  2864  }
  2865  
  2866  func (s *GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource) MarshalJSON() ([]byte, error) {
  2867  	type NoMethod GoogleCloudContactcenterinsightsV1IngestConversationsRequestGcsSource
  2868  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2869  }
  2870  
  2871  // GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectC
  2872  // onfig: Configuration for processing transcript objects.
  2873  type GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig struct {
  2874  	// Medium: Required. The medium transcript objects represent.
  2875  	//
  2876  	// Possible values:
  2877  	//   "MEDIUM_UNSPECIFIED" - Default value, if unspecified will default to
  2878  	// PHONE_CALL.
  2879  	//   "PHONE_CALL" - The format for conversations that took place over the
  2880  	// phone.
  2881  	//   "CHAT" - The format for conversations that took place over chat.
  2882  	Medium string `json:"medium,omitempty"`
  2883  	// ForceSendFields is a list of field names (e.g. "Medium") to unconditionally
  2884  	// include in API requests. By default, fields with empty or default values are
  2885  	// omitted from API requests. See
  2886  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2887  	// details.
  2888  	ForceSendFields []string `json:"-"`
  2889  	// NullFields is a list of field names (e.g. "Medium") to include in API
  2890  	// requests with the JSON null value. By default, fields with empty values are
  2891  	// omitted from API requests. See
  2892  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2893  	NullFields []string `json:"-"`
  2894  }
  2895  
  2896  func (s *GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig) MarshalJSON() ([]byte, error) {
  2897  	type NoMethod GoogleCloudContactcenterinsightsV1IngestConversationsRequestTranscriptObjectConfig
  2898  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2899  }
  2900  
  2901  // GoogleCloudContactcenterinsightsV1IngestConversationsResponse: The response
  2902  // to an IngestConversations operation.
  2903  type GoogleCloudContactcenterinsightsV1IngestConversationsResponse struct {
  2904  }
  2905  
  2906  // GoogleCloudContactcenterinsightsV1Intent: The data for an intent. Represents
  2907  // a detected intent in the conversation, for example MAKES_PROMISE.
  2908  type GoogleCloudContactcenterinsightsV1Intent struct {
  2909  	// DisplayName: The human-readable name of the intent.
  2910  	DisplayName string `json:"displayName,omitempty"`
  2911  	// Id: The unique identifier of the intent.
  2912  	Id string `json:"id,omitempty"`
  2913  	// ForceSendFields is a list of field names (e.g. "DisplayName") to
  2914  	// unconditionally include in API requests. By default, fields with empty or
  2915  	// default values are omitted from API requests. See
  2916  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2917  	// details.
  2918  	ForceSendFields []string `json:"-"`
  2919  	// NullFields is a list of field names (e.g. "DisplayName") to include in API
  2920  	// requests with the JSON null value. By default, fields with empty values are
  2921  	// omitted from API requests. See
  2922  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2923  	NullFields []string `json:"-"`
  2924  }
  2925  
  2926  func (s *GoogleCloudContactcenterinsightsV1Intent) MarshalJSON() ([]byte, error) {
  2927  	type NoMethod GoogleCloudContactcenterinsightsV1Intent
  2928  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2929  }
  2930  
  2931  // GoogleCloudContactcenterinsightsV1IntentMatchData: The data for an intent
  2932  // match. Represents an intent match for a text segment in the conversation. A
  2933  // text segment can be part of a sentence, a complete sentence, or an utterance
  2934  // with multiple sentences.
  2935  type GoogleCloudContactcenterinsightsV1IntentMatchData struct {
  2936  	// IntentUniqueId: The id of the matched intent. Can be used to retrieve the
  2937  	// corresponding intent information.
  2938  	IntentUniqueId string `json:"intentUniqueId,omitempty"`
  2939  	// ForceSendFields is a list of field names (e.g. "IntentUniqueId") to
  2940  	// unconditionally include in API requests. By default, fields with empty or
  2941  	// default values are omitted from API requests. See
  2942  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2943  	// details.
  2944  	ForceSendFields []string `json:"-"`
  2945  	// NullFields is a list of field names (e.g. "IntentUniqueId") to include in
  2946  	// API requests with the JSON null value. By default, fields with empty values
  2947  	// are omitted from API requests. See
  2948  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2949  	NullFields []string `json:"-"`
  2950  }
  2951  
  2952  func (s *GoogleCloudContactcenterinsightsV1IntentMatchData) MarshalJSON() ([]byte, error) {
  2953  	type NoMethod GoogleCloudContactcenterinsightsV1IntentMatchData
  2954  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2955  }
  2956  
  2957  // GoogleCloudContactcenterinsightsV1InterruptionData: The data for an
  2958  // interruption annotation.
  2959  type GoogleCloudContactcenterinsightsV1InterruptionData struct {
  2960  }
  2961  
  2962  // GoogleCloudContactcenterinsightsV1Issue: The issue resource.
  2963  type GoogleCloudContactcenterinsightsV1Issue struct {
  2964  	// CreateTime: Output only. The time at which this issue was created.
  2965  	CreateTime string `json:"createTime,omitempty"`
  2966  	// DisplayName: The representative name for the issue.
  2967  	DisplayName string `json:"displayName,omitempty"`
  2968  	// Name: Immutable. The resource name of the issue. Format:
  2969  	// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{iss
  2970  	// ue}
  2971  	Name string `json:"name,omitempty"`
  2972  	// SampleUtterances: Output only. Resource names of the sample representative
  2973  	// utterances that match to this issue.
  2974  	SampleUtterances []string `json:"sampleUtterances,omitempty"`
  2975  	// UpdateTime: Output only. The most recent time that this issue was updated.
  2976  	UpdateTime string `json:"updateTime,omitempty"`
  2977  
  2978  	// ServerResponse contains the HTTP response code and headers from the server.
  2979  	googleapi.ServerResponse `json:"-"`
  2980  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  2981  	// unconditionally include in API requests. By default, fields with empty or
  2982  	// default values are omitted from API requests. See
  2983  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2984  	// details.
  2985  	ForceSendFields []string `json:"-"`
  2986  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  2987  	// requests with the JSON null value. By default, fields with empty values are
  2988  	// omitted from API requests. See
  2989  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2990  	NullFields []string `json:"-"`
  2991  }
  2992  
  2993  func (s *GoogleCloudContactcenterinsightsV1Issue) MarshalJSON() ([]byte, error) {
  2994  	type NoMethod GoogleCloudContactcenterinsightsV1Issue
  2995  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2996  }
  2997  
  2998  // GoogleCloudContactcenterinsightsV1IssueAssignment: Information about the
  2999  // issue.
  3000  type GoogleCloudContactcenterinsightsV1IssueAssignment struct {
  3001  	// DisplayName: Immutable. Display name of the assigned issue. This field is
  3002  	// set at time of analyis and immutable since then.
  3003  	DisplayName string `json:"displayName,omitempty"`
  3004  	// Issue: Resource name of the assigned issue.
  3005  	Issue string `json:"issue,omitempty"`
  3006  	// Score: Score indicating the likelihood of the issue assignment. currently
  3007  	// bounded on [0,1].
  3008  	Score float64 `json:"score,omitempty"`
  3009  	// ForceSendFields is a list of field names (e.g. "DisplayName") to
  3010  	// unconditionally include in API requests. By default, fields with empty or
  3011  	// default values are omitted from API requests. See
  3012  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3013  	// details.
  3014  	ForceSendFields []string `json:"-"`
  3015  	// NullFields is a list of field names (e.g. "DisplayName") to include in API
  3016  	// requests with the JSON null value. By default, fields with empty values are
  3017  	// omitted from API requests. See
  3018  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3019  	NullFields []string `json:"-"`
  3020  }
  3021  
  3022  func (s *GoogleCloudContactcenterinsightsV1IssueAssignment) MarshalJSON() ([]byte, error) {
  3023  	type NoMethod GoogleCloudContactcenterinsightsV1IssueAssignment
  3024  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3025  }
  3026  
  3027  func (s *GoogleCloudContactcenterinsightsV1IssueAssignment) UnmarshalJSON(data []byte) error {
  3028  	type NoMethod GoogleCloudContactcenterinsightsV1IssueAssignment
  3029  	var s1 struct {
  3030  		Score gensupport.JSONFloat64 `json:"score"`
  3031  		*NoMethod
  3032  	}
  3033  	s1.NoMethod = (*NoMethod)(s)
  3034  	if err := json.Unmarshal(data, &s1); err != nil {
  3035  		return err
  3036  	}
  3037  	s.Score = float64(s1.Score)
  3038  	return nil
  3039  }
  3040  
  3041  // GoogleCloudContactcenterinsightsV1IssueMatchData: The data for an issue
  3042  // match annotation.
  3043  type GoogleCloudContactcenterinsightsV1IssueMatchData struct {
  3044  	// IssueAssignment: Information about the issue's assignment.
  3045  	IssueAssignment *GoogleCloudContactcenterinsightsV1IssueAssignment `json:"issueAssignment,omitempty"`
  3046  	// ForceSendFields is a list of field names (e.g. "IssueAssignment") to
  3047  	// unconditionally include in API requests. By default, fields with empty or
  3048  	// default values are omitted from API requests. See
  3049  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3050  	// details.
  3051  	ForceSendFields []string `json:"-"`
  3052  	// NullFields is a list of field names (e.g. "IssueAssignment") to include in
  3053  	// API requests with the JSON null value. By default, fields with empty values
  3054  	// are omitted from API requests. See
  3055  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3056  	NullFields []string `json:"-"`
  3057  }
  3058  
  3059  func (s *GoogleCloudContactcenterinsightsV1IssueMatchData) MarshalJSON() ([]byte, error) {
  3060  	type NoMethod GoogleCloudContactcenterinsightsV1IssueMatchData
  3061  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3062  }
  3063  
  3064  // GoogleCloudContactcenterinsightsV1IssueModel: The issue model resource.
  3065  type GoogleCloudContactcenterinsightsV1IssueModel struct {
  3066  	// CreateTime: Output only. The time at which this issue model was created.
  3067  	CreateTime string `json:"createTime,omitempty"`
  3068  	// DisplayName: The representative name for the issue model.
  3069  	DisplayName string `json:"displayName,omitempty"`
  3070  	// InputDataConfig: Configs for the input data that used to create the issue
  3071  	// model.
  3072  	InputDataConfig *GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig `json:"inputDataConfig,omitempty"`
  3073  	// IssueCount: Output only. Number of issues in this issue model.
  3074  	IssueCount int64 `json:"issueCount,omitempty,string"`
  3075  	// LanguageCode: Language of the model.
  3076  	LanguageCode string `json:"languageCode,omitempty"`
  3077  	// ModelType: Type of the model.
  3078  	//
  3079  	// Possible values:
  3080  	//   "MODEL_TYPE_UNSPECIFIED" - Unspecified model type.
  3081  	//   "TYPE_V1" - Type V1.
  3082  	//   "TYPE_V2" - Type V2.
  3083  	ModelType string `json:"modelType,omitempty"`
  3084  	// Name: Immutable. The resource name of the issue model. Format:
  3085  	// projects/{project}/locations/{location}/issueModels/{issue_model}
  3086  	Name string `json:"name,omitempty"`
  3087  	// State: Output only. State of the model.
  3088  	//
  3089  	// Possible values:
  3090  	//   "STATE_UNSPECIFIED" - Unspecified.
  3091  	//   "UNDEPLOYED" - Model is not deployed but is ready to deploy.
  3092  	//   "DEPLOYING" - Model is being deployed.
  3093  	//   "DEPLOYED" - Model is deployed and is ready to be used. A model can only
  3094  	// be used in analysis if it's in this state.
  3095  	//   "UNDEPLOYING" - Model is being undeployed.
  3096  	//   "DELETING" - Model is being deleted.
  3097  	State string `json:"state,omitempty"`
  3098  	// TrainingStats: Output only. Immutable. The issue model's label statistics on
  3099  	// its training data.
  3100  	TrainingStats *GoogleCloudContactcenterinsightsV1IssueModelLabelStats `json:"trainingStats,omitempty"`
  3101  	// UpdateTime: Output only. The most recent time at which the issue model was
  3102  	// updated.
  3103  	UpdateTime string `json:"updateTime,omitempty"`
  3104  
  3105  	// ServerResponse contains the HTTP response code and headers from the server.
  3106  	googleapi.ServerResponse `json:"-"`
  3107  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  3108  	// unconditionally include in API requests. By default, fields with empty or
  3109  	// default values are omitted from API requests. See
  3110  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3111  	// details.
  3112  	ForceSendFields []string `json:"-"`
  3113  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  3114  	// requests with the JSON null value. By default, fields with empty values are
  3115  	// omitted from API requests. See
  3116  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3117  	NullFields []string `json:"-"`
  3118  }
  3119  
  3120  func (s *GoogleCloudContactcenterinsightsV1IssueModel) MarshalJSON() ([]byte, error) {
  3121  	type NoMethod GoogleCloudContactcenterinsightsV1IssueModel
  3122  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3123  }
  3124  
  3125  // GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig: Configs for the
  3126  // input data used to create the issue model.
  3127  type GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig struct {
  3128  	// Filter: A filter to reduce the conversations used for training the model to
  3129  	// a specific subset.
  3130  	Filter string `json:"filter,omitempty"`
  3131  	// Medium: Medium of conversations used in training data. This field is being
  3132  	// deprecated. To specify the medium to be used in training a new issue model,
  3133  	// set the `medium` field on `filter`.
  3134  	//
  3135  	// Possible values:
  3136  	//   "MEDIUM_UNSPECIFIED" - Default value, if unspecified will default to
  3137  	// PHONE_CALL.
  3138  	//   "PHONE_CALL" - The format for conversations that took place over the
  3139  	// phone.
  3140  	//   "CHAT" - The format for conversations that took place over chat.
  3141  	Medium string `json:"medium,omitempty"`
  3142  	// TrainingConversationsCount: Output only. Number of conversations used in
  3143  	// training. Output only.
  3144  	TrainingConversationsCount int64 `json:"trainingConversationsCount,omitempty,string"`
  3145  	// ForceSendFields is a list of field names (e.g. "Filter") to unconditionally
  3146  	// include in API requests. By default, fields with empty or default values are
  3147  	// omitted from API requests. See
  3148  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3149  	// details.
  3150  	ForceSendFields []string `json:"-"`
  3151  	// NullFields is a list of field names (e.g. "Filter") to include in API
  3152  	// requests with the JSON null value. By default, fields with empty values are
  3153  	// omitted from API requests. See
  3154  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3155  	NullFields []string `json:"-"`
  3156  }
  3157  
  3158  func (s *GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig) MarshalJSON() ([]byte, error) {
  3159  	type NoMethod GoogleCloudContactcenterinsightsV1IssueModelInputDataConfig
  3160  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3161  }
  3162  
  3163  // GoogleCloudContactcenterinsightsV1IssueModelLabelStats: Aggregated
  3164  // statistics about an issue model.
  3165  type GoogleCloudContactcenterinsightsV1IssueModelLabelStats struct {
  3166  	// AnalyzedConversationsCount: Number of conversations the issue model has
  3167  	// analyzed at this point in time.
  3168  	AnalyzedConversationsCount int64 `json:"analyzedConversationsCount,omitempty,string"`
  3169  	// IssueStats: Statistics on each issue. Key is the issue's resource name.
  3170  	IssueStats map[string]GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats `json:"issueStats,omitempty"`
  3171  	// UnclassifiedConversationsCount: Number of analyzed conversations for which
  3172  	// no issue was applicable at this point in time.
  3173  	UnclassifiedConversationsCount int64 `json:"unclassifiedConversationsCount,omitempty,string"`
  3174  	// ForceSendFields is a list of field names (e.g. "AnalyzedConversationsCount")
  3175  	// to unconditionally include in API requests. By default, fields with empty or
  3176  	// default values are omitted from API requests. See
  3177  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3178  	// details.
  3179  	ForceSendFields []string `json:"-"`
  3180  	// NullFields is a list of field names (e.g. "AnalyzedConversationsCount") to
  3181  	// include in API requests with the JSON null value. By default, fields with
  3182  	// empty values are omitted from API requests. See
  3183  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3184  	NullFields []string `json:"-"`
  3185  }
  3186  
  3187  func (s *GoogleCloudContactcenterinsightsV1IssueModelLabelStats) MarshalJSON() ([]byte, error) {
  3188  	type NoMethod GoogleCloudContactcenterinsightsV1IssueModelLabelStats
  3189  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3190  }
  3191  
  3192  // GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats: Aggregated
  3193  // statistics about an issue.
  3194  type GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats struct {
  3195  	// DisplayName: Display name of the issue.
  3196  	DisplayName string `json:"displayName,omitempty"`
  3197  	// Issue: Issue resource. Format:
  3198  	// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{iss
  3199  	// ue}
  3200  	Issue string `json:"issue,omitempty"`
  3201  	// LabeledConversationsCount: Number of conversations attached to the issue at
  3202  	// this point in time.
  3203  	LabeledConversationsCount int64 `json:"labeledConversationsCount,omitempty,string"`
  3204  	// ForceSendFields is a list of field names (e.g. "DisplayName") to
  3205  	// unconditionally include in API requests. By default, fields with empty or
  3206  	// default values are omitted from API requests. See
  3207  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3208  	// details.
  3209  	ForceSendFields []string `json:"-"`
  3210  	// NullFields is a list of field names (e.g. "DisplayName") to include in API
  3211  	// requests with the JSON null value. By default, fields with empty values are
  3212  	// omitted from API requests. See
  3213  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3214  	NullFields []string `json:"-"`
  3215  }
  3216  
  3217  func (s *GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats) MarshalJSON() ([]byte, error) {
  3218  	type NoMethod GoogleCloudContactcenterinsightsV1IssueModelLabelStatsIssueStats
  3219  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3220  }
  3221  
  3222  // GoogleCloudContactcenterinsightsV1IssueModelResult: Issue Modeling result on
  3223  // a conversation.
  3224  type GoogleCloudContactcenterinsightsV1IssueModelResult struct {
  3225  	// IssueModel: Issue model that generates the result. Format:
  3226  	// projects/{project}/locations/{location}/issueModels/{issue_model}
  3227  	IssueModel string `json:"issueModel,omitempty"`
  3228  	// Issues: All the matched issues.
  3229  	Issues []*GoogleCloudContactcenterinsightsV1IssueAssignment `json:"issues,omitempty"`
  3230  	// ForceSendFields is a list of field names (e.g. "IssueModel") to
  3231  	// unconditionally include in API requests. By default, fields with empty or
  3232  	// default values are omitted from API requests. See
  3233  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3234  	// details.
  3235  	ForceSendFields []string `json:"-"`
  3236  	// NullFields is a list of field names (e.g. "IssueModel") to include in API
  3237  	// requests with the JSON null value. By default, fields with empty values are
  3238  	// omitted from API requests. See
  3239  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3240  	NullFields []string `json:"-"`
  3241  }
  3242  
  3243  func (s *GoogleCloudContactcenterinsightsV1IssueModelResult) MarshalJSON() ([]byte, error) {
  3244  	type NoMethod GoogleCloudContactcenterinsightsV1IssueModelResult
  3245  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3246  }
  3247  
  3248  // GoogleCloudContactcenterinsightsV1ListAnalysesResponse: The response to list
  3249  // analyses.
  3250  type GoogleCloudContactcenterinsightsV1ListAnalysesResponse struct {
  3251  	// Analyses: The analyses that match the request.
  3252  	Analyses []*GoogleCloudContactcenterinsightsV1Analysis `json:"analyses,omitempty"`
  3253  	// NextPageToken: A token, which can be sent as `page_token` to retrieve the
  3254  	// next page. If this field is omitted, there are no subsequent pages.
  3255  	NextPageToken string `json:"nextPageToken,omitempty"`
  3256  
  3257  	// ServerResponse contains the HTTP response code and headers from the server.
  3258  	googleapi.ServerResponse `json:"-"`
  3259  	// ForceSendFields is a list of field names (e.g. "Analyses") to
  3260  	// unconditionally include in API requests. By default, fields with empty or
  3261  	// default values are omitted from API requests. See
  3262  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3263  	// details.
  3264  	ForceSendFields []string `json:"-"`
  3265  	// NullFields is a list of field names (e.g. "Analyses") to include in API
  3266  	// requests with the JSON null value. By default, fields with empty values are
  3267  	// omitted from API requests. See
  3268  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3269  	NullFields []string `json:"-"`
  3270  }
  3271  
  3272  func (s *GoogleCloudContactcenterinsightsV1ListAnalysesResponse) MarshalJSON() ([]byte, error) {
  3273  	type NoMethod GoogleCloudContactcenterinsightsV1ListAnalysesResponse
  3274  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3275  }
  3276  
  3277  // GoogleCloudContactcenterinsightsV1ListConversationsResponse: The response of
  3278  // listing conversations.
  3279  type GoogleCloudContactcenterinsightsV1ListConversationsResponse struct {
  3280  	// Conversations: The conversations that match the request.
  3281  	Conversations []*GoogleCloudContactcenterinsightsV1Conversation `json:"conversations,omitempty"`
  3282  	// NextPageToken: A token which can be sent as `page_token` to retrieve the
  3283  	// next page. If this field is set, it means there is another page available.
  3284  	// If it is not set, it means no other pages are available.
  3285  	NextPageToken string `json:"nextPageToken,omitempty"`
  3286  
  3287  	// ServerResponse contains the HTTP response code and headers from the server.
  3288  	googleapi.ServerResponse `json:"-"`
  3289  	// ForceSendFields is a list of field names (e.g. "Conversations") to
  3290  	// unconditionally include in API requests. By default, fields with empty or
  3291  	// default values are omitted from API requests. See
  3292  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3293  	// details.
  3294  	ForceSendFields []string `json:"-"`
  3295  	// NullFields is a list of field names (e.g. "Conversations") to include in API
  3296  	// requests with the JSON null value. By default, fields with empty values are
  3297  	// omitted from API requests. See
  3298  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3299  	NullFields []string `json:"-"`
  3300  }
  3301  
  3302  func (s *GoogleCloudContactcenterinsightsV1ListConversationsResponse) MarshalJSON() ([]byte, error) {
  3303  	type NoMethod GoogleCloudContactcenterinsightsV1ListConversationsResponse
  3304  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3305  }
  3306  
  3307  // GoogleCloudContactcenterinsightsV1ListIssueModelsResponse: The response of
  3308  // listing issue models.
  3309  type GoogleCloudContactcenterinsightsV1ListIssueModelsResponse struct {
  3310  	// IssueModels: The issue models that match the request.
  3311  	IssueModels []*GoogleCloudContactcenterinsightsV1IssueModel `json:"issueModels,omitempty"`
  3312  
  3313  	// ServerResponse contains the HTTP response code and headers from the server.
  3314  	googleapi.ServerResponse `json:"-"`
  3315  	// ForceSendFields is a list of field names (e.g. "IssueModels") to
  3316  	// unconditionally include in API requests. By default, fields with empty or
  3317  	// default values are omitted from API requests. See
  3318  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3319  	// details.
  3320  	ForceSendFields []string `json:"-"`
  3321  	// NullFields is a list of field names (e.g. "IssueModels") to include in API
  3322  	// requests with the JSON null value. By default, fields with empty values are
  3323  	// omitted from API requests. See
  3324  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3325  	NullFields []string `json:"-"`
  3326  }
  3327  
  3328  func (s *GoogleCloudContactcenterinsightsV1ListIssueModelsResponse) MarshalJSON() ([]byte, error) {
  3329  	type NoMethod GoogleCloudContactcenterinsightsV1ListIssueModelsResponse
  3330  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3331  }
  3332  
  3333  // GoogleCloudContactcenterinsightsV1ListIssuesResponse: The response of
  3334  // listing issues.
  3335  type GoogleCloudContactcenterinsightsV1ListIssuesResponse struct {
  3336  	// Issues: The issues that match the request.
  3337  	Issues []*GoogleCloudContactcenterinsightsV1Issue `json:"issues,omitempty"`
  3338  
  3339  	// ServerResponse contains the HTTP response code and headers from the server.
  3340  	googleapi.ServerResponse `json:"-"`
  3341  	// ForceSendFields is a list of field names (e.g. "Issues") to unconditionally
  3342  	// include in API requests. By default, fields with empty or default values are
  3343  	// omitted from API requests. See
  3344  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3345  	// details.
  3346  	ForceSendFields []string `json:"-"`
  3347  	// NullFields is a list of field names (e.g. "Issues") to include in API
  3348  	// requests with the JSON null value. By default, fields with empty values are
  3349  	// omitted from API requests. See
  3350  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3351  	NullFields []string `json:"-"`
  3352  }
  3353  
  3354  func (s *GoogleCloudContactcenterinsightsV1ListIssuesResponse) MarshalJSON() ([]byte, error) {
  3355  	type NoMethod GoogleCloudContactcenterinsightsV1ListIssuesResponse
  3356  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3357  }
  3358  
  3359  // GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse: The response
  3360  // of listing phrase matchers.
  3361  type GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse struct {
  3362  	// NextPageToken: A token, which can be sent as `page_token` to retrieve the
  3363  	// next page. If this field is omitted, there are no subsequent pages.
  3364  	NextPageToken string `json:"nextPageToken,omitempty"`
  3365  	// PhraseMatchers: The phrase matchers that match the request.
  3366  	PhraseMatchers []*GoogleCloudContactcenterinsightsV1PhraseMatcher `json:"phraseMatchers,omitempty"`
  3367  
  3368  	// ServerResponse contains the HTTP response code and headers from the server.
  3369  	googleapi.ServerResponse `json:"-"`
  3370  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  3371  	// unconditionally include in API requests. By default, fields with empty or
  3372  	// default values are omitted from API requests. See
  3373  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3374  	// details.
  3375  	ForceSendFields []string `json:"-"`
  3376  	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
  3377  	// requests with the JSON null value. By default, fields with empty values are
  3378  	// omitted from API requests. See
  3379  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3380  	NullFields []string `json:"-"`
  3381  }
  3382  
  3383  func (s *GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse) MarshalJSON() ([]byte, error) {
  3384  	type NoMethod GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse
  3385  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3386  }
  3387  
  3388  // GoogleCloudContactcenterinsightsV1ListViewsResponse: The response of listing
  3389  // views.
  3390  type GoogleCloudContactcenterinsightsV1ListViewsResponse struct {
  3391  	// NextPageToken: A token, which can be sent as `page_token` to retrieve the
  3392  	// next page. If this field is omitted, there are no subsequent pages.
  3393  	NextPageToken string `json:"nextPageToken,omitempty"`
  3394  	// Views: The views that match the request.
  3395  	Views []*GoogleCloudContactcenterinsightsV1View `json:"views,omitempty"`
  3396  
  3397  	// ServerResponse contains the HTTP response code and headers from the server.
  3398  	googleapi.ServerResponse `json:"-"`
  3399  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  3400  	// unconditionally include in API requests. By default, fields with empty or
  3401  	// default values are omitted from API requests. See
  3402  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3403  	// details.
  3404  	ForceSendFields []string `json:"-"`
  3405  	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
  3406  	// requests with the JSON null value. By default, fields with empty values are
  3407  	// omitted from API requests. See
  3408  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3409  	NullFields []string `json:"-"`
  3410  }
  3411  
  3412  func (s *GoogleCloudContactcenterinsightsV1ListViewsResponse) MarshalJSON() ([]byte, error) {
  3413  	type NoMethod GoogleCloudContactcenterinsightsV1ListViewsResponse
  3414  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3415  }
  3416  
  3417  // GoogleCloudContactcenterinsightsV1PhraseMatchData: The data for a matched
  3418  // phrase matcher. Represents information identifying a phrase matcher for a
  3419  // given match.
  3420  type GoogleCloudContactcenterinsightsV1PhraseMatchData struct {
  3421  	// DisplayName: The human-readable name of the phrase matcher.
  3422  	DisplayName string `json:"displayName,omitempty"`
  3423  	// PhraseMatcher: The unique identifier (the resource name) of the phrase
  3424  	// matcher.
  3425  	PhraseMatcher string `json:"phraseMatcher,omitempty"`
  3426  	// ForceSendFields is a list of field names (e.g. "DisplayName") to
  3427  	// unconditionally include in API requests. By default, fields with empty or
  3428  	// default values are omitted from API requests. See
  3429  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3430  	// details.
  3431  	ForceSendFields []string `json:"-"`
  3432  	// NullFields is a list of field names (e.g. "DisplayName") to include in API
  3433  	// requests with the JSON null value. By default, fields with empty values are
  3434  	// omitted from API requests. See
  3435  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3436  	NullFields []string `json:"-"`
  3437  }
  3438  
  3439  func (s *GoogleCloudContactcenterinsightsV1PhraseMatchData) MarshalJSON() ([]byte, error) {
  3440  	type NoMethod GoogleCloudContactcenterinsightsV1PhraseMatchData
  3441  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3442  }
  3443  
  3444  // GoogleCloudContactcenterinsightsV1PhraseMatchRule: The data for a phrase
  3445  // match rule.
  3446  type GoogleCloudContactcenterinsightsV1PhraseMatchRule struct {
  3447  	// Config: Provides additional information about the rule that specifies how to
  3448  	// apply the rule.
  3449  	Config *GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig `json:"config,omitempty"`
  3450  	// Negated: Specifies whether the phrase must be missing from the transcript
  3451  	// segment or present in the transcript segment.
  3452  	Negated bool `json:"negated,omitempty"`
  3453  	// Query: Required. The phrase to be matched.
  3454  	Query string `json:"query,omitempty"`
  3455  	// ForceSendFields is a list of field names (e.g. "Config") to unconditionally
  3456  	// include in API requests. By default, fields with empty or default values are
  3457  	// omitted from API requests. See
  3458  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3459  	// details.
  3460  	ForceSendFields []string `json:"-"`
  3461  	// NullFields is a list of field names (e.g. "Config") to include in API
  3462  	// requests with the JSON null value. By default, fields with empty values are
  3463  	// omitted from API requests. See
  3464  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3465  	NullFields []string `json:"-"`
  3466  }
  3467  
  3468  func (s *GoogleCloudContactcenterinsightsV1PhraseMatchRule) MarshalJSON() ([]byte, error) {
  3469  	type NoMethod GoogleCloudContactcenterinsightsV1PhraseMatchRule
  3470  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3471  }
  3472  
  3473  // GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig: Configuration
  3474  // information of a phrase match rule.
  3475  type GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig struct {
  3476  	// ExactMatchConfig: The configuration for the exact match rule.
  3477  	ExactMatchConfig *GoogleCloudContactcenterinsightsV1ExactMatchConfig `json:"exactMatchConfig,omitempty"`
  3478  	// ForceSendFields is a list of field names (e.g. "ExactMatchConfig") to
  3479  	// unconditionally include in API requests. By default, fields with empty or
  3480  	// default values are omitted from API requests. See
  3481  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3482  	// details.
  3483  	ForceSendFields []string `json:"-"`
  3484  	// NullFields is a list of field names (e.g. "ExactMatchConfig") to include in
  3485  	// API requests with the JSON null value. By default, fields with empty values
  3486  	// are omitted from API requests. See
  3487  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3488  	NullFields []string `json:"-"`
  3489  }
  3490  
  3491  func (s *GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig) MarshalJSON() ([]byte, error) {
  3492  	type NoMethod GoogleCloudContactcenterinsightsV1PhraseMatchRuleConfig
  3493  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3494  }
  3495  
  3496  // GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup: A message
  3497  // representing a rule in the phrase matcher.
  3498  type GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup struct {
  3499  	// PhraseMatchRules: A list of phrase match rules that are included in this
  3500  	// group.
  3501  	PhraseMatchRules []*GoogleCloudContactcenterinsightsV1PhraseMatchRule `json:"phraseMatchRules,omitempty"`
  3502  	// Type: Required. The type of this phrase match rule group.
  3503  	//
  3504  	// Possible values:
  3505  	//   "PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED" - Unspecified.
  3506  	//   "ALL_OF" - Must meet all phrase match rules or there is no match.
  3507  	//   "ANY_OF" - If any of the phrase match rules are met, there is a match.
  3508  	Type string `json:"type,omitempty"`
  3509  	// ForceSendFields is a list of field names (e.g. "PhraseMatchRules") to
  3510  	// unconditionally include in API requests. By default, fields with empty or
  3511  	// default values are omitted from API requests. See
  3512  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3513  	// details.
  3514  	ForceSendFields []string `json:"-"`
  3515  	// NullFields is a list of field names (e.g. "PhraseMatchRules") to include in
  3516  	// API requests with the JSON null value. By default, fields with empty values
  3517  	// are omitted from API requests. See
  3518  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3519  	NullFields []string `json:"-"`
  3520  }
  3521  
  3522  func (s *GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup) MarshalJSON() ([]byte, error) {
  3523  	type NoMethod GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup
  3524  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3525  }
  3526  
  3527  // GoogleCloudContactcenterinsightsV1PhraseMatcher: The phrase matcher
  3528  // resource.
  3529  type GoogleCloudContactcenterinsightsV1PhraseMatcher struct {
  3530  	// ActivationUpdateTime: Output only. The most recent time at which the
  3531  	// activation status was updated.
  3532  	ActivationUpdateTime string `json:"activationUpdateTime,omitempty"`
  3533  	// Active: Applies the phrase matcher only when it is active.
  3534  	Active bool `json:"active,omitempty"`
  3535  	// DisplayName: The human-readable name of the phrase matcher.
  3536  	DisplayName string `json:"displayName,omitempty"`
  3537  	// Name: The resource name of the phrase matcher. Format:
  3538  	// projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
  3539  	Name string `json:"name,omitempty"`
  3540  	// PhraseMatchRuleGroups: A list of phase match rule groups that are included
  3541  	// in this matcher.
  3542  	PhraseMatchRuleGroups []*GoogleCloudContactcenterinsightsV1PhraseMatchRuleGroup `json:"phraseMatchRuleGroups,omitempty"`
  3543  	// RevisionCreateTime: Output only. The timestamp of when the revision was
  3544  	// created. It is also the create time when a new matcher is added.
  3545  	RevisionCreateTime string `json:"revisionCreateTime,omitempty"`
  3546  	// RevisionId: Output only. Immutable. The revision ID of the phrase matcher. A
  3547  	// new revision is committed whenever the matcher is changed, except when it is
  3548  	// activated or deactivated. A server generated random ID will be used.
  3549  	// Example: locations/global/phraseMatchers/my-first-matcher@1234567
  3550  	RevisionId string `json:"revisionId,omitempty"`
  3551  	// RoleMatch: The role whose utterances the phrase matcher should be matched
  3552  	// against. If the role is ROLE_UNSPECIFIED it will be matched against any
  3553  	// utterances in the transcript.
  3554  	//
  3555  	// Possible values:
  3556  	//   "ROLE_UNSPECIFIED" - Participant's role is not set.
  3557  	//   "HUMAN_AGENT" - Participant is a human agent.
  3558  	//   "AUTOMATED_AGENT" - Participant is an automated agent.
  3559  	//   "END_USER" - Participant is an end user who conversed with the contact
  3560  	// center.
  3561  	//   "ANY_AGENT" - Participant is either a human or automated agent.
  3562  	RoleMatch string `json:"roleMatch,omitempty"`
  3563  	// Type: Required. The type of this phrase matcher.
  3564  	//
  3565  	// Possible values:
  3566  	//   "PHRASE_MATCHER_TYPE_UNSPECIFIED" - Unspecified.
  3567  	//   "ALL_OF" - Must meet all phrase match rule groups or there is no match.
  3568  	//   "ANY_OF" - If any of the phrase match rule groups are met, there is a
  3569  	// match.
  3570  	Type string `json:"type,omitempty"`
  3571  	// UpdateTime: Output only. The most recent time at which the phrase matcher
  3572  	// was updated.
  3573  	UpdateTime string `json:"updateTime,omitempty"`
  3574  	// VersionTag: The customized version tag to use for the phrase matcher. If not
  3575  	// specified, it will default to `revision_id`.
  3576  	VersionTag string `json:"versionTag,omitempty"`
  3577  
  3578  	// ServerResponse contains the HTTP response code and headers from the server.
  3579  	googleapi.ServerResponse `json:"-"`
  3580  	// ForceSendFields is a list of field names (e.g. "ActivationUpdateTime") to
  3581  	// unconditionally include in API requests. By default, fields with empty or
  3582  	// default values are omitted from API requests. See
  3583  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3584  	// details.
  3585  	ForceSendFields []string `json:"-"`
  3586  	// NullFields is a list of field names (e.g. "ActivationUpdateTime") to include
  3587  	// in API requests with the JSON null value. By default, fields with empty
  3588  	// values are omitted from API requests. See
  3589  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3590  	NullFields []string `json:"-"`
  3591  }
  3592  
  3593  func (s *GoogleCloudContactcenterinsightsV1PhraseMatcher) MarshalJSON() ([]byte, error) {
  3594  	type NoMethod GoogleCloudContactcenterinsightsV1PhraseMatcher
  3595  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3596  }
  3597  
  3598  // GoogleCloudContactcenterinsightsV1RedactionConfig: DLP resources used for
  3599  // redaction while ingesting conversations. DLP settings are applied to
  3600  // conversations ingested from the UploadConversation and IngestConversations
  3601  // endpoints, including conversation coming from CCAI Platform. They are not
  3602  // applied to conversations ingested from the CreateConversation endpoint or
  3603  // the Dialogflow / Agent Assist runtime integrations. When using Dialogflow /
  3604  // Agent Assist runtime integrations redaction should be performed in
  3605  // Dialogflow / Agent Assist.
  3606  type GoogleCloudContactcenterinsightsV1RedactionConfig struct {
  3607  	// DeidentifyTemplate: The fully-qualified DLP deidentify template resource
  3608  	// name. Format: `projects/{project}/deidentifyTemplates/{template}`
  3609  	DeidentifyTemplate string `json:"deidentifyTemplate,omitempty"`
  3610  	// InspectTemplate: The fully-qualified DLP inspect template resource name.
  3611  	// Format:
  3612  	// `projects/{project}/locations/{location}/inspectTemplates/{template}`
  3613  	InspectTemplate string `json:"inspectTemplate,omitempty"`
  3614  	// ForceSendFields is a list of field names (e.g. "DeidentifyTemplate") to
  3615  	// unconditionally include in API requests. By default, fields with empty or
  3616  	// default values are omitted from API requests. See
  3617  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3618  	// details.
  3619  	ForceSendFields []string `json:"-"`
  3620  	// NullFields is a list of field names (e.g. "DeidentifyTemplate") to include
  3621  	// in API requests with the JSON null value. By default, fields with empty
  3622  	// values are omitted from API requests. See
  3623  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3624  	NullFields []string `json:"-"`
  3625  }
  3626  
  3627  func (s *GoogleCloudContactcenterinsightsV1RedactionConfig) MarshalJSON() ([]byte, error) {
  3628  	type NoMethod GoogleCloudContactcenterinsightsV1RedactionConfig
  3629  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3630  }
  3631  
  3632  // GoogleCloudContactcenterinsightsV1RuntimeAnnotation: An annotation that was
  3633  // generated during the customer and agent interaction.
  3634  type GoogleCloudContactcenterinsightsV1RuntimeAnnotation struct {
  3635  	// AnnotationId: The unique identifier of the annotation. Format:
  3636  	// projects/{project}/locations/{location}/conversationDatasets/{dataset}/conver
  3637  	// sationDataItems/{data_item}/conversationAnnotations/{annotation}
  3638  	AnnotationId string `json:"annotationId,omitempty"`
  3639  	// AnswerFeedback: The feedback that the customer has about the answer in
  3640  	// `data`.
  3641  	AnswerFeedback *GoogleCloudContactcenterinsightsV1AnswerFeedback `json:"answerFeedback,omitempty"`
  3642  	// ArticleSuggestion: Agent Assist Article Suggestion data.
  3643  	ArticleSuggestion *GoogleCloudContactcenterinsightsV1ArticleSuggestionData `json:"articleSuggestion,omitempty"`
  3644  	// ConversationSummarizationSuggestion: Conversation summarization suggestion
  3645  	// data.
  3646  	ConversationSummarizationSuggestion *GoogleCloudContactcenterinsightsV1ConversationSummarizationSuggestionData `json:"conversationSummarizationSuggestion,omitempty"`
  3647  	// CreateTime: The time at which this annotation was created.
  3648  	CreateTime string `json:"createTime,omitempty"`
  3649  	// DialogflowInteraction: Dialogflow interaction data.
  3650  	DialogflowInteraction *GoogleCloudContactcenterinsightsV1DialogflowInteractionData `json:"dialogflowInteraction,omitempty"`
  3651  	// EndBoundary: The boundary in the conversation where the annotation ends,
  3652  	// inclusive.
  3653  	EndBoundary *GoogleCloudContactcenterinsightsV1AnnotationBoundary `json:"endBoundary,omitempty"`
  3654  	// FaqAnswer: Agent Assist FAQ answer data.
  3655  	FaqAnswer *GoogleCloudContactcenterinsightsV1FaqAnswerData `json:"faqAnswer,omitempty"`
  3656  	// GeneratorSuggestionResult: The generator suggestion result.
  3657  	GeneratorSuggestionResult *GoogleCloudContactcenterinsightsV1GetGeneratorSuggestionResponse `json:"generatorSuggestionResult,omitempty"`
  3658  	// KnowledgeAssistResult: The Knowledge Assist result.
  3659  	KnowledgeAssistResult *GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponse `json:"knowledgeAssistResult,omitempty"`
  3660  	// KnowledgeSearchResult: The Knowledge Search result.
  3661  	KnowledgeSearchResult *GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer `json:"knowledgeSearchResult,omitempty"`
  3662  	// SmartComposeSuggestion: Agent Assist Smart Compose suggestion data.
  3663  	SmartComposeSuggestion *GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData `json:"smartComposeSuggestion,omitempty"`
  3664  	// SmartReply: Agent Assist Smart Reply data.
  3665  	SmartReply *GoogleCloudContactcenterinsightsV1SmartReplyData `json:"smartReply,omitempty"`
  3666  	// StartBoundary: The boundary in the conversation where the annotation starts,
  3667  	// inclusive.
  3668  	StartBoundary *GoogleCloudContactcenterinsightsV1AnnotationBoundary `json:"startBoundary,omitempty"`
  3669  	// ForceSendFields is a list of field names (e.g. "AnnotationId") to
  3670  	// unconditionally include in API requests. By default, fields with empty or
  3671  	// default values are omitted from API requests. See
  3672  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3673  	// details.
  3674  	ForceSendFields []string `json:"-"`
  3675  	// NullFields is a list of field names (e.g. "AnnotationId") to include in API
  3676  	// requests with the JSON null value. By default, fields with empty values are
  3677  	// omitted from API requests. See
  3678  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3679  	NullFields []string `json:"-"`
  3680  }
  3681  
  3682  func (s *GoogleCloudContactcenterinsightsV1RuntimeAnnotation) MarshalJSON() ([]byte, error) {
  3683  	type NoMethod GoogleCloudContactcenterinsightsV1RuntimeAnnotation
  3684  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3685  }
  3686  
  3687  // GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer: Represents a
  3688  // SearchKnowledge answer.
  3689  type GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer struct {
  3690  	// Answer: The piece of text from the knowledge base documents that answers the
  3691  	// search query
  3692  	Answer string `json:"answer,omitempty"`
  3693  	// AnswerRecord: The name of the answer record. Format:
  3694  	// `projects//locations//answer Records/`
  3695  	AnswerRecord string `json:"answerRecord,omitempty"`
  3696  	// AnswerSources: All sources used to generate the answer.
  3697  	AnswerSources []*GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource `json:"answerSources,omitempty"`
  3698  	// AnswerType: The type of the answer.
  3699  	//
  3700  	// Possible values:
  3701  	//   "ANSWER_TYPE_UNSPECIFIED" - The answer has a unspecified type.
  3702  	//   "FAQ" - The answer is from FAQ documents.
  3703  	//   "GENERATIVE" - The answer is from generative model.
  3704  	//   "INTENT" - The answer is from intent matching.
  3705  	AnswerType string `json:"answerType,omitempty"`
  3706  	// ConfidenceScore: The confidence score in [0.0, 1.0] range.
  3707  	ConfidenceScore float64 `json:"confidenceScore,omitempty"`
  3708  	// ForceSendFields is a list of field names (e.g. "Answer") to unconditionally
  3709  	// include in API requests. By default, fields with empty or default values are
  3710  	// omitted from API requests. See
  3711  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3712  	// details.
  3713  	ForceSendFields []string `json:"-"`
  3714  	// NullFields is a list of field names (e.g. "Answer") to include in API
  3715  	// requests with the JSON null value. By default, fields with empty values are
  3716  	// omitted from API requests. See
  3717  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3718  	NullFields []string `json:"-"`
  3719  }
  3720  
  3721  func (s *GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer) MarshalJSON() ([]byte, error) {
  3722  	type NoMethod GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer
  3723  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3724  }
  3725  
  3726  func (s *GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer) UnmarshalJSON(data []byte) error {
  3727  	type NoMethod GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswer
  3728  	var s1 struct {
  3729  		ConfidenceScore gensupport.JSONFloat64 `json:"confidenceScore"`
  3730  		*NoMethod
  3731  	}
  3732  	s1.NoMethod = (*NoMethod)(s)
  3733  	if err := json.Unmarshal(data, &s1); err != nil {
  3734  		return err
  3735  	}
  3736  	s.ConfidenceScore = float64(s1.ConfidenceScore)
  3737  	return nil
  3738  }
  3739  
  3740  // GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource: The
  3741  // sources of the answers.
  3742  type GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource struct {
  3743  	// Document: The document from which the snippet was extracted. Format:
  3744  	// `projects//knowledgeBases//documents/`
  3745  	Document string `json:"document,omitempty"`
  3746  	// Snippet: The relevant snippet of the article.
  3747  	Snippet string `json:"snippet,omitempty"`
  3748  	// Title: The title of the article.
  3749  	Title string `json:"title,omitempty"`
  3750  	// Uri: The URI of the article.
  3751  	Uri string `json:"uri,omitempty"`
  3752  	// ForceSendFields is a list of field names (e.g. "Document") to
  3753  	// unconditionally include in API requests. By default, fields with empty or
  3754  	// default values are omitted from API requests. See
  3755  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3756  	// details.
  3757  	ForceSendFields []string `json:"-"`
  3758  	// NullFields is a list of field names (e.g. "Document") to include in API
  3759  	// requests with the JSON null value. By default, fields with empty values are
  3760  	// omitted from API requests. See
  3761  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3762  	NullFields []string `json:"-"`
  3763  }
  3764  
  3765  func (s *GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource) MarshalJSON() ([]byte, error) {
  3766  	type NoMethod GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource
  3767  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3768  }
  3769  
  3770  // GoogleCloudContactcenterinsightsV1SentimentData: The data for a sentiment
  3771  // annotation.
  3772  type GoogleCloudContactcenterinsightsV1SentimentData struct {
  3773  	// Magnitude: A non-negative number from 0 to infinity which represents the
  3774  	// abolute magnitude of sentiment regardless of score.
  3775  	Magnitude float64 `json:"magnitude,omitempty"`
  3776  	// Score: The sentiment score between -1.0 (negative) and 1.0 (positive).
  3777  	Score float64 `json:"score,omitempty"`
  3778  	// ForceSendFields is a list of field names (e.g. "Magnitude") to
  3779  	// unconditionally include in API requests. By default, fields with empty or
  3780  	// default values are omitted from API requests. See
  3781  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3782  	// details.
  3783  	ForceSendFields []string `json:"-"`
  3784  	// NullFields is a list of field names (e.g. "Magnitude") to include in API
  3785  	// requests with the JSON null value. By default, fields with empty values are
  3786  	// omitted from API requests. See
  3787  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3788  	NullFields []string `json:"-"`
  3789  }
  3790  
  3791  func (s *GoogleCloudContactcenterinsightsV1SentimentData) MarshalJSON() ([]byte, error) {
  3792  	type NoMethod GoogleCloudContactcenterinsightsV1SentimentData
  3793  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3794  }
  3795  
  3796  func (s *GoogleCloudContactcenterinsightsV1SentimentData) UnmarshalJSON(data []byte) error {
  3797  	type NoMethod GoogleCloudContactcenterinsightsV1SentimentData
  3798  	var s1 struct {
  3799  		Magnitude gensupport.JSONFloat64 `json:"magnitude"`
  3800  		Score     gensupport.JSONFloat64 `json:"score"`
  3801  		*NoMethod
  3802  	}
  3803  	s1.NoMethod = (*NoMethod)(s)
  3804  	if err := json.Unmarshal(data, &s1); err != nil {
  3805  		return err
  3806  	}
  3807  	s.Magnitude = float64(s1.Magnitude)
  3808  	s.Score = float64(s1.Score)
  3809  	return nil
  3810  }
  3811  
  3812  // GoogleCloudContactcenterinsightsV1Settings: The settings resource.
  3813  type GoogleCloudContactcenterinsightsV1Settings struct {
  3814  	// AnalysisConfig: Default analysis settings.
  3815  	AnalysisConfig *GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig `json:"analysisConfig,omitempty"`
  3816  	// ConversationTtl: The default TTL for newly-created conversations. If a
  3817  	// conversation has a specified expiration, that value will be used instead.
  3818  	// Changing this value will not change the expiration of existing
  3819  	// conversations. Conversations with no expire time persist until they are
  3820  	// deleted.
  3821  	ConversationTtl string `json:"conversationTtl,omitempty"`
  3822  	// CreateTime: Output only. The time at which the settings was created.
  3823  	CreateTime string `json:"createTime,omitempty"`
  3824  	// LanguageCode: A language code to be applied to each transcript segment
  3825  	// unless the segment already specifies a language code. Language code defaults
  3826  	// to "en-US" if it is neither specified on the segment nor here.
  3827  	LanguageCode string `json:"languageCode,omitempty"`
  3828  	// Name: Immutable. The resource name of the settings resource. Format:
  3829  	// projects/{project}/locations/{location}/settings
  3830  	Name string `json:"name,omitempty"`
  3831  	// PubsubNotificationSettings: A map that maps a notification trigger to a
  3832  	// Pub/Sub topic. Each time a specified trigger occurs, Insights will notify
  3833  	// the corresponding Pub/Sub topic. Keys are notification triggers. Supported
  3834  	// keys are: * "all-triggers": Notify each time any of the supported triggers
  3835  	// occurs. * "create-analysis": Notify each time an analysis is created. *
  3836  	// "create-conversation": Notify each time a conversation is created. *
  3837  	// "export-insights-data": Notify each time an export is complete. *
  3838  	// "ingest-conversations": Notify each time an IngestConversations LRO
  3839  	// completes. * "update-conversation": Notify each time a conversation is
  3840  	// updated via UpdateConversation. * "upload-conversation": Notify when an
  3841  	// UploadConversation LRO completes. Values are Pub/Sub topics. The format of
  3842  	// each Pub/Sub topic is: projects/{project}/topics/{topic}
  3843  	PubsubNotificationSettings map[string]string `json:"pubsubNotificationSettings,omitempty"`
  3844  	// RedactionConfig: Default DLP redaction resources to be applied while
  3845  	// ingesting conversations. This applies to conversations ingested from the
  3846  	// UploadConversation and IngestConversations endpoints, including
  3847  	// conversations coming from CCAI Platform.
  3848  	RedactionConfig *GoogleCloudContactcenterinsightsV1RedactionConfig `json:"redactionConfig,omitempty"`
  3849  	// SpeechConfig: Optional. Default Speech-to-Text resources to be used while
  3850  	// ingesting audio files. Optional, CCAI Insights will create a default if not
  3851  	// provided. This applies to conversations ingested from the UploadConversation
  3852  	// and IngestConversations endpoints, including conversations coming from CCAI
  3853  	// Platform.
  3854  	SpeechConfig *GoogleCloudContactcenterinsightsV1SpeechConfig `json:"speechConfig,omitempty"`
  3855  	// UpdateTime: Output only. The time at which the settings were last updated.
  3856  	UpdateTime string `json:"updateTime,omitempty"`
  3857  
  3858  	// ServerResponse contains the HTTP response code and headers from the server.
  3859  	googleapi.ServerResponse `json:"-"`
  3860  	// ForceSendFields is a list of field names (e.g. "AnalysisConfig") to
  3861  	// unconditionally include in API requests. By default, fields with empty or
  3862  	// default values are omitted from API requests. See
  3863  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3864  	// details.
  3865  	ForceSendFields []string `json:"-"`
  3866  	// NullFields is a list of field names (e.g. "AnalysisConfig") to include in
  3867  	// API requests with the JSON null value. By default, fields with empty values
  3868  	// are omitted from API requests. See
  3869  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3870  	NullFields []string `json:"-"`
  3871  }
  3872  
  3873  func (s *GoogleCloudContactcenterinsightsV1Settings) MarshalJSON() ([]byte, error) {
  3874  	type NoMethod GoogleCloudContactcenterinsightsV1Settings
  3875  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3876  }
  3877  
  3878  // GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig: Default
  3879  // configuration when creating Analyses in Insights.
  3880  type GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig struct {
  3881  	// AnnotatorSelector: To select the annotators to run and the phrase matchers
  3882  	// to use (if any). If not specified, all annotators will be run.
  3883  	AnnotatorSelector *GoogleCloudContactcenterinsightsV1AnnotatorSelector `json:"annotatorSelector,omitempty"`
  3884  	// RuntimeIntegrationAnalysisPercentage: Percentage of conversations created
  3885  	// using Dialogflow runtime integration to analyze automatically, between [0,
  3886  	// 100].
  3887  	RuntimeIntegrationAnalysisPercentage float64 `json:"runtimeIntegrationAnalysisPercentage,omitempty"`
  3888  	// UploadConversationAnalysisPercentage: Percentage of conversations created
  3889  	// using the UploadConversation endpoint to analyze automatically, between [0,
  3890  	// 100].
  3891  	UploadConversationAnalysisPercentage float64 `json:"uploadConversationAnalysisPercentage,omitempty"`
  3892  	// ForceSendFields is a list of field names (e.g. "AnnotatorSelector") to
  3893  	// unconditionally include in API requests. By default, fields with empty or
  3894  	// default values are omitted from API requests. See
  3895  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3896  	// details.
  3897  	ForceSendFields []string `json:"-"`
  3898  	// NullFields is a list of field names (e.g. "AnnotatorSelector") to include in
  3899  	// API requests with the JSON null value. By default, fields with empty values
  3900  	// are omitted from API requests. See
  3901  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3902  	NullFields []string `json:"-"`
  3903  }
  3904  
  3905  func (s *GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig) MarshalJSON() ([]byte, error) {
  3906  	type NoMethod GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig
  3907  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3908  }
  3909  
  3910  func (s *GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig) UnmarshalJSON(data []byte) error {
  3911  	type NoMethod GoogleCloudContactcenterinsightsV1SettingsAnalysisConfig
  3912  	var s1 struct {
  3913  		RuntimeIntegrationAnalysisPercentage gensupport.JSONFloat64 `json:"runtimeIntegrationAnalysisPercentage"`
  3914  		UploadConversationAnalysisPercentage gensupport.JSONFloat64 `json:"uploadConversationAnalysisPercentage"`
  3915  		*NoMethod
  3916  	}
  3917  	s1.NoMethod = (*NoMethod)(s)
  3918  	if err := json.Unmarshal(data, &s1); err != nil {
  3919  		return err
  3920  	}
  3921  	s.RuntimeIntegrationAnalysisPercentage = float64(s1.RuntimeIntegrationAnalysisPercentage)
  3922  	s.UploadConversationAnalysisPercentage = float64(s1.UploadConversationAnalysisPercentage)
  3923  	return nil
  3924  }
  3925  
  3926  // GoogleCloudContactcenterinsightsV1SilenceData: The data for a silence
  3927  // annotation.
  3928  type GoogleCloudContactcenterinsightsV1SilenceData struct {
  3929  }
  3930  
  3931  // GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData: Agent Assist
  3932  // Smart Compose suggestion data.
  3933  type GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData struct {
  3934  	// ConfidenceScore: The system's confidence score that this suggestion is a
  3935  	// good match for this conversation, ranging from 0.0 (completely uncertain) to
  3936  	// 1.0 (completely certain).
  3937  	ConfidenceScore float64 `json:"confidenceScore,omitempty"`
  3938  	// Metadata: Map that contains metadata about the Smart Compose suggestion and
  3939  	// the document from which it originates.
  3940  	Metadata map[string]string `json:"metadata,omitempty"`
  3941  	// QueryRecord: The name of the answer record. Format:
  3942  	// projects/{project}/locations/{location}/answerRecords/{answer_record}
  3943  	QueryRecord string `json:"queryRecord,omitempty"`
  3944  	// Suggestion: The content of the suggestion.
  3945  	Suggestion string `json:"suggestion,omitempty"`
  3946  	// ForceSendFields is a list of field names (e.g. "ConfidenceScore") to
  3947  	// unconditionally include in API requests. By default, fields with empty or
  3948  	// default values are omitted from API requests. See
  3949  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3950  	// details.
  3951  	ForceSendFields []string `json:"-"`
  3952  	// NullFields is a list of field names (e.g. "ConfidenceScore") to include in
  3953  	// API requests with the JSON null value. By default, fields with empty values
  3954  	// are omitted from API requests. See
  3955  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3956  	NullFields []string `json:"-"`
  3957  }
  3958  
  3959  func (s *GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData) MarshalJSON() ([]byte, error) {
  3960  	type NoMethod GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData
  3961  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3962  }
  3963  
  3964  func (s *GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData) UnmarshalJSON(data []byte) error {
  3965  	type NoMethod GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData
  3966  	var s1 struct {
  3967  		ConfidenceScore gensupport.JSONFloat64 `json:"confidenceScore"`
  3968  		*NoMethod
  3969  	}
  3970  	s1.NoMethod = (*NoMethod)(s)
  3971  	if err := json.Unmarshal(data, &s1); err != nil {
  3972  		return err
  3973  	}
  3974  	s.ConfidenceScore = float64(s1.ConfidenceScore)
  3975  	return nil
  3976  }
  3977  
  3978  // GoogleCloudContactcenterinsightsV1SmartReplyData: Agent Assist Smart Reply
  3979  // data.
  3980  type GoogleCloudContactcenterinsightsV1SmartReplyData struct {
  3981  	// ConfidenceScore: The system's confidence score that this reply is a good
  3982  	// match for this conversation, ranging from 0.0 (completely uncertain) to 1.0
  3983  	// (completely certain).
  3984  	ConfidenceScore float64 `json:"confidenceScore,omitempty"`
  3985  	// Metadata: Map that contains metadata about the Smart Reply and the document
  3986  	// from which it originates.
  3987  	Metadata map[string]string `json:"metadata,omitempty"`
  3988  	// QueryRecord: The name of the answer record. Format:
  3989  	// projects/{project}/locations/{location}/answerRecords/{answer_record}
  3990  	QueryRecord string `json:"queryRecord,omitempty"`
  3991  	// Reply: The content of the reply.
  3992  	Reply string `json:"reply,omitempty"`
  3993  	// ForceSendFields is a list of field names (e.g. "ConfidenceScore") to
  3994  	// unconditionally include in API requests. By default, fields with empty or
  3995  	// default values are omitted from API requests. See
  3996  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3997  	// details.
  3998  	ForceSendFields []string `json:"-"`
  3999  	// NullFields is a list of field names (e.g. "ConfidenceScore") to include in
  4000  	// API requests with the JSON null value. By default, fields with empty values
  4001  	// are omitted from API requests. See
  4002  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4003  	NullFields []string `json:"-"`
  4004  }
  4005  
  4006  func (s *GoogleCloudContactcenterinsightsV1SmartReplyData) MarshalJSON() ([]byte, error) {
  4007  	type NoMethod GoogleCloudContactcenterinsightsV1SmartReplyData
  4008  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4009  }
  4010  
  4011  func (s *GoogleCloudContactcenterinsightsV1SmartReplyData) UnmarshalJSON(data []byte) error {
  4012  	type NoMethod GoogleCloudContactcenterinsightsV1SmartReplyData
  4013  	var s1 struct {
  4014  		ConfidenceScore gensupport.JSONFloat64 `json:"confidenceScore"`
  4015  		*NoMethod
  4016  	}
  4017  	s1.NoMethod = (*NoMethod)(s)
  4018  	if err := json.Unmarshal(data, &s1); err != nil {
  4019  		return err
  4020  	}
  4021  	s.ConfidenceScore = float64(s1.ConfidenceScore)
  4022  	return nil
  4023  }
  4024  
  4025  // GoogleCloudContactcenterinsightsV1SpeechConfig: Speech-to-Text
  4026  // configuration. Speech-to-Text settings are applied to conversations ingested
  4027  // from the UploadConversation and IngestConversations endpoints, including
  4028  // conversation coming from CCAI Platform. They are not applied to
  4029  // conversations ingested from the CreateConversation endpoint.
  4030  type GoogleCloudContactcenterinsightsV1SpeechConfig struct {
  4031  	// SpeechRecognizer: The fully-qualified Speech Recognizer resource name.
  4032  	// Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}`
  4033  	SpeechRecognizer string `json:"speechRecognizer,omitempty"`
  4034  	// ForceSendFields is a list of field names (e.g. "SpeechRecognizer") to
  4035  	// unconditionally include in API requests. By default, fields with empty or
  4036  	// default values are omitted from API requests. See
  4037  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4038  	// details.
  4039  	ForceSendFields []string `json:"-"`
  4040  	// NullFields is a list of field names (e.g. "SpeechRecognizer") to include in
  4041  	// API requests with the JSON null value. By default, fields with empty values
  4042  	// are omitted from API requests. See
  4043  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4044  	NullFields []string `json:"-"`
  4045  }
  4046  
  4047  func (s *GoogleCloudContactcenterinsightsV1SpeechConfig) MarshalJSON() ([]byte, error) {
  4048  	type NoMethod GoogleCloudContactcenterinsightsV1SpeechConfig
  4049  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4050  }
  4051  
  4052  // GoogleCloudContactcenterinsightsV1SummarySuggestion: Suggested summary of
  4053  // the conversation.
  4054  type GoogleCloudContactcenterinsightsV1SummarySuggestion struct {
  4055  	// SummarySections: Required. All the parts of generated summary.
  4056  	SummarySections []*GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection `json:"summarySections,omitempty"`
  4057  	// ForceSendFields is a list of field names (e.g. "SummarySections") to
  4058  	// unconditionally include in API requests. By default, fields with empty or
  4059  	// default values are omitted from API requests. See
  4060  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4061  	// details.
  4062  	ForceSendFields []string `json:"-"`
  4063  	// NullFields is a list of field names (e.g. "SummarySections") to include in
  4064  	// API requests with the JSON null value. By default, fields with empty values
  4065  	// are omitted from API requests. See
  4066  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4067  	NullFields []string `json:"-"`
  4068  }
  4069  
  4070  func (s *GoogleCloudContactcenterinsightsV1SummarySuggestion) MarshalJSON() ([]byte, error) {
  4071  	type NoMethod GoogleCloudContactcenterinsightsV1SummarySuggestion
  4072  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4073  }
  4074  
  4075  // GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection: A
  4076  // component of the generated summary.
  4077  type GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection struct {
  4078  	// Section: Required. Name of the section.
  4079  	Section string `json:"section,omitempty"`
  4080  	// Summary: Required. Summary text for the section.
  4081  	Summary string `json:"summary,omitempty"`
  4082  	// ForceSendFields is a list of field names (e.g. "Section") to unconditionally
  4083  	// include in API requests. By default, fields with empty or default values are
  4084  	// omitted from API requests. See
  4085  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4086  	// details.
  4087  	ForceSendFields []string `json:"-"`
  4088  	// NullFields is a list of field names (e.g. "Section") to include in API
  4089  	// requests with the JSON null value. By default, fields with empty values are
  4090  	// omitted from API requests. See
  4091  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4092  	NullFields []string `json:"-"`
  4093  }
  4094  
  4095  func (s *GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection) MarshalJSON() ([]byte, error) {
  4096  	type NoMethod GoogleCloudContactcenterinsightsV1SummarySuggestionSummarySection
  4097  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4098  }
  4099  
  4100  // GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata: Metadata for
  4101  // undeploying an issue model.
  4102  type GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata struct {
  4103  	// CreateTime: Output only. The time the operation was created.
  4104  	CreateTime string `json:"createTime,omitempty"`
  4105  	// EndTime: Output only. The time the operation finished running.
  4106  	EndTime string `json:"endTime,omitempty"`
  4107  	// Request: The original request for undeployment.
  4108  	Request *GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest `json:"request,omitempty"`
  4109  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  4110  	// unconditionally include in API requests. By default, fields with empty or
  4111  	// default values are omitted from API requests. See
  4112  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4113  	// details.
  4114  	ForceSendFields []string `json:"-"`
  4115  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  4116  	// requests with the JSON null value. By default, fields with empty values are
  4117  	// omitted from API requests. See
  4118  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4119  	NullFields []string `json:"-"`
  4120  }
  4121  
  4122  func (s *GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata) MarshalJSON() ([]byte, error) {
  4123  	type NoMethod GoogleCloudContactcenterinsightsV1UndeployIssueModelMetadata
  4124  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4125  }
  4126  
  4127  // GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest: The request to
  4128  // undeploy an issue model.
  4129  type GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest struct {
  4130  	// Name: Required. The issue model to undeploy.
  4131  	Name string `json:"name,omitempty"`
  4132  	// ForceSendFields is a list of field names (e.g. "Name") to unconditionally
  4133  	// include in API requests. By default, fields with empty or default values are
  4134  	// omitted from API requests. See
  4135  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4136  	// details.
  4137  	ForceSendFields []string `json:"-"`
  4138  	// NullFields is a list of field names (e.g. "Name") to include in API requests
  4139  	// with the JSON null value. By default, fields with empty values are omitted
  4140  	// from API requests. See
  4141  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4142  	NullFields []string `json:"-"`
  4143  }
  4144  
  4145  func (s *GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest) MarshalJSON() ([]byte, error) {
  4146  	type NoMethod GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest
  4147  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4148  }
  4149  
  4150  // GoogleCloudContactcenterinsightsV1UndeployIssueModelResponse: The response
  4151  // to undeploy an issue model.
  4152  type GoogleCloudContactcenterinsightsV1UndeployIssueModelResponse struct {
  4153  }
  4154  
  4155  // GoogleCloudContactcenterinsightsV1UploadConversationMetadata: The metadata
  4156  // for an UploadConversation operation.
  4157  type GoogleCloudContactcenterinsightsV1UploadConversationMetadata struct {
  4158  	// AnalysisOperation: Output only. The operation name for a successfully
  4159  	// created analysis operation, if any.
  4160  	AnalysisOperation string `json:"analysisOperation,omitempty"`
  4161  	// AppliedRedactionConfig: Output only. The redaction config applied to the
  4162  	// uploaded conversation.
  4163  	AppliedRedactionConfig *GoogleCloudContactcenterinsightsV1RedactionConfig `json:"appliedRedactionConfig,omitempty"`
  4164  	// CreateTime: Output only. The time the operation was created.
  4165  	CreateTime string `json:"createTime,omitempty"`
  4166  	// EndTime: Output only. The time the operation finished running.
  4167  	EndTime string `json:"endTime,omitempty"`
  4168  	// Request: Output only. The original request.
  4169  	Request *GoogleCloudContactcenterinsightsV1UploadConversationRequest `json:"request,omitempty"`
  4170  	// ForceSendFields is a list of field names (e.g. "AnalysisOperation") to
  4171  	// unconditionally include in API requests. By default, fields with empty or
  4172  	// default values are omitted from API requests. See
  4173  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4174  	// details.
  4175  	ForceSendFields []string `json:"-"`
  4176  	// NullFields is a list of field names (e.g. "AnalysisOperation") to include in
  4177  	// API requests with the JSON null value. By default, fields with empty values
  4178  	// are omitted from API requests. See
  4179  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4180  	NullFields []string `json:"-"`
  4181  }
  4182  
  4183  func (s *GoogleCloudContactcenterinsightsV1UploadConversationMetadata) MarshalJSON() ([]byte, error) {
  4184  	type NoMethod GoogleCloudContactcenterinsightsV1UploadConversationMetadata
  4185  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4186  }
  4187  
  4188  // GoogleCloudContactcenterinsightsV1UploadConversationRequest: Request to
  4189  // upload a conversation.
  4190  type GoogleCloudContactcenterinsightsV1UploadConversationRequest struct {
  4191  	// Conversation: Required. The conversation resource to create.
  4192  	Conversation *GoogleCloudContactcenterinsightsV1Conversation `json:"conversation,omitempty"`
  4193  	// ConversationId: Optional. A unique ID for the new conversation. This ID will
  4194  	// become the final component of the conversation's resource name. If no ID is
  4195  	// specified, a server-generated ID will be used. This value should be 4-64
  4196  	// characters and must match the regular expression `^[a-z0-9-]{4,64}$`. Valid
  4197  	// characters are `a-z-`
  4198  	ConversationId string `json:"conversationId,omitempty"`
  4199  	// Parent: Required. The parent resource of the conversation.
  4200  	Parent string `json:"parent,omitempty"`
  4201  	// RedactionConfig: Optional. DLP settings for transcript redaction. Will
  4202  	// default to the config specified in Settings.
  4203  	RedactionConfig *GoogleCloudContactcenterinsightsV1RedactionConfig `json:"redactionConfig,omitempty"`
  4204  	// SpeechConfig: Optional. Speech-to-Text configuration. Will default to the
  4205  	// config specified in Settings.
  4206  	SpeechConfig *GoogleCloudContactcenterinsightsV1SpeechConfig `json:"speechConfig,omitempty"`
  4207  	// ForceSendFields is a list of field names (e.g. "Conversation") to
  4208  	// unconditionally include in API requests. By default, fields with empty or
  4209  	// default values are omitted from API requests. See
  4210  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4211  	// details.
  4212  	ForceSendFields []string `json:"-"`
  4213  	// NullFields is a list of field names (e.g. "Conversation") to include in API
  4214  	// requests with the JSON null value. By default, fields with empty values are
  4215  	// omitted from API requests. See
  4216  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4217  	NullFields []string `json:"-"`
  4218  }
  4219  
  4220  func (s *GoogleCloudContactcenterinsightsV1UploadConversationRequest) MarshalJSON() ([]byte, error) {
  4221  	type NoMethod GoogleCloudContactcenterinsightsV1UploadConversationRequest
  4222  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4223  }
  4224  
  4225  // GoogleCloudContactcenterinsightsV1View: The View resource.
  4226  type GoogleCloudContactcenterinsightsV1View struct {
  4227  	// CreateTime: Output only. The time at which this view was created.
  4228  	CreateTime string `json:"createTime,omitempty"`
  4229  	// DisplayName: The human-readable display name of the view.
  4230  	DisplayName string `json:"displayName,omitempty"`
  4231  	// Name: Immutable. The resource name of the view. Format:
  4232  	// projects/{project}/locations/{location}/views/{view}
  4233  	Name string `json:"name,omitempty"`
  4234  	// UpdateTime: Output only. The most recent time at which the view was updated.
  4235  	UpdateTime string `json:"updateTime,omitempty"`
  4236  	// Value: String with specific view properties, must be non-empty.
  4237  	Value string `json:"value,omitempty"`
  4238  
  4239  	// ServerResponse contains the HTTP response code and headers from the server.
  4240  	googleapi.ServerResponse `json:"-"`
  4241  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  4242  	// unconditionally include in API requests. By default, fields with empty or
  4243  	// default values are omitted from API requests. See
  4244  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4245  	// details.
  4246  	ForceSendFields []string `json:"-"`
  4247  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  4248  	// requests with the JSON null value. By default, fields with empty values are
  4249  	// omitted from API requests. See
  4250  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4251  	NullFields []string `json:"-"`
  4252  }
  4253  
  4254  func (s *GoogleCloudContactcenterinsightsV1View) MarshalJSON() ([]byte, error) {
  4255  	type NoMethod GoogleCloudContactcenterinsightsV1View
  4256  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4257  }
  4258  
  4259  // GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction: Agent
  4260  // Coaching instructions that customer can configure.
  4261  type GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction struct {
  4262  	// AgentAction: Optional. The action that human agent should take. For example,
  4263  	// "apologize for the slow shipping". If the users only want to use agent
  4264  	// coaching for intent detection, agent_action can be empty
  4265  	AgentAction string `json:"agentAction,omitempty"`
  4266  	// Condition: Optional. The condition of the instruction. For example, "the
  4267  	// customer wants to cancel an order". If the users want the instruction to be
  4268  	// triggered unconditionally, the condition can be empty.
  4269  	Condition string `json:"condition,omitempty"`
  4270  	// Description: Optional. The detailed description of this instruction.
  4271  	Description string `json:"description,omitempty"`
  4272  	// DisplayName: Optional. Display name for the instruction.
  4273  	DisplayName string `json:"displayName,omitempty"`
  4274  	// Metadata: Optional. Additional information attached to this instruction.
  4275  	Metadata map[string]string `json:"metadata,omitempty"`
  4276  	// SystemAction: Optional. The action that system should take. For example,
  4277  	// "call GetOrderTime with order_number={order number provided by the
  4278  	// customer}". If the users don't have plugins or don't want to trigger
  4279  	// plugins, the system_action can be empty
  4280  	SystemAction string `json:"systemAction,omitempty"`
  4281  	// ForceSendFields is a list of field names (e.g. "AgentAction") to
  4282  	// unconditionally include in API requests. By default, fields with empty or
  4283  	// default values are omitted from API requests. See
  4284  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4285  	// details.
  4286  	ForceSendFields []string `json:"-"`
  4287  	// NullFields is a list of field names (e.g. "AgentAction") to include in API
  4288  	// requests with the JSON null value. By default, fields with empty values are
  4289  	// omitted from API requests. See
  4290  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4291  	NullFields []string `json:"-"`
  4292  }
  4293  
  4294  func (s *GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction) MarshalJSON() ([]byte, error) {
  4295  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction
  4296  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4297  }
  4298  
  4299  // GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestion: Suggestion
  4300  // for coaching agents.
  4301  type GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestion struct {
  4302  	// AgentActionSuggestions: Optional. Suggested actions for the agent to take.
  4303  	AgentActionSuggestions []*GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentActionSuggestion `json:"agentActionSuggestions,omitempty"`
  4304  	// ApplicableInstructions: Optional. Instructions applicable based on the
  4305  	// current context.
  4306  	ApplicableInstructions []*GoogleCloudContactcenterinsightsV1alpha1AgentCoachingInstruction `json:"applicableInstructions,omitempty"`
  4307  	// SampleResponses: Optional. Sample response for the Agent.
  4308  	SampleResponses []*GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionSampleResponse `json:"sampleResponses,omitempty"`
  4309  	// SuggestionEval: Self evaluation of the suggestion.
  4310  	SuggestionEval *GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionEval `json:"suggestionEval,omitempty"`
  4311  	// SuggestionReasoning: Reasoning for the suggestion.
  4312  	SuggestionReasoning *GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionReasoning `json:"suggestionReasoning,omitempty"`
  4313  	// ForceSendFields is a list of field names (e.g. "AgentActionSuggestions") to
  4314  	// unconditionally include in API requests. By default, fields with empty or
  4315  	// default values are omitted from API requests. See
  4316  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4317  	// details.
  4318  	ForceSendFields []string `json:"-"`
  4319  	// NullFields is a list of field names (e.g. "AgentActionSuggestions") to
  4320  	// include in API requests with the JSON null value. By default, fields with
  4321  	// empty values are omitted from API requests. See
  4322  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4323  	NullFields []string `json:"-"`
  4324  }
  4325  
  4326  func (s *GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestion) MarshalJSON() ([]byte, error) {
  4327  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestion
  4328  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4329  }
  4330  
  4331  // GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentActionSug
  4332  // gestion: Actions suggested for the agent. This is based on applicable
  4333  // instructions.
  4334  type GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentActionSuggestion struct {
  4335  	// AgentAction: Optional. The suggested action for the agent.
  4336  	AgentAction string `json:"agentAction,omitempty"`
  4337  	// ForceSendFields is a list of field names (e.g. "AgentAction") to
  4338  	// unconditionally include in API requests. By default, fields with empty or
  4339  	// default values are omitted from API requests. See
  4340  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4341  	// details.
  4342  	ForceSendFields []string `json:"-"`
  4343  	// NullFields is a list of field names (e.g. "AgentAction") to include in API
  4344  	// requests with the JSON null value. By default, fields with empty values are
  4345  	// omitted from API requests. See
  4346  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4347  	NullFields []string `json:"-"`
  4348  }
  4349  
  4350  func (s *GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentActionSuggestion) MarshalJSON() ([]byte, error) {
  4351  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentActionSuggestion
  4352  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4353  }
  4354  
  4355  // GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingS
  4356  // uggestionEval: Self evaluations of the suggestion.
  4357  type GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionEval struct {
  4358  	// ActionActionSuggestionEval: Optional. Eval for Agent action suggestion.
  4359  	ActionActionSuggestionEval string `json:"actionActionSuggestionEval,omitempty"`
  4360  	// SampleResponseEval: Optional. Eval for sample response.
  4361  	SampleResponseEval string `json:"sampleResponseEval,omitempty"`
  4362  	// ForceSendFields is a list of field names (e.g. "ActionActionSuggestionEval")
  4363  	// to unconditionally include in API requests. By default, fields with empty or
  4364  	// default values are omitted from API requests. See
  4365  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4366  	// details.
  4367  	ForceSendFields []string `json:"-"`
  4368  	// NullFields is a list of field names (e.g. "ActionActionSuggestionEval") to
  4369  	// include in API requests with the JSON null value. By default, fields with
  4370  	// empty values are omitted from API requests. See
  4371  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4372  	NullFields []string `json:"-"`
  4373  }
  4374  
  4375  func (s *GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionEval) MarshalJSON() ([]byte, error) {
  4376  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionEval
  4377  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4378  }
  4379  
  4380  // GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingS
  4381  // uggestionReasoning: Reasoning for the suggestion.
  4382  type GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionReasoning struct {
  4383  	// AgentActionTaken: Optional. The actions that the agent has taken already.
  4384  	AgentActionTaken string `json:"agentActionTaken,omitempty"`
  4385  	// IssueSummary: Optional. Summary of the issue.
  4386  	IssueSummary string `json:"issueSummary,omitempty"`
  4387  	// ForceSendFields is a list of field names (e.g. "AgentActionTaken") to
  4388  	// unconditionally include in API requests. By default, fields with empty or
  4389  	// default values are omitted from API requests. See
  4390  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4391  	// details.
  4392  	ForceSendFields []string `json:"-"`
  4393  	// NullFields is a list of field names (e.g. "AgentActionTaken") to include in
  4394  	// API requests with the JSON null value. By default, fields with empty values
  4395  	// are omitted from API requests. See
  4396  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4397  	NullFields []string `json:"-"`
  4398  }
  4399  
  4400  func (s *GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionReasoning) MarshalJSON() ([]byte, error) {
  4401  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionAgentCoachingSuggestionReasoning
  4402  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4403  }
  4404  
  4405  // GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionSampleResponse
  4406  // : Sample response that the agent can use. This could be based on applicable
  4407  // instructions and ingested data from other systems.
  4408  type GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionSampleResponse struct {
  4409  	// ResponseText: Optional. Sample response for Agent in text.
  4410  	ResponseText string `json:"responseText,omitempty"`
  4411  	// ForceSendFields is a list of field names (e.g. "ResponseText") to
  4412  	// unconditionally include in API requests. By default, fields with empty or
  4413  	// default values are omitted from API requests. See
  4414  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4415  	// details.
  4416  	ForceSendFields []string `json:"-"`
  4417  	// NullFields is a list of field names (e.g. "ResponseText") to include in API
  4418  	// requests with the JSON null value. By default, fields with empty values are
  4419  	// omitted from API requests. See
  4420  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4421  	NullFields []string `json:"-"`
  4422  }
  4423  
  4424  func (s *GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionSampleResponse) MarshalJSON() ([]byte, error) {
  4425  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestionSampleResponse
  4426  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4427  }
  4428  
  4429  // GoogleCloudContactcenterinsightsV1alpha1Analysis: The analysis resource.
  4430  type GoogleCloudContactcenterinsightsV1alpha1Analysis struct {
  4431  	// AnalysisResult: Output only. The result of the analysis, which is populated
  4432  	// when the analysis finishes.
  4433  	AnalysisResult *GoogleCloudContactcenterinsightsV1alpha1AnalysisResult `json:"analysisResult,omitempty"`
  4434  	// AnnotatorSelector: To select the annotators to run and the phrase matchers
  4435  	// to use (if any). If not specified, all annotators will be run.
  4436  	AnnotatorSelector *GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector `json:"annotatorSelector,omitempty"`
  4437  	// CreateTime: Output only. The time at which the analysis was created, which
  4438  	// occurs when the long-running operation completes.
  4439  	CreateTime string `json:"createTime,omitempty"`
  4440  	// Name: Immutable. The resource name of the analysis. Format:
  4441  	// projects/{project}/locations/{location}/conversations/{conversation}/analyses
  4442  	// /{analysis}
  4443  	Name string `json:"name,omitempty"`
  4444  	// RequestTime: Output only. The time at which the analysis was requested.
  4445  	RequestTime string `json:"requestTime,omitempty"`
  4446  	// ForceSendFields is a list of field names (e.g. "AnalysisResult") to
  4447  	// unconditionally include in API requests. By default, fields with empty or
  4448  	// default values are omitted from API requests. See
  4449  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4450  	// details.
  4451  	ForceSendFields []string `json:"-"`
  4452  	// NullFields is a list of field names (e.g. "AnalysisResult") to include in
  4453  	// API requests with the JSON null value. By default, fields with empty values
  4454  	// are omitted from API requests. See
  4455  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4456  	NullFields []string `json:"-"`
  4457  }
  4458  
  4459  func (s *GoogleCloudContactcenterinsightsV1alpha1Analysis) MarshalJSON() ([]byte, error) {
  4460  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1Analysis
  4461  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4462  }
  4463  
  4464  // GoogleCloudContactcenterinsightsV1alpha1AnalysisResult: The result of an
  4465  // analysis.
  4466  type GoogleCloudContactcenterinsightsV1alpha1AnalysisResult struct {
  4467  	// CallAnalysisMetadata: Call-specific metadata created by the analysis.
  4468  	CallAnalysisMetadata *GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata `json:"callAnalysisMetadata,omitempty"`
  4469  	// EndTime: The time at which the analysis ended.
  4470  	EndTime string `json:"endTime,omitempty"`
  4471  	// ForceSendFields is a list of field names (e.g. "CallAnalysisMetadata") to
  4472  	// unconditionally include in API requests. By default, fields with empty or
  4473  	// default values are omitted from API requests. See
  4474  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4475  	// details.
  4476  	ForceSendFields []string `json:"-"`
  4477  	// NullFields is a list of field names (e.g. "CallAnalysisMetadata") to include
  4478  	// in API requests with the JSON null value. By default, fields with empty
  4479  	// values are omitted from API requests. See
  4480  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4481  	NullFields []string `json:"-"`
  4482  }
  4483  
  4484  func (s *GoogleCloudContactcenterinsightsV1alpha1AnalysisResult) MarshalJSON() ([]byte, error) {
  4485  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1AnalysisResult
  4486  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4487  }
  4488  
  4489  // GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata:
  4490  // Call-specific metadata created during analysis.
  4491  type GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata struct {
  4492  	// Annotations: A list of call annotations that apply to this call.
  4493  	Annotations []*GoogleCloudContactcenterinsightsV1alpha1CallAnnotation `json:"annotations,omitempty"`
  4494  	// Entities: All the entities in the call.
  4495  	Entities map[string]GoogleCloudContactcenterinsightsV1alpha1Entity `json:"entities,omitempty"`
  4496  	// Intents: All the matched intents in the call.
  4497  	Intents map[string]GoogleCloudContactcenterinsightsV1alpha1Intent `json:"intents,omitempty"`
  4498  	// IssueModelResult: Overall conversation-level issue modeling result.
  4499  	IssueModelResult *GoogleCloudContactcenterinsightsV1alpha1IssueModelResult `json:"issueModelResult,omitempty"`
  4500  	// PhraseMatchers: All the matched phrase matchers in the call.
  4501  	PhraseMatchers map[string]GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData `json:"phraseMatchers,omitempty"`
  4502  	// Sentiments: Overall conversation-level sentiment for each channel of the
  4503  	// call.
  4504  	Sentiments []*GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment `json:"sentiments,omitempty"`
  4505  	// Silence: Overall conversation-level silence during the call.
  4506  	Silence *GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence `json:"silence,omitempty"`
  4507  	// ForceSendFields is a list of field names (e.g. "Annotations") to
  4508  	// unconditionally include in API requests. By default, fields with empty or
  4509  	// default values are omitted from API requests. See
  4510  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4511  	// details.
  4512  	ForceSendFields []string `json:"-"`
  4513  	// NullFields is a list of field names (e.g. "Annotations") to include in API
  4514  	// requests with the JSON null value. By default, fields with empty values are
  4515  	// omitted from API requests. See
  4516  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4517  	NullFields []string `json:"-"`
  4518  }
  4519  
  4520  func (s *GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata) MarshalJSON() ([]byte, error) {
  4521  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1AnalysisResultCallAnalysisMetadata
  4522  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4523  }
  4524  
  4525  // GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary: A point in a
  4526  // conversation that marks the start or the end of an annotation.
  4527  type GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary struct {
  4528  	// TranscriptIndex: The index in the sequence of transcribed pieces of the
  4529  	// conversation where the boundary is located. This index starts at zero.
  4530  	TranscriptIndex int64 `json:"transcriptIndex,omitempty"`
  4531  	// WordIndex: The word index of this boundary with respect to the first word in
  4532  	// the transcript piece. This index starts at zero.
  4533  	WordIndex int64 `json:"wordIndex,omitempty"`
  4534  	// ForceSendFields is a list of field names (e.g. "TranscriptIndex") to
  4535  	// unconditionally include in API requests. By default, fields with empty or
  4536  	// default values are omitted from API requests. See
  4537  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4538  	// details.
  4539  	ForceSendFields []string `json:"-"`
  4540  	// NullFields is a list of field names (e.g. "TranscriptIndex") to include in
  4541  	// API requests with the JSON null value. By default, fields with empty values
  4542  	// are omitted from API requests. See
  4543  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4544  	NullFields []string `json:"-"`
  4545  }
  4546  
  4547  func (s *GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary) MarshalJSON() ([]byte, error) {
  4548  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary
  4549  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4550  }
  4551  
  4552  // GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector: Selector of all
  4553  // available annotators and phrase matchers to run.
  4554  type GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector struct {
  4555  	// IssueModels: The issue model to run. If not provided, the most recently
  4556  	// deployed topic model will be used. The provided issue model will only be
  4557  	// used for inference if the issue model is deployed and if
  4558  	// run_issue_model_annotator is set to true. If more than one issue model is
  4559  	// provided, only the first provided issue model will be used for inference.
  4560  	IssueModels []string `json:"issueModels,omitempty"`
  4561  	// PhraseMatchers: The list of phrase matchers to run. If not provided, all
  4562  	// active phrase matchers will be used. If inactive phrase matchers are
  4563  	// provided, they will not be used. Phrase matchers will be run only if
  4564  	// run_phrase_matcher_annotator is set to true. Format:
  4565  	// projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
  4566  	PhraseMatchers []string `json:"phraseMatchers,omitempty"`
  4567  	// RunEntityAnnotator: Whether to run the entity annotator.
  4568  	RunEntityAnnotator bool `json:"runEntityAnnotator,omitempty"`
  4569  	// RunIntentAnnotator: Whether to run the intent annotator.
  4570  	RunIntentAnnotator bool `json:"runIntentAnnotator,omitempty"`
  4571  	// RunInterruptionAnnotator: Whether to run the interruption annotator.
  4572  	RunInterruptionAnnotator bool `json:"runInterruptionAnnotator,omitempty"`
  4573  	// RunIssueModelAnnotator: Whether to run the issue model annotator. A model
  4574  	// should have already been deployed for this to take effect.
  4575  	RunIssueModelAnnotator bool `json:"runIssueModelAnnotator,omitempty"`
  4576  	// RunPhraseMatcherAnnotator: Whether to run the active phrase matcher
  4577  	// annotator(s).
  4578  	RunPhraseMatcherAnnotator bool `json:"runPhraseMatcherAnnotator,omitempty"`
  4579  	// RunSentimentAnnotator: Whether to run the sentiment annotator.
  4580  	RunSentimentAnnotator bool `json:"runSentimentAnnotator,omitempty"`
  4581  	// RunSilenceAnnotator: Whether to run the silence annotator.
  4582  	RunSilenceAnnotator bool `json:"runSilenceAnnotator,omitempty"`
  4583  	// RunSummarizationAnnotator: Whether to run the summarization annotator.
  4584  	RunSummarizationAnnotator bool `json:"runSummarizationAnnotator,omitempty"`
  4585  	// SummarizationConfig: Configuration for the summarization annotator.
  4586  	SummarizationConfig *GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig `json:"summarizationConfig,omitempty"`
  4587  	// ForceSendFields is a list of field names (e.g. "IssueModels") to
  4588  	// unconditionally include in API requests. By default, fields with empty or
  4589  	// default values are omitted from API requests. See
  4590  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4591  	// details.
  4592  	ForceSendFields []string `json:"-"`
  4593  	// NullFields is a list of field names (e.g. "IssueModels") to include in API
  4594  	// requests with the JSON null value. By default, fields with empty values are
  4595  	// omitted from API requests. See
  4596  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4597  	NullFields []string `json:"-"`
  4598  }
  4599  
  4600  func (s *GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector) MarshalJSON() ([]byte, error) {
  4601  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector
  4602  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4603  }
  4604  
  4605  // GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig:
  4606  //
  4607  //	Configuration for summarization.
  4608  type GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig struct {
  4609  	// ConversationProfile: Resource name of the Dialogflow conversation profile.
  4610  	// Format:
  4611  	// projects/{project}/locations/{location}/conversationProfiles/{conversation_pr
  4612  	// ofile}
  4613  	ConversationProfile string `json:"conversationProfile,omitempty"`
  4614  	// SummarizationModel: Default summarization model to be used.
  4615  	//
  4616  	// Possible values:
  4617  	//   "SUMMARIZATION_MODEL_UNSPECIFIED" - Unspecified summarization model.
  4618  	//   "BASELINE_MODEL" - The CCAI baseline model.
  4619  	//   "BASELINE_MODEL_V2_0" - The CCAI baseline model, V2.0.
  4620  	SummarizationModel string `json:"summarizationModel,omitempty"`
  4621  	// ForceSendFields is a list of field names (e.g. "ConversationProfile") to
  4622  	// unconditionally include in API requests. By default, fields with empty or
  4623  	// default values are omitted from API requests. See
  4624  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4625  	// details.
  4626  	ForceSendFields []string `json:"-"`
  4627  	// NullFields is a list of field names (e.g. "ConversationProfile") to include
  4628  	// in API requests with the JSON null value. By default, fields with empty
  4629  	// values are omitted from API requests. See
  4630  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4631  	NullFields []string `json:"-"`
  4632  }
  4633  
  4634  func (s *GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig) MarshalJSON() ([]byte, error) {
  4635  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelectorSummarizationConfig
  4636  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4637  }
  4638  
  4639  // GoogleCloudContactcenterinsightsV1alpha1AnswerFeedback: The feedback that
  4640  // the customer has about a certain answer in the conversation.
  4641  type GoogleCloudContactcenterinsightsV1alpha1AnswerFeedback struct {
  4642  	// Clicked: Indicates whether an answer or item was clicked by the human agent.
  4643  	Clicked bool `json:"clicked,omitempty"`
  4644  	// CorrectnessLevel: The correctness level of an answer.
  4645  	//
  4646  	// Possible values:
  4647  	//   "CORRECTNESS_LEVEL_UNSPECIFIED" - Correctness level unspecified.
  4648  	//   "NOT_CORRECT" - Answer is totally wrong.
  4649  	//   "PARTIALLY_CORRECT" - Answer is partially correct.
  4650  	//   "FULLY_CORRECT" - Answer is fully correct.
  4651  	CorrectnessLevel string `json:"correctnessLevel,omitempty"`
  4652  	// Displayed: Indicates whether an answer or item was displayed to the human
  4653  	// agent in the agent desktop UI.
  4654  	Displayed bool `json:"displayed,omitempty"`
  4655  	// ForceSendFields is a list of field names (e.g. "Clicked") to unconditionally
  4656  	// include in API requests. By default, fields with empty or default values are
  4657  	// omitted from API requests. See
  4658  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4659  	// details.
  4660  	ForceSendFields []string `json:"-"`
  4661  	// NullFields is a list of field names (e.g. "Clicked") to include in API
  4662  	// requests with the JSON null value. By default, fields with empty values are
  4663  	// omitted from API requests. See
  4664  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4665  	NullFields []string `json:"-"`
  4666  }
  4667  
  4668  func (s *GoogleCloudContactcenterinsightsV1alpha1AnswerFeedback) MarshalJSON() ([]byte, error) {
  4669  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1AnswerFeedback
  4670  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4671  }
  4672  
  4673  // GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData: Agent Assist
  4674  // Article Suggestion data.
  4675  type GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData struct {
  4676  	// ConfidenceScore: The system's confidence score that this article is a good
  4677  	// match for this conversation, ranging from 0.0 (completely uncertain) to 1.0
  4678  	// (completely certain).
  4679  	ConfidenceScore float64 `json:"confidenceScore,omitempty"`
  4680  	// Metadata: Map that contains metadata about the Article Suggestion and the
  4681  	// document that it originates from.
  4682  	Metadata map[string]string `json:"metadata,omitempty"`
  4683  	// QueryRecord: The name of the answer record. Format:
  4684  	// projects/{project}/locations/{location}/answerRecords/{answer_record}
  4685  	QueryRecord string `json:"queryRecord,omitempty"`
  4686  	// Source: The knowledge document that this answer was extracted from. Format:
  4687  	// projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}
  4688  	Source string `json:"source,omitempty"`
  4689  	// Title: Article title.
  4690  	Title string `json:"title,omitempty"`
  4691  	// Uri: Article URI.
  4692  	Uri string `json:"uri,omitempty"`
  4693  	// ForceSendFields is a list of field names (e.g. "ConfidenceScore") to
  4694  	// unconditionally include in API requests. By default, fields with empty or
  4695  	// default values are omitted from API requests. See
  4696  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4697  	// details.
  4698  	ForceSendFields []string `json:"-"`
  4699  	// NullFields is a list of field names (e.g. "ConfidenceScore") to include in
  4700  	// API requests with the JSON null value. By default, fields with empty values
  4701  	// are omitted from API requests. See
  4702  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4703  	NullFields []string `json:"-"`
  4704  }
  4705  
  4706  func (s *GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData) MarshalJSON() ([]byte, error) {
  4707  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData
  4708  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4709  }
  4710  
  4711  func (s *GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData) UnmarshalJSON(data []byte) error {
  4712  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData
  4713  	var s1 struct {
  4714  		ConfidenceScore gensupport.JSONFloat64 `json:"confidenceScore"`
  4715  		*NoMethod
  4716  	}
  4717  	s1.NoMethod = (*NoMethod)(s)
  4718  	if err := json.Unmarshal(data, &s1); err != nil {
  4719  		return err
  4720  	}
  4721  	s.ConfidenceScore = float64(s1.ConfidenceScore)
  4722  	return nil
  4723  }
  4724  
  4725  // GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsMetadata:
  4726  // The metadata for a bulk analyze conversations operation.
  4727  type GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsMetadata struct {
  4728  	// CompletedAnalysesCount: The number of requested analyses that have completed
  4729  	// successfully so far.
  4730  	CompletedAnalysesCount int64 `json:"completedAnalysesCount,omitempty"`
  4731  	// CreateTime: The time the operation was created.
  4732  	CreateTime string `json:"createTime,omitempty"`
  4733  	// EndTime: The time the operation finished running.
  4734  	EndTime string `json:"endTime,omitempty"`
  4735  	// FailedAnalysesCount: The number of requested analyses that have failed so
  4736  	// far.
  4737  	FailedAnalysesCount int64 `json:"failedAnalysesCount,omitempty"`
  4738  	// PartialErrors: Output only. Partial errors during bulk analyze operation
  4739  	// that might cause the operation output to be incomplete.
  4740  	PartialErrors []*GoogleRpcStatus `json:"partialErrors,omitempty"`
  4741  	// Request: The original request for bulk analyze.
  4742  	Request *GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest `json:"request,omitempty"`
  4743  	// TotalRequestedAnalysesCount: Total number of analyses requested. Computed by
  4744  	// the number of conversations returned by `filter` multiplied by
  4745  	// `analysis_percentage` in the request.
  4746  	TotalRequestedAnalysesCount int64 `json:"totalRequestedAnalysesCount,omitempty"`
  4747  	// ForceSendFields is a list of field names (e.g. "CompletedAnalysesCount") to
  4748  	// unconditionally include in API requests. By default, fields with empty or
  4749  	// default values are omitted from API requests. See
  4750  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4751  	// details.
  4752  	ForceSendFields []string `json:"-"`
  4753  	// NullFields is a list of field names (e.g. "CompletedAnalysesCount") to
  4754  	// include in API requests with the JSON null value. By default, fields with
  4755  	// empty values are omitted from API requests. See
  4756  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4757  	NullFields []string `json:"-"`
  4758  }
  4759  
  4760  func (s *GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsMetadata) MarshalJSON() ([]byte, error) {
  4761  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsMetadata
  4762  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4763  }
  4764  
  4765  // GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest: The
  4766  // request to analyze conversations in bulk.
  4767  type GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest struct {
  4768  	// AnalysisPercentage: Required. Percentage of selected conversation to
  4769  	// analyze, between [0, 100].
  4770  	AnalysisPercentage float64 `json:"analysisPercentage,omitempty"`
  4771  	// AnnotatorSelector: To select the annotators to run and the phrase matchers
  4772  	// to use (if any). If not specified, all annotators will be run.
  4773  	AnnotatorSelector *GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector `json:"annotatorSelector,omitempty"`
  4774  	// Filter: Required. Filter used to select the subset of conversations to
  4775  	// analyze.
  4776  	Filter string `json:"filter,omitempty"`
  4777  	// Parent: Required. The parent resource to create analyses in.
  4778  	Parent string `json:"parent,omitempty"`
  4779  	// ForceSendFields is a list of field names (e.g. "AnalysisPercentage") to
  4780  	// unconditionally include in API requests. By default, fields with empty or
  4781  	// default values are omitted from API requests. See
  4782  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4783  	// details.
  4784  	ForceSendFields []string `json:"-"`
  4785  	// NullFields is a list of field names (e.g. "AnalysisPercentage") to include
  4786  	// in API requests with the JSON null value. By default, fields with empty
  4787  	// values are omitted from API requests. See
  4788  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4789  	NullFields []string `json:"-"`
  4790  }
  4791  
  4792  func (s *GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest) MarshalJSON() ([]byte, error) {
  4793  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest
  4794  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4795  }
  4796  
  4797  func (s *GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest) UnmarshalJSON(data []byte) error {
  4798  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsRequest
  4799  	var s1 struct {
  4800  		AnalysisPercentage gensupport.JSONFloat64 `json:"analysisPercentage"`
  4801  		*NoMethod
  4802  	}
  4803  	s1.NoMethod = (*NoMethod)(s)
  4804  	if err := json.Unmarshal(data, &s1); err != nil {
  4805  		return err
  4806  	}
  4807  	s.AnalysisPercentage = float64(s1.AnalysisPercentage)
  4808  	return nil
  4809  }
  4810  
  4811  // GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsResponse:
  4812  // The response for a bulk analyze conversations operation.
  4813  type GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsResponse struct {
  4814  	// FailedAnalysisCount: Count of failed analyses.
  4815  	FailedAnalysisCount int64 `json:"failedAnalysisCount,omitempty"`
  4816  	// SuccessfulAnalysisCount: Count of successful analyses.
  4817  	SuccessfulAnalysisCount int64 `json:"successfulAnalysisCount,omitempty"`
  4818  	// ForceSendFields is a list of field names (e.g. "FailedAnalysisCount") to
  4819  	// unconditionally include in API requests. By default, fields with empty or
  4820  	// default values are omitted from API requests. See
  4821  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4822  	// details.
  4823  	ForceSendFields []string `json:"-"`
  4824  	// NullFields is a list of field names (e.g. "FailedAnalysisCount") to include
  4825  	// in API requests with the JSON null value. By default, fields with empty
  4826  	// values are omitted from API requests. See
  4827  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4828  	NullFields []string `json:"-"`
  4829  }
  4830  
  4831  func (s *GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsResponse) MarshalJSON() ([]byte, error) {
  4832  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1BulkAnalyzeConversationsResponse
  4833  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4834  }
  4835  
  4836  // GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsMetadata: The
  4837  // metadata for a bulk delete conversations operation.
  4838  type GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsMetadata struct {
  4839  	// CreateTime: The time the operation was created.
  4840  	CreateTime string `json:"createTime,omitempty"`
  4841  	// EndTime: The time the operation finished running.
  4842  	EndTime string `json:"endTime,omitempty"`
  4843  	// PartialErrors: Partial errors during bulk delete conversations operation
  4844  	// that might cause the operation output to be incomplete.
  4845  	PartialErrors []*GoogleRpcStatus `json:"partialErrors,omitempty"`
  4846  	// Request: The original request for bulk delete.
  4847  	Request *GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest `json:"request,omitempty"`
  4848  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  4849  	// unconditionally include in API requests. By default, fields with empty or
  4850  	// default values are omitted from API requests. See
  4851  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4852  	// details.
  4853  	ForceSendFields []string `json:"-"`
  4854  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  4855  	// requests with the JSON null value. By default, fields with empty values are
  4856  	// omitted from API requests. See
  4857  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4858  	NullFields []string `json:"-"`
  4859  }
  4860  
  4861  func (s *GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsMetadata) MarshalJSON() ([]byte, error) {
  4862  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsMetadata
  4863  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4864  }
  4865  
  4866  // GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest: The
  4867  // request to delete conversations in bulk.
  4868  type GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest struct {
  4869  	// Filter: Filter used to select the subset of conversations to delete.
  4870  	Filter string `json:"filter,omitempty"`
  4871  	// Force: If set to true, all of this conversation's analyses will also be
  4872  	// deleted. Otherwise, the request will only succeed if the conversation has no
  4873  	// analyses.
  4874  	Force bool `json:"force,omitempty"`
  4875  	// MaxDeleteCount: Maximum number of conversations to delete.
  4876  	MaxDeleteCount int64 `json:"maxDeleteCount,omitempty"`
  4877  	// Parent: Required. The parent resource to delete conversations from. Format:
  4878  	// projects/{project}/locations/{location}
  4879  	Parent string `json:"parent,omitempty"`
  4880  	// ForceSendFields is a list of field names (e.g. "Filter") to unconditionally
  4881  	// include in API requests. By default, fields with empty or default values are
  4882  	// omitted from API requests. See
  4883  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4884  	// details.
  4885  	ForceSendFields []string `json:"-"`
  4886  	// NullFields is a list of field names (e.g. "Filter") to include in API
  4887  	// requests with the JSON null value. By default, fields with empty values are
  4888  	// omitted from API requests. See
  4889  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4890  	NullFields []string `json:"-"`
  4891  }
  4892  
  4893  func (s *GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest) MarshalJSON() ([]byte, error) {
  4894  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsRequest
  4895  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4896  }
  4897  
  4898  // GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsResponse: The
  4899  // response for a bulk delete conversations operation.
  4900  type GoogleCloudContactcenterinsightsV1alpha1BulkDeleteConversationsResponse struct {
  4901  }
  4902  
  4903  // GoogleCloudContactcenterinsightsV1alpha1CallAnnotation: A piece of metadata
  4904  // that applies to a window of a call.
  4905  type GoogleCloudContactcenterinsightsV1alpha1CallAnnotation struct {
  4906  	// AnnotationEndBoundary: The boundary in the conversation where the annotation
  4907  	// ends, inclusive.
  4908  	AnnotationEndBoundary *GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary `json:"annotationEndBoundary,omitempty"`
  4909  	// AnnotationStartBoundary: The boundary in the conversation where the
  4910  	// annotation starts, inclusive.
  4911  	AnnotationStartBoundary *GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary `json:"annotationStartBoundary,omitempty"`
  4912  	// ChannelTag: The channel of the audio where the annotation occurs. For
  4913  	// single-channel audio, this field is not populated.
  4914  	ChannelTag int64 `json:"channelTag,omitempty"`
  4915  	// EntityMentionData: Data specifying an entity mention.
  4916  	EntityMentionData *GoogleCloudContactcenterinsightsV1alpha1EntityMentionData `json:"entityMentionData,omitempty"`
  4917  	// HoldData: Data specifying a hold.
  4918  	HoldData *GoogleCloudContactcenterinsightsV1alpha1HoldData `json:"holdData,omitempty"`
  4919  	// IntentMatchData: Data specifying an intent match.
  4920  	IntentMatchData *GoogleCloudContactcenterinsightsV1alpha1IntentMatchData `json:"intentMatchData,omitempty"`
  4921  	// InterruptionData: Data specifying an interruption.
  4922  	InterruptionData *GoogleCloudContactcenterinsightsV1alpha1InterruptionData `json:"interruptionData,omitempty"`
  4923  	// IssueMatchData: Data specifying an issue match.
  4924  	IssueMatchData *GoogleCloudContactcenterinsightsV1alpha1IssueMatchData `json:"issueMatchData,omitempty"`
  4925  	// PhraseMatchData: Data specifying a phrase match.
  4926  	PhraseMatchData *GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData `json:"phraseMatchData,omitempty"`
  4927  	// SentimentData: Data specifying sentiment.
  4928  	SentimentData *GoogleCloudContactcenterinsightsV1alpha1SentimentData `json:"sentimentData,omitempty"`
  4929  	// SilenceData: Data specifying silence.
  4930  	SilenceData *GoogleCloudContactcenterinsightsV1alpha1SilenceData `json:"silenceData,omitempty"`
  4931  	// ForceSendFields is a list of field names (e.g. "AnnotationEndBoundary") to
  4932  	// unconditionally include in API requests. By default, fields with empty or
  4933  	// default values are omitted from API requests. See
  4934  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4935  	// details.
  4936  	ForceSendFields []string `json:"-"`
  4937  	// NullFields is a list of field names (e.g. "AnnotationEndBoundary") to
  4938  	// include in API requests with the JSON null value. By default, fields with
  4939  	// empty values are omitted from API requests. See
  4940  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4941  	NullFields []string `json:"-"`
  4942  }
  4943  
  4944  func (s *GoogleCloudContactcenterinsightsV1alpha1CallAnnotation) MarshalJSON() ([]byte, error) {
  4945  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1CallAnnotation
  4946  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4947  }
  4948  
  4949  // GoogleCloudContactcenterinsightsV1alpha1Conversation: The conversation
  4950  // resource.
  4951  type GoogleCloudContactcenterinsightsV1alpha1Conversation struct {
  4952  	// AgentId: An opaque, user-specified string representing the human agent who
  4953  	// handled the conversation.
  4954  	AgentId string `json:"agentId,omitempty"`
  4955  	// CallMetadata: Call-specific metadata.
  4956  	CallMetadata *GoogleCloudContactcenterinsightsV1alpha1ConversationCallMetadata `json:"callMetadata,omitempty"`
  4957  	// CreateTime: Output only. The time at which the conversation was created.
  4958  	CreateTime string `json:"createTime,omitempty"`
  4959  	// DataSource: The source of the audio and transcription for the conversation.
  4960  	DataSource *GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource `json:"dataSource,omitempty"`
  4961  	// DialogflowIntents: Output only. All the matched Dialogflow intents in the
  4962  	// call. The key corresponds to a Dialogflow intent, format:
  4963  	// projects/{project}/agent/{agent}/intents/{intent}
  4964  	DialogflowIntents map[string]GoogleCloudContactcenterinsightsV1alpha1DialogflowIntent `json:"dialogflowIntents,omitempty"`
  4965  	// Duration: Output only. The duration of the conversation.
  4966  	Duration string `json:"duration,omitempty"`
  4967  	// ExpireTime: The time at which this conversation should expire. After this
  4968  	// time, the conversation data and any associated analyses will be deleted.
  4969  	ExpireTime string `json:"expireTime,omitempty"`
  4970  	// Labels: A map for the user to specify any custom fields. A maximum of 20
  4971  	// labels per conversation is allowed, with a maximum of 256 characters per
  4972  	// entry.
  4973  	Labels map[string]string `json:"labels,omitempty"`
  4974  	// LanguageCode: A user-specified language code for the conversation.
  4975  	LanguageCode string `json:"languageCode,omitempty"`
  4976  	// LatestAnalysis: Output only. The conversation's latest analysis, if one
  4977  	// exists.
  4978  	LatestAnalysis *GoogleCloudContactcenterinsightsV1alpha1Analysis `json:"latestAnalysis,omitempty"`
  4979  	// LatestSummary: Output only. Latest summary of the conversation.
  4980  	LatestSummary *GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData `json:"latestSummary,omitempty"`
  4981  	// Medium: Immutable. The conversation medium, if unspecified will default to
  4982  	// PHONE_CALL.
  4983  	//
  4984  	// Possible values:
  4985  	//   "MEDIUM_UNSPECIFIED" - Default value, if unspecified will default to
  4986  	// PHONE_CALL.
  4987  	//   "PHONE_CALL" - The format for conversations that took place over the
  4988  	// phone.
  4989  	//   "CHAT" - The format for conversations that took place over chat.
  4990  	Medium string `json:"medium,omitempty"`
  4991  	// Name: Immutable. The resource name of the conversation. Format:
  4992  	// projects/{project}/locations/{location}/conversations/{conversation}
  4993  	Name string `json:"name,omitempty"`
  4994  	// ObfuscatedUserId: Obfuscated user ID which the customer sent to us.
  4995  	ObfuscatedUserId string `json:"obfuscatedUserId,omitempty"`
  4996  	// QualityMetadata: Conversation metadata related to quality management.
  4997  	QualityMetadata *GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata `json:"qualityMetadata,omitempty"`
  4998  	// RuntimeAnnotations: Output only. The annotations that were generated during
  4999  	// the customer and agent interaction.
  5000  	RuntimeAnnotations []*GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation `json:"runtimeAnnotations,omitempty"`
  5001  	// StartTime: The time at which the conversation started.
  5002  	StartTime string `json:"startTime,omitempty"`
  5003  	// Transcript: Output only. The conversation transcript.
  5004  	Transcript *GoogleCloudContactcenterinsightsV1alpha1ConversationTranscript `json:"transcript,omitempty"`
  5005  	// Ttl: Input only. The TTL for this resource. If specified, then this TTL will
  5006  	// be used to calculate the expire time.
  5007  	Ttl string `json:"ttl,omitempty"`
  5008  	// TurnCount: Output only. The number of turns in the conversation.
  5009  	TurnCount int64 `json:"turnCount,omitempty"`
  5010  	// UpdateTime: Output only. The most recent time at which the conversation was
  5011  	// updated.
  5012  	UpdateTime string `json:"updateTime,omitempty"`
  5013  	// ForceSendFields is a list of field names (e.g. "AgentId") to unconditionally
  5014  	// include in API requests. By default, fields with empty or default values are
  5015  	// omitted from API requests. See
  5016  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5017  	// details.
  5018  	ForceSendFields []string `json:"-"`
  5019  	// NullFields is a list of field names (e.g. "AgentId") to include in API
  5020  	// requests with the JSON null value. By default, fields with empty values are
  5021  	// omitted from API requests. See
  5022  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5023  	NullFields []string `json:"-"`
  5024  }
  5025  
  5026  func (s *GoogleCloudContactcenterinsightsV1alpha1Conversation) MarshalJSON() ([]byte, error) {
  5027  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1Conversation
  5028  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5029  }
  5030  
  5031  // GoogleCloudContactcenterinsightsV1alpha1ConversationCallMetadata:
  5032  // Call-specific metadata.
  5033  type GoogleCloudContactcenterinsightsV1alpha1ConversationCallMetadata struct {
  5034  	// AgentChannel: The audio channel that contains the agent.
  5035  	AgentChannel int64 `json:"agentChannel,omitempty"`
  5036  	// CustomerChannel: The audio channel that contains the customer.
  5037  	CustomerChannel int64 `json:"customerChannel,omitempty"`
  5038  	// ForceSendFields is a list of field names (e.g. "AgentChannel") to
  5039  	// unconditionally include in API requests. By default, fields with empty or
  5040  	// default values are omitted from API requests. See
  5041  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5042  	// details.
  5043  	ForceSendFields []string `json:"-"`
  5044  	// NullFields is a list of field names (e.g. "AgentChannel") to include in API
  5045  	// requests with the JSON null value. By default, fields with empty values are
  5046  	// omitted from API requests. See
  5047  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5048  	NullFields []string `json:"-"`
  5049  }
  5050  
  5051  func (s *GoogleCloudContactcenterinsightsV1alpha1ConversationCallMetadata) MarshalJSON() ([]byte, error) {
  5052  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ConversationCallMetadata
  5053  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5054  }
  5055  
  5056  // GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource: The
  5057  // conversation source, which is a combination of transcript and audio.
  5058  type GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource struct {
  5059  	// DialogflowSource: The source when the conversation comes from Dialogflow.
  5060  	DialogflowSource *GoogleCloudContactcenterinsightsV1alpha1DialogflowSource `json:"dialogflowSource,omitempty"`
  5061  	// GcsSource: A Cloud Storage location specification for the audio and
  5062  	// transcript.
  5063  	GcsSource *GoogleCloudContactcenterinsightsV1alpha1GcsSource `json:"gcsSource,omitempty"`
  5064  	// ForceSendFields is a list of field names (e.g. "DialogflowSource") to
  5065  	// unconditionally include in API requests. By default, fields with empty or
  5066  	// default values are omitted from API requests. See
  5067  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5068  	// details.
  5069  	ForceSendFields []string `json:"-"`
  5070  	// NullFields is a list of field names (e.g. "DialogflowSource") to include in
  5071  	// API requests with the JSON null value. By default, fields with empty values
  5072  	// are omitted from API requests. See
  5073  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5074  	NullFields []string `json:"-"`
  5075  }
  5076  
  5077  func (s *GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource) MarshalJSON() ([]byte, error) {
  5078  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ConversationDataSource
  5079  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5080  }
  5081  
  5082  // GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment: One
  5083  // channel of conversation-level sentiment data.
  5084  type GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment struct {
  5085  	// ChannelTag: The channel of the audio that the data applies to.
  5086  	ChannelTag int64 `json:"channelTag,omitempty"`
  5087  	// SentimentData: Data specifying sentiment.
  5088  	SentimentData *GoogleCloudContactcenterinsightsV1alpha1SentimentData `json:"sentimentData,omitempty"`
  5089  	// ForceSendFields is a list of field names (e.g. "ChannelTag") to
  5090  	// unconditionally include in API requests. By default, fields with empty or
  5091  	// default values are omitted from API requests. See
  5092  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5093  	// details.
  5094  	ForceSendFields []string `json:"-"`
  5095  	// NullFields is a list of field names (e.g. "ChannelTag") to include in API
  5096  	// requests with the JSON null value. By default, fields with empty values are
  5097  	// omitted from API requests. See
  5098  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5099  	NullFields []string `json:"-"`
  5100  }
  5101  
  5102  func (s *GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment) MarshalJSON() ([]byte, error) {
  5103  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSentiment
  5104  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5105  }
  5106  
  5107  // GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence:
  5108  // Conversation-level silence data.
  5109  type GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence struct {
  5110  	// SilenceDuration: Amount of time calculated to be in silence.
  5111  	SilenceDuration string `json:"silenceDuration,omitempty"`
  5112  	// SilencePercentage: Percentage of the total conversation spent in silence.
  5113  	SilencePercentage float64 `json:"silencePercentage,omitempty"`
  5114  	// ForceSendFields is a list of field names (e.g. "SilenceDuration") to
  5115  	// unconditionally include in API requests. By default, fields with empty or
  5116  	// default values are omitted from API requests. See
  5117  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5118  	// details.
  5119  	ForceSendFields []string `json:"-"`
  5120  	// NullFields is a list of field names (e.g. "SilenceDuration") to include in
  5121  	// API requests with the JSON null value. By default, fields with empty values
  5122  	// are omitted from API requests. See
  5123  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5124  	NullFields []string `json:"-"`
  5125  }
  5126  
  5127  func (s *GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence) MarshalJSON() ([]byte, error) {
  5128  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence
  5129  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5130  }
  5131  
  5132  func (s *GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence) UnmarshalJSON(data []byte) error {
  5133  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ConversationLevelSilence
  5134  	var s1 struct {
  5135  		SilencePercentage gensupport.JSONFloat64 `json:"silencePercentage"`
  5136  		*NoMethod
  5137  	}
  5138  	s1.NoMethod = (*NoMethod)(s)
  5139  	if err := json.Unmarshal(data, &s1); err != nil {
  5140  		return err
  5141  	}
  5142  	s.SilencePercentage = float64(s1.SilencePercentage)
  5143  	return nil
  5144  }
  5145  
  5146  // GoogleCloudContactcenterinsightsV1alpha1ConversationParticipant: The call
  5147  // participant speaking for a given utterance.
  5148  type GoogleCloudContactcenterinsightsV1alpha1ConversationParticipant struct {
  5149  	// DialogflowParticipant: Deprecated. Use `dialogflow_participant_name`
  5150  	// instead. The name of the Dialogflow participant. Format:
  5151  	// projects/{project}/locations/{location}/conversations/{conversation}/particip
  5152  	// ants/{participant}
  5153  	DialogflowParticipant string `json:"dialogflowParticipant,omitempty"`
  5154  	// DialogflowParticipantName: The name of the participant provided by
  5155  	// Dialogflow. Format:
  5156  	// projects/{project}/locations/{location}/conversations/{conversation}/particip
  5157  	// ants/{participant}
  5158  	DialogflowParticipantName string `json:"dialogflowParticipantName,omitempty"`
  5159  	// ObfuscatedExternalUserId: Obfuscated user ID from Dialogflow.
  5160  	ObfuscatedExternalUserId string `json:"obfuscatedExternalUserId,omitempty"`
  5161  	// Role: The role of the participant.
  5162  	//
  5163  	// Possible values:
  5164  	//   "ROLE_UNSPECIFIED" - Participant's role is not set.
  5165  	//   "HUMAN_AGENT" - Participant is a human agent.
  5166  	//   "AUTOMATED_AGENT" - Participant is an automated agent.
  5167  	//   "END_USER" - Participant is an end user who conversed with the contact
  5168  	// center.
  5169  	//   "ANY_AGENT" - Participant is either a human or automated agent.
  5170  	Role string `json:"role,omitempty"`
  5171  	// UserId: A user-specified ID representing the participant.
  5172  	UserId string `json:"userId,omitempty"`
  5173  	// ForceSendFields is a list of field names (e.g. "DialogflowParticipant") to
  5174  	// unconditionally include in API requests. By default, fields with empty or
  5175  	// default values are omitted from API requests. See
  5176  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5177  	// details.
  5178  	ForceSendFields []string `json:"-"`
  5179  	// NullFields is a list of field names (e.g. "DialogflowParticipant") to
  5180  	// include in API requests with the JSON null value. By default, fields with
  5181  	// empty values are omitted from API requests. See
  5182  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5183  	NullFields []string `json:"-"`
  5184  }
  5185  
  5186  func (s *GoogleCloudContactcenterinsightsV1alpha1ConversationParticipant) MarshalJSON() ([]byte, error) {
  5187  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ConversationParticipant
  5188  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5189  }
  5190  
  5191  // GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata:
  5192  // Conversation metadata related to quality management.
  5193  type GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata struct {
  5194  	// AgentInfo: Information about agents involved in the call.
  5195  	AgentInfo []*GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo `json:"agentInfo,omitempty"`
  5196  	// CustomerSatisfactionRating: An arbitrary integer value indicating the
  5197  	// customer's satisfaction rating.
  5198  	CustomerSatisfactionRating int64 `json:"customerSatisfactionRating,omitempty"`
  5199  	// MenuPath: An arbitrary string value specifying the menu path the customer
  5200  	// took.
  5201  	MenuPath string `json:"menuPath,omitempty"`
  5202  	// WaitDuration: The amount of time the customer waited to connect with an
  5203  	// agent.
  5204  	WaitDuration string `json:"waitDuration,omitempty"`
  5205  	// ForceSendFields is a list of field names (e.g. "AgentInfo") to
  5206  	// unconditionally include in API requests. By default, fields with empty or
  5207  	// default values are omitted from API requests. See
  5208  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5209  	// details.
  5210  	ForceSendFields []string `json:"-"`
  5211  	// NullFields is a list of field names (e.g. "AgentInfo") to include in API
  5212  	// requests with the JSON null value. By default, fields with empty values are
  5213  	// omitted from API requests. See
  5214  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5215  	NullFields []string `json:"-"`
  5216  }
  5217  
  5218  func (s *GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata) MarshalJSON() ([]byte, error) {
  5219  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadata
  5220  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5221  }
  5222  
  5223  // GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo:
  5224  //
  5225  //	Information about an agent involved in the conversation.
  5226  type GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo struct {
  5227  	// AgentId: A user-specified string representing the agent.
  5228  	AgentId string `json:"agentId,omitempty"`
  5229  	// DisplayName: The agent's name.
  5230  	DisplayName string `json:"displayName,omitempty"`
  5231  	// DispositionCode: A user-provided string indicating the outcome of the
  5232  	// agent's segment of the call.
  5233  	DispositionCode string `json:"dispositionCode,omitempty"`
  5234  	// Team: A user-specified string representing the agent's team.
  5235  	Team string `json:"team,omitempty"`
  5236  	// ForceSendFields is a list of field names (e.g. "AgentId") to unconditionally
  5237  	// include in API requests. By default, fields with empty or default values are
  5238  	// omitted from API requests. See
  5239  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5240  	// details.
  5241  	ForceSendFields []string `json:"-"`
  5242  	// NullFields is a list of field names (e.g. "AgentId") to include in API
  5243  	// requests with the JSON null value. By default, fields with empty values are
  5244  	// omitted from API requests. See
  5245  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5246  	NullFields []string `json:"-"`
  5247  }
  5248  
  5249  func (s *GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo) MarshalJSON() ([]byte, error) {
  5250  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ConversationQualityMetadataAgentInfo
  5251  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5252  }
  5253  
  5254  // GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionDa
  5255  // ta: Conversation summarization suggestion data.
  5256  type GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData struct {
  5257  	// AnswerRecord: The name of the answer record. Format:
  5258  	// projects/{project}/locations/{location}/answerRecords/{answer_record}
  5259  	AnswerRecord string `json:"answerRecord,omitempty"`
  5260  	// Confidence: The confidence score of the summarization.
  5261  	Confidence float64 `json:"confidence,omitempty"`
  5262  	// ConversationModel: The name of the model that generates this summary.
  5263  	// Format:
  5264  	// projects/{project}/locations/{location}/conversationModels/{conversation_mode
  5265  	// l}
  5266  	ConversationModel string `json:"conversationModel,omitempty"`
  5267  	// Metadata: A map that contains metadata about the summarization and the
  5268  	// document from which it originates.
  5269  	Metadata map[string]string `json:"metadata,omitempty"`
  5270  	// Text: The summarization content that is concatenated into one string.
  5271  	Text string `json:"text,omitempty"`
  5272  	// TextSections: The summarization content that is divided into sections. The
  5273  	// key is the section's name and the value is the section's content. There is
  5274  	// no specific format for the key or value.
  5275  	TextSections map[string]string `json:"textSections,omitempty"`
  5276  	// ForceSendFields is a list of field names (e.g. "AnswerRecord") to
  5277  	// unconditionally include in API requests. By default, fields with empty or
  5278  	// default values are omitted from API requests. See
  5279  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5280  	// details.
  5281  	ForceSendFields []string `json:"-"`
  5282  	// NullFields is a list of field names (e.g. "AnswerRecord") to include in API
  5283  	// requests with the JSON null value. By default, fields with empty values are
  5284  	// omitted from API requests. See
  5285  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5286  	NullFields []string `json:"-"`
  5287  }
  5288  
  5289  func (s *GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData) MarshalJSON() ([]byte, error) {
  5290  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData
  5291  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5292  }
  5293  
  5294  func (s *GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData) UnmarshalJSON(data []byte) error {
  5295  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData
  5296  	var s1 struct {
  5297  		Confidence gensupport.JSONFloat64 `json:"confidence"`
  5298  		*NoMethod
  5299  	}
  5300  	s1.NoMethod = (*NoMethod)(s)
  5301  	if err := json.Unmarshal(data, &s1); err != nil {
  5302  		return err
  5303  	}
  5304  	s.Confidence = float64(s1.Confidence)
  5305  	return nil
  5306  }
  5307  
  5308  // GoogleCloudContactcenterinsightsV1alpha1ConversationTranscript: A message
  5309  // representing the transcript of a conversation.
  5310  type GoogleCloudContactcenterinsightsV1alpha1ConversationTranscript struct {
  5311  	// TranscriptSegments: A list of sequential transcript segments that comprise
  5312  	// the conversation.
  5313  	TranscriptSegments []*GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegment `json:"transcriptSegments,omitempty"`
  5314  	// ForceSendFields is a list of field names (e.g. "TranscriptSegments") to
  5315  	// unconditionally include in API requests. By default, fields with empty or
  5316  	// default values are omitted from API requests. See
  5317  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5318  	// details.
  5319  	ForceSendFields []string `json:"-"`
  5320  	// NullFields is a list of field names (e.g. "TranscriptSegments") to include
  5321  	// in API requests with the JSON null value. By default, fields with empty
  5322  	// values are omitted from API requests. See
  5323  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5324  	NullFields []string `json:"-"`
  5325  }
  5326  
  5327  func (s *GoogleCloudContactcenterinsightsV1alpha1ConversationTranscript) MarshalJSON() ([]byte, error) {
  5328  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ConversationTranscript
  5329  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5330  }
  5331  
  5332  // GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegme
  5333  // nt: A segment of a full transcript.
  5334  type GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegment struct {
  5335  	// ChannelTag: For conversations derived from multi-channel audio, this is the
  5336  	// channel number corresponding to the audio from that channel. For
  5337  	// audioChannelCount = N, its output values can range from '1' to 'N'. A
  5338  	// channel tag of 0 indicates that the audio is mono.
  5339  	ChannelTag int64 `json:"channelTag,omitempty"`
  5340  	// Confidence: A confidence estimate between 0.0 and 1.0 of the fidelity of
  5341  	// this segment. A default value of 0.0 indicates that the value is unset.
  5342  	Confidence float64 `json:"confidence,omitempty"`
  5343  	// DialogflowSegmentMetadata: CCAI metadata relating to the current transcript
  5344  	// segment.
  5345  	DialogflowSegmentMetadata *GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata `json:"dialogflowSegmentMetadata,omitempty"`
  5346  	// LanguageCode: The language code of this segment as a BCP-47
  5347  	// (https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example:
  5348  	// "en-US".
  5349  	LanguageCode string `json:"languageCode,omitempty"`
  5350  	// MessageTime: The time that the message occurred, if provided.
  5351  	MessageTime string `json:"messageTime,omitempty"`
  5352  	// SegmentParticipant: The participant of this segment.
  5353  	SegmentParticipant *GoogleCloudContactcenterinsightsV1alpha1ConversationParticipant `json:"segmentParticipant,omitempty"`
  5354  	// Sentiment: The sentiment for this transcript segment.
  5355  	Sentiment *GoogleCloudContactcenterinsightsV1alpha1SentimentData `json:"sentiment,omitempty"`
  5356  	// Text: The text of this segment.
  5357  	Text string `json:"text,omitempty"`
  5358  	// Words: A list of the word-specific information for each word in the segment.
  5359  	Words []*GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo `json:"words,omitempty"`
  5360  	// ForceSendFields is a list of field names (e.g. "ChannelTag") to
  5361  	// unconditionally include in API requests. By default, fields with empty or
  5362  	// default values are omitted from API requests. See
  5363  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5364  	// details.
  5365  	ForceSendFields []string `json:"-"`
  5366  	// NullFields is a list of field names (e.g. "ChannelTag") to include in API
  5367  	// requests with the JSON null value. By default, fields with empty values are
  5368  	// omitted from API requests. See
  5369  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5370  	NullFields []string `json:"-"`
  5371  }
  5372  
  5373  func (s *GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegment) MarshalJSON() ([]byte, error) {
  5374  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegment
  5375  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5376  }
  5377  
  5378  func (s *GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegment) UnmarshalJSON(data []byte) error {
  5379  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegment
  5380  	var s1 struct {
  5381  		Confidence gensupport.JSONFloat64 `json:"confidence"`
  5382  		*NoMethod
  5383  	}
  5384  	s1.NoMethod = (*NoMethod)(s)
  5385  	if err := json.Unmarshal(data, &s1); err != nil {
  5386  		return err
  5387  	}
  5388  	s.Confidence = float64(s1.Confidence)
  5389  	return nil
  5390  }
  5391  
  5392  // GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegme
  5393  // ntDialogflowSegmentMetadata: Metadata from Dialogflow relating to the
  5394  // current transcript segment.
  5395  type GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata struct {
  5396  	// SmartReplyAllowlistCovered: Whether the transcript segment was covered under
  5397  	// the configured smart reply allowlist in Agent Assist.
  5398  	SmartReplyAllowlistCovered bool `json:"smartReplyAllowlistCovered,omitempty"`
  5399  	// ForceSendFields is a list of field names (e.g. "SmartReplyAllowlistCovered")
  5400  	// to unconditionally include in API requests. By default, fields with empty or
  5401  	// default values are omitted from API requests. See
  5402  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5403  	// details.
  5404  	ForceSendFields []string `json:"-"`
  5405  	// NullFields is a list of field names (e.g. "SmartReplyAllowlistCovered") to
  5406  	// include in API requests with the JSON null value. By default, fields with
  5407  	// empty values are omitted from API requests. See
  5408  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5409  	NullFields []string `json:"-"`
  5410  }
  5411  
  5412  func (s *GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata) MarshalJSON() ([]byte, error) {
  5413  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentDialogflowSegmentMetadata
  5414  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5415  }
  5416  
  5417  // GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegme
  5418  // ntWordInfo: Word-level info for words in a transcript.
  5419  type GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo struct {
  5420  	// Confidence: A confidence estimate between 0.0 and 1.0 of the fidelity of
  5421  	// this word. A default value of 0.0 indicates that the value is unset.
  5422  	Confidence float64 `json:"confidence,omitempty"`
  5423  	// EndOffset: Time offset of the end of this word relative to the beginning of
  5424  	// the total conversation.
  5425  	EndOffset string `json:"endOffset,omitempty"`
  5426  	// StartOffset: Time offset of the start of this word relative to the beginning
  5427  	// of the total conversation.
  5428  	StartOffset string `json:"startOffset,omitempty"`
  5429  	// Word: The word itself. Includes punctuation marks that surround the word.
  5430  	Word string `json:"word,omitempty"`
  5431  	// ForceSendFields is a list of field names (e.g. "Confidence") to
  5432  	// unconditionally include in API requests. By default, fields with empty or
  5433  	// default values are omitted from API requests. See
  5434  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5435  	// details.
  5436  	ForceSendFields []string `json:"-"`
  5437  	// NullFields is a list of field names (e.g. "Confidence") to include in API
  5438  	// requests with the JSON null value. By default, fields with empty values are
  5439  	// omitted from API requests. See
  5440  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5441  	NullFields []string `json:"-"`
  5442  }
  5443  
  5444  func (s *GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo) MarshalJSON() ([]byte, error) {
  5445  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo
  5446  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5447  }
  5448  
  5449  func (s *GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo) UnmarshalJSON(data []byte) error {
  5450  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ConversationTranscriptTranscriptSegmentWordInfo
  5451  	var s1 struct {
  5452  		Confidence gensupport.JSONFloat64 `json:"confidence"`
  5453  		*NoMethod
  5454  	}
  5455  	s1.NoMethod = (*NoMethod)(s)
  5456  	if err := json.Unmarshal(data, &s1); err != nil {
  5457  		return err
  5458  	}
  5459  	s.Confidence = float64(s1.Confidence)
  5460  	return nil
  5461  }
  5462  
  5463  // GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata:
  5464  // Metadata for a create analysis operation.
  5465  type GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata struct {
  5466  	// AnnotatorSelector: Output only. The annotator selector used for the analysis
  5467  	// (if any).
  5468  	AnnotatorSelector *GoogleCloudContactcenterinsightsV1alpha1AnnotatorSelector `json:"annotatorSelector,omitempty"`
  5469  	// Conversation: Output only. The Conversation that this Analysis Operation
  5470  	// belongs to.
  5471  	Conversation string `json:"conversation,omitempty"`
  5472  	// CreateTime: Output only. The time the operation was created.
  5473  	CreateTime string `json:"createTime,omitempty"`
  5474  	// EndTime: Output only. The time the operation finished running.
  5475  	EndTime string `json:"endTime,omitempty"`
  5476  	// ForceSendFields is a list of field names (e.g. "AnnotatorSelector") to
  5477  	// unconditionally include in API requests. By default, fields with empty or
  5478  	// default values are omitted from API requests. See
  5479  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5480  	// details.
  5481  	ForceSendFields []string `json:"-"`
  5482  	// NullFields is a list of field names (e.g. "AnnotatorSelector") to include in
  5483  	// API requests with the JSON null value. By default, fields with empty values
  5484  	// are omitted from API requests. See
  5485  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5486  	NullFields []string `json:"-"`
  5487  }
  5488  
  5489  func (s *GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata) MarshalJSON() ([]byte, error) {
  5490  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1CreateAnalysisOperationMetadata
  5491  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5492  }
  5493  
  5494  // GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata: Metadata
  5495  // for creating an issue model.
  5496  type GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata struct {
  5497  	// CreateTime: Output only. The time the operation was created.
  5498  	CreateTime string `json:"createTime,omitempty"`
  5499  	// EndTime: Output only. The time the operation finished running.
  5500  	EndTime string `json:"endTime,omitempty"`
  5501  	// Request: The original request for creation.
  5502  	Request *GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest `json:"request,omitempty"`
  5503  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  5504  	// unconditionally include in API requests. By default, fields with empty or
  5505  	// default values are omitted from API requests. See
  5506  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5507  	// details.
  5508  	ForceSendFields []string `json:"-"`
  5509  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  5510  	// requests with the JSON null value. By default, fields with empty values are
  5511  	// omitted from API requests. See
  5512  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5513  	NullFields []string `json:"-"`
  5514  }
  5515  
  5516  func (s *GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata) MarshalJSON() ([]byte, error) {
  5517  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelMetadata
  5518  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5519  }
  5520  
  5521  // GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest: The request
  5522  // to create an issue model.
  5523  type GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest struct {
  5524  	// IssueModel: Required. The issue model to create.
  5525  	IssueModel *GoogleCloudContactcenterinsightsV1alpha1IssueModel `json:"issueModel,omitempty"`
  5526  	// Parent: Required. The parent resource of the issue model.
  5527  	Parent string `json:"parent,omitempty"`
  5528  	// ForceSendFields is a list of field names (e.g. "IssueModel") to
  5529  	// unconditionally include in API requests. By default, fields with empty or
  5530  	// default values are omitted from API requests. See
  5531  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5532  	// details.
  5533  	ForceSendFields []string `json:"-"`
  5534  	// NullFields is a list of field names (e.g. "IssueModel") to include in API
  5535  	// requests with the JSON null value. By default, fields with empty values are
  5536  	// omitted from API requests. See
  5537  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5538  	NullFields []string `json:"-"`
  5539  }
  5540  
  5541  func (s *GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest) MarshalJSON() ([]byte, error) {
  5542  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1CreateIssueModelRequest
  5543  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5544  }
  5545  
  5546  // GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata: Metadata
  5547  // for deleting an issue model.
  5548  type GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata struct {
  5549  	// CreateTime: Output only. The time the operation was created.
  5550  	CreateTime string `json:"createTime,omitempty"`
  5551  	// EndTime: Output only. The time the operation finished running.
  5552  	EndTime string `json:"endTime,omitempty"`
  5553  	// Request: The original request for deletion.
  5554  	Request *GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest `json:"request,omitempty"`
  5555  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  5556  	// unconditionally include in API requests. By default, fields with empty or
  5557  	// default values are omitted from API requests. See
  5558  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5559  	// details.
  5560  	ForceSendFields []string `json:"-"`
  5561  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  5562  	// requests with the JSON null value. By default, fields with empty values are
  5563  	// omitted from API requests. See
  5564  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5565  	NullFields []string `json:"-"`
  5566  }
  5567  
  5568  func (s *GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata) MarshalJSON() ([]byte, error) {
  5569  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelMetadata
  5570  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5571  }
  5572  
  5573  // GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest: The request
  5574  // to delete an issue model.
  5575  type GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest struct {
  5576  	// Name: Required. The name of the issue model to delete.
  5577  	Name string `json:"name,omitempty"`
  5578  	// ForceSendFields is a list of field names (e.g. "Name") to unconditionally
  5579  	// include in API requests. By default, fields with empty or default values are
  5580  	// omitted from API requests. See
  5581  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5582  	// details.
  5583  	ForceSendFields []string `json:"-"`
  5584  	// NullFields is a list of field names (e.g. "Name") to include in API requests
  5585  	// with the JSON null value. By default, fields with empty values are omitted
  5586  	// from API requests. See
  5587  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5588  	NullFields []string `json:"-"`
  5589  }
  5590  
  5591  func (s *GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest) MarshalJSON() ([]byte, error) {
  5592  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1DeleteIssueModelRequest
  5593  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5594  }
  5595  
  5596  // GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata: Metadata
  5597  // for deploying an issue model.
  5598  type GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata struct {
  5599  	// CreateTime: Output only. The time the operation was created.
  5600  	CreateTime string `json:"createTime,omitempty"`
  5601  	// EndTime: Output only. The time the operation finished running.
  5602  	EndTime string `json:"endTime,omitempty"`
  5603  	// Request: The original request for deployment.
  5604  	Request *GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest `json:"request,omitempty"`
  5605  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  5606  	// unconditionally include in API requests. By default, fields with empty or
  5607  	// default values are omitted from API requests. See
  5608  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5609  	// details.
  5610  	ForceSendFields []string `json:"-"`
  5611  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  5612  	// requests with the JSON null value. By default, fields with empty values are
  5613  	// omitted from API requests. See
  5614  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5615  	NullFields []string `json:"-"`
  5616  }
  5617  
  5618  func (s *GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata) MarshalJSON() ([]byte, error) {
  5619  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelMetadata
  5620  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5621  }
  5622  
  5623  // GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest: The request
  5624  // to deploy an issue model.
  5625  type GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest struct {
  5626  	// Name: Required. The issue model to deploy.
  5627  	Name string `json:"name,omitempty"`
  5628  	// ForceSendFields is a list of field names (e.g. "Name") to unconditionally
  5629  	// include in API requests. By default, fields with empty or default values are
  5630  	// omitted from API requests. See
  5631  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5632  	// details.
  5633  	ForceSendFields []string `json:"-"`
  5634  	// NullFields is a list of field names (e.g. "Name") to include in API requests
  5635  	// with the JSON null value. By default, fields with empty values are omitted
  5636  	// from API requests. See
  5637  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5638  	NullFields []string `json:"-"`
  5639  }
  5640  
  5641  func (s *GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest) MarshalJSON() ([]byte, error) {
  5642  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelRequest
  5643  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5644  }
  5645  
  5646  // GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse: The
  5647  // response to deploy an issue model.
  5648  type GoogleCloudContactcenterinsightsV1alpha1DeployIssueModelResponse struct {
  5649  }
  5650  
  5651  // GoogleCloudContactcenterinsightsV1alpha1DialogflowIntent: The data for a
  5652  // Dialogflow intent. Represents a detected intent in the conversation, e.g.
  5653  // MAKES_PROMISE.
  5654  type GoogleCloudContactcenterinsightsV1alpha1DialogflowIntent struct {
  5655  	// DisplayName: The human-readable name of the intent.
  5656  	DisplayName string `json:"displayName,omitempty"`
  5657  	// ForceSendFields is a list of field names (e.g. "DisplayName") to
  5658  	// unconditionally include in API requests. By default, fields with empty or
  5659  	// default values are omitted from API requests. See
  5660  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5661  	// details.
  5662  	ForceSendFields []string `json:"-"`
  5663  	// NullFields is a list of field names (e.g. "DisplayName") to include in API
  5664  	// requests with the JSON null value. By default, fields with empty values are
  5665  	// omitted from API requests. See
  5666  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5667  	NullFields []string `json:"-"`
  5668  }
  5669  
  5670  func (s *GoogleCloudContactcenterinsightsV1alpha1DialogflowIntent) MarshalJSON() ([]byte, error) {
  5671  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1DialogflowIntent
  5672  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5673  }
  5674  
  5675  // GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData:
  5676  // Dialogflow interaction data.
  5677  type GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData struct {
  5678  	// Confidence: The confidence of the match ranging from 0.0 (completely
  5679  	// uncertain) to 1.0 (completely certain).
  5680  	Confidence float64 `json:"confidence,omitempty"`
  5681  	// DialogflowIntentId: The Dialogflow intent resource path. Format:
  5682  	// projects/{project}/agent/{agent}/intents/{intent}
  5683  	DialogflowIntentId string `json:"dialogflowIntentId,omitempty"`
  5684  	// ForceSendFields is a list of field names (e.g. "Confidence") to
  5685  	// unconditionally include in API requests. By default, fields with empty or
  5686  	// default values are omitted from API requests. See
  5687  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5688  	// details.
  5689  	ForceSendFields []string `json:"-"`
  5690  	// NullFields is a list of field names (e.g. "Confidence") to include in API
  5691  	// requests with the JSON null value. By default, fields with empty values are
  5692  	// omitted from API requests. See
  5693  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5694  	NullFields []string `json:"-"`
  5695  }
  5696  
  5697  func (s *GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData) MarshalJSON() ([]byte, error) {
  5698  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData
  5699  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5700  }
  5701  
  5702  func (s *GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData) UnmarshalJSON(data []byte) error {
  5703  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData
  5704  	var s1 struct {
  5705  		Confidence gensupport.JSONFloat64 `json:"confidence"`
  5706  		*NoMethod
  5707  	}
  5708  	s1.NoMethod = (*NoMethod)(s)
  5709  	if err := json.Unmarshal(data, &s1); err != nil {
  5710  		return err
  5711  	}
  5712  	s.Confidence = float64(s1.Confidence)
  5713  	return nil
  5714  }
  5715  
  5716  // GoogleCloudContactcenterinsightsV1alpha1DialogflowSource: A Dialogflow
  5717  // source of conversation data.
  5718  type GoogleCloudContactcenterinsightsV1alpha1DialogflowSource struct {
  5719  	// AudioUri: Cloud Storage URI that points to a file that contains the
  5720  	// conversation audio.
  5721  	AudioUri string `json:"audioUri,omitempty"`
  5722  	// DialogflowConversation: Output only. The name of the Dialogflow conversation
  5723  	// that this conversation resource is derived from. Format:
  5724  	// projects/{project}/locations/{location}/conversations/{conversation}
  5725  	DialogflowConversation string `json:"dialogflowConversation,omitempty"`
  5726  	// ForceSendFields is a list of field names (e.g. "AudioUri") to
  5727  	// unconditionally include in API requests. By default, fields with empty or
  5728  	// default values are omitted from API requests. See
  5729  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5730  	// details.
  5731  	ForceSendFields []string `json:"-"`
  5732  	// NullFields is a list of field names (e.g. "AudioUri") to include in API
  5733  	// requests with the JSON null value. By default, fields with empty values are
  5734  	// omitted from API requests. See
  5735  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5736  	NullFields []string `json:"-"`
  5737  }
  5738  
  5739  func (s *GoogleCloudContactcenterinsightsV1alpha1DialogflowSource) MarshalJSON() ([]byte, error) {
  5740  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1DialogflowSource
  5741  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5742  }
  5743  
  5744  // GoogleCloudContactcenterinsightsV1alpha1Entity: The data for an entity
  5745  // annotation. Represents a phrase in the conversation that is a known entity,
  5746  // such as a person, an organization, or location.
  5747  type GoogleCloudContactcenterinsightsV1alpha1Entity struct {
  5748  	// DisplayName: The representative name for the entity.
  5749  	DisplayName string `json:"displayName,omitempty"`
  5750  	// Metadata: Metadata associated with the entity. For most entity types, the
  5751  	// metadata is a Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID
  5752  	// (`mid`), if they are available. For the metadata associated with other
  5753  	// entity types, see the Type table below.
  5754  	Metadata map[string]string `json:"metadata,omitempty"`
  5755  	// Salience: The salience score associated with the entity in the [0, 1.0]
  5756  	// range. The salience score for an entity provides information about the
  5757  	// importance or centrality of that entity to the entire document text. Scores
  5758  	// closer to 0 are less salient, while scores closer to 1.0 are highly salient.
  5759  	Salience float64 `json:"salience,omitempty"`
  5760  	// Sentiment: The aggregate sentiment expressed for this entity in the
  5761  	// conversation.
  5762  	Sentiment *GoogleCloudContactcenterinsightsV1alpha1SentimentData `json:"sentiment,omitempty"`
  5763  	// Type: The entity type.
  5764  	//
  5765  	// Possible values:
  5766  	//   "TYPE_UNSPECIFIED" - Unspecified.
  5767  	//   "PERSON" - Person.
  5768  	//   "LOCATION" - Location.
  5769  	//   "ORGANIZATION" - Organization.
  5770  	//   "EVENT" - Event.
  5771  	//   "WORK_OF_ART" - Artwork.
  5772  	//   "CONSUMER_GOOD" - Consumer product.
  5773  	//   "OTHER" - Other types of entities.
  5774  	//   "PHONE_NUMBER" - Phone number. The metadata lists the phone number
  5775  	// (formatted according to local convention), plus whichever additional
  5776  	// elements appear in the text: * `number` - The actual number, broken down
  5777  	// into sections according to local convention. * `national_prefix` - Country
  5778  	// code, if detected. * `area_code` - Region or area code, if detected. *
  5779  	// `extension` - Phone extension (to be dialed after connection), if detected.
  5780  	//   "ADDRESS" - Address. The metadata identifies the street number and
  5781  	// locality plus whichever additional elements appear in the text: *
  5782  	// `street_number` - Street number. * `locality` - City or town. *
  5783  	// `street_name` - Street/route name, if detected. * `postal_code` - Postal
  5784  	// code, if detected. * `country` - Country, if detected. * `broad_region` -
  5785  	// Administrative area, such as the state, if detected. * `narrow_region` -
  5786  	// Smaller administrative area, such as county, if detected. * `sublocality` -
  5787  	// Used in Asian addresses to demark a district within a city, if detected.
  5788  	//   "DATE" - Date. The metadata identifies the components of the date: *
  5789  	// `year` - Four digit year, if detected. * `month` - Two digit month number,
  5790  	// if detected. * `day` - Two digit day number, if detected.
  5791  	//   "NUMBER" - Number. The metadata is the number itself.
  5792  	//   "PRICE" - Price. The metadata identifies the `value` and `currency`.
  5793  	Type string `json:"type,omitempty"`
  5794  	// ForceSendFields is a list of field names (e.g. "DisplayName") to
  5795  	// unconditionally include in API requests. By default, fields with empty or
  5796  	// default values are omitted from API requests. See
  5797  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5798  	// details.
  5799  	ForceSendFields []string `json:"-"`
  5800  	// NullFields is a list of field names (e.g. "DisplayName") to include in API
  5801  	// requests with the JSON null value. By default, fields with empty values are
  5802  	// omitted from API requests. See
  5803  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5804  	NullFields []string `json:"-"`
  5805  }
  5806  
  5807  func (s *GoogleCloudContactcenterinsightsV1alpha1Entity) MarshalJSON() ([]byte, error) {
  5808  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1Entity
  5809  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5810  }
  5811  
  5812  func (s *GoogleCloudContactcenterinsightsV1alpha1Entity) UnmarshalJSON(data []byte) error {
  5813  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1Entity
  5814  	var s1 struct {
  5815  		Salience gensupport.JSONFloat64 `json:"salience"`
  5816  		*NoMethod
  5817  	}
  5818  	s1.NoMethod = (*NoMethod)(s)
  5819  	if err := json.Unmarshal(data, &s1); err != nil {
  5820  		return err
  5821  	}
  5822  	s.Salience = float64(s1.Salience)
  5823  	return nil
  5824  }
  5825  
  5826  // GoogleCloudContactcenterinsightsV1alpha1EntityMentionData: The data for an
  5827  // entity mention annotation. This represents a mention of an `Entity` in the
  5828  // conversation.
  5829  type GoogleCloudContactcenterinsightsV1alpha1EntityMentionData struct {
  5830  	// EntityUniqueId: The key of this entity in conversation entities. Can be used
  5831  	// to retrieve the exact `Entity` this mention is attached to.
  5832  	EntityUniqueId string `json:"entityUniqueId,omitempty"`
  5833  	// Sentiment: Sentiment expressed for this mention of the entity.
  5834  	Sentiment *GoogleCloudContactcenterinsightsV1alpha1SentimentData `json:"sentiment,omitempty"`
  5835  	// Type: The type of the entity mention.
  5836  	//
  5837  	// Possible values:
  5838  	//   "MENTION_TYPE_UNSPECIFIED" - Unspecified.
  5839  	//   "PROPER" - Proper noun.
  5840  	//   "COMMON" - Common noun (or noun compound).
  5841  	Type string `json:"type,omitempty"`
  5842  	// ForceSendFields is a list of field names (e.g. "EntityUniqueId") to
  5843  	// unconditionally include in API requests. By default, fields with empty or
  5844  	// default values are omitted from API requests. See
  5845  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5846  	// details.
  5847  	ForceSendFields []string `json:"-"`
  5848  	// NullFields is a list of field names (e.g. "EntityUniqueId") to include in
  5849  	// API requests with the JSON null value. By default, fields with empty values
  5850  	// are omitted from API requests. See
  5851  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5852  	NullFields []string `json:"-"`
  5853  }
  5854  
  5855  func (s *GoogleCloudContactcenterinsightsV1alpha1EntityMentionData) MarshalJSON() ([]byte, error) {
  5856  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1EntityMentionData
  5857  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5858  }
  5859  
  5860  // GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata: Metadata
  5861  // for an export insights operation.
  5862  type GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata struct {
  5863  	// CreateTime: Output only. The time the operation was created.
  5864  	CreateTime string `json:"createTime,omitempty"`
  5865  	// EndTime: Output only. The time the operation finished running.
  5866  	EndTime string `json:"endTime,omitempty"`
  5867  	// PartialErrors: Partial errors during export operation that might cause the
  5868  	// operation output to be incomplete.
  5869  	PartialErrors []*GoogleRpcStatus `json:"partialErrors,omitempty"`
  5870  	// Request: The original request for export.
  5871  	Request *GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest `json:"request,omitempty"`
  5872  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  5873  	// unconditionally include in API requests. By default, fields with empty or
  5874  	// default values are omitted from API requests. See
  5875  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5876  	// details.
  5877  	ForceSendFields []string `json:"-"`
  5878  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  5879  	// requests with the JSON null value. By default, fields with empty values are
  5880  	// omitted from API requests. See
  5881  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5882  	NullFields []string `json:"-"`
  5883  }
  5884  
  5885  func (s *GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata) MarshalJSON() ([]byte, error) {
  5886  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataMetadata
  5887  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5888  }
  5889  
  5890  // GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest: The
  5891  // request to export insights.
  5892  type GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest struct {
  5893  	// BigQueryDestination: Specified if sink is a BigQuery table.
  5894  	BigQueryDestination *GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination `json:"bigQueryDestination,omitempty"`
  5895  	// Filter: A filter to reduce results to a specific subset. Useful for
  5896  	// exporting conversations with specific properties.
  5897  	Filter string `json:"filter,omitempty"`
  5898  	// KmsKey: A fully qualified KMS key name for BigQuery tables protected by
  5899  	// CMEK. Format:
  5900  	// projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/c
  5901  	// ryptoKeyVersions/{version}
  5902  	KmsKey string `json:"kmsKey,omitempty"`
  5903  	// Parent: Required. The parent resource to export data from.
  5904  	Parent string `json:"parent,omitempty"`
  5905  	// WriteDisposition: Options for what to do if the destination table already
  5906  	// exists.
  5907  	//
  5908  	// Possible values:
  5909  	//   "WRITE_DISPOSITION_UNSPECIFIED" - Write disposition is not specified.
  5910  	// Defaults to WRITE_TRUNCATE.
  5911  	//   "WRITE_TRUNCATE" - If the table already exists, BigQuery will overwrite
  5912  	// the table data and use the schema from the load.
  5913  	//   "WRITE_APPEND" - If the table already exists, BigQuery will append data to
  5914  	// the table.
  5915  	WriteDisposition string `json:"writeDisposition,omitempty"`
  5916  	// ForceSendFields is a list of field names (e.g. "BigQueryDestination") to
  5917  	// unconditionally include in API requests. By default, fields with empty or
  5918  	// default values are omitted from API requests. See
  5919  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5920  	// details.
  5921  	ForceSendFields []string `json:"-"`
  5922  	// NullFields is a list of field names (e.g. "BigQueryDestination") to include
  5923  	// in API requests with the JSON null value. By default, fields with empty
  5924  	// values are omitted from API requests. See
  5925  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5926  	NullFields []string `json:"-"`
  5927  }
  5928  
  5929  func (s *GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest) MarshalJSON() ([]byte, error) {
  5930  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequest
  5931  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5932  }
  5933  
  5934  // GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDest
  5935  // ination: A BigQuery Table Reference.
  5936  type GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination struct {
  5937  	// Dataset: Required. The name of the BigQuery dataset that the snapshot result
  5938  	// should be exported to. If this dataset does not exist, the export call
  5939  	// returns an INVALID_ARGUMENT error.
  5940  	Dataset string `json:"dataset,omitempty"`
  5941  	// ProjectId: A project ID or number. If specified, then export will attempt to
  5942  	// write data to this project instead of the resource project. Otherwise, the
  5943  	// resource project will be used.
  5944  	ProjectId string `json:"projectId,omitempty"`
  5945  	// Table: The BigQuery table name to which the insights data should be written.
  5946  	// If this table does not exist, the export call returns an INVALID_ARGUMENT
  5947  	// error.
  5948  	Table string `json:"table,omitempty"`
  5949  	// ForceSendFields is a list of field names (e.g. "Dataset") to unconditionally
  5950  	// include in API requests. By default, fields with empty or default values are
  5951  	// omitted from API requests. See
  5952  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5953  	// details.
  5954  	ForceSendFields []string `json:"-"`
  5955  	// NullFields is a list of field names (e.g. "Dataset") to include in API
  5956  	// requests with the JSON null value. By default, fields with empty values are
  5957  	// omitted from API requests. See
  5958  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5959  	NullFields []string `json:"-"`
  5960  }
  5961  
  5962  func (s *GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination) MarshalJSON() ([]byte, error) {
  5963  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataRequestBigQueryDestination
  5964  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5965  }
  5966  
  5967  // GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse: Response
  5968  // for an export insights operation.
  5969  type GoogleCloudContactcenterinsightsV1alpha1ExportInsightsDataResponse struct {
  5970  }
  5971  
  5972  // GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelMetadata: Metadata
  5973  // used for export issue model.
  5974  type GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelMetadata struct {
  5975  	// CreateTime: The time the operation was created.
  5976  	CreateTime string `json:"createTime,omitempty"`
  5977  	// EndTime: The time the operation finished running.
  5978  	EndTime string `json:"endTime,omitempty"`
  5979  	// Request: The original export request.
  5980  	Request *GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest `json:"request,omitempty"`
  5981  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  5982  	// unconditionally include in API requests. By default, fields with empty or
  5983  	// default values are omitted from API requests. See
  5984  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5985  	// details.
  5986  	ForceSendFields []string `json:"-"`
  5987  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  5988  	// requests with the JSON null value. By default, fields with empty values are
  5989  	// omitted from API requests. See
  5990  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5991  	NullFields []string `json:"-"`
  5992  }
  5993  
  5994  func (s *GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelMetadata) MarshalJSON() ([]byte, error) {
  5995  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelMetadata
  5996  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5997  }
  5998  
  5999  // GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest: Request to
  6000  // export an issue model.
  6001  type GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest struct {
  6002  	// GcsDestination: Google Cloud Storage URI to export the Issue Model to.
  6003  	GcsDestination *GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination `json:"gcsDestination,omitempty"`
  6004  	// Name: Required. The issue model to export
  6005  	Name string `json:"name,omitempty"`
  6006  	// ForceSendFields is a list of field names (e.g. "GcsDestination") to
  6007  	// unconditionally include in API requests. By default, fields with empty or
  6008  	// default values are omitted from API requests. See
  6009  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6010  	// details.
  6011  	ForceSendFields []string `json:"-"`
  6012  	// NullFields is a list of field names (e.g. "GcsDestination") to include in
  6013  	// API requests with the JSON null value. By default, fields with empty values
  6014  	// are omitted from API requests. See
  6015  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6016  	NullFields []string `json:"-"`
  6017  }
  6018  
  6019  func (s *GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest) MarshalJSON() ([]byte, error) {
  6020  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequest
  6021  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6022  }
  6023  
  6024  // GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination
  6025  // : Google Cloud Storage Object URI to save the issue model to.
  6026  type GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination struct {
  6027  	// ObjectUri: Required. Format: `gs:///`
  6028  	ObjectUri string `json:"objectUri,omitempty"`
  6029  	// ForceSendFields is a list of field names (e.g. "ObjectUri") to
  6030  	// unconditionally include in API requests. By default, fields with empty or
  6031  	// default values are omitted from API requests. See
  6032  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6033  	// details.
  6034  	ForceSendFields []string `json:"-"`
  6035  	// NullFields is a list of field names (e.g. "ObjectUri") to include in API
  6036  	// requests with the JSON null value. By default, fields with empty values are
  6037  	// omitted from API requests. See
  6038  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6039  	NullFields []string `json:"-"`
  6040  }
  6041  
  6042  func (s *GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination) MarshalJSON() ([]byte, error) {
  6043  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelRequestGcsDestination
  6044  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6045  }
  6046  
  6047  // GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelResponse: Response
  6048  // from export issue model
  6049  type GoogleCloudContactcenterinsightsV1alpha1ExportIssueModelResponse struct {
  6050  }
  6051  
  6052  // GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData: Agent Assist
  6053  // frequently-asked-question answer data.
  6054  type GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData struct {
  6055  	// Answer: The piece of text from the `source` knowledge base document.
  6056  	Answer string `json:"answer,omitempty"`
  6057  	// ConfidenceScore: The system's confidence score that this answer is a good
  6058  	// match for this conversation, ranging from 0.0 (completely uncertain) to 1.0
  6059  	// (completely certain).
  6060  	ConfidenceScore float64 `json:"confidenceScore,omitempty"`
  6061  	// Metadata: Map that contains metadata about the FAQ answer and the document
  6062  	// that it originates from.
  6063  	Metadata map[string]string `json:"metadata,omitempty"`
  6064  	// QueryRecord: The name of the answer record. Format:
  6065  	// projects/{project}/locations/{location}/answerRecords/{answer_record}
  6066  	QueryRecord string `json:"queryRecord,omitempty"`
  6067  	// Question: The corresponding FAQ question.
  6068  	Question string `json:"question,omitempty"`
  6069  	// Source: The knowledge document that this answer was extracted from. Format:
  6070  	// projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.
  6071  	Source string `json:"source,omitempty"`
  6072  	// ForceSendFields is a list of field names (e.g. "Answer") to unconditionally
  6073  	// include in API requests. By default, fields with empty or default values are
  6074  	// omitted from API requests. See
  6075  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6076  	// details.
  6077  	ForceSendFields []string `json:"-"`
  6078  	// NullFields is a list of field names (e.g. "Answer") to include in API
  6079  	// requests with the JSON null value. By default, fields with empty values are
  6080  	// omitted from API requests. See
  6081  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6082  	NullFields []string `json:"-"`
  6083  }
  6084  
  6085  func (s *GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData) MarshalJSON() ([]byte, error) {
  6086  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData
  6087  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6088  }
  6089  
  6090  func (s *GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData) UnmarshalJSON(data []byte) error {
  6091  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData
  6092  	var s1 struct {
  6093  		ConfidenceScore gensupport.JSONFloat64 `json:"confidenceScore"`
  6094  		*NoMethod
  6095  	}
  6096  	s1.NoMethod = (*NoMethod)(s)
  6097  	if err := json.Unmarshal(data, &s1); err != nil {
  6098  		return err
  6099  	}
  6100  	s.ConfidenceScore = float64(s1.ConfidenceScore)
  6101  	return nil
  6102  }
  6103  
  6104  // GoogleCloudContactcenterinsightsV1alpha1FreeFormSuggestion: Suggestion
  6105  // generated using free form generator.
  6106  type GoogleCloudContactcenterinsightsV1alpha1FreeFormSuggestion struct {
  6107  	// Labels: Optional. Labels for the generator.
  6108  	Labels []string `json:"labels,omitempty"`
  6109  	// Response: Required. Free form suggestion.
  6110  	Response string `json:"response,omitempty"`
  6111  	// ForceSendFields is a list of field names (e.g. "Labels") to unconditionally
  6112  	// include in API requests. By default, fields with empty or default values are
  6113  	// omitted from API requests. See
  6114  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6115  	// details.
  6116  	ForceSendFields []string `json:"-"`
  6117  	// NullFields is a list of field names (e.g. "Labels") to include in API
  6118  	// requests with the JSON null value. By default, fields with empty values are
  6119  	// omitted from API requests. See
  6120  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6121  	NullFields []string `json:"-"`
  6122  }
  6123  
  6124  func (s *GoogleCloudContactcenterinsightsV1alpha1FreeFormSuggestion) MarshalJSON() ([]byte, error) {
  6125  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1FreeFormSuggestion
  6126  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6127  }
  6128  
  6129  // GoogleCloudContactcenterinsightsV1alpha1GcsSource: A Cloud Storage source of
  6130  // conversation data.
  6131  type GoogleCloudContactcenterinsightsV1alpha1GcsSource struct {
  6132  	// AudioUri: Cloud Storage URI that points to a file that contains the
  6133  	// conversation audio.
  6134  	AudioUri string `json:"audioUri,omitempty"`
  6135  	// TranscriptUri: Immutable. Cloud Storage URI that points to a file that
  6136  	// contains the conversation transcript.
  6137  	TranscriptUri string `json:"transcriptUri,omitempty"`
  6138  	// ForceSendFields is a list of field names (e.g. "AudioUri") to
  6139  	// unconditionally include in API requests. By default, fields with empty or
  6140  	// default values are omitted from API requests. See
  6141  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6142  	// details.
  6143  	ForceSendFields []string `json:"-"`
  6144  	// NullFields is a list of field names (e.g. "AudioUri") to include in API
  6145  	// requests with the JSON null value. By default, fields with empty values are
  6146  	// omitted from API requests. See
  6147  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6148  	NullFields []string `json:"-"`
  6149  }
  6150  
  6151  func (s *GoogleCloudContactcenterinsightsV1alpha1GcsSource) MarshalJSON() ([]byte, error) {
  6152  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1GcsSource
  6153  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6154  }
  6155  
  6156  // GoogleCloudContactcenterinsightsV1alpha1GeneratorSuggestion: Suggestion
  6157  // generated using a Generator.
  6158  type GoogleCloudContactcenterinsightsV1alpha1GeneratorSuggestion struct {
  6159  	// AgentCoachingSuggestion: Optional. Suggestion to coach the agent.
  6160  	AgentCoachingSuggestion *GoogleCloudContactcenterinsightsV1alpha1AgentCoachingSuggestion `json:"agentCoachingSuggestion,omitempty"`
  6161  	// FreeFormSuggestion: Optional. Free form suggestion.
  6162  	FreeFormSuggestion *GoogleCloudContactcenterinsightsV1alpha1FreeFormSuggestion `json:"freeFormSuggestion,omitempty"`
  6163  	// SummarySuggestion: Optional. Suggested summary.
  6164  	SummarySuggestion *GoogleCloudContactcenterinsightsV1alpha1SummarySuggestion `json:"summarySuggestion,omitempty"`
  6165  	// ForceSendFields is a list of field names (e.g. "AgentCoachingSuggestion") to
  6166  	// unconditionally include in API requests. By default, fields with empty or
  6167  	// default values are omitted from API requests. See
  6168  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6169  	// details.
  6170  	ForceSendFields []string `json:"-"`
  6171  	// NullFields is a list of field names (e.g. "AgentCoachingSuggestion") to
  6172  	// include in API requests with the JSON null value. By default, fields with
  6173  	// empty values are omitted from API requests. See
  6174  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6175  	NullFields []string `json:"-"`
  6176  }
  6177  
  6178  func (s *GoogleCloudContactcenterinsightsV1alpha1GeneratorSuggestion) MarshalJSON() ([]byte, error) {
  6179  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1GeneratorSuggestion
  6180  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6181  }
  6182  
  6183  // GoogleCloudContactcenterinsightsV1alpha1GetGeneratorSuggestionResponse:
  6184  // Represents response from generators.
  6185  type GoogleCloudContactcenterinsightsV1alpha1GetGeneratorSuggestionResponse struct {
  6186  	// GeneratorSuggestion: The suggestion generated from the Generator.
  6187  	GeneratorSuggestion *GoogleCloudContactcenterinsightsV1alpha1GeneratorSuggestion `json:"generatorSuggestion,omitempty"`
  6188  	// ForceSendFields is a list of field names (e.g. "GeneratorSuggestion") to
  6189  	// unconditionally include in API requests. By default, fields with empty or
  6190  	// default values are omitted from API requests. See
  6191  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6192  	// details.
  6193  	ForceSendFields []string `json:"-"`
  6194  	// NullFields is a list of field names (e.g. "GeneratorSuggestion") to include
  6195  	// in API requests with the JSON null value. By default, fields with empty
  6196  	// values are omitted from API requests. See
  6197  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6198  	NullFields []string `json:"-"`
  6199  }
  6200  
  6201  func (s *GoogleCloudContactcenterinsightsV1alpha1GetGeneratorSuggestionResponse) MarshalJSON() ([]byte, error) {
  6202  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1GetGeneratorSuggestionResponse
  6203  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6204  }
  6205  
  6206  // GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse: Response
  6207  // for Knowledge Assist. Contains suggested query and optionally includes an
  6208  // answer for the query.
  6209  type GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse struct {
  6210  	// SuggestedQuery: The query suggested based on the context. Suggestion is made
  6211  	// only if it is different from the previous suggestion.
  6212  	SuggestedQuery *GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery `json:"suggestedQuery,omitempty"`
  6213  	// SuggestedQueryAnswer: The answer generated for the suggested query. Whether
  6214  	// or not an answer is generated depends on how confident we are about the
  6215  	// generated query.
  6216  	SuggestedQueryAnswer *GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswer `json:"suggestedQueryAnswer,omitempty"`
  6217  	// ForceSendFields is a list of field names (e.g. "SuggestedQuery") to
  6218  	// unconditionally include in API requests. By default, fields with empty or
  6219  	// default values are omitted from API requests. See
  6220  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6221  	// details.
  6222  	ForceSendFields []string `json:"-"`
  6223  	// NullFields is a list of field names (e.g. "SuggestedQuery") to include in
  6224  	// API requests with the JSON null value. By default, fields with empty values
  6225  	// are omitted from API requests. See
  6226  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6227  	NullFields []string `json:"-"`
  6228  }
  6229  
  6230  func (s *GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse) MarshalJSON() ([]byte, error) {
  6231  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse
  6232  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6233  }
  6234  
  6235  // GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAn
  6236  // swer: Represents an answer from Knowledge. Cuurently supports FAQ and
  6237  // Generative answers.
  6238  type GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswer struct {
  6239  	// AnswerText: The piece of text from the `source` that answers this suggested
  6240  	// query.
  6241  	AnswerText string `json:"answerText,omitempty"`
  6242  	// FaqSource: Populated if the prediction came from FAQ.
  6243  	FaqSource *GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource `json:"faqSource,omitempty"`
  6244  	// GenerativeSource: Populated if the prediction was Generative.
  6245  	GenerativeSource *GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource `json:"generativeSource,omitempty"`
  6246  	// IntentMatchingSource: Populated if the prediction was from intent matching.
  6247  	IntentMatchingSource *GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource `json:"intentMatchingSource,omitempty"`
  6248  	// MatchConfidence: The system's confidence score that this answer is a good
  6249  	// match for this conversational query. The range is from 0.0 (completely
  6250  	// uncertain) to 1.0 (completely certain).
  6251  	MatchConfidence float64 `json:"matchConfidence,omitempty"`
  6252  	// ForceSendFields is a list of field names (e.g. "AnswerText") to
  6253  	// unconditionally include in API requests. By default, fields with empty or
  6254  	// default values are omitted from API requests. See
  6255  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6256  	// details.
  6257  	ForceSendFields []string `json:"-"`
  6258  	// NullFields is a list of field names (e.g. "AnswerText") to include in API
  6259  	// requests with the JSON null value. By default, fields with empty values are
  6260  	// omitted from API requests. See
  6261  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6262  	NullFields []string `json:"-"`
  6263  }
  6264  
  6265  func (s *GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswer) MarshalJSON() ([]byte, error) {
  6266  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswer
  6267  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6268  }
  6269  
  6270  func (s *GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswer) UnmarshalJSON(data []byte) error {
  6271  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswer
  6272  	var s1 struct {
  6273  		MatchConfidence gensupport.JSONFloat64 `json:"matchConfidence"`
  6274  		*NoMethod
  6275  	}
  6276  	s1.NoMethod = (*NoMethod)(s)
  6277  	if err := json.Unmarshal(data, &s1); err != nil {
  6278  		return err
  6279  	}
  6280  	s.MatchConfidence = float64(s1.MatchConfidence)
  6281  	return nil
  6282  }
  6283  
  6284  // GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAn
  6285  // swerFaqSource: Details about source of FAQ answer.
  6286  type GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource struct {
  6287  	// Document: Indicates which Knowledge Document this answer was extracted from.
  6288  	// Format: `projects//knowledgeBases//documents/`.
  6289  	Document string `json:"document,omitempty"`
  6290  	// Question: The corresponding FAQ question.
  6291  	Question string `json:"question,omitempty"`
  6292  	// ForceSendFields is a list of field names (e.g. "Document") to
  6293  	// unconditionally include in API requests. By default, fields with empty or
  6294  	// default values are omitted from API requests. See
  6295  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6296  	// details.
  6297  	ForceSendFields []string `json:"-"`
  6298  	// NullFields is a list of field names (e.g. "Document") to include in API
  6299  	// requests with the JSON null value. By default, fields with empty values are
  6300  	// omitted from API requests. See
  6301  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6302  	NullFields []string `json:"-"`
  6303  }
  6304  
  6305  func (s *GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource) MarshalJSON() ([]byte, error) {
  6306  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerFaqSource
  6307  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6308  }
  6309  
  6310  // GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAn
  6311  // swerGenerativeSource: Details about source of Generative answer.
  6312  type GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource struct {
  6313  	// Snippets: All snippets used for this Generative Prediction, with their
  6314  	// source URI and data.
  6315  	Snippets []*GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet `json:"snippets,omitempty"`
  6316  	// ForceSendFields is a list of field names (e.g. "Snippets") to
  6317  	// unconditionally include in API requests. By default, fields with empty or
  6318  	// default values are omitted from API requests. See
  6319  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6320  	// details.
  6321  	ForceSendFields []string `json:"-"`
  6322  	// NullFields is a list of field names (e.g. "Snippets") to include in API
  6323  	// requests with the JSON null value. By default, fields with empty values are
  6324  	// omitted from API requests. See
  6325  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6326  	NullFields []string `json:"-"`
  6327  }
  6328  
  6329  func (s *GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource) MarshalJSON() ([]byte, error) {
  6330  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSource
  6331  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6332  }
  6333  
  6334  // GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAn
  6335  // swerGenerativeSourceSnippet: Snippet Source for a Generative Prediction.
  6336  type GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet struct {
  6337  	// Document: Indicates which Knowledge Document this snippet was extracted
  6338  	// from. Format: `projects//knowledgeBases//documents/`.
  6339  	Document string `json:"document,omitempty"`
  6340  	// Text: text taken from that URI.
  6341  	Text string `json:"text,omitempty"`
  6342  	// Title: Title of the document.
  6343  	Title string `json:"title,omitempty"`
  6344  	// Uri: URI the data is sourced from.
  6345  	Uri string `json:"uri,omitempty"`
  6346  	// ForceSendFields is a list of field names (e.g. "Document") to
  6347  	// unconditionally include in API requests. By default, fields with empty or
  6348  	// default values are omitted from API requests. See
  6349  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6350  	// details.
  6351  	ForceSendFields []string `json:"-"`
  6352  	// NullFields is a list of field names (e.g. "Document") to include in API
  6353  	// requests with the JSON null value. By default, fields with empty values are
  6354  	// omitted from API requests. See
  6355  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6356  	NullFields []string `json:"-"`
  6357  }
  6358  
  6359  func (s *GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet) MarshalJSON() ([]byte, error) {
  6360  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet
  6361  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6362  }
  6363  
  6364  // GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAn
  6365  // swerIntentMatchingSource: Details about source of Intent Matching answer.
  6366  type GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource struct {
  6367  	// Title: Title of the document.
  6368  	Title string `json:"title,omitempty"`
  6369  	// Uri: URI the data is sourced from.
  6370  	Uri string `json:"uri,omitempty"`
  6371  	// ForceSendFields is a list of field names (e.g. "Title") to unconditionally
  6372  	// include in API requests. By default, fields with empty or default values are
  6373  	// omitted from API requests. See
  6374  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6375  	// details.
  6376  	ForceSendFields []string `json:"-"`
  6377  	// NullFields is a list of field names (e.g. "Title") to include in API
  6378  	// requests with the JSON null value. By default, fields with empty values are
  6379  	// omitted from API requests. See
  6380  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6381  	NullFields []string `json:"-"`
  6382  }
  6383  
  6384  func (s *GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource) MarshalJSON() ([]byte, error) {
  6385  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerIntentMatchingSource
  6386  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6387  }
  6388  
  6389  // GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQu
  6390  // ery: Represents a suggested query.
  6391  type GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery struct {
  6392  	// QueryText: Suggested query text.
  6393  	QueryText string `json:"queryText,omitempty"`
  6394  	// Score: Suggested query score.
  6395  	Score float64 `json:"score,omitempty"`
  6396  	// ForceSendFields is a list of field names (e.g. "QueryText") to
  6397  	// unconditionally include in API requests. By default, fields with empty or
  6398  	// default values are omitted from API requests. See
  6399  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6400  	// details.
  6401  	ForceSendFields []string `json:"-"`
  6402  	// NullFields is a list of field names (e.g. "QueryText") to include in API
  6403  	// requests with the JSON null value. By default, fields with empty values are
  6404  	// omitted from API requests. See
  6405  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6406  	NullFields []string `json:"-"`
  6407  }
  6408  
  6409  func (s *GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery) MarshalJSON() ([]byte, error) {
  6410  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery
  6411  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6412  }
  6413  
  6414  func (s *GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery) UnmarshalJSON(data []byte) error {
  6415  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseSuggestedQuery
  6416  	var s1 struct {
  6417  		Score gensupport.JSONFloat64 `json:"score"`
  6418  		*NoMethod
  6419  	}
  6420  	s1.NoMethod = (*NoMethod)(s)
  6421  	if err := json.Unmarshal(data, &s1); err != nil {
  6422  		return err
  6423  	}
  6424  	s.Score = float64(s1.Score)
  6425  	return nil
  6426  }
  6427  
  6428  // GoogleCloudContactcenterinsightsV1alpha1HoldData: The data for a hold
  6429  // annotation.
  6430  type GoogleCloudContactcenterinsightsV1alpha1HoldData struct {
  6431  }
  6432  
  6433  // GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelMetadata: Metadata
  6434  // used for import issue model.
  6435  type GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelMetadata struct {
  6436  	// CreateTime: The time the operation was created.
  6437  	CreateTime string `json:"createTime,omitempty"`
  6438  	// EndTime: The time the operation finished running.
  6439  	EndTime string `json:"endTime,omitempty"`
  6440  	// Request: The original import request.
  6441  	Request *GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest `json:"request,omitempty"`
  6442  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  6443  	// unconditionally include in API requests. By default, fields with empty or
  6444  	// default values are omitted from API requests. See
  6445  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6446  	// details.
  6447  	ForceSendFields []string `json:"-"`
  6448  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  6449  	// requests with the JSON null value. By default, fields with empty values are
  6450  	// omitted from API requests. See
  6451  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6452  	NullFields []string `json:"-"`
  6453  }
  6454  
  6455  func (s *GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelMetadata) MarshalJSON() ([]byte, error) {
  6456  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelMetadata
  6457  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6458  }
  6459  
  6460  // GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest: Request to
  6461  // import an issue model.
  6462  type GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest struct {
  6463  	// CreateNewModel: Optional. If set to true, will create a new issue model from
  6464  	// the imported file with randomly generated IDs for the issue model and
  6465  	// corresponding issues. Otherwise, replaces an existing model with the same ID
  6466  	// as the file.
  6467  	CreateNewModel bool `json:"createNewModel,omitempty"`
  6468  	// GcsSource: Google Cloud Storage source message.
  6469  	GcsSource *GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource `json:"gcsSource,omitempty"`
  6470  	// Parent: Required. The parent resource of the issue model.
  6471  	Parent string `json:"parent,omitempty"`
  6472  	// ForceSendFields is a list of field names (e.g. "CreateNewModel") to
  6473  	// unconditionally include in API requests. By default, fields with empty or
  6474  	// default values are omitted from API requests. See
  6475  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6476  	// details.
  6477  	ForceSendFields []string `json:"-"`
  6478  	// NullFields is a list of field names (e.g. "CreateNewModel") to include in
  6479  	// API requests with the JSON null value. By default, fields with empty values
  6480  	// are omitted from API requests. See
  6481  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6482  	NullFields []string `json:"-"`
  6483  }
  6484  
  6485  func (s *GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest) MarshalJSON() ([]byte, error) {
  6486  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequest
  6487  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6488  }
  6489  
  6490  // GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource:
  6491  // Google Cloud Storage Object URI to get the issue model file from.
  6492  type GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource struct {
  6493  	// ObjectUri: Required. Format: `gs:///`
  6494  	ObjectUri string `json:"objectUri,omitempty"`
  6495  	// ForceSendFields is a list of field names (e.g. "ObjectUri") to
  6496  	// unconditionally include in API requests. By default, fields with empty or
  6497  	// default values are omitted from API requests. See
  6498  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6499  	// details.
  6500  	ForceSendFields []string `json:"-"`
  6501  	// NullFields is a list of field names (e.g. "ObjectUri") to include in API
  6502  	// requests with the JSON null value. By default, fields with empty values are
  6503  	// omitted from API requests. See
  6504  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6505  	NullFields []string `json:"-"`
  6506  }
  6507  
  6508  func (s *GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource) MarshalJSON() ([]byte, error) {
  6509  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelRequestGcsSource
  6510  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6511  }
  6512  
  6513  // GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse: Response
  6514  // from import issue model
  6515  type GoogleCloudContactcenterinsightsV1alpha1ImportIssueModelResponse struct {
  6516  }
  6517  
  6518  // GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata: The
  6519  // metadata for an IngestConversations operation.
  6520  type GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata struct {
  6521  	// CreateTime: Output only. The time the operation was created.
  6522  	CreateTime string `json:"createTime,omitempty"`
  6523  	// EndTime: Output only. The time the operation finished running.
  6524  	EndTime string `json:"endTime,omitempty"`
  6525  	// IngestConversationsStats: Output only. Statistics for IngestConversations
  6526  	// operation.
  6527  	IngestConversationsStats *GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadataIngestConversationsStats `json:"ingestConversationsStats,omitempty"`
  6528  	// PartialErrors: Output only. Partial errors during ingest operation that
  6529  	// might cause the operation output to be incomplete.
  6530  	PartialErrors []*GoogleRpcStatus `json:"partialErrors,omitempty"`
  6531  	// Request: Output only. The original request for ingest.
  6532  	Request *GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest `json:"request,omitempty"`
  6533  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  6534  	// unconditionally include in API requests. By default, fields with empty or
  6535  	// default values are omitted from API requests. See
  6536  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6537  	// details.
  6538  	ForceSendFields []string `json:"-"`
  6539  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  6540  	// requests with the JSON null value. By default, fields with empty values are
  6541  	// omitted from API requests. See
  6542  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6543  	NullFields []string `json:"-"`
  6544  }
  6545  
  6546  func (s *GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata) MarshalJSON() ([]byte, error) {
  6547  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadata
  6548  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6549  }
  6550  
  6551  // GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadataIngestConv
  6552  // ersationsStats: Statistics for IngestConversations operation.
  6553  type GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadataIngestConversationsStats struct {
  6554  	// DuplicatesSkippedCount: Output only. The number of objects skipped because
  6555  	// another conversation with the same transcript uri had already been ingested.
  6556  	DuplicatesSkippedCount int64 `json:"duplicatesSkippedCount,omitempty"`
  6557  	// FailedIngestCount: Output only. The number of objects which were unable to
  6558  	// be ingested due to errors. The errors are populated in the partial_errors
  6559  	// field.
  6560  	FailedIngestCount int64 `json:"failedIngestCount,omitempty"`
  6561  	// ProcessedObjectCount: Output only. The number of objects processed during
  6562  	// the ingest operation.
  6563  	ProcessedObjectCount int64 `json:"processedObjectCount,omitempty"`
  6564  	// SuccessfulIngestCount: Output only. The number of new conversations added
  6565  	// during this ingest operation.
  6566  	SuccessfulIngestCount int64 `json:"successfulIngestCount,omitempty"`
  6567  	// ForceSendFields is a list of field names (e.g. "DuplicatesSkippedCount") to
  6568  	// unconditionally include in API requests. By default, fields with empty or
  6569  	// default values are omitted from API requests. See
  6570  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6571  	// details.
  6572  	ForceSendFields []string `json:"-"`
  6573  	// NullFields is a list of field names (e.g. "DuplicatesSkippedCount") to
  6574  	// include in API requests with the JSON null value. By default, fields with
  6575  	// empty values are omitted from API requests. See
  6576  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6577  	NullFields []string `json:"-"`
  6578  }
  6579  
  6580  func (s *GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadataIngestConversationsStats) MarshalJSON() ([]byte, error) {
  6581  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1IngestConversationsMetadataIngestConversationsStats
  6582  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6583  }
  6584  
  6585  // GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest: The
  6586  // request to ingest conversations.
  6587  type GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest struct {
  6588  	// ConversationConfig: Configuration that applies to all conversations.
  6589  	ConversationConfig *GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig `json:"conversationConfig,omitempty"`
  6590  	// GcsSource: A cloud storage bucket source. Note that any previously ingested
  6591  	// objects from the source will be skipped to avoid duplication.
  6592  	GcsSource *GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource `json:"gcsSource,omitempty"`
  6593  	// Parent: Required. The parent resource for new conversations.
  6594  	Parent string `json:"parent,omitempty"`
  6595  	// RedactionConfig: Optional. DLP settings for transcript redaction. Optional,
  6596  	// will default to the config specified in Settings.
  6597  	RedactionConfig *GoogleCloudContactcenterinsightsV1alpha1RedactionConfig `json:"redactionConfig,omitempty"`
  6598  	// SampleSize: Optional. If set, this fields indicates the number of objects to
  6599  	// ingest from the Cloud Storage bucket. If empty, the entire bucket will be
  6600  	// ingested. Note that conversations produced via sampling will not be ingested
  6601  	// by subsequent ingest requests unless they are first deleted.
  6602  	SampleSize int64 `json:"sampleSize,omitempty"`
  6603  	// SpeechConfig: Optional. Default Speech-to-Text configuration. Optional, will
  6604  	// default to the config specified in Settings.
  6605  	SpeechConfig *GoogleCloudContactcenterinsightsV1alpha1SpeechConfig `json:"speechConfig,omitempty"`
  6606  	// TranscriptObjectConfig: Configuration for when `source` contains
  6607  	// conversation transcripts.
  6608  	TranscriptObjectConfig *GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig `json:"transcriptObjectConfig,omitempty"`
  6609  	// ForceSendFields is a list of field names (e.g. "ConversationConfig") to
  6610  	// unconditionally include in API requests. By default, fields with empty or
  6611  	// default values are omitted from API requests. See
  6612  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6613  	// details.
  6614  	ForceSendFields []string `json:"-"`
  6615  	// NullFields is a list of field names (e.g. "ConversationConfig") to include
  6616  	// in API requests with the JSON null value. By default, fields with empty
  6617  	// values are omitted from API requests. See
  6618  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6619  	NullFields []string `json:"-"`
  6620  }
  6621  
  6622  func (s *GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest) MarshalJSON() ([]byte, error) {
  6623  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequest
  6624  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6625  }
  6626  
  6627  // GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversatio
  6628  // nConfig: Configuration that applies to all conversations.
  6629  type GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig struct {
  6630  	// AgentChannel: Optional. Indicates which of the channels, 1 or 2, contains
  6631  	// the agent. Note that this must be set for conversations to be properly
  6632  	// displayed and analyzed.
  6633  	AgentChannel int64 `json:"agentChannel,omitempty"`
  6634  	// AgentId: Optional. An opaque, user-specified string representing a human
  6635  	// agent who handled all conversations in the import. Note that this will be
  6636  	// overridden if per-conversation metadata is provided via the
  6637  	// `metadata_bucket_uri`.
  6638  	AgentId string `json:"agentId,omitempty"`
  6639  	// CustomerChannel: Optional. Indicates which of the channels, 1 or 2, contains
  6640  	// the agent. Note that this must be set for conversations to be properly
  6641  	// displayed and analyzed.
  6642  	CustomerChannel int64 `json:"customerChannel,omitempty"`
  6643  	// ForceSendFields is a list of field names (e.g. "AgentChannel") to
  6644  	// unconditionally include in API requests. By default, fields with empty or
  6645  	// default values are omitted from API requests. See
  6646  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6647  	// details.
  6648  	ForceSendFields []string `json:"-"`
  6649  	// NullFields is a list of field names (e.g. "AgentChannel") to include in API
  6650  	// requests with the JSON null value. By default, fields with empty values are
  6651  	// omitted from API requests. See
  6652  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6653  	NullFields []string `json:"-"`
  6654  }
  6655  
  6656  func (s *GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig) MarshalJSON() ([]byte, error) {
  6657  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestConversationConfig
  6658  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6659  }
  6660  
  6661  // GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource:
  6662  // Configuration for Cloud Storage bucket sources.
  6663  type GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource struct {
  6664  	// BucketObjectType: Optional. Specifies the type of the objects in
  6665  	// `bucket_uri`.
  6666  	//
  6667  	// Possible values:
  6668  	//   "BUCKET_OBJECT_TYPE_UNSPECIFIED" - The object type is unspecified and will
  6669  	// default to `TRANSCRIPT`.
  6670  	//   "TRANSCRIPT" - The object is a transcript.
  6671  	//   "AUDIO" - The object is an audio file.
  6672  	BucketObjectType string `json:"bucketObjectType,omitempty"`
  6673  	// BucketUri: Required. The Cloud Storage bucket containing source objects.
  6674  	BucketUri string `json:"bucketUri,omitempty"`
  6675  	// CustomMetadataKeys: Optional. Custom keys to extract as conversation labels
  6676  	// from metadata files in `metadata_bucket_uri`. Keys not included in this
  6677  	// field will be ignored. Note that there is a limit of 20 labels per
  6678  	// conversation.
  6679  	CustomMetadataKeys []string `json:"customMetadataKeys,omitempty"`
  6680  	// MetadataBucketUri: Optional. The Cloud Storage path to the source object
  6681  	// metadata. Note that: [1] metadata files are expected to be in JSON format
  6682  	// [2] metadata and source objects must be in separate buckets [3] a source
  6683  	// object's metadata object must share the same name to be properly ingested
  6684  	MetadataBucketUri string `json:"metadataBucketUri,omitempty"`
  6685  	// ForceSendFields is a list of field names (e.g. "BucketObjectType") to
  6686  	// unconditionally include in API requests. By default, fields with empty or
  6687  	// default values are omitted from API requests. See
  6688  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6689  	// details.
  6690  	ForceSendFields []string `json:"-"`
  6691  	// NullFields is a list of field names (e.g. "BucketObjectType") to include in
  6692  	// API requests with the JSON null value. By default, fields with empty values
  6693  	// are omitted from API requests. See
  6694  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6695  	NullFields []string `json:"-"`
  6696  }
  6697  
  6698  func (s *GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource) MarshalJSON() ([]byte, error) {
  6699  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestGcsSource
  6700  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6701  }
  6702  
  6703  // GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptO
  6704  // bjectConfig: Configuration for processing transcript objects.
  6705  type GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig struct {
  6706  	// Medium: Required. The medium transcript objects represent.
  6707  	//
  6708  	// Possible values:
  6709  	//   "MEDIUM_UNSPECIFIED" - Default value, if unspecified will default to
  6710  	// PHONE_CALL.
  6711  	//   "PHONE_CALL" - The format for conversations that took place over the
  6712  	// phone.
  6713  	//   "CHAT" - The format for conversations that took place over chat.
  6714  	Medium string `json:"medium,omitempty"`
  6715  	// ForceSendFields is a list of field names (e.g. "Medium") to unconditionally
  6716  	// include in API requests. By default, fields with empty or default values are
  6717  	// omitted from API requests. See
  6718  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6719  	// details.
  6720  	ForceSendFields []string `json:"-"`
  6721  	// NullFields is a list of field names (e.g. "Medium") to include in API
  6722  	// requests with the JSON null value. By default, fields with empty values are
  6723  	// omitted from API requests. See
  6724  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6725  	NullFields []string `json:"-"`
  6726  }
  6727  
  6728  func (s *GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig) MarshalJSON() ([]byte, error) {
  6729  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1IngestConversationsRequestTranscriptObjectConfig
  6730  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6731  }
  6732  
  6733  // GoogleCloudContactcenterinsightsV1alpha1IngestConversationsResponse: The
  6734  // response to an IngestConversations operation.
  6735  type GoogleCloudContactcenterinsightsV1alpha1IngestConversationsResponse struct {
  6736  }
  6737  
  6738  // GoogleCloudContactcenterinsightsV1alpha1Intent: The data for an intent.
  6739  // Represents a detected intent in the conversation, for example MAKES_PROMISE.
  6740  type GoogleCloudContactcenterinsightsV1alpha1Intent struct {
  6741  	// DisplayName: The human-readable name of the intent.
  6742  	DisplayName string `json:"displayName,omitempty"`
  6743  	// Id: The unique identifier of the intent.
  6744  	Id string `json:"id,omitempty"`
  6745  	// ForceSendFields is a list of field names (e.g. "DisplayName") to
  6746  	// unconditionally include in API requests. By default, fields with empty or
  6747  	// default values are omitted from API requests. See
  6748  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6749  	// details.
  6750  	ForceSendFields []string `json:"-"`
  6751  	// NullFields is a list of field names (e.g. "DisplayName") to include in API
  6752  	// requests with the JSON null value. By default, fields with empty values are
  6753  	// omitted from API requests. See
  6754  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6755  	NullFields []string `json:"-"`
  6756  }
  6757  
  6758  func (s *GoogleCloudContactcenterinsightsV1alpha1Intent) MarshalJSON() ([]byte, error) {
  6759  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1Intent
  6760  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6761  }
  6762  
  6763  // GoogleCloudContactcenterinsightsV1alpha1IntentMatchData: The data for an
  6764  // intent match. Represents an intent match for a text segment in the
  6765  // conversation. A text segment can be part of a sentence, a complete sentence,
  6766  // or an utterance with multiple sentences.
  6767  type GoogleCloudContactcenterinsightsV1alpha1IntentMatchData struct {
  6768  	// IntentUniqueId: The id of the matched intent. Can be used to retrieve the
  6769  	// corresponding intent information.
  6770  	IntentUniqueId string `json:"intentUniqueId,omitempty"`
  6771  	// ForceSendFields is a list of field names (e.g. "IntentUniqueId") to
  6772  	// unconditionally include in API requests. By default, fields with empty or
  6773  	// default values are omitted from API requests. See
  6774  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6775  	// details.
  6776  	ForceSendFields []string `json:"-"`
  6777  	// NullFields is a list of field names (e.g. "IntentUniqueId") to include in
  6778  	// API requests with the JSON null value. By default, fields with empty values
  6779  	// are omitted from API requests. See
  6780  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6781  	NullFields []string `json:"-"`
  6782  }
  6783  
  6784  func (s *GoogleCloudContactcenterinsightsV1alpha1IntentMatchData) MarshalJSON() ([]byte, error) {
  6785  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1IntentMatchData
  6786  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6787  }
  6788  
  6789  // GoogleCloudContactcenterinsightsV1alpha1InterruptionData: The data for an
  6790  // interruption annotation.
  6791  type GoogleCloudContactcenterinsightsV1alpha1InterruptionData struct {
  6792  }
  6793  
  6794  // GoogleCloudContactcenterinsightsV1alpha1IssueAssignment: Information about
  6795  // the issue.
  6796  type GoogleCloudContactcenterinsightsV1alpha1IssueAssignment struct {
  6797  	// DisplayName: Immutable. Display name of the assigned issue. This field is
  6798  	// set at time of analyis and immutable since then.
  6799  	DisplayName string `json:"displayName,omitempty"`
  6800  	// Issue: Resource name of the assigned issue.
  6801  	Issue string `json:"issue,omitempty"`
  6802  	// Score: Score indicating the likelihood of the issue assignment. currently
  6803  	// bounded on [0,1].
  6804  	Score float64 `json:"score,omitempty"`
  6805  	// ForceSendFields is a list of field names (e.g. "DisplayName") to
  6806  	// unconditionally include in API requests. By default, fields with empty or
  6807  	// default values are omitted from API requests. See
  6808  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6809  	// details.
  6810  	ForceSendFields []string `json:"-"`
  6811  	// NullFields is a list of field names (e.g. "DisplayName") to include in API
  6812  	// requests with the JSON null value. By default, fields with empty values are
  6813  	// omitted from API requests. See
  6814  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6815  	NullFields []string `json:"-"`
  6816  }
  6817  
  6818  func (s *GoogleCloudContactcenterinsightsV1alpha1IssueAssignment) MarshalJSON() ([]byte, error) {
  6819  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1IssueAssignment
  6820  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6821  }
  6822  
  6823  func (s *GoogleCloudContactcenterinsightsV1alpha1IssueAssignment) UnmarshalJSON(data []byte) error {
  6824  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1IssueAssignment
  6825  	var s1 struct {
  6826  		Score gensupport.JSONFloat64 `json:"score"`
  6827  		*NoMethod
  6828  	}
  6829  	s1.NoMethod = (*NoMethod)(s)
  6830  	if err := json.Unmarshal(data, &s1); err != nil {
  6831  		return err
  6832  	}
  6833  	s.Score = float64(s1.Score)
  6834  	return nil
  6835  }
  6836  
  6837  // GoogleCloudContactcenterinsightsV1alpha1IssueMatchData: The data for an
  6838  // issue match annotation.
  6839  type GoogleCloudContactcenterinsightsV1alpha1IssueMatchData struct {
  6840  	// IssueAssignment: Information about the issue's assignment.
  6841  	IssueAssignment *GoogleCloudContactcenterinsightsV1alpha1IssueAssignment `json:"issueAssignment,omitempty"`
  6842  	// ForceSendFields is a list of field names (e.g. "IssueAssignment") to
  6843  	// unconditionally include in API requests. By default, fields with empty or
  6844  	// default values are omitted from API requests. See
  6845  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6846  	// details.
  6847  	ForceSendFields []string `json:"-"`
  6848  	// NullFields is a list of field names (e.g. "IssueAssignment") to include in
  6849  	// API requests with the JSON null value. By default, fields with empty values
  6850  	// are omitted from API requests. See
  6851  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6852  	NullFields []string `json:"-"`
  6853  }
  6854  
  6855  func (s *GoogleCloudContactcenterinsightsV1alpha1IssueMatchData) MarshalJSON() ([]byte, error) {
  6856  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1IssueMatchData
  6857  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6858  }
  6859  
  6860  // GoogleCloudContactcenterinsightsV1alpha1IssueModel: The issue model
  6861  // resource.
  6862  type GoogleCloudContactcenterinsightsV1alpha1IssueModel struct {
  6863  	// CreateTime: Output only. The time at which this issue model was created.
  6864  	CreateTime string `json:"createTime,omitempty"`
  6865  	// DisplayName: The representative name for the issue model.
  6866  	DisplayName string `json:"displayName,omitempty"`
  6867  	// InputDataConfig: Configs for the input data that used to create the issue
  6868  	// model.
  6869  	InputDataConfig *GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig `json:"inputDataConfig,omitempty"`
  6870  	// IssueCount: Output only. Number of issues in this issue model.
  6871  	IssueCount int64 `json:"issueCount,omitempty,string"`
  6872  	// LanguageCode: Language of the model.
  6873  	LanguageCode string `json:"languageCode,omitempty"`
  6874  	// ModelType: Type of the model.
  6875  	//
  6876  	// Possible values:
  6877  	//   "MODEL_TYPE_UNSPECIFIED" - Unspecified model type.
  6878  	//   "TYPE_V1" - Type V1.
  6879  	//   "TYPE_V2" - Type V2.
  6880  	ModelType string `json:"modelType,omitempty"`
  6881  	// Name: Immutable. The resource name of the issue model. Format:
  6882  	// projects/{project}/locations/{location}/issueModels/{issue_model}
  6883  	Name string `json:"name,omitempty"`
  6884  	// State: Output only. State of the model.
  6885  	//
  6886  	// Possible values:
  6887  	//   "STATE_UNSPECIFIED" - Unspecified.
  6888  	//   "UNDEPLOYED" - Model is not deployed but is ready to deploy.
  6889  	//   "DEPLOYING" - Model is being deployed.
  6890  	//   "DEPLOYED" - Model is deployed and is ready to be used. A model can only
  6891  	// be used in analysis if it's in this state.
  6892  	//   "UNDEPLOYING" - Model is being undeployed.
  6893  	//   "DELETING" - Model is being deleted.
  6894  	State string `json:"state,omitempty"`
  6895  	// TrainingStats: Output only. Immutable. The issue model's label statistics on
  6896  	// its training data.
  6897  	TrainingStats *GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats `json:"trainingStats,omitempty"`
  6898  	// UpdateTime: Output only. The most recent time at which the issue model was
  6899  	// updated.
  6900  	UpdateTime string `json:"updateTime,omitempty"`
  6901  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  6902  	// unconditionally include in API requests. By default, fields with empty or
  6903  	// default values are omitted from API requests. See
  6904  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6905  	// details.
  6906  	ForceSendFields []string `json:"-"`
  6907  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  6908  	// requests with the JSON null value. By default, fields with empty values are
  6909  	// omitted from API requests. See
  6910  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6911  	NullFields []string `json:"-"`
  6912  }
  6913  
  6914  func (s *GoogleCloudContactcenterinsightsV1alpha1IssueModel) MarshalJSON() ([]byte, error) {
  6915  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1IssueModel
  6916  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6917  }
  6918  
  6919  // GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig: Configs
  6920  // for the input data used to create the issue model.
  6921  type GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig struct {
  6922  	// Filter: A filter to reduce the conversations used for training the model to
  6923  	// a specific subset.
  6924  	Filter string `json:"filter,omitempty"`
  6925  	// Medium: Medium of conversations used in training data. This field is being
  6926  	// deprecated. To specify the medium to be used in training a new issue model,
  6927  	// set the `medium` field on `filter`.
  6928  	//
  6929  	// Possible values:
  6930  	//   "MEDIUM_UNSPECIFIED" - Default value, if unspecified will default to
  6931  	// PHONE_CALL.
  6932  	//   "PHONE_CALL" - The format for conversations that took place over the
  6933  	// phone.
  6934  	//   "CHAT" - The format for conversations that took place over chat.
  6935  	Medium string `json:"medium,omitempty"`
  6936  	// TrainingConversationsCount: Output only. Number of conversations used in
  6937  	// training. Output only.
  6938  	TrainingConversationsCount int64 `json:"trainingConversationsCount,omitempty,string"`
  6939  	// ForceSendFields is a list of field names (e.g. "Filter") to unconditionally
  6940  	// include in API requests. By default, fields with empty or default values are
  6941  	// omitted from API requests. See
  6942  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6943  	// details.
  6944  	ForceSendFields []string `json:"-"`
  6945  	// NullFields is a list of field names (e.g. "Filter") to include in API
  6946  	// requests with the JSON null value. By default, fields with empty values are
  6947  	// omitted from API requests. See
  6948  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6949  	NullFields []string `json:"-"`
  6950  }
  6951  
  6952  func (s *GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig) MarshalJSON() ([]byte, error) {
  6953  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1IssueModelInputDataConfig
  6954  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6955  }
  6956  
  6957  // GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats: Aggregated
  6958  // statistics about an issue model.
  6959  type GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats struct {
  6960  	// AnalyzedConversationsCount: Number of conversations the issue model has
  6961  	// analyzed at this point in time.
  6962  	AnalyzedConversationsCount int64 `json:"analyzedConversationsCount,omitempty,string"`
  6963  	// IssueStats: Statistics on each issue. Key is the issue's resource name.
  6964  	IssueStats map[string]GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats `json:"issueStats,omitempty"`
  6965  	// UnclassifiedConversationsCount: Number of analyzed conversations for which
  6966  	// no issue was applicable at this point in time.
  6967  	UnclassifiedConversationsCount int64 `json:"unclassifiedConversationsCount,omitempty,string"`
  6968  	// ForceSendFields is a list of field names (e.g. "AnalyzedConversationsCount")
  6969  	// to unconditionally include in API requests. By default, fields with empty or
  6970  	// default values are omitted from API requests. See
  6971  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6972  	// details.
  6973  	ForceSendFields []string `json:"-"`
  6974  	// NullFields is a list of field names (e.g. "AnalyzedConversationsCount") to
  6975  	// include in API requests with the JSON null value. By default, fields with
  6976  	// empty values are omitted from API requests. See
  6977  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6978  	NullFields []string `json:"-"`
  6979  }
  6980  
  6981  func (s *GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats) MarshalJSON() ([]byte, error) {
  6982  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStats
  6983  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6984  }
  6985  
  6986  // GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats:
  6987  // Aggregated statistics about an issue.
  6988  type GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats struct {
  6989  	// DisplayName: Display name of the issue.
  6990  	DisplayName string `json:"displayName,omitempty"`
  6991  	// Issue: Issue resource. Format:
  6992  	// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{iss
  6993  	// ue}
  6994  	Issue string `json:"issue,omitempty"`
  6995  	// LabeledConversationsCount: Number of conversations attached to the issue at
  6996  	// this point in time.
  6997  	LabeledConversationsCount int64 `json:"labeledConversationsCount,omitempty,string"`
  6998  	// ForceSendFields is a list of field names (e.g. "DisplayName") to
  6999  	// unconditionally include in API requests. By default, fields with empty or
  7000  	// default values are omitted from API requests. See
  7001  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7002  	// details.
  7003  	ForceSendFields []string `json:"-"`
  7004  	// NullFields is a list of field names (e.g. "DisplayName") to include in API
  7005  	// requests with the JSON null value. By default, fields with empty values are
  7006  	// omitted from API requests. See
  7007  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7008  	NullFields []string `json:"-"`
  7009  }
  7010  
  7011  func (s *GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats) MarshalJSON() ([]byte, error) {
  7012  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1IssueModelLabelStatsIssueStats
  7013  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7014  }
  7015  
  7016  // GoogleCloudContactcenterinsightsV1alpha1IssueModelResult: Issue Modeling
  7017  // result on a conversation.
  7018  type GoogleCloudContactcenterinsightsV1alpha1IssueModelResult struct {
  7019  	// IssueModel: Issue model that generates the result. Format:
  7020  	// projects/{project}/locations/{location}/issueModels/{issue_model}
  7021  	IssueModel string `json:"issueModel,omitempty"`
  7022  	// Issues: All the matched issues.
  7023  	Issues []*GoogleCloudContactcenterinsightsV1alpha1IssueAssignment `json:"issues,omitempty"`
  7024  	// ForceSendFields is a list of field names (e.g. "IssueModel") to
  7025  	// unconditionally include in API requests. By default, fields with empty or
  7026  	// default values are omitted from API requests. See
  7027  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7028  	// details.
  7029  	ForceSendFields []string `json:"-"`
  7030  	// NullFields is a list of field names (e.g. "IssueModel") to include in API
  7031  	// requests with the JSON null value. By default, fields with empty values are
  7032  	// omitted from API requests. See
  7033  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7034  	NullFields []string `json:"-"`
  7035  }
  7036  
  7037  func (s *GoogleCloudContactcenterinsightsV1alpha1IssueModelResult) MarshalJSON() ([]byte, error) {
  7038  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1IssueModelResult
  7039  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7040  }
  7041  
  7042  // GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData: The data for a
  7043  // matched phrase matcher. Represents information identifying a phrase matcher
  7044  // for a given match.
  7045  type GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData struct {
  7046  	// DisplayName: The human-readable name of the phrase matcher.
  7047  	DisplayName string `json:"displayName,omitempty"`
  7048  	// PhraseMatcher: The unique identifier (the resource name) of the phrase
  7049  	// matcher.
  7050  	PhraseMatcher string `json:"phraseMatcher,omitempty"`
  7051  	// ForceSendFields is a list of field names (e.g. "DisplayName") to
  7052  	// unconditionally include in API requests. By default, fields with empty or
  7053  	// default values are omitted from API requests. See
  7054  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7055  	// details.
  7056  	ForceSendFields []string `json:"-"`
  7057  	// NullFields is a list of field names (e.g. "DisplayName") to include in API
  7058  	// requests with the JSON null value. By default, fields with empty values are
  7059  	// omitted from API requests. See
  7060  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7061  	NullFields []string `json:"-"`
  7062  }
  7063  
  7064  func (s *GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData) MarshalJSON() ([]byte, error) {
  7065  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1PhraseMatchData
  7066  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7067  }
  7068  
  7069  // GoogleCloudContactcenterinsightsV1alpha1RedactionConfig: DLP resources used
  7070  // for redaction while ingesting conversations. DLP settings are applied to
  7071  // conversations ingested from the UploadConversation and IngestConversations
  7072  // endpoints, including conversation coming from CCAI Platform. They are not
  7073  // applied to conversations ingested from the CreateConversation endpoint or
  7074  // the Dialogflow / Agent Assist runtime integrations. When using Dialogflow /
  7075  // Agent Assist runtime integrations redaction should be performed in
  7076  // Dialogflow / Agent Assist.
  7077  type GoogleCloudContactcenterinsightsV1alpha1RedactionConfig struct {
  7078  	// DeidentifyTemplate: The fully-qualified DLP deidentify template resource
  7079  	// name. Format: `projects/{project}/deidentifyTemplates/{template}`
  7080  	DeidentifyTemplate string `json:"deidentifyTemplate,omitempty"`
  7081  	// InspectTemplate: The fully-qualified DLP inspect template resource name.
  7082  	// Format:
  7083  	// `projects/{project}/locations/{location}/inspectTemplates/{template}`
  7084  	InspectTemplate string `json:"inspectTemplate,omitempty"`
  7085  	// ForceSendFields is a list of field names (e.g. "DeidentifyTemplate") to
  7086  	// unconditionally include in API requests. By default, fields with empty or
  7087  	// default values are omitted from API requests. See
  7088  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7089  	// details.
  7090  	ForceSendFields []string `json:"-"`
  7091  	// NullFields is a list of field names (e.g. "DeidentifyTemplate") to include
  7092  	// in API requests with the JSON null value. By default, fields with empty
  7093  	// values are omitted from API requests. See
  7094  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7095  	NullFields []string `json:"-"`
  7096  }
  7097  
  7098  func (s *GoogleCloudContactcenterinsightsV1alpha1RedactionConfig) MarshalJSON() ([]byte, error) {
  7099  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1RedactionConfig
  7100  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7101  }
  7102  
  7103  // GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation: An annotation
  7104  // that was generated during the customer and agent interaction.
  7105  type GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation struct {
  7106  	// AnnotationId: The unique identifier of the annotation. Format:
  7107  	// projects/{project}/locations/{location}/conversationDatasets/{dataset}/conver
  7108  	// sationDataItems/{data_item}/conversationAnnotations/{annotation}
  7109  	AnnotationId string `json:"annotationId,omitempty"`
  7110  	// AnswerFeedback: The feedback that the customer has about the answer in
  7111  	// `data`.
  7112  	AnswerFeedback *GoogleCloudContactcenterinsightsV1alpha1AnswerFeedback `json:"answerFeedback,omitempty"`
  7113  	// ArticleSuggestion: Agent Assist Article Suggestion data.
  7114  	ArticleSuggestion *GoogleCloudContactcenterinsightsV1alpha1ArticleSuggestionData `json:"articleSuggestion,omitempty"`
  7115  	// ConversationSummarizationSuggestion: Conversation summarization suggestion
  7116  	// data.
  7117  	ConversationSummarizationSuggestion *GoogleCloudContactcenterinsightsV1alpha1ConversationSummarizationSuggestionData `json:"conversationSummarizationSuggestion,omitempty"`
  7118  	// CreateTime: The time at which this annotation was created.
  7119  	CreateTime string `json:"createTime,omitempty"`
  7120  	// DialogflowInteraction: Dialogflow interaction data.
  7121  	DialogflowInteraction *GoogleCloudContactcenterinsightsV1alpha1DialogflowInteractionData `json:"dialogflowInteraction,omitempty"`
  7122  	// EndBoundary: The boundary in the conversation where the annotation ends,
  7123  	// inclusive.
  7124  	EndBoundary *GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary `json:"endBoundary,omitempty"`
  7125  	// FaqAnswer: Agent Assist FAQ answer data.
  7126  	FaqAnswer *GoogleCloudContactcenterinsightsV1alpha1FaqAnswerData `json:"faqAnswer,omitempty"`
  7127  	// GeneratorSuggestionResult: The generator suggestion result.
  7128  	GeneratorSuggestionResult *GoogleCloudContactcenterinsightsV1alpha1GetGeneratorSuggestionResponse `json:"generatorSuggestionResult,omitempty"`
  7129  	// KnowledgeAssistResult: The Knowledge Assist result.
  7130  	KnowledgeAssistResult *GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponse `json:"knowledgeAssistResult,omitempty"`
  7131  	// KnowledgeSearchResult: The Knowledge Search result.
  7132  	KnowledgeSearchResult *GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswer `json:"knowledgeSearchResult,omitempty"`
  7133  	// SmartComposeSuggestion: Agent Assist Smart Compose suggestion data.
  7134  	SmartComposeSuggestion *GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData `json:"smartComposeSuggestion,omitempty"`
  7135  	// SmartReply: Agent Assist Smart Reply data.
  7136  	SmartReply *GoogleCloudContactcenterinsightsV1alpha1SmartReplyData `json:"smartReply,omitempty"`
  7137  	// StartBoundary: The boundary in the conversation where the annotation starts,
  7138  	// inclusive.
  7139  	StartBoundary *GoogleCloudContactcenterinsightsV1alpha1AnnotationBoundary `json:"startBoundary,omitempty"`
  7140  	// ForceSendFields is a list of field names (e.g. "AnnotationId") to
  7141  	// unconditionally include in API requests. By default, fields with empty or
  7142  	// default values are omitted from API requests. See
  7143  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7144  	// details.
  7145  	ForceSendFields []string `json:"-"`
  7146  	// NullFields is a list of field names (e.g. "AnnotationId") to include in API
  7147  	// requests with the JSON null value. By default, fields with empty values are
  7148  	// omitted from API requests. See
  7149  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7150  	NullFields []string `json:"-"`
  7151  }
  7152  
  7153  func (s *GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation) MarshalJSON() ([]byte, error) {
  7154  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotation
  7155  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7156  }
  7157  
  7158  // GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswer: Represents a
  7159  // SearchKnowledge answer.
  7160  type GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswer struct {
  7161  	// Answer: The piece of text from the knowledge base documents that answers the
  7162  	// search query
  7163  	Answer string `json:"answer,omitempty"`
  7164  	// AnswerRecord: The name of the answer record. Format:
  7165  	// `projects//locations//answer Records/`
  7166  	AnswerRecord string `json:"answerRecord,omitempty"`
  7167  	// AnswerSources: All sources used to generate the answer.
  7168  	AnswerSources []*GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource `json:"answerSources,omitempty"`
  7169  	// AnswerType: The type of the answer.
  7170  	//
  7171  	// Possible values:
  7172  	//   "ANSWER_TYPE_UNSPECIFIED" - The answer has a unspecified type.
  7173  	//   "FAQ" - The answer is from FAQ documents.
  7174  	//   "GENERATIVE" - The answer is from generative model.
  7175  	//   "INTENT" - The answer is from intent matching.
  7176  	AnswerType string `json:"answerType,omitempty"`
  7177  	// ConfidenceScore: The confidence score in [0.0, 1.0] range.
  7178  	ConfidenceScore float64 `json:"confidenceScore,omitempty"`
  7179  	// ForceSendFields is a list of field names (e.g. "Answer") to unconditionally
  7180  	// include in API requests. By default, fields with empty or default values are
  7181  	// omitted from API requests. See
  7182  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7183  	// details.
  7184  	ForceSendFields []string `json:"-"`
  7185  	// NullFields is a list of field names (e.g. "Answer") to include in API
  7186  	// requests with the JSON null value. By default, fields with empty values are
  7187  	// omitted from API requests. See
  7188  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7189  	NullFields []string `json:"-"`
  7190  }
  7191  
  7192  func (s *GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswer) MarshalJSON() ([]byte, error) {
  7193  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswer
  7194  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7195  }
  7196  
  7197  func (s *GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswer) UnmarshalJSON(data []byte) error {
  7198  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswer
  7199  	var s1 struct {
  7200  		ConfidenceScore gensupport.JSONFloat64 `json:"confidenceScore"`
  7201  		*NoMethod
  7202  	}
  7203  	s1.NoMethod = (*NoMethod)(s)
  7204  	if err := json.Unmarshal(data, &s1); err != nil {
  7205  		return err
  7206  	}
  7207  	s.ConfidenceScore = float64(s1.ConfidenceScore)
  7208  	return nil
  7209  }
  7210  
  7211  // GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource:
  7212  // The sources of the answers.
  7213  type GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource struct {
  7214  	// Document: The document from which the snippet was extracted. Format:
  7215  	// `projects//knowledgeBases//documents/`
  7216  	Document string `json:"document,omitempty"`
  7217  	// Snippet: The relevant snippet of the article.
  7218  	Snippet string `json:"snippet,omitempty"`
  7219  	// Title: The title of the article.
  7220  	Title string `json:"title,omitempty"`
  7221  	// Uri: The URI of the article.
  7222  	Uri string `json:"uri,omitempty"`
  7223  	// ForceSendFields is a list of field names (e.g. "Document") to
  7224  	// unconditionally include in API requests. By default, fields with empty or
  7225  	// default values are omitted from API requests. See
  7226  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7227  	// details.
  7228  	ForceSendFields []string `json:"-"`
  7229  	// NullFields is a list of field names (e.g. "Document") to include in API
  7230  	// requests with the JSON null value. By default, fields with empty values are
  7231  	// omitted from API requests. See
  7232  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7233  	NullFields []string `json:"-"`
  7234  }
  7235  
  7236  func (s *GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource) MarshalJSON() ([]byte, error) {
  7237  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource
  7238  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7239  }
  7240  
  7241  // GoogleCloudContactcenterinsightsV1alpha1SentimentData: The data for a
  7242  // sentiment annotation.
  7243  type GoogleCloudContactcenterinsightsV1alpha1SentimentData struct {
  7244  	// Magnitude: A non-negative number from 0 to infinity which represents the
  7245  	// abolute magnitude of sentiment regardless of score.
  7246  	Magnitude float64 `json:"magnitude,omitempty"`
  7247  	// Score: The sentiment score between -1.0 (negative) and 1.0 (positive).
  7248  	Score float64 `json:"score,omitempty"`
  7249  	// ForceSendFields is a list of field names (e.g. "Magnitude") to
  7250  	// unconditionally include in API requests. By default, fields with empty or
  7251  	// default values are omitted from API requests. See
  7252  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7253  	// details.
  7254  	ForceSendFields []string `json:"-"`
  7255  	// NullFields is a list of field names (e.g. "Magnitude") to include in API
  7256  	// requests with the JSON null value. By default, fields with empty values are
  7257  	// omitted from API requests. See
  7258  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7259  	NullFields []string `json:"-"`
  7260  }
  7261  
  7262  func (s *GoogleCloudContactcenterinsightsV1alpha1SentimentData) MarshalJSON() ([]byte, error) {
  7263  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1SentimentData
  7264  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7265  }
  7266  
  7267  func (s *GoogleCloudContactcenterinsightsV1alpha1SentimentData) UnmarshalJSON(data []byte) error {
  7268  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1SentimentData
  7269  	var s1 struct {
  7270  		Magnitude gensupport.JSONFloat64 `json:"magnitude"`
  7271  		Score     gensupport.JSONFloat64 `json:"score"`
  7272  		*NoMethod
  7273  	}
  7274  	s1.NoMethod = (*NoMethod)(s)
  7275  	if err := json.Unmarshal(data, &s1); err != nil {
  7276  		return err
  7277  	}
  7278  	s.Magnitude = float64(s1.Magnitude)
  7279  	s.Score = float64(s1.Score)
  7280  	return nil
  7281  }
  7282  
  7283  // GoogleCloudContactcenterinsightsV1alpha1SilenceData: The data for a silence
  7284  // annotation.
  7285  type GoogleCloudContactcenterinsightsV1alpha1SilenceData struct {
  7286  }
  7287  
  7288  // GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData: Agent
  7289  // Assist Smart Compose suggestion data.
  7290  type GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData struct {
  7291  	// ConfidenceScore: The system's confidence score that this suggestion is a
  7292  	// good match for this conversation, ranging from 0.0 (completely uncertain) to
  7293  	// 1.0 (completely certain).
  7294  	ConfidenceScore float64 `json:"confidenceScore,omitempty"`
  7295  	// Metadata: Map that contains metadata about the Smart Compose suggestion and
  7296  	// the document from which it originates.
  7297  	Metadata map[string]string `json:"metadata,omitempty"`
  7298  	// QueryRecord: The name of the answer record. Format:
  7299  	// projects/{project}/locations/{location}/answerRecords/{answer_record}
  7300  	QueryRecord string `json:"queryRecord,omitempty"`
  7301  	// Suggestion: The content of the suggestion.
  7302  	Suggestion string `json:"suggestion,omitempty"`
  7303  	// ForceSendFields is a list of field names (e.g. "ConfidenceScore") to
  7304  	// unconditionally include in API requests. By default, fields with empty or
  7305  	// default values are omitted from API requests. See
  7306  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7307  	// details.
  7308  	ForceSendFields []string `json:"-"`
  7309  	// NullFields is a list of field names (e.g. "ConfidenceScore") to include in
  7310  	// API requests with the JSON null value. By default, fields with empty values
  7311  	// are omitted from API requests. See
  7312  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7313  	NullFields []string `json:"-"`
  7314  }
  7315  
  7316  func (s *GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData) MarshalJSON() ([]byte, error) {
  7317  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData
  7318  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7319  }
  7320  
  7321  func (s *GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData) UnmarshalJSON(data []byte) error {
  7322  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1SmartComposeSuggestionData
  7323  	var s1 struct {
  7324  		ConfidenceScore gensupport.JSONFloat64 `json:"confidenceScore"`
  7325  		*NoMethod
  7326  	}
  7327  	s1.NoMethod = (*NoMethod)(s)
  7328  	if err := json.Unmarshal(data, &s1); err != nil {
  7329  		return err
  7330  	}
  7331  	s.ConfidenceScore = float64(s1.ConfidenceScore)
  7332  	return nil
  7333  }
  7334  
  7335  // GoogleCloudContactcenterinsightsV1alpha1SmartReplyData: Agent Assist Smart
  7336  // Reply data.
  7337  type GoogleCloudContactcenterinsightsV1alpha1SmartReplyData struct {
  7338  	// ConfidenceScore: The system's confidence score that this reply is a good
  7339  	// match for this conversation, ranging from 0.0 (completely uncertain) to 1.0
  7340  	// (completely certain).
  7341  	ConfidenceScore float64 `json:"confidenceScore,omitempty"`
  7342  	// Metadata: Map that contains metadata about the Smart Reply and the document
  7343  	// from which it originates.
  7344  	Metadata map[string]string `json:"metadata,omitempty"`
  7345  	// QueryRecord: The name of the answer record. Format:
  7346  	// projects/{project}/locations/{location}/answerRecords/{answer_record}
  7347  	QueryRecord string `json:"queryRecord,omitempty"`
  7348  	// Reply: The content of the reply.
  7349  	Reply string `json:"reply,omitempty"`
  7350  	// ForceSendFields is a list of field names (e.g. "ConfidenceScore") to
  7351  	// unconditionally include in API requests. By default, fields with empty or
  7352  	// default values are omitted from API requests. See
  7353  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7354  	// details.
  7355  	ForceSendFields []string `json:"-"`
  7356  	// NullFields is a list of field names (e.g. "ConfidenceScore") to include in
  7357  	// API requests with the JSON null value. By default, fields with empty values
  7358  	// are omitted from API requests. See
  7359  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7360  	NullFields []string `json:"-"`
  7361  }
  7362  
  7363  func (s *GoogleCloudContactcenterinsightsV1alpha1SmartReplyData) MarshalJSON() ([]byte, error) {
  7364  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1SmartReplyData
  7365  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7366  }
  7367  
  7368  func (s *GoogleCloudContactcenterinsightsV1alpha1SmartReplyData) UnmarshalJSON(data []byte) error {
  7369  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1SmartReplyData
  7370  	var s1 struct {
  7371  		ConfidenceScore gensupport.JSONFloat64 `json:"confidenceScore"`
  7372  		*NoMethod
  7373  	}
  7374  	s1.NoMethod = (*NoMethod)(s)
  7375  	if err := json.Unmarshal(data, &s1); err != nil {
  7376  		return err
  7377  	}
  7378  	s.ConfidenceScore = float64(s1.ConfidenceScore)
  7379  	return nil
  7380  }
  7381  
  7382  // GoogleCloudContactcenterinsightsV1alpha1SpeechConfig: Speech-to-Text
  7383  // configuration. Speech-to-Text settings are applied to conversations ingested
  7384  // from the UploadConversation and IngestConversations endpoints, including
  7385  // conversation coming from CCAI Platform. They are not applied to
  7386  // conversations ingested from the CreateConversation endpoint.
  7387  type GoogleCloudContactcenterinsightsV1alpha1SpeechConfig struct {
  7388  	// SpeechRecognizer: The fully-qualified Speech Recognizer resource name.
  7389  	// Format: `projects/{project_id}/locations/{location}/recognizer/{recognizer}`
  7390  	SpeechRecognizer string `json:"speechRecognizer,omitempty"`
  7391  	// ForceSendFields is a list of field names (e.g. "SpeechRecognizer") to
  7392  	// unconditionally include in API requests. By default, fields with empty or
  7393  	// default values are omitted from API requests. See
  7394  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7395  	// details.
  7396  	ForceSendFields []string `json:"-"`
  7397  	// NullFields is a list of field names (e.g. "SpeechRecognizer") to include in
  7398  	// API requests with the JSON null value. By default, fields with empty values
  7399  	// are omitted from API requests. See
  7400  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7401  	NullFields []string `json:"-"`
  7402  }
  7403  
  7404  func (s *GoogleCloudContactcenterinsightsV1alpha1SpeechConfig) MarshalJSON() ([]byte, error) {
  7405  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1SpeechConfig
  7406  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7407  }
  7408  
  7409  // GoogleCloudContactcenterinsightsV1alpha1SummarySuggestion: Suggested summary
  7410  // of the conversation.
  7411  type GoogleCloudContactcenterinsightsV1alpha1SummarySuggestion struct {
  7412  	// SummarySections: Required. All the parts of generated summary.
  7413  	SummarySections []*GoogleCloudContactcenterinsightsV1alpha1SummarySuggestionSummarySection `json:"summarySections,omitempty"`
  7414  	// ForceSendFields is a list of field names (e.g. "SummarySections") to
  7415  	// unconditionally include in API requests. By default, fields with empty or
  7416  	// default values are omitted from API requests. See
  7417  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7418  	// details.
  7419  	ForceSendFields []string `json:"-"`
  7420  	// NullFields is a list of field names (e.g. "SummarySections") to include in
  7421  	// API requests with the JSON null value. By default, fields with empty values
  7422  	// are omitted from API requests. See
  7423  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7424  	NullFields []string `json:"-"`
  7425  }
  7426  
  7427  func (s *GoogleCloudContactcenterinsightsV1alpha1SummarySuggestion) MarshalJSON() ([]byte, error) {
  7428  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1SummarySuggestion
  7429  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7430  }
  7431  
  7432  // GoogleCloudContactcenterinsightsV1alpha1SummarySuggestionSummarySection: A
  7433  // component of the generated summary.
  7434  type GoogleCloudContactcenterinsightsV1alpha1SummarySuggestionSummarySection struct {
  7435  	// Section: Required. Name of the section.
  7436  	Section string `json:"section,omitempty"`
  7437  	// Summary: Required. Summary text for the section.
  7438  	Summary string `json:"summary,omitempty"`
  7439  	// ForceSendFields is a list of field names (e.g. "Section") to unconditionally
  7440  	// include in API requests. By default, fields with empty or default values are
  7441  	// omitted from API requests. See
  7442  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7443  	// details.
  7444  	ForceSendFields []string `json:"-"`
  7445  	// NullFields is a list of field names (e.g. "Section") to include in API
  7446  	// requests with the JSON null value. By default, fields with empty values are
  7447  	// omitted from API requests. See
  7448  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7449  	NullFields []string `json:"-"`
  7450  }
  7451  
  7452  func (s *GoogleCloudContactcenterinsightsV1alpha1SummarySuggestionSummarySection) MarshalJSON() ([]byte, error) {
  7453  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1SummarySuggestionSummarySection
  7454  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7455  }
  7456  
  7457  // GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata: Metadata
  7458  // for undeploying an issue model.
  7459  type GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata struct {
  7460  	// CreateTime: Output only. The time the operation was created.
  7461  	CreateTime string `json:"createTime,omitempty"`
  7462  	// EndTime: Output only. The time the operation finished running.
  7463  	EndTime string `json:"endTime,omitempty"`
  7464  	// Request: The original request for undeployment.
  7465  	Request *GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest `json:"request,omitempty"`
  7466  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  7467  	// unconditionally include in API requests. By default, fields with empty or
  7468  	// default values are omitted from API requests. See
  7469  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7470  	// details.
  7471  	ForceSendFields []string `json:"-"`
  7472  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  7473  	// requests with the JSON null value. By default, fields with empty values are
  7474  	// omitted from API requests. See
  7475  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7476  	NullFields []string `json:"-"`
  7477  }
  7478  
  7479  func (s *GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata) MarshalJSON() ([]byte, error) {
  7480  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelMetadata
  7481  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7482  }
  7483  
  7484  // GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest: The
  7485  // request to undeploy an issue model.
  7486  type GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest struct {
  7487  	// Name: Required. The issue model to undeploy.
  7488  	Name string `json:"name,omitempty"`
  7489  	// ForceSendFields is a list of field names (e.g. "Name") to unconditionally
  7490  	// include in API requests. By default, fields with empty or default values are
  7491  	// omitted from API requests. See
  7492  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7493  	// details.
  7494  	ForceSendFields []string `json:"-"`
  7495  	// NullFields is a list of field names (e.g. "Name") to include in API requests
  7496  	// with the JSON null value. By default, fields with empty values are omitted
  7497  	// from API requests. See
  7498  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7499  	NullFields []string `json:"-"`
  7500  }
  7501  
  7502  func (s *GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest) MarshalJSON() ([]byte, error) {
  7503  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelRequest
  7504  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7505  }
  7506  
  7507  // GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse: The
  7508  // response to undeploy an issue model.
  7509  type GoogleCloudContactcenterinsightsV1alpha1UndeployIssueModelResponse struct {
  7510  }
  7511  
  7512  // GoogleCloudContactcenterinsightsV1alpha1UploadConversationMetadata: The
  7513  // metadata for an UploadConversation operation.
  7514  type GoogleCloudContactcenterinsightsV1alpha1UploadConversationMetadata struct {
  7515  	// AnalysisOperation: Output only. The operation name for a successfully
  7516  	// created analysis operation, if any.
  7517  	AnalysisOperation string `json:"analysisOperation,omitempty"`
  7518  	// AppliedRedactionConfig: Output only. The redaction config applied to the
  7519  	// uploaded conversation.
  7520  	AppliedRedactionConfig *GoogleCloudContactcenterinsightsV1alpha1RedactionConfig `json:"appliedRedactionConfig,omitempty"`
  7521  	// CreateTime: Output only. The time the operation was created.
  7522  	CreateTime string `json:"createTime,omitempty"`
  7523  	// EndTime: Output only. The time the operation finished running.
  7524  	EndTime string `json:"endTime,omitempty"`
  7525  	// Request: Output only. The original request.
  7526  	Request *GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest `json:"request,omitempty"`
  7527  	// ForceSendFields is a list of field names (e.g. "AnalysisOperation") to
  7528  	// unconditionally include in API requests. By default, fields with empty or
  7529  	// default values are omitted from API requests. See
  7530  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7531  	// details.
  7532  	ForceSendFields []string `json:"-"`
  7533  	// NullFields is a list of field names (e.g. "AnalysisOperation") to include in
  7534  	// API requests with the JSON null value. By default, fields with empty values
  7535  	// are omitted from API requests. See
  7536  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7537  	NullFields []string `json:"-"`
  7538  }
  7539  
  7540  func (s *GoogleCloudContactcenterinsightsV1alpha1UploadConversationMetadata) MarshalJSON() ([]byte, error) {
  7541  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1UploadConversationMetadata
  7542  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7543  }
  7544  
  7545  // GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest: Request
  7546  // to upload a conversation.
  7547  type GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest struct {
  7548  	// Conversation: Required. The conversation resource to create.
  7549  	Conversation *GoogleCloudContactcenterinsightsV1alpha1Conversation `json:"conversation,omitempty"`
  7550  	// ConversationId: Optional. A unique ID for the new conversation. This ID will
  7551  	// become the final component of the conversation's resource name. If no ID is
  7552  	// specified, a server-generated ID will be used. This value should be 4-64
  7553  	// characters and must match the regular expression `^[a-z0-9-]{4,64}$`. Valid
  7554  	// characters are `a-z-`
  7555  	ConversationId string `json:"conversationId,omitempty"`
  7556  	// Parent: Required. The parent resource of the conversation.
  7557  	Parent string `json:"parent,omitempty"`
  7558  	// RedactionConfig: Optional. DLP settings for transcript redaction. Will
  7559  	// default to the config specified in Settings.
  7560  	RedactionConfig *GoogleCloudContactcenterinsightsV1alpha1RedactionConfig `json:"redactionConfig,omitempty"`
  7561  	// SpeechConfig: Optional. Speech-to-Text configuration. Will default to the
  7562  	// config specified in Settings.
  7563  	SpeechConfig *GoogleCloudContactcenterinsightsV1alpha1SpeechConfig `json:"speechConfig,omitempty"`
  7564  	// ForceSendFields is a list of field names (e.g. "Conversation") to
  7565  	// unconditionally include in API requests. By default, fields with empty or
  7566  	// default values are omitted from API requests. See
  7567  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7568  	// details.
  7569  	ForceSendFields []string `json:"-"`
  7570  	// NullFields is a list of field names (e.g. "Conversation") to include in API
  7571  	// requests with the JSON null value. By default, fields with empty values are
  7572  	// omitted from API requests. See
  7573  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7574  	NullFields []string `json:"-"`
  7575  }
  7576  
  7577  func (s *GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest) MarshalJSON() ([]byte, error) {
  7578  	type NoMethod GoogleCloudContactcenterinsightsV1alpha1UploadConversationRequest
  7579  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7580  }
  7581  
  7582  // GoogleLongrunningListOperationsResponse: The response message for
  7583  // Operations.ListOperations.
  7584  type GoogleLongrunningListOperationsResponse struct {
  7585  	// NextPageToken: The standard List next-page token.
  7586  	NextPageToken string `json:"nextPageToken,omitempty"`
  7587  	// Operations: A list of operations that matches the specified filter in the
  7588  	// request.
  7589  	Operations []*GoogleLongrunningOperation `json:"operations,omitempty"`
  7590  
  7591  	// ServerResponse contains the HTTP response code and headers from the server.
  7592  	googleapi.ServerResponse `json:"-"`
  7593  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  7594  	// unconditionally include in API requests. By default, fields with empty or
  7595  	// default values are omitted from API requests. See
  7596  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7597  	// details.
  7598  	ForceSendFields []string `json:"-"`
  7599  	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
  7600  	// requests with the JSON null value. By default, fields with empty values are
  7601  	// omitted from API requests. See
  7602  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7603  	NullFields []string `json:"-"`
  7604  }
  7605  
  7606  func (s *GoogleLongrunningListOperationsResponse) MarshalJSON() ([]byte, error) {
  7607  	type NoMethod GoogleLongrunningListOperationsResponse
  7608  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7609  }
  7610  
  7611  // GoogleLongrunningOperation: This resource represents a long-running
  7612  // operation that is the result of a network API call.
  7613  type GoogleLongrunningOperation struct {
  7614  	// Done: If the value is `false`, it means the operation is still in progress.
  7615  	// If `true`, the operation is completed, and either `error` or `response` is
  7616  	// available.
  7617  	Done bool `json:"done,omitempty"`
  7618  	// Error: The error result of the operation in case of failure or cancellation.
  7619  	Error *GoogleRpcStatus `json:"error,omitempty"`
  7620  	// Metadata: Service-specific metadata associated with the operation. It
  7621  	// typically contains progress information and common metadata such as create
  7622  	// time. Some services might not provide such metadata. Any method that returns
  7623  	// a long-running operation should document the metadata type, if any.
  7624  	Metadata googleapi.RawMessage `json:"metadata,omitempty"`
  7625  	// Name: The server-assigned name, which is only unique within the same service
  7626  	// that originally returns it. If you use the default HTTP mapping, the `name`
  7627  	// should be a resource name ending with `operations/{unique_id}`.
  7628  	Name string `json:"name,omitempty"`
  7629  	// Response: The normal, successful response of the operation. If the original
  7630  	// method returns no data on success, such as `Delete`, the response is
  7631  	// `google.protobuf.Empty`. If the original method is standard
  7632  	// `Get`/`Create`/`Update`, the response should be the resource. For other
  7633  	// methods, the response should have the type `XxxResponse`, where `Xxx` is the
  7634  	// original method name. For example, if the original method name is
  7635  	// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
  7636  	Response googleapi.RawMessage `json:"response,omitempty"`
  7637  
  7638  	// ServerResponse contains the HTTP response code and headers from the server.
  7639  	googleapi.ServerResponse `json:"-"`
  7640  	// ForceSendFields is a list of field names (e.g. "Done") to unconditionally
  7641  	// include in API requests. By default, fields with empty or default values are
  7642  	// omitted from API requests. See
  7643  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7644  	// details.
  7645  	ForceSendFields []string `json:"-"`
  7646  	// NullFields is a list of field names (e.g. "Done") to include in API requests
  7647  	// with the JSON null value. By default, fields with empty values are omitted
  7648  	// from API requests. See
  7649  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7650  	NullFields []string `json:"-"`
  7651  }
  7652  
  7653  func (s *GoogleLongrunningOperation) MarshalJSON() ([]byte, error) {
  7654  	type NoMethod GoogleLongrunningOperation
  7655  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7656  }
  7657  
  7658  // GoogleProtobufEmpty: A generic empty message that you can re-use to avoid
  7659  // defining duplicated empty messages in your APIs. A typical example is to use
  7660  // it as the request or the response type of an API method. For instance:
  7661  // service Foo { rpc Bar(google.protobuf.Empty) returns
  7662  // (google.protobuf.Empty); }
  7663  type GoogleProtobufEmpty struct {
  7664  	// ServerResponse contains the HTTP response code and headers from the server.
  7665  	googleapi.ServerResponse `json:"-"`
  7666  }
  7667  
  7668  // GoogleRpcStatus: The `Status` type defines a logical error model that is
  7669  // suitable for different programming environments, including REST APIs and RPC
  7670  // APIs. It is used by gRPC (https://github.com/grpc). Each `Status` message
  7671  // contains three pieces of data: error code, error message, and error details.
  7672  // You can find out more about this error model and how to work with it in the
  7673  // API Design Guide (https://cloud.google.com/apis/design/errors).
  7674  type GoogleRpcStatus struct {
  7675  	// Code: The status code, which should be an enum value of google.rpc.Code.
  7676  	Code int64 `json:"code,omitempty"`
  7677  	// Details: A list of messages that carry the error details. There is a common
  7678  	// set of message types for APIs to use.
  7679  	Details []googleapi.RawMessage `json:"details,omitempty"`
  7680  	// Message: A developer-facing error message, which should be in English. Any
  7681  	// user-facing error message should be localized and sent in the
  7682  	// google.rpc.Status.details field, or localized by the client.
  7683  	Message string `json:"message,omitempty"`
  7684  	// ForceSendFields is a list of field names (e.g. "Code") to unconditionally
  7685  	// include in API requests. By default, fields with empty or default values are
  7686  	// omitted from API requests. See
  7687  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7688  	// details.
  7689  	ForceSendFields []string `json:"-"`
  7690  	// NullFields is a list of field names (e.g. "Code") to include in API requests
  7691  	// with the JSON null value. By default, fields with empty values are omitted
  7692  	// from API requests. See
  7693  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7694  	NullFields []string `json:"-"`
  7695  }
  7696  
  7697  func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error) {
  7698  	type NoMethod GoogleRpcStatus
  7699  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7700  }
  7701  
  7702  type ProjectsLocationsGetSettingsCall struct {
  7703  	s            *Service
  7704  	name         string
  7705  	urlParams_   gensupport.URLParams
  7706  	ifNoneMatch_ string
  7707  	ctx_         context.Context
  7708  	header_      http.Header
  7709  }
  7710  
  7711  // GetSettings: Gets project-level settings.
  7712  //
  7713  // - name: The name of the settings resource to get.
  7714  func (r *ProjectsLocationsService) GetSettings(name string) *ProjectsLocationsGetSettingsCall {
  7715  	c := &ProjectsLocationsGetSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  7716  	c.name = name
  7717  	return c
  7718  }
  7719  
  7720  // Fields allows partial responses to be retrieved. See
  7721  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  7722  // details.
  7723  func (c *ProjectsLocationsGetSettingsCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetSettingsCall {
  7724  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  7725  	return c
  7726  }
  7727  
  7728  // IfNoneMatch sets an optional parameter which makes the operation fail if the
  7729  // object's ETag matches the given value. This is useful for getting updates
  7730  // only after the object has changed since the last request.
  7731  func (c *ProjectsLocationsGetSettingsCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetSettingsCall {
  7732  	c.ifNoneMatch_ = entityTag
  7733  	return c
  7734  }
  7735  
  7736  // Context sets the context to be used in this call's Do method.
  7737  func (c *ProjectsLocationsGetSettingsCall) Context(ctx context.Context) *ProjectsLocationsGetSettingsCall {
  7738  	c.ctx_ = ctx
  7739  	return c
  7740  }
  7741  
  7742  // Header returns a http.Header that can be modified by the caller to add
  7743  // headers to the request.
  7744  func (c *ProjectsLocationsGetSettingsCall) Header() http.Header {
  7745  	if c.header_ == nil {
  7746  		c.header_ = make(http.Header)
  7747  	}
  7748  	return c.header_
  7749  }
  7750  
  7751  func (c *ProjectsLocationsGetSettingsCall) doRequest(alt string) (*http.Response, error) {
  7752  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
  7753  	if c.ifNoneMatch_ != "" {
  7754  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
  7755  	}
  7756  	var body io.Reader = nil
  7757  	c.urlParams_.Set("alt", alt)
  7758  	c.urlParams_.Set("prettyPrint", "false")
  7759  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
  7760  	urls += "?" + c.urlParams_.Encode()
  7761  	req, err := http.NewRequest("GET", urls, body)
  7762  	if err != nil {
  7763  		return nil, err
  7764  	}
  7765  	req.Header = reqHeaders
  7766  	googleapi.Expand(req.URL, map[string]string{
  7767  		"name": c.name,
  7768  	})
  7769  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
  7770  }
  7771  
  7772  // Do executes the "contactcenterinsights.projects.locations.getSettings" call.
  7773  // Any non-2xx status code is an error. Response headers are in either
  7774  // *GoogleCloudContactcenterinsightsV1Settings.ServerResponse.Header or (if a
  7775  // response was returned at all) in error.(*googleapi.Error).Header. Use
  7776  // googleapi.IsNotModified to check whether the returned error was because
  7777  // http.StatusNotModified was returned.
  7778  func (c *ProjectsLocationsGetSettingsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1Settings, error) {
  7779  	gensupport.SetOptions(c.urlParams_, opts...)
  7780  	res, err := c.doRequest("json")
  7781  	if res != nil && res.StatusCode == http.StatusNotModified {
  7782  		if res.Body != nil {
  7783  			res.Body.Close()
  7784  		}
  7785  		return nil, gensupport.WrapError(&googleapi.Error{
  7786  			Code:   res.StatusCode,
  7787  			Header: res.Header,
  7788  		})
  7789  	}
  7790  	if err != nil {
  7791  		return nil, err
  7792  	}
  7793  	defer googleapi.CloseBody(res)
  7794  	if err := googleapi.CheckResponse(res); err != nil {
  7795  		return nil, gensupport.WrapError(err)
  7796  	}
  7797  	ret := &GoogleCloudContactcenterinsightsV1Settings{
  7798  		ServerResponse: googleapi.ServerResponse{
  7799  			Header:         res.Header,
  7800  			HTTPStatusCode: res.StatusCode,
  7801  		},
  7802  	}
  7803  	target := &ret
  7804  	if err := gensupport.DecodeResponse(target, res); err != nil {
  7805  		return nil, err
  7806  	}
  7807  	return ret, nil
  7808  }
  7809  
  7810  type ProjectsLocationsUpdateSettingsCall struct {
  7811  	s                                          *Service
  7812  	name                                       string
  7813  	googlecloudcontactcenterinsightsv1settings *GoogleCloudContactcenterinsightsV1Settings
  7814  	urlParams_                                 gensupport.URLParams
  7815  	ctx_                                       context.Context
  7816  	header_                                    http.Header
  7817  }
  7818  
  7819  // UpdateSettings: Updates project-level settings.
  7820  //
  7821  //   - name: Immutable. The resource name of the settings resource. Format:
  7822  //     projects/{project}/locations/{location}/settings.
  7823  func (r *ProjectsLocationsService) UpdateSettings(name string, googlecloudcontactcenterinsightsv1settings *GoogleCloudContactcenterinsightsV1Settings) *ProjectsLocationsUpdateSettingsCall {
  7824  	c := &ProjectsLocationsUpdateSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  7825  	c.name = name
  7826  	c.googlecloudcontactcenterinsightsv1settings = googlecloudcontactcenterinsightsv1settings
  7827  	return c
  7828  }
  7829  
  7830  // UpdateMask sets the optional parameter "updateMask": Required. The list of
  7831  // fields to be updated.
  7832  func (c *ProjectsLocationsUpdateSettingsCall) UpdateMask(updateMask string) *ProjectsLocationsUpdateSettingsCall {
  7833  	c.urlParams_.Set("updateMask", updateMask)
  7834  	return c
  7835  }
  7836  
  7837  // Fields allows partial responses to be retrieved. See
  7838  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  7839  // details.
  7840  func (c *ProjectsLocationsUpdateSettingsCall) Fields(s ...googleapi.Field) *ProjectsLocationsUpdateSettingsCall {
  7841  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  7842  	return c
  7843  }
  7844  
  7845  // Context sets the context to be used in this call's Do method.
  7846  func (c *ProjectsLocationsUpdateSettingsCall) Context(ctx context.Context) *ProjectsLocationsUpdateSettingsCall {
  7847  	c.ctx_ = ctx
  7848  	return c
  7849  }
  7850  
  7851  // Header returns a http.Header that can be modified by the caller to add
  7852  // headers to the request.
  7853  func (c *ProjectsLocationsUpdateSettingsCall) Header() http.Header {
  7854  	if c.header_ == nil {
  7855  		c.header_ = make(http.Header)
  7856  	}
  7857  	return c.header_
  7858  }
  7859  
  7860  func (c *ProjectsLocationsUpdateSettingsCall) doRequest(alt string) (*http.Response, error) {
  7861  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
  7862  	var body io.Reader = nil
  7863  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1settings)
  7864  	if err != nil {
  7865  		return nil, err
  7866  	}
  7867  	c.urlParams_.Set("alt", alt)
  7868  	c.urlParams_.Set("prettyPrint", "false")
  7869  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
  7870  	urls += "?" + c.urlParams_.Encode()
  7871  	req, err := http.NewRequest("PATCH", urls, body)
  7872  	if err != nil {
  7873  		return nil, err
  7874  	}
  7875  	req.Header = reqHeaders
  7876  	googleapi.Expand(req.URL, map[string]string{
  7877  		"name": c.name,
  7878  	})
  7879  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
  7880  }
  7881  
  7882  // Do executes the "contactcenterinsights.projects.locations.updateSettings" call.
  7883  // Any non-2xx status code is an error. Response headers are in either
  7884  // *GoogleCloudContactcenterinsightsV1Settings.ServerResponse.Header or (if a
  7885  // response was returned at all) in error.(*googleapi.Error).Header. Use
  7886  // googleapi.IsNotModified to check whether the returned error was because
  7887  // http.StatusNotModified was returned.
  7888  func (c *ProjectsLocationsUpdateSettingsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1Settings, error) {
  7889  	gensupport.SetOptions(c.urlParams_, opts...)
  7890  	res, err := c.doRequest("json")
  7891  	if res != nil && res.StatusCode == http.StatusNotModified {
  7892  		if res.Body != nil {
  7893  			res.Body.Close()
  7894  		}
  7895  		return nil, gensupport.WrapError(&googleapi.Error{
  7896  			Code:   res.StatusCode,
  7897  			Header: res.Header,
  7898  		})
  7899  	}
  7900  	if err != nil {
  7901  		return nil, err
  7902  	}
  7903  	defer googleapi.CloseBody(res)
  7904  	if err := googleapi.CheckResponse(res); err != nil {
  7905  		return nil, gensupport.WrapError(err)
  7906  	}
  7907  	ret := &GoogleCloudContactcenterinsightsV1Settings{
  7908  		ServerResponse: googleapi.ServerResponse{
  7909  			Header:         res.Header,
  7910  			HTTPStatusCode: res.StatusCode,
  7911  		},
  7912  	}
  7913  	target := &ret
  7914  	if err := gensupport.DecodeResponse(target, res); err != nil {
  7915  		return nil, err
  7916  	}
  7917  	return ret, nil
  7918  }
  7919  
  7920  type ProjectsLocationsConversationsBulkAnalyzeCall struct {
  7921  	s                                                                 *Service
  7922  	parent                                                            string
  7923  	googlecloudcontactcenterinsightsv1bulkanalyzeconversationsrequest *GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest
  7924  	urlParams_                                                        gensupport.URLParams
  7925  	ctx_                                                              context.Context
  7926  	header_                                                           http.Header
  7927  }
  7928  
  7929  // BulkAnalyze: Analyzes multiple conversations in a single request.
  7930  //
  7931  // - parent: The parent resource to create analyses in.
  7932  func (r *ProjectsLocationsConversationsService) BulkAnalyze(parent string, googlecloudcontactcenterinsightsv1bulkanalyzeconversationsrequest *GoogleCloudContactcenterinsightsV1BulkAnalyzeConversationsRequest) *ProjectsLocationsConversationsBulkAnalyzeCall {
  7933  	c := &ProjectsLocationsConversationsBulkAnalyzeCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  7934  	c.parent = parent
  7935  	c.googlecloudcontactcenterinsightsv1bulkanalyzeconversationsrequest = googlecloudcontactcenterinsightsv1bulkanalyzeconversationsrequest
  7936  	return c
  7937  }
  7938  
  7939  // Fields allows partial responses to be retrieved. See
  7940  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  7941  // details.
  7942  func (c *ProjectsLocationsConversationsBulkAnalyzeCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsBulkAnalyzeCall {
  7943  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  7944  	return c
  7945  }
  7946  
  7947  // Context sets the context to be used in this call's Do method.
  7948  func (c *ProjectsLocationsConversationsBulkAnalyzeCall) Context(ctx context.Context) *ProjectsLocationsConversationsBulkAnalyzeCall {
  7949  	c.ctx_ = ctx
  7950  	return c
  7951  }
  7952  
  7953  // Header returns a http.Header that can be modified by the caller to add
  7954  // headers to the request.
  7955  func (c *ProjectsLocationsConversationsBulkAnalyzeCall) Header() http.Header {
  7956  	if c.header_ == nil {
  7957  		c.header_ = make(http.Header)
  7958  	}
  7959  	return c.header_
  7960  }
  7961  
  7962  func (c *ProjectsLocationsConversationsBulkAnalyzeCall) doRequest(alt string) (*http.Response, error) {
  7963  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
  7964  	var body io.Reader = nil
  7965  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1bulkanalyzeconversationsrequest)
  7966  	if err != nil {
  7967  		return nil, err
  7968  	}
  7969  	c.urlParams_.Set("alt", alt)
  7970  	c.urlParams_.Set("prettyPrint", "false")
  7971  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/conversations:bulkAnalyze")
  7972  	urls += "?" + c.urlParams_.Encode()
  7973  	req, err := http.NewRequest("POST", urls, body)
  7974  	if err != nil {
  7975  		return nil, err
  7976  	}
  7977  	req.Header = reqHeaders
  7978  	googleapi.Expand(req.URL, map[string]string{
  7979  		"parent": c.parent,
  7980  	})
  7981  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
  7982  }
  7983  
  7984  // Do executes the "contactcenterinsights.projects.locations.conversations.bulkAnalyze" call.
  7985  // Any non-2xx status code is an error. Response headers are in either
  7986  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
  7987  // returned at all) in error.(*googleapi.Error).Header. Use
  7988  // googleapi.IsNotModified to check whether the returned error was because
  7989  // http.StatusNotModified was returned.
  7990  func (c *ProjectsLocationsConversationsBulkAnalyzeCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
  7991  	gensupport.SetOptions(c.urlParams_, opts...)
  7992  	res, err := c.doRequest("json")
  7993  	if res != nil && res.StatusCode == http.StatusNotModified {
  7994  		if res.Body != nil {
  7995  			res.Body.Close()
  7996  		}
  7997  		return nil, gensupport.WrapError(&googleapi.Error{
  7998  			Code:   res.StatusCode,
  7999  			Header: res.Header,
  8000  		})
  8001  	}
  8002  	if err != nil {
  8003  		return nil, err
  8004  	}
  8005  	defer googleapi.CloseBody(res)
  8006  	if err := googleapi.CheckResponse(res); err != nil {
  8007  		return nil, gensupport.WrapError(err)
  8008  	}
  8009  	ret := &GoogleLongrunningOperation{
  8010  		ServerResponse: googleapi.ServerResponse{
  8011  			Header:         res.Header,
  8012  			HTTPStatusCode: res.StatusCode,
  8013  		},
  8014  	}
  8015  	target := &ret
  8016  	if err := gensupport.DecodeResponse(target, res); err != nil {
  8017  		return nil, err
  8018  	}
  8019  	return ret, nil
  8020  }
  8021  
  8022  type ProjectsLocationsConversationsBulkDeleteCall struct {
  8023  	s                                                                *Service
  8024  	parent                                                           string
  8025  	googlecloudcontactcenterinsightsv1bulkdeleteconversationsrequest *GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest
  8026  	urlParams_                                                       gensupport.URLParams
  8027  	ctx_                                                             context.Context
  8028  	header_                                                          http.Header
  8029  }
  8030  
  8031  // BulkDelete: Deletes multiple conversations in a single request.
  8032  //
  8033  //   - parent: The parent resource to delete conversations from. Format:
  8034  //     projects/{project}/locations/{location}.
  8035  func (r *ProjectsLocationsConversationsService) BulkDelete(parent string, googlecloudcontactcenterinsightsv1bulkdeleteconversationsrequest *GoogleCloudContactcenterinsightsV1BulkDeleteConversationsRequest) *ProjectsLocationsConversationsBulkDeleteCall {
  8036  	c := &ProjectsLocationsConversationsBulkDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  8037  	c.parent = parent
  8038  	c.googlecloudcontactcenterinsightsv1bulkdeleteconversationsrequest = googlecloudcontactcenterinsightsv1bulkdeleteconversationsrequest
  8039  	return c
  8040  }
  8041  
  8042  // Fields allows partial responses to be retrieved. See
  8043  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  8044  // details.
  8045  func (c *ProjectsLocationsConversationsBulkDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsBulkDeleteCall {
  8046  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  8047  	return c
  8048  }
  8049  
  8050  // Context sets the context to be used in this call's Do method.
  8051  func (c *ProjectsLocationsConversationsBulkDeleteCall) Context(ctx context.Context) *ProjectsLocationsConversationsBulkDeleteCall {
  8052  	c.ctx_ = ctx
  8053  	return c
  8054  }
  8055  
  8056  // Header returns a http.Header that can be modified by the caller to add
  8057  // headers to the request.
  8058  func (c *ProjectsLocationsConversationsBulkDeleteCall) Header() http.Header {
  8059  	if c.header_ == nil {
  8060  		c.header_ = make(http.Header)
  8061  	}
  8062  	return c.header_
  8063  }
  8064  
  8065  func (c *ProjectsLocationsConversationsBulkDeleteCall) doRequest(alt string) (*http.Response, error) {
  8066  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
  8067  	var body io.Reader = nil
  8068  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1bulkdeleteconversationsrequest)
  8069  	if err != nil {
  8070  		return nil, err
  8071  	}
  8072  	c.urlParams_.Set("alt", alt)
  8073  	c.urlParams_.Set("prettyPrint", "false")
  8074  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/conversations:bulkDelete")
  8075  	urls += "?" + c.urlParams_.Encode()
  8076  	req, err := http.NewRequest("POST", urls, body)
  8077  	if err != nil {
  8078  		return nil, err
  8079  	}
  8080  	req.Header = reqHeaders
  8081  	googleapi.Expand(req.URL, map[string]string{
  8082  		"parent": c.parent,
  8083  	})
  8084  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
  8085  }
  8086  
  8087  // Do executes the "contactcenterinsights.projects.locations.conversations.bulkDelete" call.
  8088  // Any non-2xx status code is an error. Response headers are in either
  8089  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
  8090  // returned at all) in error.(*googleapi.Error).Header. Use
  8091  // googleapi.IsNotModified to check whether the returned error was because
  8092  // http.StatusNotModified was returned.
  8093  func (c *ProjectsLocationsConversationsBulkDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
  8094  	gensupport.SetOptions(c.urlParams_, opts...)
  8095  	res, err := c.doRequest("json")
  8096  	if res != nil && res.StatusCode == http.StatusNotModified {
  8097  		if res.Body != nil {
  8098  			res.Body.Close()
  8099  		}
  8100  		return nil, gensupport.WrapError(&googleapi.Error{
  8101  			Code:   res.StatusCode,
  8102  			Header: res.Header,
  8103  		})
  8104  	}
  8105  	if err != nil {
  8106  		return nil, err
  8107  	}
  8108  	defer googleapi.CloseBody(res)
  8109  	if err := googleapi.CheckResponse(res); err != nil {
  8110  		return nil, gensupport.WrapError(err)
  8111  	}
  8112  	ret := &GoogleLongrunningOperation{
  8113  		ServerResponse: googleapi.ServerResponse{
  8114  			Header:         res.Header,
  8115  			HTTPStatusCode: res.StatusCode,
  8116  		},
  8117  	}
  8118  	target := &ret
  8119  	if err := gensupport.DecodeResponse(target, res); err != nil {
  8120  		return nil, err
  8121  	}
  8122  	return ret, nil
  8123  }
  8124  
  8125  type ProjectsLocationsConversationsCalculateStatsCall struct {
  8126  	s            *Service
  8127  	location     string
  8128  	urlParams_   gensupport.URLParams
  8129  	ifNoneMatch_ string
  8130  	ctx_         context.Context
  8131  	header_      http.Header
  8132  }
  8133  
  8134  // CalculateStats: Gets conversation statistics.
  8135  //
  8136  // - location: The location of the conversations.
  8137  func (r *ProjectsLocationsConversationsService) CalculateStats(location string) *ProjectsLocationsConversationsCalculateStatsCall {
  8138  	c := &ProjectsLocationsConversationsCalculateStatsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  8139  	c.location = location
  8140  	return c
  8141  }
  8142  
  8143  // Filter sets the optional parameter "filter": A filter to reduce results to a
  8144  // specific subset. This field is useful for getting statistics about
  8145  // conversations with specific properties.
  8146  func (c *ProjectsLocationsConversationsCalculateStatsCall) Filter(filter string) *ProjectsLocationsConversationsCalculateStatsCall {
  8147  	c.urlParams_.Set("filter", filter)
  8148  	return c
  8149  }
  8150  
  8151  // Fields allows partial responses to be retrieved. See
  8152  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  8153  // details.
  8154  func (c *ProjectsLocationsConversationsCalculateStatsCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsCalculateStatsCall {
  8155  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  8156  	return c
  8157  }
  8158  
  8159  // IfNoneMatch sets an optional parameter which makes the operation fail if the
  8160  // object's ETag matches the given value. This is useful for getting updates
  8161  // only after the object has changed since the last request.
  8162  func (c *ProjectsLocationsConversationsCalculateStatsCall) IfNoneMatch(entityTag string) *ProjectsLocationsConversationsCalculateStatsCall {
  8163  	c.ifNoneMatch_ = entityTag
  8164  	return c
  8165  }
  8166  
  8167  // Context sets the context to be used in this call's Do method.
  8168  func (c *ProjectsLocationsConversationsCalculateStatsCall) Context(ctx context.Context) *ProjectsLocationsConversationsCalculateStatsCall {
  8169  	c.ctx_ = ctx
  8170  	return c
  8171  }
  8172  
  8173  // Header returns a http.Header that can be modified by the caller to add
  8174  // headers to the request.
  8175  func (c *ProjectsLocationsConversationsCalculateStatsCall) Header() http.Header {
  8176  	if c.header_ == nil {
  8177  		c.header_ = make(http.Header)
  8178  	}
  8179  	return c.header_
  8180  }
  8181  
  8182  func (c *ProjectsLocationsConversationsCalculateStatsCall) doRequest(alt string) (*http.Response, error) {
  8183  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
  8184  	if c.ifNoneMatch_ != "" {
  8185  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
  8186  	}
  8187  	var body io.Reader = nil
  8188  	c.urlParams_.Set("alt", alt)
  8189  	c.urlParams_.Set("prettyPrint", "false")
  8190  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+location}/conversations:calculateStats")
  8191  	urls += "?" + c.urlParams_.Encode()
  8192  	req, err := http.NewRequest("GET", urls, body)
  8193  	if err != nil {
  8194  		return nil, err
  8195  	}
  8196  	req.Header = reqHeaders
  8197  	googleapi.Expand(req.URL, map[string]string{
  8198  		"location": c.location,
  8199  	})
  8200  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
  8201  }
  8202  
  8203  // Do executes the "contactcenterinsights.projects.locations.conversations.calculateStats" call.
  8204  // Any non-2xx status code is an error. Response headers are in either
  8205  // *GoogleCloudContactcenterinsightsV1CalculateStatsResponse.ServerResponse.Head
  8206  // er or (if a response was returned at all) in
  8207  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
  8208  // whether the returned error was because http.StatusNotModified was returned.
  8209  func (c *ProjectsLocationsConversationsCalculateStatsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1CalculateStatsResponse, error) {
  8210  	gensupport.SetOptions(c.urlParams_, opts...)
  8211  	res, err := c.doRequest("json")
  8212  	if res != nil && res.StatusCode == http.StatusNotModified {
  8213  		if res.Body != nil {
  8214  			res.Body.Close()
  8215  		}
  8216  		return nil, gensupport.WrapError(&googleapi.Error{
  8217  			Code:   res.StatusCode,
  8218  			Header: res.Header,
  8219  		})
  8220  	}
  8221  	if err != nil {
  8222  		return nil, err
  8223  	}
  8224  	defer googleapi.CloseBody(res)
  8225  	if err := googleapi.CheckResponse(res); err != nil {
  8226  		return nil, gensupport.WrapError(err)
  8227  	}
  8228  	ret := &GoogleCloudContactcenterinsightsV1CalculateStatsResponse{
  8229  		ServerResponse: googleapi.ServerResponse{
  8230  			Header:         res.Header,
  8231  			HTTPStatusCode: res.StatusCode,
  8232  		},
  8233  	}
  8234  	target := &ret
  8235  	if err := gensupport.DecodeResponse(target, res); err != nil {
  8236  		return nil, err
  8237  	}
  8238  	return ret, nil
  8239  }
  8240  
  8241  type ProjectsLocationsConversationsCreateCall struct {
  8242  	s                                              *Service
  8243  	parent                                         string
  8244  	googlecloudcontactcenterinsightsv1conversation *GoogleCloudContactcenterinsightsV1Conversation
  8245  	urlParams_                                     gensupport.URLParams
  8246  	ctx_                                           context.Context
  8247  	header_                                        http.Header
  8248  }
  8249  
  8250  // Create: Creates a conversation. DEPRECATED: Use UploadConversation instead.
  8251  // CreateConversation does not support audio transcription or DLP redaction.
  8252  //
  8253  // - parent: The parent resource of the conversation.
  8254  func (r *ProjectsLocationsConversationsService) Create(parent string, googlecloudcontactcenterinsightsv1conversation *GoogleCloudContactcenterinsightsV1Conversation) *ProjectsLocationsConversationsCreateCall {
  8255  	c := &ProjectsLocationsConversationsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  8256  	c.parent = parent
  8257  	c.googlecloudcontactcenterinsightsv1conversation = googlecloudcontactcenterinsightsv1conversation
  8258  	return c
  8259  }
  8260  
  8261  // ConversationId sets the optional parameter "conversationId": A unique ID for
  8262  // the new conversation. This ID will become the final component of the
  8263  // conversation's resource name. If no ID is specified, a server-generated ID
  8264  // will be used. This value should be 4-64 characters and must match the
  8265  // regular expression `^[a-z0-9-]{4,64}$`. Valid characters are `a-z-`
  8266  func (c *ProjectsLocationsConversationsCreateCall) ConversationId(conversationId string) *ProjectsLocationsConversationsCreateCall {
  8267  	c.urlParams_.Set("conversationId", conversationId)
  8268  	return c
  8269  }
  8270  
  8271  // Fields allows partial responses to be retrieved. See
  8272  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  8273  // details.
  8274  func (c *ProjectsLocationsConversationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsCreateCall {
  8275  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  8276  	return c
  8277  }
  8278  
  8279  // Context sets the context to be used in this call's Do method.
  8280  func (c *ProjectsLocationsConversationsCreateCall) Context(ctx context.Context) *ProjectsLocationsConversationsCreateCall {
  8281  	c.ctx_ = ctx
  8282  	return c
  8283  }
  8284  
  8285  // Header returns a http.Header that can be modified by the caller to add
  8286  // headers to the request.
  8287  func (c *ProjectsLocationsConversationsCreateCall) Header() http.Header {
  8288  	if c.header_ == nil {
  8289  		c.header_ = make(http.Header)
  8290  	}
  8291  	return c.header_
  8292  }
  8293  
  8294  func (c *ProjectsLocationsConversationsCreateCall) doRequest(alt string) (*http.Response, error) {
  8295  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
  8296  	var body io.Reader = nil
  8297  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1conversation)
  8298  	if err != nil {
  8299  		return nil, err
  8300  	}
  8301  	c.urlParams_.Set("alt", alt)
  8302  	c.urlParams_.Set("prettyPrint", "false")
  8303  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/conversations")
  8304  	urls += "?" + c.urlParams_.Encode()
  8305  	req, err := http.NewRequest("POST", urls, body)
  8306  	if err != nil {
  8307  		return nil, err
  8308  	}
  8309  	req.Header = reqHeaders
  8310  	googleapi.Expand(req.URL, map[string]string{
  8311  		"parent": c.parent,
  8312  	})
  8313  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
  8314  }
  8315  
  8316  // Do executes the "contactcenterinsights.projects.locations.conversations.create" call.
  8317  // Any non-2xx status code is an error. Response headers are in either
  8318  // *GoogleCloudContactcenterinsightsV1Conversation.ServerResponse.Header or (if
  8319  // a response was returned at all) in error.(*googleapi.Error).Header. Use
  8320  // googleapi.IsNotModified to check whether the returned error was because
  8321  // http.StatusNotModified was returned.
  8322  func (c *ProjectsLocationsConversationsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1Conversation, error) {
  8323  	gensupport.SetOptions(c.urlParams_, opts...)
  8324  	res, err := c.doRequest("json")
  8325  	if res != nil && res.StatusCode == http.StatusNotModified {
  8326  		if res.Body != nil {
  8327  			res.Body.Close()
  8328  		}
  8329  		return nil, gensupport.WrapError(&googleapi.Error{
  8330  			Code:   res.StatusCode,
  8331  			Header: res.Header,
  8332  		})
  8333  	}
  8334  	if err != nil {
  8335  		return nil, err
  8336  	}
  8337  	defer googleapi.CloseBody(res)
  8338  	if err := googleapi.CheckResponse(res); err != nil {
  8339  		return nil, gensupport.WrapError(err)
  8340  	}
  8341  	ret := &GoogleCloudContactcenterinsightsV1Conversation{
  8342  		ServerResponse: googleapi.ServerResponse{
  8343  			Header:         res.Header,
  8344  			HTTPStatusCode: res.StatusCode,
  8345  		},
  8346  	}
  8347  	target := &ret
  8348  	if err := gensupport.DecodeResponse(target, res); err != nil {
  8349  		return nil, err
  8350  	}
  8351  	return ret, nil
  8352  }
  8353  
  8354  type ProjectsLocationsConversationsDeleteCall struct {
  8355  	s          *Service
  8356  	name       string
  8357  	urlParams_ gensupport.URLParams
  8358  	ctx_       context.Context
  8359  	header_    http.Header
  8360  }
  8361  
  8362  // Delete: Deletes a conversation.
  8363  //
  8364  // - name: The name of the conversation to delete.
  8365  func (r *ProjectsLocationsConversationsService) Delete(name string) *ProjectsLocationsConversationsDeleteCall {
  8366  	c := &ProjectsLocationsConversationsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  8367  	c.name = name
  8368  	return c
  8369  }
  8370  
  8371  // Force sets the optional parameter "force": If set to true, all of this
  8372  // conversation's analyses will also be deleted. Otherwise, the request will
  8373  // only succeed if the conversation has no analyses.
  8374  func (c *ProjectsLocationsConversationsDeleteCall) Force(force bool) *ProjectsLocationsConversationsDeleteCall {
  8375  	c.urlParams_.Set("force", fmt.Sprint(force))
  8376  	return c
  8377  }
  8378  
  8379  // Fields allows partial responses to be retrieved. See
  8380  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  8381  // details.
  8382  func (c *ProjectsLocationsConversationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsDeleteCall {
  8383  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  8384  	return c
  8385  }
  8386  
  8387  // Context sets the context to be used in this call's Do method.
  8388  func (c *ProjectsLocationsConversationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsConversationsDeleteCall {
  8389  	c.ctx_ = ctx
  8390  	return c
  8391  }
  8392  
  8393  // Header returns a http.Header that can be modified by the caller to add
  8394  // headers to the request.
  8395  func (c *ProjectsLocationsConversationsDeleteCall) Header() http.Header {
  8396  	if c.header_ == nil {
  8397  		c.header_ = make(http.Header)
  8398  	}
  8399  	return c.header_
  8400  }
  8401  
  8402  func (c *ProjectsLocationsConversationsDeleteCall) doRequest(alt string) (*http.Response, error) {
  8403  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
  8404  	var body io.Reader = nil
  8405  	c.urlParams_.Set("alt", alt)
  8406  	c.urlParams_.Set("prettyPrint", "false")
  8407  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
  8408  	urls += "?" + c.urlParams_.Encode()
  8409  	req, err := http.NewRequest("DELETE", urls, body)
  8410  	if err != nil {
  8411  		return nil, err
  8412  	}
  8413  	req.Header = reqHeaders
  8414  	googleapi.Expand(req.URL, map[string]string{
  8415  		"name": c.name,
  8416  	})
  8417  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
  8418  }
  8419  
  8420  // Do executes the "contactcenterinsights.projects.locations.conversations.delete" call.
  8421  // Any non-2xx status code is an error. Response headers are in either
  8422  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
  8423  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
  8424  // check whether the returned error was because http.StatusNotModified was
  8425  // returned.
  8426  func (c *ProjectsLocationsConversationsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
  8427  	gensupport.SetOptions(c.urlParams_, opts...)
  8428  	res, err := c.doRequest("json")
  8429  	if res != nil && res.StatusCode == http.StatusNotModified {
  8430  		if res.Body != nil {
  8431  			res.Body.Close()
  8432  		}
  8433  		return nil, gensupport.WrapError(&googleapi.Error{
  8434  			Code:   res.StatusCode,
  8435  			Header: res.Header,
  8436  		})
  8437  	}
  8438  	if err != nil {
  8439  		return nil, err
  8440  	}
  8441  	defer googleapi.CloseBody(res)
  8442  	if err := googleapi.CheckResponse(res); err != nil {
  8443  		return nil, gensupport.WrapError(err)
  8444  	}
  8445  	ret := &GoogleProtobufEmpty{
  8446  		ServerResponse: googleapi.ServerResponse{
  8447  			Header:         res.Header,
  8448  			HTTPStatusCode: res.StatusCode,
  8449  		},
  8450  	}
  8451  	target := &ret
  8452  	if err := gensupport.DecodeResponse(target, res); err != nil {
  8453  		return nil, err
  8454  	}
  8455  	return ret, nil
  8456  }
  8457  
  8458  type ProjectsLocationsConversationsGetCall struct {
  8459  	s            *Service
  8460  	name         string
  8461  	urlParams_   gensupport.URLParams
  8462  	ifNoneMatch_ string
  8463  	ctx_         context.Context
  8464  	header_      http.Header
  8465  }
  8466  
  8467  // Get: Gets a conversation.
  8468  //
  8469  // - name: The name of the conversation to get.
  8470  func (r *ProjectsLocationsConversationsService) Get(name string) *ProjectsLocationsConversationsGetCall {
  8471  	c := &ProjectsLocationsConversationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  8472  	c.name = name
  8473  	return c
  8474  }
  8475  
  8476  // View sets the optional parameter "view": The level of details of the
  8477  // conversation. Default is `FULL`.
  8478  //
  8479  // Possible values:
  8480  //
  8481  //	"CONVERSATION_VIEW_UNSPECIFIED" - The conversation view is not specified.
  8482  //
  8483  // * Defaults to `FULL` in `GetConversationRequest`. * Defaults to `BASIC` in
  8484  // `ListConversationsRequest`.
  8485  //
  8486  //	"FULL" - Populates all fields in the conversation.
  8487  //	"BASIC" - Populates all fields in the conversation except the transcript.
  8488  func (c *ProjectsLocationsConversationsGetCall) View(view string) *ProjectsLocationsConversationsGetCall {
  8489  	c.urlParams_.Set("view", view)
  8490  	return c
  8491  }
  8492  
  8493  // Fields allows partial responses to be retrieved. See
  8494  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  8495  // details.
  8496  func (c *ProjectsLocationsConversationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsGetCall {
  8497  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  8498  	return c
  8499  }
  8500  
  8501  // IfNoneMatch sets an optional parameter which makes the operation fail if the
  8502  // object's ETag matches the given value. This is useful for getting updates
  8503  // only after the object has changed since the last request.
  8504  func (c *ProjectsLocationsConversationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsConversationsGetCall {
  8505  	c.ifNoneMatch_ = entityTag
  8506  	return c
  8507  }
  8508  
  8509  // Context sets the context to be used in this call's Do method.
  8510  func (c *ProjectsLocationsConversationsGetCall) Context(ctx context.Context) *ProjectsLocationsConversationsGetCall {
  8511  	c.ctx_ = ctx
  8512  	return c
  8513  }
  8514  
  8515  // Header returns a http.Header that can be modified by the caller to add
  8516  // headers to the request.
  8517  func (c *ProjectsLocationsConversationsGetCall) Header() http.Header {
  8518  	if c.header_ == nil {
  8519  		c.header_ = make(http.Header)
  8520  	}
  8521  	return c.header_
  8522  }
  8523  
  8524  func (c *ProjectsLocationsConversationsGetCall) doRequest(alt string) (*http.Response, error) {
  8525  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
  8526  	if c.ifNoneMatch_ != "" {
  8527  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
  8528  	}
  8529  	var body io.Reader = nil
  8530  	c.urlParams_.Set("alt", alt)
  8531  	c.urlParams_.Set("prettyPrint", "false")
  8532  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
  8533  	urls += "?" + c.urlParams_.Encode()
  8534  	req, err := http.NewRequest("GET", urls, body)
  8535  	if err != nil {
  8536  		return nil, err
  8537  	}
  8538  	req.Header = reqHeaders
  8539  	googleapi.Expand(req.URL, map[string]string{
  8540  		"name": c.name,
  8541  	})
  8542  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
  8543  }
  8544  
  8545  // Do executes the "contactcenterinsights.projects.locations.conversations.get" call.
  8546  // Any non-2xx status code is an error. Response headers are in either
  8547  // *GoogleCloudContactcenterinsightsV1Conversation.ServerResponse.Header or (if
  8548  // a response was returned at all) in error.(*googleapi.Error).Header. Use
  8549  // googleapi.IsNotModified to check whether the returned error was because
  8550  // http.StatusNotModified was returned.
  8551  func (c *ProjectsLocationsConversationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1Conversation, error) {
  8552  	gensupport.SetOptions(c.urlParams_, opts...)
  8553  	res, err := c.doRequest("json")
  8554  	if res != nil && res.StatusCode == http.StatusNotModified {
  8555  		if res.Body != nil {
  8556  			res.Body.Close()
  8557  		}
  8558  		return nil, gensupport.WrapError(&googleapi.Error{
  8559  			Code:   res.StatusCode,
  8560  			Header: res.Header,
  8561  		})
  8562  	}
  8563  	if err != nil {
  8564  		return nil, err
  8565  	}
  8566  	defer googleapi.CloseBody(res)
  8567  	if err := googleapi.CheckResponse(res); err != nil {
  8568  		return nil, gensupport.WrapError(err)
  8569  	}
  8570  	ret := &GoogleCloudContactcenterinsightsV1Conversation{
  8571  		ServerResponse: googleapi.ServerResponse{
  8572  			Header:         res.Header,
  8573  			HTTPStatusCode: res.StatusCode,
  8574  		},
  8575  	}
  8576  	target := &ret
  8577  	if err := gensupport.DecodeResponse(target, res); err != nil {
  8578  		return nil, err
  8579  	}
  8580  	return ret, nil
  8581  }
  8582  
  8583  type ProjectsLocationsConversationsIngestCall struct {
  8584  	s                                                            *Service
  8585  	parent                                                       string
  8586  	googlecloudcontactcenterinsightsv1ingestconversationsrequest *GoogleCloudContactcenterinsightsV1IngestConversationsRequest
  8587  	urlParams_                                                   gensupport.URLParams
  8588  	ctx_                                                         context.Context
  8589  	header_                                                      http.Header
  8590  }
  8591  
  8592  // Ingest: Imports conversations and processes them according to the user's
  8593  // configuration.
  8594  //
  8595  // - parent: The parent resource for new conversations.
  8596  func (r *ProjectsLocationsConversationsService) Ingest(parent string, googlecloudcontactcenterinsightsv1ingestconversationsrequest *GoogleCloudContactcenterinsightsV1IngestConversationsRequest) *ProjectsLocationsConversationsIngestCall {
  8597  	c := &ProjectsLocationsConversationsIngestCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  8598  	c.parent = parent
  8599  	c.googlecloudcontactcenterinsightsv1ingestconversationsrequest = googlecloudcontactcenterinsightsv1ingestconversationsrequest
  8600  	return c
  8601  }
  8602  
  8603  // Fields allows partial responses to be retrieved. See
  8604  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  8605  // details.
  8606  func (c *ProjectsLocationsConversationsIngestCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsIngestCall {
  8607  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  8608  	return c
  8609  }
  8610  
  8611  // Context sets the context to be used in this call's Do method.
  8612  func (c *ProjectsLocationsConversationsIngestCall) Context(ctx context.Context) *ProjectsLocationsConversationsIngestCall {
  8613  	c.ctx_ = ctx
  8614  	return c
  8615  }
  8616  
  8617  // Header returns a http.Header that can be modified by the caller to add
  8618  // headers to the request.
  8619  func (c *ProjectsLocationsConversationsIngestCall) Header() http.Header {
  8620  	if c.header_ == nil {
  8621  		c.header_ = make(http.Header)
  8622  	}
  8623  	return c.header_
  8624  }
  8625  
  8626  func (c *ProjectsLocationsConversationsIngestCall) doRequest(alt string) (*http.Response, error) {
  8627  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
  8628  	var body io.Reader = nil
  8629  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1ingestconversationsrequest)
  8630  	if err != nil {
  8631  		return nil, err
  8632  	}
  8633  	c.urlParams_.Set("alt", alt)
  8634  	c.urlParams_.Set("prettyPrint", "false")
  8635  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/conversations:ingest")
  8636  	urls += "?" + c.urlParams_.Encode()
  8637  	req, err := http.NewRequest("POST", urls, body)
  8638  	if err != nil {
  8639  		return nil, err
  8640  	}
  8641  	req.Header = reqHeaders
  8642  	googleapi.Expand(req.URL, map[string]string{
  8643  		"parent": c.parent,
  8644  	})
  8645  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
  8646  }
  8647  
  8648  // Do executes the "contactcenterinsights.projects.locations.conversations.ingest" call.
  8649  // Any non-2xx status code is an error. Response headers are in either
  8650  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
  8651  // returned at all) in error.(*googleapi.Error).Header. Use
  8652  // googleapi.IsNotModified to check whether the returned error was because
  8653  // http.StatusNotModified was returned.
  8654  func (c *ProjectsLocationsConversationsIngestCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
  8655  	gensupport.SetOptions(c.urlParams_, opts...)
  8656  	res, err := c.doRequest("json")
  8657  	if res != nil && res.StatusCode == http.StatusNotModified {
  8658  		if res.Body != nil {
  8659  			res.Body.Close()
  8660  		}
  8661  		return nil, gensupport.WrapError(&googleapi.Error{
  8662  			Code:   res.StatusCode,
  8663  			Header: res.Header,
  8664  		})
  8665  	}
  8666  	if err != nil {
  8667  		return nil, err
  8668  	}
  8669  	defer googleapi.CloseBody(res)
  8670  	if err := googleapi.CheckResponse(res); err != nil {
  8671  		return nil, gensupport.WrapError(err)
  8672  	}
  8673  	ret := &GoogleLongrunningOperation{
  8674  		ServerResponse: googleapi.ServerResponse{
  8675  			Header:         res.Header,
  8676  			HTTPStatusCode: res.StatusCode,
  8677  		},
  8678  	}
  8679  	target := &ret
  8680  	if err := gensupport.DecodeResponse(target, res); err != nil {
  8681  		return nil, err
  8682  	}
  8683  	return ret, nil
  8684  }
  8685  
  8686  type ProjectsLocationsConversationsListCall struct {
  8687  	s            *Service
  8688  	parent       string
  8689  	urlParams_   gensupport.URLParams
  8690  	ifNoneMatch_ string
  8691  	ctx_         context.Context
  8692  	header_      http.Header
  8693  }
  8694  
  8695  // List: Lists conversations.
  8696  //
  8697  // - parent: The parent resource of the conversation.
  8698  func (r *ProjectsLocationsConversationsService) List(parent string) *ProjectsLocationsConversationsListCall {
  8699  	c := &ProjectsLocationsConversationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  8700  	c.parent = parent
  8701  	return c
  8702  }
  8703  
  8704  // Filter sets the optional parameter "filter": A filter to reduce results to a
  8705  // specific subset. Useful for querying conversations with specific properties.
  8706  func (c *ProjectsLocationsConversationsListCall) Filter(filter string) *ProjectsLocationsConversationsListCall {
  8707  	c.urlParams_.Set("filter", filter)
  8708  	return c
  8709  }
  8710  
  8711  // OrderBy sets the optional parameter "orderBy": The attribute by which to
  8712  // order conversations in the response. If empty, conversations will be ordered
  8713  // by descending creation time. Supported values are one of the following: *
  8714  // create_time * customer_satisfaction_rating * duration * latest_analysis *
  8715  // start_time * turn_count The default sort order is ascending. To specify
  8716  // order, append `asc` or `desc`, i.e. `create_time desc`. See
  8717  // https://google.aip.dev/132#ordering for more details.
  8718  func (c *ProjectsLocationsConversationsListCall) OrderBy(orderBy string) *ProjectsLocationsConversationsListCall {
  8719  	c.urlParams_.Set("orderBy", orderBy)
  8720  	return c
  8721  }
  8722  
  8723  // PageSize sets the optional parameter "pageSize": The maximum number of
  8724  // conversations to return in the response. A valid page size ranges from 0 to
  8725  // 1,000 inclusive. If the page size is zero or unspecified, a default page
  8726  // size of 100 will be chosen. Note that a call might return fewer results than
  8727  // the requested page size.
  8728  func (c *ProjectsLocationsConversationsListCall) PageSize(pageSize int64) *ProjectsLocationsConversationsListCall {
  8729  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
  8730  	return c
  8731  }
  8732  
  8733  // PageToken sets the optional parameter "pageToken": The value returned by the
  8734  // last `ListConversationsResponse`. This value indicates that this is a
  8735  // continuation of a prior `ListConversations` call and that the system should
  8736  // return the next page of data.
  8737  func (c *ProjectsLocationsConversationsListCall) PageToken(pageToken string) *ProjectsLocationsConversationsListCall {
  8738  	c.urlParams_.Set("pageToken", pageToken)
  8739  	return c
  8740  }
  8741  
  8742  // View sets the optional parameter "view": The level of details of the
  8743  // conversation. Default is `BASIC`.
  8744  //
  8745  // Possible values:
  8746  //
  8747  //	"CONVERSATION_VIEW_UNSPECIFIED" - The conversation view is not specified.
  8748  //
  8749  // * Defaults to `FULL` in `GetConversationRequest`. * Defaults to `BASIC` in
  8750  // `ListConversationsRequest`.
  8751  //
  8752  //	"FULL" - Populates all fields in the conversation.
  8753  //	"BASIC" - Populates all fields in the conversation except the transcript.
  8754  func (c *ProjectsLocationsConversationsListCall) View(view string) *ProjectsLocationsConversationsListCall {
  8755  	c.urlParams_.Set("view", view)
  8756  	return c
  8757  }
  8758  
  8759  // Fields allows partial responses to be retrieved. See
  8760  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  8761  // details.
  8762  func (c *ProjectsLocationsConversationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsListCall {
  8763  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  8764  	return c
  8765  }
  8766  
  8767  // IfNoneMatch sets an optional parameter which makes the operation fail if the
  8768  // object's ETag matches the given value. This is useful for getting updates
  8769  // only after the object has changed since the last request.
  8770  func (c *ProjectsLocationsConversationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsConversationsListCall {
  8771  	c.ifNoneMatch_ = entityTag
  8772  	return c
  8773  }
  8774  
  8775  // Context sets the context to be used in this call's Do method.
  8776  func (c *ProjectsLocationsConversationsListCall) Context(ctx context.Context) *ProjectsLocationsConversationsListCall {
  8777  	c.ctx_ = ctx
  8778  	return c
  8779  }
  8780  
  8781  // Header returns a http.Header that can be modified by the caller to add
  8782  // headers to the request.
  8783  func (c *ProjectsLocationsConversationsListCall) Header() http.Header {
  8784  	if c.header_ == nil {
  8785  		c.header_ = make(http.Header)
  8786  	}
  8787  	return c.header_
  8788  }
  8789  
  8790  func (c *ProjectsLocationsConversationsListCall) doRequest(alt string) (*http.Response, error) {
  8791  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
  8792  	if c.ifNoneMatch_ != "" {
  8793  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
  8794  	}
  8795  	var body io.Reader = nil
  8796  	c.urlParams_.Set("alt", alt)
  8797  	c.urlParams_.Set("prettyPrint", "false")
  8798  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/conversations")
  8799  	urls += "?" + c.urlParams_.Encode()
  8800  	req, err := http.NewRequest("GET", urls, body)
  8801  	if err != nil {
  8802  		return nil, err
  8803  	}
  8804  	req.Header = reqHeaders
  8805  	googleapi.Expand(req.URL, map[string]string{
  8806  		"parent": c.parent,
  8807  	})
  8808  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
  8809  }
  8810  
  8811  // Do executes the "contactcenterinsights.projects.locations.conversations.list" call.
  8812  // Any non-2xx status code is an error. Response headers are in either
  8813  // *GoogleCloudContactcenterinsightsV1ListConversationsResponse.ServerResponse.H
  8814  // eader or (if a response was returned at all) in
  8815  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
  8816  // whether the returned error was because http.StatusNotModified was returned.
  8817  func (c *ProjectsLocationsConversationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1ListConversationsResponse, error) {
  8818  	gensupport.SetOptions(c.urlParams_, opts...)
  8819  	res, err := c.doRequest("json")
  8820  	if res != nil && res.StatusCode == http.StatusNotModified {
  8821  		if res.Body != nil {
  8822  			res.Body.Close()
  8823  		}
  8824  		return nil, gensupport.WrapError(&googleapi.Error{
  8825  			Code:   res.StatusCode,
  8826  			Header: res.Header,
  8827  		})
  8828  	}
  8829  	if err != nil {
  8830  		return nil, err
  8831  	}
  8832  	defer googleapi.CloseBody(res)
  8833  	if err := googleapi.CheckResponse(res); err != nil {
  8834  		return nil, gensupport.WrapError(err)
  8835  	}
  8836  	ret := &GoogleCloudContactcenterinsightsV1ListConversationsResponse{
  8837  		ServerResponse: googleapi.ServerResponse{
  8838  			Header:         res.Header,
  8839  			HTTPStatusCode: res.StatusCode,
  8840  		},
  8841  	}
  8842  	target := &ret
  8843  	if err := gensupport.DecodeResponse(target, res); err != nil {
  8844  		return nil, err
  8845  	}
  8846  	return ret, nil
  8847  }
  8848  
  8849  // Pages invokes f for each page of results.
  8850  // A non-nil error returned from f will halt the iteration.
  8851  // The provided context supersedes any context provided to the Context method.
  8852  func (c *ProjectsLocationsConversationsListCall) Pages(ctx context.Context, f func(*GoogleCloudContactcenterinsightsV1ListConversationsResponse) error) error {
  8853  	c.ctx_ = ctx
  8854  	defer c.PageToken(c.urlParams_.Get("pageToken"))
  8855  	for {
  8856  		x, err := c.Do()
  8857  		if err != nil {
  8858  			return err
  8859  		}
  8860  		if err := f(x); err != nil {
  8861  			return err
  8862  		}
  8863  		if x.NextPageToken == "" {
  8864  			return nil
  8865  		}
  8866  		c.PageToken(x.NextPageToken)
  8867  	}
  8868  }
  8869  
  8870  type ProjectsLocationsConversationsPatchCall struct {
  8871  	s                                              *Service
  8872  	name                                           string
  8873  	googlecloudcontactcenterinsightsv1conversation *GoogleCloudContactcenterinsightsV1Conversation
  8874  	urlParams_                                     gensupport.URLParams
  8875  	ctx_                                           context.Context
  8876  	header_                                        http.Header
  8877  }
  8878  
  8879  // Patch: Updates a conversation.
  8880  //
  8881  //   - name: Immutable. The resource name of the conversation. Format:
  8882  //     projects/{project}/locations/{location}/conversations/{conversation}.
  8883  func (r *ProjectsLocationsConversationsService) Patch(name string, googlecloudcontactcenterinsightsv1conversation *GoogleCloudContactcenterinsightsV1Conversation) *ProjectsLocationsConversationsPatchCall {
  8884  	c := &ProjectsLocationsConversationsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  8885  	c.name = name
  8886  	c.googlecloudcontactcenterinsightsv1conversation = googlecloudcontactcenterinsightsv1conversation
  8887  	return c
  8888  }
  8889  
  8890  // UpdateMask sets the optional parameter "updateMask": The list of fields to
  8891  // be updated.
  8892  func (c *ProjectsLocationsConversationsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsConversationsPatchCall {
  8893  	c.urlParams_.Set("updateMask", updateMask)
  8894  	return c
  8895  }
  8896  
  8897  // Fields allows partial responses to be retrieved. See
  8898  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  8899  // details.
  8900  func (c *ProjectsLocationsConversationsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsPatchCall {
  8901  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  8902  	return c
  8903  }
  8904  
  8905  // Context sets the context to be used in this call's Do method.
  8906  func (c *ProjectsLocationsConversationsPatchCall) Context(ctx context.Context) *ProjectsLocationsConversationsPatchCall {
  8907  	c.ctx_ = ctx
  8908  	return c
  8909  }
  8910  
  8911  // Header returns a http.Header that can be modified by the caller to add
  8912  // headers to the request.
  8913  func (c *ProjectsLocationsConversationsPatchCall) Header() http.Header {
  8914  	if c.header_ == nil {
  8915  		c.header_ = make(http.Header)
  8916  	}
  8917  	return c.header_
  8918  }
  8919  
  8920  func (c *ProjectsLocationsConversationsPatchCall) doRequest(alt string) (*http.Response, error) {
  8921  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
  8922  	var body io.Reader = nil
  8923  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1conversation)
  8924  	if err != nil {
  8925  		return nil, err
  8926  	}
  8927  	c.urlParams_.Set("alt", alt)
  8928  	c.urlParams_.Set("prettyPrint", "false")
  8929  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
  8930  	urls += "?" + c.urlParams_.Encode()
  8931  	req, err := http.NewRequest("PATCH", urls, body)
  8932  	if err != nil {
  8933  		return nil, err
  8934  	}
  8935  	req.Header = reqHeaders
  8936  	googleapi.Expand(req.URL, map[string]string{
  8937  		"name": c.name,
  8938  	})
  8939  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
  8940  }
  8941  
  8942  // Do executes the "contactcenterinsights.projects.locations.conversations.patch" call.
  8943  // Any non-2xx status code is an error. Response headers are in either
  8944  // *GoogleCloudContactcenterinsightsV1Conversation.ServerResponse.Header or (if
  8945  // a response was returned at all) in error.(*googleapi.Error).Header. Use
  8946  // googleapi.IsNotModified to check whether the returned error was because
  8947  // http.StatusNotModified was returned.
  8948  func (c *ProjectsLocationsConversationsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1Conversation, error) {
  8949  	gensupport.SetOptions(c.urlParams_, opts...)
  8950  	res, err := c.doRequest("json")
  8951  	if res != nil && res.StatusCode == http.StatusNotModified {
  8952  		if res.Body != nil {
  8953  			res.Body.Close()
  8954  		}
  8955  		return nil, gensupport.WrapError(&googleapi.Error{
  8956  			Code:   res.StatusCode,
  8957  			Header: res.Header,
  8958  		})
  8959  	}
  8960  	if err != nil {
  8961  		return nil, err
  8962  	}
  8963  	defer googleapi.CloseBody(res)
  8964  	if err := googleapi.CheckResponse(res); err != nil {
  8965  		return nil, gensupport.WrapError(err)
  8966  	}
  8967  	ret := &GoogleCloudContactcenterinsightsV1Conversation{
  8968  		ServerResponse: googleapi.ServerResponse{
  8969  			Header:         res.Header,
  8970  			HTTPStatusCode: res.StatusCode,
  8971  		},
  8972  	}
  8973  	target := &ret
  8974  	if err := gensupport.DecodeResponse(target, res); err != nil {
  8975  		return nil, err
  8976  	}
  8977  	return ret, nil
  8978  }
  8979  
  8980  type ProjectsLocationsConversationsUploadCall struct {
  8981  	s                                                           *Service
  8982  	parent                                                      string
  8983  	googlecloudcontactcenterinsightsv1uploadconversationrequest *GoogleCloudContactcenterinsightsV1UploadConversationRequest
  8984  	urlParams_                                                  gensupport.URLParams
  8985  	ctx_                                                        context.Context
  8986  	header_                                                     http.Header
  8987  }
  8988  
  8989  // Upload: Create a longrunning conversation upload operation. This method
  8990  // differs from CreateConversation by allowing audio transcription and optional
  8991  // DLP redaction.
  8992  //
  8993  // - parent: The parent resource of the conversation.
  8994  func (r *ProjectsLocationsConversationsService) Upload(parent string, googlecloudcontactcenterinsightsv1uploadconversationrequest *GoogleCloudContactcenterinsightsV1UploadConversationRequest) *ProjectsLocationsConversationsUploadCall {
  8995  	c := &ProjectsLocationsConversationsUploadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  8996  	c.parent = parent
  8997  	c.googlecloudcontactcenterinsightsv1uploadconversationrequest = googlecloudcontactcenterinsightsv1uploadconversationrequest
  8998  	return c
  8999  }
  9000  
  9001  // Fields allows partial responses to be retrieved. See
  9002  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  9003  // details.
  9004  func (c *ProjectsLocationsConversationsUploadCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsUploadCall {
  9005  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  9006  	return c
  9007  }
  9008  
  9009  // Context sets the context to be used in this call's Do method.
  9010  func (c *ProjectsLocationsConversationsUploadCall) Context(ctx context.Context) *ProjectsLocationsConversationsUploadCall {
  9011  	c.ctx_ = ctx
  9012  	return c
  9013  }
  9014  
  9015  // Header returns a http.Header that can be modified by the caller to add
  9016  // headers to the request.
  9017  func (c *ProjectsLocationsConversationsUploadCall) Header() http.Header {
  9018  	if c.header_ == nil {
  9019  		c.header_ = make(http.Header)
  9020  	}
  9021  	return c.header_
  9022  }
  9023  
  9024  func (c *ProjectsLocationsConversationsUploadCall) doRequest(alt string) (*http.Response, error) {
  9025  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
  9026  	var body io.Reader = nil
  9027  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1uploadconversationrequest)
  9028  	if err != nil {
  9029  		return nil, err
  9030  	}
  9031  	c.urlParams_.Set("alt", alt)
  9032  	c.urlParams_.Set("prettyPrint", "false")
  9033  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/conversations:upload")
  9034  	urls += "?" + c.urlParams_.Encode()
  9035  	req, err := http.NewRequest("POST", urls, body)
  9036  	if err != nil {
  9037  		return nil, err
  9038  	}
  9039  	req.Header = reqHeaders
  9040  	googleapi.Expand(req.URL, map[string]string{
  9041  		"parent": c.parent,
  9042  	})
  9043  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
  9044  }
  9045  
  9046  // Do executes the "contactcenterinsights.projects.locations.conversations.upload" call.
  9047  // Any non-2xx status code is an error. Response headers are in either
  9048  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
  9049  // returned at all) in error.(*googleapi.Error).Header. Use
  9050  // googleapi.IsNotModified to check whether the returned error was because
  9051  // http.StatusNotModified was returned.
  9052  func (c *ProjectsLocationsConversationsUploadCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
  9053  	gensupport.SetOptions(c.urlParams_, opts...)
  9054  	res, err := c.doRequest("json")
  9055  	if res != nil && res.StatusCode == http.StatusNotModified {
  9056  		if res.Body != nil {
  9057  			res.Body.Close()
  9058  		}
  9059  		return nil, gensupport.WrapError(&googleapi.Error{
  9060  			Code:   res.StatusCode,
  9061  			Header: res.Header,
  9062  		})
  9063  	}
  9064  	if err != nil {
  9065  		return nil, err
  9066  	}
  9067  	defer googleapi.CloseBody(res)
  9068  	if err := googleapi.CheckResponse(res); err != nil {
  9069  		return nil, gensupport.WrapError(err)
  9070  	}
  9071  	ret := &GoogleLongrunningOperation{
  9072  		ServerResponse: googleapi.ServerResponse{
  9073  			Header:         res.Header,
  9074  			HTTPStatusCode: res.StatusCode,
  9075  		},
  9076  	}
  9077  	target := &ret
  9078  	if err := gensupport.DecodeResponse(target, res); err != nil {
  9079  		return nil, err
  9080  	}
  9081  	return ret, nil
  9082  }
  9083  
  9084  type ProjectsLocationsConversationsAnalysesCreateCall struct {
  9085  	s                                          *Service
  9086  	parent                                     string
  9087  	googlecloudcontactcenterinsightsv1analysis *GoogleCloudContactcenterinsightsV1Analysis
  9088  	urlParams_                                 gensupport.URLParams
  9089  	ctx_                                       context.Context
  9090  	header_                                    http.Header
  9091  }
  9092  
  9093  // Create: Creates an analysis. The long running operation is done when the
  9094  // analysis has completed.
  9095  //
  9096  // - parent: The parent resource of the analysis.
  9097  func (r *ProjectsLocationsConversationsAnalysesService) Create(parent string, googlecloudcontactcenterinsightsv1analysis *GoogleCloudContactcenterinsightsV1Analysis) *ProjectsLocationsConversationsAnalysesCreateCall {
  9098  	c := &ProjectsLocationsConversationsAnalysesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  9099  	c.parent = parent
  9100  	c.googlecloudcontactcenterinsightsv1analysis = googlecloudcontactcenterinsightsv1analysis
  9101  	return c
  9102  }
  9103  
  9104  // Fields allows partial responses to be retrieved. See
  9105  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  9106  // details.
  9107  func (c *ProjectsLocationsConversationsAnalysesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsAnalysesCreateCall {
  9108  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  9109  	return c
  9110  }
  9111  
  9112  // Context sets the context to be used in this call's Do method.
  9113  func (c *ProjectsLocationsConversationsAnalysesCreateCall) Context(ctx context.Context) *ProjectsLocationsConversationsAnalysesCreateCall {
  9114  	c.ctx_ = ctx
  9115  	return c
  9116  }
  9117  
  9118  // Header returns a http.Header that can be modified by the caller to add
  9119  // headers to the request.
  9120  func (c *ProjectsLocationsConversationsAnalysesCreateCall) Header() http.Header {
  9121  	if c.header_ == nil {
  9122  		c.header_ = make(http.Header)
  9123  	}
  9124  	return c.header_
  9125  }
  9126  
  9127  func (c *ProjectsLocationsConversationsAnalysesCreateCall) doRequest(alt string) (*http.Response, error) {
  9128  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
  9129  	var body io.Reader = nil
  9130  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1analysis)
  9131  	if err != nil {
  9132  		return nil, err
  9133  	}
  9134  	c.urlParams_.Set("alt", alt)
  9135  	c.urlParams_.Set("prettyPrint", "false")
  9136  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/analyses")
  9137  	urls += "?" + c.urlParams_.Encode()
  9138  	req, err := http.NewRequest("POST", urls, body)
  9139  	if err != nil {
  9140  		return nil, err
  9141  	}
  9142  	req.Header = reqHeaders
  9143  	googleapi.Expand(req.URL, map[string]string{
  9144  		"parent": c.parent,
  9145  	})
  9146  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
  9147  }
  9148  
  9149  // Do executes the "contactcenterinsights.projects.locations.conversations.analyses.create" call.
  9150  // Any non-2xx status code is an error. Response headers are in either
  9151  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
  9152  // returned at all) in error.(*googleapi.Error).Header. Use
  9153  // googleapi.IsNotModified to check whether the returned error was because
  9154  // http.StatusNotModified was returned.
  9155  func (c *ProjectsLocationsConversationsAnalysesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
  9156  	gensupport.SetOptions(c.urlParams_, opts...)
  9157  	res, err := c.doRequest("json")
  9158  	if res != nil && res.StatusCode == http.StatusNotModified {
  9159  		if res.Body != nil {
  9160  			res.Body.Close()
  9161  		}
  9162  		return nil, gensupport.WrapError(&googleapi.Error{
  9163  			Code:   res.StatusCode,
  9164  			Header: res.Header,
  9165  		})
  9166  	}
  9167  	if err != nil {
  9168  		return nil, err
  9169  	}
  9170  	defer googleapi.CloseBody(res)
  9171  	if err := googleapi.CheckResponse(res); err != nil {
  9172  		return nil, gensupport.WrapError(err)
  9173  	}
  9174  	ret := &GoogleLongrunningOperation{
  9175  		ServerResponse: googleapi.ServerResponse{
  9176  			Header:         res.Header,
  9177  			HTTPStatusCode: res.StatusCode,
  9178  		},
  9179  	}
  9180  	target := &ret
  9181  	if err := gensupport.DecodeResponse(target, res); err != nil {
  9182  		return nil, err
  9183  	}
  9184  	return ret, nil
  9185  }
  9186  
  9187  type ProjectsLocationsConversationsAnalysesDeleteCall struct {
  9188  	s          *Service
  9189  	name       string
  9190  	urlParams_ gensupport.URLParams
  9191  	ctx_       context.Context
  9192  	header_    http.Header
  9193  }
  9194  
  9195  // Delete: Deletes an analysis.
  9196  //
  9197  // - name: The name of the analysis to delete.
  9198  func (r *ProjectsLocationsConversationsAnalysesService) Delete(name string) *ProjectsLocationsConversationsAnalysesDeleteCall {
  9199  	c := &ProjectsLocationsConversationsAnalysesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  9200  	c.name = name
  9201  	return c
  9202  }
  9203  
  9204  // Fields allows partial responses to be retrieved. See
  9205  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  9206  // details.
  9207  func (c *ProjectsLocationsConversationsAnalysesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsAnalysesDeleteCall {
  9208  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  9209  	return c
  9210  }
  9211  
  9212  // Context sets the context to be used in this call's Do method.
  9213  func (c *ProjectsLocationsConversationsAnalysesDeleteCall) Context(ctx context.Context) *ProjectsLocationsConversationsAnalysesDeleteCall {
  9214  	c.ctx_ = ctx
  9215  	return c
  9216  }
  9217  
  9218  // Header returns a http.Header that can be modified by the caller to add
  9219  // headers to the request.
  9220  func (c *ProjectsLocationsConversationsAnalysesDeleteCall) Header() http.Header {
  9221  	if c.header_ == nil {
  9222  		c.header_ = make(http.Header)
  9223  	}
  9224  	return c.header_
  9225  }
  9226  
  9227  func (c *ProjectsLocationsConversationsAnalysesDeleteCall) doRequest(alt string) (*http.Response, error) {
  9228  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
  9229  	var body io.Reader = nil
  9230  	c.urlParams_.Set("alt", alt)
  9231  	c.urlParams_.Set("prettyPrint", "false")
  9232  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
  9233  	urls += "?" + c.urlParams_.Encode()
  9234  	req, err := http.NewRequest("DELETE", urls, body)
  9235  	if err != nil {
  9236  		return nil, err
  9237  	}
  9238  	req.Header = reqHeaders
  9239  	googleapi.Expand(req.URL, map[string]string{
  9240  		"name": c.name,
  9241  	})
  9242  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
  9243  }
  9244  
  9245  // Do executes the "contactcenterinsights.projects.locations.conversations.analyses.delete" call.
  9246  // Any non-2xx status code is an error. Response headers are in either
  9247  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
  9248  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
  9249  // check whether the returned error was because http.StatusNotModified was
  9250  // returned.
  9251  func (c *ProjectsLocationsConversationsAnalysesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
  9252  	gensupport.SetOptions(c.urlParams_, opts...)
  9253  	res, err := c.doRequest("json")
  9254  	if res != nil && res.StatusCode == http.StatusNotModified {
  9255  		if res.Body != nil {
  9256  			res.Body.Close()
  9257  		}
  9258  		return nil, gensupport.WrapError(&googleapi.Error{
  9259  			Code:   res.StatusCode,
  9260  			Header: res.Header,
  9261  		})
  9262  	}
  9263  	if err != nil {
  9264  		return nil, err
  9265  	}
  9266  	defer googleapi.CloseBody(res)
  9267  	if err := googleapi.CheckResponse(res); err != nil {
  9268  		return nil, gensupport.WrapError(err)
  9269  	}
  9270  	ret := &GoogleProtobufEmpty{
  9271  		ServerResponse: googleapi.ServerResponse{
  9272  			Header:         res.Header,
  9273  			HTTPStatusCode: res.StatusCode,
  9274  		},
  9275  	}
  9276  	target := &ret
  9277  	if err := gensupport.DecodeResponse(target, res); err != nil {
  9278  		return nil, err
  9279  	}
  9280  	return ret, nil
  9281  }
  9282  
  9283  type ProjectsLocationsConversationsAnalysesGetCall struct {
  9284  	s            *Service
  9285  	name         string
  9286  	urlParams_   gensupport.URLParams
  9287  	ifNoneMatch_ string
  9288  	ctx_         context.Context
  9289  	header_      http.Header
  9290  }
  9291  
  9292  // Get: Gets an analysis.
  9293  //
  9294  // - name: The name of the analysis to get.
  9295  func (r *ProjectsLocationsConversationsAnalysesService) Get(name string) *ProjectsLocationsConversationsAnalysesGetCall {
  9296  	c := &ProjectsLocationsConversationsAnalysesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  9297  	c.name = name
  9298  	return c
  9299  }
  9300  
  9301  // Fields allows partial responses to be retrieved. See
  9302  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  9303  // details.
  9304  func (c *ProjectsLocationsConversationsAnalysesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsAnalysesGetCall {
  9305  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  9306  	return c
  9307  }
  9308  
  9309  // IfNoneMatch sets an optional parameter which makes the operation fail if the
  9310  // object's ETag matches the given value. This is useful for getting updates
  9311  // only after the object has changed since the last request.
  9312  func (c *ProjectsLocationsConversationsAnalysesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsConversationsAnalysesGetCall {
  9313  	c.ifNoneMatch_ = entityTag
  9314  	return c
  9315  }
  9316  
  9317  // Context sets the context to be used in this call's Do method.
  9318  func (c *ProjectsLocationsConversationsAnalysesGetCall) Context(ctx context.Context) *ProjectsLocationsConversationsAnalysesGetCall {
  9319  	c.ctx_ = ctx
  9320  	return c
  9321  }
  9322  
  9323  // Header returns a http.Header that can be modified by the caller to add
  9324  // headers to the request.
  9325  func (c *ProjectsLocationsConversationsAnalysesGetCall) Header() http.Header {
  9326  	if c.header_ == nil {
  9327  		c.header_ = make(http.Header)
  9328  	}
  9329  	return c.header_
  9330  }
  9331  
  9332  func (c *ProjectsLocationsConversationsAnalysesGetCall) doRequest(alt string) (*http.Response, error) {
  9333  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
  9334  	if c.ifNoneMatch_ != "" {
  9335  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
  9336  	}
  9337  	var body io.Reader = nil
  9338  	c.urlParams_.Set("alt", alt)
  9339  	c.urlParams_.Set("prettyPrint", "false")
  9340  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
  9341  	urls += "?" + c.urlParams_.Encode()
  9342  	req, err := http.NewRequest("GET", urls, body)
  9343  	if err != nil {
  9344  		return nil, err
  9345  	}
  9346  	req.Header = reqHeaders
  9347  	googleapi.Expand(req.URL, map[string]string{
  9348  		"name": c.name,
  9349  	})
  9350  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
  9351  }
  9352  
  9353  // Do executes the "contactcenterinsights.projects.locations.conversations.analyses.get" call.
  9354  // Any non-2xx status code is an error. Response headers are in either
  9355  // *GoogleCloudContactcenterinsightsV1Analysis.ServerResponse.Header or (if a
  9356  // response was returned at all) in error.(*googleapi.Error).Header. Use
  9357  // googleapi.IsNotModified to check whether the returned error was because
  9358  // http.StatusNotModified was returned.
  9359  func (c *ProjectsLocationsConversationsAnalysesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1Analysis, error) {
  9360  	gensupport.SetOptions(c.urlParams_, opts...)
  9361  	res, err := c.doRequest("json")
  9362  	if res != nil && res.StatusCode == http.StatusNotModified {
  9363  		if res.Body != nil {
  9364  			res.Body.Close()
  9365  		}
  9366  		return nil, gensupport.WrapError(&googleapi.Error{
  9367  			Code:   res.StatusCode,
  9368  			Header: res.Header,
  9369  		})
  9370  	}
  9371  	if err != nil {
  9372  		return nil, err
  9373  	}
  9374  	defer googleapi.CloseBody(res)
  9375  	if err := googleapi.CheckResponse(res); err != nil {
  9376  		return nil, gensupport.WrapError(err)
  9377  	}
  9378  	ret := &GoogleCloudContactcenterinsightsV1Analysis{
  9379  		ServerResponse: googleapi.ServerResponse{
  9380  			Header:         res.Header,
  9381  			HTTPStatusCode: res.StatusCode,
  9382  		},
  9383  	}
  9384  	target := &ret
  9385  	if err := gensupport.DecodeResponse(target, res); err != nil {
  9386  		return nil, err
  9387  	}
  9388  	return ret, nil
  9389  }
  9390  
  9391  type ProjectsLocationsConversationsAnalysesListCall struct {
  9392  	s            *Service
  9393  	parent       string
  9394  	urlParams_   gensupport.URLParams
  9395  	ifNoneMatch_ string
  9396  	ctx_         context.Context
  9397  	header_      http.Header
  9398  }
  9399  
  9400  // List: Lists analyses.
  9401  //
  9402  // - parent: The parent resource of the analyses.
  9403  func (r *ProjectsLocationsConversationsAnalysesService) List(parent string) *ProjectsLocationsConversationsAnalysesListCall {
  9404  	c := &ProjectsLocationsConversationsAnalysesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  9405  	c.parent = parent
  9406  	return c
  9407  }
  9408  
  9409  // Filter sets the optional parameter "filter": A filter to reduce results to a
  9410  // specific subset. Useful for querying conversations with specific properties.
  9411  func (c *ProjectsLocationsConversationsAnalysesListCall) Filter(filter string) *ProjectsLocationsConversationsAnalysesListCall {
  9412  	c.urlParams_.Set("filter", filter)
  9413  	return c
  9414  }
  9415  
  9416  // PageSize sets the optional parameter "pageSize": The maximum number of
  9417  // analyses to return in the response. If this value is zero, the service will
  9418  // select a default size. A call might return fewer objects than requested. A
  9419  // non-empty `next_page_token` in the response indicates that more data is
  9420  // available.
  9421  func (c *ProjectsLocationsConversationsAnalysesListCall) PageSize(pageSize int64) *ProjectsLocationsConversationsAnalysesListCall {
  9422  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
  9423  	return c
  9424  }
  9425  
  9426  // PageToken sets the optional parameter "pageToken": The value returned by the
  9427  // last `ListAnalysesResponse`; indicates that this is a continuation of a
  9428  // prior `ListAnalyses` call and the system should return the next page of
  9429  // data.
  9430  func (c *ProjectsLocationsConversationsAnalysesListCall) PageToken(pageToken string) *ProjectsLocationsConversationsAnalysesListCall {
  9431  	c.urlParams_.Set("pageToken", pageToken)
  9432  	return c
  9433  }
  9434  
  9435  // Fields allows partial responses to be retrieved. See
  9436  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  9437  // details.
  9438  func (c *ProjectsLocationsConversationsAnalysesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsConversationsAnalysesListCall {
  9439  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  9440  	return c
  9441  }
  9442  
  9443  // IfNoneMatch sets an optional parameter which makes the operation fail if the
  9444  // object's ETag matches the given value. This is useful for getting updates
  9445  // only after the object has changed since the last request.
  9446  func (c *ProjectsLocationsConversationsAnalysesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsConversationsAnalysesListCall {
  9447  	c.ifNoneMatch_ = entityTag
  9448  	return c
  9449  }
  9450  
  9451  // Context sets the context to be used in this call's Do method.
  9452  func (c *ProjectsLocationsConversationsAnalysesListCall) Context(ctx context.Context) *ProjectsLocationsConversationsAnalysesListCall {
  9453  	c.ctx_ = ctx
  9454  	return c
  9455  }
  9456  
  9457  // Header returns a http.Header that can be modified by the caller to add
  9458  // headers to the request.
  9459  func (c *ProjectsLocationsConversationsAnalysesListCall) Header() http.Header {
  9460  	if c.header_ == nil {
  9461  		c.header_ = make(http.Header)
  9462  	}
  9463  	return c.header_
  9464  }
  9465  
  9466  func (c *ProjectsLocationsConversationsAnalysesListCall) doRequest(alt string) (*http.Response, error) {
  9467  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
  9468  	if c.ifNoneMatch_ != "" {
  9469  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
  9470  	}
  9471  	var body io.Reader = nil
  9472  	c.urlParams_.Set("alt", alt)
  9473  	c.urlParams_.Set("prettyPrint", "false")
  9474  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/analyses")
  9475  	urls += "?" + c.urlParams_.Encode()
  9476  	req, err := http.NewRequest("GET", urls, body)
  9477  	if err != nil {
  9478  		return nil, err
  9479  	}
  9480  	req.Header = reqHeaders
  9481  	googleapi.Expand(req.URL, map[string]string{
  9482  		"parent": c.parent,
  9483  	})
  9484  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
  9485  }
  9486  
  9487  // Do executes the "contactcenterinsights.projects.locations.conversations.analyses.list" call.
  9488  // Any non-2xx status code is an error. Response headers are in either
  9489  // *GoogleCloudContactcenterinsightsV1ListAnalysesResponse.ServerResponse.Header
  9490  //
  9491  //	or (if a response was returned at all) in error.(*googleapi.Error).Header.
  9492  //
  9493  // Use googleapi.IsNotModified to check whether the returned error was because
  9494  // http.StatusNotModified was returned.
  9495  func (c *ProjectsLocationsConversationsAnalysesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1ListAnalysesResponse, error) {
  9496  	gensupport.SetOptions(c.urlParams_, opts...)
  9497  	res, err := c.doRequest("json")
  9498  	if res != nil && res.StatusCode == http.StatusNotModified {
  9499  		if res.Body != nil {
  9500  			res.Body.Close()
  9501  		}
  9502  		return nil, gensupport.WrapError(&googleapi.Error{
  9503  			Code:   res.StatusCode,
  9504  			Header: res.Header,
  9505  		})
  9506  	}
  9507  	if err != nil {
  9508  		return nil, err
  9509  	}
  9510  	defer googleapi.CloseBody(res)
  9511  	if err := googleapi.CheckResponse(res); err != nil {
  9512  		return nil, gensupport.WrapError(err)
  9513  	}
  9514  	ret := &GoogleCloudContactcenterinsightsV1ListAnalysesResponse{
  9515  		ServerResponse: googleapi.ServerResponse{
  9516  			Header:         res.Header,
  9517  			HTTPStatusCode: res.StatusCode,
  9518  		},
  9519  	}
  9520  	target := &ret
  9521  	if err := gensupport.DecodeResponse(target, res); err != nil {
  9522  		return nil, err
  9523  	}
  9524  	return ret, nil
  9525  }
  9526  
  9527  // Pages invokes f for each page of results.
  9528  // A non-nil error returned from f will halt the iteration.
  9529  // The provided context supersedes any context provided to the Context method.
  9530  func (c *ProjectsLocationsConversationsAnalysesListCall) Pages(ctx context.Context, f func(*GoogleCloudContactcenterinsightsV1ListAnalysesResponse) error) error {
  9531  	c.ctx_ = ctx
  9532  	defer c.PageToken(c.urlParams_.Get("pageToken"))
  9533  	for {
  9534  		x, err := c.Do()
  9535  		if err != nil {
  9536  			return err
  9537  		}
  9538  		if err := f(x); err != nil {
  9539  			return err
  9540  		}
  9541  		if x.NextPageToken == "" {
  9542  			return nil
  9543  		}
  9544  		c.PageToken(x.NextPageToken)
  9545  	}
  9546  }
  9547  
  9548  type ProjectsLocationsInsightsdataExportCall struct {
  9549  	s                                                           *Service
  9550  	parent                                                      string
  9551  	googlecloudcontactcenterinsightsv1exportinsightsdatarequest *GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest
  9552  	urlParams_                                                  gensupport.URLParams
  9553  	ctx_                                                        context.Context
  9554  	header_                                                     http.Header
  9555  }
  9556  
  9557  // Export: Export insights data to a destination defined in the request body.
  9558  //
  9559  // - parent: The parent resource to export data from.
  9560  func (r *ProjectsLocationsInsightsdataService) Export(parent string, googlecloudcontactcenterinsightsv1exportinsightsdatarequest *GoogleCloudContactcenterinsightsV1ExportInsightsDataRequest) *ProjectsLocationsInsightsdataExportCall {
  9561  	c := &ProjectsLocationsInsightsdataExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  9562  	c.parent = parent
  9563  	c.googlecloudcontactcenterinsightsv1exportinsightsdatarequest = googlecloudcontactcenterinsightsv1exportinsightsdatarequest
  9564  	return c
  9565  }
  9566  
  9567  // Fields allows partial responses to be retrieved. See
  9568  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  9569  // details.
  9570  func (c *ProjectsLocationsInsightsdataExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsInsightsdataExportCall {
  9571  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  9572  	return c
  9573  }
  9574  
  9575  // Context sets the context to be used in this call's Do method.
  9576  func (c *ProjectsLocationsInsightsdataExportCall) Context(ctx context.Context) *ProjectsLocationsInsightsdataExportCall {
  9577  	c.ctx_ = ctx
  9578  	return c
  9579  }
  9580  
  9581  // Header returns a http.Header that can be modified by the caller to add
  9582  // headers to the request.
  9583  func (c *ProjectsLocationsInsightsdataExportCall) Header() http.Header {
  9584  	if c.header_ == nil {
  9585  		c.header_ = make(http.Header)
  9586  	}
  9587  	return c.header_
  9588  }
  9589  
  9590  func (c *ProjectsLocationsInsightsdataExportCall) doRequest(alt string) (*http.Response, error) {
  9591  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
  9592  	var body io.Reader = nil
  9593  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1exportinsightsdatarequest)
  9594  	if err != nil {
  9595  		return nil, err
  9596  	}
  9597  	c.urlParams_.Set("alt", alt)
  9598  	c.urlParams_.Set("prettyPrint", "false")
  9599  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/insightsdata:export")
  9600  	urls += "?" + c.urlParams_.Encode()
  9601  	req, err := http.NewRequest("POST", urls, body)
  9602  	if err != nil {
  9603  		return nil, err
  9604  	}
  9605  	req.Header = reqHeaders
  9606  	googleapi.Expand(req.URL, map[string]string{
  9607  		"parent": c.parent,
  9608  	})
  9609  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
  9610  }
  9611  
  9612  // Do executes the "contactcenterinsights.projects.locations.insightsdata.export" call.
  9613  // Any non-2xx status code is an error. Response headers are in either
  9614  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
  9615  // returned at all) in error.(*googleapi.Error).Header. Use
  9616  // googleapi.IsNotModified to check whether the returned error was because
  9617  // http.StatusNotModified was returned.
  9618  func (c *ProjectsLocationsInsightsdataExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
  9619  	gensupport.SetOptions(c.urlParams_, opts...)
  9620  	res, err := c.doRequest("json")
  9621  	if res != nil && res.StatusCode == http.StatusNotModified {
  9622  		if res.Body != nil {
  9623  			res.Body.Close()
  9624  		}
  9625  		return nil, gensupport.WrapError(&googleapi.Error{
  9626  			Code:   res.StatusCode,
  9627  			Header: res.Header,
  9628  		})
  9629  	}
  9630  	if err != nil {
  9631  		return nil, err
  9632  	}
  9633  	defer googleapi.CloseBody(res)
  9634  	if err := googleapi.CheckResponse(res); err != nil {
  9635  		return nil, gensupport.WrapError(err)
  9636  	}
  9637  	ret := &GoogleLongrunningOperation{
  9638  		ServerResponse: googleapi.ServerResponse{
  9639  			Header:         res.Header,
  9640  			HTTPStatusCode: res.StatusCode,
  9641  		},
  9642  	}
  9643  	target := &ret
  9644  	if err := gensupport.DecodeResponse(target, res); err != nil {
  9645  		return nil, err
  9646  	}
  9647  	return ret, nil
  9648  }
  9649  
  9650  type ProjectsLocationsIssueModelsCalculateIssueModelStatsCall struct {
  9651  	s            *Service
  9652  	issueModel   string
  9653  	urlParams_   gensupport.URLParams
  9654  	ifNoneMatch_ string
  9655  	ctx_         context.Context
  9656  	header_      http.Header
  9657  }
  9658  
  9659  // CalculateIssueModelStats: Gets an issue model's statistics.
  9660  //
  9661  // - issueModel: The resource name of the issue model to query against.
  9662  func (r *ProjectsLocationsIssueModelsService) CalculateIssueModelStats(issueModel string) *ProjectsLocationsIssueModelsCalculateIssueModelStatsCall {
  9663  	c := &ProjectsLocationsIssueModelsCalculateIssueModelStatsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  9664  	c.issueModel = issueModel
  9665  	return c
  9666  }
  9667  
  9668  // Fields allows partial responses to be retrieved. See
  9669  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  9670  // details.
  9671  func (c *ProjectsLocationsIssueModelsCalculateIssueModelStatsCall) Fields(s ...googleapi.Field) *ProjectsLocationsIssueModelsCalculateIssueModelStatsCall {
  9672  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  9673  	return c
  9674  }
  9675  
  9676  // IfNoneMatch sets an optional parameter which makes the operation fail if the
  9677  // object's ETag matches the given value. This is useful for getting updates
  9678  // only after the object has changed since the last request.
  9679  func (c *ProjectsLocationsIssueModelsCalculateIssueModelStatsCall) IfNoneMatch(entityTag string) *ProjectsLocationsIssueModelsCalculateIssueModelStatsCall {
  9680  	c.ifNoneMatch_ = entityTag
  9681  	return c
  9682  }
  9683  
  9684  // Context sets the context to be used in this call's Do method.
  9685  func (c *ProjectsLocationsIssueModelsCalculateIssueModelStatsCall) Context(ctx context.Context) *ProjectsLocationsIssueModelsCalculateIssueModelStatsCall {
  9686  	c.ctx_ = ctx
  9687  	return c
  9688  }
  9689  
  9690  // Header returns a http.Header that can be modified by the caller to add
  9691  // headers to the request.
  9692  func (c *ProjectsLocationsIssueModelsCalculateIssueModelStatsCall) Header() http.Header {
  9693  	if c.header_ == nil {
  9694  		c.header_ = make(http.Header)
  9695  	}
  9696  	return c.header_
  9697  }
  9698  
  9699  func (c *ProjectsLocationsIssueModelsCalculateIssueModelStatsCall) doRequest(alt string) (*http.Response, error) {
  9700  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
  9701  	if c.ifNoneMatch_ != "" {
  9702  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
  9703  	}
  9704  	var body io.Reader = nil
  9705  	c.urlParams_.Set("alt", alt)
  9706  	c.urlParams_.Set("prettyPrint", "false")
  9707  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+issueModel}:calculateIssueModelStats")
  9708  	urls += "?" + c.urlParams_.Encode()
  9709  	req, err := http.NewRequest("GET", urls, body)
  9710  	if err != nil {
  9711  		return nil, err
  9712  	}
  9713  	req.Header = reqHeaders
  9714  	googleapi.Expand(req.URL, map[string]string{
  9715  		"issueModel": c.issueModel,
  9716  	})
  9717  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
  9718  }
  9719  
  9720  // Do executes the "contactcenterinsights.projects.locations.issueModels.calculateIssueModelStats" call.
  9721  // Any non-2xx status code is an error. Response headers are in either
  9722  // *GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse.ServerRes
  9723  // ponse.Header or (if a response was returned at all) in
  9724  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
  9725  // whether the returned error was because http.StatusNotModified was returned.
  9726  func (c *ProjectsLocationsIssueModelsCalculateIssueModelStatsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse, error) {
  9727  	gensupport.SetOptions(c.urlParams_, opts...)
  9728  	res, err := c.doRequest("json")
  9729  	if res != nil && res.StatusCode == http.StatusNotModified {
  9730  		if res.Body != nil {
  9731  			res.Body.Close()
  9732  		}
  9733  		return nil, gensupport.WrapError(&googleapi.Error{
  9734  			Code:   res.StatusCode,
  9735  			Header: res.Header,
  9736  		})
  9737  	}
  9738  	if err != nil {
  9739  		return nil, err
  9740  	}
  9741  	defer googleapi.CloseBody(res)
  9742  	if err := googleapi.CheckResponse(res); err != nil {
  9743  		return nil, gensupport.WrapError(err)
  9744  	}
  9745  	ret := &GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse{
  9746  		ServerResponse: googleapi.ServerResponse{
  9747  			Header:         res.Header,
  9748  			HTTPStatusCode: res.StatusCode,
  9749  		},
  9750  	}
  9751  	target := &ret
  9752  	if err := gensupport.DecodeResponse(target, res); err != nil {
  9753  		return nil, err
  9754  	}
  9755  	return ret, nil
  9756  }
  9757  
  9758  type ProjectsLocationsIssueModelsCreateCall struct {
  9759  	s                                            *Service
  9760  	parent                                       string
  9761  	googlecloudcontactcenterinsightsv1issuemodel *GoogleCloudContactcenterinsightsV1IssueModel
  9762  	urlParams_                                   gensupport.URLParams
  9763  	ctx_                                         context.Context
  9764  	header_                                      http.Header
  9765  }
  9766  
  9767  // Create: Creates an issue model.
  9768  //
  9769  // - parent: The parent resource of the issue model.
  9770  func (r *ProjectsLocationsIssueModelsService) Create(parent string, googlecloudcontactcenterinsightsv1issuemodel *GoogleCloudContactcenterinsightsV1IssueModel) *ProjectsLocationsIssueModelsCreateCall {
  9771  	c := &ProjectsLocationsIssueModelsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  9772  	c.parent = parent
  9773  	c.googlecloudcontactcenterinsightsv1issuemodel = googlecloudcontactcenterinsightsv1issuemodel
  9774  	return c
  9775  }
  9776  
  9777  // Fields allows partial responses to be retrieved. See
  9778  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  9779  // details.
  9780  func (c *ProjectsLocationsIssueModelsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsIssueModelsCreateCall {
  9781  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  9782  	return c
  9783  }
  9784  
  9785  // Context sets the context to be used in this call's Do method.
  9786  func (c *ProjectsLocationsIssueModelsCreateCall) Context(ctx context.Context) *ProjectsLocationsIssueModelsCreateCall {
  9787  	c.ctx_ = ctx
  9788  	return c
  9789  }
  9790  
  9791  // Header returns a http.Header that can be modified by the caller to add
  9792  // headers to the request.
  9793  func (c *ProjectsLocationsIssueModelsCreateCall) Header() http.Header {
  9794  	if c.header_ == nil {
  9795  		c.header_ = make(http.Header)
  9796  	}
  9797  	return c.header_
  9798  }
  9799  
  9800  func (c *ProjectsLocationsIssueModelsCreateCall) doRequest(alt string) (*http.Response, error) {
  9801  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
  9802  	var body io.Reader = nil
  9803  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1issuemodel)
  9804  	if err != nil {
  9805  		return nil, err
  9806  	}
  9807  	c.urlParams_.Set("alt", alt)
  9808  	c.urlParams_.Set("prettyPrint", "false")
  9809  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/issueModels")
  9810  	urls += "?" + c.urlParams_.Encode()
  9811  	req, err := http.NewRequest("POST", urls, body)
  9812  	if err != nil {
  9813  		return nil, err
  9814  	}
  9815  	req.Header = reqHeaders
  9816  	googleapi.Expand(req.URL, map[string]string{
  9817  		"parent": c.parent,
  9818  	})
  9819  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
  9820  }
  9821  
  9822  // Do executes the "contactcenterinsights.projects.locations.issueModels.create" call.
  9823  // Any non-2xx status code is an error. Response headers are in either
  9824  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
  9825  // returned at all) in error.(*googleapi.Error).Header. Use
  9826  // googleapi.IsNotModified to check whether the returned error was because
  9827  // http.StatusNotModified was returned.
  9828  func (c *ProjectsLocationsIssueModelsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
  9829  	gensupport.SetOptions(c.urlParams_, opts...)
  9830  	res, err := c.doRequest("json")
  9831  	if res != nil && res.StatusCode == http.StatusNotModified {
  9832  		if res.Body != nil {
  9833  			res.Body.Close()
  9834  		}
  9835  		return nil, gensupport.WrapError(&googleapi.Error{
  9836  			Code:   res.StatusCode,
  9837  			Header: res.Header,
  9838  		})
  9839  	}
  9840  	if err != nil {
  9841  		return nil, err
  9842  	}
  9843  	defer googleapi.CloseBody(res)
  9844  	if err := googleapi.CheckResponse(res); err != nil {
  9845  		return nil, gensupport.WrapError(err)
  9846  	}
  9847  	ret := &GoogleLongrunningOperation{
  9848  		ServerResponse: googleapi.ServerResponse{
  9849  			Header:         res.Header,
  9850  			HTTPStatusCode: res.StatusCode,
  9851  		},
  9852  	}
  9853  	target := &ret
  9854  	if err := gensupport.DecodeResponse(target, res); err != nil {
  9855  		return nil, err
  9856  	}
  9857  	return ret, nil
  9858  }
  9859  
  9860  type ProjectsLocationsIssueModelsDeleteCall struct {
  9861  	s          *Service
  9862  	name       string
  9863  	urlParams_ gensupport.URLParams
  9864  	ctx_       context.Context
  9865  	header_    http.Header
  9866  }
  9867  
  9868  // Delete: Deletes an issue model.
  9869  //
  9870  // - name: The name of the issue model to delete.
  9871  func (r *ProjectsLocationsIssueModelsService) Delete(name string) *ProjectsLocationsIssueModelsDeleteCall {
  9872  	c := &ProjectsLocationsIssueModelsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  9873  	c.name = name
  9874  	return c
  9875  }
  9876  
  9877  // Fields allows partial responses to be retrieved. See
  9878  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  9879  // details.
  9880  func (c *ProjectsLocationsIssueModelsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsIssueModelsDeleteCall {
  9881  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  9882  	return c
  9883  }
  9884  
  9885  // Context sets the context to be used in this call's Do method.
  9886  func (c *ProjectsLocationsIssueModelsDeleteCall) Context(ctx context.Context) *ProjectsLocationsIssueModelsDeleteCall {
  9887  	c.ctx_ = ctx
  9888  	return c
  9889  }
  9890  
  9891  // Header returns a http.Header that can be modified by the caller to add
  9892  // headers to the request.
  9893  func (c *ProjectsLocationsIssueModelsDeleteCall) Header() http.Header {
  9894  	if c.header_ == nil {
  9895  		c.header_ = make(http.Header)
  9896  	}
  9897  	return c.header_
  9898  }
  9899  
  9900  func (c *ProjectsLocationsIssueModelsDeleteCall) doRequest(alt string) (*http.Response, error) {
  9901  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
  9902  	var body io.Reader = nil
  9903  	c.urlParams_.Set("alt", alt)
  9904  	c.urlParams_.Set("prettyPrint", "false")
  9905  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
  9906  	urls += "?" + c.urlParams_.Encode()
  9907  	req, err := http.NewRequest("DELETE", urls, body)
  9908  	if err != nil {
  9909  		return nil, err
  9910  	}
  9911  	req.Header = reqHeaders
  9912  	googleapi.Expand(req.URL, map[string]string{
  9913  		"name": c.name,
  9914  	})
  9915  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
  9916  }
  9917  
  9918  // Do executes the "contactcenterinsights.projects.locations.issueModels.delete" call.
  9919  // Any non-2xx status code is an error. Response headers are in either
  9920  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
  9921  // returned at all) in error.(*googleapi.Error).Header. Use
  9922  // googleapi.IsNotModified to check whether the returned error was because
  9923  // http.StatusNotModified was returned.
  9924  func (c *ProjectsLocationsIssueModelsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
  9925  	gensupport.SetOptions(c.urlParams_, opts...)
  9926  	res, err := c.doRequest("json")
  9927  	if res != nil && res.StatusCode == http.StatusNotModified {
  9928  		if res.Body != nil {
  9929  			res.Body.Close()
  9930  		}
  9931  		return nil, gensupport.WrapError(&googleapi.Error{
  9932  			Code:   res.StatusCode,
  9933  			Header: res.Header,
  9934  		})
  9935  	}
  9936  	if err != nil {
  9937  		return nil, err
  9938  	}
  9939  	defer googleapi.CloseBody(res)
  9940  	if err := googleapi.CheckResponse(res); err != nil {
  9941  		return nil, gensupport.WrapError(err)
  9942  	}
  9943  	ret := &GoogleLongrunningOperation{
  9944  		ServerResponse: googleapi.ServerResponse{
  9945  			Header:         res.Header,
  9946  			HTTPStatusCode: res.StatusCode,
  9947  		},
  9948  	}
  9949  	target := &ret
  9950  	if err := gensupport.DecodeResponse(target, res); err != nil {
  9951  		return nil, err
  9952  	}
  9953  	return ret, nil
  9954  }
  9955  
  9956  type ProjectsLocationsIssueModelsDeployCall struct {
  9957  	s                                                         *Service
  9958  	name                                                      string
  9959  	googlecloudcontactcenterinsightsv1deployissuemodelrequest *GoogleCloudContactcenterinsightsV1DeployIssueModelRequest
  9960  	urlParams_                                                gensupport.URLParams
  9961  	ctx_                                                      context.Context
  9962  	header_                                                   http.Header
  9963  }
  9964  
  9965  // Deploy: Deploys an issue model. Returns an error if a model is already
  9966  // deployed. An issue model can only be used in analysis after it has been
  9967  // deployed.
  9968  //
  9969  // - name: The issue model to deploy.
  9970  func (r *ProjectsLocationsIssueModelsService) Deploy(name string, googlecloudcontactcenterinsightsv1deployissuemodelrequest *GoogleCloudContactcenterinsightsV1DeployIssueModelRequest) *ProjectsLocationsIssueModelsDeployCall {
  9971  	c := &ProjectsLocationsIssueModelsDeployCall{s: r.s, urlParams_: make(gensupport.URLParams)}
  9972  	c.name = name
  9973  	c.googlecloudcontactcenterinsightsv1deployissuemodelrequest = googlecloudcontactcenterinsightsv1deployissuemodelrequest
  9974  	return c
  9975  }
  9976  
  9977  // Fields allows partial responses to be retrieved. See
  9978  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
  9979  // details.
  9980  func (c *ProjectsLocationsIssueModelsDeployCall) Fields(s ...googleapi.Field) *ProjectsLocationsIssueModelsDeployCall {
  9981  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
  9982  	return c
  9983  }
  9984  
  9985  // Context sets the context to be used in this call's Do method.
  9986  func (c *ProjectsLocationsIssueModelsDeployCall) Context(ctx context.Context) *ProjectsLocationsIssueModelsDeployCall {
  9987  	c.ctx_ = ctx
  9988  	return c
  9989  }
  9990  
  9991  // Header returns a http.Header that can be modified by the caller to add
  9992  // headers to the request.
  9993  func (c *ProjectsLocationsIssueModelsDeployCall) Header() http.Header {
  9994  	if c.header_ == nil {
  9995  		c.header_ = make(http.Header)
  9996  	}
  9997  	return c.header_
  9998  }
  9999  
 10000  func (c *ProjectsLocationsIssueModelsDeployCall) doRequest(alt string) (*http.Response, error) {
 10001  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 10002  	var body io.Reader = nil
 10003  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1deployissuemodelrequest)
 10004  	if err != nil {
 10005  		return nil, err
 10006  	}
 10007  	c.urlParams_.Set("alt", alt)
 10008  	c.urlParams_.Set("prettyPrint", "false")
 10009  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:deploy")
 10010  	urls += "?" + c.urlParams_.Encode()
 10011  	req, err := http.NewRequest("POST", urls, body)
 10012  	if err != nil {
 10013  		return nil, err
 10014  	}
 10015  	req.Header = reqHeaders
 10016  	googleapi.Expand(req.URL, map[string]string{
 10017  		"name": c.name,
 10018  	})
 10019  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 10020  }
 10021  
 10022  // Do executes the "contactcenterinsights.projects.locations.issueModels.deploy" call.
 10023  // Any non-2xx status code is an error. Response headers are in either
 10024  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 10025  // returned at all) in error.(*googleapi.Error).Header. Use
 10026  // googleapi.IsNotModified to check whether the returned error was because
 10027  // http.StatusNotModified was returned.
 10028  func (c *ProjectsLocationsIssueModelsDeployCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 10029  	gensupport.SetOptions(c.urlParams_, opts...)
 10030  	res, err := c.doRequest("json")
 10031  	if res != nil && res.StatusCode == http.StatusNotModified {
 10032  		if res.Body != nil {
 10033  			res.Body.Close()
 10034  		}
 10035  		return nil, gensupport.WrapError(&googleapi.Error{
 10036  			Code:   res.StatusCode,
 10037  			Header: res.Header,
 10038  		})
 10039  	}
 10040  	if err != nil {
 10041  		return nil, err
 10042  	}
 10043  	defer googleapi.CloseBody(res)
 10044  	if err := googleapi.CheckResponse(res); err != nil {
 10045  		return nil, gensupport.WrapError(err)
 10046  	}
 10047  	ret := &GoogleLongrunningOperation{
 10048  		ServerResponse: googleapi.ServerResponse{
 10049  			Header:         res.Header,
 10050  			HTTPStatusCode: res.StatusCode,
 10051  		},
 10052  	}
 10053  	target := &ret
 10054  	if err := gensupport.DecodeResponse(target, res); err != nil {
 10055  		return nil, err
 10056  	}
 10057  	return ret, nil
 10058  }
 10059  
 10060  type ProjectsLocationsIssueModelsExportCall struct {
 10061  	s                                                         *Service
 10062  	name                                                      string
 10063  	googlecloudcontactcenterinsightsv1exportissuemodelrequest *GoogleCloudContactcenterinsightsV1ExportIssueModelRequest
 10064  	urlParams_                                                gensupport.URLParams
 10065  	ctx_                                                      context.Context
 10066  	header_                                                   http.Header
 10067  }
 10068  
 10069  // Export: Exports an issue model to the provided destination.
 10070  //
 10071  // - name: The issue model to export.
 10072  func (r *ProjectsLocationsIssueModelsService) Export(name string, googlecloudcontactcenterinsightsv1exportissuemodelrequest *GoogleCloudContactcenterinsightsV1ExportIssueModelRequest) *ProjectsLocationsIssueModelsExportCall {
 10073  	c := &ProjectsLocationsIssueModelsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 10074  	c.name = name
 10075  	c.googlecloudcontactcenterinsightsv1exportissuemodelrequest = googlecloudcontactcenterinsightsv1exportissuemodelrequest
 10076  	return c
 10077  }
 10078  
 10079  // Fields allows partial responses to be retrieved. See
 10080  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 10081  // details.
 10082  func (c *ProjectsLocationsIssueModelsExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsIssueModelsExportCall {
 10083  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 10084  	return c
 10085  }
 10086  
 10087  // Context sets the context to be used in this call's Do method.
 10088  func (c *ProjectsLocationsIssueModelsExportCall) Context(ctx context.Context) *ProjectsLocationsIssueModelsExportCall {
 10089  	c.ctx_ = ctx
 10090  	return c
 10091  }
 10092  
 10093  // Header returns a http.Header that can be modified by the caller to add
 10094  // headers to the request.
 10095  func (c *ProjectsLocationsIssueModelsExportCall) Header() http.Header {
 10096  	if c.header_ == nil {
 10097  		c.header_ = make(http.Header)
 10098  	}
 10099  	return c.header_
 10100  }
 10101  
 10102  func (c *ProjectsLocationsIssueModelsExportCall) doRequest(alt string) (*http.Response, error) {
 10103  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 10104  	var body io.Reader = nil
 10105  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1exportissuemodelrequest)
 10106  	if err != nil {
 10107  		return nil, err
 10108  	}
 10109  	c.urlParams_.Set("alt", alt)
 10110  	c.urlParams_.Set("prettyPrint", "false")
 10111  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:export")
 10112  	urls += "?" + c.urlParams_.Encode()
 10113  	req, err := http.NewRequest("POST", urls, body)
 10114  	if err != nil {
 10115  		return nil, err
 10116  	}
 10117  	req.Header = reqHeaders
 10118  	googleapi.Expand(req.URL, map[string]string{
 10119  		"name": c.name,
 10120  	})
 10121  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 10122  }
 10123  
 10124  // Do executes the "contactcenterinsights.projects.locations.issueModels.export" call.
 10125  // Any non-2xx status code is an error. Response headers are in either
 10126  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 10127  // returned at all) in error.(*googleapi.Error).Header. Use
 10128  // googleapi.IsNotModified to check whether the returned error was because
 10129  // http.StatusNotModified was returned.
 10130  func (c *ProjectsLocationsIssueModelsExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 10131  	gensupport.SetOptions(c.urlParams_, opts...)
 10132  	res, err := c.doRequest("json")
 10133  	if res != nil && res.StatusCode == http.StatusNotModified {
 10134  		if res.Body != nil {
 10135  			res.Body.Close()
 10136  		}
 10137  		return nil, gensupport.WrapError(&googleapi.Error{
 10138  			Code:   res.StatusCode,
 10139  			Header: res.Header,
 10140  		})
 10141  	}
 10142  	if err != nil {
 10143  		return nil, err
 10144  	}
 10145  	defer googleapi.CloseBody(res)
 10146  	if err := googleapi.CheckResponse(res); err != nil {
 10147  		return nil, gensupport.WrapError(err)
 10148  	}
 10149  	ret := &GoogleLongrunningOperation{
 10150  		ServerResponse: googleapi.ServerResponse{
 10151  			Header:         res.Header,
 10152  			HTTPStatusCode: res.StatusCode,
 10153  		},
 10154  	}
 10155  	target := &ret
 10156  	if err := gensupport.DecodeResponse(target, res); err != nil {
 10157  		return nil, err
 10158  	}
 10159  	return ret, nil
 10160  }
 10161  
 10162  type ProjectsLocationsIssueModelsGetCall struct {
 10163  	s            *Service
 10164  	name         string
 10165  	urlParams_   gensupport.URLParams
 10166  	ifNoneMatch_ string
 10167  	ctx_         context.Context
 10168  	header_      http.Header
 10169  }
 10170  
 10171  // Get: Gets an issue model.
 10172  //
 10173  // - name: The name of the issue model to get.
 10174  func (r *ProjectsLocationsIssueModelsService) Get(name string) *ProjectsLocationsIssueModelsGetCall {
 10175  	c := &ProjectsLocationsIssueModelsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 10176  	c.name = name
 10177  	return c
 10178  }
 10179  
 10180  // Fields allows partial responses to be retrieved. See
 10181  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 10182  // details.
 10183  func (c *ProjectsLocationsIssueModelsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsIssueModelsGetCall {
 10184  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 10185  	return c
 10186  }
 10187  
 10188  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 10189  // object's ETag matches the given value. This is useful for getting updates
 10190  // only after the object has changed since the last request.
 10191  func (c *ProjectsLocationsIssueModelsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsIssueModelsGetCall {
 10192  	c.ifNoneMatch_ = entityTag
 10193  	return c
 10194  }
 10195  
 10196  // Context sets the context to be used in this call's Do method.
 10197  func (c *ProjectsLocationsIssueModelsGetCall) Context(ctx context.Context) *ProjectsLocationsIssueModelsGetCall {
 10198  	c.ctx_ = ctx
 10199  	return c
 10200  }
 10201  
 10202  // Header returns a http.Header that can be modified by the caller to add
 10203  // headers to the request.
 10204  func (c *ProjectsLocationsIssueModelsGetCall) Header() http.Header {
 10205  	if c.header_ == nil {
 10206  		c.header_ = make(http.Header)
 10207  	}
 10208  	return c.header_
 10209  }
 10210  
 10211  func (c *ProjectsLocationsIssueModelsGetCall) doRequest(alt string) (*http.Response, error) {
 10212  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 10213  	if c.ifNoneMatch_ != "" {
 10214  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 10215  	}
 10216  	var body io.Reader = nil
 10217  	c.urlParams_.Set("alt", alt)
 10218  	c.urlParams_.Set("prettyPrint", "false")
 10219  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 10220  	urls += "?" + c.urlParams_.Encode()
 10221  	req, err := http.NewRequest("GET", urls, body)
 10222  	if err != nil {
 10223  		return nil, err
 10224  	}
 10225  	req.Header = reqHeaders
 10226  	googleapi.Expand(req.URL, map[string]string{
 10227  		"name": c.name,
 10228  	})
 10229  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 10230  }
 10231  
 10232  // Do executes the "contactcenterinsights.projects.locations.issueModels.get" call.
 10233  // Any non-2xx status code is an error. Response headers are in either
 10234  // *GoogleCloudContactcenterinsightsV1IssueModel.ServerResponse.Header or (if a
 10235  // response was returned at all) in error.(*googleapi.Error).Header. Use
 10236  // googleapi.IsNotModified to check whether the returned error was because
 10237  // http.StatusNotModified was returned.
 10238  func (c *ProjectsLocationsIssueModelsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1IssueModel, error) {
 10239  	gensupport.SetOptions(c.urlParams_, opts...)
 10240  	res, err := c.doRequest("json")
 10241  	if res != nil && res.StatusCode == http.StatusNotModified {
 10242  		if res.Body != nil {
 10243  			res.Body.Close()
 10244  		}
 10245  		return nil, gensupport.WrapError(&googleapi.Error{
 10246  			Code:   res.StatusCode,
 10247  			Header: res.Header,
 10248  		})
 10249  	}
 10250  	if err != nil {
 10251  		return nil, err
 10252  	}
 10253  	defer googleapi.CloseBody(res)
 10254  	if err := googleapi.CheckResponse(res); err != nil {
 10255  		return nil, gensupport.WrapError(err)
 10256  	}
 10257  	ret := &GoogleCloudContactcenterinsightsV1IssueModel{
 10258  		ServerResponse: googleapi.ServerResponse{
 10259  			Header:         res.Header,
 10260  			HTTPStatusCode: res.StatusCode,
 10261  		},
 10262  	}
 10263  	target := &ret
 10264  	if err := gensupport.DecodeResponse(target, res); err != nil {
 10265  		return nil, err
 10266  	}
 10267  	return ret, nil
 10268  }
 10269  
 10270  type ProjectsLocationsIssueModelsImportCall struct {
 10271  	s                                                         *Service
 10272  	parent                                                    string
 10273  	googlecloudcontactcenterinsightsv1importissuemodelrequest *GoogleCloudContactcenterinsightsV1ImportIssueModelRequest
 10274  	urlParams_                                                gensupport.URLParams
 10275  	ctx_                                                      context.Context
 10276  	header_                                                   http.Header
 10277  }
 10278  
 10279  // Import: Imports an issue model from a Cloud Storage bucket.
 10280  //
 10281  // - parent: The parent resource of the issue model.
 10282  func (r *ProjectsLocationsIssueModelsService) Import(parent string, googlecloudcontactcenterinsightsv1importissuemodelrequest *GoogleCloudContactcenterinsightsV1ImportIssueModelRequest) *ProjectsLocationsIssueModelsImportCall {
 10283  	c := &ProjectsLocationsIssueModelsImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 10284  	c.parent = parent
 10285  	c.googlecloudcontactcenterinsightsv1importissuemodelrequest = googlecloudcontactcenterinsightsv1importissuemodelrequest
 10286  	return c
 10287  }
 10288  
 10289  // Fields allows partial responses to be retrieved. See
 10290  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 10291  // details.
 10292  func (c *ProjectsLocationsIssueModelsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsIssueModelsImportCall {
 10293  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 10294  	return c
 10295  }
 10296  
 10297  // Context sets the context to be used in this call's Do method.
 10298  func (c *ProjectsLocationsIssueModelsImportCall) Context(ctx context.Context) *ProjectsLocationsIssueModelsImportCall {
 10299  	c.ctx_ = ctx
 10300  	return c
 10301  }
 10302  
 10303  // Header returns a http.Header that can be modified by the caller to add
 10304  // headers to the request.
 10305  func (c *ProjectsLocationsIssueModelsImportCall) Header() http.Header {
 10306  	if c.header_ == nil {
 10307  		c.header_ = make(http.Header)
 10308  	}
 10309  	return c.header_
 10310  }
 10311  
 10312  func (c *ProjectsLocationsIssueModelsImportCall) doRequest(alt string) (*http.Response, error) {
 10313  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 10314  	var body io.Reader = nil
 10315  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1importissuemodelrequest)
 10316  	if err != nil {
 10317  		return nil, err
 10318  	}
 10319  	c.urlParams_.Set("alt", alt)
 10320  	c.urlParams_.Set("prettyPrint", "false")
 10321  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/issueModels:import")
 10322  	urls += "?" + c.urlParams_.Encode()
 10323  	req, err := http.NewRequest("POST", urls, body)
 10324  	if err != nil {
 10325  		return nil, err
 10326  	}
 10327  	req.Header = reqHeaders
 10328  	googleapi.Expand(req.URL, map[string]string{
 10329  		"parent": c.parent,
 10330  	})
 10331  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 10332  }
 10333  
 10334  // Do executes the "contactcenterinsights.projects.locations.issueModels.import" call.
 10335  // Any non-2xx status code is an error. Response headers are in either
 10336  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 10337  // returned at all) in error.(*googleapi.Error).Header. Use
 10338  // googleapi.IsNotModified to check whether the returned error was because
 10339  // http.StatusNotModified was returned.
 10340  func (c *ProjectsLocationsIssueModelsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 10341  	gensupport.SetOptions(c.urlParams_, opts...)
 10342  	res, err := c.doRequest("json")
 10343  	if res != nil && res.StatusCode == http.StatusNotModified {
 10344  		if res.Body != nil {
 10345  			res.Body.Close()
 10346  		}
 10347  		return nil, gensupport.WrapError(&googleapi.Error{
 10348  			Code:   res.StatusCode,
 10349  			Header: res.Header,
 10350  		})
 10351  	}
 10352  	if err != nil {
 10353  		return nil, err
 10354  	}
 10355  	defer googleapi.CloseBody(res)
 10356  	if err := googleapi.CheckResponse(res); err != nil {
 10357  		return nil, gensupport.WrapError(err)
 10358  	}
 10359  	ret := &GoogleLongrunningOperation{
 10360  		ServerResponse: googleapi.ServerResponse{
 10361  			Header:         res.Header,
 10362  			HTTPStatusCode: res.StatusCode,
 10363  		},
 10364  	}
 10365  	target := &ret
 10366  	if err := gensupport.DecodeResponse(target, res); err != nil {
 10367  		return nil, err
 10368  	}
 10369  	return ret, nil
 10370  }
 10371  
 10372  type ProjectsLocationsIssueModelsListCall struct {
 10373  	s            *Service
 10374  	parent       string
 10375  	urlParams_   gensupport.URLParams
 10376  	ifNoneMatch_ string
 10377  	ctx_         context.Context
 10378  	header_      http.Header
 10379  }
 10380  
 10381  // List: Lists issue models.
 10382  //
 10383  // - parent: The parent resource of the issue model.
 10384  func (r *ProjectsLocationsIssueModelsService) List(parent string) *ProjectsLocationsIssueModelsListCall {
 10385  	c := &ProjectsLocationsIssueModelsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 10386  	c.parent = parent
 10387  	return c
 10388  }
 10389  
 10390  // Fields allows partial responses to be retrieved. See
 10391  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 10392  // details.
 10393  func (c *ProjectsLocationsIssueModelsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsIssueModelsListCall {
 10394  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 10395  	return c
 10396  }
 10397  
 10398  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 10399  // object's ETag matches the given value. This is useful for getting updates
 10400  // only after the object has changed since the last request.
 10401  func (c *ProjectsLocationsIssueModelsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsIssueModelsListCall {
 10402  	c.ifNoneMatch_ = entityTag
 10403  	return c
 10404  }
 10405  
 10406  // Context sets the context to be used in this call's Do method.
 10407  func (c *ProjectsLocationsIssueModelsListCall) Context(ctx context.Context) *ProjectsLocationsIssueModelsListCall {
 10408  	c.ctx_ = ctx
 10409  	return c
 10410  }
 10411  
 10412  // Header returns a http.Header that can be modified by the caller to add
 10413  // headers to the request.
 10414  func (c *ProjectsLocationsIssueModelsListCall) Header() http.Header {
 10415  	if c.header_ == nil {
 10416  		c.header_ = make(http.Header)
 10417  	}
 10418  	return c.header_
 10419  }
 10420  
 10421  func (c *ProjectsLocationsIssueModelsListCall) doRequest(alt string) (*http.Response, error) {
 10422  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 10423  	if c.ifNoneMatch_ != "" {
 10424  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 10425  	}
 10426  	var body io.Reader = nil
 10427  	c.urlParams_.Set("alt", alt)
 10428  	c.urlParams_.Set("prettyPrint", "false")
 10429  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/issueModels")
 10430  	urls += "?" + c.urlParams_.Encode()
 10431  	req, err := http.NewRequest("GET", urls, body)
 10432  	if err != nil {
 10433  		return nil, err
 10434  	}
 10435  	req.Header = reqHeaders
 10436  	googleapi.Expand(req.URL, map[string]string{
 10437  		"parent": c.parent,
 10438  	})
 10439  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 10440  }
 10441  
 10442  // Do executes the "contactcenterinsights.projects.locations.issueModels.list" call.
 10443  // Any non-2xx status code is an error. Response headers are in either
 10444  // *GoogleCloudContactcenterinsightsV1ListIssueModelsResponse.ServerResponse.Hea
 10445  // der or (if a response was returned at all) in
 10446  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 10447  // whether the returned error was because http.StatusNotModified was returned.
 10448  func (c *ProjectsLocationsIssueModelsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1ListIssueModelsResponse, error) {
 10449  	gensupport.SetOptions(c.urlParams_, opts...)
 10450  	res, err := c.doRequest("json")
 10451  	if res != nil && res.StatusCode == http.StatusNotModified {
 10452  		if res.Body != nil {
 10453  			res.Body.Close()
 10454  		}
 10455  		return nil, gensupport.WrapError(&googleapi.Error{
 10456  			Code:   res.StatusCode,
 10457  			Header: res.Header,
 10458  		})
 10459  	}
 10460  	if err != nil {
 10461  		return nil, err
 10462  	}
 10463  	defer googleapi.CloseBody(res)
 10464  	if err := googleapi.CheckResponse(res); err != nil {
 10465  		return nil, gensupport.WrapError(err)
 10466  	}
 10467  	ret := &GoogleCloudContactcenterinsightsV1ListIssueModelsResponse{
 10468  		ServerResponse: googleapi.ServerResponse{
 10469  			Header:         res.Header,
 10470  			HTTPStatusCode: res.StatusCode,
 10471  		},
 10472  	}
 10473  	target := &ret
 10474  	if err := gensupport.DecodeResponse(target, res); err != nil {
 10475  		return nil, err
 10476  	}
 10477  	return ret, nil
 10478  }
 10479  
 10480  type ProjectsLocationsIssueModelsPatchCall struct {
 10481  	s                                            *Service
 10482  	name                                         string
 10483  	googlecloudcontactcenterinsightsv1issuemodel *GoogleCloudContactcenterinsightsV1IssueModel
 10484  	urlParams_                                   gensupport.URLParams
 10485  	ctx_                                         context.Context
 10486  	header_                                      http.Header
 10487  }
 10488  
 10489  // Patch: Updates an issue model.
 10490  //
 10491  //   - name: Immutable. The resource name of the issue model. Format:
 10492  //     projects/{project}/locations/{location}/issueModels/{issue_model}.
 10493  func (r *ProjectsLocationsIssueModelsService) Patch(name string, googlecloudcontactcenterinsightsv1issuemodel *GoogleCloudContactcenterinsightsV1IssueModel) *ProjectsLocationsIssueModelsPatchCall {
 10494  	c := &ProjectsLocationsIssueModelsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 10495  	c.name = name
 10496  	c.googlecloudcontactcenterinsightsv1issuemodel = googlecloudcontactcenterinsightsv1issuemodel
 10497  	return c
 10498  }
 10499  
 10500  // UpdateMask sets the optional parameter "updateMask": The list of fields to
 10501  // be updated.
 10502  func (c *ProjectsLocationsIssueModelsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsIssueModelsPatchCall {
 10503  	c.urlParams_.Set("updateMask", updateMask)
 10504  	return c
 10505  }
 10506  
 10507  // Fields allows partial responses to be retrieved. See
 10508  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 10509  // details.
 10510  func (c *ProjectsLocationsIssueModelsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsIssueModelsPatchCall {
 10511  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 10512  	return c
 10513  }
 10514  
 10515  // Context sets the context to be used in this call's Do method.
 10516  func (c *ProjectsLocationsIssueModelsPatchCall) Context(ctx context.Context) *ProjectsLocationsIssueModelsPatchCall {
 10517  	c.ctx_ = ctx
 10518  	return c
 10519  }
 10520  
 10521  // Header returns a http.Header that can be modified by the caller to add
 10522  // headers to the request.
 10523  func (c *ProjectsLocationsIssueModelsPatchCall) Header() http.Header {
 10524  	if c.header_ == nil {
 10525  		c.header_ = make(http.Header)
 10526  	}
 10527  	return c.header_
 10528  }
 10529  
 10530  func (c *ProjectsLocationsIssueModelsPatchCall) doRequest(alt string) (*http.Response, error) {
 10531  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 10532  	var body io.Reader = nil
 10533  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1issuemodel)
 10534  	if err != nil {
 10535  		return nil, err
 10536  	}
 10537  	c.urlParams_.Set("alt", alt)
 10538  	c.urlParams_.Set("prettyPrint", "false")
 10539  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 10540  	urls += "?" + c.urlParams_.Encode()
 10541  	req, err := http.NewRequest("PATCH", urls, body)
 10542  	if err != nil {
 10543  		return nil, err
 10544  	}
 10545  	req.Header = reqHeaders
 10546  	googleapi.Expand(req.URL, map[string]string{
 10547  		"name": c.name,
 10548  	})
 10549  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 10550  }
 10551  
 10552  // Do executes the "contactcenterinsights.projects.locations.issueModels.patch" call.
 10553  // Any non-2xx status code is an error. Response headers are in either
 10554  // *GoogleCloudContactcenterinsightsV1IssueModel.ServerResponse.Header or (if a
 10555  // response was returned at all) in error.(*googleapi.Error).Header. Use
 10556  // googleapi.IsNotModified to check whether the returned error was because
 10557  // http.StatusNotModified was returned.
 10558  func (c *ProjectsLocationsIssueModelsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1IssueModel, error) {
 10559  	gensupport.SetOptions(c.urlParams_, opts...)
 10560  	res, err := c.doRequest("json")
 10561  	if res != nil && res.StatusCode == http.StatusNotModified {
 10562  		if res.Body != nil {
 10563  			res.Body.Close()
 10564  		}
 10565  		return nil, gensupport.WrapError(&googleapi.Error{
 10566  			Code:   res.StatusCode,
 10567  			Header: res.Header,
 10568  		})
 10569  	}
 10570  	if err != nil {
 10571  		return nil, err
 10572  	}
 10573  	defer googleapi.CloseBody(res)
 10574  	if err := googleapi.CheckResponse(res); err != nil {
 10575  		return nil, gensupport.WrapError(err)
 10576  	}
 10577  	ret := &GoogleCloudContactcenterinsightsV1IssueModel{
 10578  		ServerResponse: googleapi.ServerResponse{
 10579  			Header:         res.Header,
 10580  			HTTPStatusCode: res.StatusCode,
 10581  		},
 10582  	}
 10583  	target := &ret
 10584  	if err := gensupport.DecodeResponse(target, res); err != nil {
 10585  		return nil, err
 10586  	}
 10587  	return ret, nil
 10588  }
 10589  
 10590  type ProjectsLocationsIssueModelsUndeployCall struct {
 10591  	s                                                           *Service
 10592  	name                                                        string
 10593  	googlecloudcontactcenterinsightsv1undeployissuemodelrequest *GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest
 10594  	urlParams_                                                  gensupport.URLParams
 10595  	ctx_                                                        context.Context
 10596  	header_                                                     http.Header
 10597  }
 10598  
 10599  // Undeploy: Undeploys an issue model. An issue model can not be used in
 10600  // analysis after it has been undeployed.
 10601  //
 10602  // - name: The issue model to undeploy.
 10603  func (r *ProjectsLocationsIssueModelsService) Undeploy(name string, googlecloudcontactcenterinsightsv1undeployissuemodelrequest *GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest) *ProjectsLocationsIssueModelsUndeployCall {
 10604  	c := &ProjectsLocationsIssueModelsUndeployCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 10605  	c.name = name
 10606  	c.googlecloudcontactcenterinsightsv1undeployissuemodelrequest = googlecloudcontactcenterinsightsv1undeployissuemodelrequest
 10607  	return c
 10608  }
 10609  
 10610  // Fields allows partial responses to be retrieved. See
 10611  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 10612  // details.
 10613  func (c *ProjectsLocationsIssueModelsUndeployCall) Fields(s ...googleapi.Field) *ProjectsLocationsIssueModelsUndeployCall {
 10614  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 10615  	return c
 10616  }
 10617  
 10618  // Context sets the context to be used in this call's Do method.
 10619  func (c *ProjectsLocationsIssueModelsUndeployCall) Context(ctx context.Context) *ProjectsLocationsIssueModelsUndeployCall {
 10620  	c.ctx_ = ctx
 10621  	return c
 10622  }
 10623  
 10624  // Header returns a http.Header that can be modified by the caller to add
 10625  // headers to the request.
 10626  func (c *ProjectsLocationsIssueModelsUndeployCall) Header() http.Header {
 10627  	if c.header_ == nil {
 10628  		c.header_ = make(http.Header)
 10629  	}
 10630  	return c.header_
 10631  }
 10632  
 10633  func (c *ProjectsLocationsIssueModelsUndeployCall) doRequest(alt string) (*http.Response, error) {
 10634  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 10635  	var body io.Reader = nil
 10636  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1undeployissuemodelrequest)
 10637  	if err != nil {
 10638  		return nil, err
 10639  	}
 10640  	c.urlParams_.Set("alt", alt)
 10641  	c.urlParams_.Set("prettyPrint", "false")
 10642  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:undeploy")
 10643  	urls += "?" + c.urlParams_.Encode()
 10644  	req, err := http.NewRequest("POST", urls, body)
 10645  	if err != nil {
 10646  		return nil, err
 10647  	}
 10648  	req.Header = reqHeaders
 10649  	googleapi.Expand(req.URL, map[string]string{
 10650  		"name": c.name,
 10651  	})
 10652  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 10653  }
 10654  
 10655  // Do executes the "contactcenterinsights.projects.locations.issueModels.undeploy" call.
 10656  // Any non-2xx status code is an error. Response headers are in either
 10657  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 10658  // returned at all) in error.(*googleapi.Error).Header. Use
 10659  // googleapi.IsNotModified to check whether the returned error was because
 10660  // http.StatusNotModified was returned.
 10661  func (c *ProjectsLocationsIssueModelsUndeployCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 10662  	gensupport.SetOptions(c.urlParams_, opts...)
 10663  	res, err := c.doRequest("json")
 10664  	if res != nil && res.StatusCode == http.StatusNotModified {
 10665  		if res.Body != nil {
 10666  			res.Body.Close()
 10667  		}
 10668  		return nil, gensupport.WrapError(&googleapi.Error{
 10669  			Code:   res.StatusCode,
 10670  			Header: res.Header,
 10671  		})
 10672  	}
 10673  	if err != nil {
 10674  		return nil, err
 10675  	}
 10676  	defer googleapi.CloseBody(res)
 10677  	if err := googleapi.CheckResponse(res); err != nil {
 10678  		return nil, gensupport.WrapError(err)
 10679  	}
 10680  	ret := &GoogleLongrunningOperation{
 10681  		ServerResponse: googleapi.ServerResponse{
 10682  			Header:         res.Header,
 10683  			HTTPStatusCode: res.StatusCode,
 10684  		},
 10685  	}
 10686  	target := &ret
 10687  	if err := gensupport.DecodeResponse(target, res); err != nil {
 10688  		return nil, err
 10689  	}
 10690  	return ret, nil
 10691  }
 10692  
 10693  type ProjectsLocationsIssueModelsIssuesDeleteCall struct {
 10694  	s          *Service
 10695  	name       string
 10696  	urlParams_ gensupport.URLParams
 10697  	ctx_       context.Context
 10698  	header_    http.Header
 10699  }
 10700  
 10701  // Delete: Deletes an issue.
 10702  //
 10703  // - name: The name of the issue to delete.
 10704  func (r *ProjectsLocationsIssueModelsIssuesService) Delete(name string) *ProjectsLocationsIssueModelsIssuesDeleteCall {
 10705  	c := &ProjectsLocationsIssueModelsIssuesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 10706  	c.name = name
 10707  	return c
 10708  }
 10709  
 10710  // Fields allows partial responses to be retrieved. See
 10711  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 10712  // details.
 10713  func (c *ProjectsLocationsIssueModelsIssuesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsIssueModelsIssuesDeleteCall {
 10714  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 10715  	return c
 10716  }
 10717  
 10718  // Context sets the context to be used in this call's Do method.
 10719  func (c *ProjectsLocationsIssueModelsIssuesDeleteCall) Context(ctx context.Context) *ProjectsLocationsIssueModelsIssuesDeleteCall {
 10720  	c.ctx_ = ctx
 10721  	return c
 10722  }
 10723  
 10724  // Header returns a http.Header that can be modified by the caller to add
 10725  // headers to the request.
 10726  func (c *ProjectsLocationsIssueModelsIssuesDeleteCall) Header() http.Header {
 10727  	if c.header_ == nil {
 10728  		c.header_ = make(http.Header)
 10729  	}
 10730  	return c.header_
 10731  }
 10732  
 10733  func (c *ProjectsLocationsIssueModelsIssuesDeleteCall) doRequest(alt string) (*http.Response, error) {
 10734  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 10735  	var body io.Reader = nil
 10736  	c.urlParams_.Set("alt", alt)
 10737  	c.urlParams_.Set("prettyPrint", "false")
 10738  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 10739  	urls += "?" + c.urlParams_.Encode()
 10740  	req, err := http.NewRequest("DELETE", urls, body)
 10741  	if err != nil {
 10742  		return nil, err
 10743  	}
 10744  	req.Header = reqHeaders
 10745  	googleapi.Expand(req.URL, map[string]string{
 10746  		"name": c.name,
 10747  	})
 10748  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 10749  }
 10750  
 10751  // Do executes the "contactcenterinsights.projects.locations.issueModels.issues.delete" call.
 10752  // Any non-2xx status code is an error. Response headers are in either
 10753  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 10754  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 10755  // check whether the returned error was because http.StatusNotModified was
 10756  // returned.
 10757  func (c *ProjectsLocationsIssueModelsIssuesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 10758  	gensupport.SetOptions(c.urlParams_, opts...)
 10759  	res, err := c.doRequest("json")
 10760  	if res != nil && res.StatusCode == http.StatusNotModified {
 10761  		if res.Body != nil {
 10762  			res.Body.Close()
 10763  		}
 10764  		return nil, gensupport.WrapError(&googleapi.Error{
 10765  			Code:   res.StatusCode,
 10766  			Header: res.Header,
 10767  		})
 10768  	}
 10769  	if err != nil {
 10770  		return nil, err
 10771  	}
 10772  	defer googleapi.CloseBody(res)
 10773  	if err := googleapi.CheckResponse(res); err != nil {
 10774  		return nil, gensupport.WrapError(err)
 10775  	}
 10776  	ret := &GoogleProtobufEmpty{
 10777  		ServerResponse: googleapi.ServerResponse{
 10778  			Header:         res.Header,
 10779  			HTTPStatusCode: res.StatusCode,
 10780  		},
 10781  	}
 10782  	target := &ret
 10783  	if err := gensupport.DecodeResponse(target, res); err != nil {
 10784  		return nil, err
 10785  	}
 10786  	return ret, nil
 10787  }
 10788  
 10789  type ProjectsLocationsIssueModelsIssuesGetCall struct {
 10790  	s            *Service
 10791  	name         string
 10792  	urlParams_   gensupport.URLParams
 10793  	ifNoneMatch_ string
 10794  	ctx_         context.Context
 10795  	header_      http.Header
 10796  }
 10797  
 10798  // Get: Gets an issue.
 10799  //
 10800  // - name: The name of the issue to get.
 10801  func (r *ProjectsLocationsIssueModelsIssuesService) Get(name string) *ProjectsLocationsIssueModelsIssuesGetCall {
 10802  	c := &ProjectsLocationsIssueModelsIssuesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 10803  	c.name = name
 10804  	return c
 10805  }
 10806  
 10807  // Fields allows partial responses to be retrieved. See
 10808  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 10809  // details.
 10810  func (c *ProjectsLocationsIssueModelsIssuesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsIssueModelsIssuesGetCall {
 10811  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 10812  	return c
 10813  }
 10814  
 10815  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 10816  // object's ETag matches the given value. This is useful for getting updates
 10817  // only after the object has changed since the last request.
 10818  func (c *ProjectsLocationsIssueModelsIssuesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsIssueModelsIssuesGetCall {
 10819  	c.ifNoneMatch_ = entityTag
 10820  	return c
 10821  }
 10822  
 10823  // Context sets the context to be used in this call's Do method.
 10824  func (c *ProjectsLocationsIssueModelsIssuesGetCall) Context(ctx context.Context) *ProjectsLocationsIssueModelsIssuesGetCall {
 10825  	c.ctx_ = ctx
 10826  	return c
 10827  }
 10828  
 10829  // Header returns a http.Header that can be modified by the caller to add
 10830  // headers to the request.
 10831  func (c *ProjectsLocationsIssueModelsIssuesGetCall) Header() http.Header {
 10832  	if c.header_ == nil {
 10833  		c.header_ = make(http.Header)
 10834  	}
 10835  	return c.header_
 10836  }
 10837  
 10838  func (c *ProjectsLocationsIssueModelsIssuesGetCall) doRequest(alt string) (*http.Response, error) {
 10839  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 10840  	if c.ifNoneMatch_ != "" {
 10841  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 10842  	}
 10843  	var body io.Reader = nil
 10844  	c.urlParams_.Set("alt", alt)
 10845  	c.urlParams_.Set("prettyPrint", "false")
 10846  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 10847  	urls += "?" + c.urlParams_.Encode()
 10848  	req, err := http.NewRequest("GET", urls, body)
 10849  	if err != nil {
 10850  		return nil, err
 10851  	}
 10852  	req.Header = reqHeaders
 10853  	googleapi.Expand(req.URL, map[string]string{
 10854  		"name": c.name,
 10855  	})
 10856  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 10857  }
 10858  
 10859  // Do executes the "contactcenterinsights.projects.locations.issueModels.issues.get" call.
 10860  // Any non-2xx status code is an error. Response headers are in either
 10861  // *GoogleCloudContactcenterinsightsV1Issue.ServerResponse.Header or (if a
 10862  // response was returned at all) in error.(*googleapi.Error).Header. Use
 10863  // googleapi.IsNotModified to check whether the returned error was because
 10864  // http.StatusNotModified was returned.
 10865  func (c *ProjectsLocationsIssueModelsIssuesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1Issue, error) {
 10866  	gensupport.SetOptions(c.urlParams_, opts...)
 10867  	res, err := c.doRequest("json")
 10868  	if res != nil && res.StatusCode == http.StatusNotModified {
 10869  		if res.Body != nil {
 10870  			res.Body.Close()
 10871  		}
 10872  		return nil, gensupport.WrapError(&googleapi.Error{
 10873  			Code:   res.StatusCode,
 10874  			Header: res.Header,
 10875  		})
 10876  	}
 10877  	if err != nil {
 10878  		return nil, err
 10879  	}
 10880  	defer googleapi.CloseBody(res)
 10881  	if err := googleapi.CheckResponse(res); err != nil {
 10882  		return nil, gensupport.WrapError(err)
 10883  	}
 10884  	ret := &GoogleCloudContactcenterinsightsV1Issue{
 10885  		ServerResponse: googleapi.ServerResponse{
 10886  			Header:         res.Header,
 10887  			HTTPStatusCode: res.StatusCode,
 10888  		},
 10889  	}
 10890  	target := &ret
 10891  	if err := gensupport.DecodeResponse(target, res); err != nil {
 10892  		return nil, err
 10893  	}
 10894  	return ret, nil
 10895  }
 10896  
 10897  type ProjectsLocationsIssueModelsIssuesListCall struct {
 10898  	s            *Service
 10899  	parent       string
 10900  	urlParams_   gensupport.URLParams
 10901  	ifNoneMatch_ string
 10902  	ctx_         context.Context
 10903  	header_      http.Header
 10904  }
 10905  
 10906  // List: Lists issues.
 10907  //
 10908  // - parent: The parent resource of the issue.
 10909  func (r *ProjectsLocationsIssueModelsIssuesService) List(parent string) *ProjectsLocationsIssueModelsIssuesListCall {
 10910  	c := &ProjectsLocationsIssueModelsIssuesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 10911  	c.parent = parent
 10912  	return c
 10913  }
 10914  
 10915  // Fields allows partial responses to be retrieved. See
 10916  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 10917  // details.
 10918  func (c *ProjectsLocationsIssueModelsIssuesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsIssueModelsIssuesListCall {
 10919  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 10920  	return c
 10921  }
 10922  
 10923  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 10924  // object's ETag matches the given value. This is useful for getting updates
 10925  // only after the object has changed since the last request.
 10926  func (c *ProjectsLocationsIssueModelsIssuesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsIssueModelsIssuesListCall {
 10927  	c.ifNoneMatch_ = entityTag
 10928  	return c
 10929  }
 10930  
 10931  // Context sets the context to be used in this call's Do method.
 10932  func (c *ProjectsLocationsIssueModelsIssuesListCall) Context(ctx context.Context) *ProjectsLocationsIssueModelsIssuesListCall {
 10933  	c.ctx_ = ctx
 10934  	return c
 10935  }
 10936  
 10937  // Header returns a http.Header that can be modified by the caller to add
 10938  // headers to the request.
 10939  func (c *ProjectsLocationsIssueModelsIssuesListCall) Header() http.Header {
 10940  	if c.header_ == nil {
 10941  		c.header_ = make(http.Header)
 10942  	}
 10943  	return c.header_
 10944  }
 10945  
 10946  func (c *ProjectsLocationsIssueModelsIssuesListCall) doRequest(alt string) (*http.Response, error) {
 10947  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 10948  	if c.ifNoneMatch_ != "" {
 10949  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 10950  	}
 10951  	var body io.Reader = nil
 10952  	c.urlParams_.Set("alt", alt)
 10953  	c.urlParams_.Set("prettyPrint", "false")
 10954  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/issues")
 10955  	urls += "?" + c.urlParams_.Encode()
 10956  	req, err := http.NewRequest("GET", urls, body)
 10957  	if err != nil {
 10958  		return nil, err
 10959  	}
 10960  	req.Header = reqHeaders
 10961  	googleapi.Expand(req.URL, map[string]string{
 10962  		"parent": c.parent,
 10963  	})
 10964  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 10965  }
 10966  
 10967  // Do executes the "contactcenterinsights.projects.locations.issueModels.issues.list" call.
 10968  // Any non-2xx status code is an error. Response headers are in either
 10969  // *GoogleCloudContactcenterinsightsV1ListIssuesResponse.ServerResponse.Header
 10970  // or (if a response was returned at all) in error.(*googleapi.Error).Header.
 10971  // Use googleapi.IsNotModified to check whether the returned error was because
 10972  // http.StatusNotModified was returned.
 10973  func (c *ProjectsLocationsIssueModelsIssuesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1ListIssuesResponse, error) {
 10974  	gensupport.SetOptions(c.urlParams_, opts...)
 10975  	res, err := c.doRequest("json")
 10976  	if res != nil && res.StatusCode == http.StatusNotModified {
 10977  		if res.Body != nil {
 10978  			res.Body.Close()
 10979  		}
 10980  		return nil, gensupport.WrapError(&googleapi.Error{
 10981  			Code:   res.StatusCode,
 10982  			Header: res.Header,
 10983  		})
 10984  	}
 10985  	if err != nil {
 10986  		return nil, err
 10987  	}
 10988  	defer googleapi.CloseBody(res)
 10989  	if err := googleapi.CheckResponse(res); err != nil {
 10990  		return nil, gensupport.WrapError(err)
 10991  	}
 10992  	ret := &GoogleCloudContactcenterinsightsV1ListIssuesResponse{
 10993  		ServerResponse: googleapi.ServerResponse{
 10994  			Header:         res.Header,
 10995  			HTTPStatusCode: res.StatusCode,
 10996  		},
 10997  	}
 10998  	target := &ret
 10999  	if err := gensupport.DecodeResponse(target, res); err != nil {
 11000  		return nil, err
 11001  	}
 11002  	return ret, nil
 11003  }
 11004  
 11005  type ProjectsLocationsIssueModelsIssuesPatchCall struct {
 11006  	s                                       *Service
 11007  	name                                    string
 11008  	googlecloudcontactcenterinsightsv1issue *GoogleCloudContactcenterinsightsV1Issue
 11009  	urlParams_                              gensupport.URLParams
 11010  	ctx_                                    context.Context
 11011  	header_                                 http.Header
 11012  }
 11013  
 11014  // Patch: Updates an issue.
 11015  //
 11016  //   - name: Immutable. The resource name of the issue. Format:
 11017  //     projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{i
 11018  //     ssue}.
 11019  func (r *ProjectsLocationsIssueModelsIssuesService) Patch(name string, googlecloudcontactcenterinsightsv1issue *GoogleCloudContactcenterinsightsV1Issue) *ProjectsLocationsIssueModelsIssuesPatchCall {
 11020  	c := &ProjectsLocationsIssueModelsIssuesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 11021  	c.name = name
 11022  	c.googlecloudcontactcenterinsightsv1issue = googlecloudcontactcenterinsightsv1issue
 11023  	return c
 11024  }
 11025  
 11026  // UpdateMask sets the optional parameter "updateMask": The list of fields to
 11027  // be updated.
 11028  func (c *ProjectsLocationsIssueModelsIssuesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsIssueModelsIssuesPatchCall {
 11029  	c.urlParams_.Set("updateMask", updateMask)
 11030  	return c
 11031  }
 11032  
 11033  // Fields allows partial responses to be retrieved. See
 11034  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 11035  // details.
 11036  func (c *ProjectsLocationsIssueModelsIssuesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsIssueModelsIssuesPatchCall {
 11037  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 11038  	return c
 11039  }
 11040  
 11041  // Context sets the context to be used in this call's Do method.
 11042  func (c *ProjectsLocationsIssueModelsIssuesPatchCall) Context(ctx context.Context) *ProjectsLocationsIssueModelsIssuesPatchCall {
 11043  	c.ctx_ = ctx
 11044  	return c
 11045  }
 11046  
 11047  // Header returns a http.Header that can be modified by the caller to add
 11048  // headers to the request.
 11049  func (c *ProjectsLocationsIssueModelsIssuesPatchCall) Header() http.Header {
 11050  	if c.header_ == nil {
 11051  		c.header_ = make(http.Header)
 11052  	}
 11053  	return c.header_
 11054  }
 11055  
 11056  func (c *ProjectsLocationsIssueModelsIssuesPatchCall) doRequest(alt string) (*http.Response, error) {
 11057  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 11058  	var body io.Reader = nil
 11059  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1issue)
 11060  	if err != nil {
 11061  		return nil, err
 11062  	}
 11063  	c.urlParams_.Set("alt", alt)
 11064  	c.urlParams_.Set("prettyPrint", "false")
 11065  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 11066  	urls += "?" + c.urlParams_.Encode()
 11067  	req, err := http.NewRequest("PATCH", urls, body)
 11068  	if err != nil {
 11069  		return nil, err
 11070  	}
 11071  	req.Header = reqHeaders
 11072  	googleapi.Expand(req.URL, map[string]string{
 11073  		"name": c.name,
 11074  	})
 11075  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 11076  }
 11077  
 11078  // Do executes the "contactcenterinsights.projects.locations.issueModels.issues.patch" call.
 11079  // Any non-2xx status code is an error. Response headers are in either
 11080  // *GoogleCloudContactcenterinsightsV1Issue.ServerResponse.Header or (if a
 11081  // response was returned at all) in error.(*googleapi.Error).Header. Use
 11082  // googleapi.IsNotModified to check whether the returned error was because
 11083  // http.StatusNotModified was returned.
 11084  func (c *ProjectsLocationsIssueModelsIssuesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1Issue, error) {
 11085  	gensupport.SetOptions(c.urlParams_, opts...)
 11086  	res, err := c.doRequest("json")
 11087  	if res != nil && res.StatusCode == http.StatusNotModified {
 11088  		if res.Body != nil {
 11089  			res.Body.Close()
 11090  		}
 11091  		return nil, gensupport.WrapError(&googleapi.Error{
 11092  			Code:   res.StatusCode,
 11093  			Header: res.Header,
 11094  		})
 11095  	}
 11096  	if err != nil {
 11097  		return nil, err
 11098  	}
 11099  	defer googleapi.CloseBody(res)
 11100  	if err := googleapi.CheckResponse(res); err != nil {
 11101  		return nil, gensupport.WrapError(err)
 11102  	}
 11103  	ret := &GoogleCloudContactcenterinsightsV1Issue{
 11104  		ServerResponse: googleapi.ServerResponse{
 11105  			Header:         res.Header,
 11106  			HTTPStatusCode: res.StatusCode,
 11107  		},
 11108  	}
 11109  	target := &ret
 11110  	if err := gensupport.DecodeResponse(target, res); err != nil {
 11111  		return nil, err
 11112  	}
 11113  	return ret, nil
 11114  }
 11115  
 11116  type ProjectsLocationsOperationsCancelCall struct {
 11117  	s          *Service
 11118  	name       string
 11119  	urlParams_ gensupport.URLParams
 11120  	ctx_       context.Context
 11121  	header_    http.Header
 11122  }
 11123  
 11124  // Cancel: Starts asynchronous cancellation on a long-running operation. The
 11125  // server makes a best effort to cancel the operation, but success is not
 11126  // guaranteed. If the server doesn't support this method, it returns
 11127  // `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
 11128  // other methods to check whether the cancellation succeeded or whether the
 11129  // operation completed despite cancellation. On successful cancellation, the
 11130  // operation is not deleted; instead, it becomes an operation with an
 11131  // Operation.error value with a google.rpc.Status.code of 1, corresponding to
 11132  // `Code.CANCELLED`.
 11133  //
 11134  // - name: The name of the operation resource to be cancelled.
 11135  func (r *ProjectsLocationsOperationsService) Cancel(name string) *ProjectsLocationsOperationsCancelCall {
 11136  	c := &ProjectsLocationsOperationsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 11137  	c.name = name
 11138  	return c
 11139  }
 11140  
 11141  // Fields allows partial responses to be retrieved. See
 11142  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 11143  // details.
 11144  func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall {
 11145  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 11146  	return c
 11147  }
 11148  
 11149  // Context sets the context to be used in this call's Do method.
 11150  func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall {
 11151  	c.ctx_ = ctx
 11152  	return c
 11153  }
 11154  
 11155  // Header returns a http.Header that can be modified by the caller to add
 11156  // headers to the request.
 11157  func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header {
 11158  	if c.header_ == nil {
 11159  		c.header_ = make(http.Header)
 11160  	}
 11161  	return c.header_
 11162  }
 11163  
 11164  func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) {
 11165  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 11166  	var body io.Reader = nil
 11167  	c.urlParams_.Set("alt", alt)
 11168  	c.urlParams_.Set("prettyPrint", "false")
 11169  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}:cancel")
 11170  	urls += "?" + c.urlParams_.Encode()
 11171  	req, err := http.NewRequest("POST", urls, body)
 11172  	if err != nil {
 11173  		return nil, err
 11174  	}
 11175  	req.Header = reqHeaders
 11176  	googleapi.Expand(req.URL, map[string]string{
 11177  		"name": c.name,
 11178  	})
 11179  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 11180  }
 11181  
 11182  // Do executes the "contactcenterinsights.projects.locations.operations.cancel" call.
 11183  // Any non-2xx status code is an error. Response headers are in either
 11184  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 11185  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 11186  // check whether the returned error was because http.StatusNotModified was
 11187  // returned.
 11188  func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 11189  	gensupport.SetOptions(c.urlParams_, opts...)
 11190  	res, err := c.doRequest("json")
 11191  	if res != nil && res.StatusCode == http.StatusNotModified {
 11192  		if res.Body != nil {
 11193  			res.Body.Close()
 11194  		}
 11195  		return nil, gensupport.WrapError(&googleapi.Error{
 11196  			Code:   res.StatusCode,
 11197  			Header: res.Header,
 11198  		})
 11199  	}
 11200  	if err != nil {
 11201  		return nil, err
 11202  	}
 11203  	defer googleapi.CloseBody(res)
 11204  	if err := googleapi.CheckResponse(res); err != nil {
 11205  		return nil, gensupport.WrapError(err)
 11206  	}
 11207  	ret := &GoogleProtobufEmpty{
 11208  		ServerResponse: googleapi.ServerResponse{
 11209  			Header:         res.Header,
 11210  			HTTPStatusCode: res.StatusCode,
 11211  		},
 11212  	}
 11213  	target := &ret
 11214  	if err := gensupport.DecodeResponse(target, res); err != nil {
 11215  		return nil, err
 11216  	}
 11217  	return ret, nil
 11218  }
 11219  
 11220  type ProjectsLocationsOperationsGetCall struct {
 11221  	s            *Service
 11222  	name         string
 11223  	urlParams_   gensupport.URLParams
 11224  	ifNoneMatch_ string
 11225  	ctx_         context.Context
 11226  	header_      http.Header
 11227  }
 11228  
 11229  // Get: Gets the latest state of a long-running operation. Clients can use this
 11230  // method to poll the operation result at intervals as recommended by the API
 11231  // service.
 11232  //
 11233  // - name: The name of the operation resource.
 11234  func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall {
 11235  	c := &ProjectsLocationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 11236  	c.name = name
 11237  	return c
 11238  }
 11239  
 11240  // Fields allows partial responses to be retrieved. See
 11241  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 11242  // details.
 11243  func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall {
 11244  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 11245  	return c
 11246  }
 11247  
 11248  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 11249  // object's ETag matches the given value. This is useful for getting updates
 11250  // only after the object has changed since the last request.
 11251  func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {
 11252  	c.ifNoneMatch_ = entityTag
 11253  	return c
 11254  }
 11255  
 11256  // Context sets the context to be used in this call's Do method.
 11257  func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall {
 11258  	c.ctx_ = ctx
 11259  	return c
 11260  }
 11261  
 11262  // Header returns a http.Header that can be modified by the caller to add
 11263  // headers to the request.
 11264  func (c *ProjectsLocationsOperationsGetCall) Header() http.Header {
 11265  	if c.header_ == nil {
 11266  		c.header_ = make(http.Header)
 11267  	}
 11268  	return c.header_
 11269  }
 11270  
 11271  func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) {
 11272  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 11273  	if c.ifNoneMatch_ != "" {
 11274  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 11275  	}
 11276  	var body io.Reader = nil
 11277  	c.urlParams_.Set("alt", alt)
 11278  	c.urlParams_.Set("prettyPrint", "false")
 11279  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 11280  	urls += "?" + c.urlParams_.Encode()
 11281  	req, err := http.NewRequest("GET", urls, body)
 11282  	if err != nil {
 11283  		return nil, err
 11284  	}
 11285  	req.Header = reqHeaders
 11286  	googleapi.Expand(req.URL, map[string]string{
 11287  		"name": c.name,
 11288  	})
 11289  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 11290  }
 11291  
 11292  // Do executes the "contactcenterinsights.projects.locations.operations.get" call.
 11293  // Any non-2xx status code is an error. Response headers are in either
 11294  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 11295  // returned at all) in error.(*googleapi.Error).Header. Use
 11296  // googleapi.IsNotModified to check whether the returned error was because
 11297  // http.StatusNotModified was returned.
 11298  func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 11299  	gensupport.SetOptions(c.urlParams_, opts...)
 11300  	res, err := c.doRequest("json")
 11301  	if res != nil && res.StatusCode == http.StatusNotModified {
 11302  		if res.Body != nil {
 11303  			res.Body.Close()
 11304  		}
 11305  		return nil, gensupport.WrapError(&googleapi.Error{
 11306  			Code:   res.StatusCode,
 11307  			Header: res.Header,
 11308  		})
 11309  	}
 11310  	if err != nil {
 11311  		return nil, err
 11312  	}
 11313  	defer googleapi.CloseBody(res)
 11314  	if err := googleapi.CheckResponse(res); err != nil {
 11315  		return nil, gensupport.WrapError(err)
 11316  	}
 11317  	ret := &GoogleLongrunningOperation{
 11318  		ServerResponse: googleapi.ServerResponse{
 11319  			Header:         res.Header,
 11320  			HTTPStatusCode: res.StatusCode,
 11321  		},
 11322  	}
 11323  	target := &ret
 11324  	if err := gensupport.DecodeResponse(target, res); err != nil {
 11325  		return nil, err
 11326  	}
 11327  	return ret, nil
 11328  }
 11329  
 11330  type ProjectsLocationsOperationsListCall struct {
 11331  	s            *Service
 11332  	name         string
 11333  	urlParams_   gensupport.URLParams
 11334  	ifNoneMatch_ string
 11335  	ctx_         context.Context
 11336  	header_      http.Header
 11337  }
 11338  
 11339  // List: Lists operations that match the specified filter in the request. If
 11340  // the server doesn't support this method, it returns `UNIMPLEMENTED`.
 11341  //
 11342  // - name: The name of the operation's parent resource.
 11343  func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall {
 11344  	c := &ProjectsLocationsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 11345  	c.name = name
 11346  	return c
 11347  }
 11348  
 11349  // Filter sets the optional parameter "filter": The standard list filter.
 11350  func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall {
 11351  	c.urlParams_.Set("filter", filter)
 11352  	return c
 11353  }
 11354  
 11355  // PageSize sets the optional parameter "pageSize": The standard list page
 11356  // size.
 11357  func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall {
 11358  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 11359  	return c
 11360  }
 11361  
 11362  // PageToken sets the optional parameter "pageToken": The standard list page
 11363  // token.
 11364  func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall {
 11365  	c.urlParams_.Set("pageToken", pageToken)
 11366  	return c
 11367  }
 11368  
 11369  // Fields allows partial responses to be retrieved. See
 11370  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 11371  // details.
 11372  func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall {
 11373  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 11374  	return c
 11375  }
 11376  
 11377  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 11378  // object's ETag matches the given value. This is useful for getting updates
 11379  // only after the object has changed since the last request.
 11380  func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall {
 11381  	c.ifNoneMatch_ = entityTag
 11382  	return c
 11383  }
 11384  
 11385  // Context sets the context to be used in this call's Do method.
 11386  func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall {
 11387  	c.ctx_ = ctx
 11388  	return c
 11389  }
 11390  
 11391  // Header returns a http.Header that can be modified by the caller to add
 11392  // headers to the request.
 11393  func (c *ProjectsLocationsOperationsListCall) Header() http.Header {
 11394  	if c.header_ == nil {
 11395  		c.header_ = make(http.Header)
 11396  	}
 11397  	return c.header_
 11398  }
 11399  
 11400  func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) {
 11401  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 11402  	if c.ifNoneMatch_ != "" {
 11403  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 11404  	}
 11405  	var body io.Reader = nil
 11406  	c.urlParams_.Set("alt", alt)
 11407  	c.urlParams_.Set("prettyPrint", "false")
 11408  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}/operations")
 11409  	urls += "?" + c.urlParams_.Encode()
 11410  	req, err := http.NewRequest("GET", urls, body)
 11411  	if err != nil {
 11412  		return nil, err
 11413  	}
 11414  	req.Header = reqHeaders
 11415  	googleapi.Expand(req.URL, map[string]string{
 11416  		"name": c.name,
 11417  	})
 11418  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 11419  }
 11420  
 11421  // Do executes the "contactcenterinsights.projects.locations.operations.list" call.
 11422  // Any non-2xx status code is an error. Response headers are in either
 11423  // *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a
 11424  // response was returned at all) in error.(*googleapi.Error).Header. Use
 11425  // googleapi.IsNotModified to check whether the returned error was because
 11426  // http.StatusNotModified was returned.
 11427  func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error) {
 11428  	gensupport.SetOptions(c.urlParams_, opts...)
 11429  	res, err := c.doRequest("json")
 11430  	if res != nil && res.StatusCode == http.StatusNotModified {
 11431  		if res.Body != nil {
 11432  			res.Body.Close()
 11433  		}
 11434  		return nil, gensupport.WrapError(&googleapi.Error{
 11435  			Code:   res.StatusCode,
 11436  			Header: res.Header,
 11437  		})
 11438  	}
 11439  	if err != nil {
 11440  		return nil, err
 11441  	}
 11442  	defer googleapi.CloseBody(res)
 11443  	if err := googleapi.CheckResponse(res); err != nil {
 11444  		return nil, gensupport.WrapError(err)
 11445  	}
 11446  	ret := &GoogleLongrunningListOperationsResponse{
 11447  		ServerResponse: googleapi.ServerResponse{
 11448  			Header:         res.Header,
 11449  			HTTPStatusCode: res.StatusCode,
 11450  		},
 11451  	}
 11452  	target := &ret
 11453  	if err := gensupport.DecodeResponse(target, res); err != nil {
 11454  		return nil, err
 11455  	}
 11456  	return ret, nil
 11457  }
 11458  
 11459  // Pages invokes f for each page of results.
 11460  // A non-nil error returned from f will halt the iteration.
 11461  // The provided context supersedes any context provided to the Context method.
 11462  func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error {
 11463  	c.ctx_ = ctx
 11464  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 11465  	for {
 11466  		x, err := c.Do()
 11467  		if err != nil {
 11468  			return err
 11469  		}
 11470  		if err := f(x); err != nil {
 11471  			return err
 11472  		}
 11473  		if x.NextPageToken == "" {
 11474  			return nil
 11475  		}
 11476  		c.PageToken(x.NextPageToken)
 11477  	}
 11478  }
 11479  
 11480  type ProjectsLocationsPhraseMatchersCreateCall struct {
 11481  	s                                               *Service
 11482  	parent                                          string
 11483  	googlecloudcontactcenterinsightsv1phrasematcher *GoogleCloudContactcenterinsightsV1PhraseMatcher
 11484  	urlParams_                                      gensupport.URLParams
 11485  	ctx_                                            context.Context
 11486  	header_                                         http.Header
 11487  }
 11488  
 11489  // Create: Creates a phrase matcher.
 11490  //
 11491  //   - parent: The parent resource of the phrase matcher. Required. The location
 11492  //     to create a phrase matcher for. Format: `projects//locations/` or
 11493  //     `projects//locations/`.
 11494  func (r *ProjectsLocationsPhraseMatchersService) Create(parent string, googlecloudcontactcenterinsightsv1phrasematcher *GoogleCloudContactcenterinsightsV1PhraseMatcher) *ProjectsLocationsPhraseMatchersCreateCall {
 11495  	c := &ProjectsLocationsPhraseMatchersCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 11496  	c.parent = parent
 11497  	c.googlecloudcontactcenterinsightsv1phrasematcher = googlecloudcontactcenterinsightsv1phrasematcher
 11498  	return c
 11499  }
 11500  
 11501  // Fields allows partial responses to be retrieved. See
 11502  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 11503  // details.
 11504  func (c *ProjectsLocationsPhraseMatchersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsPhraseMatchersCreateCall {
 11505  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 11506  	return c
 11507  }
 11508  
 11509  // Context sets the context to be used in this call's Do method.
 11510  func (c *ProjectsLocationsPhraseMatchersCreateCall) Context(ctx context.Context) *ProjectsLocationsPhraseMatchersCreateCall {
 11511  	c.ctx_ = ctx
 11512  	return c
 11513  }
 11514  
 11515  // Header returns a http.Header that can be modified by the caller to add
 11516  // headers to the request.
 11517  func (c *ProjectsLocationsPhraseMatchersCreateCall) Header() http.Header {
 11518  	if c.header_ == nil {
 11519  		c.header_ = make(http.Header)
 11520  	}
 11521  	return c.header_
 11522  }
 11523  
 11524  func (c *ProjectsLocationsPhraseMatchersCreateCall) doRequest(alt string) (*http.Response, error) {
 11525  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 11526  	var body io.Reader = nil
 11527  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1phrasematcher)
 11528  	if err != nil {
 11529  		return nil, err
 11530  	}
 11531  	c.urlParams_.Set("alt", alt)
 11532  	c.urlParams_.Set("prettyPrint", "false")
 11533  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/phraseMatchers")
 11534  	urls += "?" + c.urlParams_.Encode()
 11535  	req, err := http.NewRequest("POST", urls, body)
 11536  	if err != nil {
 11537  		return nil, err
 11538  	}
 11539  	req.Header = reqHeaders
 11540  	googleapi.Expand(req.URL, map[string]string{
 11541  		"parent": c.parent,
 11542  	})
 11543  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 11544  }
 11545  
 11546  // Do executes the "contactcenterinsights.projects.locations.phraseMatchers.create" call.
 11547  // Any non-2xx status code is an error. Response headers are in either
 11548  // *GoogleCloudContactcenterinsightsV1PhraseMatcher.ServerResponse.Header or
 11549  // (if a response was returned at all) in error.(*googleapi.Error).Header. Use
 11550  // googleapi.IsNotModified to check whether the returned error was because
 11551  // http.StatusNotModified was returned.
 11552  func (c *ProjectsLocationsPhraseMatchersCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1PhraseMatcher, error) {
 11553  	gensupport.SetOptions(c.urlParams_, opts...)
 11554  	res, err := c.doRequest("json")
 11555  	if res != nil && res.StatusCode == http.StatusNotModified {
 11556  		if res.Body != nil {
 11557  			res.Body.Close()
 11558  		}
 11559  		return nil, gensupport.WrapError(&googleapi.Error{
 11560  			Code:   res.StatusCode,
 11561  			Header: res.Header,
 11562  		})
 11563  	}
 11564  	if err != nil {
 11565  		return nil, err
 11566  	}
 11567  	defer googleapi.CloseBody(res)
 11568  	if err := googleapi.CheckResponse(res); err != nil {
 11569  		return nil, gensupport.WrapError(err)
 11570  	}
 11571  	ret := &GoogleCloudContactcenterinsightsV1PhraseMatcher{
 11572  		ServerResponse: googleapi.ServerResponse{
 11573  			Header:         res.Header,
 11574  			HTTPStatusCode: res.StatusCode,
 11575  		},
 11576  	}
 11577  	target := &ret
 11578  	if err := gensupport.DecodeResponse(target, res); err != nil {
 11579  		return nil, err
 11580  	}
 11581  	return ret, nil
 11582  }
 11583  
 11584  type ProjectsLocationsPhraseMatchersDeleteCall struct {
 11585  	s          *Service
 11586  	name       string
 11587  	urlParams_ gensupport.URLParams
 11588  	ctx_       context.Context
 11589  	header_    http.Header
 11590  }
 11591  
 11592  // Delete: Deletes a phrase matcher.
 11593  //
 11594  // - name: The name of the phrase matcher to delete.
 11595  func (r *ProjectsLocationsPhraseMatchersService) Delete(name string) *ProjectsLocationsPhraseMatchersDeleteCall {
 11596  	c := &ProjectsLocationsPhraseMatchersDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 11597  	c.name = name
 11598  	return c
 11599  }
 11600  
 11601  // Fields allows partial responses to be retrieved. See
 11602  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 11603  // details.
 11604  func (c *ProjectsLocationsPhraseMatchersDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPhraseMatchersDeleteCall {
 11605  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 11606  	return c
 11607  }
 11608  
 11609  // Context sets the context to be used in this call's Do method.
 11610  func (c *ProjectsLocationsPhraseMatchersDeleteCall) Context(ctx context.Context) *ProjectsLocationsPhraseMatchersDeleteCall {
 11611  	c.ctx_ = ctx
 11612  	return c
 11613  }
 11614  
 11615  // Header returns a http.Header that can be modified by the caller to add
 11616  // headers to the request.
 11617  func (c *ProjectsLocationsPhraseMatchersDeleteCall) Header() http.Header {
 11618  	if c.header_ == nil {
 11619  		c.header_ = make(http.Header)
 11620  	}
 11621  	return c.header_
 11622  }
 11623  
 11624  func (c *ProjectsLocationsPhraseMatchersDeleteCall) doRequest(alt string) (*http.Response, error) {
 11625  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 11626  	var body io.Reader = nil
 11627  	c.urlParams_.Set("alt", alt)
 11628  	c.urlParams_.Set("prettyPrint", "false")
 11629  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 11630  	urls += "?" + c.urlParams_.Encode()
 11631  	req, err := http.NewRequest("DELETE", urls, body)
 11632  	if err != nil {
 11633  		return nil, err
 11634  	}
 11635  	req.Header = reqHeaders
 11636  	googleapi.Expand(req.URL, map[string]string{
 11637  		"name": c.name,
 11638  	})
 11639  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 11640  }
 11641  
 11642  // Do executes the "contactcenterinsights.projects.locations.phraseMatchers.delete" call.
 11643  // Any non-2xx status code is an error. Response headers are in either
 11644  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 11645  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 11646  // check whether the returned error was because http.StatusNotModified was
 11647  // returned.
 11648  func (c *ProjectsLocationsPhraseMatchersDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 11649  	gensupport.SetOptions(c.urlParams_, opts...)
 11650  	res, err := c.doRequest("json")
 11651  	if res != nil && res.StatusCode == http.StatusNotModified {
 11652  		if res.Body != nil {
 11653  			res.Body.Close()
 11654  		}
 11655  		return nil, gensupport.WrapError(&googleapi.Error{
 11656  			Code:   res.StatusCode,
 11657  			Header: res.Header,
 11658  		})
 11659  	}
 11660  	if err != nil {
 11661  		return nil, err
 11662  	}
 11663  	defer googleapi.CloseBody(res)
 11664  	if err := googleapi.CheckResponse(res); err != nil {
 11665  		return nil, gensupport.WrapError(err)
 11666  	}
 11667  	ret := &GoogleProtobufEmpty{
 11668  		ServerResponse: googleapi.ServerResponse{
 11669  			Header:         res.Header,
 11670  			HTTPStatusCode: res.StatusCode,
 11671  		},
 11672  	}
 11673  	target := &ret
 11674  	if err := gensupport.DecodeResponse(target, res); err != nil {
 11675  		return nil, err
 11676  	}
 11677  	return ret, nil
 11678  }
 11679  
 11680  type ProjectsLocationsPhraseMatchersGetCall struct {
 11681  	s            *Service
 11682  	name         string
 11683  	urlParams_   gensupport.URLParams
 11684  	ifNoneMatch_ string
 11685  	ctx_         context.Context
 11686  	header_      http.Header
 11687  }
 11688  
 11689  // Get: Gets a phrase matcher.
 11690  //
 11691  // - name: The name of the phrase matcher to get.
 11692  func (r *ProjectsLocationsPhraseMatchersService) Get(name string) *ProjectsLocationsPhraseMatchersGetCall {
 11693  	c := &ProjectsLocationsPhraseMatchersGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 11694  	c.name = name
 11695  	return c
 11696  }
 11697  
 11698  // Fields allows partial responses to be retrieved. See
 11699  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 11700  // details.
 11701  func (c *ProjectsLocationsPhraseMatchersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPhraseMatchersGetCall {
 11702  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 11703  	return c
 11704  }
 11705  
 11706  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 11707  // object's ETag matches the given value. This is useful for getting updates
 11708  // only after the object has changed since the last request.
 11709  func (c *ProjectsLocationsPhraseMatchersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsPhraseMatchersGetCall {
 11710  	c.ifNoneMatch_ = entityTag
 11711  	return c
 11712  }
 11713  
 11714  // Context sets the context to be used in this call's Do method.
 11715  func (c *ProjectsLocationsPhraseMatchersGetCall) Context(ctx context.Context) *ProjectsLocationsPhraseMatchersGetCall {
 11716  	c.ctx_ = ctx
 11717  	return c
 11718  }
 11719  
 11720  // Header returns a http.Header that can be modified by the caller to add
 11721  // headers to the request.
 11722  func (c *ProjectsLocationsPhraseMatchersGetCall) Header() http.Header {
 11723  	if c.header_ == nil {
 11724  		c.header_ = make(http.Header)
 11725  	}
 11726  	return c.header_
 11727  }
 11728  
 11729  func (c *ProjectsLocationsPhraseMatchersGetCall) doRequest(alt string) (*http.Response, error) {
 11730  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 11731  	if c.ifNoneMatch_ != "" {
 11732  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 11733  	}
 11734  	var body io.Reader = nil
 11735  	c.urlParams_.Set("alt", alt)
 11736  	c.urlParams_.Set("prettyPrint", "false")
 11737  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 11738  	urls += "?" + c.urlParams_.Encode()
 11739  	req, err := http.NewRequest("GET", urls, body)
 11740  	if err != nil {
 11741  		return nil, err
 11742  	}
 11743  	req.Header = reqHeaders
 11744  	googleapi.Expand(req.URL, map[string]string{
 11745  		"name": c.name,
 11746  	})
 11747  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 11748  }
 11749  
 11750  // Do executes the "contactcenterinsights.projects.locations.phraseMatchers.get" call.
 11751  // Any non-2xx status code is an error. Response headers are in either
 11752  // *GoogleCloudContactcenterinsightsV1PhraseMatcher.ServerResponse.Header or
 11753  // (if a response was returned at all) in error.(*googleapi.Error).Header. Use
 11754  // googleapi.IsNotModified to check whether the returned error was because
 11755  // http.StatusNotModified was returned.
 11756  func (c *ProjectsLocationsPhraseMatchersGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1PhraseMatcher, error) {
 11757  	gensupport.SetOptions(c.urlParams_, opts...)
 11758  	res, err := c.doRequest("json")
 11759  	if res != nil && res.StatusCode == http.StatusNotModified {
 11760  		if res.Body != nil {
 11761  			res.Body.Close()
 11762  		}
 11763  		return nil, gensupport.WrapError(&googleapi.Error{
 11764  			Code:   res.StatusCode,
 11765  			Header: res.Header,
 11766  		})
 11767  	}
 11768  	if err != nil {
 11769  		return nil, err
 11770  	}
 11771  	defer googleapi.CloseBody(res)
 11772  	if err := googleapi.CheckResponse(res); err != nil {
 11773  		return nil, gensupport.WrapError(err)
 11774  	}
 11775  	ret := &GoogleCloudContactcenterinsightsV1PhraseMatcher{
 11776  		ServerResponse: googleapi.ServerResponse{
 11777  			Header:         res.Header,
 11778  			HTTPStatusCode: res.StatusCode,
 11779  		},
 11780  	}
 11781  	target := &ret
 11782  	if err := gensupport.DecodeResponse(target, res); err != nil {
 11783  		return nil, err
 11784  	}
 11785  	return ret, nil
 11786  }
 11787  
 11788  type ProjectsLocationsPhraseMatchersListCall struct {
 11789  	s            *Service
 11790  	parent       string
 11791  	urlParams_   gensupport.URLParams
 11792  	ifNoneMatch_ string
 11793  	ctx_         context.Context
 11794  	header_      http.Header
 11795  }
 11796  
 11797  // List: Lists phrase matchers.
 11798  //
 11799  // - parent: The parent resource of the phrase matcher.
 11800  func (r *ProjectsLocationsPhraseMatchersService) List(parent string) *ProjectsLocationsPhraseMatchersListCall {
 11801  	c := &ProjectsLocationsPhraseMatchersListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 11802  	c.parent = parent
 11803  	return c
 11804  }
 11805  
 11806  // Filter sets the optional parameter "filter": A filter to reduce results to a
 11807  // specific subset. Useful for querying phrase matchers with specific
 11808  // properties.
 11809  func (c *ProjectsLocationsPhraseMatchersListCall) Filter(filter string) *ProjectsLocationsPhraseMatchersListCall {
 11810  	c.urlParams_.Set("filter", filter)
 11811  	return c
 11812  }
 11813  
 11814  // PageSize sets the optional parameter "pageSize": The maximum number of
 11815  // phrase matchers to return in the response. If this value is zero, the
 11816  // service will select a default size. A call might return fewer objects than
 11817  // requested. A non-empty `next_page_token` in the response indicates that more
 11818  // data is available.
 11819  func (c *ProjectsLocationsPhraseMatchersListCall) PageSize(pageSize int64) *ProjectsLocationsPhraseMatchersListCall {
 11820  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 11821  	return c
 11822  }
 11823  
 11824  // PageToken sets the optional parameter "pageToken": The value returned by the
 11825  // last `ListPhraseMatchersResponse`. This value indicates that this is a
 11826  // continuation of a prior `ListPhraseMatchers` call and that the system should
 11827  // return the next page of data.
 11828  func (c *ProjectsLocationsPhraseMatchersListCall) PageToken(pageToken string) *ProjectsLocationsPhraseMatchersListCall {
 11829  	c.urlParams_.Set("pageToken", pageToken)
 11830  	return c
 11831  }
 11832  
 11833  // Fields allows partial responses to be retrieved. See
 11834  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 11835  // details.
 11836  func (c *ProjectsLocationsPhraseMatchersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPhraseMatchersListCall {
 11837  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 11838  	return c
 11839  }
 11840  
 11841  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 11842  // object's ETag matches the given value. This is useful for getting updates
 11843  // only after the object has changed since the last request.
 11844  func (c *ProjectsLocationsPhraseMatchersListCall) IfNoneMatch(entityTag string) *ProjectsLocationsPhraseMatchersListCall {
 11845  	c.ifNoneMatch_ = entityTag
 11846  	return c
 11847  }
 11848  
 11849  // Context sets the context to be used in this call's Do method.
 11850  func (c *ProjectsLocationsPhraseMatchersListCall) Context(ctx context.Context) *ProjectsLocationsPhraseMatchersListCall {
 11851  	c.ctx_ = ctx
 11852  	return c
 11853  }
 11854  
 11855  // Header returns a http.Header that can be modified by the caller to add
 11856  // headers to the request.
 11857  func (c *ProjectsLocationsPhraseMatchersListCall) Header() http.Header {
 11858  	if c.header_ == nil {
 11859  		c.header_ = make(http.Header)
 11860  	}
 11861  	return c.header_
 11862  }
 11863  
 11864  func (c *ProjectsLocationsPhraseMatchersListCall) doRequest(alt string) (*http.Response, error) {
 11865  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 11866  	if c.ifNoneMatch_ != "" {
 11867  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 11868  	}
 11869  	var body io.Reader = nil
 11870  	c.urlParams_.Set("alt", alt)
 11871  	c.urlParams_.Set("prettyPrint", "false")
 11872  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/phraseMatchers")
 11873  	urls += "?" + c.urlParams_.Encode()
 11874  	req, err := http.NewRequest("GET", urls, body)
 11875  	if err != nil {
 11876  		return nil, err
 11877  	}
 11878  	req.Header = reqHeaders
 11879  	googleapi.Expand(req.URL, map[string]string{
 11880  		"parent": c.parent,
 11881  	})
 11882  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 11883  }
 11884  
 11885  // Do executes the "contactcenterinsights.projects.locations.phraseMatchers.list" call.
 11886  // Any non-2xx status code is an error. Response headers are in either
 11887  // *GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse.ServerResponse.
 11888  // Header or (if a response was returned at all) in
 11889  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 11890  // whether the returned error was because http.StatusNotModified was returned.
 11891  func (c *ProjectsLocationsPhraseMatchersListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse, error) {
 11892  	gensupport.SetOptions(c.urlParams_, opts...)
 11893  	res, err := c.doRequest("json")
 11894  	if res != nil && res.StatusCode == http.StatusNotModified {
 11895  		if res.Body != nil {
 11896  			res.Body.Close()
 11897  		}
 11898  		return nil, gensupport.WrapError(&googleapi.Error{
 11899  			Code:   res.StatusCode,
 11900  			Header: res.Header,
 11901  		})
 11902  	}
 11903  	if err != nil {
 11904  		return nil, err
 11905  	}
 11906  	defer googleapi.CloseBody(res)
 11907  	if err := googleapi.CheckResponse(res); err != nil {
 11908  		return nil, gensupport.WrapError(err)
 11909  	}
 11910  	ret := &GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse{
 11911  		ServerResponse: googleapi.ServerResponse{
 11912  			Header:         res.Header,
 11913  			HTTPStatusCode: res.StatusCode,
 11914  		},
 11915  	}
 11916  	target := &ret
 11917  	if err := gensupport.DecodeResponse(target, res); err != nil {
 11918  		return nil, err
 11919  	}
 11920  	return ret, nil
 11921  }
 11922  
 11923  // Pages invokes f for each page of results.
 11924  // A non-nil error returned from f will halt the iteration.
 11925  // The provided context supersedes any context provided to the Context method.
 11926  func (c *ProjectsLocationsPhraseMatchersListCall) Pages(ctx context.Context, f func(*GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse) error) error {
 11927  	c.ctx_ = ctx
 11928  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 11929  	for {
 11930  		x, err := c.Do()
 11931  		if err != nil {
 11932  			return err
 11933  		}
 11934  		if err := f(x); err != nil {
 11935  			return err
 11936  		}
 11937  		if x.NextPageToken == "" {
 11938  			return nil
 11939  		}
 11940  		c.PageToken(x.NextPageToken)
 11941  	}
 11942  }
 11943  
 11944  type ProjectsLocationsPhraseMatchersPatchCall struct {
 11945  	s                                               *Service
 11946  	name                                            string
 11947  	googlecloudcontactcenterinsightsv1phrasematcher *GoogleCloudContactcenterinsightsV1PhraseMatcher
 11948  	urlParams_                                      gensupport.URLParams
 11949  	ctx_                                            context.Context
 11950  	header_                                         http.Header
 11951  }
 11952  
 11953  // Patch: Updates a phrase matcher.
 11954  //
 11955  //   - name: The resource name of the phrase matcher. Format:
 11956  //     projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}.
 11957  func (r *ProjectsLocationsPhraseMatchersService) Patch(name string, googlecloudcontactcenterinsightsv1phrasematcher *GoogleCloudContactcenterinsightsV1PhraseMatcher) *ProjectsLocationsPhraseMatchersPatchCall {
 11958  	c := &ProjectsLocationsPhraseMatchersPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 11959  	c.name = name
 11960  	c.googlecloudcontactcenterinsightsv1phrasematcher = googlecloudcontactcenterinsightsv1phrasematcher
 11961  	return c
 11962  }
 11963  
 11964  // UpdateMask sets the optional parameter "updateMask": The list of fields to
 11965  // be updated.
 11966  func (c *ProjectsLocationsPhraseMatchersPatchCall) UpdateMask(updateMask string) *ProjectsLocationsPhraseMatchersPatchCall {
 11967  	c.urlParams_.Set("updateMask", updateMask)
 11968  	return c
 11969  }
 11970  
 11971  // Fields allows partial responses to be retrieved. See
 11972  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 11973  // details.
 11974  func (c *ProjectsLocationsPhraseMatchersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsPhraseMatchersPatchCall {
 11975  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 11976  	return c
 11977  }
 11978  
 11979  // Context sets the context to be used in this call's Do method.
 11980  func (c *ProjectsLocationsPhraseMatchersPatchCall) Context(ctx context.Context) *ProjectsLocationsPhraseMatchersPatchCall {
 11981  	c.ctx_ = ctx
 11982  	return c
 11983  }
 11984  
 11985  // Header returns a http.Header that can be modified by the caller to add
 11986  // headers to the request.
 11987  func (c *ProjectsLocationsPhraseMatchersPatchCall) Header() http.Header {
 11988  	if c.header_ == nil {
 11989  		c.header_ = make(http.Header)
 11990  	}
 11991  	return c.header_
 11992  }
 11993  
 11994  func (c *ProjectsLocationsPhraseMatchersPatchCall) doRequest(alt string) (*http.Response, error) {
 11995  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 11996  	var body io.Reader = nil
 11997  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1phrasematcher)
 11998  	if err != nil {
 11999  		return nil, err
 12000  	}
 12001  	c.urlParams_.Set("alt", alt)
 12002  	c.urlParams_.Set("prettyPrint", "false")
 12003  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 12004  	urls += "?" + c.urlParams_.Encode()
 12005  	req, err := http.NewRequest("PATCH", urls, body)
 12006  	if err != nil {
 12007  		return nil, err
 12008  	}
 12009  	req.Header = reqHeaders
 12010  	googleapi.Expand(req.URL, map[string]string{
 12011  		"name": c.name,
 12012  	})
 12013  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 12014  }
 12015  
 12016  // Do executes the "contactcenterinsights.projects.locations.phraseMatchers.patch" call.
 12017  // Any non-2xx status code is an error. Response headers are in either
 12018  // *GoogleCloudContactcenterinsightsV1PhraseMatcher.ServerResponse.Header or
 12019  // (if a response was returned at all) in error.(*googleapi.Error).Header. Use
 12020  // googleapi.IsNotModified to check whether the returned error was because
 12021  // http.StatusNotModified was returned.
 12022  func (c *ProjectsLocationsPhraseMatchersPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1PhraseMatcher, error) {
 12023  	gensupport.SetOptions(c.urlParams_, opts...)
 12024  	res, err := c.doRequest("json")
 12025  	if res != nil && res.StatusCode == http.StatusNotModified {
 12026  		if res.Body != nil {
 12027  			res.Body.Close()
 12028  		}
 12029  		return nil, gensupport.WrapError(&googleapi.Error{
 12030  			Code:   res.StatusCode,
 12031  			Header: res.Header,
 12032  		})
 12033  	}
 12034  	if err != nil {
 12035  		return nil, err
 12036  	}
 12037  	defer googleapi.CloseBody(res)
 12038  	if err := googleapi.CheckResponse(res); err != nil {
 12039  		return nil, gensupport.WrapError(err)
 12040  	}
 12041  	ret := &GoogleCloudContactcenterinsightsV1PhraseMatcher{
 12042  		ServerResponse: googleapi.ServerResponse{
 12043  			Header:         res.Header,
 12044  			HTTPStatusCode: res.StatusCode,
 12045  		},
 12046  	}
 12047  	target := &ret
 12048  	if err := gensupport.DecodeResponse(target, res); err != nil {
 12049  		return nil, err
 12050  	}
 12051  	return ret, nil
 12052  }
 12053  
 12054  type ProjectsLocationsViewsCreateCall struct {
 12055  	s                                      *Service
 12056  	parent                                 string
 12057  	googlecloudcontactcenterinsightsv1view *GoogleCloudContactcenterinsightsV1View
 12058  	urlParams_                             gensupport.URLParams
 12059  	ctx_                                   context.Context
 12060  	header_                                http.Header
 12061  }
 12062  
 12063  // Create: Creates a view.
 12064  //
 12065  //   - parent: The parent resource of the view. Required. The location to create
 12066  //     a view for. Format: `projects//locations/` or `projects//locations/`.
 12067  func (r *ProjectsLocationsViewsService) Create(parent string, googlecloudcontactcenterinsightsv1view *GoogleCloudContactcenterinsightsV1View) *ProjectsLocationsViewsCreateCall {
 12068  	c := &ProjectsLocationsViewsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 12069  	c.parent = parent
 12070  	c.googlecloudcontactcenterinsightsv1view = googlecloudcontactcenterinsightsv1view
 12071  	return c
 12072  }
 12073  
 12074  // Fields allows partial responses to be retrieved. See
 12075  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 12076  // details.
 12077  func (c *ProjectsLocationsViewsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsViewsCreateCall {
 12078  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 12079  	return c
 12080  }
 12081  
 12082  // Context sets the context to be used in this call's Do method.
 12083  func (c *ProjectsLocationsViewsCreateCall) Context(ctx context.Context) *ProjectsLocationsViewsCreateCall {
 12084  	c.ctx_ = ctx
 12085  	return c
 12086  }
 12087  
 12088  // Header returns a http.Header that can be modified by the caller to add
 12089  // headers to the request.
 12090  func (c *ProjectsLocationsViewsCreateCall) Header() http.Header {
 12091  	if c.header_ == nil {
 12092  		c.header_ = make(http.Header)
 12093  	}
 12094  	return c.header_
 12095  }
 12096  
 12097  func (c *ProjectsLocationsViewsCreateCall) doRequest(alt string) (*http.Response, error) {
 12098  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 12099  	var body io.Reader = nil
 12100  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1view)
 12101  	if err != nil {
 12102  		return nil, err
 12103  	}
 12104  	c.urlParams_.Set("alt", alt)
 12105  	c.urlParams_.Set("prettyPrint", "false")
 12106  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/views")
 12107  	urls += "?" + c.urlParams_.Encode()
 12108  	req, err := http.NewRequest("POST", urls, body)
 12109  	if err != nil {
 12110  		return nil, err
 12111  	}
 12112  	req.Header = reqHeaders
 12113  	googleapi.Expand(req.URL, map[string]string{
 12114  		"parent": c.parent,
 12115  	})
 12116  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 12117  }
 12118  
 12119  // Do executes the "contactcenterinsights.projects.locations.views.create" call.
 12120  // Any non-2xx status code is an error. Response headers are in either
 12121  // *GoogleCloudContactcenterinsightsV1View.ServerResponse.Header or (if a
 12122  // response was returned at all) in error.(*googleapi.Error).Header. Use
 12123  // googleapi.IsNotModified to check whether the returned error was because
 12124  // http.StatusNotModified was returned.
 12125  func (c *ProjectsLocationsViewsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1View, error) {
 12126  	gensupport.SetOptions(c.urlParams_, opts...)
 12127  	res, err := c.doRequest("json")
 12128  	if res != nil && res.StatusCode == http.StatusNotModified {
 12129  		if res.Body != nil {
 12130  			res.Body.Close()
 12131  		}
 12132  		return nil, gensupport.WrapError(&googleapi.Error{
 12133  			Code:   res.StatusCode,
 12134  			Header: res.Header,
 12135  		})
 12136  	}
 12137  	if err != nil {
 12138  		return nil, err
 12139  	}
 12140  	defer googleapi.CloseBody(res)
 12141  	if err := googleapi.CheckResponse(res); err != nil {
 12142  		return nil, gensupport.WrapError(err)
 12143  	}
 12144  	ret := &GoogleCloudContactcenterinsightsV1View{
 12145  		ServerResponse: googleapi.ServerResponse{
 12146  			Header:         res.Header,
 12147  			HTTPStatusCode: res.StatusCode,
 12148  		},
 12149  	}
 12150  	target := &ret
 12151  	if err := gensupport.DecodeResponse(target, res); err != nil {
 12152  		return nil, err
 12153  	}
 12154  	return ret, nil
 12155  }
 12156  
 12157  type ProjectsLocationsViewsDeleteCall struct {
 12158  	s          *Service
 12159  	name       string
 12160  	urlParams_ gensupport.URLParams
 12161  	ctx_       context.Context
 12162  	header_    http.Header
 12163  }
 12164  
 12165  // Delete: Deletes a view.
 12166  //
 12167  // - name: The name of the view to delete.
 12168  func (r *ProjectsLocationsViewsService) Delete(name string) *ProjectsLocationsViewsDeleteCall {
 12169  	c := &ProjectsLocationsViewsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 12170  	c.name = name
 12171  	return c
 12172  }
 12173  
 12174  // Fields allows partial responses to be retrieved. See
 12175  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 12176  // details.
 12177  func (c *ProjectsLocationsViewsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsViewsDeleteCall {
 12178  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 12179  	return c
 12180  }
 12181  
 12182  // Context sets the context to be used in this call's Do method.
 12183  func (c *ProjectsLocationsViewsDeleteCall) Context(ctx context.Context) *ProjectsLocationsViewsDeleteCall {
 12184  	c.ctx_ = ctx
 12185  	return c
 12186  }
 12187  
 12188  // Header returns a http.Header that can be modified by the caller to add
 12189  // headers to the request.
 12190  func (c *ProjectsLocationsViewsDeleteCall) Header() http.Header {
 12191  	if c.header_ == nil {
 12192  		c.header_ = make(http.Header)
 12193  	}
 12194  	return c.header_
 12195  }
 12196  
 12197  func (c *ProjectsLocationsViewsDeleteCall) doRequest(alt string) (*http.Response, error) {
 12198  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 12199  	var body io.Reader = nil
 12200  	c.urlParams_.Set("alt", alt)
 12201  	c.urlParams_.Set("prettyPrint", "false")
 12202  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 12203  	urls += "?" + c.urlParams_.Encode()
 12204  	req, err := http.NewRequest("DELETE", urls, body)
 12205  	if err != nil {
 12206  		return nil, err
 12207  	}
 12208  	req.Header = reqHeaders
 12209  	googleapi.Expand(req.URL, map[string]string{
 12210  		"name": c.name,
 12211  	})
 12212  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 12213  }
 12214  
 12215  // Do executes the "contactcenterinsights.projects.locations.views.delete" call.
 12216  // Any non-2xx status code is an error. Response headers are in either
 12217  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 12218  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 12219  // check whether the returned error was because http.StatusNotModified was
 12220  // returned.
 12221  func (c *ProjectsLocationsViewsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 12222  	gensupport.SetOptions(c.urlParams_, opts...)
 12223  	res, err := c.doRequest("json")
 12224  	if res != nil && res.StatusCode == http.StatusNotModified {
 12225  		if res.Body != nil {
 12226  			res.Body.Close()
 12227  		}
 12228  		return nil, gensupport.WrapError(&googleapi.Error{
 12229  			Code:   res.StatusCode,
 12230  			Header: res.Header,
 12231  		})
 12232  	}
 12233  	if err != nil {
 12234  		return nil, err
 12235  	}
 12236  	defer googleapi.CloseBody(res)
 12237  	if err := googleapi.CheckResponse(res); err != nil {
 12238  		return nil, gensupport.WrapError(err)
 12239  	}
 12240  	ret := &GoogleProtobufEmpty{
 12241  		ServerResponse: googleapi.ServerResponse{
 12242  			Header:         res.Header,
 12243  			HTTPStatusCode: res.StatusCode,
 12244  		},
 12245  	}
 12246  	target := &ret
 12247  	if err := gensupport.DecodeResponse(target, res); err != nil {
 12248  		return nil, err
 12249  	}
 12250  	return ret, nil
 12251  }
 12252  
 12253  type ProjectsLocationsViewsGetCall struct {
 12254  	s            *Service
 12255  	name         string
 12256  	urlParams_   gensupport.URLParams
 12257  	ifNoneMatch_ string
 12258  	ctx_         context.Context
 12259  	header_      http.Header
 12260  }
 12261  
 12262  // Get: Gets a view.
 12263  //
 12264  // - name: The name of the view to get.
 12265  func (r *ProjectsLocationsViewsService) Get(name string) *ProjectsLocationsViewsGetCall {
 12266  	c := &ProjectsLocationsViewsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 12267  	c.name = name
 12268  	return c
 12269  }
 12270  
 12271  // Fields allows partial responses to be retrieved. See
 12272  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 12273  // details.
 12274  func (c *ProjectsLocationsViewsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsViewsGetCall {
 12275  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 12276  	return c
 12277  }
 12278  
 12279  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 12280  // object's ETag matches the given value. This is useful for getting updates
 12281  // only after the object has changed since the last request.
 12282  func (c *ProjectsLocationsViewsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsViewsGetCall {
 12283  	c.ifNoneMatch_ = entityTag
 12284  	return c
 12285  }
 12286  
 12287  // Context sets the context to be used in this call's Do method.
 12288  func (c *ProjectsLocationsViewsGetCall) Context(ctx context.Context) *ProjectsLocationsViewsGetCall {
 12289  	c.ctx_ = ctx
 12290  	return c
 12291  }
 12292  
 12293  // Header returns a http.Header that can be modified by the caller to add
 12294  // headers to the request.
 12295  func (c *ProjectsLocationsViewsGetCall) Header() http.Header {
 12296  	if c.header_ == nil {
 12297  		c.header_ = make(http.Header)
 12298  	}
 12299  	return c.header_
 12300  }
 12301  
 12302  func (c *ProjectsLocationsViewsGetCall) doRequest(alt string) (*http.Response, error) {
 12303  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 12304  	if c.ifNoneMatch_ != "" {
 12305  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 12306  	}
 12307  	var body io.Reader = nil
 12308  	c.urlParams_.Set("alt", alt)
 12309  	c.urlParams_.Set("prettyPrint", "false")
 12310  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 12311  	urls += "?" + c.urlParams_.Encode()
 12312  	req, err := http.NewRequest("GET", urls, body)
 12313  	if err != nil {
 12314  		return nil, err
 12315  	}
 12316  	req.Header = reqHeaders
 12317  	googleapi.Expand(req.URL, map[string]string{
 12318  		"name": c.name,
 12319  	})
 12320  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 12321  }
 12322  
 12323  // Do executes the "contactcenterinsights.projects.locations.views.get" call.
 12324  // Any non-2xx status code is an error. Response headers are in either
 12325  // *GoogleCloudContactcenterinsightsV1View.ServerResponse.Header or (if a
 12326  // response was returned at all) in error.(*googleapi.Error).Header. Use
 12327  // googleapi.IsNotModified to check whether the returned error was because
 12328  // http.StatusNotModified was returned.
 12329  func (c *ProjectsLocationsViewsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1View, error) {
 12330  	gensupport.SetOptions(c.urlParams_, opts...)
 12331  	res, err := c.doRequest("json")
 12332  	if res != nil && res.StatusCode == http.StatusNotModified {
 12333  		if res.Body != nil {
 12334  			res.Body.Close()
 12335  		}
 12336  		return nil, gensupport.WrapError(&googleapi.Error{
 12337  			Code:   res.StatusCode,
 12338  			Header: res.Header,
 12339  		})
 12340  	}
 12341  	if err != nil {
 12342  		return nil, err
 12343  	}
 12344  	defer googleapi.CloseBody(res)
 12345  	if err := googleapi.CheckResponse(res); err != nil {
 12346  		return nil, gensupport.WrapError(err)
 12347  	}
 12348  	ret := &GoogleCloudContactcenterinsightsV1View{
 12349  		ServerResponse: googleapi.ServerResponse{
 12350  			Header:         res.Header,
 12351  			HTTPStatusCode: res.StatusCode,
 12352  		},
 12353  	}
 12354  	target := &ret
 12355  	if err := gensupport.DecodeResponse(target, res); err != nil {
 12356  		return nil, err
 12357  	}
 12358  	return ret, nil
 12359  }
 12360  
 12361  type ProjectsLocationsViewsListCall struct {
 12362  	s            *Service
 12363  	parent       string
 12364  	urlParams_   gensupport.URLParams
 12365  	ifNoneMatch_ string
 12366  	ctx_         context.Context
 12367  	header_      http.Header
 12368  }
 12369  
 12370  // List: Lists views.
 12371  //
 12372  // - parent: The parent resource of the views.
 12373  func (r *ProjectsLocationsViewsService) List(parent string) *ProjectsLocationsViewsListCall {
 12374  	c := &ProjectsLocationsViewsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 12375  	c.parent = parent
 12376  	return c
 12377  }
 12378  
 12379  // PageSize sets the optional parameter "pageSize": The maximum number of views
 12380  // to return in the response. If this value is zero, the service will select a
 12381  // default size. A call may return fewer objects than requested. A non-empty
 12382  // `next_page_token` in the response indicates that more data is available.
 12383  func (c *ProjectsLocationsViewsListCall) PageSize(pageSize int64) *ProjectsLocationsViewsListCall {
 12384  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 12385  	return c
 12386  }
 12387  
 12388  // PageToken sets the optional parameter "pageToken": The value returned by the
 12389  // last `ListViewsResponse`; indicates that this is a continuation of a prior
 12390  // `ListViews` call and the system should return the next page of data.
 12391  func (c *ProjectsLocationsViewsListCall) PageToken(pageToken string) *ProjectsLocationsViewsListCall {
 12392  	c.urlParams_.Set("pageToken", pageToken)
 12393  	return c
 12394  }
 12395  
 12396  // Fields allows partial responses to be retrieved. See
 12397  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 12398  // details.
 12399  func (c *ProjectsLocationsViewsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsViewsListCall {
 12400  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 12401  	return c
 12402  }
 12403  
 12404  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 12405  // object's ETag matches the given value. This is useful for getting updates
 12406  // only after the object has changed since the last request.
 12407  func (c *ProjectsLocationsViewsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsViewsListCall {
 12408  	c.ifNoneMatch_ = entityTag
 12409  	return c
 12410  }
 12411  
 12412  // Context sets the context to be used in this call's Do method.
 12413  func (c *ProjectsLocationsViewsListCall) Context(ctx context.Context) *ProjectsLocationsViewsListCall {
 12414  	c.ctx_ = ctx
 12415  	return c
 12416  }
 12417  
 12418  // Header returns a http.Header that can be modified by the caller to add
 12419  // headers to the request.
 12420  func (c *ProjectsLocationsViewsListCall) Header() http.Header {
 12421  	if c.header_ == nil {
 12422  		c.header_ = make(http.Header)
 12423  	}
 12424  	return c.header_
 12425  }
 12426  
 12427  func (c *ProjectsLocationsViewsListCall) doRequest(alt string) (*http.Response, error) {
 12428  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 12429  	if c.ifNoneMatch_ != "" {
 12430  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 12431  	}
 12432  	var body io.Reader = nil
 12433  	c.urlParams_.Set("alt", alt)
 12434  	c.urlParams_.Set("prettyPrint", "false")
 12435  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+parent}/views")
 12436  	urls += "?" + c.urlParams_.Encode()
 12437  	req, err := http.NewRequest("GET", urls, body)
 12438  	if err != nil {
 12439  		return nil, err
 12440  	}
 12441  	req.Header = reqHeaders
 12442  	googleapi.Expand(req.URL, map[string]string{
 12443  		"parent": c.parent,
 12444  	})
 12445  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 12446  }
 12447  
 12448  // Do executes the "contactcenterinsights.projects.locations.views.list" call.
 12449  // Any non-2xx status code is an error. Response headers are in either
 12450  // *GoogleCloudContactcenterinsightsV1ListViewsResponse.ServerResponse.Header
 12451  // or (if a response was returned at all) in error.(*googleapi.Error).Header.
 12452  // Use googleapi.IsNotModified to check whether the returned error was because
 12453  // http.StatusNotModified was returned.
 12454  func (c *ProjectsLocationsViewsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1ListViewsResponse, error) {
 12455  	gensupport.SetOptions(c.urlParams_, opts...)
 12456  	res, err := c.doRequest("json")
 12457  	if res != nil && res.StatusCode == http.StatusNotModified {
 12458  		if res.Body != nil {
 12459  			res.Body.Close()
 12460  		}
 12461  		return nil, gensupport.WrapError(&googleapi.Error{
 12462  			Code:   res.StatusCode,
 12463  			Header: res.Header,
 12464  		})
 12465  	}
 12466  	if err != nil {
 12467  		return nil, err
 12468  	}
 12469  	defer googleapi.CloseBody(res)
 12470  	if err := googleapi.CheckResponse(res); err != nil {
 12471  		return nil, gensupport.WrapError(err)
 12472  	}
 12473  	ret := &GoogleCloudContactcenterinsightsV1ListViewsResponse{
 12474  		ServerResponse: googleapi.ServerResponse{
 12475  			Header:         res.Header,
 12476  			HTTPStatusCode: res.StatusCode,
 12477  		},
 12478  	}
 12479  	target := &ret
 12480  	if err := gensupport.DecodeResponse(target, res); err != nil {
 12481  		return nil, err
 12482  	}
 12483  	return ret, nil
 12484  }
 12485  
 12486  // Pages invokes f for each page of results.
 12487  // A non-nil error returned from f will halt the iteration.
 12488  // The provided context supersedes any context provided to the Context method.
 12489  func (c *ProjectsLocationsViewsListCall) Pages(ctx context.Context, f func(*GoogleCloudContactcenterinsightsV1ListViewsResponse) error) error {
 12490  	c.ctx_ = ctx
 12491  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 12492  	for {
 12493  		x, err := c.Do()
 12494  		if err != nil {
 12495  			return err
 12496  		}
 12497  		if err := f(x); err != nil {
 12498  			return err
 12499  		}
 12500  		if x.NextPageToken == "" {
 12501  			return nil
 12502  		}
 12503  		c.PageToken(x.NextPageToken)
 12504  	}
 12505  }
 12506  
 12507  type ProjectsLocationsViewsPatchCall struct {
 12508  	s                                      *Service
 12509  	name                                   string
 12510  	googlecloudcontactcenterinsightsv1view *GoogleCloudContactcenterinsightsV1View
 12511  	urlParams_                             gensupport.URLParams
 12512  	ctx_                                   context.Context
 12513  	header_                                http.Header
 12514  }
 12515  
 12516  // Patch: Updates a view.
 12517  //
 12518  //   - name: Immutable. The resource name of the view. Format:
 12519  //     projects/{project}/locations/{location}/views/{view}.
 12520  func (r *ProjectsLocationsViewsService) Patch(name string, googlecloudcontactcenterinsightsv1view *GoogleCloudContactcenterinsightsV1View) *ProjectsLocationsViewsPatchCall {
 12521  	c := &ProjectsLocationsViewsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 12522  	c.name = name
 12523  	c.googlecloudcontactcenterinsightsv1view = googlecloudcontactcenterinsightsv1view
 12524  	return c
 12525  }
 12526  
 12527  // UpdateMask sets the optional parameter "updateMask": The list of fields to
 12528  // be updated.
 12529  func (c *ProjectsLocationsViewsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsViewsPatchCall {
 12530  	c.urlParams_.Set("updateMask", updateMask)
 12531  	return c
 12532  }
 12533  
 12534  // Fields allows partial responses to be retrieved. See
 12535  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 12536  // details.
 12537  func (c *ProjectsLocationsViewsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsViewsPatchCall {
 12538  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 12539  	return c
 12540  }
 12541  
 12542  // Context sets the context to be used in this call's Do method.
 12543  func (c *ProjectsLocationsViewsPatchCall) Context(ctx context.Context) *ProjectsLocationsViewsPatchCall {
 12544  	c.ctx_ = ctx
 12545  	return c
 12546  }
 12547  
 12548  // Header returns a http.Header that can be modified by the caller to add
 12549  // headers to the request.
 12550  func (c *ProjectsLocationsViewsPatchCall) Header() http.Header {
 12551  	if c.header_ == nil {
 12552  		c.header_ = make(http.Header)
 12553  	}
 12554  	return c.header_
 12555  }
 12556  
 12557  func (c *ProjectsLocationsViewsPatchCall) doRequest(alt string) (*http.Response, error) {
 12558  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 12559  	var body io.Reader = nil
 12560  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googlecloudcontactcenterinsightsv1view)
 12561  	if err != nil {
 12562  		return nil, err
 12563  	}
 12564  	c.urlParams_.Set("alt", alt)
 12565  	c.urlParams_.Set("prettyPrint", "false")
 12566  	urls := googleapi.ResolveRelative(c.s.BasePath, "v1/{+name}")
 12567  	urls += "?" + c.urlParams_.Encode()
 12568  	req, err := http.NewRequest("PATCH", urls, body)
 12569  	if err != nil {
 12570  		return nil, err
 12571  	}
 12572  	req.Header = reqHeaders
 12573  	googleapi.Expand(req.URL, map[string]string{
 12574  		"name": c.name,
 12575  	})
 12576  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 12577  }
 12578  
 12579  // Do executes the "contactcenterinsights.projects.locations.views.patch" call.
 12580  // Any non-2xx status code is an error. Response headers are in either
 12581  // *GoogleCloudContactcenterinsightsV1View.ServerResponse.Header or (if a
 12582  // response was returned at all) in error.(*googleapi.Error).Header. Use
 12583  // googleapi.IsNotModified to check whether the returned error was because
 12584  // http.StatusNotModified was returned.
 12585  func (c *ProjectsLocationsViewsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudContactcenterinsightsV1View, error) {
 12586  	gensupport.SetOptions(c.urlParams_, opts...)
 12587  	res, err := c.doRequest("json")
 12588  	if res != nil && res.StatusCode == http.StatusNotModified {
 12589  		if res.Body != nil {
 12590  			res.Body.Close()
 12591  		}
 12592  		return nil, gensupport.WrapError(&googleapi.Error{
 12593  			Code:   res.StatusCode,
 12594  			Header: res.Header,
 12595  		})
 12596  	}
 12597  	if err != nil {
 12598  		return nil, err
 12599  	}
 12600  	defer googleapi.CloseBody(res)
 12601  	if err := googleapi.CheckResponse(res); err != nil {
 12602  		return nil, gensupport.WrapError(err)
 12603  	}
 12604  	ret := &GoogleCloudContactcenterinsightsV1View{
 12605  		ServerResponse: googleapi.ServerResponse{
 12606  			Header:         res.Header,
 12607  			HTTPStatusCode: res.StatusCode,
 12608  		},
 12609  	}
 12610  	target := &ret
 12611  	if err := gensupport.DecodeResponse(target, res); err != nil {
 12612  		return nil, err
 12613  	}
 12614  	return ret, nil
 12615  }
 12616  

View as plain text