...

Source file src/google.golang.org/api/dialogflow/v3/dialogflow-gen.go

Documentation: google.golang.org/api/dialogflow/v3

     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 dialogflow provides access to the Dialogflow API.
     8  //
     9  // This package is DEPRECATED. Use package cloud.google.com/go/dialogflow/apiv2 instead.
    10  //
    11  // For product documentation, see: https://cloud.google.com/dialogflow/
    12  //
    13  // # Library status
    14  //
    15  // These client libraries are officially supported by Google. However, this
    16  // library is considered complete and is in maintenance mode. This means
    17  // that we will address critical bugs and security issues but will not add
    18  // any new features.
    19  //
    20  // When possible, we recommend using our newer
    21  // [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go)
    22  // that are still actively being worked and iterated on.
    23  //
    24  // # Creating a client
    25  //
    26  // Usage example:
    27  //
    28  //	import "google.golang.org/api/dialogflow/v3"
    29  //	...
    30  //	ctx := context.Background()
    31  //	dialogflowService, err := dialogflow.NewService(ctx)
    32  //
    33  // In this example, Google Application Default Credentials are used for
    34  // authentication. For information on how to create and obtain Application
    35  // Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
    36  //
    37  // # Other authentication options
    38  //
    39  // By default, all available scopes (see "Constants") are used to authenticate.
    40  // To restrict scopes, use [google.golang.org/api/option.WithScopes]:
    41  //
    42  //	dialogflowService, err := dialogflow.NewService(ctx, option.WithScopes(dialogflow.DialogflowScope))
    43  //
    44  // To use an API key for authentication (note: some APIs do not support API
    45  // keys), use [google.golang.org/api/option.WithAPIKey]:
    46  //
    47  //	dialogflowService, err := dialogflow.NewService(ctx, option.WithAPIKey("AIza..."))
    48  //
    49  // To use an OAuth token (e.g., a user token obtained via a three-legged OAuth
    50  // flow, use [google.golang.org/api/option.WithTokenSource]:
    51  //
    52  //	config := &oauth2.Config{...}
    53  //	// ...
    54  //	token, err := config.Exchange(ctx, ...)
    55  //	dialogflowService, err := dialogflow.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
    56  //
    57  // See [google.golang.org/api/option.ClientOption] for details on options.
    58  package dialogflow // import "google.golang.org/api/dialogflow/v3"
    59  
    60  import (
    61  	"bytes"
    62  	"context"
    63  	"encoding/json"
    64  	"errors"
    65  	"fmt"
    66  	"io"
    67  	"net/http"
    68  	"net/url"
    69  	"strconv"
    70  	"strings"
    71  
    72  	googleapi "google.golang.org/api/googleapi"
    73  	internal "google.golang.org/api/internal"
    74  	gensupport "google.golang.org/api/internal/gensupport"
    75  	option "google.golang.org/api/option"
    76  	internaloption "google.golang.org/api/option/internaloption"
    77  	htransport "google.golang.org/api/transport/http"
    78  )
    79  
    80  // Always reference these packages, just in case the auto-generated code
    81  // below doesn't.
    82  var _ = bytes.NewBuffer
    83  var _ = strconv.Itoa
    84  var _ = fmt.Sprintf
    85  var _ = json.NewDecoder
    86  var _ = io.Copy
    87  var _ = url.Parse
    88  var _ = gensupport.MarshalJSON
    89  var _ = googleapi.Version
    90  var _ = errors.New
    91  var _ = strings.Replace
    92  var _ = context.Canceled
    93  var _ = internaloption.WithDefaultEndpoint
    94  var _ = internal.Version
    95  
    96  const apiId = "dialogflow:v3"
    97  const apiName = "dialogflow"
    98  const apiVersion = "v3"
    99  const basePath = "https://dialogflow.googleapis.com/"
   100  const basePathTemplate = "https://dialogflow.UNIVERSE_DOMAIN/"
   101  const mtlsBasePath = "https://dialogflow.mtls.googleapis.com/"
   102  
   103  // OAuth2 scopes used by this API.
   104  const (
   105  	// See, edit, configure, and delete your Google Cloud data and see the email
   106  	// address for your Google Account.
   107  	CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"
   108  
   109  	// View, manage and query your Dialogflow agents
   110  	DialogflowScope = "https://www.googleapis.com/auth/dialogflow"
   111  )
   112  
   113  // NewService creates a new Service.
   114  func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) {
   115  	scopesOption := internaloption.WithDefaultScopes(
   116  		"https://www.googleapis.com/auth/cloud-platform",
   117  		"https://www.googleapis.com/auth/dialogflow",
   118  	)
   119  	// NOTE: prepend, so we don't override user-specified scopes.
   120  	opts = append([]option.ClientOption{scopesOption}, opts...)
   121  	opts = append(opts, internaloption.WithDefaultEndpoint(basePath))
   122  	opts = append(opts, internaloption.WithDefaultEndpointTemplate(basePathTemplate))
   123  	opts = append(opts, internaloption.WithDefaultMTLSEndpoint(mtlsBasePath))
   124  	opts = append(opts, internaloption.EnableNewAuthLibrary())
   125  	client, endpoint, err := htransport.NewClient(ctx, opts...)
   126  	if err != nil {
   127  		return nil, err
   128  	}
   129  	s, err := New(client)
   130  	if err != nil {
   131  		return nil, err
   132  	}
   133  	if endpoint != "" {
   134  		s.BasePath = endpoint
   135  	}
   136  	return s, nil
   137  }
   138  
   139  // New creates a new Service. It uses the provided http.Client for requests.
   140  //
   141  // Deprecated: please use NewService instead.
   142  // To provide a custom HTTP client, use option.WithHTTPClient.
   143  // If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
   144  func New(client *http.Client) (*Service, error) {
   145  	if client == nil {
   146  		return nil, errors.New("client is nil")
   147  	}
   148  	s := &Service{client: client, BasePath: basePath}
   149  	s.Projects = NewProjectsService(s)
   150  	return s, nil
   151  }
   152  
   153  type Service struct {
   154  	client    *http.Client
   155  	BasePath  string // API endpoint base URL
   156  	UserAgent string // optional additional User-Agent fragment
   157  
   158  	Projects *ProjectsService
   159  }
   160  
   161  func (s *Service) userAgent() string {
   162  	if s.UserAgent == "" {
   163  		return googleapi.UserAgent
   164  	}
   165  	return googleapi.UserAgent + " " + s.UserAgent
   166  }
   167  
   168  func NewProjectsService(s *Service) *ProjectsService {
   169  	rs := &ProjectsService{s: s}
   170  	rs.Locations = NewProjectsLocationsService(s)
   171  	rs.Operations = NewProjectsOperationsService(s)
   172  	return rs
   173  }
   174  
   175  type ProjectsService struct {
   176  	s *Service
   177  
   178  	Locations *ProjectsLocationsService
   179  
   180  	Operations *ProjectsOperationsService
   181  }
   182  
   183  func NewProjectsLocationsService(s *Service) *ProjectsLocationsService {
   184  	rs := &ProjectsLocationsService{s: s}
   185  	rs.Agents = NewProjectsLocationsAgentsService(s)
   186  	rs.Operations = NewProjectsLocationsOperationsService(s)
   187  	rs.SecuritySettings = NewProjectsLocationsSecuritySettingsService(s)
   188  	return rs
   189  }
   190  
   191  type ProjectsLocationsService struct {
   192  	s *Service
   193  
   194  	Agents *ProjectsLocationsAgentsService
   195  
   196  	Operations *ProjectsLocationsOperationsService
   197  
   198  	SecuritySettings *ProjectsLocationsSecuritySettingsService
   199  }
   200  
   201  func NewProjectsLocationsAgentsService(s *Service) *ProjectsLocationsAgentsService {
   202  	rs := &ProjectsLocationsAgentsService{s: s}
   203  	rs.Changelogs = NewProjectsLocationsAgentsChangelogsService(s)
   204  	rs.EntityTypes = NewProjectsLocationsAgentsEntityTypesService(s)
   205  	rs.Environments = NewProjectsLocationsAgentsEnvironmentsService(s)
   206  	rs.Flows = NewProjectsLocationsAgentsFlowsService(s)
   207  	rs.Generators = NewProjectsLocationsAgentsGeneratorsService(s)
   208  	rs.Intents = NewProjectsLocationsAgentsIntentsService(s)
   209  	rs.Sessions = NewProjectsLocationsAgentsSessionsService(s)
   210  	rs.TestCases = NewProjectsLocationsAgentsTestCasesService(s)
   211  	rs.TransitionRouteGroups = NewProjectsLocationsAgentsTransitionRouteGroupsService(s)
   212  	rs.Webhooks = NewProjectsLocationsAgentsWebhooksService(s)
   213  	return rs
   214  }
   215  
   216  type ProjectsLocationsAgentsService struct {
   217  	s *Service
   218  
   219  	Changelogs *ProjectsLocationsAgentsChangelogsService
   220  
   221  	EntityTypes *ProjectsLocationsAgentsEntityTypesService
   222  
   223  	Environments *ProjectsLocationsAgentsEnvironmentsService
   224  
   225  	Flows *ProjectsLocationsAgentsFlowsService
   226  
   227  	Generators *ProjectsLocationsAgentsGeneratorsService
   228  
   229  	Intents *ProjectsLocationsAgentsIntentsService
   230  
   231  	Sessions *ProjectsLocationsAgentsSessionsService
   232  
   233  	TestCases *ProjectsLocationsAgentsTestCasesService
   234  
   235  	TransitionRouteGroups *ProjectsLocationsAgentsTransitionRouteGroupsService
   236  
   237  	Webhooks *ProjectsLocationsAgentsWebhooksService
   238  }
   239  
   240  func NewProjectsLocationsAgentsChangelogsService(s *Service) *ProjectsLocationsAgentsChangelogsService {
   241  	rs := &ProjectsLocationsAgentsChangelogsService{s: s}
   242  	return rs
   243  }
   244  
   245  type ProjectsLocationsAgentsChangelogsService struct {
   246  	s *Service
   247  }
   248  
   249  func NewProjectsLocationsAgentsEntityTypesService(s *Service) *ProjectsLocationsAgentsEntityTypesService {
   250  	rs := &ProjectsLocationsAgentsEntityTypesService{s: s}
   251  	return rs
   252  }
   253  
   254  type ProjectsLocationsAgentsEntityTypesService struct {
   255  	s *Service
   256  }
   257  
   258  func NewProjectsLocationsAgentsEnvironmentsService(s *Service) *ProjectsLocationsAgentsEnvironmentsService {
   259  	rs := &ProjectsLocationsAgentsEnvironmentsService{s: s}
   260  	rs.ContinuousTestResults = NewProjectsLocationsAgentsEnvironmentsContinuousTestResultsService(s)
   261  	rs.Deployments = NewProjectsLocationsAgentsEnvironmentsDeploymentsService(s)
   262  	rs.Experiments = NewProjectsLocationsAgentsEnvironmentsExperimentsService(s)
   263  	rs.Sessions = NewProjectsLocationsAgentsEnvironmentsSessionsService(s)
   264  	return rs
   265  }
   266  
   267  type ProjectsLocationsAgentsEnvironmentsService struct {
   268  	s *Service
   269  
   270  	ContinuousTestResults *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsService
   271  
   272  	Deployments *ProjectsLocationsAgentsEnvironmentsDeploymentsService
   273  
   274  	Experiments *ProjectsLocationsAgentsEnvironmentsExperimentsService
   275  
   276  	Sessions *ProjectsLocationsAgentsEnvironmentsSessionsService
   277  }
   278  
   279  func NewProjectsLocationsAgentsEnvironmentsContinuousTestResultsService(s *Service) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsService {
   280  	rs := &ProjectsLocationsAgentsEnvironmentsContinuousTestResultsService{s: s}
   281  	return rs
   282  }
   283  
   284  type ProjectsLocationsAgentsEnvironmentsContinuousTestResultsService struct {
   285  	s *Service
   286  }
   287  
   288  func NewProjectsLocationsAgentsEnvironmentsDeploymentsService(s *Service) *ProjectsLocationsAgentsEnvironmentsDeploymentsService {
   289  	rs := &ProjectsLocationsAgentsEnvironmentsDeploymentsService{s: s}
   290  	return rs
   291  }
   292  
   293  type ProjectsLocationsAgentsEnvironmentsDeploymentsService struct {
   294  	s *Service
   295  }
   296  
   297  func NewProjectsLocationsAgentsEnvironmentsExperimentsService(s *Service) *ProjectsLocationsAgentsEnvironmentsExperimentsService {
   298  	rs := &ProjectsLocationsAgentsEnvironmentsExperimentsService{s: s}
   299  	return rs
   300  }
   301  
   302  type ProjectsLocationsAgentsEnvironmentsExperimentsService struct {
   303  	s *Service
   304  }
   305  
   306  func NewProjectsLocationsAgentsEnvironmentsSessionsService(s *Service) *ProjectsLocationsAgentsEnvironmentsSessionsService {
   307  	rs := &ProjectsLocationsAgentsEnvironmentsSessionsService{s: s}
   308  	rs.EntityTypes = NewProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService(s)
   309  	return rs
   310  }
   311  
   312  type ProjectsLocationsAgentsEnvironmentsSessionsService struct {
   313  	s *Service
   314  
   315  	EntityTypes *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService
   316  }
   317  
   318  func NewProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService(s *Service) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService {
   319  	rs := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService{s: s}
   320  	return rs
   321  }
   322  
   323  type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService struct {
   324  	s *Service
   325  }
   326  
   327  func NewProjectsLocationsAgentsFlowsService(s *Service) *ProjectsLocationsAgentsFlowsService {
   328  	rs := &ProjectsLocationsAgentsFlowsService{s: s}
   329  	rs.Pages = NewProjectsLocationsAgentsFlowsPagesService(s)
   330  	rs.TransitionRouteGroups = NewProjectsLocationsAgentsFlowsTransitionRouteGroupsService(s)
   331  	rs.Versions = NewProjectsLocationsAgentsFlowsVersionsService(s)
   332  	return rs
   333  }
   334  
   335  type ProjectsLocationsAgentsFlowsService struct {
   336  	s *Service
   337  
   338  	Pages *ProjectsLocationsAgentsFlowsPagesService
   339  
   340  	TransitionRouteGroups *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService
   341  
   342  	Versions *ProjectsLocationsAgentsFlowsVersionsService
   343  }
   344  
   345  func NewProjectsLocationsAgentsFlowsPagesService(s *Service) *ProjectsLocationsAgentsFlowsPagesService {
   346  	rs := &ProjectsLocationsAgentsFlowsPagesService{s: s}
   347  	return rs
   348  }
   349  
   350  type ProjectsLocationsAgentsFlowsPagesService struct {
   351  	s *Service
   352  }
   353  
   354  func NewProjectsLocationsAgentsFlowsTransitionRouteGroupsService(s *Service) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService {
   355  	rs := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsService{s: s}
   356  	return rs
   357  }
   358  
   359  type ProjectsLocationsAgentsFlowsTransitionRouteGroupsService struct {
   360  	s *Service
   361  }
   362  
   363  func NewProjectsLocationsAgentsFlowsVersionsService(s *Service) *ProjectsLocationsAgentsFlowsVersionsService {
   364  	rs := &ProjectsLocationsAgentsFlowsVersionsService{s: s}
   365  	return rs
   366  }
   367  
   368  type ProjectsLocationsAgentsFlowsVersionsService struct {
   369  	s *Service
   370  }
   371  
   372  func NewProjectsLocationsAgentsGeneratorsService(s *Service) *ProjectsLocationsAgentsGeneratorsService {
   373  	rs := &ProjectsLocationsAgentsGeneratorsService{s: s}
   374  	return rs
   375  }
   376  
   377  type ProjectsLocationsAgentsGeneratorsService struct {
   378  	s *Service
   379  }
   380  
   381  func NewProjectsLocationsAgentsIntentsService(s *Service) *ProjectsLocationsAgentsIntentsService {
   382  	rs := &ProjectsLocationsAgentsIntentsService{s: s}
   383  	return rs
   384  }
   385  
   386  type ProjectsLocationsAgentsIntentsService struct {
   387  	s *Service
   388  }
   389  
   390  func NewProjectsLocationsAgentsSessionsService(s *Service) *ProjectsLocationsAgentsSessionsService {
   391  	rs := &ProjectsLocationsAgentsSessionsService{s: s}
   392  	rs.EntityTypes = NewProjectsLocationsAgentsSessionsEntityTypesService(s)
   393  	return rs
   394  }
   395  
   396  type ProjectsLocationsAgentsSessionsService struct {
   397  	s *Service
   398  
   399  	EntityTypes *ProjectsLocationsAgentsSessionsEntityTypesService
   400  }
   401  
   402  func NewProjectsLocationsAgentsSessionsEntityTypesService(s *Service) *ProjectsLocationsAgentsSessionsEntityTypesService {
   403  	rs := &ProjectsLocationsAgentsSessionsEntityTypesService{s: s}
   404  	return rs
   405  }
   406  
   407  type ProjectsLocationsAgentsSessionsEntityTypesService struct {
   408  	s *Service
   409  }
   410  
   411  func NewProjectsLocationsAgentsTestCasesService(s *Service) *ProjectsLocationsAgentsTestCasesService {
   412  	rs := &ProjectsLocationsAgentsTestCasesService{s: s}
   413  	rs.Results = NewProjectsLocationsAgentsTestCasesResultsService(s)
   414  	return rs
   415  }
   416  
   417  type ProjectsLocationsAgentsTestCasesService struct {
   418  	s *Service
   419  
   420  	Results *ProjectsLocationsAgentsTestCasesResultsService
   421  }
   422  
   423  func NewProjectsLocationsAgentsTestCasesResultsService(s *Service) *ProjectsLocationsAgentsTestCasesResultsService {
   424  	rs := &ProjectsLocationsAgentsTestCasesResultsService{s: s}
   425  	return rs
   426  }
   427  
   428  type ProjectsLocationsAgentsTestCasesResultsService struct {
   429  	s *Service
   430  }
   431  
   432  func NewProjectsLocationsAgentsTransitionRouteGroupsService(s *Service) *ProjectsLocationsAgentsTransitionRouteGroupsService {
   433  	rs := &ProjectsLocationsAgentsTransitionRouteGroupsService{s: s}
   434  	return rs
   435  }
   436  
   437  type ProjectsLocationsAgentsTransitionRouteGroupsService struct {
   438  	s *Service
   439  }
   440  
   441  func NewProjectsLocationsAgentsWebhooksService(s *Service) *ProjectsLocationsAgentsWebhooksService {
   442  	rs := &ProjectsLocationsAgentsWebhooksService{s: s}
   443  	return rs
   444  }
   445  
   446  type ProjectsLocationsAgentsWebhooksService struct {
   447  	s *Service
   448  }
   449  
   450  func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService {
   451  	rs := &ProjectsLocationsOperationsService{s: s}
   452  	return rs
   453  }
   454  
   455  type ProjectsLocationsOperationsService struct {
   456  	s *Service
   457  }
   458  
   459  func NewProjectsLocationsSecuritySettingsService(s *Service) *ProjectsLocationsSecuritySettingsService {
   460  	rs := &ProjectsLocationsSecuritySettingsService{s: s}
   461  	return rs
   462  }
   463  
   464  type ProjectsLocationsSecuritySettingsService struct {
   465  	s *Service
   466  }
   467  
   468  func NewProjectsOperationsService(s *Service) *ProjectsOperationsService {
   469  	rs := &ProjectsOperationsService{s: s}
   470  	return rs
   471  }
   472  
   473  type ProjectsOperationsService struct {
   474  	s *Service
   475  }
   476  
   477  // GoogleCloudDialogflowCxV3AdvancedSettings: Hierarchical advanced settings
   478  // for agent/flow/page/fulfillment/parameter. Settings exposed at lower level
   479  // overrides the settings exposed at higher level. Overriding occurs at the
   480  // sub-setting level. For example, the playback_interruption_settings at
   481  // fulfillment level only overrides the playback_interruption_settings at the
   482  // agent level, leaving other settings at the agent level unchanged. DTMF
   483  // settings does not override each other. DTMF settings set at different levels
   484  // define DTMF detections running in parallel. Hierarchy:
   485  // Agent->Flow->Page->Fulfillment/Parameter.
   486  type GoogleCloudDialogflowCxV3AdvancedSettings struct {
   487  	// AudioExportGcsDestination: If present, incoming audio is exported by
   488  	// Dialogflow to the configured Google Cloud Storage destination. Exposed at
   489  	// the following levels: - Agent level - Flow level
   490  	AudioExportGcsDestination *GoogleCloudDialogflowCxV3GcsDestination `json:"audioExportGcsDestination,omitempty"`
   491  	// DtmfSettings: Settings for DTMF. Exposed at the following levels: - Agent
   492  	// level - Flow level - Page level - Parameter level.
   493  	DtmfSettings *GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings `json:"dtmfSettings,omitempty"`
   494  	// LoggingSettings: Settings for logging. Settings for Dialogflow History,
   495  	// Contact Center messages, StackDriver logs, and speech logging. Exposed at
   496  	// the following levels: - Agent level.
   497  	LoggingSettings *GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings `json:"loggingSettings,omitempty"`
   498  	// SpeechSettings: Settings for speech to text detection. Exposed at the
   499  	// following levels: - Agent level - Flow level - Page level - Parameter level
   500  	SpeechSettings *GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings `json:"speechSettings,omitempty"`
   501  	// ForceSendFields is a list of field names (e.g. "AudioExportGcsDestination")
   502  	// to unconditionally include in API requests. By default, fields with empty or
   503  	// default values are omitted from API requests. See
   504  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   505  	// details.
   506  	ForceSendFields []string `json:"-"`
   507  	// NullFields is a list of field names (e.g. "AudioExportGcsDestination") to
   508  	// include in API requests with the JSON null value. By default, fields with
   509  	// empty values are omitted from API requests. See
   510  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   511  	NullFields []string `json:"-"`
   512  }
   513  
   514  func (s *GoogleCloudDialogflowCxV3AdvancedSettings) MarshalJSON() ([]byte, error) {
   515  	type NoMethod GoogleCloudDialogflowCxV3AdvancedSettings
   516  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   517  }
   518  
   519  // GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings: Define behaviors for
   520  // DTMF (dual tone multi frequency).
   521  type GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings struct {
   522  	// Enabled: If true, incoming audio is processed for DTMF (dual tone multi
   523  	// frequency) events. For example, if the caller presses a button on their
   524  	// telephone keypad and DTMF processing is enabled, Dialogflow will detect the
   525  	// event (e.g. a "3" was pressed) in the incoming audio and pass the event to
   526  	// the bot to drive business logic (e.g. when 3 is pressed, return the account
   527  	// balance).
   528  	Enabled bool `json:"enabled,omitempty"`
   529  	// EndpointingTimeoutDuration: Endpoint timeout setting for matching dtmf input
   530  	// to regex.
   531  	EndpointingTimeoutDuration string `json:"endpointingTimeoutDuration,omitempty"`
   532  	// FinishDigit: The digit that terminates a DTMF digit sequence.
   533  	FinishDigit string `json:"finishDigit,omitempty"`
   534  	// InterdigitTimeoutDuration: Interdigit timeout setting for matching dtmf
   535  	// input to regex.
   536  	InterdigitTimeoutDuration string `json:"interdigitTimeoutDuration,omitempty"`
   537  	// MaxDigits: Max length of DTMF digits.
   538  	MaxDigits int64 `json:"maxDigits,omitempty"`
   539  	// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally
   540  	// include in API requests. By default, fields with empty or default values are
   541  	// omitted from API requests. See
   542  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   543  	// details.
   544  	ForceSendFields []string `json:"-"`
   545  	// NullFields is a list of field names (e.g. "Enabled") to include in API
   546  	// requests with the JSON null value. By default, fields with empty values are
   547  	// omitted from API requests. See
   548  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   549  	NullFields []string `json:"-"`
   550  }
   551  
   552  func (s *GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings) MarshalJSON() ([]byte, error) {
   553  	type NoMethod GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings
   554  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   555  }
   556  
   557  // GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings: Define behaviors
   558  // on logging.
   559  type GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings struct {
   560  	// EnableInteractionLogging: If true, DF Interaction logging is currently
   561  	// enabled.
   562  	EnableInteractionLogging bool `json:"enableInteractionLogging,omitempty"`
   563  	// EnableStackdriverLogging: If true, StackDriver logging is currently enabled.
   564  	EnableStackdriverLogging bool `json:"enableStackdriverLogging,omitempty"`
   565  	// ForceSendFields is a list of field names (e.g. "EnableInteractionLogging")
   566  	// to unconditionally include in API requests. By default, fields with empty or
   567  	// default values are omitted from API requests. See
   568  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   569  	// details.
   570  	ForceSendFields []string `json:"-"`
   571  	// NullFields is a list of field names (e.g. "EnableInteractionLogging") to
   572  	// include in API requests with the JSON null value. By default, fields with
   573  	// empty values are omitted from API requests. See
   574  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   575  	NullFields []string `json:"-"`
   576  }
   577  
   578  func (s *GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings) MarshalJSON() ([]byte, error) {
   579  	type NoMethod GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
   580  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   581  }
   582  
   583  // GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings: Define behaviors of
   584  // speech to text detection.
   585  type GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings struct {
   586  	// EndpointerSensitivity: Sensitivity of the speech model that detects the end
   587  	// of speech. Scale from 0 to 100.
   588  	EndpointerSensitivity int64 `json:"endpointerSensitivity,omitempty"`
   589  	// Models: Mapping from language to Speech-to-Text model. The mapped
   590  	// Speech-to-Text model will be selected for requests from its corresponding
   591  	// language. For more information, see Speech models
   592  	// (https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
   593  	Models map[string]string `json:"models,omitempty"`
   594  	// NoSpeechTimeout: Timeout before detecting no speech.
   595  	NoSpeechTimeout string `json:"noSpeechTimeout,omitempty"`
   596  	// UseTimeoutBasedEndpointing: Use timeout based endpointing, interpreting
   597  	// endpointer sensitivy as seconds of timeout value.
   598  	UseTimeoutBasedEndpointing bool `json:"useTimeoutBasedEndpointing,omitempty"`
   599  	// ForceSendFields is a list of field names (e.g. "EndpointerSensitivity") to
   600  	// unconditionally include in API requests. By default, fields with empty or
   601  	// default values are omitted from API requests. See
   602  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   603  	// details.
   604  	ForceSendFields []string `json:"-"`
   605  	// NullFields is a list of field names (e.g. "EndpointerSensitivity") to
   606  	// include in API requests with the JSON null value. By default, fields with
   607  	// empty values are omitted from API requests. See
   608  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   609  	NullFields []string `json:"-"`
   610  }
   611  
   612  func (s *GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings) MarshalJSON() ([]byte, error) {
   613  	type NoMethod GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings
   614  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   615  }
   616  
   617  // GoogleCloudDialogflowCxV3Agent: Agents are best described as Natural
   618  // Language Understanding (NLU) modules that transform user requests into
   619  // actionable data. You can include agents in your app, product, or service to
   620  // determine user intent and respond to the user in a natural way. After you
   621  // create an agent, you can add Intents, Entity Types, Flows, Fulfillments,
   622  // Webhooks, TransitionRouteGroups and so on to manage the conversation flows.
   623  type GoogleCloudDialogflowCxV3Agent struct {
   624  	// AdvancedSettings: Hierarchical advanced settings for this agent. The
   625  	// settings exposed at the lower level overrides the settings exposed at the
   626  	// higher level.
   627  	AdvancedSettings *GoogleCloudDialogflowCxV3AdvancedSettings `json:"advancedSettings,omitempty"`
   628  	// AnswerFeedbackSettings: Optional. Answer feedback collection settings.
   629  	AnswerFeedbackSettings *GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings `json:"answerFeedbackSettings,omitempty"`
   630  	// AvatarUri: The URI of the agent's avatar. Avatars are used throughout the
   631  	// Dialogflow console and in the self-hosted Web Demo
   632  	// (https://cloud.google.com/dialogflow/docs/integrations/web-demo)
   633  	// integration.
   634  	AvatarUri string `json:"avatarUri,omitempty"`
   635  	// DefaultLanguageCode: Required. Immutable. The default language of the agent
   636  	// as a language tag. See Language Support
   637  	// (https://cloud.google.com/dialogflow/cx/docs/reference/language) for a list
   638  	// of the currently supported language codes. This field cannot be set by the
   639  	// Agents.UpdateAgent method.
   640  	DefaultLanguageCode string `json:"defaultLanguageCode,omitempty"`
   641  	// Description: The description of the agent. The maximum length is 500
   642  	// characters. If exceeded, the request is rejected.
   643  	Description string `json:"description,omitempty"`
   644  	// DisplayName: Required. The human-readable name of the agent, unique within
   645  	// the location.
   646  	DisplayName string `json:"displayName,omitempty"`
   647  	// EnableMultiLanguageTraining: Optional. Enable training multi-lingual models
   648  	// for this agent. These models will be trained on all the languages supported
   649  	// by the agent.
   650  	EnableMultiLanguageTraining bool `json:"enableMultiLanguageTraining,omitempty"`
   651  	// EnableSpellCorrection: Indicates if automatic spell correction is enabled in
   652  	// detect intent requests.
   653  	EnableSpellCorrection bool `json:"enableSpellCorrection,omitempty"`
   654  	// EnableStackdriverLogging: Indicates if stackdriver logging is enabled for
   655  	// the agent. Please use agent.advanced_settings instead.
   656  	EnableStackdriverLogging bool `json:"enableStackdriverLogging,omitempty"`
   657  	// GenAppBuilderSettings: Gen App Builder-related agent-level settings.
   658  	GenAppBuilderSettings *GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings `json:"genAppBuilderSettings,omitempty"`
   659  	// GitIntegrationSettings: Git integration settings for this agent.
   660  	GitIntegrationSettings *GoogleCloudDialogflowCxV3AgentGitIntegrationSettings `json:"gitIntegrationSettings,omitempty"`
   661  	// Locked: Indicates whether the agent is locked for changes. If the agent is
   662  	// locked, modifications to the agent will be rejected except for RestoreAgent.
   663  	Locked bool `json:"locked,omitempty"`
   664  	// Name: The unique identifier of the agent. Required for the
   665  	// Agents.UpdateAgent method. Agents.CreateAgent populates the name
   666  	// automatically. Format: `projects//locations//agents/`.
   667  	Name string `json:"name,omitempty"`
   668  	// PersonalizationSettings: Optional. Settings for end user personalization.
   669  	PersonalizationSettings *GoogleCloudDialogflowCxV3AgentPersonalizationSettings `json:"personalizationSettings,omitempty"`
   670  	// SecuritySettings: Name of the SecuritySettings reference for the agent.
   671  	// Format: `projects//locations//securitySettings/`.
   672  	SecuritySettings string `json:"securitySettings,omitempty"`
   673  	// SpeechToTextSettings: Speech recognition related settings.
   674  	SpeechToTextSettings *GoogleCloudDialogflowCxV3SpeechToTextSettings `json:"speechToTextSettings,omitempty"`
   675  	// StartFlow: Immutable. Name of the start flow in this agent. A start flow
   676  	// will be automatically created when the agent is created, and can only be
   677  	// deleted by deleting the agent. Format:
   678  	// `projects//locations//agents//flows/`.
   679  	StartFlow string `json:"startFlow,omitempty"`
   680  	// SupportedLanguageCodes: The list of all languages supported by the agent
   681  	// (except for the `default_language_code`).
   682  	SupportedLanguageCodes []string `json:"supportedLanguageCodes,omitempty"`
   683  	// TextToSpeechSettings: Settings on instructing the speech synthesizer on how
   684  	// to generate the output audio content.
   685  	TextToSpeechSettings *GoogleCloudDialogflowCxV3TextToSpeechSettings `json:"textToSpeechSettings,omitempty"`
   686  	// TimeZone: Required. The time zone of the agent from the time zone database
   687  	// (https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris.
   688  	TimeZone string `json:"timeZone,omitempty"`
   689  
   690  	// ServerResponse contains the HTTP response code and headers from the server.
   691  	googleapi.ServerResponse `json:"-"`
   692  	// ForceSendFields is a list of field names (e.g. "AdvancedSettings") to
   693  	// unconditionally include in API requests. By default, fields with empty or
   694  	// default values are omitted from API requests. See
   695  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   696  	// details.
   697  	ForceSendFields []string `json:"-"`
   698  	// NullFields is a list of field names (e.g. "AdvancedSettings") to include in
   699  	// API requests with the JSON null value. By default, fields with empty values
   700  	// are omitted from API requests. See
   701  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   702  	NullFields []string `json:"-"`
   703  }
   704  
   705  func (s *GoogleCloudDialogflowCxV3Agent) MarshalJSON() ([]byte, error) {
   706  	type NoMethod GoogleCloudDialogflowCxV3Agent
   707  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   708  }
   709  
   710  // GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings: Settings for answer
   711  // feedback collection.
   712  type GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings struct {
   713  	// EnableAnswerFeedback: Optional. If enabled, end users will be able to
   714  	// provide answer feedback to Dialogflow responses. Feature works only if
   715  	// interaction logging is enabled in the Dialogflow agent.
   716  	EnableAnswerFeedback bool `json:"enableAnswerFeedback,omitempty"`
   717  	// ForceSendFields is a list of field names (e.g. "EnableAnswerFeedback") to
   718  	// unconditionally include in API requests. By default, fields with empty or
   719  	// default values are omitted from API requests. See
   720  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   721  	// details.
   722  	ForceSendFields []string `json:"-"`
   723  	// NullFields is a list of field names (e.g. "EnableAnswerFeedback") to include
   724  	// in API requests with the JSON null value. By default, fields with empty
   725  	// values are omitted from API requests. See
   726  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   727  	NullFields []string `json:"-"`
   728  }
   729  
   730  func (s *GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings) MarshalJSON() ([]byte, error) {
   731  	type NoMethod GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings
   732  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   733  }
   734  
   735  // GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings: Settings for Gen App
   736  // Builder.
   737  type GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings struct {
   738  	// Engine: Required. The full name of the Gen App Builder engine related to
   739  	// this agent if there is one. Format: `projects/{Project
   740  	// ID}/locations/{Location ID}/collections/{Collection ID}/engines/{Engine ID}`
   741  	Engine string `json:"engine,omitempty"`
   742  	// ForceSendFields is a list of field names (e.g. "Engine") to unconditionally
   743  	// include in API requests. By default, fields with empty or default values are
   744  	// omitted from API requests. See
   745  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   746  	// details.
   747  	ForceSendFields []string `json:"-"`
   748  	// NullFields is a list of field names (e.g. "Engine") to include in API
   749  	// requests with the JSON null value. By default, fields with empty values are
   750  	// omitted from API requests. See
   751  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   752  	NullFields []string `json:"-"`
   753  }
   754  
   755  func (s *GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings) MarshalJSON() ([]byte, error) {
   756  	type NoMethod GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings
   757  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   758  }
   759  
   760  // GoogleCloudDialogflowCxV3AgentGitIntegrationSettings: Settings for
   761  // connecting to Git repository for an agent.
   762  type GoogleCloudDialogflowCxV3AgentGitIntegrationSettings struct {
   763  	// GithubSettings: GitHub settings.
   764  	GithubSettings *GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings `json:"githubSettings,omitempty"`
   765  	// ForceSendFields is a list of field names (e.g. "GithubSettings") to
   766  	// unconditionally include in API requests. By default, fields with empty or
   767  	// default values are omitted from API requests. See
   768  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   769  	// details.
   770  	ForceSendFields []string `json:"-"`
   771  	// NullFields is a list of field names (e.g. "GithubSettings") to include in
   772  	// API requests with the JSON null value. By default, fields with empty values
   773  	// are omitted from API requests. See
   774  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   775  	NullFields []string `json:"-"`
   776  }
   777  
   778  func (s *GoogleCloudDialogflowCxV3AgentGitIntegrationSettings) MarshalJSON() ([]byte, error) {
   779  	type NoMethod GoogleCloudDialogflowCxV3AgentGitIntegrationSettings
   780  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   781  }
   782  
   783  // GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings: Settings
   784  // of integration with GitHub.
   785  type GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings struct {
   786  	// AccessToken: The access token used to authenticate the access to the GitHub
   787  	// repository.
   788  	AccessToken string `json:"accessToken,omitempty"`
   789  	// Branches: A list of branches configured to be used from Dialogflow.
   790  	Branches []string `json:"branches,omitempty"`
   791  	// DisplayName: The unique repository display name for the GitHub repository.
   792  	DisplayName string `json:"displayName,omitempty"`
   793  	// RepositoryUri: The GitHub repository URI related to the agent.
   794  	RepositoryUri string `json:"repositoryUri,omitempty"`
   795  	// TrackingBranch: The branch of the GitHub repository tracked for this agent.
   796  	TrackingBranch string `json:"trackingBranch,omitempty"`
   797  	// ForceSendFields is a list of field names (e.g. "AccessToken") to
   798  	// unconditionally include in API requests. By default, fields with empty or
   799  	// default values are omitted from API requests. See
   800  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   801  	// details.
   802  	ForceSendFields []string `json:"-"`
   803  	// NullFields is a list of field names (e.g. "AccessToken") to include in API
   804  	// requests with the JSON null value. By default, fields with empty values are
   805  	// omitted from API requests. See
   806  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   807  	NullFields []string `json:"-"`
   808  }
   809  
   810  func (s *GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings) MarshalJSON() ([]byte, error) {
   811  	type NoMethod GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings
   812  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   813  }
   814  
   815  // GoogleCloudDialogflowCxV3AgentPersonalizationSettings: Settings for end user
   816  // personalization.
   817  type GoogleCloudDialogflowCxV3AgentPersonalizationSettings struct {
   818  	// DefaultEndUserMetadata: Optional. Default end user metadata, used when
   819  	// processing DetectIntent requests. Recommended to be filled as a template
   820  	// instead of hard-coded value, for example { "age": "$session.params.age" }.
   821  	// The data will be merged with the QueryParameters.end_user_metadata in
   822  	// DetectIntentRequest.query_params during query processing.
   823  	DefaultEndUserMetadata googleapi.RawMessage `json:"defaultEndUserMetadata,omitempty"`
   824  	// ForceSendFields is a list of field names (e.g. "DefaultEndUserMetadata") to
   825  	// unconditionally include in API requests. By default, fields with empty or
   826  	// default values are omitted from API requests. See
   827  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   828  	// details.
   829  	ForceSendFields []string `json:"-"`
   830  	// NullFields is a list of field names (e.g. "DefaultEndUserMetadata") to
   831  	// include in API requests with the JSON null value. By default, fields with
   832  	// empty values are omitted from API requests. See
   833  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   834  	NullFields []string `json:"-"`
   835  }
   836  
   837  func (s *GoogleCloudDialogflowCxV3AgentPersonalizationSettings) MarshalJSON() ([]byte, error) {
   838  	type NoMethod GoogleCloudDialogflowCxV3AgentPersonalizationSettings
   839  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   840  }
   841  
   842  // GoogleCloudDialogflowCxV3AgentValidationResult: The response message for
   843  // Agents.GetAgentValidationResult.
   844  type GoogleCloudDialogflowCxV3AgentValidationResult struct {
   845  	// FlowValidationResults: Contains all flow validation results.
   846  	FlowValidationResults []*GoogleCloudDialogflowCxV3FlowValidationResult `json:"flowValidationResults,omitempty"`
   847  	// Name: The unique identifier of the agent validation result. Format:
   848  	// `projects//locations//agents//validationResult`.
   849  	Name string `json:"name,omitempty"`
   850  
   851  	// ServerResponse contains the HTTP response code and headers from the server.
   852  	googleapi.ServerResponse `json:"-"`
   853  	// ForceSendFields is a list of field names (e.g. "FlowValidationResults") to
   854  	// unconditionally include in API requests. By default, fields with empty or
   855  	// default values are omitted from API requests. See
   856  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   857  	// details.
   858  	ForceSendFields []string `json:"-"`
   859  	// NullFields is a list of field names (e.g. "FlowValidationResults") to
   860  	// include in API requests with the JSON null value. By default, fields with
   861  	// empty values are omitted from API requests. See
   862  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   863  	NullFields []string `json:"-"`
   864  }
   865  
   866  func (s *GoogleCloudDialogflowCxV3AgentValidationResult) MarshalJSON() ([]byte, error) {
   867  	type NoMethod GoogleCloudDialogflowCxV3AgentValidationResult
   868  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   869  }
   870  
   871  // GoogleCloudDialogflowCxV3AnswerFeedback: Stores information about feedback
   872  // provided by users about a response.
   873  type GoogleCloudDialogflowCxV3AnswerFeedback struct {
   874  	// CustomRating: Optional. Custom rating from the user about the provided
   875  	// answer, with maximum length of 1024 characters. For example, client could
   876  	// use a customized JSON object to indicate the rating.
   877  	CustomRating string `json:"customRating,omitempty"`
   878  	// Rating: Optional. Rating from user for the specific Dialogflow response.
   879  	//
   880  	// Possible values:
   881  	//   "RATING_UNSPECIFIED" - Rating not specified.
   882  	//   "THUMBS_UP" - Thumbs up feedback from user.
   883  	//   "THUMBS_DOWN" - Thumbs down feedback from user.
   884  	Rating string `json:"rating,omitempty"`
   885  	// RatingReason: Optional. In case of thumbs down rating provided, users can
   886  	// optionally provide context about the rating.
   887  	RatingReason *GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason `json:"ratingReason,omitempty"`
   888  
   889  	// ServerResponse contains the HTTP response code and headers from the server.
   890  	googleapi.ServerResponse `json:"-"`
   891  	// ForceSendFields is a list of field names (e.g. "CustomRating") to
   892  	// unconditionally include in API requests. By default, fields with empty or
   893  	// default values are omitted from API requests. See
   894  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   895  	// details.
   896  	ForceSendFields []string `json:"-"`
   897  	// NullFields is a list of field names (e.g. "CustomRating") to include in API
   898  	// requests with the JSON null value. By default, fields with empty values are
   899  	// omitted from API requests. See
   900  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   901  	NullFields []string `json:"-"`
   902  }
   903  
   904  func (s *GoogleCloudDialogflowCxV3AnswerFeedback) MarshalJSON() ([]byte, error) {
   905  	type NoMethod GoogleCloudDialogflowCxV3AnswerFeedback
   906  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   907  }
   908  
   909  // GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason: Stores extra
   910  // information about why users provided thumbs down rating.
   911  type GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason struct {
   912  	// Feedback: Optional. Additional feedback about the rating. This field can be
   913  	// populated without choosing a predefined `reason`.
   914  	Feedback string `json:"feedback,omitempty"`
   915  	// ReasonLabels: Optional. Custom reason labels for thumbs down rating provided
   916  	// by the user. The maximum number of labels allowed is 10 and the maximum
   917  	// length of a single label is 128 characters.
   918  	ReasonLabels []string `json:"reasonLabels,omitempty"`
   919  	// ForceSendFields is a list of field names (e.g. "Feedback") to
   920  	// unconditionally include in API requests. By default, fields with empty or
   921  	// default values are omitted from API requests. See
   922  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   923  	// details.
   924  	ForceSendFields []string `json:"-"`
   925  	// NullFields is a list of field names (e.g. "Feedback") to include in API
   926  	// requests with the JSON null value. By default, fields with empty values are
   927  	// omitted from API requests. See
   928  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   929  	NullFields []string `json:"-"`
   930  }
   931  
   932  func (s *GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason) MarshalJSON() ([]byte, error) {
   933  	type NoMethod GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason
   934  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   935  }
   936  
   937  // GoogleCloudDialogflowCxV3AudioInput: Represents the natural speech audio to
   938  // be processed.
   939  type GoogleCloudDialogflowCxV3AudioInput struct {
   940  	// Audio: The natural language speech audio to be processed. A single request
   941  	// can contain up to 2 minutes of speech audio data. The transcribed text
   942  	// cannot contain more than 256 bytes. For non-streaming audio detect intent,
   943  	// both `config` and `audio` must be provided. For streaming audio detect
   944  	// intent, `config` must be provided in the first request and `audio` must be
   945  	// provided in all following requests.
   946  	Audio string `json:"audio,omitempty"`
   947  	// Config: Required. Instructs the speech recognizer how to process the speech
   948  	// audio.
   949  	Config *GoogleCloudDialogflowCxV3InputAudioConfig `json:"config,omitempty"`
   950  	// ForceSendFields is a list of field names (e.g. "Audio") to unconditionally
   951  	// include in API requests. By default, fields with empty or default values are
   952  	// omitted from API requests. See
   953  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   954  	// details.
   955  	ForceSendFields []string `json:"-"`
   956  	// NullFields is a list of field names (e.g. "Audio") to include in API
   957  	// requests with the JSON null value. By default, fields with empty values are
   958  	// omitted from API requests. See
   959  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
   960  	NullFields []string `json:"-"`
   961  }
   962  
   963  func (s *GoogleCloudDialogflowCxV3AudioInput) MarshalJSON() ([]byte, error) {
   964  	type NoMethod GoogleCloudDialogflowCxV3AudioInput
   965  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
   966  }
   967  
   968  // GoogleCloudDialogflowCxV3BargeInConfig: Configuration of the barge-in
   969  // behavior. Barge-in instructs the API to return a detected utterance at a
   970  // proper time while the client is playing back the response audio from a
   971  // previous request. When the client sees the utterance, it should stop the
   972  // playback and immediately get ready for receiving the responses for the
   973  // current request. The barge-in handling requires the client to start
   974  // streaming audio input as soon as it starts playing back the audio from the
   975  // previous response. The playback is modeled into two phases: * No barge-in
   976  // phase: which goes first and during which speech detection should not be
   977  // carried out. * Barge-in phase: which follows the no barge-in phase and
   978  // during which the API starts speech detection and may inform the client that
   979  // an utterance has been detected. Note that no-speech event is not expected in
   980  // this phase. The client provides this configuration in terms of the durations
   981  // of those two phases. The durations are measured in terms of the audio length
   982  // from the the start of the input audio. No-speech event is a response with
   983  // END_OF_UTTERANCE without any transcript following up.
   984  type GoogleCloudDialogflowCxV3BargeInConfig struct {
   985  	// NoBargeInDuration: Duration that is not eligible for barge-in at the
   986  	// beginning of the input audio.
   987  	NoBargeInDuration string `json:"noBargeInDuration,omitempty"`
   988  	// TotalDuration: Total duration for the playback at the beginning of the input
   989  	// audio.
   990  	TotalDuration string `json:"totalDuration,omitempty"`
   991  	// ForceSendFields is a list of field names (e.g. "NoBargeInDuration") to
   992  	// unconditionally include in API requests. By default, fields with empty or
   993  	// default values are omitted from API requests. See
   994  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
   995  	// details.
   996  	ForceSendFields []string `json:"-"`
   997  	// NullFields is a list of field names (e.g. "NoBargeInDuration") to include in
   998  	// API requests with the JSON null value. By default, fields with empty values
   999  	// are omitted from API requests. See
  1000  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1001  	NullFields []string `json:"-"`
  1002  }
  1003  
  1004  func (s *GoogleCloudDialogflowCxV3BargeInConfig) MarshalJSON() ([]byte, error) {
  1005  	type NoMethod GoogleCloudDialogflowCxV3BargeInConfig
  1006  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1007  }
  1008  
  1009  // GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest: The request message
  1010  // for TestCases.BatchDeleteTestCases.
  1011  type GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest struct {
  1012  	// Names: Required. Format of test case names: `projects//locations/
  1013  	// /agents//testCases/`.
  1014  	Names []string `json:"names,omitempty"`
  1015  	// ForceSendFields is a list of field names (e.g. "Names") to unconditionally
  1016  	// include in API requests. By default, fields with empty or default values are
  1017  	// omitted from API requests. See
  1018  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1019  	// details.
  1020  	ForceSendFields []string `json:"-"`
  1021  	// NullFields is a list of field names (e.g. "Names") to include in API
  1022  	// requests with the JSON null value. By default, fields with empty values are
  1023  	// omitted from API requests. See
  1024  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1025  	NullFields []string `json:"-"`
  1026  }
  1027  
  1028  func (s *GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest) MarshalJSON() ([]byte, error) {
  1029  	type NoMethod GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest
  1030  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1031  }
  1032  
  1033  // GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata: Metadata returned for
  1034  // the TestCases.BatchRunTestCases long running operation.
  1035  type GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata struct {
  1036  	// Errors: The test errors.
  1037  	Errors []*GoogleCloudDialogflowCxV3TestError `json:"errors,omitempty"`
  1038  	// ForceSendFields is a list of field names (e.g. "Errors") to unconditionally
  1039  	// include in API requests. By default, fields with empty or default values are
  1040  	// omitted from API requests. See
  1041  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1042  	// details.
  1043  	ForceSendFields []string `json:"-"`
  1044  	// NullFields is a list of field names (e.g. "Errors") to include in API
  1045  	// requests with the JSON null value. By default, fields with empty values are
  1046  	// omitted from API requests. See
  1047  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1048  	NullFields []string `json:"-"`
  1049  }
  1050  
  1051  func (s *GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata) MarshalJSON() ([]byte, error) {
  1052  	type NoMethod GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata
  1053  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1054  }
  1055  
  1056  // GoogleCloudDialogflowCxV3BatchRunTestCasesRequest: The request message for
  1057  // TestCases.BatchRunTestCases.
  1058  type GoogleCloudDialogflowCxV3BatchRunTestCasesRequest struct {
  1059  	// Environment: Optional. If not set, draft environment is assumed. Format:
  1060  	// `projects//locations//agents//environments/`.
  1061  	Environment string `json:"environment,omitempty"`
  1062  	// TestCases: Required. Format: `projects//locations//agents//testCases/`.
  1063  	TestCases []string `json:"testCases,omitempty"`
  1064  	// ForceSendFields is a list of field names (e.g. "Environment") to
  1065  	// unconditionally include in API requests. By default, fields with empty or
  1066  	// default values are omitted from API requests. See
  1067  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1068  	// details.
  1069  	ForceSendFields []string `json:"-"`
  1070  	// NullFields is a list of field names (e.g. "Environment") to include in API
  1071  	// requests with the JSON null value. By default, fields with empty values are
  1072  	// omitted from API requests. See
  1073  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1074  	NullFields []string `json:"-"`
  1075  }
  1076  
  1077  func (s *GoogleCloudDialogflowCxV3BatchRunTestCasesRequest) MarshalJSON() ([]byte, error) {
  1078  	type NoMethod GoogleCloudDialogflowCxV3BatchRunTestCasesRequest
  1079  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1080  }
  1081  
  1082  // GoogleCloudDialogflowCxV3BatchRunTestCasesResponse: The response message for
  1083  // TestCases.BatchRunTestCases.
  1084  type GoogleCloudDialogflowCxV3BatchRunTestCasesResponse struct {
  1085  	// Results: The test case results. The detailed conversation turns are empty in
  1086  	// this response.
  1087  	Results []*GoogleCloudDialogflowCxV3TestCaseResult `json:"results,omitempty"`
  1088  	// ForceSendFields is a list of field names (e.g. "Results") to unconditionally
  1089  	// include in API requests. By default, fields with empty or default values are
  1090  	// omitted from API requests. See
  1091  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1092  	// details.
  1093  	ForceSendFields []string `json:"-"`
  1094  	// NullFields is a list of field names (e.g. "Results") to include in API
  1095  	// requests with the JSON null value. By default, fields with empty values are
  1096  	// omitted from API requests. See
  1097  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1098  	NullFields []string `json:"-"`
  1099  }
  1100  
  1101  func (s *GoogleCloudDialogflowCxV3BatchRunTestCasesResponse) MarshalJSON() ([]byte, error) {
  1102  	type NoMethod GoogleCloudDialogflowCxV3BatchRunTestCasesResponse
  1103  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1104  }
  1105  
  1106  // GoogleCloudDialogflowCxV3BoostSpec: Boost specification to boost certain
  1107  // documents. A copy of google.cloud.discoveryengine.v1main.BoostSpec, field
  1108  // documentation is available at
  1109  // https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/BoostSpec
  1110  type GoogleCloudDialogflowCxV3BoostSpec struct {
  1111  	// ConditionBoostSpecs: Optional. Condition boost specifications. If a document
  1112  	// matches multiple conditions in the specifictions, boost scores from these
  1113  	// specifications are all applied and combined in a non-linear way. Maximum
  1114  	// number of specifications is 20.
  1115  	ConditionBoostSpecs []*GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec `json:"conditionBoostSpecs,omitempty"`
  1116  	// ForceSendFields is a list of field names (e.g. "ConditionBoostSpecs") to
  1117  	// unconditionally include in API requests. By default, fields with empty or
  1118  	// default values are omitted from API requests. See
  1119  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1120  	// details.
  1121  	ForceSendFields []string `json:"-"`
  1122  	// NullFields is a list of field names (e.g. "ConditionBoostSpecs") to include
  1123  	// in API requests with the JSON null value. By default, fields with empty
  1124  	// values are omitted from API requests. See
  1125  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1126  	NullFields []string `json:"-"`
  1127  }
  1128  
  1129  func (s *GoogleCloudDialogflowCxV3BoostSpec) MarshalJSON() ([]byte, error) {
  1130  	type NoMethod GoogleCloudDialogflowCxV3BoostSpec
  1131  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1132  }
  1133  
  1134  // GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec: Boost applies to
  1135  // documents which match a condition.
  1136  type GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec struct {
  1137  	// Boost: Optional. Strength of the condition boost, which should be in [-1,
  1138  	// 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the
  1139  	// document a big promotion. However, it does not necessarily mean that the
  1140  	// boosted document will be the top result at all times, nor that other
  1141  	// documents will be excluded. Results could still be shown even when none of
  1142  	// them matches the condition. And results that are significantly more relevant
  1143  	// to the search query can still trump your heavily favored but irrelevant
  1144  	// documents. Setting to -1.0 gives the document a big demotion. However,
  1145  	// results that are deeply relevant might still be shown. The document will
  1146  	// have an upstream battle to get a fairly high ranking, but it is not blocked
  1147  	// out completely. Setting to 0.0 means no boost applied. The boosting
  1148  	// condition is ignored.
  1149  	Boost float64 `json:"boost,omitempty"`
  1150  	// Condition: Optional. An expression which specifies a boost condition. The
  1151  	// syntax and supported fields are the same as a filter expression. Examples: *
  1152  	// To boost documents with document ID "doc_1" or "doc_2", and color "Red" or
  1153  	// "Blue": * (id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue"))
  1154  	Condition string `json:"condition,omitempty"`
  1155  	// ForceSendFields is a list of field names (e.g. "Boost") to unconditionally
  1156  	// include in API requests. By default, fields with empty or default values are
  1157  	// omitted from API requests. See
  1158  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1159  	// details.
  1160  	ForceSendFields []string `json:"-"`
  1161  	// NullFields is a list of field names (e.g. "Boost") to include in API
  1162  	// requests with the JSON null value. By default, fields with empty values are
  1163  	// omitted from API requests. See
  1164  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1165  	NullFields []string `json:"-"`
  1166  }
  1167  
  1168  func (s *GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec) MarshalJSON() ([]byte, error) {
  1169  	type NoMethod GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec
  1170  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1171  }
  1172  
  1173  func (s *GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec) UnmarshalJSON(data []byte) error {
  1174  	type NoMethod GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec
  1175  	var s1 struct {
  1176  		Boost gensupport.JSONFloat64 `json:"boost"`
  1177  		*NoMethod
  1178  	}
  1179  	s1.NoMethod = (*NoMethod)(s)
  1180  	if err := json.Unmarshal(data, &s1); err != nil {
  1181  		return err
  1182  	}
  1183  	s.Boost = float64(s1.Boost)
  1184  	return nil
  1185  }
  1186  
  1187  // GoogleCloudDialogflowCxV3BoostSpecs: Boost specifications for data stores.
  1188  type GoogleCloudDialogflowCxV3BoostSpecs struct {
  1189  	// DataStores: Optional. Data Stores where the boosting configuration is
  1190  	// applied. The full names of the referenced data stores. Formats:
  1191  	// `projects/{project}/locations/{location}/collections/{collection}/dataStores/
  1192  	// {data_store}`
  1193  	// `projects/{project}/locations/{location}/dataStores/{data_store}`
  1194  	DataStores []string `json:"dataStores,omitempty"`
  1195  	// Spec: Optional. A list of boosting specifications.
  1196  	Spec []*GoogleCloudDialogflowCxV3BoostSpec `json:"spec,omitempty"`
  1197  	// ForceSendFields is a list of field names (e.g. "DataStores") to
  1198  	// unconditionally include in API requests. By default, fields with empty or
  1199  	// default values are omitted from API requests. See
  1200  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1201  	// details.
  1202  	ForceSendFields []string `json:"-"`
  1203  	// NullFields is a list of field names (e.g. "DataStores") to include in API
  1204  	// requests with the JSON null value. By default, fields with empty values are
  1205  	// omitted from API requests. See
  1206  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1207  	NullFields []string `json:"-"`
  1208  }
  1209  
  1210  func (s *GoogleCloudDialogflowCxV3BoostSpecs) MarshalJSON() ([]byte, error) {
  1211  	type NoMethod GoogleCloudDialogflowCxV3BoostSpecs
  1212  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1213  }
  1214  
  1215  // GoogleCloudDialogflowCxV3CalculateCoverageResponse: The response message for
  1216  // TestCases.CalculateCoverage.
  1217  type GoogleCloudDialogflowCxV3CalculateCoverageResponse struct {
  1218  	// Agent: The agent to calculate coverage for. Format:
  1219  	// `projects//locations//agents/`.
  1220  	Agent string `json:"agent,omitempty"`
  1221  	// IntentCoverage: Intent coverage.
  1222  	IntentCoverage *GoogleCloudDialogflowCxV3IntentCoverage `json:"intentCoverage,omitempty"`
  1223  	// RouteGroupCoverage: Transition route group coverage.
  1224  	RouteGroupCoverage *GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage `json:"routeGroupCoverage,omitempty"`
  1225  	// TransitionCoverage: Transition (excluding transition route groups) coverage.
  1226  	TransitionCoverage *GoogleCloudDialogflowCxV3TransitionCoverage `json:"transitionCoverage,omitempty"`
  1227  
  1228  	// ServerResponse contains the HTTP response code and headers from the server.
  1229  	googleapi.ServerResponse `json:"-"`
  1230  	// ForceSendFields is a list of field names (e.g. "Agent") to unconditionally
  1231  	// include in API requests. By default, fields with empty or default values are
  1232  	// omitted from API requests. See
  1233  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1234  	// details.
  1235  	ForceSendFields []string `json:"-"`
  1236  	// NullFields is a list of field names (e.g. "Agent") to include in API
  1237  	// requests with the JSON null value. By default, fields with empty values are
  1238  	// omitted from API requests. See
  1239  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1240  	NullFields []string `json:"-"`
  1241  }
  1242  
  1243  func (s *GoogleCloudDialogflowCxV3CalculateCoverageResponse) MarshalJSON() ([]byte, error) {
  1244  	type NoMethod GoogleCloudDialogflowCxV3CalculateCoverageResponse
  1245  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1246  }
  1247  
  1248  // GoogleCloudDialogflowCxV3Changelog: Changelogs represents a change made to a
  1249  // given agent.
  1250  type GoogleCloudDialogflowCxV3Changelog struct {
  1251  	// Action: The action of the change.
  1252  	Action string `json:"action,omitempty"`
  1253  	// CreateTime: The timestamp of the change.
  1254  	CreateTime string `json:"createTime,omitempty"`
  1255  	// DisplayName: The affected resource display name of the change.
  1256  	DisplayName string `json:"displayName,omitempty"`
  1257  	// LanguageCode: The affected language code of the change.
  1258  	LanguageCode string `json:"languageCode,omitempty"`
  1259  	// Name: The unique identifier of the changelog. Format:
  1260  	// `projects//locations//agents//changelogs/`.
  1261  	Name string `json:"name,omitempty"`
  1262  	// Resource: The affected resource name of the change.
  1263  	Resource string `json:"resource,omitempty"`
  1264  	// Type: The affected resource type.
  1265  	Type string `json:"type,omitempty"`
  1266  	// UserEmail: Email address of the authenticated user.
  1267  	UserEmail string `json:"userEmail,omitempty"`
  1268  
  1269  	// ServerResponse contains the HTTP response code and headers from the server.
  1270  	googleapi.ServerResponse `json:"-"`
  1271  	// ForceSendFields is a list of field names (e.g. "Action") to unconditionally
  1272  	// include in API requests. By default, fields with empty or default values are
  1273  	// omitted from API requests. See
  1274  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1275  	// details.
  1276  	ForceSendFields []string `json:"-"`
  1277  	// NullFields is a list of field names (e.g. "Action") to include in API
  1278  	// requests with the JSON null value. By default, fields with empty values are
  1279  	// omitted from API requests. See
  1280  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1281  	NullFields []string `json:"-"`
  1282  }
  1283  
  1284  func (s *GoogleCloudDialogflowCxV3Changelog) MarshalJSON() ([]byte, error) {
  1285  	type NoMethod GoogleCloudDialogflowCxV3Changelog
  1286  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1287  }
  1288  
  1289  // GoogleCloudDialogflowCxV3CompareVersionsRequest: The request message for
  1290  // Versions.CompareVersions.
  1291  type GoogleCloudDialogflowCxV3CompareVersionsRequest struct {
  1292  	// LanguageCode: The language to compare the flow versions for. If not
  1293  	// specified, the agent's default language is used. Many languages
  1294  	// (https://cloud.google.com/dialogflow/docs/reference/language) are supported.
  1295  	// Note: languages must be enabled in the agent before they can be used.
  1296  	LanguageCode string `json:"languageCode,omitempty"`
  1297  	// TargetVersion: Required. Name of the target flow version to compare with the
  1298  	// base version. Use version ID `0` to indicate the draft version of the
  1299  	// specified flow. Format: `projects//locations//agents//flows//versions/`.
  1300  	TargetVersion string `json:"targetVersion,omitempty"`
  1301  	// ForceSendFields is a list of field names (e.g. "LanguageCode") to
  1302  	// unconditionally include in API requests. By default, fields with empty or
  1303  	// default values are omitted from API requests. See
  1304  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1305  	// details.
  1306  	ForceSendFields []string `json:"-"`
  1307  	// NullFields is a list of field names (e.g. "LanguageCode") to include in API
  1308  	// requests with the JSON null value. By default, fields with empty values are
  1309  	// omitted from API requests. See
  1310  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1311  	NullFields []string `json:"-"`
  1312  }
  1313  
  1314  func (s *GoogleCloudDialogflowCxV3CompareVersionsRequest) MarshalJSON() ([]byte, error) {
  1315  	type NoMethod GoogleCloudDialogflowCxV3CompareVersionsRequest
  1316  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1317  }
  1318  
  1319  // GoogleCloudDialogflowCxV3CompareVersionsResponse: The response message for
  1320  // Versions.CompareVersions.
  1321  type GoogleCloudDialogflowCxV3CompareVersionsResponse struct {
  1322  	// BaseVersionContentJson: JSON representation of the base version content.
  1323  	BaseVersionContentJson string `json:"baseVersionContentJson,omitempty"`
  1324  	// CompareTime: The timestamp when the two version compares.
  1325  	CompareTime string `json:"compareTime,omitempty"`
  1326  	// TargetVersionContentJson: JSON representation of the target version content.
  1327  	TargetVersionContentJson string `json:"targetVersionContentJson,omitempty"`
  1328  
  1329  	// ServerResponse contains the HTTP response code and headers from the server.
  1330  	googleapi.ServerResponse `json:"-"`
  1331  	// ForceSendFields is a list of field names (e.g. "BaseVersionContentJson") to
  1332  	// unconditionally include in API requests. By default, fields with empty or
  1333  	// default values are omitted from API requests. See
  1334  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1335  	// details.
  1336  	ForceSendFields []string `json:"-"`
  1337  	// NullFields is a list of field names (e.g. "BaseVersionContentJson") to
  1338  	// include in API requests with the JSON null value. By default, fields with
  1339  	// empty values are omitted from API requests. See
  1340  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1341  	NullFields []string `json:"-"`
  1342  }
  1343  
  1344  func (s *GoogleCloudDialogflowCxV3CompareVersionsResponse) MarshalJSON() ([]byte, error) {
  1345  	type NoMethod GoogleCloudDialogflowCxV3CompareVersionsResponse
  1346  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1347  }
  1348  
  1349  // GoogleCloudDialogflowCxV3ContinuousTestResult: Represents a result from
  1350  // running a test case in an agent environment.
  1351  type GoogleCloudDialogflowCxV3ContinuousTestResult struct {
  1352  	// Name: The resource name for the continuous test result. Format:
  1353  	// `projects//locations//agents//environments//continuousTestResults/`.
  1354  	Name string `json:"name,omitempty"`
  1355  	// Result: The result of this continuous test run, i.e. whether all the tests
  1356  	// in this continuous test run pass or not.
  1357  	//
  1358  	// Possible values:
  1359  	//   "AGGREGATED_TEST_RESULT_UNSPECIFIED" - Not specified. Should never be
  1360  	// used.
  1361  	//   "PASSED" - All the tests passed.
  1362  	//   "FAILED" - At least one test did not pass.
  1363  	Result string `json:"result,omitempty"`
  1364  	// RunTime: Time when the continuous testing run starts.
  1365  	RunTime string `json:"runTime,omitempty"`
  1366  	// TestCaseResults: A list of individual test case results names in this
  1367  	// continuous test run.
  1368  	TestCaseResults []string `json:"testCaseResults,omitempty"`
  1369  	// ForceSendFields is a list of field names (e.g. "Name") to unconditionally
  1370  	// include in API requests. By default, fields with empty or default values are
  1371  	// omitted from API requests. See
  1372  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1373  	// details.
  1374  	ForceSendFields []string `json:"-"`
  1375  	// NullFields is a list of field names (e.g. "Name") to include in API requests
  1376  	// with the JSON null value. By default, fields with empty values are omitted
  1377  	// from API requests. See
  1378  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1379  	NullFields []string `json:"-"`
  1380  }
  1381  
  1382  func (s *GoogleCloudDialogflowCxV3ContinuousTestResult) MarshalJSON() ([]byte, error) {
  1383  	type NoMethod GoogleCloudDialogflowCxV3ContinuousTestResult
  1384  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1385  }
  1386  
  1387  // GoogleCloudDialogflowCxV3ConversationSignals: This message is used to hold
  1388  // all the Conversation Signals data, which will be converted to JSON and
  1389  // exported to BigQuery.
  1390  type GoogleCloudDialogflowCxV3ConversationSignals struct {
  1391  	// TurnSignals: Required. Turn signals for the current turn.
  1392  	TurnSignals *GoogleCloudDialogflowCxV3TurnSignals `json:"turnSignals,omitempty"`
  1393  	// ForceSendFields is a list of field names (e.g. "TurnSignals") to
  1394  	// unconditionally include in API requests. By default, fields with empty or
  1395  	// default values are omitted from API requests. See
  1396  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1397  	// details.
  1398  	ForceSendFields []string `json:"-"`
  1399  	// NullFields is a list of field names (e.g. "TurnSignals") to include in API
  1400  	// requests with the JSON null value. By default, fields with empty values are
  1401  	// omitted from API requests. See
  1402  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1403  	NullFields []string `json:"-"`
  1404  }
  1405  
  1406  func (s *GoogleCloudDialogflowCxV3ConversationSignals) MarshalJSON() ([]byte, error) {
  1407  	type NoMethod GoogleCloudDialogflowCxV3ConversationSignals
  1408  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1409  }
  1410  
  1411  // GoogleCloudDialogflowCxV3ConversationTurn: One interaction between a human
  1412  // and virtual agent. The human provides some input and the virtual agent
  1413  // provides a response.
  1414  type GoogleCloudDialogflowCxV3ConversationTurn struct {
  1415  	// UserInput: The user input.
  1416  	UserInput *GoogleCloudDialogflowCxV3ConversationTurnUserInput `json:"userInput,omitempty"`
  1417  	// VirtualAgentOutput: The virtual agent output.
  1418  	VirtualAgentOutput *GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput `json:"virtualAgentOutput,omitempty"`
  1419  	// ForceSendFields is a list of field names (e.g. "UserInput") to
  1420  	// unconditionally include in API requests. By default, fields with empty or
  1421  	// default values are omitted from API requests. See
  1422  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1423  	// details.
  1424  	ForceSendFields []string `json:"-"`
  1425  	// NullFields is a list of field names (e.g. "UserInput") to include in API
  1426  	// requests with the JSON null value. By default, fields with empty values are
  1427  	// omitted from API requests. See
  1428  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1429  	NullFields []string `json:"-"`
  1430  }
  1431  
  1432  func (s *GoogleCloudDialogflowCxV3ConversationTurn) MarshalJSON() ([]byte, error) {
  1433  	type NoMethod GoogleCloudDialogflowCxV3ConversationTurn
  1434  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1435  }
  1436  
  1437  // GoogleCloudDialogflowCxV3ConversationTurnUserInput: The input from the human
  1438  // user.
  1439  type GoogleCloudDialogflowCxV3ConversationTurnUserInput struct {
  1440  	// EnableSentimentAnalysis: Whether sentiment analysis is enabled.
  1441  	EnableSentimentAnalysis bool `json:"enableSentimentAnalysis,omitempty"`
  1442  	// InjectedParameters: Parameters that need to be injected into the
  1443  	// conversation during intent detection.
  1444  	InjectedParameters googleapi.RawMessage `json:"injectedParameters,omitempty"`
  1445  	// Input: Supports text input, event input, dtmf input in the test case.
  1446  	Input *GoogleCloudDialogflowCxV3QueryInput `json:"input,omitempty"`
  1447  	// IsWebhookEnabled: If webhooks should be allowed to trigger in response to
  1448  	// the user utterance. Often if parameters are injected, webhooks should not be
  1449  	// enabled.
  1450  	IsWebhookEnabled bool `json:"isWebhookEnabled,omitempty"`
  1451  	// ForceSendFields is a list of field names (e.g. "EnableSentimentAnalysis") to
  1452  	// unconditionally include in API requests. By default, fields with empty or
  1453  	// default values are omitted from API requests. See
  1454  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1455  	// details.
  1456  	ForceSendFields []string `json:"-"`
  1457  	// NullFields is a list of field names (e.g. "EnableSentimentAnalysis") to
  1458  	// include in API requests with the JSON null value. By default, fields with
  1459  	// empty values are omitted from API requests. See
  1460  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1461  	NullFields []string `json:"-"`
  1462  }
  1463  
  1464  func (s *GoogleCloudDialogflowCxV3ConversationTurnUserInput) MarshalJSON() ([]byte, error) {
  1465  	type NoMethod GoogleCloudDialogflowCxV3ConversationTurnUserInput
  1466  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1467  }
  1468  
  1469  // GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput: The output from
  1470  // the virtual agent.
  1471  type GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput struct {
  1472  	// CurrentPage: The Page on which the utterance was spoken. Only name and
  1473  	// displayName will be set.
  1474  	CurrentPage *GoogleCloudDialogflowCxV3Page `json:"currentPage,omitempty"`
  1475  	// DiagnosticInfo: Required. Input only. The diagnostic info output for the
  1476  	// turn. Required to calculate the testing coverage.
  1477  	DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"`
  1478  	// Differences: Output only. If this is part of a result conversation turn, the
  1479  	// list of differences between the original run and the replay for this output,
  1480  	// if any.
  1481  	Differences []*GoogleCloudDialogflowCxV3TestRunDifference `json:"differences,omitempty"`
  1482  	// SessionParameters: The session parameters available to the bot at this
  1483  	// point.
  1484  	SessionParameters googleapi.RawMessage `json:"sessionParameters,omitempty"`
  1485  	// Status: Response error from the agent in the test result. If set, other
  1486  	// output is empty.
  1487  	Status *GoogleRpcStatus `json:"status,omitempty"`
  1488  	// TextResponses: The text responses from the agent for the turn.
  1489  	TextResponses []*GoogleCloudDialogflowCxV3ResponseMessageText `json:"textResponses,omitempty"`
  1490  	// TriggeredIntent: The Intent that triggered the response. Only name and
  1491  	// displayName will be set.
  1492  	TriggeredIntent *GoogleCloudDialogflowCxV3Intent `json:"triggeredIntent,omitempty"`
  1493  	// ForceSendFields is a list of field names (e.g. "CurrentPage") to
  1494  	// unconditionally include in API requests. By default, fields with empty or
  1495  	// default values are omitted from API requests. See
  1496  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1497  	// details.
  1498  	ForceSendFields []string `json:"-"`
  1499  	// NullFields is a list of field names (e.g. "CurrentPage") to include in API
  1500  	// requests with the JSON null value. By default, fields with empty values are
  1501  	// omitted from API requests. See
  1502  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1503  	NullFields []string `json:"-"`
  1504  }
  1505  
  1506  func (s *GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput) MarshalJSON() ([]byte, error) {
  1507  	type NoMethod GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput
  1508  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1509  }
  1510  
  1511  // GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata: Metadata for
  1512  // CreateDocument operation.
  1513  type GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata struct {
  1514  	// GenericMetadata: The generic information of the operation.
  1515  	GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"`
  1516  	// ForceSendFields is a list of field names (e.g. "GenericMetadata") to
  1517  	// unconditionally include in API requests. By default, fields with empty or
  1518  	// default values are omitted from API requests. See
  1519  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1520  	// details.
  1521  	ForceSendFields []string `json:"-"`
  1522  	// NullFields is a list of field names (e.g. "GenericMetadata") to include in
  1523  	// API requests with the JSON null value. By default, fields with empty values
  1524  	// are omitted from API requests. See
  1525  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1526  	NullFields []string `json:"-"`
  1527  }
  1528  
  1529  func (s *GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error) {
  1530  	type NoMethod GoogleCloudDialogflowCxV3CreateDocumentOperationMetadata
  1531  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1532  }
  1533  
  1534  // GoogleCloudDialogflowCxV3CreateVersionOperationMetadata: Metadata associated
  1535  // with the long running operation for Versions.CreateVersion.
  1536  type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata struct {
  1537  	// Version: Name of the created version. Format:
  1538  	// `projects//locations//agents//flows//versions/`.
  1539  	Version string `json:"version,omitempty"`
  1540  	// ForceSendFields is a list of field names (e.g. "Version") to unconditionally
  1541  	// include in API requests. By default, fields with empty or default values are
  1542  	// omitted from API requests. See
  1543  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1544  	// details.
  1545  	ForceSendFields []string `json:"-"`
  1546  	// NullFields is a list of field names (e.g. "Version") to include in API
  1547  	// requests with the JSON null value. By default, fields with empty values are
  1548  	// omitted from API requests. See
  1549  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1550  	NullFields []string `json:"-"`
  1551  }
  1552  
  1553  func (s *GoogleCloudDialogflowCxV3CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) {
  1554  	type NoMethod GoogleCloudDialogflowCxV3CreateVersionOperationMetadata
  1555  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1556  }
  1557  
  1558  // GoogleCloudDialogflowCxV3DataStoreConnection: A data store connection. It
  1559  // represents a data store in Discovery Engine and the type of the contents it
  1560  // contains.
  1561  type GoogleCloudDialogflowCxV3DataStoreConnection struct {
  1562  	// DataStore: The full name of the referenced data store. Formats:
  1563  	// `projects/{project}/locations/{location}/collections/{collection}/dataStores/
  1564  	// {data_store}`
  1565  	// `projects/{project}/locations/{location}/dataStores/{data_store}`
  1566  	DataStore string `json:"dataStore,omitempty"`
  1567  	// DataStoreType: The type of the connected data store.
  1568  	//
  1569  	// Possible values:
  1570  	//   "DATA_STORE_TYPE_UNSPECIFIED" - Not specified. This value indicates that
  1571  	// the data store type is not specified, so it will not be used during search.
  1572  	//   "PUBLIC_WEB" - A data store that contains public web content.
  1573  	//   "UNSTRUCTURED" - A data store that contains unstructured private data.
  1574  	//   "STRUCTURED" - A data store that contains structured data (for example
  1575  	// FAQ).
  1576  	DataStoreType string `json:"dataStoreType,omitempty"`
  1577  	// ForceSendFields is a list of field names (e.g. "DataStore") to
  1578  	// unconditionally include in API requests. By default, fields with empty or
  1579  	// default values are omitted from API requests. See
  1580  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1581  	// details.
  1582  	ForceSendFields []string `json:"-"`
  1583  	// NullFields is a list of field names (e.g. "DataStore") to include in API
  1584  	// requests with the JSON null value. By default, fields with empty values are
  1585  	// omitted from API requests. See
  1586  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1587  	NullFields []string `json:"-"`
  1588  }
  1589  
  1590  func (s *GoogleCloudDialogflowCxV3DataStoreConnection) MarshalJSON() ([]byte, error) {
  1591  	type NoMethod GoogleCloudDialogflowCxV3DataStoreConnection
  1592  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1593  }
  1594  
  1595  // GoogleCloudDialogflowCxV3DataStoreConnectionSignals: Data store connection
  1596  // feature output signals. Might be only partially field if processing stop
  1597  // before the final answer. Reasons for this can be, but are not limited to:
  1598  // empty UCS search results, positive RAI check outcome, grounding failure, ...
  1599  type GoogleCloudDialogflowCxV3DataStoreConnectionSignals struct {
  1600  	// Answer: Optional. The final compiled answer.
  1601  	Answer string `json:"answer,omitempty"`
  1602  	// AnswerGenerationModelCallSignals: Optional. Diagnostic info related to the
  1603  	// answer generation model call.
  1604  	AnswerGenerationModelCallSignals *GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals `json:"answerGenerationModelCallSignals,omitempty"`
  1605  	// AnswerParts: Optional. Answer parts with relevant citations. Concatenation
  1606  	// of texts should add up the `answer` (not counting whitespaces).
  1607  	AnswerParts []*GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart `json:"answerParts,omitempty"`
  1608  	// CitedSnippets: Optional. Snippets cited by the answer generation model from
  1609  	// the most to least relevant.
  1610  	CitedSnippets []*GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet `json:"citedSnippets,omitempty"`
  1611  	// GroundingSignals: Optional. Grounding signals.
  1612  	GroundingSignals *GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals `json:"groundingSignals,omitempty"`
  1613  	// RewriterModelCallSignals: Optional. Diagnostic info related to the rewriter
  1614  	// model call.
  1615  	RewriterModelCallSignals *GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals `json:"rewriterModelCallSignals,omitempty"`
  1616  	// RewrittenQuery: Optional. Rewritten string query used for search.
  1617  	RewrittenQuery string `json:"rewrittenQuery,omitempty"`
  1618  	// SafetySignals: Optional. Safety check result.
  1619  	SafetySignals *GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals `json:"safetySignals,omitempty"`
  1620  	// SearchSnippets: Optional. Search snippets included in the answer generation
  1621  	// prompt.
  1622  	SearchSnippets []*GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet `json:"searchSnippets,omitempty"`
  1623  	// ForceSendFields is a list of field names (e.g. "Answer") to unconditionally
  1624  	// include in API requests. By default, fields with empty or default values are
  1625  	// omitted from API requests. See
  1626  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1627  	// details.
  1628  	ForceSendFields []string `json:"-"`
  1629  	// NullFields is a list of field names (e.g. "Answer") to include in API
  1630  	// requests with the JSON null value. By default, fields with empty values are
  1631  	// omitted from API requests. See
  1632  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1633  	NullFields []string `json:"-"`
  1634  }
  1635  
  1636  func (s *GoogleCloudDialogflowCxV3DataStoreConnectionSignals) MarshalJSON() ([]byte, error) {
  1637  	type NoMethod GoogleCloudDialogflowCxV3DataStoreConnectionSignals
  1638  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1639  }
  1640  
  1641  // GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallS
  1642  // ignals: Diagnostic info related to the answer generation model call.
  1643  type GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals struct {
  1644  	// ModelOutput: Output of the generative model.
  1645  	ModelOutput string `json:"modelOutput,omitempty"`
  1646  	// RenderedPrompt: Prompt as sent to the model.
  1647  	RenderedPrompt string `json:"renderedPrompt,omitempty"`
  1648  	// ForceSendFields is a list of field names (e.g. "ModelOutput") 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. "ModelOutput") 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 *GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals) MarshalJSON() ([]byte, error) {
  1662  	type NoMethod GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals
  1663  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1664  }
  1665  
  1666  // GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart: Answer part
  1667  // with citation.
  1668  type GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart struct {
  1669  	// SupportingIndices: Citations for this answer part. Indices of
  1670  	// `search_snippets`.
  1671  	SupportingIndices []int64 `json:"supportingIndices,omitempty"`
  1672  	// Text: Substring of the answer.
  1673  	Text string `json:"text,omitempty"`
  1674  	// ForceSendFields is a list of field names (e.g. "SupportingIndices") to
  1675  	// unconditionally include in API requests. By default, fields with empty or
  1676  	// default values are omitted from API requests. See
  1677  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1678  	// details.
  1679  	ForceSendFields []string `json:"-"`
  1680  	// NullFields is a list of field names (e.g. "SupportingIndices") to include in
  1681  	// API requests with the JSON null value. By default, fields with empty values
  1682  	// are omitted from API requests. See
  1683  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1684  	NullFields []string `json:"-"`
  1685  }
  1686  
  1687  func (s *GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart) MarshalJSON() ([]byte, error) {
  1688  	type NoMethod GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart
  1689  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1690  }
  1691  
  1692  // GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet: Snippet
  1693  // cited by the answer generation model.
  1694  type GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet struct {
  1695  	// SearchSnippet: Details of the snippet.
  1696  	SearchSnippet *GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet `json:"searchSnippet,omitempty"`
  1697  	// SnippetIndex: Index of the snippet in `search_snippets` field.
  1698  	SnippetIndex int64 `json:"snippetIndex,omitempty"`
  1699  	// ForceSendFields is a list of field names (e.g. "SearchSnippet") to
  1700  	// unconditionally include in API requests. By default, fields with empty or
  1701  	// default values are omitted from API requests. See
  1702  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1703  	// details.
  1704  	ForceSendFields []string `json:"-"`
  1705  	// NullFields is a list of field names (e.g. "SearchSnippet") to include in API
  1706  	// requests with the JSON null value. By default, fields with empty values are
  1707  	// omitted from API requests. See
  1708  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1709  	NullFields []string `json:"-"`
  1710  }
  1711  
  1712  func (s *GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet) MarshalJSON() ([]byte, error) {
  1713  	type NoMethod GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet
  1714  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1715  }
  1716  
  1717  // GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals:
  1718  // Grounding signals.
  1719  type GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals struct {
  1720  	// Decision: Represents the decision of the grounding check.
  1721  	//
  1722  	// Possible values:
  1723  	//   "GROUNDING_DECISION_UNSPECIFIED" - Decision not specified.
  1724  	//   "ACCEPTED_BY_GROUNDING" - Grounding have accepted the answer.
  1725  	//   "REJECTED_BY_GROUNDING" - Grounding have rejected the answer.
  1726  	Decision string `json:"decision,omitempty"`
  1727  	// Score: Grounding score bucket setting.
  1728  	//
  1729  	// Possible values:
  1730  	//   "GROUNDING_SCORE_BUCKET_UNSPECIFIED" - Score not specified.
  1731  	//   "VERY_LOW" - We have very low confidence that the answer is grounded.
  1732  	//   "LOW" - We have low confidence that the answer is grounded.
  1733  	//   "MEDIUM" - We have medium confidence that the answer is grounded.
  1734  	//   "HIGH" - We have high confidence that the answer is grounded.
  1735  	//   "VERY_HIGH" - We have very high confidence that the answer is grounded.
  1736  	Score string `json:"score,omitempty"`
  1737  	// ForceSendFields is a list of field names (e.g. "Decision") to
  1738  	// unconditionally include in API requests. By default, fields with empty or
  1739  	// default values are omitted from API requests. See
  1740  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1741  	// details.
  1742  	ForceSendFields []string `json:"-"`
  1743  	// NullFields is a list of field names (e.g. "Decision") to include in API
  1744  	// requests with the JSON null value. By default, fields with empty values are
  1745  	// omitted from API requests. See
  1746  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1747  	NullFields []string `json:"-"`
  1748  }
  1749  
  1750  func (s *GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals) MarshalJSON() ([]byte, error) {
  1751  	type NoMethod GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals
  1752  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1753  }
  1754  
  1755  // GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals:
  1756  // Diagnostic info related to the rewriter model call.
  1757  type GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals struct {
  1758  	// ModelOutput: Output of the generative model.
  1759  	ModelOutput string `json:"modelOutput,omitempty"`
  1760  	// RenderedPrompt: Prompt as sent to the model.
  1761  	RenderedPrompt string `json:"renderedPrompt,omitempty"`
  1762  	// ForceSendFields is a list of field names (e.g. "ModelOutput") to
  1763  	// unconditionally include in API requests. By default, fields with empty or
  1764  	// default values are omitted from API requests. See
  1765  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1766  	// details.
  1767  	ForceSendFields []string `json:"-"`
  1768  	// NullFields is a list of field names (e.g. "ModelOutput") to include in API
  1769  	// requests with the JSON null value. By default, fields with empty values are
  1770  	// omitted from API requests. See
  1771  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1772  	NullFields []string `json:"-"`
  1773  }
  1774  
  1775  func (s *GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals) MarshalJSON() ([]byte, error) {
  1776  	type NoMethod GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals
  1777  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1778  }
  1779  
  1780  // GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals: Safety
  1781  // check results.
  1782  type GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals struct {
  1783  	// BannedPhraseMatch: Specifies banned phrase match subject.
  1784  	//
  1785  	// Possible values:
  1786  	//   "BANNED_PHRASE_MATCH_UNSPECIFIED" - No banned phrase check was executed.
  1787  	//   "BANNED_PHRASE_MATCH_NONE" - All banned phrase checks led to no match.
  1788  	//   "BANNED_PHRASE_MATCH_QUERY" - A banned phrase matched the query.
  1789  	//   "BANNED_PHRASE_MATCH_RESPONSE" - A banned phrase matched the response.
  1790  	BannedPhraseMatch string `json:"bannedPhraseMatch,omitempty"`
  1791  	// Decision: Safety decision.
  1792  	//
  1793  	// Possible values:
  1794  	//   "SAFETY_DECISION_UNSPECIFIED" - Decision not specified.
  1795  	//   "ACCEPTED_BY_SAFETY_CHECK" - No manual or automatic safety check fired.
  1796  	//   "REJECTED_BY_SAFETY_CHECK" - One ore more safety checks fired.
  1797  	Decision string `json:"decision,omitempty"`
  1798  	// MatchedBannedPhrase: The matched banned phrase if there was a match.
  1799  	MatchedBannedPhrase string `json:"matchedBannedPhrase,omitempty"`
  1800  	// ForceSendFields is a list of field names (e.g. "BannedPhraseMatch") to
  1801  	// unconditionally include in API requests. By default, fields with empty or
  1802  	// default values are omitted from API requests. See
  1803  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1804  	// details.
  1805  	ForceSendFields []string `json:"-"`
  1806  	// NullFields is a list of field names (e.g. "BannedPhraseMatch") to include in
  1807  	// API requests with the JSON null value. By default, fields with empty values
  1808  	// are omitted from API requests. See
  1809  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1810  	NullFields []string `json:"-"`
  1811  }
  1812  
  1813  func (s *GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals) MarshalJSON() ([]byte, error) {
  1814  	type NoMethod GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals
  1815  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1816  }
  1817  
  1818  // GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet: Search
  1819  // snippet details.
  1820  type GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet struct {
  1821  	// DocumentTitle: Title of the enclosing document.
  1822  	DocumentTitle string `json:"documentTitle,omitempty"`
  1823  	// DocumentUri: Uri for the document. Present if specified for the document.
  1824  	DocumentUri string `json:"documentUri,omitempty"`
  1825  	// Text: Text included in the prompt.
  1826  	Text string `json:"text,omitempty"`
  1827  	// ForceSendFields is a list of field names (e.g. "DocumentTitle") to
  1828  	// unconditionally include in API requests. By default, fields with empty or
  1829  	// default values are omitted from API requests. See
  1830  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1831  	// details.
  1832  	ForceSendFields []string `json:"-"`
  1833  	// NullFields is a list of field names (e.g. "DocumentTitle") to include in API
  1834  	// requests with the JSON null value. By default, fields with empty values are
  1835  	// omitted from API requests. See
  1836  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1837  	NullFields []string `json:"-"`
  1838  }
  1839  
  1840  func (s *GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet) MarshalJSON() ([]byte, error) {
  1841  	type NoMethod GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet
  1842  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1843  }
  1844  
  1845  // GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata: Metadata for
  1846  // DeleteDocument operation.
  1847  type GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata struct {
  1848  	// GenericMetadata: The generic information of the operation.
  1849  	GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"`
  1850  	// ForceSendFields is a list of field names (e.g. "GenericMetadata") to
  1851  	// unconditionally include in API requests. By default, fields with empty or
  1852  	// default values are omitted from API requests. See
  1853  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1854  	// details.
  1855  	ForceSendFields []string `json:"-"`
  1856  	// NullFields is a list of field names (e.g. "GenericMetadata") to include in
  1857  	// API requests with the JSON null value. By default, fields with empty values
  1858  	// are omitted from API requests. See
  1859  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1860  	NullFields []string `json:"-"`
  1861  }
  1862  
  1863  func (s *GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error) {
  1864  	type NoMethod GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata
  1865  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1866  }
  1867  
  1868  // GoogleCloudDialogflowCxV3DeployFlowMetadata: Metadata returned for the
  1869  // Environments.DeployFlow long running operation.
  1870  type GoogleCloudDialogflowCxV3DeployFlowMetadata struct {
  1871  	// TestErrors: Errors of running deployment tests.
  1872  	TestErrors []*GoogleCloudDialogflowCxV3TestError `json:"testErrors,omitempty"`
  1873  	// ForceSendFields is a list of field names (e.g. "TestErrors") to
  1874  	// unconditionally include in API requests. By default, fields with empty or
  1875  	// default values are omitted from API requests. See
  1876  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1877  	// details.
  1878  	ForceSendFields []string `json:"-"`
  1879  	// NullFields is a list of field names (e.g. "TestErrors") to include in API
  1880  	// requests with the JSON null value. By default, fields with empty values are
  1881  	// omitted from API requests. See
  1882  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1883  	NullFields []string `json:"-"`
  1884  }
  1885  
  1886  func (s *GoogleCloudDialogflowCxV3DeployFlowMetadata) MarshalJSON() ([]byte, error) {
  1887  	type NoMethod GoogleCloudDialogflowCxV3DeployFlowMetadata
  1888  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1889  }
  1890  
  1891  // GoogleCloudDialogflowCxV3DeployFlowRequest: The request message for
  1892  // Environments.DeployFlow.
  1893  type GoogleCloudDialogflowCxV3DeployFlowRequest struct {
  1894  	// FlowVersion: Required. The flow version to deploy. Format:
  1895  	// `projects//locations//agents// flows//versions/`.
  1896  	FlowVersion string `json:"flowVersion,omitempty"`
  1897  	// ForceSendFields is a list of field names (e.g. "FlowVersion") to
  1898  	// unconditionally include in API requests. By default, fields with empty or
  1899  	// default values are omitted from API requests. See
  1900  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1901  	// details.
  1902  	ForceSendFields []string `json:"-"`
  1903  	// NullFields is a list of field names (e.g. "FlowVersion") to include in API
  1904  	// requests with the JSON null value. By default, fields with empty values are
  1905  	// omitted from API requests. See
  1906  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1907  	NullFields []string `json:"-"`
  1908  }
  1909  
  1910  func (s *GoogleCloudDialogflowCxV3DeployFlowRequest) MarshalJSON() ([]byte, error) {
  1911  	type NoMethod GoogleCloudDialogflowCxV3DeployFlowRequest
  1912  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1913  }
  1914  
  1915  // GoogleCloudDialogflowCxV3DeployFlowResponse: The response message for
  1916  // Environments.DeployFlow.
  1917  type GoogleCloudDialogflowCxV3DeployFlowResponse struct {
  1918  	// Deployment: The name of the flow version Deployment. Format:
  1919  	// `projects//locations//agents// environments//deployments/`.
  1920  	Deployment string `json:"deployment,omitempty"`
  1921  	// Environment: The updated environment where the flow is deployed.
  1922  	Environment *GoogleCloudDialogflowCxV3Environment `json:"environment,omitempty"`
  1923  	// ForceSendFields is a list of field names (e.g. "Deployment") to
  1924  	// unconditionally include in API requests. By default, fields with empty or
  1925  	// default values are omitted from API requests. See
  1926  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1927  	// details.
  1928  	ForceSendFields []string `json:"-"`
  1929  	// NullFields is a list of field names (e.g. "Deployment") to include in API
  1930  	// requests with the JSON null value. By default, fields with empty values are
  1931  	// omitted from API requests. See
  1932  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1933  	NullFields []string `json:"-"`
  1934  }
  1935  
  1936  func (s *GoogleCloudDialogflowCxV3DeployFlowResponse) MarshalJSON() ([]byte, error) {
  1937  	type NoMethod GoogleCloudDialogflowCxV3DeployFlowResponse
  1938  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1939  }
  1940  
  1941  // GoogleCloudDialogflowCxV3Deployment: Represents a deployment in an
  1942  // environment. A deployment happens when a flow version configured to be
  1943  // active in the environment. You can configure running pre-deployment steps,
  1944  // e.g. running validation test cases, experiment auto-rollout, etc.
  1945  type GoogleCloudDialogflowCxV3Deployment struct {
  1946  	// EndTime: End time of this deployment.
  1947  	EndTime string `json:"endTime,omitempty"`
  1948  	// FlowVersion: The name of the flow version for this deployment. Format:
  1949  	// projects//locations//agents//flows//versions/.
  1950  	FlowVersion string `json:"flowVersion,omitempty"`
  1951  	// Name: The name of the deployment. Format:
  1952  	// projects//locations//agents//environments//deployments/.
  1953  	Name string `json:"name,omitempty"`
  1954  	// Result: Result of the deployment.
  1955  	Result *GoogleCloudDialogflowCxV3DeploymentResult `json:"result,omitempty"`
  1956  	// StartTime: Start time of this deployment.
  1957  	StartTime string `json:"startTime,omitempty"`
  1958  	// State: The current state of the deployment.
  1959  	//
  1960  	// Possible values:
  1961  	//   "STATE_UNSPECIFIED" - State unspecified.
  1962  	//   "RUNNING" - The deployment is running.
  1963  	//   "SUCCEEDED" - The deployment succeeded.
  1964  	//   "FAILED" - The deployment failed.
  1965  	State string `json:"state,omitempty"`
  1966  
  1967  	// ServerResponse contains the HTTP response code and headers from the server.
  1968  	googleapi.ServerResponse `json:"-"`
  1969  	// ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally
  1970  	// include in API requests. By default, fields with empty or default values are
  1971  	// omitted from API requests. See
  1972  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1973  	// details.
  1974  	ForceSendFields []string `json:"-"`
  1975  	// NullFields is a list of field names (e.g. "EndTime") to include in API
  1976  	// requests with the JSON null value. By default, fields with empty values are
  1977  	// omitted from API requests. See
  1978  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  1979  	NullFields []string `json:"-"`
  1980  }
  1981  
  1982  func (s *GoogleCloudDialogflowCxV3Deployment) MarshalJSON() ([]byte, error) {
  1983  	type NoMethod GoogleCloudDialogflowCxV3Deployment
  1984  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  1985  }
  1986  
  1987  // GoogleCloudDialogflowCxV3DeploymentResult: Result of the deployment.
  1988  type GoogleCloudDialogflowCxV3DeploymentResult struct {
  1989  	// DeploymentTestResults: Results of test cases running before the deployment.
  1990  	// Format: `projects//locations//agents//testCases//results/`.
  1991  	DeploymentTestResults []string `json:"deploymentTestResults,omitempty"`
  1992  	// Experiment: The name of the experiment triggered by this deployment. Format:
  1993  	// projects//locations//agents//environments//experiments/.
  1994  	Experiment string `json:"experiment,omitempty"`
  1995  	// ForceSendFields is a list of field names (e.g. "DeploymentTestResults") to
  1996  	// unconditionally include in API requests. By default, fields with empty or
  1997  	// default values are omitted from API requests. See
  1998  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  1999  	// details.
  2000  	ForceSendFields []string `json:"-"`
  2001  	// NullFields is a list of field names (e.g. "DeploymentTestResults") to
  2002  	// include in API requests with the JSON null value. By default, fields with
  2003  	// empty values are omitted from API requests. See
  2004  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2005  	NullFields []string `json:"-"`
  2006  }
  2007  
  2008  func (s *GoogleCloudDialogflowCxV3DeploymentResult) MarshalJSON() ([]byte, error) {
  2009  	type NoMethod GoogleCloudDialogflowCxV3DeploymentResult
  2010  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2011  }
  2012  
  2013  // GoogleCloudDialogflowCxV3DetectIntentRequest: The request to detect user's
  2014  // intent.
  2015  type GoogleCloudDialogflowCxV3DetectIntentRequest struct {
  2016  	// OutputAudioConfig: Instructs the speech synthesizer how to generate the
  2017  	// output audio.
  2018  	OutputAudioConfig *GoogleCloudDialogflowCxV3OutputAudioConfig `json:"outputAudioConfig,omitempty"`
  2019  	// QueryInput: Required. The input specification.
  2020  	QueryInput *GoogleCloudDialogflowCxV3QueryInput `json:"queryInput,omitempty"`
  2021  	// QueryParams: The parameters of this query.
  2022  	QueryParams *GoogleCloudDialogflowCxV3QueryParameters `json:"queryParams,omitempty"`
  2023  	// ForceSendFields is a list of field names (e.g. "OutputAudioConfig") to
  2024  	// unconditionally include in API requests. By default, fields with empty or
  2025  	// default values are omitted from API requests. See
  2026  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2027  	// details.
  2028  	ForceSendFields []string `json:"-"`
  2029  	// NullFields is a list of field names (e.g. "OutputAudioConfig") to include in
  2030  	// API requests with the JSON null value. By default, fields with empty values
  2031  	// are omitted from API requests. See
  2032  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2033  	NullFields []string `json:"-"`
  2034  }
  2035  
  2036  func (s *GoogleCloudDialogflowCxV3DetectIntentRequest) MarshalJSON() ([]byte, error) {
  2037  	type NoMethod GoogleCloudDialogflowCxV3DetectIntentRequest
  2038  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2039  }
  2040  
  2041  // GoogleCloudDialogflowCxV3DetectIntentResponse: The message returned from the
  2042  // DetectIntent method.
  2043  type GoogleCloudDialogflowCxV3DetectIntentResponse struct {
  2044  	// AllowCancellation: Indicates whether the partial response can be cancelled
  2045  	// when a later response arrives. e.g. if the agent specified some music as
  2046  	// partial response, it can be cancelled.
  2047  	AllowCancellation bool `json:"allowCancellation,omitempty"`
  2048  	// OutputAudio: The audio data bytes encoded as specified in the request. Note:
  2049  	// The output audio is generated based on the values of default platform text
  2050  	// responses found in the `query_result.response_messages` field. If multiple
  2051  	// default text responses exist, they will be concatenated when generating
  2052  	// audio. If no default platform text responses exist, the generated audio
  2053  	// content will be empty. In some scenarios, multiple output audio fields may
  2054  	// be present in the response structure. In these cases, only the
  2055  	// top-most-level audio output has content.
  2056  	OutputAudio string `json:"outputAudio,omitempty"`
  2057  	// OutputAudioConfig: The config used by the speech synthesizer to generate the
  2058  	// output audio.
  2059  	OutputAudioConfig *GoogleCloudDialogflowCxV3OutputAudioConfig `json:"outputAudioConfig,omitempty"`
  2060  	// QueryResult: The result of the conversational query.
  2061  	QueryResult *GoogleCloudDialogflowCxV3QueryResult `json:"queryResult,omitempty"`
  2062  	// ResponseId: Output only. The unique identifier of the response. It can be
  2063  	// used to locate a response in the training example set or for reporting
  2064  	// issues.
  2065  	ResponseId string `json:"responseId,omitempty"`
  2066  	// ResponseType: Response type.
  2067  	//
  2068  	// Possible values:
  2069  	//   "RESPONSE_TYPE_UNSPECIFIED" - Not specified. This should never happen.
  2070  	//   "PARTIAL" - Partial response. e.g. Aggregated responses in a Fulfillment
  2071  	// that enables `return_partial_response` can be returned as partial response.
  2072  	// WARNING: partial response is not eligible for barge-in.
  2073  	//   "FINAL" - Final response.
  2074  	ResponseType string `json:"responseType,omitempty"`
  2075  
  2076  	// ServerResponse contains the HTTP response code and headers from the server.
  2077  	googleapi.ServerResponse `json:"-"`
  2078  	// ForceSendFields is a list of field names (e.g. "AllowCancellation") to
  2079  	// unconditionally include in API requests. By default, fields with empty or
  2080  	// default values are omitted from API requests. See
  2081  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2082  	// details.
  2083  	ForceSendFields []string `json:"-"`
  2084  	// NullFields is a list of field names (e.g. "AllowCancellation") to include in
  2085  	// API requests with the JSON null value. By default, fields with empty values
  2086  	// are omitted from API requests. See
  2087  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2088  	NullFields []string `json:"-"`
  2089  }
  2090  
  2091  func (s *GoogleCloudDialogflowCxV3DetectIntentResponse) MarshalJSON() ([]byte, error) {
  2092  	type NoMethod GoogleCloudDialogflowCxV3DetectIntentResponse
  2093  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2094  }
  2095  
  2096  // GoogleCloudDialogflowCxV3DtmfInput: Represents the input for dtmf event.
  2097  type GoogleCloudDialogflowCxV3DtmfInput struct {
  2098  	// Digits: The dtmf digits.
  2099  	Digits string `json:"digits,omitempty"`
  2100  	// FinishDigit: The finish digit (if any).
  2101  	FinishDigit string `json:"finishDigit,omitempty"`
  2102  	// ForceSendFields is a list of field names (e.g. "Digits") to unconditionally
  2103  	// include in API requests. By default, fields with empty or default values are
  2104  	// omitted from API requests. See
  2105  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2106  	// details.
  2107  	ForceSendFields []string `json:"-"`
  2108  	// NullFields is a list of field names (e.g. "Digits") to include in API
  2109  	// requests with the JSON null value. By default, fields with empty values are
  2110  	// omitted from API requests. See
  2111  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2112  	NullFields []string `json:"-"`
  2113  }
  2114  
  2115  func (s *GoogleCloudDialogflowCxV3DtmfInput) MarshalJSON() ([]byte, error) {
  2116  	type NoMethod GoogleCloudDialogflowCxV3DtmfInput
  2117  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2118  }
  2119  
  2120  // GoogleCloudDialogflowCxV3EntityType: Entities are extracted from user input
  2121  // and represent parameters that are meaningful to your application. For
  2122  // example, a date range, a proper name such as a geographic location or
  2123  // landmark, and so on. Entities represent actionable data for your
  2124  // application. When you define an entity, you can also include synonyms that
  2125  // all map to that entity. For example, "soft drink", "soda", "pop", and so on.
  2126  // There are three types of entities: * **System** - entities that are defined
  2127  // by the Dialogflow API for common data types such as date, time, currency,
  2128  // and so on. A system entity is represented by the `EntityType` type. *
  2129  // **Custom** - entities that are defined by you that represent actionable data
  2130  // that is meaningful to your application. For example, you could define a
  2131  // `pizza.sauce` entity for red or white pizza sauce, a `pizza.cheese` entity
  2132  // for the different types of cheese on a pizza, a `pizza.topping` entity for
  2133  // different toppings, and so on. A custom entity is represented by the
  2134  // `EntityType` type. * **User** - entities that are built for an individual
  2135  // user such as favorites, preferences, playlists, and so on. A user entity is
  2136  // represented by the SessionEntityType type. For more information about entity
  2137  // types, see the Dialogflow documentation
  2138  // (https://cloud.google.com/dialogflow/docs/entities-overview).
  2139  type GoogleCloudDialogflowCxV3EntityType struct {
  2140  	// AutoExpansionMode: Indicates whether the entity type can be automatically
  2141  	// expanded.
  2142  	//
  2143  	// Possible values:
  2144  	//   "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the
  2145  	// entity.
  2146  	//   "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values that
  2147  	// have not been explicitly listed in the entity.
  2148  	AutoExpansionMode string `json:"autoExpansionMode,omitempty"`
  2149  	// DisplayName: Required. The human-readable name of the entity type, unique
  2150  	// within the agent.
  2151  	DisplayName string `json:"displayName,omitempty"`
  2152  	// EnableFuzzyExtraction: Enables fuzzy entity extraction during
  2153  	// classification.
  2154  	EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"`
  2155  	// Entities: The collection of entity entries associated with the entity type.
  2156  	Entities []*GoogleCloudDialogflowCxV3EntityTypeEntity `json:"entities,omitempty"`
  2157  	// ExcludedPhrases: Collection of exceptional words and phrases that shouldn't
  2158  	// be matched. For example, if you have a size entity type with entry
  2159  	// `giant`(an adjective), you might consider adding `giants`(a noun) as an
  2160  	// exclusion. If the kind of entity type is `KIND_MAP`, then the phrases
  2161  	// specified by entities and excluded phrases should be mutually exclusive.
  2162  	ExcludedPhrases []*GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase `json:"excludedPhrases,omitempty"`
  2163  	// Kind: Required. Indicates the kind of entity type.
  2164  	//
  2165  	// Possible values:
  2166  	//   "KIND_UNSPECIFIED" - Not specified. This value should be never used.
  2167  	//   "KIND_MAP" - Map entity types allow mapping of a group of synonyms to a
  2168  	// canonical value.
  2169  	//   "KIND_LIST" - List entity types contain a set of entries that do not map
  2170  	// to canonical values. However, list entity types can contain references to
  2171  	// other entity types (with or without aliases).
  2172  	//   "KIND_REGEXP" - Regexp entity types allow to specify regular expressions
  2173  	// in entries values.
  2174  	Kind string `json:"kind,omitempty"`
  2175  	// Name: The unique identifier of the entity type. Required for
  2176  	// EntityTypes.UpdateEntityType. Format:
  2177  	// `projects//locations//agents//entityTypes/`.
  2178  	Name string `json:"name,omitempty"`
  2179  	// Redact: Indicates whether parameters of the entity type should be redacted
  2180  	// in log. If redaction is enabled, page parameters and intent parameters
  2181  	// referring to the entity type will be replaced by parameter name when
  2182  	// logging.
  2183  	Redact bool `json:"redact,omitempty"`
  2184  
  2185  	// ServerResponse contains the HTTP response code and headers from the server.
  2186  	googleapi.ServerResponse `json:"-"`
  2187  	// ForceSendFields is a list of field names (e.g. "AutoExpansionMode") to
  2188  	// unconditionally include in API requests. By default, fields with empty or
  2189  	// default values are omitted from API requests. See
  2190  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2191  	// details.
  2192  	ForceSendFields []string `json:"-"`
  2193  	// NullFields is a list of field names (e.g. "AutoExpansionMode") to include in
  2194  	// API requests with the JSON null value. By default, fields with empty values
  2195  	// are omitted from API requests. See
  2196  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2197  	NullFields []string `json:"-"`
  2198  }
  2199  
  2200  func (s *GoogleCloudDialogflowCxV3EntityType) MarshalJSON() ([]byte, error) {
  2201  	type NoMethod GoogleCloudDialogflowCxV3EntityType
  2202  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2203  }
  2204  
  2205  // GoogleCloudDialogflowCxV3EntityTypeEntity: An **entity entry** for an
  2206  // associated entity type.
  2207  type GoogleCloudDialogflowCxV3EntityTypeEntity struct {
  2208  	// Synonyms: Required. A collection of value synonyms. For example, if the
  2209  	// entity type is *vegetable*, and `value` is *scallions*, a synonym could be
  2210  	// *green onions*. For `KIND_LIST` entity types: * This collection must contain
  2211  	// exactly one synonym equal to `value`.
  2212  	Synonyms []string `json:"synonyms,omitempty"`
  2213  	// Value: Required. The primary value associated with this entity entry. For
  2214  	// example, if the entity type is *vegetable*, the value could be *scallions*.
  2215  	// For `KIND_MAP` entity types: * A canonical value to be used in place of
  2216  	// synonyms. For `KIND_LIST` entity types: * A string that can contain
  2217  	// references to other entity types (with or without aliases).
  2218  	Value string `json:"value,omitempty"`
  2219  	// ForceSendFields is a list of field names (e.g. "Synonyms") to
  2220  	// unconditionally include in API requests. By default, fields with empty or
  2221  	// default values are omitted from API requests. See
  2222  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2223  	// details.
  2224  	ForceSendFields []string `json:"-"`
  2225  	// NullFields is a list of field names (e.g. "Synonyms") to include in API
  2226  	// requests with the JSON null value. By default, fields with empty values are
  2227  	// omitted from API requests. See
  2228  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2229  	NullFields []string `json:"-"`
  2230  }
  2231  
  2232  func (s *GoogleCloudDialogflowCxV3EntityTypeEntity) MarshalJSON() ([]byte, error) {
  2233  	type NoMethod GoogleCloudDialogflowCxV3EntityTypeEntity
  2234  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2235  }
  2236  
  2237  // GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase: An excluded entity phrase
  2238  // that should not be matched.
  2239  type GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase struct {
  2240  	// Value: Required. The word or phrase to be excluded.
  2241  	Value string `json:"value,omitempty"`
  2242  	// ForceSendFields is a list of field names (e.g. "Value") to unconditionally
  2243  	// include in API requests. By default, fields with empty or default values are
  2244  	// omitted from API requests. See
  2245  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2246  	// details.
  2247  	ForceSendFields []string `json:"-"`
  2248  	// NullFields is a list of field names (e.g. "Value") to include in API
  2249  	// requests with the JSON null value. By default, fields with empty values are
  2250  	// omitted from API requests. See
  2251  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2252  	NullFields []string `json:"-"`
  2253  }
  2254  
  2255  func (s *GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase) MarshalJSON() ([]byte, error) {
  2256  	type NoMethod GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase
  2257  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2258  }
  2259  
  2260  // GoogleCloudDialogflowCxV3Environment: Represents an environment for an
  2261  // agent. You can create multiple versions of your agent and publish them to
  2262  // separate environments. When you edit an agent, you are editing the draft
  2263  // agent. At any point, you can save the draft agent as an agent version, which
  2264  // is an immutable snapshot of your agent. When you save the draft agent, it is
  2265  // published to the default environment. When you create agent versions, you
  2266  // can publish them to custom environments. You can create a variety of custom
  2267  // environments for testing, development, production, etc.
  2268  type GoogleCloudDialogflowCxV3Environment struct {
  2269  	// Description: The human-readable description of the environment. The maximum
  2270  	// length is 500 characters. If exceeded, the request is rejected.
  2271  	Description string `json:"description,omitempty"`
  2272  	// DisplayName: Required. The human-readable name of the environment (unique in
  2273  	// an agent). Limit of 64 characters.
  2274  	DisplayName string `json:"displayName,omitempty"`
  2275  	// Name: The name of the environment. Format:
  2276  	// `projects//locations//agents//environments/`.
  2277  	Name string `json:"name,omitempty"`
  2278  	// TestCasesConfig: The test cases config for continuous tests of this
  2279  	// environment.
  2280  	TestCasesConfig *GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig `json:"testCasesConfig,omitempty"`
  2281  	// UpdateTime: Output only. Update time of this environment.
  2282  	UpdateTime string `json:"updateTime,omitempty"`
  2283  	// VersionConfigs: A list of configurations for flow versions. You should
  2284  	// include version configs for all flows that are reachable from `Start Flow`
  2285  	// in the agent. Otherwise, an error will be returned.
  2286  	VersionConfigs []*GoogleCloudDialogflowCxV3EnvironmentVersionConfig `json:"versionConfigs,omitempty"`
  2287  	// WebhookConfig: The webhook configuration for this environment.
  2288  	WebhookConfig *GoogleCloudDialogflowCxV3EnvironmentWebhookConfig `json:"webhookConfig,omitempty"`
  2289  
  2290  	// ServerResponse contains the HTTP response code and headers from the server.
  2291  	googleapi.ServerResponse `json:"-"`
  2292  	// ForceSendFields is a list of field names (e.g. "Description") to
  2293  	// unconditionally include in API requests. By default, fields with empty or
  2294  	// default values are omitted from API requests. See
  2295  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2296  	// details.
  2297  	ForceSendFields []string `json:"-"`
  2298  	// NullFields is a list of field names (e.g. "Description") to include in API
  2299  	// requests with the JSON null value. By default, fields with empty values are
  2300  	// omitted from API requests. See
  2301  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2302  	NullFields []string `json:"-"`
  2303  }
  2304  
  2305  func (s *GoogleCloudDialogflowCxV3Environment) MarshalJSON() ([]byte, error) {
  2306  	type NoMethod GoogleCloudDialogflowCxV3Environment
  2307  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2308  }
  2309  
  2310  // GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig: The configuration for
  2311  // continuous tests.
  2312  type GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig struct {
  2313  	// EnableContinuousRun: Whether to run test cases in TestCasesConfig.test_cases
  2314  	// periodically. Default false. If set to true, run once a day.
  2315  	EnableContinuousRun bool `json:"enableContinuousRun,omitempty"`
  2316  	// EnablePredeploymentRun: Whether to run test cases in
  2317  	// TestCasesConfig.test_cases before deploying a flow version to the
  2318  	// environment. Default false.
  2319  	EnablePredeploymentRun bool `json:"enablePredeploymentRun,omitempty"`
  2320  	// TestCases: A list of test case names to run. They should be under the same
  2321  	// agent. Format of each test case name: `projects//locations/
  2322  	// /agents//testCases/`
  2323  	TestCases []string `json:"testCases,omitempty"`
  2324  	// ForceSendFields is a list of field names (e.g. "EnableContinuousRun") to
  2325  	// unconditionally include in API requests. By default, fields with empty or
  2326  	// default values are omitted from API requests. See
  2327  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2328  	// details.
  2329  	ForceSendFields []string `json:"-"`
  2330  	// NullFields is a list of field names (e.g. "EnableContinuousRun") to include
  2331  	// in API requests with the JSON null value. By default, fields with empty
  2332  	// values are omitted from API requests. See
  2333  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2334  	NullFields []string `json:"-"`
  2335  }
  2336  
  2337  func (s *GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig) MarshalJSON() ([]byte, error) {
  2338  	type NoMethod GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig
  2339  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2340  }
  2341  
  2342  // GoogleCloudDialogflowCxV3EnvironmentVersionConfig: Configuration for the
  2343  // version.
  2344  type GoogleCloudDialogflowCxV3EnvironmentVersionConfig struct {
  2345  	// Version: Required. Format: projects//locations//agents//flows//versions/.
  2346  	Version string `json:"version,omitempty"`
  2347  	// ForceSendFields is a list of field names (e.g. "Version") to unconditionally
  2348  	// include in API requests. By default, fields with empty or default values are
  2349  	// omitted from API requests. See
  2350  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2351  	// details.
  2352  	ForceSendFields []string `json:"-"`
  2353  	// NullFields is a list of field names (e.g. "Version") to include in API
  2354  	// requests with the JSON null value. By default, fields with empty values are
  2355  	// omitted from API requests. See
  2356  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2357  	NullFields []string `json:"-"`
  2358  }
  2359  
  2360  func (s *GoogleCloudDialogflowCxV3EnvironmentVersionConfig) MarshalJSON() ([]byte, error) {
  2361  	type NoMethod GoogleCloudDialogflowCxV3EnvironmentVersionConfig
  2362  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2363  }
  2364  
  2365  // GoogleCloudDialogflowCxV3EnvironmentWebhookConfig: Configuration for
  2366  // webhooks.
  2367  type GoogleCloudDialogflowCxV3EnvironmentWebhookConfig struct {
  2368  	// WebhookOverrides: The list of webhooks to override for the agent
  2369  	// environment. The webhook must exist in the agent. You can override fields in
  2370  	// `generic_web_service` and `service_directory`.
  2371  	WebhookOverrides []*GoogleCloudDialogflowCxV3Webhook `json:"webhookOverrides,omitempty"`
  2372  	// ForceSendFields is a list of field names (e.g. "WebhookOverrides") to
  2373  	// unconditionally include in API requests. By default, fields with empty or
  2374  	// default values are omitted from API requests. See
  2375  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2376  	// details.
  2377  	ForceSendFields []string `json:"-"`
  2378  	// NullFields is a list of field names (e.g. "WebhookOverrides") to include in
  2379  	// API requests with the JSON null value. By default, fields with empty values
  2380  	// are omitted from API requests. See
  2381  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2382  	NullFields []string `json:"-"`
  2383  }
  2384  
  2385  func (s *GoogleCloudDialogflowCxV3EnvironmentWebhookConfig) MarshalJSON() ([]byte, error) {
  2386  	type NoMethod GoogleCloudDialogflowCxV3EnvironmentWebhookConfig
  2387  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2388  }
  2389  
  2390  // GoogleCloudDialogflowCxV3EventHandler: An event handler specifies an event
  2391  // that can be handled during a session. When the specified event happens, the
  2392  // following actions are taken in order: * If there is a `trigger_fulfillment`
  2393  // associated with the event, it will be called. * If there is a `target_page`
  2394  // associated with the event, the session will transition into the specified
  2395  // page. * If there is a `target_flow` associated with the event, the session
  2396  // will transition into the specified flow.
  2397  type GoogleCloudDialogflowCxV3EventHandler struct {
  2398  	// Event: Required. The name of the event to handle.
  2399  	Event string `json:"event,omitempty"`
  2400  	// Name: Output only. The unique identifier of this event handler.
  2401  	Name string `json:"name,omitempty"`
  2402  	// TargetFlow: The target flow to transition to. Format:
  2403  	// `projects//locations//agents//flows/`.
  2404  	TargetFlow string `json:"targetFlow,omitempty"`
  2405  	// TargetPage: The target page to transition to. Format:
  2406  	// `projects//locations//agents//flows//pages/`.
  2407  	TargetPage string `json:"targetPage,omitempty"`
  2408  	// TriggerFulfillment: The fulfillment to call when the event occurs. Handling
  2409  	// webhook errors with a fulfillment enabled with webhook could cause infinite
  2410  	// loop. It is invalid to specify such fulfillment for a handler handling
  2411  	// webhooks.
  2412  	TriggerFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"triggerFulfillment,omitempty"`
  2413  	// ForceSendFields is a list of field names (e.g. "Event") to unconditionally
  2414  	// include in API requests. By default, fields with empty or default values are
  2415  	// omitted from API requests. See
  2416  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2417  	// details.
  2418  	ForceSendFields []string `json:"-"`
  2419  	// NullFields is a list of field names (e.g. "Event") to include in API
  2420  	// requests with the JSON null value. By default, fields with empty values are
  2421  	// omitted from API requests. See
  2422  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2423  	NullFields []string `json:"-"`
  2424  }
  2425  
  2426  func (s *GoogleCloudDialogflowCxV3EventHandler) MarshalJSON() ([]byte, error) {
  2427  	type NoMethod GoogleCloudDialogflowCxV3EventHandler
  2428  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2429  }
  2430  
  2431  // GoogleCloudDialogflowCxV3EventInput: Represents the event to trigger.
  2432  type GoogleCloudDialogflowCxV3EventInput struct {
  2433  	// Event: Name of the event.
  2434  	Event string `json:"event,omitempty"`
  2435  	// ForceSendFields is a list of field names (e.g. "Event") to unconditionally
  2436  	// include in API requests. By default, fields with empty or default values are
  2437  	// omitted from API requests. See
  2438  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2439  	// details.
  2440  	ForceSendFields []string `json:"-"`
  2441  	// NullFields is a list of field names (e.g. "Event") to include in API
  2442  	// requests with the JSON null value. By default, fields with empty values are
  2443  	// omitted from API requests. See
  2444  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2445  	NullFields []string `json:"-"`
  2446  }
  2447  
  2448  func (s *GoogleCloudDialogflowCxV3EventInput) MarshalJSON() ([]byte, error) {
  2449  	type NoMethod GoogleCloudDialogflowCxV3EventInput
  2450  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2451  }
  2452  
  2453  // GoogleCloudDialogflowCxV3Experiment: Represents an experiment in an
  2454  // environment.
  2455  type GoogleCloudDialogflowCxV3Experiment struct {
  2456  	// CreateTime: Creation time of this experiment.
  2457  	CreateTime string `json:"createTime,omitempty"`
  2458  	// Definition: The definition of the experiment.
  2459  	Definition *GoogleCloudDialogflowCxV3ExperimentDefinition `json:"definition,omitempty"`
  2460  	// Description: The human-readable description of the experiment.
  2461  	Description string `json:"description,omitempty"`
  2462  	// DisplayName: Required. The human-readable name of the experiment (unique in
  2463  	// an environment). Limit of 64 characters.
  2464  	DisplayName string `json:"displayName,omitempty"`
  2465  	// EndTime: End time of this experiment.
  2466  	EndTime string `json:"endTime,omitempty"`
  2467  	// ExperimentLength: Maximum number of days to run the experiment/rollout. If
  2468  	// auto-rollout is not enabled, default value and maximum will be 30 days. If
  2469  	// auto-rollout is enabled, default value and maximum will be 6 days.
  2470  	ExperimentLength string `json:"experimentLength,omitempty"`
  2471  	// LastUpdateTime: Last update time of this experiment.
  2472  	LastUpdateTime string `json:"lastUpdateTime,omitempty"`
  2473  	// Name: The name of the experiment. Format:
  2474  	// projects//locations//agents//environments//experiments/..
  2475  	Name string `json:"name,omitempty"`
  2476  	// Result: Inference result of the experiment.
  2477  	Result *GoogleCloudDialogflowCxV3ExperimentResult `json:"result,omitempty"`
  2478  	// RolloutConfig: The configuration for auto rollout. If set, there should be
  2479  	// exactly two variants in the experiment (control variant being the default
  2480  	// version of the flow), the traffic allocation for the non-control variant
  2481  	// will gradually increase to 100% when conditions are met, and eventually
  2482  	// replace the control variant to become the default version of the flow.
  2483  	RolloutConfig *GoogleCloudDialogflowCxV3RolloutConfig `json:"rolloutConfig,omitempty"`
  2484  	// RolloutFailureReason: The reason why rollout has failed. Should only be set
  2485  	// when state is ROLLOUT_FAILED.
  2486  	RolloutFailureReason string `json:"rolloutFailureReason,omitempty"`
  2487  	// RolloutState: State of the auto rollout process.
  2488  	RolloutState *GoogleCloudDialogflowCxV3RolloutState `json:"rolloutState,omitempty"`
  2489  	// StartTime: Start time of this experiment.
  2490  	StartTime string `json:"startTime,omitempty"`
  2491  	// State: The current state of the experiment. Transition triggered by
  2492  	// Experiments.StartExperiment: DRAFT->RUNNING. Transition triggered by
  2493  	// Experiments.CancelExperiment: DRAFT->DONE or RUNNING->DONE.
  2494  	//
  2495  	// Possible values:
  2496  	//   "STATE_UNSPECIFIED" - State unspecified.
  2497  	//   "DRAFT" - The experiment is created but not started yet.
  2498  	//   "RUNNING" - The experiment is running.
  2499  	//   "DONE" - The experiment is done.
  2500  	//   "ROLLOUT_FAILED" - The experiment with auto-rollout enabled has failed.
  2501  	State string `json:"state,omitempty"`
  2502  	// VariantsHistory: The history of updates to the experiment variants.
  2503  	VariantsHistory []*GoogleCloudDialogflowCxV3VariantsHistory `json:"variantsHistory,omitempty"`
  2504  
  2505  	// ServerResponse contains the HTTP response code and headers from the server.
  2506  	googleapi.ServerResponse `json:"-"`
  2507  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  2508  	// unconditionally include in API requests. By default, fields with empty or
  2509  	// default values are omitted from API requests. See
  2510  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2511  	// details.
  2512  	ForceSendFields []string `json:"-"`
  2513  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  2514  	// requests with the JSON null value. By default, fields with empty values are
  2515  	// omitted from API requests. See
  2516  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2517  	NullFields []string `json:"-"`
  2518  }
  2519  
  2520  func (s *GoogleCloudDialogflowCxV3Experiment) MarshalJSON() ([]byte, error) {
  2521  	type NoMethod GoogleCloudDialogflowCxV3Experiment
  2522  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2523  }
  2524  
  2525  // GoogleCloudDialogflowCxV3ExperimentDefinition: Definition of the experiment.
  2526  type GoogleCloudDialogflowCxV3ExperimentDefinition struct {
  2527  	// Condition: The condition defines which subset of sessions are selected for
  2528  	// this experiment. If not specified, all sessions are eligible. E.g.
  2529  	// "query_input.language_code=en" See the conditions reference
  2530  	// (https://cloud.google.com/dialogflow/cx/docs/reference/condition).
  2531  	Condition string `json:"condition,omitempty"`
  2532  	// VersionVariants: The flow versions as the variants of this experiment.
  2533  	VersionVariants *GoogleCloudDialogflowCxV3VersionVariants `json:"versionVariants,omitempty"`
  2534  	// ForceSendFields is a list of field names (e.g. "Condition") to
  2535  	// unconditionally include in API requests. By default, fields with empty or
  2536  	// default values are omitted from API requests. See
  2537  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2538  	// details.
  2539  	ForceSendFields []string `json:"-"`
  2540  	// NullFields is a list of field names (e.g. "Condition") to include in API
  2541  	// requests with the JSON null value. By default, fields with empty values are
  2542  	// omitted from API requests. See
  2543  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2544  	NullFields []string `json:"-"`
  2545  }
  2546  
  2547  func (s *GoogleCloudDialogflowCxV3ExperimentDefinition) MarshalJSON() ([]byte, error) {
  2548  	type NoMethod GoogleCloudDialogflowCxV3ExperimentDefinition
  2549  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2550  }
  2551  
  2552  // GoogleCloudDialogflowCxV3ExperimentResult: The inference result which
  2553  // includes an objective metric to optimize and the confidence interval.
  2554  type GoogleCloudDialogflowCxV3ExperimentResult struct {
  2555  	// LastUpdateTime: The last time the experiment's stats data was updated. Will
  2556  	// have default value if stats have never been computed for this experiment.
  2557  	LastUpdateTime string `json:"lastUpdateTime,omitempty"`
  2558  	// VersionMetrics: Version variants and metrics.
  2559  	VersionMetrics []*GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics `json:"versionMetrics,omitempty"`
  2560  	// ForceSendFields is a list of field names (e.g. "LastUpdateTime") to
  2561  	// unconditionally include in API requests. By default, fields with empty or
  2562  	// default values are omitted from API requests. See
  2563  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2564  	// details.
  2565  	ForceSendFields []string `json:"-"`
  2566  	// NullFields is a list of field names (e.g. "LastUpdateTime") to include in
  2567  	// API requests with the JSON null value. By default, fields with empty values
  2568  	// are omitted from API requests. See
  2569  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2570  	NullFields []string `json:"-"`
  2571  }
  2572  
  2573  func (s *GoogleCloudDialogflowCxV3ExperimentResult) MarshalJSON() ([]byte, error) {
  2574  	type NoMethod GoogleCloudDialogflowCxV3ExperimentResult
  2575  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2576  }
  2577  
  2578  // GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval: A confidence
  2579  // interval is a range of possible values for the experiment objective you are
  2580  // trying to measure.
  2581  type GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval struct {
  2582  	// ConfidenceLevel: The confidence level used to construct the interval, i.e.
  2583  	// there is X% chance that the true value is within this interval.
  2584  	ConfidenceLevel float64 `json:"confidenceLevel,omitempty"`
  2585  	// LowerBound: Lower bound of the interval.
  2586  	LowerBound float64 `json:"lowerBound,omitempty"`
  2587  	// Ratio: The percent change between an experiment metric's value and the value
  2588  	// for its control.
  2589  	Ratio float64 `json:"ratio,omitempty"`
  2590  	// UpperBound: Upper bound of the interval.
  2591  	UpperBound float64 `json:"upperBound,omitempty"`
  2592  	// ForceSendFields is a list of field names (e.g. "ConfidenceLevel") to
  2593  	// unconditionally include in API requests. By default, fields with empty or
  2594  	// default values are omitted from API requests. See
  2595  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2596  	// details.
  2597  	ForceSendFields []string `json:"-"`
  2598  	// NullFields is a list of field names (e.g. "ConfidenceLevel") to include in
  2599  	// API requests with the JSON null value. By default, fields with empty values
  2600  	// are omitted from API requests. See
  2601  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2602  	NullFields []string `json:"-"`
  2603  }
  2604  
  2605  func (s *GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval) MarshalJSON() ([]byte, error) {
  2606  	type NoMethod GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval
  2607  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2608  }
  2609  
  2610  func (s *GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval) UnmarshalJSON(data []byte) error {
  2611  	type NoMethod GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval
  2612  	var s1 struct {
  2613  		ConfidenceLevel gensupport.JSONFloat64 `json:"confidenceLevel"`
  2614  		LowerBound      gensupport.JSONFloat64 `json:"lowerBound"`
  2615  		Ratio           gensupport.JSONFloat64 `json:"ratio"`
  2616  		UpperBound      gensupport.JSONFloat64 `json:"upperBound"`
  2617  		*NoMethod
  2618  	}
  2619  	s1.NoMethod = (*NoMethod)(s)
  2620  	if err := json.Unmarshal(data, &s1); err != nil {
  2621  		return err
  2622  	}
  2623  	s.ConfidenceLevel = float64(s1.ConfidenceLevel)
  2624  	s.LowerBound = float64(s1.LowerBound)
  2625  	s.Ratio = float64(s1.Ratio)
  2626  	s.UpperBound = float64(s1.UpperBound)
  2627  	return nil
  2628  }
  2629  
  2630  // GoogleCloudDialogflowCxV3ExperimentResultMetric: Metric and corresponding
  2631  // confidence intervals.
  2632  type GoogleCloudDialogflowCxV3ExperimentResultMetric struct {
  2633  	// ConfidenceInterval: The probability that the treatment is better than all
  2634  	// other treatments in the experiment
  2635  	ConfidenceInterval *GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval `json:"confidenceInterval,omitempty"`
  2636  	// Count: Count value of a metric.
  2637  	Count float64 `json:"count,omitempty"`
  2638  	// CountType: Count-based metric type. Only one of type or count_type is
  2639  	// specified in each Metric.
  2640  	//
  2641  	// Possible values:
  2642  	//   "COUNT_TYPE_UNSPECIFIED" - Count type unspecified.
  2643  	//   "TOTAL_NO_MATCH_COUNT" - Total number of occurrences of a 'NO_MATCH'.
  2644  	//   "TOTAL_TURN_COUNT" - Total number of turn counts.
  2645  	//   "AVERAGE_TURN_COUNT" - Average turn count in a session.
  2646  	CountType string `json:"countType,omitempty"`
  2647  	// Ratio: Ratio value of a metric.
  2648  	Ratio float64 `json:"ratio,omitempty"`
  2649  	// Type: Ratio-based metric type. Only one of type or count_type is specified
  2650  	// in each Metric.
  2651  	//
  2652  	// Possible values:
  2653  	//   "METRIC_UNSPECIFIED" - Metric unspecified.
  2654  	//   "CONTAINED_SESSION_NO_CALLBACK_RATE" - Percentage of contained sessions
  2655  	// without user calling back in 24 hours.
  2656  	//   "LIVE_AGENT_HANDOFF_RATE" - Percentage of sessions that were handed to a
  2657  	// human agent.
  2658  	//   "CALLBACK_SESSION_RATE" - Percentage of sessions with the same user
  2659  	// calling back.
  2660  	//   "ABANDONED_SESSION_RATE" - Percentage of sessions where user hung up.
  2661  	//   "SESSION_END_RATE" - Percentage of sessions reached Dialogflow 'END_PAGE'
  2662  	// or 'END_SESSION'.
  2663  	Type string `json:"type,omitempty"`
  2664  	// ForceSendFields is a list of field names (e.g. "ConfidenceInterval") to
  2665  	// unconditionally include in API requests. By default, fields with empty or
  2666  	// default values are omitted from API requests. See
  2667  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2668  	// details.
  2669  	ForceSendFields []string `json:"-"`
  2670  	// NullFields is a list of field names (e.g. "ConfidenceInterval") to include
  2671  	// in API requests with the JSON null value. By default, fields with empty
  2672  	// values are omitted from API requests. See
  2673  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2674  	NullFields []string `json:"-"`
  2675  }
  2676  
  2677  func (s *GoogleCloudDialogflowCxV3ExperimentResultMetric) MarshalJSON() ([]byte, error) {
  2678  	type NoMethod GoogleCloudDialogflowCxV3ExperimentResultMetric
  2679  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2680  }
  2681  
  2682  func (s *GoogleCloudDialogflowCxV3ExperimentResultMetric) UnmarshalJSON(data []byte) error {
  2683  	type NoMethod GoogleCloudDialogflowCxV3ExperimentResultMetric
  2684  	var s1 struct {
  2685  		Count gensupport.JSONFloat64 `json:"count"`
  2686  		Ratio gensupport.JSONFloat64 `json:"ratio"`
  2687  		*NoMethod
  2688  	}
  2689  	s1.NoMethod = (*NoMethod)(s)
  2690  	if err := json.Unmarshal(data, &s1); err != nil {
  2691  		return err
  2692  	}
  2693  	s.Count = float64(s1.Count)
  2694  	s.Ratio = float64(s1.Ratio)
  2695  	return nil
  2696  }
  2697  
  2698  // GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics: Version variant and
  2699  // associated metrics.
  2700  type GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics struct {
  2701  	// Metrics: The metrics and corresponding confidence intervals in the inference
  2702  	// result.
  2703  	Metrics []*GoogleCloudDialogflowCxV3ExperimentResultMetric `json:"metrics,omitempty"`
  2704  	// SessionCount: Number of sessions that were allocated to this version.
  2705  	SessionCount int64 `json:"sessionCount,omitempty"`
  2706  	// Version: The name of the flow Version. Format:
  2707  	// `projects//locations//agents//flows//versions/`.
  2708  	Version string `json:"version,omitempty"`
  2709  	// ForceSendFields is a list of field names (e.g. "Metrics") to unconditionally
  2710  	// include in API requests. By default, fields with empty or default values are
  2711  	// omitted from API requests. See
  2712  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2713  	// details.
  2714  	ForceSendFields []string `json:"-"`
  2715  	// NullFields is a list of field names (e.g. "Metrics") to include in API
  2716  	// requests with the JSON null value. By default, fields with empty values are
  2717  	// omitted from API requests. See
  2718  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2719  	NullFields []string `json:"-"`
  2720  }
  2721  
  2722  func (s *GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics) MarshalJSON() ([]byte, error) {
  2723  	type NoMethod GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics
  2724  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2725  }
  2726  
  2727  // GoogleCloudDialogflowCxV3ExportAgentRequest: The request message for
  2728  // Agents.ExportAgent.
  2729  type GoogleCloudDialogflowCxV3ExportAgentRequest struct {
  2730  	// AgentUri: Optional. The Google Cloud Storage
  2731  	// (https://cloud.google.com/storage/docs/) URI to export the agent to. The
  2732  	// format of this URI must be `gs:///`. If left unspecified, the serialized
  2733  	// agent is returned inline. Dialogflow performs a write operation for the
  2734  	// Cloud Storage object on the caller's behalf, so your request authentication
  2735  	// must have write permissions for the object. For more information, see
  2736  	// Dialogflow access control
  2737  	// (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
  2738  	AgentUri string `json:"agentUri,omitempty"`
  2739  	// DataFormat: Optional. The data format of the exported agent. If not
  2740  	// specified, `BLOB` is assumed.
  2741  	//
  2742  	// Possible values:
  2743  	//   "DATA_FORMAT_UNSPECIFIED" - Unspecified format.
  2744  	//   "BLOB" - Agent content will be exported as raw bytes.
  2745  	//   "JSON_PACKAGE" - Agent content will be exported in JSON Package format.
  2746  	DataFormat string `json:"dataFormat,omitempty"`
  2747  	// Environment: Optional. Environment name. If not set, draft environment is
  2748  	// assumed. Format: `projects//locations//agents//environments/`.
  2749  	Environment string `json:"environment,omitempty"`
  2750  	// GitDestination: Optional. The Git branch to export the agent to.
  2751  	GitDestination *GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination `json:"gitDestination,omitempty"`
  2752  	// IncludeBigqueryExportSettings: Optional. Whether to include BigQuery Export
  2753  	// setting.
  2754  	IncludeBigqueryExportSettings bool `json:"includeBigqueryExportSettings,omitempty"`
  2755  	// ForceSendFields is a list of field names (e.g. "AgentUri") to
  2756  	// unconditionally include in API requests. By default, fields with empty or
  2757  	// default values are omitted from API requests. See
  2758  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2759  	// details.
  2760  	ForceSendFields []string `json:"-"`
  2761  	// NullFields is a list of field names (e.g. "AgentUri") to include in API
  2762  	// requests with the JSON null value. By default, fields with empty values are
  2763  	// omitted from API requests. See
  2764  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2765  	NullFields []string `json:"-"`
  2766  }
  2767  
  2768  func (s *GoogleCloudDialogflowCxV3ExportAgentRequest) MarshalJSON() ([]byte, error) {
  2769  	type NoMethod GoogleCloudDialogflowCxV3ExportAgentRequest
  2770  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2771  }
  2772  
  2773  // GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination: Settings for
  2774  // exporting to a git branch.
  2775  type GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination struct {
  2776  	// CommitMessage: Commit message for the git push.
  2777  	CommitMessage string `json:"commitMessage,omitempty"`
  2778  	// TrackingBranch: Tracking branch for the git push.
  2779  	TrackingBranch string `json:"trackingBranch,omitempty"`
  2780  	// ForceSendFields is a list of field names (e.g. "CommitMessage") to
  2781  	// unconditionally include in API requests. By default, fields with empty or
  2782  	// default values are omitted from API requests. See
  2783  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2784  	// details.
  2785  	ForceSendFields []string `json:"-"`
  2786  	// NullFields is a list of field names (e.g. "CommitMessage") to include in API
  2787  	// requests with the JSON null value. By default, fields with empty values are
  2788  	// omitted from API requests. See
  2789  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2790  	NullFields []string `json:"-"`
  2791  }
  2792  
  2793  func (s *GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination) MarshalJSON() ([]byte, error) {
  2794  	type NoMethod GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination
  2795  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2796  }
  2797  
  2798  // GoogleCloudDialogflowCxV3ExportAgentResponse: The response message for
  2799  // Agents.ExportAgent.
  2800  type GoogleCloudDialogflowCxV3ExportAgentResponse struct {
  2801  	// AgentContent: Uncompressed raw byte content for agent. This field is
  2802  	// populated if none of `agent_uri` and `git_destination` are specified in
  2803  	// ExportAgentRequest.
  2804  	AgentContent string `json:"agentContent,omitempty"`
  2805  	// AgentUri: The URI to a file containing the exported agent. This field is
  2806  	// populated if `agent_uri` is specified in ExportAgentRequest.
  2807  	AgentUri string `json:"agentUri,omitempty"`
  2808  	// CommitSha: Commit SHA of the git push. This field is populated if
  2809  	// `git_destination` is specified in ExportAgentRequest.
  2810  	CommitSha string `json:"commitSha,omitempty"`
  2811  	// ForceSendFields is a list of field names (e.g. "AgentContent") 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. "AgentContent") 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 *GoogleCloudDialogflowCxV3ExportAgentResponse) MarshalJSON() ([]byte, error) {
  2825  	type NoMethod GoogleCloudDialogflowCxV3ExportAgentResponse
  2826  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2827  }
  2828  
  2829  // GoogleCloudDialogflowCxV3ExportEntityTypesMetadata: Metadata returned for
  2830  // the EntityTypes.ExportEntityTypes long running operation.
  2831  type GoogleCloudDialogflowCxV3ExportEntityTypesMetadata struct {
  2832  }
  2833  
  2834  // GoogleCloudDialogflowCxV3ExportEntityTypesRequest: The request message for
  2835  // EntityTypes.ExportEntityTypes.
  2836  type GoogleCloudDialogflowCxV3ExportEntityTypesRequest struct {
  2837  	// DataFormat: Optional. The data format of the exported entity types. If not
  2838  	// specified, `BLOB` is assumed.
  2839  	//
  2840  	// Possible values:
  2841  	//   "DATA_FORMAT_UNSPECIFIED" - Unspecified format. Treated as `BLOB`.
  2842  	//   "BLOB" - EntityTypes will be exported as raw bytes.
  2843  	//   "JSON_PACKAGE" - EntityTypes will be exported in JSON Package format.
  2844  	DataFormat string `json:"dataFormat,omitempty"`
  2845  	// EntityTypes: Required. The name of the entity types to export. Format:
  2846  	// `projects//locations//agents//entityTypes/`.
  2847  	EntityTypes []string `json:"entityTypes,omitempty"`
  2848  	// EntityTypesContentInline: Optional. The option to return the serialized
  2849  	// entity types inline.
  2850  	EntityTypesContentInline bool `json:"entityTypesContentInline,omitempty"`
  2851  	// EntityTypesUri: Optional. The Google Cloud Storage
  2852  	// (https://cloud.google.com/storage/docs/) URI to export the entity types to.
  2853  	// The format of this URI must be `gs:///`. Dialogflow performs a write
  2854  	// operation for the Cloud Storage object on the caller's behalf, so your
  2855  	// request authentication must have write permissions for the object. For more
  2856  	// information, see Dialogflow access control
  2857  	// (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
  2858  	EntityTypesUri string `json:"entityTypesUri,omitempty"`
  2859  	// LanguageCode: Optional. The language to retrieve the entity type for. The
  2860  	// following fields are language dependent: * `EntityType.entities.value` *
  2861  	// `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not
  2862  	// specified, all language dependent fields will be retrieved. Many languages
  2863  	// (https://cloud.google.com/dialogflow/docs/reference/language) are supported.
  2864  	// Note: languages must be enabled in the agent before they can be used.
  2865  	LanguageCode string `json:"languageCode,omitempty"`
  2866  	// ForceSendFields is a list of field names (e.g. "DataFormat") to
  2867  	// unconditionally include in API requests. By default, fields with empty or
  2868  	// default values are omitted from API requests. See
  2869  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2870  	// details.
  2871  	ForceSendFields []string `json:"-"`
  2872  	// NullFields is a list of field names (e.g. "DataFormat") to include in API
  2873  	// requests with the JSON null value. By default, fields with empty values are
  2874  	// omitted from API requests. See
  2875  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2876  	NullFields []string `json:"-"`
  2877  }
  2878  
  2879  func (s *GoogleCloudDialogflowCxV3ExportEntityTypesRequest) MarshalJSON() ([]byte, error) {
  2880  	type NoMethod GoogleCloudDialogflowCxV3ExportEntityTypesRequest
  2881  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2882  }
  2883  
  2884  // GoogleCloudDialogflowCxV3ExportEntityTypesResponse: The response message for
  2885  // EntityTypes.ExportEntityTypes.
  2886  type GoogleCloudDialogflowCxV3ExportEntityTypesResponse struct {
  2887  	// EntityTypesContent: Uncompressed byte content for entity types. This field
  2888  	// is populated only if `entity_types_content_inline` is set to true in
  2889  	// ExportEntityTypesRequest.
  2890  	EntityTypesContent *GoogleCloudDialogflowCxV3InlineDestination `json:"entityTypesContent,omitempty"`
  2891  	// EntityTypesUri: The URI to a file containing the exported entity types. This
  2892  	// field is populated only if `entity_types_uri` is specified in
  2893  	// ExportEntityTypesRequest.
  2894  	EntityTypesUri string `json:"entityTypesUri,omitempty"`
  2895  	// ForceSendFields is a list of field names (e.g. "EntityTypesContent") to
  2896  	// unconditionally include in API requests. By default, fields with empty or
  2897  	// default values are omitted from API requests. See
  2898  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2899  	// details.
  2900  	ForceSendFields []string `json:"-"`
  2901  	// NullFields is a list of field names (e.g. "EntityTypesContent") to include
  2902  	// in API requests with the JSON null value. By default, fields with empty
  2903  	// values are omitted from API requests. See
  2904  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2905  	NullFields []string `json:"-"`
  2906  }
  2907  
  2908  func (s *GoogleCloudDialogflowCxV3ExportEntityTypesResponse) MarshalJSON() ([]byte, error) {
  2909  	type NoMethod GoogleCloudDialogflowCxV3ExportEntityTypesResponse
  2910  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2911  }
  2912  
  2913  // GoogleCloudDialogflowCxV3ExportFlowRequest: The request message for
  2914  // Flows.ExportFlow.
  2915  type GoogleCloudDialogflowCxV3ExportFlowRequest struct {
  2916  	// FlowUri: Optional. The Google Cloud Storage
  2917  	// (https://cloud.google.com/storage/docs/) URI to export the flow to. The
  2918  	// format of this URI must be `gs:///`. If left unspecified, the serialized
  2919  	// flow is returned inline. Dialogflow performs a write operation for the Cloud
  2920  	// Storage object on the caller's behalf, so your request authentication must
  2921  	// have write permissions for the object. For more information, see Dialogflow
  2922  	// access control
  2923  	// (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
  2924  	FlowUri string `json:"flowUri,omitempty"`
  2925  	// IncludeReferencedFlows: Optional. Whether to export flows referenced by the
  2926  	// specified flow.
  2927  	IncludeReferencedFlows bool `json:"includeReferencedFlows,omitempty"`
  2928  	// ForceSendFields is a list of field names (e.g. "FlowUri") to unconditionally
  2929  	// include in API requests. By default, fields with empty or default values are
  2930  	// omitted from API requests. See
  2931  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2932  	// details.
  2933  	ForceSendFields []string `json:"-"`
  2934  	// NullFields is a list of field names (e.g. "FlowUri") to include in API
  2935  	// requests with the JSON null value. By default, fields with empty values are
  2936  	// omitted from API requests. See
  2937  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2938  	NullFields []string `json:"-"`
  2939  }
  2940  
  2941  func (s *GoogleCloudDialogflowCxV3ExportFlowRequest) MarshalJSON() ([]byte, error) {
  2942  	type NoMethod GoogleCloudDialogflowCxV3ExportFlowRequest
  2943  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2944  }
  2945  
  2946  // GoogleCloudDialogflowCxV3ExportFlowResponse: The response message for
  2947  // Flows.ExportFlow.
  2948  type GoogleCloudDialogflowCxV3ExportFlowResponse struct {
  2949  	// FlowContent: Uncompressed raw byte content for flow.
  2950  	FlowContent string `json:"flowContent,omitempty"`
  2951  	// FlowUri: The URI to a file containing the exported flow. This field is
  2952  	// populated only if `flow_uri` is specified in ExportFlowRequest.
  2953  	FlowUri string `json:"flowUri,omitempty"`
  2954  	// ForceSendFields is a list of field names (e.g. "FlowContent") to
  2955  	// unconditionally include in API requests. By default, fields with empty or
  2956  	// default values are omitted from API requests. See
  2957  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  2958  	// details.
  2959  	ForceSendFields []string `json:"-"`
  2960  	// NullFields is a list of field names (e.g. "FlowContent") to include in API
  2961  	// requests with the JSON null value. By default, fields with empty values are
  2962  	// omitted from API requests. See
  2963  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  2964  	NullFields []string `json:"-"`
  2965  }
  2966  
  2967  func (s *GoogleCloudDialogflowCxV3ExportFlowResponse) MarshalJSON() ([]byte, error) {
  2968  	type NoMethod GoogleCloudDialogflowCxV3ExportFlowResponse
  2969  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  2970  }
  2971  
  2972  // GoogleCloudDialogflowCxV3ExportIntentsMetadata: Metadata returned for the
  2973  // Intents.ExportIntents long running operation.
  2974  type GoogleCloudDialogflowCxV3ExportIntentsMetadata struct {
  2975  }
  2976  
  2977  // GoogleCloudDialogflowCxV3ExportIntentsRequest: The request message for
  2978  // Intents.ExportIntents.
  2979  type GoogleCloudDialogflowCxV3ExportIntentsRequest struct {
  2980  	// DataFormat: Optional. The data format of the exported intents. If not
  2981  	// specified, `BLOB` is assumed.
  2982  	//
  2983  	// Possible values:
  2984  	//   "DATA_FORMAT_UNSPECIFIED" - Unspecified format. Treated as `BLOB`.
  2985  	//   "BLOB" - Intents will be exported as raw bytes.
  2986  	//   "JSON" - Intents will be exported in JSON format.
  2987  	//   "CSV" - Intents will be exported in CSV format.
  2988  	DataFormat string `json:"dataFormat,omitempty"`
  2989  	// Intents: Required. The name of the intents to export. Format:
  2990  	// `projects//locations//agents//intents/`.
  2991  	Intents []string `json:"intents,omitempty"`
  2992  	// IntentsContentInline: Optional. The option to return the serialized intents
  2993  	// inline.
  2994  	IntentsContentInline bool `json:"intentsContentInline,omitempty"`
  2995  	// IntentsUri: Optional. The Google Cloud Storage
  2996  	// (https://cloud.google.com/storage/docs/) URI to export the intents to. The
  2997  	// format of this URI must be `gs:///`. Dialogflow performs a write operation
  2998  	// for the Cloud Storage object on the caller's behalf, so your request
  2999  	// authentication must have write permissions for the object. For more
  3000  	// information, see Dialogflow access control
  3001  	// (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
  3002  	IntentsUri string `json:"intentsUri,omitempty"`
  3003  	// ForceSendFields is a list of field names (e.g. "DataFormat") to
  3004  	// unconditionally include in API requests. By default, fields with empty or
  3005  	// default values are omitted from API requests. See
  3006  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3007  	// details.
  3008  	ForceSendFields []string `json:"-"`
  3009  	// NullFields is a list of field names (e.g. "DataFormat") to include in API
  3010  	// requests with the JSON null value. By default, fields with empty values are
  3011  	// omitted from API requests. See
  3012  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3013  	NullFields []string `json:"-"`
  3014  }
  3015  
  3016  func (s *GoogleCloudDialogflowCxV3ExportIntentsRequest) MarshalJSON() ([]byte, error) {
  3017  	type NoMethod GoogleCloudDialogflowCxV3ExportIntentsRequest
  3018  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3019  }
  3020  
  3021  // GoogleCloudDialogflowCxV3ExportIntentsResponse: The response message for
  3022  // Intents.ExportIntents.
  3023  type GoogleCloudDialogflowCxV3ExportIntentsResponse struct {
  3024  	// IntentsContent: Uncompressed byte content for intents. This field is
  3025  	// populated only if `intents_content_inline` is set to true in
  3026  	// ExportIntentsRequest.
  3027  	IntentsContent *GoogleCloudDialogflowCxV3InlineDestination `json:"intentsContent,omitempty"`
  3028  	// IntentsUri: The URI to a file containing the exported intents. This field is
  3029  	// populated only if `intents_uri` is specified in ExportIntentsRequest.
  3030  	IntentsUri string `json:"intentsUri,omitempty"`
  3031  	// ForceSendFields is a list of field names (e.g. "IntentsContent") to
  3032  	// unconditionally include in API requests. By default, fields with empty or
  3033  	// default values are omitted from API requests. See
  3034  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3035  	// details.
  3036  	ForceSendFields []string `json:"-"`
  3037  	// NullFields is a list of field names (e.g. "IntentsContent") to include in
  3038  	// API requests with the JSON null value. By default, fields with empty values
  3039  	// are omitted from API requests. See
  3040  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3041  	NullFields []string `json:"-"`
  3042  }
  3043  
  3044  func (s *GoogleCloudDialogflowCxV3ExportIntentsResponse) MarshalJSON() ([]byte, error) {
  3045  	type NoMethod GoogleCloudDialogflowCxV3ExportIntentsResponse
  3046  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3047  }
  3048  
  3049  // GoogleCloudDialogflowCxV3ExportTestCasesMetadata: Metadata returned for the
  3050  // TestCases.ExportTestCases long running operation. This message currently has
  3051  // no fields.
  3052  type GoogleCloudDialogflowCxV3ExportTestCasesMetadata struct {
  3053  }
  3054  
  3055  // GoogleCloudDialogflowCxV3ExportTestCasesRequest: The request message for
  3056  // TestCases.ExportTestCases.
  3057  type GoogleCloudDialogflowCxV3ExportTestCasesRequest struct {
  3058  	// DataFormat: The data format of the exported test cases. If not specified,
  3059  	// `BLOB` is assumed.
  3060  	//
  3061  	// Possible values:
  3062  	//   "DATA_FORMAT_UNSPECIFIED" - Unspecified format.
  3063  	//   "BLOB" - Raw bytes.
  3064  	//   "JSON" - JSON format.
  3065  	DataFormat string `json:"dataFormat,omitempty"`
  3066  	// Filter: The filter expression used to filter exported test cases, see API
  3067  	// Filtering (https://aip.dev/160). The expression is case insensitive and
  3068  	// supports the following syntax: name = [OR name = ] ... For example: * "name
  3069  	// = t1 OR name = t2" matches the test case with the exact resource name "t1"
  3070  	// or "t2".
  3071  	Filter string `json:"filter,omitempty"`
  3072  	// GcsUri: The Google Cloud Storage (https://cloud.google.com/storage/docs/)
  3073  	// URI to export the test cases to. The format of this URI must be `gs:///`. If
  3074  	// unspecified, the serialized test cases is returned inline. Dialogflow
  3075  	// performs a write operation for the Cloud Storage object on the caller's
  3076  	// behalf, so your request authentication must have write permissions for the
  3077  	// object. For more information, see Dialogflow access control
  3078  	// (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
  3079  	GcsUri string `json:"gcsUri,omitempty"`
  3080  	// ForceSendFields is a list of field names (e.g. "DataFormat") to
  3081  	// unconditionally include in API requests. By default, fields with empty or
  3082  	// default values are omitted from API requests. See
  3083  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3084  	// details.
  3085  	ForceSendFields []string `json:"-"`
  3086  	// NullFields is a list of field names (e.g. "DataFormat") to include in API
  3087  	// requests with the JSON null value. By default, fields with empty values are
  3088  	// omitted from API requests. See
  3089  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3090  	NullFields []string `json:"-"`
  3091  }
  3092  
  3093  func (s *GoogleCloudDialogflowCxV3ExportTestCasesRequest) MarshalJSON() ([]byte, error) {
  3094  	type NoMethod GoogleCloudDialogflowCxV3ExportTestCasesRequest
  3095  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3096  }
  3097  
  3098  // GoogleCloudDialogflowCxV3ExportTestCasesResponse: The response message for
  3099  // TestCases.ExportTestCases.
  3100  type GoogleCloudDialogflowCxV3ExportTestCasesResponse struct {
  3101  	// Content: Uncompressed raw byte content for test cases.
  3102  	Content string `json:"content,omitempty"`
  3103  	// GcsUri: The URI to a file containing the exported test cases. This field is
  3104  	// populated only if `gcs_uri` is specified in ExportTestCasesRequest.
  3105  	GcsUri string `json:"gcsUri,omitempty"`
  3106  	// ForceSendFields is a list of field names (e.g. "Content") to unconditionally
  3107  	// include in API requests. By default, fields with empty or default values are
  3108  	// omitted from API requests. See
  3109  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3110  	// details.
  3111  	ForceSendFields []string `json:"-"`
  3112  	// NullFields is a list of field names (e.g. "Content") to include in API
  3113  	// requests with the JSON null value. By default, fields with empty values are
  3114  	// omitted from API requests. See
  3115  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3116  	NullFields []string `json:"-"`
  3117  }
  3118  
  3119  func (s *GoogleCloudDialogflowCxV3ExportTestCasesResponse) MarshalJSON() ([]byte, error) {
  3120  	type NoMethod GoogleCloudDialogflowCxV3ExportTestCasesResponse
  3121  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3122  }
  3123  
  3124  // GoogleCloudDialogflowCxV3FilterSpecs: Filter specifications for data stores.
  3125  type GoogleCloudDialogflowCxV3FilterSpecs struct {
  3126  	// DataStores: Optional. Data Stores where the boosting configuration is
  3127  	// applied. The full names of the referenced data stores. Formats:
  3128  	// `projects/{project}/locations/{location}/collections/{collection}/dataStores/
  3129  	// {data_store}`
  3130  	// `projects/{project}/locations/{location}/dataStores/{data_store}`
  3131  	DataStores []string `json:"dataStores,omitempty"`
  3132  	// Filter: Optional. The filter expression to be applied. Expression syntax is
  3133  	// documented at
  3134  	// https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax
  3135  	Filter string `json:"filter,omitempty"`
  3136  	// ForceSendFields is a list of field names (e.g. "DataStores") to
  3137  	// unconditionally include in API requests. By default, fields with empty or
  3138  	// default values are omitted from API requests. See
  3139  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3140  	// details.
  3141  	ForceSendFields []string `json:"-"`
  3142  	// NullFields is a list of field names (e.g. "DataStores") to include in API
  3143  	// requests with the JSON null value. By default, fields with empty values are
  3144  	// omitted from API requests. See
  3145  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3146  	NullFields []string `json:"-"`
  3147  }
  3148  
  3149  func (s *GoogleCloudDialogflowCxV3FilterSpecs) MarshalJSON() ([]byte, error) {
  3150  	type NoMethod GoogleCloudDialogflowCxV3FilterSpecs
  3151  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3152  }
  3153  
  3154  // GoogleCloudDialogflowCxV3Flow: Flows represents the conversation flows when
  3155  // you build your chatbot agent. A flow consists of many pages connected by the
  3156  // transition routes. Conversations always start with the built-in Start Flow
  3157  // (with an all-0 ID). Transition routes can direct the conversation session
  3158  // from the current flow (parent flow) to another flow (sub flow). When the sub
  3159  // flow is finished, Dialogflow will bring the session back to the parent flow,
  3160  // where the sub flow is started. Usually, when a transition route is followed
  3161  // by a matched intent, the intent will be "consumed". This means the intent
  3162  // won't activate more transition routes. However, when the followed transition
  3163  // route moves the conversation session into a different flow, the matched
  3164  // intent can be carried over and to be consumed in the target flow.
  3165  type GoogleCloudDialogflowCxV3Flow struct {
  3166  	// AdvancedSettings: Hierarchical advanced settings for this flow. The settings
  3167  	// exposed at the lower level overrides the settings exposed at the higher
  3168  	// level.
  3169  	AdvancedSettings *GoogleCloudDialogflowCxV3AdvancedSettings `json:"advancedSettings,omitempty"`
  3170  	// Description: The description of the flow. The maximum length is 500
  3171  	// characters. If exceeded, the request is rejected.
  3172  	Description string `json:"description,omitempty"`
  3173  	// DisplayName: Required. The human-readable name of the flow.
  3174  	DisplayName string `json:"displayName,omitempty"`
  3175  	// EventHandlers: A flow's event handlers serve two purposes: * They are
  3176  	// responsible for handling events (e.g. no match, webhook errors) in the flow.
  3177  	// * They are inherited by every page's event handlers, which can be used to
  3178  	// handle common events regardless of the current page. Event handlers defined
  3179  	// in the page have higher priority than those defined in the flow. Unlike
  3180  	// transition_routes, these handlers are evaluated on a first-match basis. The
  3181  	// first one that matches the event get executed, with the rest being ignored.
  3182  	EventHandlers []*GoogleCloudDialogflowCxV3EventHandler `json:"eventHandlers,omitempty"`
  3183  	// KnowledgeConnectorSettings: Optional. Knowledge connector configuration.
  3184  	KnowledgeConnectorSettings *GoogleCloudDialogflowCxV3KnowledgeConnectorSettings `json:"knowledgeConnectorSettings,omitempty"`
  3185  	// MultiLanguageSettings: Optional. Multi-lingual agent settings for this flow.
  3186  	MultiLanguageSettings *GoogleCloudDialogflowCxV3FlowMultiLanguageSettings `json:"multiLanguageSettings,omitempty"`
  3187  	// Name: The unique identifier of the flow. Format:
  3188  	// `projects//locations//agents//flows/`.
  3189  	Name string `json:"name,omitempty"`
  3190  	// NluSettings: NLU related settings of the flow.
  3191  	NluSettings *GoogleCloudDialogflowCxV3NluSettings `json:"nluSettings,omitempty"`
  3192  	// TransitionRouteGroups: A flow's transition route group serve two purposes: *
  3193  	// They are responsible for matching the user's first utterances in the flow. *
  3194  	// They are inherited by every page's transition route groups. Transition route
  3195  	// groups defined in the page have higher priority than those defined in the
  3196  	// flow. Format:`projects//locations//agents//flows//transitionRouteGroups/` or
  3197  	// `projects//locations//agents//transitionRouteGroups/` for agent-level
  3198  	// groups.
  3199  	TransitionRouteGroups []string `json:"transitionRouteGroups,omitempty"`
  3200  	// TransitionRoutes: A flow's transition routes serve two purposes: * They are
  3201  	// responsible for matching the user's first utterances in the flow. * They are
  3202  	// inherited by every page's transition routes and can support use cases such
  3203  	// as the user saying "help" or "can I talk to a human?", which can be handled
  3204  	// in a common way regardless of the current page. Transition routes defined in
  3205  	// the page have higher priority than those defined in the flow.
  3206  	// TransitionRoutes are evalauted in the following order: * TransitionRoutes
  3207  	// with intent specified. * TransitionRoutes with only condition specified.
  3208  	// TransitionRoutes with intent specified are inherited by pages in the flow.
  3209  	TransitionRoutes []*GoogleCloudDialogflowCxV3TransitionRoute `json:"transitionRoutes,omitempty"`
  3210  
  3211  	// ServerResponse contains the HTTP response code and headers from the server.
  3212  	googleapi.ServerResponse `json:"-"`
  3213  	// ForceSendFields is a list of field names (e.g. "AdvancedSettings") to
  3214  	// unconditionally include in API requests. By default, fields with empty or
  3215  	// default values are omitted from API requests. See
  3216  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3217  	// details.
  3218  	ForceSendFields []string `json:"-"`
  3219  	// NullFields is a list of field names (e.g. "AdvancedSettings") to include in
  3220  	// API requests with the JSON null value. By default, fields with empty values
  3221  	// are omitted from API requests. See
  3222  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3223  	NullFields []string `json:"-"`
  3224  }
  3225  
  3226  func (s *GoogleCloudDialogflowCxV3Flow) MarshalJSON() ([]byte, error) {
  3227  	type NoMethod GoogleCloudDialogflowCxV3Flow
  3228  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3229  }
  3230  
  3231  // GoogleCloudDialogflowCxV3FlowImportStrategy: The flow import strategy used
  3232  // for resource conflict resolution associated with an ImportFlowRequest.
  3233  type GoogleCloudDialogflowCxV3FlowImportStrategy struct {
  3234  	// GlobalImportStrategy: Optional. Import strategy for resource conflict
  3235  	// resolution, applied globally throughout the flow. It will be applied for all
  3236  	// display name conflicts in the imported content. If not specified,
  3237  	// 'CREATE_NEW' is assumed.
  3238  	//
  3239  	// Possible values:
  3240  	//   "IMPORT_STRATEGY_UNSPECIFIED" - Unspecified. Treated as 'CREATE_NEW'.
  3241  	//   "IMPORT_STRATEGY_CREATE_NEW" - Create a new resource with a numeric suffix
  3242  	// appended to the end of the existing display name.
  3243  	//   "IMPORT_STRATEGY_REPLACE" - Replace existing resource with incoming
  3244  	// resource in the content to be imported.
  3245  	//   "IMPORT_STRATEGY_KEEP" - Keep existing resource and discard incoming
  3246  	// resource in the content to be imported.
  3247  	//   "IMPORT_STRATEGY_MERGE" - Combine existing and incoming resources when a
  3248  	// conflict is encountered.
  3249  	//   "IMPORT_STRATEGY_THROW_ERROR" - Throw error if a conflict is encountered.
  3250  	GlobalImportStrategy string `json:"globalImportStrategy,omitempty"`
  3251  	// ForceSendFields is a list of field names (e.g. "GlobalImportStrategy") to
  3252  	// unconditionally include in API requests. By default, fields with empty or
  3253  	// default values are omitted from API requests. See
  3254  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3255  	// details.
  3256  	ForceSendFields []string `json:"-"`
  3257  	// NullFields is a list of field names (e.g. "GlobalImportStrategy") to include
  3258  	// in API requests with the JSON null value. By default, fields with empty
  3259  	// values are omitted from API requests. See
  3260  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3261  	NullFields []string `json:"-"`
  3262  }
  3263  
  3264  func (s *GoogleCloudDialogflowCxV3FlowImportStrategy) MarshalJSON() ([]byte, error) {
  3265  	type NoMethod GoogleCloudDialogflowCxV3FlowImportStrategy
  3266  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3267  }
  3268  
  3269  // GoogleCloudDialogflowCxV3FlowMultiLanguageSettings: Settings for
  3270  // multi-lingual agents.
  3271  type GoogleCloudDialogflowCxV3FlowMultiLanguageSettings struct {
  3272  	// EnableMultiLanguageDetection: Optional. Enable multi-language detection for
  3273  	// this flow. This can be set only if agent level multi language setting is
  3274  	// enabled.
  3275  	EnableMultiLanguageDetection bool `json:"enableMultiLanguageDetection,omitempty"`
  3276  	// SupportedResponseLanguageCodes: Optional. Agent will respond in the detected
  3277  	// language if the detected language code is in the supported resolved
  3278  	// languages for this flow. This will be used only if multi-language training
  3279  	// is enabled in the agent and multi-language detection is enabled in the flow.
  3280  	// The supported languages must be a subset of the languages supported by the
  3281  	// agent.
  3282  	SupportedResponseLanguageCodes []string `json:"supportedResponseLanguageCodes,omitempty"`
  3283  	// ForceSendFields is a list of field names (e.g.
  3284  	// "EnableMultiLanguageDetection") to unconditionally include in API requests.
  3285  	// By default, fields with empty or default values are omitted from API
  3286  	// requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields
  3287  	// for more details.
  3288  	ForceSendFields []string `json:"-"`
  3289  	// NullFields is a list of field names (e.g. "EnableMultiLanguageDetection") to
  3290  	// include in API requests with the JSON null value. By default, fields with
  3291  	// empty values are omitted from API requests. See
  3292  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3293  	NullFields []string `json:"-"`
  3294  }
  3295  
  3296  func (s *GoogleCloudDialogflowCxV3FlowMultiLanguageSettings) MarshalJSON() ([]byte, error) {
  3297  	type NoMethod GoogleCloudDialogflowCxV3FlowMultiLanguageSettings
  3298  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3299  }
  3300  
  3301  // GoogleCloudDialogflowCxV3FlowValidationResult: The response message for
  3302  // Flows.GetFlowValidationResult.
  3303  type GoogleCloudDialogflowCxV3FlowValidationResult struct {
  3304  	// Name: The unique identifier of the flow validation result. Format:
  3305  	// `projects//locations//agents//flows//validationResult`.
  3306  	Name string `json:"name,omitempty"`
  3307  	// UpdateTime: Last time the flow was validated.
  3308  	UpdateTime string `json:"updateTime,omitempty"`
  3309  	// ValidationMessages: Contains all validation messages.
  3310  	ValidationMessages []*GoogleCloudDialogflowCxV3ValidationMessage `json:"validationMessages,omitempty"`
  3311  
  3312  	// ServerResponse contains the HTTP response code and headers from the server.
  3313  	googleapi.ServerResponse `json:"-"`
  3314  	// ForceSendFields is a list of field names (e.g. "Name") to unconditionally
  3315  	// include in API requests. By default, fields with empty or default values are
  3316  	// omitted from API requests. See
  3317  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3318  	// details.
  3319  	ForceSendFields []string `json:"-"`
  3320  	// NullFields is a list of field names (e.g. "Name") to include in API requests
  3321  	// with the JSON null value. By default, fields with empty values are omitted
  3322  	// from API requests. See
  3323  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3324  	NullFields []string `json:"-"`
  3325  }
  3326  
  3327  func (s *GoogleCloudDialogflowCxV3FlowValidationResult) MarshalJSON() ([]byte, error) {
  3328  	type NoMethod GoogleCloudDialogflowCxV3FlowValidationResult
  3329  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3330  }
  3331  
  3332  // GoogleCloudDialogflowCxV3Form: A form is a data model that groups related
  3333  // parameters that can be collected from the user. The process in which the
  3334  // agent prompts the user and collects parameter values from the user is called
  3335  // form filling. A form can be added to a page. When form filling is done, the
  3336  // filled parameters will be written to the session.
  3337  type GoogleCloudDialogflowCxV3Form struct {
  3338  	// Parameters: Parameters to collect from the user.
  3339  	Parameters []*GoogleCloudDialogflowCxV3FormParameter `json:"parameters,omitempty"`
  3340  	// ForceSendFields is a list of field names (e.g. "Parameters") to
  3341  	// unconditionally include in API requests. By default, fields with empty or
  3342  	// default values are omitted from API requests. See
  3343  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3344  	// details.
  3345  	ForceSendFields []string `json:"-"`
  3346  	// NullFields is a list of field names (e.g. "Parameters") to include in API
  3347  	// requests with the JSON null value. By default, fields with empty values are
  3348  	// omitted from API requests. See
  3349  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3350  	NullFields []string `json:"-"`
  3351  }
  3352  
  3353  func (s *GoogleCloudDialogflowCxV3Form) MarshalJSON() ([]byte, error) {
  3354  	type NoMethod GoogleCloudDialogflowCxV3Form
  3355  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3356  }
  3357  
  3358  // GoogleCloudDialogflowCxV3FormParameter: Represents a form parameter.
  3359  type GoogleCloudDialogflowCxV3FormParameter struct {
  3360  	// AdvancedSettings: Hierarchical advanced settings for this parameter. The
  3361  	// settings exposed at the lower level overrides the settings exposed at the
  3362  	// higher level.
  3363  	AdvancedSettings *GoogleCloudDialogflowCxV3AdvancedSettings `json:"advancedSettings,omitempty"`
  3364  	// DefaultValue: The default value of an optional parameter. If the parameter
  3365  	// is required, the default value will be ignored.
  3366  	DefaultValue interface{} `json:"defaultValue,omitempty"`
  3367  	// DisplayName: Required. The human-readable name of the parameter, unique
  3368  	// within the form.
  3369  	DisplayName string `json:"displayName,omitempty"`
  3370  	// EntityType: Required. The entity type of the parameter. Format:
  3371  	// `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for
  3372  	// example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or
  3373  	// `projects//locations//agents//entityTypes/` for developer entity types.
  3374  	EntityType string `json:"entityType,omitempty"`
  3375  	// FillBehavior: Required. Defines fill behavior for the parameter.
  3376  	FillBehavior *GoogleCloudDialogflowCxV3FormParameterFillBehavior `json:"fillBehavior,omitempty"`
  3377  	// IsList: Indicates whether the parameter represents a list of values.
  3378  	IsList bool `json:"isList,omitempty"`
  3379  	// Redact: Indicates whether the parameter content should be redacted in log.
  3380  	// If redaction is enabled, the parameter content will be replaced by parameter
  3381  	// name during logging. Note: the parameter content is subject to redaction if
  3382  	// either parameter level redaction or entity type level redaction is enabled.
  3383  	Redact bool `json:"redact,omitempty"`
  3384  	// Required: Indicates whether the parameter is required. Optional parameters
  3385  	// will not trigger prompts; however, they are filled if the user specifies
  3386  	// them. Required parameters must be filled before form filling concludes.
  3387  	Required bool `json:"required,omitempty"`
  3388  	// ForceSendFields is a list of field names (e.g. "AdvancedSettings") to
  3389  	// unconditionally include in API requests. By default, fields with empty or
  3390  	// default values are omitted from API requests. See
  3391  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3392  	// details.
  3393  	ForceSendFields []string `json:"-"`
  3394  	// NullFields is a list of field names (e.g. "AdvancedSettings") to include in
  3395  	// API requests with the JSON null value. By default, fields with empty values
  3396  	// are omitted from API requests. See
  3397  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3398  	NullFields []string `json:"-"`
  3399  }
  3400  
  3401  func (s *GoogleCloudDialogflowCxV3FormParameter) MarshalJSON() ([]byte, error) {
  3402  	type NoMethod GoogleCloudDialogflowCxV3FormParameter
  3403  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3404  }
  3405  
  3406  // GoogleCloudDialogflowCxV3FormParameterFillBehavior: Configuration for how
  3407  // the filling of a parameter should be handled.
  3408  type GoogleCloudDialogflowCxV3FormParameterFillBehavior struct {
  3409  	// InitialPromptFulfillment: Required. The fulfillment to provide the initial
  3410  	// prompt that the agent can present to the user in order to fill the
  3411  	// parameter.
  3412  	InitialPromptFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"initialPromptFulfillment,omitempty"`
  3413  	// RepromptEventHandlers: The handlers for parameter-level events, used to
  3414  	// provide reprompt for the parameter or transition to a different page/flow.
  3415  	// The supported events are: * `sys.no-match-`, where N can be from 1 to 6 *
  3416  	// `sys.no-match-default` * `sys.no-input-`, where N can be from 1 to 6 *
  3417  	// `sys.no-input-default` * `sys.invalid-parameter`
  3418  	// `initial_prompt_fulfillment` provides the first prompt for the parameter. If
  3419  	// the user's response does not fill the parameter, a no-match/no-input event
  3420  	// will be triggered, and the fulfillment associated with the
  3421  	// `sys.no-match-1`/`sys.no-input-1` handler (if defined) will be called to
  3422  	// provide a prompt. The `sys.no-match-2`/`sys.no-input-2` handler (if defined)
  3423  	// will respond to the next no-match/no-input event, and so on. A
  3424  	// `sys.no-match-default` or `sys.no-input-default` handler will be used to
  3425  	// handle all following no-match/no-input events after all numbered
  3426  	// no-match/no-input handlers for the parameter are consumed. A
  3427  	// `sys.invalid-parameter` handler can be defined to handle the case where the
  3428  	// parameter values have been `invalidated` by webhook. For example, if the
  3429  	// user's response fill the parameter, however the parameter was invalidated by
  3430  	// webhook, the fulfillment associated with the `sys.invalid-parameter` handler
  3431  	// (if defined) will be called to provide a prompt. If the event handler for
  3432  	// the corresponding event can't be found on the parameter,
  3433  	// `initial_prompt_fulfillment` will be re-prompted.
  3434  	RepromptEventHandlers []*GoogleCloudDialogflowCxV3EventHandler `json:"repromptEventHandlers,omitempty"`
  3435  	// ForceSendFields is a list of field names (e.g. "InitialPromptFulfillment")
  3436  	// to unconditionally include in API requests. By default, fields with empty or
  3437  	// default values are omitted from API requests. See
  3438  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3439  	// details.
  3440  	ForceSendFields []string `json:"-"`
  3441  	// NullFields is a list of field names (e.g. "InitialPromptFulfillment") to
  3442  	// include in API requests with the JSON null value. By default, fields with
  3443  	// empty values are omitted from API requests. See
  3444  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3445  	NullFields []string `json:"-"`
  3446  }
  3447  
  3448  func (s *GoogleCloudDialogflowCxV3FormParameterFillBehavior) MarshalJSON() ([]byte, error) {
  3449  	type NoMethod GoogleCloudDialogflowCxV3FormParameterFillBehavior
  3450  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3451  }
  3452  
  3453  // GoogleCloudDialogflowCxV3FulfillIntentRequest: Request of FulfillIntent
  3454  type GoogleCloudDialogflowCxV3FulfillIntentRequest struct {
  3455  	// Match: The matched intent/event to fulfill.
  3456  	Match *GoogleCloudDialogflowCxV3Match `json:"match,omitempty"`
  3457  	// MatchIntentRequest: Must be same as the corresponding MatchIntent request,
  3458  	// otherwise the behavior is undefined.
  3459  	MatchIntentRequest *GoogleCloudDialogflowCxV3MatchIntentRequest `json:"matchIntentRequest,omitempty"`
  3460  	// OutputAudioConfig: Instructs the speech synthesizer how to generate output
  3461  	// audio.
  3462  	OutputAudioConfig *GoogleCloudDialogflowCxV3OutputAudioConfig `json:"outputAudioConfig,omitempty"`
  3463  	// ForceSendFields is a list of field names (e.g. "Match") to unconditionally
  3464  	// include in API requests. By default, fields with empty or default values are
  3465  	// omitted from API requests. See
  3466  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3467  	// details.
  3468  	ForceSendFields []string `json:"-"`
  3469  	// NullFields is a list of field names (e.g. "Match") to include in API
  3470  	// requests with the JSON null value. By default, fields with empty values are
  3471  	// omitted from API requests. See
  3472  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3473  	NullFields []string `json:"-"`
  3474  }
  3475  
  3476  func (s *GoogleCloudDialogflowCxV3FulfillIntentRequest) MarshalJSON() ([]byte, error) {
  3477  	type NoMethod GoogleCloudDialogflowCxV3FulfillIntentRequest
  3478  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3479  }
  3480  
  3481  // GoogleCloudDialogflowCxV3FulfillIntentResponse: Response of FulfillIntent
  3482  type GoogleCloudDialogflowCxV3FulfillIntentResponse struct {
  3483  	// OutputAudio: The audio data bytes encoded as specified in the request. Note:
  3484  	// The output audio is generated based on the values of default platform text
  3485  	// responses found in the `query_result.response_messages` field. If multiple
  3486  	// default text responses exist, they will be concatenated when generating
  3487  	// audio. If no default platform text responses exist, the generated audio
  3488  	// content will be empty. In some scenarios, multiple output audio fields may
  3489  	// be present in the response structure. In these cases, only the
  3490  	// top-most-level audio output has content.
  3491  	OutputAudio string `json:"outputAudio,omitempty"`
  3492  	// OutputAudioConfig: The config used by the speech synthesizer to generate the
  3493  	// output audio.
  3494  	OutputAudioConfig *GoogleCloudDialogflowCxV3OutputAudioConfig `json:"outputAudioConfig,omitempty"`
  3495  	// QueryResult: The result of the conversational query.
  3496  	QueryResult *GoogleCloudDialogflowCxV3QueryResult `json:"queryResult,omitempty"`
  3497  	// ResponseId: Output only. The unique identifier of the response. It can be
  3498  	// used to locate a response in the training example set or for reporting
  3499  	// issues.
  3500  	ResponseId string `json:"responseId,omitempty"`
  3501  
  3502  	// ServerResponse contains the HTTP response code and headers from the server.
  3503  	googleapi.ServerResponse `json:"-"`
  3504  	// ForceSendFields is a list of field names (e.g. "OutputAudio") to
  3505  	// unconditionally include in API requests. By default, fields with empty or
  3506  	// default values are omitted from API requests. See
  3507  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3508  	// details.
  3509  	ForceSendFields []string `json:"-"`
  3510  	// NullFields is a list of field names (e.g. "OutputAudio") to include in API
  3511  	// requests with the JSON null value. By default, fields with empty values are
  3512  	// omitted from API requests. See
  3513  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3514  	NullFields []string `json:"-"`
  3515  }
  3516  
  3517  func (s *GoogleCloudDialogflowCxV3FulfillIntentResponse) MarshalJSON() ([]byte, error) {
  3518  	type NoMethod GoogleCloudDialogflowCxV3FulfillIntentResponse
  3519  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3520  }
  3521  
  3522  // GoogleCloudDialogflowCxV3Fulfillment: A fulfillment can do one or more of
  3523  // the following actions at the same time: * Generate rich message responses. *
  3524  // Set parameter values. * Call the webhook. Fulfillments can be called at
  3525  // various stages in the Page or Form lifecycle. For example, when a
  3526  // DetectIntentRequest drives a session to enter a new page, the page's entry
  3527  // fulfillment can add a static response to the QueryResult in the returning
  3528  // DetectIntentResponse, call the webhook (for example, to load user data from
  3529  // a database), or both.
  3530  type GoogleCloudDialogflowCxV3Fulfillment struct {
  3531  	// AdvancedSettings: Hierarchical advanced settings for this fulfillment. The
  3532  	// settings exposed at the lower level overrides the settings exposed at the
  3533  	// higher level.
  3534  	AdvancedSettings *GoogleCloudDialogflowCxV3AdvancedSettings `json:"advancedSettings,omitempty"`
  3535  	// ConditionalCases: Conditional cases for this fulfillment.
  3536  	ConditionalCases []*GoogleCloudDialogflowCxV3FulfillmentConditionalCases `json:"conditionalCases,omitempty"`
  3537  	// EnableGenerativeFallback: If the flag is true, the agent will utilize LLM to
  3538  	// generate a text response. If LLM generation fails, the defined responses in
  3539  	// the fulfillment will be respected. This flag is only useful for fulfillments
  3540  	// associated with no-match event handlers.
  3541  	EnableGenerativeFallback bool `json:"enableGenerativeFallback,omitempty"`
  3542  	// Messages: The list of rich message responses to present to the user.
  3543  	Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"`
  3544  	// ReturnPartialResponses: Whether Dialogflow should return currently queued
  3545  	// fulfillment response messages in streaming APIs. If a webhook is specified,
  3546  	// it happens before Dialogflow invokes webhook. Warning: 1) This flag only
  3547  	// affects streaming API. Responses are still queued and returned once in
  3548  	// non-streaming API. 2) The flag can be enabled in any fulfillment but only
  3549  	// the first 3 partial responses will be returned. You may only want to apply
  3550  	// it to fulfillments that have slow webhooks.
  3551  	ReturnPartialResponses bool `json:"returnPartialResponses,omitempty"`
  3552  	// SetParameterActions: Set parameter values before executing the webhook.
  3553  	SetParameterActions []*GoogleCloudDialogflowCxV3FulfillmentSetParameterAction `json:"setParameterActions,omitempty"`
  3554  	// Tag: The value of this field will be populated in the WebhookRequest
  3555  	// `fulfillmentInfo.tag` field by Dialogflow when the associated webhook is
  3556  	// called. The tag is typically used by the webhook service to identify which
  3557  	// fulfillment is being called, but it could be used for other purposes. This
  3558  	// field is required if `webhook` is specified.
  3559  	Tag string `json:"tag,omitempty"`
  3560  	// Webhook: The webhook to call. Format:
  3561  	// `projects//locations//agents//webhooks/`.
  3562  	Webhook string `json:"webhook,omitempty"`
  3563  	// ForceSendFields is a list of field names (e.g. "AdvancedSettings") to
  3564  	// unconditionally include in API requests. By default, fields with empty or
  3565  	// default values are omitted from API requests. See
  3566  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3567  	// details.
  3568  	ForceSendFields []string `json:"-"`
  3569  	// NullFields is a list of field names (e.g. "AdvancedSettings") to include in
  3570  	// API requests with the JSON null value. By default, fields with empty values
  3571  	// are omitted from API requests. See
  3572  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3573  	NullFields []string `json:"-"`
  3574  }
  3575  
  3576  func (s *GoogleCloudDialogflowCxV3Fulfillment) MarshalJSON() ([]byte, error) {
  3577  	type NoMethod GoogleCloudDialogflowCxV3Fulfillment
  3578  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3579  }
  3580  
  3581  // GoogleCloudDialogflowCxV3FulfillmentConditionalCases: A list of cascading
  3582  // if-else conditions. Cases are mutually exclusive. The first one with a
  3583  // matching condition is selected, all the rest ignored.
  3584  type GoogleCloudDialogflowCxV3FulfillmentConditionalCases struct {
  3585  	// Cases: A list of cascading if-else conditions.
  3586  	Cases []*GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase `json:"cases,omitempty"`
  3587  	// ForceSendFields is a list of field names (e.g. "Cases") to unconditionally
  3588  	// include in API requests. By default, fields with empty or default values are
  3589  	// omitted from API requests. See
  3590  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3591  	// details.
  3592  	ForceSendFields []string `json:"-"`
  3593  	// NullFields is a list of field names (e.g. "Cases") to include in API
  3594  	// requests with the JSON null value. By default, fields with empty values are
  3595  	// omitted from API requests. See
  3596  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3597  	NullFields []string `json:"-"`
  3598  }
  3599  
  3600  func (s *GoogleCloudDialogflowCxV3FulfillmentConditionalCases) MarshalJSON() ([]byte, error) {
  3601  	type NoMethod GoogleCloudDialogflowCxV3FulfillmentConditionalCases
  3602  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3603  }
  3604  
  3605  // GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase: Each case has a
  3606  // Boolean condition. When it is evaluated to be True, the corresponding
  3607  // messages will be selected and evaluated recursively.
  3608  type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase struct {
  3609  	// CaseContent: A list of case content.
  3610  	CaseContent []*GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent `json:"caseContent,omitempty"`
  3611  	// Condition: The condition to activate and select this case. Empty means the
  3612  	// condition is always true. The condition is evaluated against form parameters
  3613  	// or session parameters. See the conditions reference
  3614  	// (https://cloud.google.com/dialogflow/cx/docs/reference/condition).
  3615  	Condition string `json:"condition,omitempty"`
  3616  	// ForceSendFields is a list of field names (e.g. "CaseContent") to
  3617  	// unconditionally include in API requests. By default, fields with empty or
  3618  	// default values are omitted from API requests. See
  3619  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3620  	// details.
  3621  	ForceSendFields []string `json:"-"`
  3622  	// NullFields is a list of field names (e.g. "CaseContent") to include in API
  3623  	// requests with the JSON null value. By default, fields with empty values are
  3624  	// omitted from API requests. See
  3625  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3626  	NullFields []string `json:"-"`
  3627  }
  3628  
  3629  func (s *GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase) MarshalJSON() ([]byte, error) {
  3630  	type NoMethod GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase
  3631  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3632  }
  3633  
  3634  // GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent: The
  3635  // list of messages or conditional cases to activate for this case.
  3636  type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent struct {
  3637  	// AdditionalCases: Additional cases to be evaluated.
  3638  	AdditionalCases *GoogleCloudDialogflowCxV3FulfillmentConditionalCases `json:"additionalCases,omitempty"`
  3639  	// Message: Returned message.
  3640  	Message *GoogleCloudDialogflowCxV3ResponseMessage `json:"message,omitempty"`
  3641  	// ForceSendFields is a list of field names (e.g. "AdditionalCases") to
  3642  	// unconditionally include in API requests. By default, fields with empty or
  3643  	// default values are omitted from API requests. See
  3644  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3645  	// details.
  3646  	ForceSendFields []string `json:"-"`
  3647  	// NullFields is a list of field names (e.g. "AdditionalCases") to include in
  3648  	// API requests with the JSON null value. By default, fields with empty values
  3649  	// are omitted from API requests. See
  3650  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3651  	NullFields []string `json:"-"`
  3652  }
  3653  
  3654  func (s *GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent) MarshalJSON() ([]byte, error) {
  3655  	type NoMethod GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent
  3656  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3657  }
  3658  
  3659  // GoogleCloudDialogflowCxV3FulfillmentSetParameterAction: Setting a parameter
  3660  // value.
  3661  type GoogleCloudDialogflowCxV3FulfillmentSetParameterAction struct {
  3662  	// Parameter: Display name of the parameter.
  3663  	Parameter string `json:"parameter,omitempty"`
  3664  	// Value: The new value of the parameter. A null value clears the parameter.
  3665  	Value interface{} `json:"value,omitempty"`
  3666  	// ForceSendFields is a list of field names (e.g. "Parameter") to
  3667  	// unconditionally include in API requests. By default, fields with empty or
  3668  	// default values are omitted from API requests. See
  3669  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3670  	// details.
  3671  	ForceSendFields []string `json:"-"`
  3672  	// NullFields is a list of field names (e.g. "Parameter") to include in API
  3673  	// requests with the JSON null value. By default, fields with empty values are
  3674  	// omitted from API requests. See
  3675  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3676  	NullFields []string `json:"-"`
  3677  }
  3678  
  3679  func (s *GoogleCloudDialogflowCxV3FulfillmentSetParameterAction) MarshalJSON() ([]byte, error) {
  3680  	type NoMethod GoogleCloudDialogflowCxV3FulfillmentSetParameterAction
  3681  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3682  }
  3683  
  3684  // GoogleCloudDialogflowCxV3GcsDestination: Google Cloud Storage location for a
  3685  // Dialogflow operation that writes or exports objects (e.g. exported agent or
  3686  // transcripts) outside of Dialogflow.
  3687  type GoogleCloudDialogflowCxV3GcsDestination struct {
  3688  	// Uri: Required. The Google Cloud Storage URI for the exported objects. A URI
  3689  	// is of the form: `gs://bucket/object-name-or-prefix` Whether a full object
  3690  	// name, or just a prefix, its usage depends on the Dialogflow operation.
  3691  	Uri string `json:"uri,omitempty"`
  3692  	// ForceSendFields is a list of field names (e.g. "Uri") to unconditionally
  3693  	// include in API requests. By default, fields with empty or default values are
  3694  	// omitted from API requests. See
  3695  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3696  	// details.
  3697  	ForceSendFields []string `json:"-"`
  3698  	// NullFields is a list of field names (e.g. "Uri") to include in API requests
  3699  	// with the JSON null value. By default, fields with empty values are omitted
  3700  	// from API requests. See
  3701  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3702  	NullFields []string `json:"-"`
  3703  }
  3704  
  3705  func (s *GoogleCloudDialogflowCxV3GcsDestination) MarshalJSON() ([]byte, error) {
  3706  	type NoMethod GoogleCloudDialogflowCxV3GcsDestination
  3707  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3708  }
  3709  
  3710  // GoogleCloudDialogflowCxV3GenerativeSettings: Settings for Generative AI.
  3711  type GoogleCloudDialogflowCxV3GenerativeSettings struct {
  3712  	// FallbackSettings: Settings for Generative Fallback.
  3713  	FallbackSettings *GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings `json:"fallbackSettings,omitempty"`
  3714  	// GenerativeSafetySettings: Settings for Generative Safety.
  3715  	GenerativeSafetySettings *GoogleCloudDialogflowCxV3SafetySettings `json:"generativeSafetySettings,omitempty"`
  3716  	// KnowledgeConnectorSettings: Settings for knowledge connector.
  3717  	KnowledgeConnectorSettings *GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings `json:"knowledgeConnectorSettings,omitempty"`
  3718  	// LanguageCode: Language for this settings.
  3719  	LanguageCode string `json:"languageCode,omitempty"`
  3720  	// Name: Format: `projects//locations//agents//generativeSettings`.
  3721  	Name string `json:"name,omitempty"`
  3722  
  3723  	// ServerResponse contains the HTTP response code and headers from the server.
  3724  	googleapi.ServerResponse `json:"-"`
  3725  	// ForceSendFields is a list of field names (e.g. "FallbackSettings") to
  3726  	// unconditionally include in API requests. By default, fields with empty or
  3727  	// default values are omitted from API requests. See
  3728  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3729  	// details.
  3730  	ForceSendFields []string `json:"-"`
  3731  	// NullFields is a list of field names (e.g. "FallbackSettings") to include in
  3732  	// API requests with the JSON null value. By default, fields with empty values
  3733  	// are omitted from API requests. See
  3734  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3735  	NullFields []string `json:"-"`
  3736  }
  3737  
  3738  func (s *GoogleCloudDialogflowCxV3GenerativeSettings) MarshalJSON() ([]byte, error) {
  3739  	type NoMethod GoogleCloudDialogflowCxV3GenerativeSettings
  3740  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3741  }
  3742  
  3743  // GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings: Settings for
  3744  // Generative Fallback.
  3745  type GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings struct {
  3746  	// PromptTemplates: Stored prompts that can be selected, for example default
  3747  	// templates like "conservative" or "chatty", or user defined ones.
  3748  	PromptTemplates []*GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate `json:"promptTemplates,omitempty"`
  3749  	// SelectedPrompt: Display name of the selected prompt.
  3750  	SelectedPrompt string `json:"selectedPrompt,omitempty"`
  3751  	// ForceSendFields is a list of field names (e.g. "PromptTemplates") to
  3752  	// unconditionally include in API requests. By default, fields with empty or
  3753  	// default values are omitted from API requests. See
  3754  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3755  	// details.
  3756  	ForceSendFields []string `json:"-"`
  3757  	// NullFields is a list of field names (e.g. "PromptTemplates") to include in
  3758  	// API requests with the JSON null value. By default, fields with empty values
  3759  	// are omitted from API requests. See
  3760  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3761  	NullFields []string `json:"-"`
  3762  }
  3763  
  3764  func (s *GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings) MarshalJSON() ([]byte, error) {
  3765  	type NoMethod GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettings
  3766  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3767  }
  3768  
  3769  // GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate:
  3770  // Prompt template.
  3771  type GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate struct {
  3772  	// DisplayName: Prompt name.
  3773  	DisplayName string `json:"displayName,omitempty"`
  3774  	// Frozen: If the flag is true, the prompt is frozen and cannot be modified by
  3775  	// users.
  3776  	Frozen bool `json:"frozen,omitempty"`
  3777  	// PromptText: Prompt text that is sent to a LLM on no-match default,
  3778  	// placeholders are filled downstream. For example: "Here is a conversation
  3779  	// $conversation, a response is: "
  3780  	PromptText string `json:"promptText,omitempty"`
  3781  	// ForceSendFields is a list of field names (e.g. "DisplayName") to
  3782  	// unconditionally include in API requests. By default, fields with empty or
  3783  	// default values are omitted from API requests. See
  3784  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3785  	// details.
  3786  	ForceSendFields []string `json:"-"`
  3787  	// NullFields is a list of field names (e.g. "DisplayName") to include in API
  3788  	// requests with the JSON null value. By default, fields with empty values are
  3789  	// omitted from API requests. See
  3790  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3791  	NullFields []string `json:"-"`
  3792  }
  3793  
  3794  func (s *GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate) MarshalJSON() ([]byte, error) {
  3795  	type NoMethod GoogleCloudDialogflowCxV3GenerativeSettingsFallbackSettingsPromptTemplate
  3796  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3797  }
  3798  
  3799  // GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings:
  3800  // Settings for knowledge connector. These parameters are used for LLM prompt
  3801  // like "You are . You are a helpful and verbose at , . Your task is to help
  3802  // humans on ".
  3803  type GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings struct {
  3804  	// Agent: Name of the virtual agent. Used for LLM prompt. Can be left empty.
  3805  	Agent string `json:"agent,omitempty"`
  3806  	// AgentIdentity: Identity of the agent, e.g. "virtual agent", "AI assistant".
  3807  	AgentIdentity string `json:"agentIdentity,omitempty"`
  3808  	// AgentScope: Agent scope, e.g. "Example company website", "internal Example
  3809  	// company website for employees", "manual of car owner".
  3810  	AgentScope string `json:"agentScope,omitempty"`
  3811  	// Business: Name of the company, organization or other entity that the agent
  3812  	// represents. Used for knowledge connector LLM prompt and for knowledge
  3813  	// search.
  3814  	Business string `json:"business,omitempty"`
  3815  	// BusinessDescription: Company description, used for LLM prompt, e.g. "a
  3816  	// family company selling freshly roasted coffee beans".
  3817  	BusinessDescription string `json:"businessDescription,omitempty"`
  3818  	// DisableDataStoreFallback: Whether to disable fallback to Data Store search
  3819  	// results (in case the LLM couldn't pick a proper answer). Per default the
  3820  	// feature is enabled.
  3821  	DisableDataStoreFallback bool `json:"disableDataStoreFallback,omitempty"`
  3822  	// ForceSendFields is a list of field names (e.g. "Agent") to unconditionally
  3823  	// include in API requests. By default, fields with empty or default values are
  3824  	// omitted from API requests. See
  3825  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3826  	// details.
  3827  	ForceSendFields []string `json:"-"`
  3828  	// NullFields is a list of field names (e.g. "Agent") to include in API
  3829  	// requests with the JSON null value. By default, fields with empty values are
  3830  	// omitted from API requests. See
  3831  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3832  	NullFields []string `json:"-"`
  3833  }
  3834  
  3835  func (s *GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings) MarshalJSON() ([]byte, error) {
  3836  	type NoMethod GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings
  3837  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3838  }
  3839  
  3840  // GoogleCloudDialogflowCxV3Generator: Generators contain prompt to be sent to
  3841  // the LLM model to generate text. The prompt can contain parameters which will
  3842  // be resolved before calling the model. It can optionally contain banned
  3843  // phrases to ensure the model responses are safe.
  3844  type GoogleCloudDialogflowCxV3Generator struct {
  3845  	// DisplayName: Required. The human-readable name of the generator, unique
  3846  	// within the agent. The prompt contains pre-defined parameters such as
  3847  	// $conversation, $last-user-utterance, etc. populated by Dialogflow. It can
  3848  	// also contain custom placeholders which will be resolved during fulfillment.
  3849  	DisplayName string `json:"displayName,omitempty"`
  3850  	// Name: The unique identifier of the generator. Must be set for the
  3851  	// Generators.UpdateGenerator method. Generators.CreateGenerate populates the
  3852  	// name automatically. Format: `projects//locations//agents//generators/`.
  3853  	Name string `json:"name,omitempty"`
  3854  	// Placeholders: Optional. List of custom placeholders in the prompt text.
  3855  	Placeholders []*GoogleCloudDialogflowCxV3GeneratorPlaceholder `json:"placeholders,omitempty"`
  3856  	// PromptText: Required. Prompt for the LLM model.
  3857  	PromptText *GoogleCloudDialogflowCxV3Phrase `json:"promptText,omitempty"`
  3858  
  3859  	// ServerResponse contains the HTTP response code and headers from the server.
  3860  	googleapi.ServerResponse `json:"-"`
  3861  	// ForceSendFields is a list of field names (e.g. "DisplayName") to
  3862  	// unconditionally include in API requests. By default, fields with empty or
  3863  	// default values are omitted from API requests. See
  3864  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3865  	// details.
  3866  	ForceSendFields []string `json:"-"`
  3867  	// NullFields is a list of field names (e.g. "DisplayName") to include in API
  3868  	// requests with the JSON null value. By default, fields with empty values are
  3869  	// omitted from API requests. See
  3870  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3871  	NullFields []string `json:"-"`
  3872  }
  3873  
  3874  func (s *GoogleCloudDialogflowCxV3Generator) MarshalJSON() ([]byte, error) {
  3875  	type NoMethod GoogleCloudDialogflowCxV3Generator
  3876  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3877  }
  3878  
  3879  // GoogleCloudDialogflowCxV3GeneratorPlaceholder: Represents a custom
  3880  // placeholder in the prompt text.
  3881  type GoogleCloudDialogflowCxV3GeneratorPlaceholder struct {
  3882  	// Id: Unique ID used to map custom placeholder to parameters in fulfillment.
  3883  	Id string `json:"id,omitempty"`
  3884  	// Name: Custom placeholder value in the prompt text.
  3885  	Name string `json:"name,omitempty"`
  3886  	// ForceSendFields is a list of field names (e.g. "Id") to unconditionally
  3887  	// include in API requests. By default, fields with empty or default values are
  3888  	// omitted from API requests. See
  3889  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3890  	// details.
  3891  	ForceSendFields []string `json:"-"`
  3892  	// NullFields is a list of field names (e.g. "Id") to include in API requests
  3893  	// with the JSON null value. By default, fields with empty values are omitted
  3894  	// from API requests. See
  3895  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3896  	NullFields []string `json:"-"`
  3897  }
  3898  
  3899  func (s *GoogleCloudDialogflowCxV3GeneratorPlaceholder) MarshalJSON() ([]byte, error) {
  3900  	type NoMethod GoogleCloudDialogflowCxV3GeneratorPlaceholder
  3901  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3902  }
  3903  
  3904  // GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata: Metadata in
  3905  // google::longrunning::Operation for Knowledge operations.
  3906  type GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata struct {
  3907  	// State: Required. Output only. The current state of this operation.
  3908  	//
  3909  	// Possible values:
  3910  	//   "STATE_UNSPECIFIED" - State unspecified.
  3911  	//   "PENDING" - The operation has been created.
  3912  	//   "RUNNING" - The operation is currently running.
  3913  	//   "DONE" - The operation is done, either cancelled or completed.
  3914  	State string `json:"state,omitempty"`
  3915  	// ForceSendFields is a list of field names (e.g. "State") to unconditionally
  3916  	// include in API requests. By default, fields with empty or default values are
  3917  	// omitted from API requests. See
  3918  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3919  	// details.
  3920  	ForceSendFields []string `json:"-"`
  3921  	// NullFields is a list of field names (e.g. "State") to include in API
  3922  	// requests with the JSON null value. By default, fields with empty values are
  3923  	// omitted from API requests. See
  3924  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3925  	NullFields []string `json:"-"`
  3926  }
  3927  
  3928  func (s *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error) {
  3929  	type NoMethod GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata
  3930  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3931  }
  3932  
  3933  // GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata: Metadata for
  3934  // ImportDocuments operation.
  3935  type GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata struct {
  3936  	// GenericMetadata: The generic information of the operation.
  3937  	GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"`
  3938  	// ForceSendFields is a list of field names (e.g. "GenericMetadata") to
  3939  	// unconditionally include in API requests. By default, fields with empty or
  3940  	// default values are omitted from API requests. See
  3941  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3942  	// details.
  3943  	ForceSendFields []string `json:"-"`
  3944  	// NullFields is a list of field names (e.g. "GenericMetadata") to include in
  3945  	// API requests with the JSON null value. By default, fields with empty values
  3946  	// are omitted from API requests. See
  3947  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3948  	NullFields []string `json:"-"`
  3949  }
  3950  
  3951  func (s *GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error) {
  3952  	type NoMethod GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata
  3953  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3954  }
  3955  
  3956  // GoogleCloudDialogflowCxV3ImportDocumentsResponse: Response message for
  3957  // Documents.ImportDocuments.
  3958  type GoogleCloudDialogflowCxV3ImportDocumentsResponse struct {
  3959  	// Warnings: Includes details about skipped documents or any other warnings.
  3960  	Warnings []*GoogleRpcStatus `json:"warnings,omitempty"`
  3961  	// ForceSendFields is a list of field names (e.g. "Warnings") to
  3962  	// unconditionally include in API requests. By default, fields with empty or
  3963  	// default values are omitted from API requests. See
  3964  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  3965  	// details.
  3966  	ForceSendFields []string `json:"-"`
  3967  	// NullFields is a list of field names (e.g. "Warnings") to include in API
  3968  	// requests with the JSON null value. By default, fields with empty values are
  3969  	// omitted from API requests. See
  3970  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  3971  	NullFields []string `json:"-"`
  3972  }
  3973  
  3974  func (s *GoogleCloudDialogflowCxV3ImportDocumentsResponse) MarshalJSON() ([]byte, error) {
  3975  	type NoMethod GoogleCloudDialogflowCxV3ImportDocumentsResponse
  3976  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  3977  }
  3978  
  3979  // GoogleCloudDialogflowCxV3ImportEntityTypesMetadata: Metadata returned for
  3980  // the EntityTypes.ImportEntityTypes long running operation.
  3981  type GoogleCloudDialogflowCxV3ImportEntityTypesMetadata struct {
  3982  }
  3983  
  3984  // GoogleCloudDialogflowCxV3ImportEntityTypesRequest: The request message for
  3985  // EntityTypes.ImportEntityTypes.
  3986  type GoogleCloudDialogflowCxV3ImportEntityTypesRequest struct {
  3987  	// EntityTypesContent: Uncompressed byte content of entity types.
  3988  	EntityTypesContent *GoogleCloudDialogflowCxV3InlineSource `json:"entityTypesContent,omitempty"`
  3989  	// EntityTypesUri: The Google Cloud Storage
  3990  	// (https://cloud.google.com/storage/docs/) URI to import entity types from.
  3991  	// The format of this URI must be `gs:///`. Dialogflow performs a read
  3992  	// operation for the Cloud Storage object on the caller's behalf, so your
  3993  	// request authentication must have read permissions for the object. For more
  3994  	// information, see Dialogflow access control
  3995  	// (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
  3996  	EntityTypesUri string `json:"entityTypesUri,omitempty"`
  3997  	// MergeOption: Required. Merge option for importing entity types.
  3998  	//
  3999  	// Possible values:
  4000  	//   "MERGE_OPTION_UNSPECIFIED" - Unspecified. If used, system uses
  4001  	// REPORT_CONFLICT as default.
  4002  	//   "REPLACE" - Replace the original entity type in the agent with the new
  4003  	// entity type when display name conflicts exist.
  4004  	//   "MERGE" - Merge the original entity type with the new entity type when
  4005  	// display name conflicts exist.
  4006  	//   "RENAME" - Create new entity types with new display names to differentiate
  4007  	// them from the existing entity types when display name conflicts exist.
  4008  	//   "REPORT_CONFLICT" - Report conflict information if display names conflict
  4009  	// is detected. Otherwise, import entity types.
  4010  	//   "KEEP" - Keep the original entity type and discard the conflicting new
  4011  	// entity type when display name conflicts exist.
  4012  	MergeOption string `json:"mergeOption,omitempty"`
  4013  	// TargetEntityType: Optional. The target entity type to import into. Format:
  4014  	// `projects//locations//agents//entity_types/`. If set, there should be only
  4015  	// one entity type included in entity_types, of which the type should match the
  4016  	// type of the target entity type. All entities in the imported entity type
  4017  	// will be added to the target entity type.
  4018  	TargetEntityType string `json:"targetEntityType,omitempty"`
  4019  	// ForceSendFields is a list of field names (e.g. "EntityTypesContent") to
  4020  	// unconditionally include in API requests. By default, fields with empty or
  4021  	// default values are omitted from API requests. See
  4022  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4023  	// details.
  4024  	ForceSendFields []string `json:"-"`
  4025  	// NullFields is a list of field names (e.g. "EntityTypesContent") to include
  4026  	// in API requests with the JSON null value. By default, fields with empty
  4027  	// values are omitted from API requests. See
  4028  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4029  	NullFields []string `json:"-"`
  4030  }
  4031  
  4032  func (s *GoogleCloudDialogflowCxV3ImportEntityTypesRequest) MarshalJSON() ([]byte, error) {
  4033  	type NoMethod GoogleCloudDialogflowCxV3ImportEntityTypesRequest
  4034  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4035  }
  4036  
  4037  // GoogleCloudDialogflowCxV3ImportEntityTypesResponse: The response message for
  4038  // EntityTypes.ImportEntityTypes.
  4039  type GoogleCloudDialogflowCxV3ImportEntityTypesResponse struct {
  4040  	// ConflictingResources: Info which resources have conflicts when
  4041  	// REPORT_CONFLICT merge_option is set in ImportEntityTypesRequest.
  4042  	ConflictingResources *GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources `json:"conflictingResources,omitempty"`
  4043  	// EntityTypes: The unique identifier of the imported entity types. Format:
  4044  	// `projects//locations//agents//entity_types/`.
  4045  	EntityTypes []string `json:"entityTypes,omitempty"`
  4046  	// ForceSendFields is a list of field names (e.g. "ConflictingResources") to
  4047  	// unconditionally include in API requests. By default, fields with empty or
  4048  	// default values are omitted from API requests. See
  4049  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4050  	// details.
  4051  	ForceSendFields []string `json:"-"`
  4052  	// NullFields is a list of field names (e.g. "ConflictingResources") to include
  4053  	// in API requests with the JSON null value. By default, fields with empty
  4054  	// values are omitted from API requests. See
  4055  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4056  	NullFields []string `json:"-"`
  4057  }
  4058  
  4059  func (s *GoogleCloudDialogflowCxV3ImportEntityTypesResponse) MarshalJSON() ([]byte, error) {
  4060  	type NoMethod GoogleCloudDialogflowCxV3ImportEntityTypesResponse
  4061  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4062  }
  4063  
  4064  // GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources:
  4065  // Conflicting resources detected during the import process. Only filled when
  4066  // REPORT_CONFLICT is set in the request and there are conflicts in the display
  4067  // names.
  4068  type GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources struct {
  4069  	// EntityDisplayNames: Display names of conflicting entities.
  4070  	EntityDisplayNames []string `json:"entityDisplayNames,omitempty"`
  4071  	// EntityTypeDisplayNames: Display names of conflicting entity types.
  4072  	EntityTypeDisplayNames []string `json:"entityTypeDisplayNames,omitempty"`
  4073  	// ForceSendFields is a list of field names (e.g. "EntityDisplayNames") to
  4074  	// unconditionally include in API requests. By default, fields with empty or
  4075  	// default values are omitted from API requests. See
  4076  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4077  	// details.
  4078  	ForceSendFields []string `json:"-"`
  4079  	// NullFields is a list of field names (e.g. "EntityDisplayNames") to include
  4080  	// in API requests with the JSON null value. By default, fields with empty
  4081  	// values are omitted from API requests. See
  4082  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4083  	NullFields []string `json:"-"`
  4084  }
  4085  
  4086  func (s *GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources) MarshalJSON() ([]byte, error) {
  4087  	type NoMethod GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources
  4088  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4089  }
  4090  
  4091  // GoogleCloudDialogflowCxV3ImportFlowRequest: The request message for
  4092  // Flows.ImportFlow.
  4093  type GoogleCloudDialogflowCxV3ImportFlowRequest struct {
  4094  	// FlowContent: Uncompressed raw byte content for flow.
  4095  	FlowContent string `json:"flowContent,omitempty"`
  4096  	// FlowImportStrategy: Optional. Specifies the import strategy used when
  4097  	// resolving resource conflicts.
  4098  	FlowImportStrategy *GoogleCloudDialogflowCxV3FlowImportStrategy `json:"flowImportStrategy,omitempty"`
  4099  	// FlowUri: The Google Cloud Storage (https://cloud.google.com/storage/docs/)
  4100  	// URI to import flow from. The format of this URI must be `gs:///`. Dialogflow
  4101  	// performs a read operation for the Cloud Storage object on the caller's
  4102  	// behalf, so your request authentication must have read permissions for the
  4103  	// object. For more information, see Dialogflow access control
  4104  	// (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
  4105  	FlowUri string `json:"flowUri,omitempty"`
  4106  	// ImportOption: Flow import mode. If not specified, `KEEP` is assumed.
  4107  	//
  4108  	// Possible values:
  4109  	//   "IMPORT_OPTION_UNSPECIFIED" - Unspecified. Treated as `KEEP`.
  4110  	//   "KEEP" - Always respect settings in exported flow content. It may cause a
  4111  	// import failure if some settings (e.g. custom NLU) are not supported in the
  4112  	// agent to import into.
  4113  	//   "FALLBACK" - Fallback to default settings if some settings are not
  4114  	// supported in the agent to import into. E.g. Standard NLU will be used if
  4115  	// custom NLU is not available.
  4116  	ImportOption string `json:"importOption,omitempty"`
  4117  	// ForceSendFields is a list of field names (e.g. "FlowContent") to
  4118  	// unconditionally include in API requests. By default, fields with empty or
  4119  	// default values are omitted from API requests. See
  4120  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4121  	// details.
  4122  	ForceSendFields []string `json:"-"`
  4123  	// NullFields is a list of field names (e.g. "FlowContent") to include in API
  4124  	// requests with the JSON null value. By default, fields with empty values are
  4125  	// omitted from API requests. See
  4126  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4127  	NullFields []string `json:"-"`
  4128  }
  4129  
  4130  func (s *GoogleCloudDialogflowCxV3ImportFlowRequest) MarshalJSON() ([]byte, error) {
  4131  	type NoMethod GoogleCloudDialogflowCxV3ImportFlowRequest
  4132  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4133  }
  4134  
  4135  // GoogleCloudDialogflowCxV3ImportFlowResponse: The response message for
  4136  // Flows.ImportFlow.
  4137  type GoogleCloudDialogflowCxV3ImportFlowResponse struct {
  4138  	// Flow: The unique identifier of the new flow. Format:
  4139  	// `projects//locations//agents//flows/`.
  4140  	Flow string `json:"flow,omitempty"`
  4141  	// ForceSendFields is a list of field names (e.g. "Flow") to unconditionally
  4142  	// include in API requests. By default, fields with empty or default values are
  4143  	// omitted from API requests. See
  4144  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4145  	// details.
  4146  	ForceSendFields []string `json:"-"`
  4147  	// NullFields is a list of field names (e.g. "Flow") to include in API requests
  4148  	// with the JSON null value. By default, fields with empty values are omitted
  4149  	// from API requests. See
  4150  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4151  	NullFields []string `json:"-"`
  4152  }
  4153  
  4154  func (s *GoogleCloudDialogflowCxV3ImportFlowResponse) MarshalJSON() ([]byte, error) {
  4155  	type NoMethod GoogleCloudDialogflowCxV3ImportFlowResponse
  4156  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4157  }
  4158  
  4159  // GoogleCloudDialogflowCxV3ImportIntentsMetadata: Metadata returned for the
  4160  // Intents.ImportIntents long running operation.
  4161  type GoogleCloudDialogflowCxV3ImportIntentsMetadata struct {
  4162  }
  4163  
  4164  // GoogleCloudDialogflowCxV3ImportIntentsRequest: The request message for
  4165  // Intents.ImportIntents.
  4166  type GoogleCloudDialogflowCxV3ImportIntentsRequest struct {
  4167  	// IntentsContent: Uncompressed byte content of intents.
  4168  	IntentsContent *GoogleCloudDialogflowCxV3InlineSource `json:"intentsContent,omitempty"`
  4169  	// IntentsUri: The Google Cloud Storage
  4170  	// (https://cloud.google.com/storage/docs/) URI to import intents from. The
  4171  	// format of this URI must be `gs:///`. Dialogflow performs a read operation
  4172  	// for the Cloud Storage object on the caller's behalf, so your request
  4173  	// authentication must have read permissions for the object. For more
  4174  	// information, see Dialogflow access control
  4175  	// (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
  4176  	IntentsUri string `json:"intentsUri,omitempty"`
  4177  	// MergeOption: Merge option for importing intents. If not specified, `REJECT`
  4178  	// is assumed.
  4179  	//
  4180  	// Possible values:
  4181  	//   "MERGE_OPTION_UNSPECIFIED" - Unspecified. Should not be used.
  4182  	//   "REJECT" - DEPRECATED: Please use REPORT_CONFLICT instead. Fail the
  4183  	// request if there are intents whose display names conflict with the display
  4184  	// names of intents in the agent.
  4185  	//   "REPLACE" - Replace the original intent in the agent with the new intent
  4186  	// when display name conflicts exist.
  4187  	//   "MERGE" - Merge the original intent with the new intent when display name
  4188  	// conflicts exist.
  4189  	//   "RENAME" - Create new intents with new display names to differentiate them
  4190  	// from the existing intents when display name conflicts exist.
  4191  	//   "REPORT_CONFLICT" - Report conflict information if display names conflict
  4192  	// is detected. Otherwise, import intents.
  4193  	//   "KEEP" - Keep the original intent and discard the conflicting new intent
  4194  	// when display name conflicts exist.
  4195  	MergeOption string `json:"mergeOption,omitempty"`
  4196  	// ForceSendFields is a list of field names (e.g. "IntentsContent") to
  4197  	// unconditionally include in API requests. By default, fields with empty or
  4198  	// default values are omitted from API requests. See
  4199  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4200  	// details.
  4201  	ForceSendFields []string `json:"-"`
  4202  	// NullFields is a list of field names (e.g. "IntentsContent") to include in
  4203  	// API requests with the JSON null value. By default, fields with empty values
  4204  	// are omitted from API requests. See
  4205  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4206  	NullFields []string `json:"-"`
  4207  }
  4208  
  4209  func (s *GoogleCloudDialogflowCxV3ImportIntentsRequest) MarshalJSON() ([]byte, error) {
  4210  	type NoMethod GoogleCloudDialogflowCxV3ImportIntentsRequest
  4211  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4212  }
  4213  
  4214  // GoogleCloudDialogflowCxV3ImportIntentsResponse: The response message for
  4215  // Intents.ImportIntents.
  4216  type GoogleCloudDialogflowCxV3ImportIntentsResponse struct {
  4217  	// ConflictingResources: Info which resources have conflicts when
  4218  	// REPORT_CONFLICT merge_option is set in ImportIntentsRequest.
  4219  	ConflictingResources *GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources `json:"conflictingResources,omitempty"`
  4220  	// Intents: The unique identifier of the imported intents. Format:
  4221  	// `projects//locations//agents//intents/`.
  4222  	Intents []string `json:"intents,omitempty"`
  4223  	// ForceSendFields is a list of field names (e.g. "ConflictingResources") to
  4224  	// unconditionally include in API requests. By default, fields with empty or
  4225  	// default values are omitted from API requests. See
  4226  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4227  	// details.
  4228  	ForceSendFields []string `json:"-"`
  4229  	// NullFields is a list of field names (e.g. "ConflictingResources") to include
  4230  	// in API requests with the JSON null value. By default, fields with empty
  4231  	// values are omitted from API requests. See
  4232  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4233  	NullFields []string `json:"-"`
  4234  }
  4235  
  4236  func (s *GoogleCloudDialogflowCxV3ImportIntentsResponse) MarshalJSON() ([]byte, error) {
  4237  	type NoMethod GoogleCloudDialogflowCxV3ImportIntentsResponse
  4238  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4239  }
  4240  
  4241  // GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources:
  4242  // Conflicting resources detected during the import process. Only filled when
  4243  // REPORT_CONFLICT is set in the request and there are conflicts in the display
  4244  // names.
  4245  type GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources struct {
  4246  	// EntityDisplayNames: Display names of conflicting entities.
  4247  	EntityDisplayNames []string `json:"entityDisplayNames,omitempty"`
  4248  	// IntentDisplayNames: Display names of conflicting intents.
  4249  	IntentDisplayNames []string `json:"intentDisplayNames,omitempty"`
  4250  	// ForceSendFields is a list of field names (e.g. "EntityDisplayNames") to
  4251  	// unconditionally include in API requests. By default, fields with empty or
  4252  	// default values are omitted from API requests. See
  4253  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4254  	// details.
  4255  	ForceSendFields []string `json:"-"`
  4256  	// NullFields is a list of field names (e.g. "EntityDisplayNames") to include
  4257  	// in API requests with the JSON null value. By default, fields with empty
  4258  	// values are omitted from API requests. See
  4259  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4260  	NullFields []string `json:"-"`
  4261  }
  4262  
  4263  func (s *GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources) MarshalJSON() ([]byte, error) {
  4264  	type NoMethod GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources
  4265  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4266  }
  4267  
  4268  // GoogleCloudDialogflowCxV3ImportTestCasesMetadata: Metadata returned for the
  4269  // TestCases.ImportTestCases long running operation.
  4270  type GoogleCloudDialogflowCxV3ImportTestCasesMetadata struct {
  4271  	// Errors: Errors for failed test cases.
  4272  	Errors []*GoogleCloudDialogflowCxV3TestCaseError `json:"errors,omitempty"`
  4273  	// ForceSendFields is a list of field names (e.g. "Errors") to unconditionally
  4274  	// include in API requests. By default, fields with empty or default values are
  4275  	// omitted from API requests. See
  4276  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4277  	// details.
  4278  	ForceSendFields []string `json:"-"`
  4279  	// NullFields is a list of field names (e.g. "Errors") to include in API
  4280  	// requests with the JSON null value. By default, fields with empty values are
  4281  	// omitted from API requests. See
  4282  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4283  	NullFields []string `json:"-"`
  4284  }
  4285  
  4286  func (s *GoogleCloudDialogflowCxV3ImportTestCasesMetadata) MarshalJSON() ([]byte, error) {
  4287  	type NoMethod GoogleCloudDialogflowCxV3ImportTestCasesMetadata
  4288  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4289  }
  4290  
  4291  // GoogleCloudDialogflowCxV3ImportTestCasesRequest: The request message for
  4292  // TestCases.ImportTestCases.
  4293  type GoogleCloudDialogflowCxV3ImportTestCasesRequest struct {
  4294  	// Content: Uncompressed raw byte content for test cases.
  4295  	Content string `json:"content,omitempty"`
  4296  	// GcsUri: The Google Cloud Storage (https://cloud.google.com/storage/docs/)
  4297  	// URI to import test cases from. The format of this URI must be `gs:///`.
  4298  	// Dialogflow performs a read operation for the Cloud Storage object on the
  4299  	// caller's behalf, so your request authentication must have read permissions
  4300  	// for the object. For more information, see Dialogflow access control
  4301  	// (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
  4302  	GcsUri string `json:"gcsUri,omitempty"`
  4303  	// ForceSendFields is a list of field names (e.g. "Content") to unconditionally
  4304  	// include in API requests. By default, fields with empty or default values are
  4305  	// omitted from API requests. See
  4306  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4307  	// details.
  4308  	ForceSendFields []string `json:"-"`
  4309  	// NullFields is a list of field names (e.g. "Content") to include in API
  4310  	// requests with the JSON null value. By default, fields with empty values are
  4311  	// omitted from API requests. See
  4312  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4313  	NullFields []string `json:"-"`
  4314  }
  4315  
  4316  func (s *GoogleCloudDialogflowCxV3ImportTestCasesRequest) MarshalJSON() ([]byte, error) {
  4317  	type NoMethod GoogleCloudDialogflowCxV3ImportTestCasesRequest
  4318  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4319  }
  4320  
  4321  // GoogleCloudDialogflowCxV3ImportTestCasesResponse: The response message for
  4322  // TestCases.ImportTestCases.
  4323  type GoogleCloudDialogflowCxV3ImportTestCasesResponse struct {
  4324  	// Names: The unique identifiers of the new test cases. Format:
  4325  	// `projects//locations//agents//testCases/`.
  4326  	Names []string `json:"names,omitempty"`
  4327  	// ForceSendFields is a list of field names (e.g. "Names") to unconditionally
  4328  	// include in API requests. By default, fields with empty or default values are
  4329  	// omitted from API requests. See
  4330  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4331  	// details.
  4332  	ForceSendFields []string `json:"-"`
  4333  	// NullFields is a list of field names (e.g. "Names") to include in API
  4334  	// requests with the JSON null value. By default, fields with empty values are
  4335  	// omitted from API requests. See
  4336  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4337  	NullFields []string `json:"-"`
  4338  }
  4339  
  4340  func (s *GoogleCloudDialogflowCxV3ImportTestCasesResponse) MarshalJSON() ([]byte, error) {
  4341  	type NoMethod GoogleCloudDialogflowCxV3ImportTestCasesResponse
  4342  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4343  }
  4344  
  4345  // GoogleCloudDialogflowCxV3InlineDestination: Inline destination for a
  4346  // Dialogflow operation that writes or exports objects (e.g. intents) outside
  4347  // of Dialogflow.
  4348  type GoogleCloudDialogflowCxV3InlineDestination struct {
  4349  	// Content: Output only. The uncompressed byte content for the objects. Only
  4350  	// populated in responses.
  4351  	Content string `json:"content,omitempty"`
  4352  	// ForceSendFields is a list of field names (e.g. "Content") to unconditionally
  4353  	// include in API requests. By default, fields with empty or default values are
  4354  	// omitted from API requests. See
  4355  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4356  	// details.
  4357  	ForceSendFields []string `json:"-"`
  4358  	// NullFields is a list of field names (e.g. "Content") to include in API
  4359  	// requests with the JSON null value. By default, fields with empty values are
  4360  	// omitted from API requests. See
  4361  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4362  	NullFields []string `json:"-"`
  4363  }
  4364  
  4365  func (s *GoogleCloudDialogflowCxV3InlineDestination) MarshalJSON() ([]byte, error) {
  4366  	type NoMethod GoogleCloudDialogflowCxV3InlineDestination
  4367  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4368  }
  4369  
  4370  // GoogleCloudDialogflowCxV3InlineSource: Inline source for a Dialogflow
  4371  // operation that reads or imports objects (e.g. intents) into Dialogflow.
  4372  type GoogleCloudDialogflowCxV3InlineSource struct {
  4373  	// Content: The uncompressed byte content for the objects.
  4374  	Content string `json:"content,omitempty"`
  4375  	// ForceSendFields is a list of field names (e.g. "Content") to unconditionally
  4376  	// include in API requests. By default, fields with empty or default values are
  4377  	// omitted from API requests. See
  4378  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4379  	// details.
  4380  	ForceSendFields []string `json:"-"`
  4381  	// NullFields is a list of field names (e.g. "Content") to include in API
  4382  	// requests with the JSON null value. By default, fields with empty values are
  4383  	// omitted from API requests. See
  4384  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4385  	NullFields []string `json:"-"`
  4386  }
  4387  
  4388  func (s *GoogleCloudDialogflowCxV3InlineSource) MarshalJSON() ([]byte, error) {
  4389  	type NoMethod GoogleCloudDialogflowCxV3InlineSource
  4390  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4391  }
  4392  
  4393  // GoogleCloudDialogflowCxV3InputAudioConfig: Instructs the speech recognizer
  4394  // on how to process the audio content.
  4395  type GoogleCloudDialogflowCxV3InputAudioConfig struct {
  4396  	// AudioEncoding: Required. Audio encoding of the audio content to process.
  4397  	//
  4398  	// Possible values:
  4399  	//   "AUDIO_ENCODING_UNSPECIFIED" - Not specified.
  4400  	//   "AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed little-endian
  4401  	// samples (Linear PCM).
  4402  	//   "AUDIO_ENCODING_FLAC" - [`FLAC`](https://xiph.org/flac/documentation.html)
  4403  	// (Free Lossless Audio Codec) is the recommended encoding because it is
  4404  	// lossless (therefore recognition is not compromised) and requires only about
  4405  	// half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and
  4406  	// 24-bit samples, however, not all fields in `STREAMINFO` are supported.
  4407  	//   "AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit audio samples
  4408  	// using G.711 PCMU/mu-law.
  4409  	//   "AUDIO_ENCODING_AMR" - Adaptive Multi-Rate Narrowband codec.
  4410  	// `sample_rate_hertz` must be 8000.
  4411  	//   "AUDIO_ENCODING_AMR_WB" - Adaptive Multi-Rate Wideband codec.
  4412  	// `sample_rate_hertz` must be 16000.
  4413  	//   "AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio frames in Ogg container
  4414  	// ([OggOpus](https://wiki.xiph.org/OggOpus)). `sample_rate_hertz` must be
  4415  	// 16000.
  4416  	//   "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" - Although the use of lossy
  4417  	// encodings is not recommended, if a very low bitrate encoding is required,
  4418  	// `OGG_OPUS` is highly preferred over Speex encoding. The
  4419  	// [Speex](https://speex.org/) encoding supported by Dialogflow API has a
  4420  	// header byte in each block, as in MIME type `audio/x-speex-with-header-byte`.
  4421  	// It is a variant of the RTP Speex encoding defined in [RFC
  4422  	// 5574](https://tools.ietf.org/html/rfc5574). The stream is a sequence of
  4423  	// blocks, one block per RTP packet. Each block starts with a byte containing
  4424  	// the length of the block, in bytes, followed by one or more frames of Speex
  4425  	// data, padded to an integral number of bytes (octets) as specified in RFC
  4426  	// 5574. In other words, each RTP header is replaced with a single byte
  4427  	// containing the block length. Only Speex wideband is supported.
  4428  	// `sample_rate_hertz` must be 16000.
  4429  	AudioEncoding string `json:"audioEncoding,omitempty"`
  4430  	// BargeInConfig: Configuration of barge-in behavior during the streaming of
  4431  	// input audio.
  4432  	BargeInConfig *GoogleCloudDialogflowCxV3BargeInConfig `json:"bargeInConfig,omitempty"`
  4433  	// EnableWordInfo: Optional. If `true`, Dialogflow returns SpeechWordInfo in
  4434  	// StreamingRecognitionResult with information about the recognized speech
  4435  	// words, e.g. start and end time offsets. If false or unspecified, Speech
  4436  	// doesn't return any word-level information.
  4437  	EnableWordInfo bool `json:"enableWordInfo,omitempty"`
  4438  	// Model: Optional. Which Speech model to select for the given request. For
  4439  	// more information, see Speech models
  4440  	// (https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
  4441  	Model string `json:"model,omitempty"`
  4442  	// ModelVariant: Optional. Which variant of the Speech model to use.
  4443  	//
  4444  	// Possible values:
  4445  	//   "SPEECH_MODEL_VARIANT_UNSPECIFIED" - No model variant specified. In this
  4446  	// case Dialogflow defaults to USE_BEST_AVAILABLE.
  4447  	//   "USE_BEST_AVAILABLE" - Use the best available variant of the Speech model
  4448  	// that the caller is eligible for.
  4449  	//   "USE_STANDARD" - Use standard model variant even if an enhanced model is
  4450  	// available. See the [Cloud Speech
  4451  	// documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
  4452  	// for details about enhanced models.
  4453  	//   "USE_ENHANCED" - Use an enhanced model variant: * If an enhanced variant
  4454  	// does not exist for the given model and request language, Dialogflow falls
  4455  	// back to the standard variant. The [Cloud Speech
  4456  	// documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
  4457  	// describes which models have enhanced variants.
  4458  	ModelVariant string `json:"modelVariant,omitempty"`
  4459  	// OptOutConformerModelMigration: If `true`, the request will opt out for STT
  4460  	// conformer model migration. This field will be deprecated once force
  4461  	// migration takes place in June 2024. Please refer to Dialogflow CX Speech
  4462  	// model migration
  4463  	// (https://cloud.google.com/dialogflow/cx/docs/concept/speech-model-migration).
  4464  	OptOutConformerModelMigration bool `json:"optOutConformerModelMigration,omitempty"`
  4465  	// PhraseHints: Optional. A list of strings containing words and phrases that
  4466  	// the speech recognizer should recognize with higher likelihood. See the Cloud
  4467  	// Speech documentation
  4468  	// (https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more
  4469  	// details.
  4470  	PhraseHints []string `json:"phraseHints,omitempty"`
  4471  	// SampleRateHertz: Sample rate (in Hertz) of the audio content sent in the
  4472  	// query. Refer to Cloud Speech API documentation
  4473  	// (https://cloud.google.com/speech-to-text/docs/basics) for more details.
  4474  	SampleRateHertz int64 `json:"sampleRateHertz,omitempty"`
  4475  	// SingleUtterance: Optional. If `false` (default), recognition does not cease
  4476  	// until the client closes the stream. If `true`, the recognizer will detect a
  4477  	// single spoken utterance in input audio. Recognition ceases when it detects
  4478  	// the audio's voice has stopped or paused. In this case, once a detected
  4479  	// intent is received, the client should close the stream and start a new
  4480  	// request with a new stream as needed. Note: This setting is relevant only for
  4481  	// streaming methods.
  4482  	SingleUtterance bool `json:"singleUtterance,omitempty"`
  4483  	// ForceSendFields is a list of field names (e.g. "AudioEncoding") to
  4484  	// unconditionally include in API requests. By default, fields with empty or
  4485  	// default values are omitted from API requests. See
  4486  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4487  	// details.
  4488  	ForceSendFields []string `json:"-"`
  4489  	// NullFields is a list of field names (e.g. "AudioEncoding") to include in API
  4490  	// requests with the JSON null value. By default, fields with empty values are
  4491  	// omitted from API requests. See
  4492  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4493  	NullFields []string `json:"-"`
  4494  }
  4495  
  4496  func (s *GoogleCloudDialogflowCxV3InputAudioConfig) MarshalJSON() ([]byte, error) {
  4497  	type NoMethod GoogleCloudDialogflowCxV3InputAudioConfig
  4498  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4499  }
  4500  
  4501  // GoogleCloudDialogflowCxV3Intent: An intent represents a user's intent to
  4502  // interact with a conversational agent. You can provide information for the
  4503  // Dialogflow API to use to match user input to an intent by adding training
  4504  // phrases (i.e., examples of user input) to your intent.
  4505  type GoogleCloudDialogflowCxV3Intent struct {
  4506  	// Description: Human readable description for better understanding an intent
  4507  	// like its scope, content, result etc. Maximum character limit: 140
  4508  	// characters.
  4509  	Description string `json:"description,omitempty"`
  4510  	// DisplayName: Required. The human-readable name of the intent, unique within
  4511  	// the agent.
  4512  	DisplayName string `json:"displayName,omitempty"`
  4513  	// IsFallback: Indicates whether this is a fallback intent. Currently only
  4514  	// default fallback intent is allowed in the agent, which is added upon agent
  4515  	// creation. Adding training phrases to fallback intent is useful in the case
  4516  	// of requests that are mistakenly matched, since training phrases assigned to
  4517  	// fallback intents act as negative examples that triggers no-match event.
  4518  	IsFallback bool `json:"isFallback,omitempty"`
  4519  	// Labels: The key/value metadata to label an intent. Labels can contain
  4520  	// lowercase letters, digits and the symbols '-' and '_'. International
  4521  	// characters are allowed, including letters from unicase alphabets. Keys must
  4522  	// start with a letter. Keys and values can be no longer than 63 characters and
  4523  	// no more than 128 bytes. Prefix "sys-" is reserved for Dialogflow defined
  4524  	// labels. Currently allowed Dialogflow defined labels include: * sys-head *
  4525  	// sys-contextual The above labels do not require value. "sys-head" means the
  4526  	// intent is a head intent. "sys.contextual" means the intent is a contextual
  4527  	// intent.
  4528  	Labels map[string]string `json:"labels,omitempty"`
  4529  	// Name: The unique identifier of the intent. Required for the
  4530  	// Intents.UpdateIntent method. Intents.CreateIntent populates the name
  4531  	// automatically. Format: `projects//locations//agents//intents/`.
  4532  	Name string `json:"name,omitempty"`
  4533  	// Parameters: The collection of parameters associated with the intent.
  4534  	Parameters []*GoogleCloudDialogflowCxV3IntentParameter `json:"parameters,omitempty"`
  4535  	// Priority: The priority of this intent. Higher numbers represent higher
  4536  	// priorities. - If the supplied value is unspecified or 0, the service
  4537  	// translates the value to 500,000, which corresponds to the `Normal` priority
  4538  	// in the console. - If the supplied value is negative, the intent is ignored
  4539  	// in runtime detect intent requests.
  4540  	Priority int64 `json:"priority,omitempty"`
  4541  	// TrainingPhrases: The collection of training phrases the agent is trained on
  4542  	// to identify the intent.
  4543  	TrainingPhrases []*GoogleCloudDialogflowCxV3IntentTrainingPhrase `json:"trainingPhrases,omitempty"`
  4544  
  4545  	// ServerResponse contains the HTTP response code and headers from the server.
  4546  	googleapi.ServerResponse `json:"-"`
  4547  	// ForceSendFields is a list of field names (e.g. "Description") to
  4548  	// unconditionally include in API requests. By default, fields with empty or
  4549  	// default values are omitted from API requests. See
  4550  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4551  	// details.
  4552  	ForceSendFields []string `json:"-"`
  4553  	// NullFields is a list of field names (e.g. "Description") to include in API
  4554  	// requests with the JSON null value. By default, fields with empty values are
  4555  	// omitted from API requests. See
  4556  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4557  	NullFields []string `json:"-"`
  4558  }
  4559  
  4560  func (s *GoogleCloudDialogflowCxV3Intent) MarshalJSON() ([]byte, error) {
  4561  	type NoMethod GoogleCloudDialogflowCxV3Intent
  4562  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4563  }
  4564  
  4565  // GoogleCloudDialogflowCxV3IntentCoverage: Intent coverage represents the
  4566  // percentage of all possible intents in the agent that are triggered in any of
  4567  // a parent's test cases.
  4568  type GoogleCloudDialogflowCxV3IntentCoverage struct {
  4569  	// CoverageScore: The percent of intents in the agent that are covered.
  4570  	CoverageScore float64 `json:"coverageScore,omitempty"`
  4571  	// Intents: The list of Intents present in the agent
  4572  	Intents []*GoogleCloudDialogflowCxV3IntentCoverageIntent `json:"intents,omitempty"`
  4573  	// ForceSendFields is a list of field names (e.g. "CoverageScore") to
  4574  	// unconditionally include in API requests. By default, fields with empty or
  4575  	// default values are omitted from API requests. See
  4576  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4577  	// details.
  4578  	ForceSendFields []string `json:"-"`
  4579  	// NullFields is a list of field names (e.g. "CoverageScore") to include in API
  4580  	// requests with the JSON null value. By default, fields with empty values are
  4581  	// omitted from API requests. See
  4582  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4583  	NullFields []string `json:"-"`
  4584  }
  4585  
  4586  func (s *GoogleCloudDialogflowCxV3IntentCoverage) MarshalJSON() ([]byte, error) {
  4587  	type NoMethod GoogleCloudDialogflowCxV3IntentCoverage
  4588  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4589  }
  4590  
  4591  func (s *GoogleCloudDialogflowCxV3IntentCoverage) UnmarshalJSON(data []byte) error {
  4592  	type NoMethod GoogleCloudDialogflowCxV3IntentCoverage
  4593  	var s1 struct {
  4594  		CoverageScore gensupport.JSONFloat64 `json:"coverageScore"`
  4595  		*NoMethod
  4596  	}
  4597  	s1.NoMethod = (*NoMethod)(s)
  4598  	if err := json.Unmarshal(data, &s1); err != nil {
  4599  		return err
  4600  	}
  4601  	s.CoverageScore = float64(s1.CoverageScore)
  4602  	return nil
  4603  }
  4604  
  4605  // GoogleCloudDialogflowCxV3IntentCoverageIntent: The agent's intent.
  4606  type GoogleCloudDialogflowCxV3IntentCoverageIntent struct {
  4607  	// Covered: Whether the intent is covered by at least one of the agent's test
  4608  	// cases.
  4609  	Covered bool `json:"covered,omitempty"`
  4610  	// Intent: The intent full resource name
  4611  	Intent string `json:"intent,omitempty"`
  4612  	// ForceSendFields is a list of field names (e.g. "Covered") to unconditionally
  4613  	// include in API requests. By default, fields with empty or default values are
  4614  	// omitted from API requests. See
  4615  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4616  	// details.
  4617  	ForceSendFields []string `json:"-"`
  4618  	// NullFields is a list of field names (e.g. "Covered") to include in API
  4619  	// requests with the JSON null value. By default, fields with empty values are
  4620  	// omitted from API requests. See
  4621  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4622  	NullFields []string `json:"-"`
  4623  }
  4624  
  4625  func (s *GoogleCloudDialogflowCxV3IntentCoverageIntent) MarshalJSON() ([]byte, error) {
  4626  	type NoMethod GoogleCloudDialogflowCxV3IntentCoverageIntent
  4627  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4628  }
  4629  
  4630  // GoogleCloudDialogflowCxV3IntentInput: Represents the intent to trigger
  4631  // programmatically rather than as a result of natural language processing.
  4632  type GoogleCloudDialogflowCxV3IntentInput struct {
  4633  	// Intent: Required. The unique identifier of the intent. Format:
  4634  	// `projects//locations//agents//intents/`.
  4635  	Intent string `json:"intent,omitempty"`
  4636  	// ForceSendFields is a list of field names (e.g. "Intent") to unconditionally
  4637  	// include in API requests. By default, fields with empty or default values are
  4638  	// omitted from API requests. See
  4639  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4640  	// details.
  4641  	ForceSendFields []string `json:"-"`
  4642  	// NullFields is a list of field names (e.g. "Intent") to include in API
  4643  	// requests with the JSON null value. By default, fields with empty values are
  4644  	// omitted from API requests. See
  4645  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4646  	NullFields []string `json:"-"`
  4647  }
  4648  
  4649  func (s *GoogleCloudDialogflowCxV3IntentInput) MarshalJSON() ([]byte, error) {
  4650  	type NoMethod GoogleCloudDialogflowCxV3IntentInput
  4651  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4652  }
  4653  
  4654  // GoogleCloudDialogflowCxV3IntentParameter: Represents an intent parameter.
  4655  type GoogleCloudDialogflowCxV3IntentParameter struct {
  4656  	// EntityType: Required. The entity type of the parameter. Format:
  4657  	// `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for
  4658  	// example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or
  4659  	// `projects//locations//agents//entityTypes/` for developer entity types.
  4660  	EntityType string `json:"entityType,omitempty"`
  4661  	// Id: Required. The unique identifier of the parameter. This field is used by
  4662  	// training phrases to annotate their parts.
  4663  	Id string `json:"id,omitempty"`
  4664  	// IsList: Indicates whether the parameter represents a list of values.
  4665  	IsList bool `json:"isList,omitempty"`
  4666  	// Redact: Indicates whether the parameter content should be redacted in log.
  4667  	// If redaction is enabled, the parameter content will be replaced by parameter
  4668  	// name during logging. Note: the parameter content is subject to redaction if
  4669  	// either parameter level redaction or entity type level redaction is enabled.
  4670  	Redact bool `json:"redact,omitempty"`
  4671  	// ForceSendFields is a list of field names (e.g. "EntityType") to
  4672  	// unconditionally include in API requests. By default, fields with empty or
  4673  	// default values are omitted from API requests. See
  4674  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4675  	// details.
  4676  	ForceSendFields []string `json:"-"`
  4677  	// NullFields is a list of field names (e.g. "EntityType") to include in API
  4678  	// requests with the JSON null value. By default, fields with empty values are
  4679  	// omitted from API requests. See
  4680  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4681  	NullFields []string `json:"-"`
  4682  }
  4683  
  4684  func (s *GoogleCloudDialogflowCxV3IntentParameter) MarshalJSON() ([]byte, error) {
  4685  	type NoMethod GoogleCloudDialogflowCxV3IntentParameter
  4686  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4687  }
  4688  
  4689  // GoogleCloudDialogflowCxV3IntentTrainingPhrase: Represents an example that
  4690  // the agent is trained on to identify the intent.
  4691  type GoogleCloudDialogflowCxV3IntentTrainingPhrase struct {
  4692  	// Id: Output only. The unique identifier of the training phrase.
  4693  	Id string `json:"id,omitempty"`
  4694  	// Parts: Required. The ordered list of training phrase parts. The parts are
  4695  	// concatenated in order to form the training phrase. Note: The API does not
  4696  	// automatically annotate training phrases like the Dialogflow Console does.
  4697  	// Note: Do not forget to include whitespace at part boundaries, so the
  4698  	// training phrase is well formatted when the parts are concatenated. If the
  4699  	// training phrase does not need to be annotated with parameters, you just need
  4700  	// a single part with only the Part.text field set. If you want to annotate the
  4701  	// training phrase, you must create multiple parts, where the fields of each
  4702  	// part are populated in one of two ways: - `Part.text` is set to a part of the
  4703  	// phrase that has no parameters. - `Part.text` is set to a part of the phrase
  4704  	// that you want to annotate, and the `parameter_id` field is set.
  4705  	Parts []*GoogleCloudDialogflowCxV3IntentTrainingPhrasePart `json:"parts,omitempty"`
  4706  	// RepeatCount: Indicates how many times this example was added to the intent.
  4707  	RepeatCount int64 `json:"repeatCount,omitempty"`
  4708  	// ForceSendFields is a list of field names (e.g. "Id") to unconditionally
  4709  	// include in API requests. By default, fields with empty or default values are
  4710  	// omitted from API requests. See
  4711  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4712  	// details.
  4713  	ForceSendFields []string `json:"-"`
  4714  	// NullFields is a list of field names (e.g. "Id") to include in API requests
  4715  	// with the JSON null value. By default, fields with empty values are omitted
  4716  	// from API requests. See
  4717  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4718  	NullFields []string `json:"-"`
  4719  }
  4720  
  4721  func (s *GoogleCloudDialogflowCxV3IntentTrainingPhrase) MarshalJSON() ([]byte, error) {
  4722  	type NoMethod GoogleCloudDialogflowCxV3IntentTrainingPhrase
  4723  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4724  }
  4725  
  4726  // GoogleCloudDialogflowCxV3IntentTrainingPhrasePart: Represents a part of a
  4727  // training phrase.
  4728  type GoogleCloudDialogflowCxV3IntentTrainingPhrasePart struct {
  4729  	// ParameterId: The parameter used to annotate this part of the training
  4730  	// phrase. This field is required for annotated parts of the training phrase.
  4731  	ParameterId string `json:"parameterId,omitempty"`
  4732  	// Text: Required. The text for this part.
  4733  	Text string `json:"text,omitempty"`
  4734  	// ForceSendFields is a list of field names (e.g. "ParameterId") to
  4735  	// unconditionally include in API requests. By default, fields with empty or
  4736  	// default values are omitted from API requests. See
  4737  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4738  	// details.
  4739  	ForceSendFields []string `json:"-"`
  4740  	// NullFields is a list of field names (e.g. "ParameterId") to include in API
  4741  	// requests with the JSON null value. By default, fields with empty values are
  4742  	// omitted from API requests. See
  4743  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4744  	NullFields []string `json:"-"`
  4745  }
  4746  
  4747  func (s *GoogleCloudDialogflowCxV3IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) {
  4748  	type NoMethod GoogleCloudDialogflowCxV3IntentTrainingPhrasePart
  4749  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4750  }
  4751  
  4752  // GoogleCloudDialogflowCxV3KnowledgeConnectorSettings: The Knowledge Connector
  4753  // settings for this page or flow. This includes information such as the
  4754  // attached Knowledge Bases, and the way to execute fulfillment.
  4755  type GoogleCloudDialogflowCxV3KnowledgeConnectorSettings struct {
  4756  	// DataStoreConnections: Optional. List of related data store connections.
  4757  	DataStoreConnections []*GoogleCloudDialogflowCxV3DataStoreConnection `json:"dataStoreConnections,omitempty"`
  4758  	// Enabled: Whether Knowledge Connector is enabled or not.
  4759  	Enabled bool `json:"enabled,omitempty"`
  4760  	// TargetFlow: The target flow to transition to. Format:
  4761  	// `projects//locations//agents//flows/`.
  4762  	TargetFlow string `json:"targetFlow,omitempty"`
  4763  	// TargetPage: The target page to transition to. Format:
  4764  	// `projects//locations//agents//flows//pages/`.
  4765  	TargetPage string `json:"targetPage,omitempty"`
  4766  	// TriggerFulfillment: The fulfillment to be triggered. When the answers from
  4767  	// the Knowledge Connector are selected by Dialogflow, you can utitlize the
  4768  	// request scoped parameter `$request.knowledge.answers` (contains up to the 5
  4769  	// highest confidence answers) and `$request.knowledge.questions` (contains the
  4770  	// corresponding questions) to construct the fulfillment.
  4771  	TriggerFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"triggerFulfillment,omitempty"`
  4772  	// ForceSendFields is a list of field names (e.g. "DataStoreConnections") to
  4773  	// unconditionally include in API requests. By default, fields with empty or
  4774  	// default values are omitted from API requests. See
  4775  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4776  	// details.
  4777  	ForceSendFields []string `json:"-"`
  4778  	// NullFields is a list of field names (e.g. "DataStoreConnections") to include
  4779  	// in API requests with the JSON null value. By default, fields with empty
  4780  	// values are omitted from API requests. See
  4781  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4782  	NullFields []string `json:"-"`
  4783  }
  4784  
  4785  func (s *GoogleCloudDialogflowCxV3KnowledgeConnectorSettings) MarshalJSON() ([]byte, error) {
  4786  	type NoMethod GoogleCloudDialogflowCxV3KnowledgeConnectorSettings
  4787  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4788  }
  4789  
  4790  // GoogleCloudDialogflowCxV3LanguageInfo: Represents the language information
  4791  // of the request.
  4792  type GoogleCloudDialogflowCxV3LanguageInfo struct {
  4793  	// ConfidenceScore: The confidence score of the detected language between 0 and
  4794  	// 1.
  4795  	ConfidenceScore float64 `json:"confidenceScore,omitempty"`
  4796  	// InputLanguageCode: The language code specified in the original request.
  4797  	InputLanguageCode string `json:"inputLanguageCode,omitempty"`
  4798  	// ResolvedLanguageCode: The language code detected for this request based on
  4799  	// the user conversation.
  4800  	ResolvedLanguageCode string `json:"resolvedLanguageCode,omitempty"`
  4801  	// ForceSendFields is a list of field names (e.g. "ConfidenceScore") to
  4802  	// unconditionally include in API requests. By default, fields with empty or
  4803  	// default values are omitted from API requests. See
  4804  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4805  	// details.
  4806  	ForceSendFields []string `json:"-"`
  4807  	// NullFields is a list of field names (e.g. "ConfidenceScore") to include in
  4808  	// API requests with the JSON null value. By default, fields with empty values
  4809  	// are omitted from API requests. See
  4810  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4811  	NullFields []string `json:"-"`
  4812  }
  4813  
  4814  func (s *GoogleCloudDialogflowCxV3LanguageInfo) MarshalJSON() ([]byte, error) {
  4815  	type NoMethod GoogleCloudDialogflowCxV3LanguageInfo
  4816  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4817  }
  4818  
  4819  func (s *GoogleCloudDialogflowCxV3LanguageInfo) UnmarshalJSON(data []byte) error {
  4820  	type NoMethod GoogleCloudDialogflowCxV3LanguageInfo
  4821  	var s1 struct {
  4822  		ConfidenceScore gensupport.JSONFloat64 `json:"confidenceScore"`
  4823  		*NoMethod
  4824  	}
  4825  	s1.NoMethod = (*NoMethod)(s)
  4826  	if err := json.Unmarshal(data, &s1); err != nil {
  4827  		return err
  4828  	}
  4829  	s.ConfidenceScore = float64(s1.ConfidenceScore)
  4830  	return nil
  4831  }
  4832  
  4833  // GoogleCloudDialogflowCxV3ListAgentsResponse: The response message for
  4834  // Agents.ListAgents.
  4835  type GoogleCloudDialogflowCxV3ListAgentsResponse struct {
  4836  	// Agents: The list of agents. There will be a maximum number of items returned
  4837  	// based on the page_size field in the request.
  4838  	Agents []*GoogleCloudDialogflowCxV3Agent `json:"agents,omitempty"`
  4839  	// NextPageToken: Token to retrieve the next page of results, or empty if there
  4840  	// are no more results in the list.
  4841  	NextPageToken string `json:"nextPageToken,omitempty"`
  4842  
  4843  	// ServerResponse contains the HTTP response code and headers from the server.
  4844  	googleapi.ServerResponse `json:"-"`
  4845  	// ForceSendFields is a list of field names (e.g. "Agents") to unconditionally
  4846  	// include in API requests. By default, fields with empty or default values are
  4847  	// omitted from API requests. See
  4848  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4849  	// details.
  4850  	ForceSendFields []string `json:"-"`
  4851  	// NullFields is a list of field names (e.g. "Agents") to include in API
  4852  	// requests with the JSON null value. By default, fields with empty values are
  4853  	// omitted from API requests. See
  4854  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4855  	NullFields []string `json:"-"`
  4856  }
  4857  
  4858  func (s *GoogleCloudDialogflowCxV3ListAgentsResponse) MarshalJSON() ([]byte, error) {
  4859  	type NoMethod GoogleCloudDialogflowCxV3ListAgentsResponse
  4860  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4861  }
  4862  
  4863  // GoogleCloudDialogflowCxV3ListChangelogsResponse: The response message for
  4864  // Changelogs.ListChangelogs.
  4865  type GoogleCloudDialogflowCxV3ListChangelogsResponse struct {
  4866  	// Changelogs: The list of changelogs. There will be a maximum number of items
  4867  	// returned based on the page_size field in the request. The changelogs will be
  4868  	// ordered by timestamp.
  4869  	Changelogs []*GoogleCloudDialogflowCxV3Changelog `json:"changelogs,omitempty"`
  4870  	// NextPageToken: Token to retrieve the next page of results, or empty if there
  4871  	// are no more results in the list.
  4872  	NextPageToken string `json:"nextPageToken,omitempty"`
  4873  
  4874  	// ServerResponse contains the HTTP response code and headers from the server.
  4875  	googleapi.ServerResponse `json:"-"`
  4876  	// ForceSendFields is a list of field names (e.g. "Changelogs") to
  4877  	// unconditionally include in API requests. By default, fields with empty or
  4878  	// default values are omitted from API requests. See
  4879  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4880  	// details.
  4881  	ForceSendFields []string `json:"-"`
  4882  	// NullFields is a list of field names (e.g. "Changelogs") to include in API
  4883  	// requests with the JSON null value. By default, fields with empty values are
  4884  	// omitted from API requests. See
  4885  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4886  	NullFields []string `json:"-"`
  4887  }
  4888  
  4889  func (s *GoogleCloudDialogflowCxV3ListChangelogsResponse) MarshalJSON() ([]byte, error) {
  4890  	type NoMethod GoogleCloudDialogflowCxV3ListChangelogsResponse
  4891  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4892  }
  4893  
  4894  // GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse: The response
  4895  // message for Environments.ListTestCaseResults.
  4896  type GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse struct {
  4897  	// ContinuousTestResults: The list of continuous test results.
  4898  	ContinuousTestResults []*GoogleCloudDialogflowCxV3ContinuousTestResult `json:"continuousTestResults,omitempty"`
  4899  	// NextPageToken: Token to retrieve the next page of results, or empty if there
  4900  	// are no more results in the list.
  4901  	NextPageToken string `json:"nextPageToken,omitempty"`
  4902  
  4903  	// ServerResponse contains the HTTP response code and headers from the server.
  4904  	googleapi.ServerResponse `json:"-"`
  4905  	// ForceSendFields is a list of field names (e.g. "ContinuousTestResults") to
  4906  	// unconditionally include in API requests. By default, fields with empty or
  4907  	// default values are omitted from API requests. See
  4908  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4909  	// details.
  4910  	ForceSendFields []string `json:"-"`
  4911  	// NullFields is a list of field names (e.g. "ContinuousTestResults") to
  4912  	// include in API requests with the JSON null value. By default, fields with
  4913  	// empty values are omitted from API requests. See
  4914  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4915  	NullFields []string `json:"-"`
  4916  }
  4917  
  4918  func (s *GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse) MarshalJSON() ([]byte, error) {
  4919  	type NoMethod GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse
  4920  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4921  }
  4922  
  4923  // GoogleCloudDialogflowCxV3ListDeploymentsResponse: The response message for
  4924  // Deployments.ListDeployments.
  4925  type GoogleCloudDialogflowCxV3ListDeploymentsResponse struct {
  4926  	// Deployments: The list of deployments. There will be a maximum number of
  4927  	// items returned based on the page_size field in the request. The list may in
  4928  	// some cases be empty or contain fewer entries than page_size even if this
  4929  	// isn't the last page.
  4930  	Deployments []*GoogleCloudDialogflowCxV3Deployment `json:"deployments,omitempty"`
  4931  	// NextPageToken: Token to retrieve the next page of results, or empty if there
  4932  	// are no more results in the list.
  4933  	NextPageToken string `json:"nextPageToken,omitempty"`
  4934  
  4935  	// ServerResponse contains the HTTP response code and headers from the server.
  4936  	googleapi.ServerResponse `json:"-"`
  4937  	// ForceSendFields is a list of field names (e.g. "Deployments") to
  4938  	// unconditionally include in API requests. By default, fields with empty or
  4939  	// default values are omitted from API requests. See
  4940  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4941  	// details.
  4942  	ForceSendFields []string `json:"-"`
  4943  	// NullFields is a list of field names (e.g. "Deployments") to include in API
  4944  	// requests with the JSON null value. By default, fields with empty values are
  4945  	// omitted from API requests. See
  4946  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4947  	NullFields []string `json:"-"`
  4948  }
  4949  
  4950  func (s *GoogleCloudDialogflowCxV3ListDeploymentsResponse) MarshalJSON() ([]byte, error) {
  4951  	type NoMethod GoogleCloudDialogflowCxV3ListDeploymentsResponse
  4952  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4953  }
  4954  
  4955  // GoogleCloudDialogflowCxV3ListEntityTypesResponse: The response message for
  4956  // EntityTypes.ListEntityTypes.
  4957  type GoogleCloudDialogflowCxV3ListEntityTypesResponse struct {
  4958  	// EntityTypes: The list of entity types. There will be a maximum number of
  4959  	// items returned based on the page_size field in the request.
  4960  	EntityTypes []*GoogleCloudDialogflowCxV3EntityType `json:"entityTypes,omitempty"`
  4961  	// NextPageToken: Token to retrieve the next page of results, or empty if there
  4962  	// are no more results in the list.
  4963  	NextPageToken string `json:"nextPageToken,omitempty"`
  4964  
  4965  	// ServerResponse contains the HTTP response code and headers from the server.
  4966  	googleapi.ServerResponse `json:"-"`
  4967  	// ForceSendFields is a list of field names (e.g. "EntityTypes") to
  4968  	// unconditionally include in API requests. By default, fields with empty or
  4969  	// default values are omitted from API requests. See
  4970  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  4971  	// details.
  4972  	ForceSendFields []string `json:"-"`
  4973  	// NullFields is a list of field names (e.g. "EntityTypes") to include in API
  4974  	// requests with the JSON null value. By default, fields with empty values are
  4975  	// omitted from API requests. See
  4976  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  4977  	NullFields []string `json:"-"`
  4978  }
  4979  
  4980  func (s *GoogleCloudDialogflowCxV3ListEntityTypesResponse) MarshalJSON() ([]byte, error) {
  4981  	type NoMethod GoogleCloudDialogflowCxV3ListEntityTypesResponse
  4982  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  4983  }
  4984  
  4985  // GoogleCloudDialogflowCxV3ListEnvironmentsResponse: The response message for
  4986  // Environments.ListEnvironments.
  4987  type GoogleCloudDialogflowCxV3ListEnvironmentsResponse struct {
  4988  	// Environments: The list of environments. There will be a maximum number of
  4989  	// items returned based on the page_size field in the request. The list may in
  4990  	// some cases be empty or contain fewer entries than page_size even if this
  4991  	// isn't the last page.
  4992  	Environments []*GoogleCloudDialogflowCxV3Environment `json:"environments,omitempty"`
  4993  	// NextPageToken: Token to retrieve the next page of results, or empty if there
  4994  	// are no more results in the list.
  4995  	NextPageToken string `json:"nextPageToken,omitempty"`
  4996  
  4997  	// ServerResponse contains the HTTP response code and headers from the server.
  4998  	googleapi.ServerResponse `json:"-"`
  4999  	// ForceSendFields is a list of field names (e.g. "Environments") to
  5000  	// unconditionally include in API requests. By default, fields with empty or
  5001  	// default values are omitted from API requests. See
  5002  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5003  	// details.
  5004  	ForceSendFields []string `json:"-"`
  5005  	// NullFields is a list of field names (e.g. "Environments") to include in API
  5006  	// requests with the JSON null value. By default, fields with empty values are
  5007  	// omitted from API requests. See
  5008  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5009  	NullFields []string `json:"-"`
  5010  }
  5011  
  5012  func (s *GoogleCloudDialogflowCxV3ListEnvironmentsResponse) MarshalJSON() ([]byte, error) {
  5013  	type NoMethod GoogleCloudDialogflowCxV3ListEnvironmentsResponse
  5014  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5015  }
  5016  
  5017  // GoogleCloudDialogflowCxV3ListExperimentsResponse: The response message for
  5018  // Experiments.ListExperiments.
  5019  type GoogleCloudDialogflowCxV3ListExperimentsResponse struct {
  5020  	// Experiments: The list of experiments. There will be a maximum number of
  5021  	// items returned based on the page_size field in the request. The list may in
  5022  	// some cases be empty or contain fewer entries than page_size even if this
  5023  	// isn't the last page.
  5024  	Experiments []*GoogleCloudDialogflowCxV3Experiment `json:"experiments,omitempty"`
  5025  	// NextPageToken: Token to retrieve the next page of results, or empty if there
  5026  	// are no more results in the list.
  5027  	NextPageToken string `json:"nextPageToken,omitempty"`
  5028  
  5029  	// ServerResponse contains the HTTP response code and headers from the server.
  5030  	googleapi.ServerResponse `json:"-"`
  5031  	// ForceSendFields is a list of field names (e.g. "Experiments") to
  5032  	// unconditionally include in API requests. By default, fields with empty or
  5033  	// default values are omitted from API requests. See
  5034  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5035  	// details.
  5036  	ForceSendFields []string `json:"-"`
  5037  	// NullFields is a list of field names (e.g. "Experiments") to include in API
  5038  	// requests with the JSON null value. By default, fields with empty values are
  5039  	// omitted from API requests. See
  5040  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5041  	NullFields []string `json:"-"`
  5042  }
  5043  
  5044  func (s *GoogleCloudDialogflowCxV3ListExperimentsResponse) MarshalJSON() ([]byte, error) {
  5045  	type NoMethod GoogleCloudDialogflowCxV3ListExperimentsResponse
  5046  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5047  }
  5048  
  5049  // GoogleCloudDialogflowCxV3ListFlowsResponse: The response message for
  5050  // Flows.ListFlows.
  5051  type GoogleCloudDialogflowCxV3ListFlowsResponse struct {
  5052  	// Flows: The list of flows. There will be a maximum number of items returned
  5053  	// based on the page_size field in the request.
  5054  	Flows []*GoogleCloudDialogflowCxV3Flow `json:"flows,omitempty"`
  5055  	// NextPageToken: Token to retrieve the next page of results, or empty if there
  5056  	// are no more results in the list.
  5057  	NextPageToken string `json:"nextPageToken,omitempty"`
  5058  
  5059  	// ServerResponse contains the HTTP response code and headers from the server.
  5060  	googleapi.ServerResponse `json:"-"`
  5061  	// ForceSendFields is a list of field names (e.g. "Flows") to unconditionally
  5062  	// include in API requests. By default, fields with empty or default values are
  5063  	// omitted from API requests. See
  5064  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5065  	// details.
  5066  	ForceSendFields []string `json:"-"`
  5067  	// NullFields is a list of field names (e.g. "Flows") to include in API
  5068  	// requests with the JSON null value. By default, fields with empty values are
  5069  	// omitted from API requests. See
  5070  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5071  	NullFields []string `json:"-"`
  5072  }
  5073  
  5074  func (s *GoogleCloudDialogflowCxV3ListFlowsResponse) MarshalJSON() ([]byte, error) {
  5075  	type NoMethod GoogleCloudDialogflowCxV3ListFlowsResponse
  5076  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5077  }
  5078  
  5079  // GoogleCloudDialogflowCxV3ListGeneratorsResponse: The response message for
  5080  // Generators.ListGenerators.
  5081  type GoogleCloudDialogflowCxV3ListGeneratorsResponse struct {
  5082  	// Generators: The list of generators. There will be a maximum number of items
  5083  	// returned based on the page_size field in the request.
  5084  	Generators []*GoogleCloudDialogflowCxV3Generator `json:"generators,omitempty"`
  5085  	// NextPageToken: Token to retrieve the next page of results, or empty if there
  5086  	// are no more results in the list.
  5087  	NextPageToken string `json:"nextPageToken,omitempty"`
  5088  
  5089  	// ServerResponse contains the HTTP response code and headers from the server.
  5090  	googleapi.ServerResponse `json:"-"`
  5091  	// ForceSendFields is a list of field names (e.g. "Generators") to
  5092  	// unconditionally include in API requests. By default, fields with empty or
  5093  	// default values are omitted from API requests. See
  5094  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5095  	// details.
  5096  	ForceSendFields []string `json:"-"`
  5097  	// NullFields is a list of field names (e.g. "Generators") to include in API
  5098  	// requests with the JSON null value. By default, fields with empty values are
  5099  	// omitted from API requests. See
  5100  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5101  	NullFields []string `json:"-"`
  5102  }
  5103  
  5104  func (s *GoogleCloudDialogflowCxV3ListGeneratorsResponse) MarshalJSON() ([]byte, error) {
  5105  	type NoMethod GoogleCloudDialogflowCxV3ListGeneratorsResponse
  5106  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5107  }
  5108  
  5109  // GoogleCloudDialogflowCxV3ListIntentsResponse: The response message for
  5110  // Intents.ListIntents.
  5111  type GoogleCloudDialogflowCxV3ListIntentsResponse struct {
  5112  	// Intents: The list of intents. There will be a maximum number of items
  5113  	// returned based on the page_size field in the request.
  5114  	Intents []*GoogleCloudDialogflowCxV3Intent `json:"intents,omitempty"`
  5115  	// NextPageToken: Token to retrieve the next page of results, or empty if there
  5116  	// are no more results in the list.
  5117  	NextPageToken string `json:"nextPageToken,omitempty"`
  5118  
  5119  	// ServerResponse contains the HTTP response code and headers from the server.
  5120  	googleapi.ServerResponse `json:"-"`
  5121  	// ForceSendFields is a list of field names (e.g. "Intents") to unconditionally
  5122  	// include in API requests. By default, fields with empty or default values are
  5123  	// omitted from API requests. See
  5124  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5125  	// details.
  5126  	ForceSendFields []string `json:"-"`
  5127  	// NullFields is a list of field names (e.g. "Intents") to include in API
  5128  	// requests with the JSON null value. By default, fields with empty values are
  5129  	// omitted from API requests. See
  5130  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5131  	NullFields []string `json:"-"`
  5132  }
  5133  
  5134  func (s *GoogleCloudDialogflowCxV3ListIntentsResponse) MarshalJSON() ([]byte, error) {
  5135  	type NoMethod GoogleCloudDialogflowCxV3ListIntentsResponse
  5136  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5137  }
  5138  
  5139  // GoogleCloudDialogflowCxV3ListPagesResponse: The response message for
  5140  // Pages.ListPages.
  5141  type GoogleCloudDialogflowCxV3ListPagesResponse struct {
  5142  	// NextPageToken: Token to retrieve the next page of results, or empty if there
  5143  	// are no more results in the list.
  5144  	NextPageToken string `json:"nextPageToken,omitempty"`
  5145  	// Pages: The list of pages. There will be a maximum number of items returned
  5146  	// based on the page_size field in the request.
  5147  	Pages []*GoogleCloudDialogflowCxV3Page `json:"pages,omitempty"`
  5148  
  5149  	// ServerResponse contains the HTTP response code and headers from the server.
  5150  	googleapi.ServerResponse `json:"-"`
  5151  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  5152  	// unconditionally include in API requests. By default, fields with empty or
  5153  	// default values are omitted from API requests. See
  5154  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5155  	// details.
  5156  	ForceSendFields []string `json:"-"`
  5157  	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
  5158  	// requests with the JSON null value. By default, fields with empty values are
  5159  	// omitted from API requests. See
  5160  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5161  	NullFields []string `json:"-"`
  5162  }
  5163  
  5164  func (s *GoogleCloudDialogflowCxV3ListPagesResponse) MarshalJSON() ([]byte, error) {
  5165  	type NoMethod GoogleCloudDialogflowCxV3ListPagesResponse
  5166  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5167  }
  5168  
  5169  // GoogleCloudDialogflowCxV3ListSecuritySettingsResponse: The response message
  5170  // for SecuritySettings.ListSecuritySettings.
  5171  type GoogleCloudDialogflowCxV3ListSecuritySettingsResponse struct {
  5172  	// NextPageToken: Token to retrieve the next page of results, or empty if there
  5173  	// are no more results in the list.
  5174  	NextPageToken string `json:"nextPageToken,omitempty"`
  5175  	// SecuritySettings: The list of security settings.
  5176  	SecuritySettings []*GoogleCloudDialogflowCxV3SecuritySettings `json:"securitySettings,omitempty"`
  5177  
  5178  	// ServerResponse contains the HTTP response code and headers from the server.
  5179  	googleapi.ServerResponse `json:"-"`
  5180  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  5181  	// unconditionally include in API requests. By default, fields with empty or
  5182  	// default values are omitted from API requests. See
  5183  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5184  	// details.
  5185  	ForceSendFields []string `json:"-"`
  5186  	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
  5187  	// requests with the JSON null value. By default, fields with empty values are
  5188  	// omitted from API requests. See
  5189  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5190  	NullFields []string `json:"-"`
  5191  }
  5192  
  5193  func (s *GoogleCloudDialogflowCxV3ListSecuritySettingsResponse) MarshalJSON() ([]byte, error) {
  5194  	type NoMethod GoogleCloudDialogflowCxV3ListSecuritySettingsResponse
  5195  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5196  }
  5197  
  5198  // GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse: The response
  5199  // message for SessionEntityTypes.ListSessionEntityTypes.
  5200  type GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse struct {
  5201  	// NextPageToken: Token to retrieve the next page of results, or empty if there
  5202  	// are no more results in the list.
  5203  	NextPageToken string `json:"nextPageToken,omitempty"`
  5204  	// SessionEntityTypes: The list of session entity types. There will be a
  5205  	// maximum number of items returned based on the page_size field in the
  5206  	// request.
  5207  	SessionEntityTypes []*GoogleCloudDialogflowCxV3SessionEntityType `json:"sessionEntityTypes,omitempty"`
  5208  
  5209  	// ServerResponse contains the HTTP response code and headers from the server.
  5210  	googleapi.ServerResponse `json:"-"`
  5211  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  5212  	// unconditionally include in API requests. By default, fields with empty or
  5213  	// default values are omitted from API requests. See
  5214  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5215  	// details.
  5216  	ForceSendFields []string `json:"-"`
  5217  	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
  5218  	// requests with the JSON null value. By default, fields with empty values are
  5219  	// omitted from API requests. See
  5220  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5221  	NullFields []string `json:"-"`
  5222  }
  5223  
  5224  func (s *GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse) MarshalJSON() ([]byte, error) {
  5225  	type NoMethod GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse
  5226  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5227  }
  5228  
  5229  // GoogleCloudDialogflowCxV3ListTestCaseResultsResponse: The response message
  5230  // for TestCases.ListTestCaseResults.
  5231  type GoogleCloudDialogflowCxV3ListTestCaseResultsResponse struct {
  5232  	// NextPageToken: Token to retrieve the next page of results, or empty if there
  5233  	// are no more results in the list.
  5234  	NextPageToken string `json:"nextPageToken,omitempty"`
  5235  	// TestCaseResults: The list of test case results.
  5236  	TestCaseResults []*GoogleCloudDialogflowCxV3TestCaseResult `json:"testCaseResults,omitempty"`
  5237  
  5238  	// ServerResponse contains the HTTP response code and headers from the server.
  5239  	googleapi.ServerResponse `json:"-"`
  5240  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  5241  	// unconditionally include in API requests. By default, fields with empty or
  5242  	// default values are omitted from API requests. See
  5243  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5244  	// details.
  5245  	ForceSendFields []string `json:"-"`
  5246  	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
  5247  	// requests with the JSON null value. By default, fields with empty values are
  5248  	// omitted from API requests. See
  5249  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5250  	NullFields []string `json:"-"`
  5251  }
  5252  
  5253  func (s *GoogleCloudDialogflowCxV3ListTestCaseResultsResponse) MarshalJSON() ([]byte, error) {
  5254  	type NoMethod GoogleCloudDialogflowCxV3ListTestCaseResultsResponse
  5255  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5256  }
  5257  
  5258  // GoogleCloudDialogflowCxV3ListTestCasesResponse: The response message for
  5259  // TestCases.ListTestCases.
  5260  type GoogleCloudDialogflowCxV3ListTestCasesResponse struct {
  5261  	// NextPageToken: Token to retrieve the next page of results, or empty if there
  5262  	// are no more results in the list.
  5263  	NextPageToken string `json:"nextPageToken,omitempty"`
  5264  	// TestCases: The list of test cases. There will be a maximum number of items
  5265  	// returned based on the page_size field in the request.
  5266  	TestCases []*GoogleCloudDialogflowCxV3TestCase `json:"testCases,omitempty"`
  5267  
  5268  	// ServerResponse contains the HTTP response code and headers from the server.
  5269  	googleapi.ServerResponse `json:"-"`
  5270  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  5271  	// unconditionally include in API requests. By default, fields with empty or
  5272  	// default values are omitted from API requests. See
  5273  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5274  	// details.
  5275  	ForceSendFields []string `json:"-"`
  5276  	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
  5277  	// requests with the JSON null value. By default, fields with empty values are
  5278  	// omitted from API requests. See
  5279  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5280  	NullFields []string `json:"-"`
  5281  }
  5282  
  5283  func (s *GoogleCloudDialogflowCxV3ListTestCasesResponse) MarshalJSON() ([]byte, error) {
  5284  	type NoMethod GoogleCloudDialogflowCxV3ListTestCasesResponse
  5285  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5286  }
  5287  
  5288  // GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse: The response
  5289  // message for TransitionRouteGroups.ListTransitionRouteGroups.
  5290  type GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse struct {
  5291  	// NextPageToken: Token to retrieve the next page of results, or empty if there
  5292  	// are no more results in the list.
  5293  	NextPageToken string `json:"nextPageToken,omitempty"`
  5294  	// TransitionRouteGroups: The list of transition route groups. There will be a
  5295  	// maximum number of items returned based on the page_size field in the
  5296  	// request. The list may in some cases be empty or contain fewer entries than
  5297  	// page_size even if this isn't the last page.
  5298  	TransitionRouteGroups []*GoogleCloudDialogflowCxV3TransitionRouteGroup `json:"transitionRouteGroups,omitempty"`
  5299  
  5300  	// ServerResponse contains the HTTP response code and headers from the server.
  5301  	googleapi.ServerResponse `json:"-"`
  5302  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  5303  	// unconditionally include in API requests. By default, fields with empty or
  5304  	// default values are omitted from API requests. See
  5305  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5306  	// details.
  5307  	ForceSendFields []string `json:"-"`
  5308  	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
  5309  	// requests with the JSON null value. By default, fields with empty values are
  5310  	// omitted from API requests. See
  5311  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5312  	NullFields []string `json:"-"`
  5313  }
  5314  
  5315  func (s *GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse) MarshalJSON() ([]byte, error) {
  5316  	type NoMethod GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse
  5317  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5318  }
  5319  
  5320  // GoogleCloudDialogflowCxV3ListVersionsResponse: The response message for
  5321  // Versions.ListVersions.
  5322  type GoogleCloudDialogflowCxV3ListVersionsResponse struct {
  5323  	// NextPageToken: Token to retrieve the next page of results, or empty if there
  5324  	// are no more results in the list.
  5325  	NextPageToken string `json:"nextPageToken,omitempty"`
  5326  	// Versions: A list of versions. There will be a maximum number of items
  5327  	// returned based on the page_size field in the request. The list may in some
  5328  	// cases be empty or contain fewer entries than page_size even if this isn't
  5329  	// the last page.
  5330  	Versions []*GoogleCloudDialogflowCxV3Version `json:"versions,omitempty"`
  5331  
  5332  	// ServerResponse contains the HTTP response code and headers from the server.
  5333  	googleapi.ServerResponse `json:"-"`
  5334  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  5335  	// unconditionally include in API requests. By default, fields with empty or
  5336  	// default values are omitted from API requests. See
  5337  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5338  	// details.
  5339  	ForceSendFields []string `json:"-"`
  5340  	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
  5341  	// requests with the JSON null value. By default, fields with empty values are
  5342  	// omitted from API requests. See
  5343  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5344  	NullFields []string `json:"-"`
  5345  }
  5346  
  5347  func (s *GoogleCloudDialogflowCxV3ListVersionsResponse) MarshalJSON() ([]byte, error) {
  5348  	type NoMethod GoogleCloudDialogflowCxV3ListVersionsResponse
  5349  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5350  }
  5351  
  5352  // GoogleCloudDialogflowCxV3ListWebhooksResponse: The response message for
  5353  // Webhooks.ListWebhooks.
  5354  type GoogleCloudDialogflowCxV3ListWebhooksResponse struct {
  5355  	// NextPageToken: Token to retrieve the next page of results, or empty if there
  5356  	// are no more results in the list.
  5357  	NextPageToken string `json:"nextPageToken,omitempty"`
  5358  	// Webhooks: The list of webhooks. There will be a maximum number of items
  5359  	// returned based on the page_size field in the request.
  5360  	Webhooks []*GoogleCloudDialogflowCxV3Webhook `json:"webhooks,omitempty"`
  5361  
  5362  	// ServerResponse contains the HTTP response code and headers from the server.
  5363  	googleapi.ServerResponse `json:"-"`
  5364  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
  5365  	// unconditionally include in API requests. By default, fields with empty or
  5366  	// default values are omitted from API requests. See
  5367  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5368  	// details.
  5369  	ForceSendFields []string `json:"-"`
  5370  	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
  5371  	// requests with the JSON null value. By default, fields with empty values are
  5372  	// omitted from API requests. See
  5373  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5374  	NullFields []string `json:"-"`
  5375  }
  5376  
  5377  func (s *GoogleCloudDialogflowCxV3ListWebhooksResponse) MarshalJSON() ([]byte, error) {
  5378  	type NoMethod GoogleCloudDialogflowCxV3ListWebhooksResponse
  5379  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5380  }
  5381  
  5382  // GoogleCloudDialogflowCxV3LoadVersionRequest: The request message for
  5383  // Versions.LoadVersion.
  5384  type GoogleCloudDialogflowCxV3LoadVersionRequest struct {
  5385  	// AllowOverrideAgentResources: This field is used to prevent accidental
  5386  	// overwrite of other agent resources, which can potentially impact other
  5387  	// flow's behavior. If `allow_override_agent_resources` is false, conflicted
  5388  	// agent-level resources will not be overridden (i.e. intents, entities,
  5389  	// webhooks).
  5390  	AllowOverrideAgentResources bool `json:"allowOverrideAgentResources,omitempty"`
  5391  	// ForceSendFields is a list of field names (e.g.
  5392  	// "AllowOverrideAgentResources") to unconditionally include in API requests.
  5393  	// By default, fields with empty or default values are omitted from API
  5394  	// requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields
  5395  	// for more details.
  5396  	ForceSendFields []string `json:"-"`
  5397  	// NullFields is a list of field names (e.g. "AllowOverrideAgentResources") to
  5398  	// include in API requests with the JSON null value. By default, fields with
  5399  	// empty values are omitted from API requests. See
  5400  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5401  	NullFields []string `json:"-"`
  5402  }
  5403  
  5404  func (s *GoogleCloudDialogflowCxV3LoadVersionRequest) MarshalJSON() ([]byte, error) {
  5405  	type NoMethod GoogleCloudDialogflowCxV3LoadVersionRequest
  5406  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5407  }
  5408  
  5409  // GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse: The response
  5410  // message for Environments.LookupEnvironmentHistory.
  5411  type GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse struct {
  5412  	// Environments: Represents a list of snapshots for an environment. Time of the
  5413  	// snapshots is stored in `update_time`.
  5414  	Environments []*GoogleCloudDialogflowCxV3Environment `json:"environments,omitempty"`
  5415  	// NextPageToken: Token to retrieve the next page of results, or empty if there
  5416  	// are no more results in the list.
  5417  	NextPageToken string `json:"nextPageToken,omitempty"`
  5418  
  5419  	// ServerResponse contains the HTTP response code and headers from the server.
  5420  	googleapi.ServerResponse `json:"-"`
  5421  	// ForceSendFields is a list of field names (e.g. "Environments") to
  5422  	// unconditionally include in API requests. By default, fields with empty or
  5423  	// default values are omitted from API requests. See
  5424  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5425  	// details.
  5426  	ForceSendFields []string `json:"-"`
  5427  	// NullFields is a list of field names (e.g. "Environments") to include in API
  5428  	// requests with the JSON null value. By default, fields with empty values are
  5429  	// omitted from API requests. See
  5430  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5431  	NullFields []string `json:"-"`
  5432  }
  5433  
  5434  func (s *GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse) MarshalJSON() ([]byte, error) {
  5435  	type NoMethod GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse
  5436  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5437  }
  5438  
  5439  // GoogleCloudDialogflowCxV3Match: Represents one match result of MatchIntent.
  5440  type GoogleCloudDialogflowCxV3Match struct {
  5441  	// Confidence: The confidence of this match. Values range from 0.0 (completely
  5442  	// uncertain) to 1.0 (completely certain). This value is for informational
  5443  	// purpose only and is only used to help match the best intent within the
  5444  	// classification threshold. This value may change for the same end-user
  5445  	// expression at any time due to a model retraining or change in
  5446  	// implementation.
  5447  	Confidence float64 `json:"confidence,omitempty"`
  5448  	// Event: The event that matched the query. Filled for `EVENT`, `NO_MATCH` and
  5449  	// `NO_INPUT` match types.
  5450  	Event string `json:"event,omitempty"`
  5451  	// Intent: The Intent that matched the query. Some, not all fields are filled
  5452  	// in this message, including but not limited to: `name` and `display_name`.
  5453  	// Only filled for `INTENT` match type.
  5454  	Intent *GoogleCloudDialogflowCxV3Intent `json:"intent,omitempty"`
  5455  	// MatchType: Type of this Match.
  5456  	//
  5457  	// Possible values:
  5458  	//   "MATCH_TYPE_UNSPECIFIED" - Not specified. Should never be used.
  5459  	//   "INTENT" - The query was matched to an intent.
  5460  	//   "DIRECT_INTENT" - The query directly triggered an intent.
  5461  	//   "PARAMETER_FILLING" - The query was used for parameter filling.
  5462  	//   "NO_MATCH" - No match was found for the query.
  5463  	//   "NO_INPUT" - Indicates an empty query.
  5464  	//   "EVENT" - The query directly triggered an event.
  5465  	//   "PLAYBOOK" - The query was handled by a `Playbook`.
  5466  	MatchType string `json:"matchType,omitempty"`
  5467  	// Parameters: The collection of parameters extracted from the query. Depending
  5468  	// on your protocol or client library language, this is a map, associative
  5469  	// array, symbol table, dictionary, or JSON object composed of a collection of
  5470  	// (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter
  5471  	// name * MapValue type: If parameter's entity type is a composite entity then
  5472  	// use map, otherwise, depending on the parameter value type, it could be one
  5473  	// of string, number, boolean, null, list or map. * MapValue value: If
  5474  	// parameter's entity type is a composite entity then use map from composite
  5475  	// entity property names to property values, otherwise, use parameter value.
  5476  	Parameters googleapi.RawMessage `json:"parameters,omitempty"`
  5477  	// ResolvedInput: Final text input which was matched during MatchIntent. This
  5478  	// value can be different from original input sent in request because of
  5479  	// spelling correction or other processing.
  5480  	ResolvedInput string `json:"resolvedInput,omitempty"`
  5481  	// ForceSendFields is a list of field names (e.g. "Confidence") to
  5482  	// unconditionally include in API requests. By default, fields with empty or
  5483  	// default values are omitted from API requests. See
  5484  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5485  	// details.
  5486  	ForceSendFields []string `json:"-"`
  5487  	// NullFields is a list of field names (e.g. "Confidence") to include in API
  5488  	// requests with the JSON null value. By default, fields with empty values are
  5489  	// omitted from API requests. See
  5490  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5491  	NullFields []string `json:"-"`
  5492  }
  5493  
  5494  func (s *GoogleCloudDialogflowCxV3Match) MarshalJSON() ([]byte, error) {
  5495  	type NoMethod GoogleCloudDialogflowCxV3Match
  5496  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5497  }
  5498  
  5499  func (s *GoogleCloudDialogflowCxV3Match) UnmarshalJSON(data []byte) error {
  5500  	type NoMethod GoogleCloudDialogflowCxV3Match
  5501  	var s1 struct {
  5502  		Confidence gensupport.JSONFloat64 `json:"confidence"`
  5503  		*NoMethod
  5504  	}
  5505  	s1.NoMethod = (*NoMethod)(s)
  5506  	if err := json.Unmarshal(data, &s1); err != nil {
  5507  		return err
  5508  	}
  5509  	s.Confidence = float64(s1.Confidence)
  5510  	return nil
  5511  }
  5512  
  5513  // GoogleCloudDialogflowCxV3MatchIntentRequest: Request of MatchIntent.
  5514  type GoogleCloudDialogflowCxV3MatchIntentRequest struct {
  5515  	// PersistParameterChanges: Persist session parameter changes from
  5516  	// `query_params`.
  5517  	PersistParameterChanges bool `json:"persistParameterChanges,omitempty"`
  5518  	// QueryInput: Required. The input specification.
  5519  	QueryInput *GoogleCloudDialogflowCxV3QueryInput `json:"queryInput,omitempty"`
  5520  	// QueryParams: The parameters of this query.
  5521  	QueryParams *GoogleCloudDialogflowCxV3QueryParameters `json:"queryParams,omitempty"`
  5522  	// ForceSendFields is a list of field names (e.g. "PersistParameterChanges") to
  5523  	// unconditionally include in API requests. By default, fields with empty or
  5524  	// default values are omitted from API requests. See
  5525  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5526  	// details.
  5527  	ForceSendFields []string `json:"-"`
  5528  	// NullFields is a list of field names (e.g. "PersistParameterChanges") to
  5529  	// include in API requests with the JSON null value. By default, fields with
  5530  	// empty values are omitted from API requests. See
  5531  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5532  	NullFields []string `json:"-"`
  5533  }
  5534  
  5535  func (s *GoogleCloudDialogflowCxV3MatchIntentRequest) MarshalJSON() ([]byte, error) {
  5536  	type NoMethod GoogleCloudDialogflowCxV3MatchIntentRequest
  5537  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5538  }
  5539  
  5540  // GoogleCloudDialogflowCxV3MatchIntentResponse: Response of MatchIntent.
  5541  type GoogleCloudDialogflowCxV3MatchIntentResponse struct {
  5542  	// CurrentPage: The current Page. Some, not all fields are filled in this
  5543  	// message, including but not limited to `name` and `display_name`.
  5544  	CurrentPage *GoogleCloudDialogflowCxV3Page `json:"currentPage,omitempty"`
  5545  	// Matches: Match results, if more than one, ordered descendingly by the
  5546  	// confidence we have that the particular intent matches the query.
  5547  	Matches []*GoogleCloudDialogflowCxV3Match `json:"matches,omitempty"`
  5548  	// Text: If natural language text was provided as input, this field will
  5549  	// contain a copy of the text.
  5550  	Text string `json:"text,omitempty"`
  5551  	// Transcript: If natural language speech audio was provided as input, this
  5552  	// field will contain the transcript for the audio.
  5553  	Transcript string `json:"transcript,omitempty"`
  5554  	// TriggerEvent: If an event was provided as input, this field will contain a
  5555  	// copy of the event name.
  5556  	TriggerEvent string `json:"triggerEvent,omitempty"`
  5557  	// TriggerIntent: If an intent was provided as input, this field will contain a
  5558  	// copy of the intent identifier. Format:
  5559  	// `projects//locations//agents//intents/`.
  5560  	TriggerIntent string `json:"triggerIntent,omitempty"`
  5561  
  5562  	// ServerResponse contains the HTTP response code and headers from the server.
  5563  	googleapi.ServerResponse `json:"-"`
  5564  	// ForceSendFields is a list of field names (e.g. "CurrentPage") to
  5565  	// unconditionally include in API requests. By default, fields with empty or
  5566  	// default values are omitted from API requests. See
  5567  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5568  	// details.
  5569  	ForceSendFields []string `json:"-"`
  5570  	// NullFields is a list of field names (e.g. "CurrentPage") to include in API
  5571  	// requests with the JSON null value. By default, fields with empty values are
  5572  	// omitted from API requests. See
  5573  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5574  	NullFields []string `json:"-"`
  5575  }
  5576  
  5577  func (s *GoogleCloudDialogflowCxV3MatchIntentResponse) MarshalJSON() ([]byte, error) {
  5578  	type NoMethod GoogleCloudDialogflowCxV3MatchIntentResponse
  5579  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5580  }
  5581  
  5582  // GoogleCloudDialogflowCxV3NluSettings: Settings related to NLU.
  5583  type GoogleCloudDialogflowCxV3NluSettings struct {
  5584  	// ClassificationThreshold: To filter out false positive results and still get
  5585  	// variety in matched natural language inputs for your agent, you can tune the
  5586  	// machine learning classification threshold. If the returned score value is
  5587  	// less than the threshold value, then a no-match event will be triggered. The
  5588  	// score values range from 0.0 (completely uncertain) to 1.0 (completely
  5589  	// certain). If set to 0.0, the default of 0.3 is used.
  5590  	ClassificationThreshold float64 `json:"classificationThreshold,omitempty"`
  5591  	// ModelTrainingMode: Indicates NLU model training mode.
  5592  	//
  5593  	// Possible values:
  5594  	//   "MODEL_TRAINING_MODE_UNSPECIFIED" - Not specified.
  5595  	// `MODEL_TRAINING_MODE_AUTOMATIC` will be used.
  5596  	//   "MODEL_TRAINING_MODE_AUTOMATIC" - NLU model training is automatically
  5597  	// triggered when a flow gets modified. User can also manually trigger model
  5598  	// training in this mode.
  5599  	//   "MODEL_TRAINING_MODE_MANUAL" - User needs to manually trigger NLU model
  5600  	// training. Best for large flows whose models take long time to train.
  5601  	ModelTrainingMode string `json:"modelTrainingMode,omitempty"`
  5602  	// ModelType: Indicates the type of NLU model.
  5603  	//
  5604  	// Possible values:
  5605  	//   "MODEL_TYPE_UNSPECIFIED" - Not specified. `MODEL_TYPE_STANDARD` will be
  5606  	// used.
  5607  	//   "MODEL_TYPE_STANDARD" - Use standard NLU model.
  5608  	//   "MODEL_TYPE_ADVANCED" - Use advanced NLU model.
  5609  	ModelType string `json:"modelType,omitempty"`
  5610  	// ForceSendFields is a list of field names (e.g. "ClassificationThreshold") to
  5611  	// unconditionally include in API requests. By default, fields with empty or
  5612  	// default values are omitted from API requests. See
  5613  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5614  	// details.
  5615  	ForceSendFields []string `json:"-"`
  5616  	// NullFields is a list of field names (e.g. "ClassificationThreshold") to
  5617  	// include in API requests with the JSON null value. By default, fields with
  5618  	// empty values are omitted from API requests. See
  5619  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5620  	NullFields []string `json:"-"`
  5621  }
  5622  
  5623  func (s *GoogleCloudDialogflowCxV3NluSettings) MarshalJSON() ([]byte, error) {
  5624  	type NoMethod GoogleCloudDialogflowCxV3NluSettings
  5625  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5626  }
  5627  
  5628  func (s *GoogleCloudDialogflowCxV3NluSettings) UnmarshalJSON(data []byte) error {
  5629  	type NoMethod GoogleCloudDialogflowCxV3NluSettings
  5630  	var s1 struct {
  5631  		ClassificationThreshold gensupport.JSONFloat64 `json:"classificationThreshold"`
  5632  		*NoMethod
  5633  	}
  5634  	s1.NoMethod = (*NoMethod)(s)
  5635  	if err := json.Unmarshal(data, &s1); err != nil {
  5636  		return err
  5637  	}
  5638  	s.ClassificationThreshold = float64(s1.ClassificationThreshold)
  5639  	return nil
  5640  }
  5641  
  5642  // GoogleCloudDialogflowCxV3OutputAudioConfig: Instructs the speech synthesizer
  5643  // how to generate the output audio content.
  5644  type GoogleCloudDialogflowCxV3OutputAudioConfig struct {
  5645  	// AudioEncoding: Required. Audio encoding of the synthesized audio content.
  5646  	//
  5647  	// Possible values:
  5648  	//   "OUTPUT_AUDIO_ENCODING_UNSPECIFIED" - Not specified.
  5649  	//   "OUTPUT_AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed
  5650  	// little-endian samples (Linear PCM). Audio content returned as LINEAR16 also
  5651  	// contains a WAV header.
  5652  	//   "OUTPUT_AUDIO_ENCODING_MP3" - MP3 audio at 32kbps.
  5653  	//   "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS" - MP3 audio at 64kbps.
  5654  	//   "OUTPUT_AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio wrapped in an ogg
  5655  	// container. The result will be a file which can be played natively on
  5656  	// Android, and in browsers (at least Chrome and Firefox). The quality of the
  5657  	// encoding is considerably higher than MP3 while using approximately the same
  5658  	// bitrate.
  5659  	//   "OUTPUT_AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit audio
  5660  	// samples using G.711 PCMU/mu-law.
  5661  	AudioEncoding string `json:"audioEncoding,omitempty"`
  5662  	// SampleRateHertz: Optional. The synthesis sample rate (in hertz) for this
  5663  	// audio. If not provided, then the synthesizer will use the default sample
  5664  	// rate based on the audio encoding. If this is different from the voice's
  5665  	// natural sample rate, then the synthesizer will honor this request by
  5666  	// converting to the desired sample rate (which might result in worse audio
  5667  	// quality).
  5668  	SampleRateHertz int64 `json:"sampleRateHertz,omitempty"`
  5669  	// SynthesizeSpeechConfig: Optional. Configuration of how speech should be
  5670  	// synthesized. If not specified, Agent.text_to_speech_settings is applied.
  5671  	SynthesizeSpeechConfig *GoogleCloudDialogflowCxV3SynthesizeSpeechConfig `json:"synthesizeSpeechConfig,omitempty"`
  5672  	// ForceSendFields is a list of field names (e.g. "AudioEncoding") to
  5673  	// unconditionally include in API requests. By default, fields with empty or
  5674  	// default values are omitted from API requests. See
  5675  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5676  	// details.
  5677  	ForceSendFields []string `json:"-"`
  5678  	// NullFields is a list of field names (e.g. "AudioEncoding") to include in API
  5679  	// requests with the JSON null value. By default, fields with empty values are
  5680  	// omitted from API requests. See
  5681  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5682  	NullFields []string `json:"-"`
  5683  }
  5684  
  5685  func (s *GoogleCloudDialogflowCxV3OutputAudioConfig) MarshalJSON() ([]byte, error) {
  5686  	type NoMethod GoogleCloudDialogflowCxV3OutputAudioConfig
  5687  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5688  }
  5689  
  5690  // GoogleCloudDialogflowCxV3Page: A Dialogflow CX conversation (session) can be
  5691  // described and visualized as a state machine. The states of a CX session are
  5692  // represented by pages. For each flow, you define many pages, where your
  5693  // combined pages can handle a complete conversation on the topics the flow is
  5694  // designed for. At any given moment, exactly one page is the current page, the
  5695  // current page is considered active, and the flow associated with that page is
  5696  // considered active. Every flow has a special start page. When a flow
  5697  // initially becomes active, the start page page becomes the current page. For
  5698  // each conversational turn, the current page will either stay the same or
  5699  // transition to another page. You configure each page to collect information
  5700  // from the end-user that is relevant for the conversational state represented
  5701  // by the page. For more information, see the Page guide
  5702  // (https://cloud.google.com/dialogflow/cx/docs/concept/page).
  5703  type GoogleCloudDialogflowCxV3Page struct {
  5704  	// AdvancedSettings: Hierarchical advanced settings for this page. The settings
  5705  	// exposed at the lower level overrides the settings exposed at the higher
  5706  	// level.
  5707  	AdvancedSettings *GoogleCloudDialogflowCxV3AdvancedSettings `json:"advancedSettings,omitempty"`
  5708  	// Description: The description of the page. The maximum length is 500
  5709  	// characters.
  5710  	Description string `json:"description,omitempty"`
  5711  	// DisplayName: Required. The human-readable name of the page, unique within
  5712  	// the flow.
  5713  	DisplayName string `json:"displayName,omitempty"`
  5714  	// EntryFulfillment: The fulfillment to call when the session is entering the
  5715  	// page.
  5716  	EntryFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"entryFulfillment,omitempty"`
  5717  	// EventHandlers: Handlers associated with the page to handle events such as
  5718  	// webhook errors, no match or no input.
  5719  	EventHandlers []*GoogleCloudDialogflowCxV3EventHandler `json:"eventHandlers,omitempty"`
  5720  	// Form: The form associated with the page, used for collecting parameters
  5721  	// relevant to the page.
  5722  	Form *GoogleCloudDialogflowCxV3Form `json:"form,omitempty"`
  5723  	// KnowledgeConnectorSettings: Optional. Knowledge connector configuration.
  5724  	KnowledgeConnectorSettings *GoogleCloudDialogflowCxV3KnowledgeConnectorSettings `json:"knowledgeConnectorSettings,omitempty"`
  5725  	// Name: The unique identifier of the page. Required for the Pages.UpdatePage
  5726  	// method. Pages.CreatePage populates the name automatically. Format:
  5727  	// `projects//locations//agents//flows//pages/`.
  5728  	Name string `json:"name,omitempty"`
  5729  	// TransitionRouteGroups: Ordered list of `TransitionRouteGroups` added to the
  5730  	// page. Transition route groups must be unique within a page. If the page
  5731  	// links both flow-level transition route groups and agent-level transition
  5732  	// route groups, the flow-level ones will have higher priority and will be put
  5733  	// before the agent-level ones. * If multiple transition routes within a page
  5734  	// scope refer to the same intent, then the precedence order is: page's
  5735  	// transition route -> page's transition route group -> flow's transition
  5736  	// routes. * If multiple transition route groups within a page contain the same
  5737  	// intent, then the first group in the ordered list takes precedence.
  5738  	// Format:`projects//locations//agents//flows//transitionRouteGroups/` or
  5739  	// `projects//locations//agents//transitionRouteGroups/` for agent-level
  5740  	// groups.
  5741  	TransitionRouteGroups []string `json:"transitionRouteGroups,omitempty"`
  5742  	// TransitionRoutes: A list of transitions for the transition rules of this
  5743  	// page. They route the conversation to another page in the same flow, or
  5744  	// another flow. When we are in a certain page, the TransitionRoutes are
  5745  	// evalauted in the following order: * TransitionRoutes defined in the page
  5746  	// with intent specified. * TransitionRoutes defined in the transition route
  5747  	// groups with intent specified. * TransitionRoutes defined in flow with intent
  5748  	// specified. * TransitionRoutes defined in the transition route groups with
  5749  	// intent specified. * TransitionRoutes defined in the page with only condition
  5750  	// specified. * TransitionRoutes defined in the transition route groups with
  5751  	// only condition specified.
  5752  	TransitionRoutes []*GoogleCloudDialogflowCxV3TransitionRoute `json:"transitionRoutes,omitempty"`
  5753  
  5754  	// ServerResponse contains the HTTP response code and headers from the server.
  5755  	googleapi.ServerResponse `json:"-"`
  5756  	// ForceSendFields is a list of field names (e.g. "AdvancedSettings") to
  5757  	// unconditionally include in API requests. By default, fields with empty or
  5758  	// default values are omitted from API requests. See
  5759  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5760  	// details.
  5761  	ForceSendFields []string `json:"-"`
  5762  	// NullFields is a list of field names (e.g. "AdvancedSettings") to include in
  5763  	// API requests with the JSON null value. By default, fields with empty values
  5764  	// are omitted from API requests. See
  5765  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5766  	NullFields []string `json:"-"`
  5767  }
  5768  
  5769  func (s *GoogleCloudDialogflowCxV3Page) MarshalJSON() ([]byte, error) {
  5770  	type NoMethod GoogleCloudDialogflowCxV3Page
  5771  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5772  }
  5773  
  5774  // GoogleCloudDialogflowCxV3PageInfo: Represents page information communicated
  5775  // to and from the webhook.
  5776  type GoogleCloudDialogflowCxV3PageInfo struct {
  5777  	// CurrentPage: Always present for WebhookRequest. Ignored for WebhookResponse.
  5778  	// The unique identifier of the current page. Format:
  5779  	// `projects//locations//agents//flows//pages/`.
  5780  	CurrentPage string `json:"currentPage,omitempty"`
  5781  	// DisplayName: Always present for WebhookRequest. Ignored for WebhookResponse.
  5782  	// The display name of the current page.
  5783  	DisplayName string `json:"displayName,omitempty"`
  5784  	// FormInfo: Optional for both WebhookRequest and WebhookResponse. Information
  5785  	// about the form.
  5786  	FormInfo *GoogleCloudDialogflowCxV3PageInfoFormInfo `json:"formInfo,omitempty"`
  5787  	// ForceSendFields is a list of field names (e.g. "CurrentPage") to
  5788  	// unconditionally include in API requests. By default, fields with empty or
  5789  	// default values are omitted from API requests. See
  5790  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5791  	// details.
  5792  	ForceSendFields []string `json:"-"`
  5793  	// NullFields is a list of field names (e.g. "CurrentPage") to include in API
  5794  	// requests with the JSON null value. By default, fields with empty values are
  5795  	// omitted from API requests. See
  5796  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5797  	NullFields []string `json:"-"`
  5798  }
  5799  
  5800  func (s *GoogleCloudDialogflowCxV3PageInfo) MarshalJSON() ([]byte, error) {
  5801  	type NoMethod GoogleCloudDialogflowCxV3PageInfo
  5802  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5803  }
  5804  
  5805  // GoogleCloudDialogflowCxV3PageInfoFormInfo: Represents form information.
  5806  type GoogleCloudDialogflowCxV3PageInfoFormInfo struct {
  5807  	// ParameterInfo: Optional for both WebhookRequest and WebhookResponse. The
  5808  	// parameters contained in the form. Note that the webhook cannot add or remove
  5809  	// any form parameter.
  5810  	ParameterInfo []*GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"`
  5811  	// ForceSendFields is a list of field names (e.g. "ParameterInfo") to
  5812  	// unconditionally include in API requests. By default, fields with empty or
  5813  	// default values are omitted from API requests. See
  5814  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5815  	// details.
  5816  	ForceSendFields []string `json:"-"`
  5817  	// NullFields is a list of field names (e.g. "ParameterInfo") to include in API
  5818  	// requests with the JSON null value. By default, fields with empty values are
  5819  	// omitted from API requests. See
  5820  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5821  	NullFields []string `json:"-"`
  5822  }
  5823  
  5824  func (s *GoogleCloudDialogflowCxV3PageInfoFormInfo) MarshalJSON() ([]byte, error) {
  5825  	type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfo
  5826  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5827  }
  5828  
  5829  // GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo: Represents parameter
  5830  // information.
  5831  type GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo struct {
  5832  	// DisplayName: Always present for WebhookRequest. Required for
  5833  	// WebhookResponse. The human-readable name of the parameter, unique within the
  5834  	// form. This field cannot be modified by the webhook.
  5835  	DisplayName string `json:"displayName,omitempty"`
  5836  	// JustCollected: Optional for WebhookRequest. Ignored for WebhookResponse.
  5837  	// Indicates if the parameter value was just collected on the last conversation
  5838  	// turn.
  5839  	JustCollected bool `json:"justCollected,omitempty"`
  5840  	// Required: Optional for both WebhookRequest and WebhookResponse. Indicates
  5841  	// whether the parameter is required. Optional parameters will not trigger
  5842  	// prompts; however, they are filled if the user specifies them. Required
  5843  	// parameters must be filled before form filling concludes.
  5844  	Required bool `json:"required,omitempty"`
  5845  	// State: Always present for WebhookRequest. Required for WebhookResponse. The
  5846  	// state of the parameter. This field can be set to INVALID by the webhook to
  5847  	// invalidate the parameter; other values set by the webhook will be ignored.
  5848  	//
  5849  	// Possible values:
  5850  	//   "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be never
  5851  	// used.
  5852  	//   "EMPTY" - Indicates that the parameter does not have a value.
  5853  	//   "INVALID" - Indicates that the parameter value is invalid. This field can
  5854  	// be used by the webhook to invalidate the parameter and ask the server to
  5855  	// collect it from the user again.
  5856  	//   "FILLED" - Indicates that the parameter has a value.
  5857  	State string `json:"state,omitempty"`
  5858  	// Value: Optional for both WebhookRequest and WebhookResponse. The value of
  5859  	// the parameter. This field can be set by the webhook to change the parameter
  5860  	// value.
  5861  	Value interface{} `json:"value,omitempty"`
  5862  	// ForceSendFields is a list of field names (e.g. "DisplayName") to
  5863  	// unconditionally include in API requests. By default, fields with empty or
  5864  	// default values are omitted from API requests. See
  5865  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5866  	// details.
  5867  	ForceSendFields []string `json:"-"`
  5868  	// NullFields is a list of field names (e.g. "DisplayName") to include in API
  5869  	// requests with the JSON null value. By default, fields with empty values are
  5870  	// omitted from API requests. See
  5871  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5872  	NullFields []string `json:"-"`
  5873  }
  5874  
  5875  func (s *GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) {
  5876  	type NoMethod GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo
  5877  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5878  }
  5879  
  5880  // GoogleCloudDialogflowCxV3Phrase: Text input which can be used for prompt or
  5881  // banned phrases.
  5882  type GoogleCloudDialogflowCxV3Phrase struct {
  5883  	// Text: Required. Text input which can be used for prompt or banned phrases.
  5884  	Text string `json:"text,omitempty"`
  5885  	// ForceSendFields is a list of field names (e.g. "Text") to unconditionally
  5886  	// include in API requests. By default, fields with empty or default values are
  5887  	// omitted from API requests. See
  5888  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5889  	// details.
  5890  	ForceSendFields []string `json:"-"`
  5891  	// NullFields is a list of field names (e.g. "Text") to include in API requests
  5892  	// with the JSON null value. By default, fields with empty values are omitted
  5893  	// from API requests. See
  5894  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5895  	NullFields []string `json:"-"`
  5896  }
  5897  
  5898  func (s *GoogleCloudDialogflowCxV3Phrase) MarshalJSON() ([]byte, error) {
  5899  	type NoMethod GoogleCloudDialogflowCxV3Phrase
  5900  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5901  }
  5902  
  5903  // GoogleCloudDialogflowCxV3QueryInput: Represents the query input. It can
  5904  // contain one of: 1. A conversational query in the form of text. 2. An intent
  5905  // query that specifies which intent to trigger. 3. Natural language speech
  5906  // audio to be processed. 4. An event to be triggered. 5. DTMF digits to invoke
  5907  // an intent and fill in parameter value. 6. The results of a tool executed by
  5908  // the client.
  5909  type GoogleCloudDialogflowCxV3QueryInput struct {
  5910  	// Audio: The natural language speech audio to be processed.
  5911  	Audio *GoogleCloudDialogflowCxV3AudioInput `json:"audio,omitempty"`
  5912  	// Dtmf: The DTMF event to be handled.
  5913  	Dtmf *GoogleCloudDialogflowCxV3DtmfInput `json:"dtmf,omitempty"`
  5914  	// Event: The event to be triggered.
  5915  	Event *GoogleCloudDialogflowCxV3EventInput `json:"event,omitempty"`
  5916  	// Intent: The intent to be triggered.
  5917  	Intent *GoogleCloudDialogflowCxV3IntentInput `json:"intent,omitempty"`
  5918  	// LanguageCode: Required. The language of the input. See Language Support
  5919  	// (https://cloud.google.com/dialogflow/cx/docs/reference/language) for a list
  5920  	// of the currently supported language codes. Note that queries in the same
  5921  	// session do not necessarily need to specify the same language.
  5922  	LanguageCode string `json:"languageCode,omitempty"`
  5923  	// Text: The natural language text to be processed.
  5924  	Text *GoogleCloudDialogflowCxV3TextInput `json:"text,omitempty"`
  5925  	// ForceSendFields is a list of field names (e.g. "Audio") to unconditionally
  5926  	// include in API requests. By default, fields with empty or default values are
  5927  	// omitted from API requests. See
  5928  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  5929  	// details.
  5930  	ForceSendFields []string `json:"-"`
  5931  	// NullFields is a list of field names (e.g. "Audio") to include in API
  5932  	// requests with the JSON null value. By default, fields with empty values are
  5933  	// omitted from API requests. See
  5934  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  5935  	NullFields []string `json:"-"`
  5936  }
  5937  
  5938  func (s *GoogleCloudDialogflowCxV3QueryInput) MarshalJSON() ([]byte, error) {
  5939  	type NoMethod GoogleCloudDialogflowCxV3QueryInput
  5940  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  5941  }
  5942  
  5943  // GoogleCloudDialogflowCxV3QueryParameters: Represents the parameters of a
  5944  // conversational query.
  5945  type GoogleCloudDialogflowCxV3QueryParameters struct {
  5946  	// AnalyzeQueryTextSentiment: Configures whether sentiment analysis should be
  5947  	// performed. If not provided, sentiment analysis is not performed.
  5948  	AnalyzeQueryTextSentiment bool `json:"analyzeQueryTextSentiment,omitempty"`
  5949  	// Channel: The channel which this query is for. If specified, only the
  5950  	// ResponseMessage associated with the channel will be returned. If no
  5951  	// ResponseMessage is associated with the channel, it falls back to the
  5952  	// ResponseMessage with unspecified channel. If unspecified, the
  5953  	// ResponseMessage with unspecified channel will be returned.
  5954  	Channel string `json:"channel,omitempty"`
  5955  	// CurrentPage: The unique identifier of the page to override the current page
  5956  	// in the session. Format: `projects//locations//agents//flows//pages/`. If
  5957  	// `current_page` is specified, the previous state of the session will be
  5958  	// ignored by Dialogflow, including the previous page and the previous session
  5959  	// parameters. In most cases, current_page and parameters should be configured
  5960  	// together to direct a session to a specific state.
  5961  	CurrentPage string `json:"currentPage,omitempty"`
  5962  	// DisableWebhook: Whether to disable webhook calls for this request.
  5963  	DisableWebhook bool `json:"disableWebhook,omitempty"`
  5964  	// EndUserMetadata: Optional. Information about the end-user to improve the
  5965  	// relevance and accuracy of generative answers. This will be interpreted and
  5966  	// used by a language model, so, for good results, the data should be
  5967  	// self-descriptive, and in a simple structure. Example: ```json {
  5968  	// "subscription plan": "Business Premium Plus", "devices owned": [ {"model":
  5969  	// "Google Pixel 7"}, {"model": "Google Pixel Tablet"} ] } ```
  5970  	EndUserMetadata googleapi.RawMessage `json:"endUserMetadata,omitempty"`
  5971  	// FlowVersions: A list of flow versions to override for the request. Format:
  5972  	// `projects//locations//agents//flows//versions/`. If version 1 of flow X is
  5973  	// included in this list, the traffic of flow X will go through version 1
  5974  	// regardless of the version configuration in the environment. Each flow can
  5975  	// have at most one version specified in this list.
  5976  	FlowVersions []string `json:"flowVersions,omitempty"`
  5977  	// GeoLocation: The geo location of this conversational query.
  5978  	GeoLocation *GoogleTypeLatLng `json:"geoLocation,omitempty"`
  5979  	// Parameters: Additional parameters to be put into session parameters. To
  5980  	// remove a parameter from the session, clients should explicitly set the
  5981  	// parameter value to null. You can reference the session parameters in the
  5982  	// agent with the following format: $session.params.parameter-id. Depending on
  5983  	// your protocol or client library language, this is a map, associative array,
  5984  	// symbol table, dictionary, or JSON object composed of a collection of
  5985  	// (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter
  5986  	// name * MapValue type: If parameter's entity type is a composite entity then
  5987  	// use map, otherwise, depending on the parameter value type, it could be one
  5988  	// of string, number, boolean, null, list or map. * MapValue value: If
  5989  	// parameter's entity type is a composite entity then use map from composite
  5990  	// entity property names to property values, otherwise, use parameter value.
  5991  	Parameters googleapi.RawMessage `json:"parameters,omitempty"`
  5992  	// Payload: This field can be used to pass custom data into the webhook
  5993  	// associated with the agent. Arbitrary JSON objects are supported. Some
  5994  	// integrations that query a Dialogflow agent may provide additional
  5995  	// information in the payload. In particular, for the Dialogflow Phone Gateway
  5996  	// integration, this field has the form: ``` { "telephony": { "caller_id":
  5997  	// "+18558363987" } } ```
  5998  	Payload googleapi.RawMessage `json:"payload,omitempty"`
  5999  	// PopulateDataStoreConnectionSignals: Optional. If set to true and data stores
  6000  	// are involved in serving the request then
  6001  	// DetectIntentResponse.query_result.data_store_connection_signals will be
  6002  	// filled with data that can help evaluations.
  6003  	PopulateDataStoreConnectionSignals bool `json:"populateDataStoreConnectionSignals,omitempty"`
  6004  	// SearchConfig: Optional. Search configuration for UCS search queries.
  6005  	SearchConfig *GoogleCloudDialogflowCxV3SearchConfig `json:"searchConfig,omitempty"`
  6006  	// SessionEntityTypes: Additional session entity types to replace or extend
  6007  	// developer entity types with. The entity synonyms apply to all languages and
  6008  	// persist for the session of this query.
  6009  	SessionEntityTypes []*GoogleCloudDialogflowCxV3SessionEntityType `json:"sessionEntityTypes,omitempty"`
  6010  	// SessionTtl: Optional. Configure lifetime of the Dialogflow session. By
  6011  	// default, a Dialogflow session remains active and its data is stored for 30
  6012  	// minutes after the last request is sent for the session. This value should be
  6013  	// no longer than 1 day.
  6014  	SessionTtl string `json:"sessionTtl,omitempty"`
  6015  	// TimeZone: The time zone of this conversational query from the time zone
  6016  	// database (https://www.iana.org/time-zones), e.g., America/New_York,
  6017  	// Europe/Paris. If not provided, the time zone specified in the agent is used.
  6018  	TimeZone string `json:"timeZone,omitempty"`
  6019  	// WebhookHeaders: This field can be used to pass HTTP headers for a webhook
  6020  	// call. These headers will be sent to webhook along with the headers that have
  6021  	// been configured through Dialogflow web console. The headers defined within
  6022  	// this field will overwrite the headers configured through Dialogflow console
  6023  	// if there is a conflict. Header names are case-insensitive. Google's
  6024  	// specified headers are not allowed. Including: "Host", "Content-Length",
  6025  	// "Connection", "From", "User-Agent", "Accept-Encoding", "If-Modified-Since",
  6026  	// "If-None-Match", "X-Forwarded-For", etc.
  6027  	WebhookHeaders map[string]string `json:"webhookHeaders,omitempty"`
  6028  	// ForceSendFields is a list of field names (e.g. "AnalyzeQueryTextSentiment")
  6029  	// to unconditionally include in API requests. By default, fields with empty or
  6030  	// default values are omitted from API requests. See
  6031  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6032  	// details.
  6033  	ForceSendFields []string `json:"-"`
  6034  	// NullFields is a list of field names (e.g. "AnalyzeQueryTextSentiment") to
  6035  	// include in API requests with the JSON null value. By default, fields with
  6036  	// empty values are omitted from API requests. See
  6037  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6038  	NullFields []string `json:"-"`
  6039  }
  6040  
  6041  func (s *GoogleCloudDialogflowCxV3QueryParameters) MarshalJSON() ([]byte, error) {
  6042  	type NoMethod GoogleCloudDialogflowCxV3QueryParameters
  6043  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6044  }
  6045  
  6046  // GoogleCloudDialogflowCxV3QueryResult: Represents the result of a
  6047  // conversational query.
  6048  type GoogleCloudDialogflowCxV3QueryResult struct {
  6049  	// AdvancedSettings: Returns the current advanced settings including IVR
  6050  	// settings. Even though the operations configured by these settings are
  6051  	// performed by Dialogflow, the client may need to perform special logic at the
  6052  	// moment. For example, if Dialogflow exports audio to Google Cloud Storage,
  6053  	// then the client may need to wait for the resulting object to appear in the
  6054  	// bucket before proceeding.
  6055  	AdvancedSettings *GoogleCloudDialogflowCxV3AdvancedSettings `json:"advancedSettings,omitempty"`
  6056  	// AllowAnswerFeedback: Indicates whether the Thumbs up/Thumbs down rating
  6057  	// controls are need to be shown for the response in the Dialogflow Messenger
  6058  	// widget.
  6059  	AllowAnswerFeedback bool `json:"allowAnswerFeedback,omitempty"`
  6060  	// CurrentPage: The current Page. Some, not all fields are filled in this
  6061  	// message, including but not limited to `name` and `display_name`.
  6062  	CurrentPage *GoogleCloudDialogflowCxV3Page `json:"currentPage,omitempty"`
  6063  	// DataStoreConnectionSignals: Optional. Data store connection feature output
  6064  	// signals. Filled only when data stores are involved in serving the query and
  6065  	// DetectIntentRequest.populate data_store_connection_quality_signals is set to
  6066  	// true in the request.
  6067  	DataStoreConnectionSignals *GoogleCloudDialogflowCxV3DataStoreConnectionSignals `json:"dataStoreConnectionSignals,omitempty"`
  6068  	// DiagnosticInfo: The free-form diagnostic info. For example, this field could
  6069  	// contain webhook call latency. The fields of this data can change without
  6070  	// notice, so you should not write code that depends on its structure. One of
  6071  	// the fields is called "Alternative Matched Intents", which may aid with
  6072  	// debugging. The following describes these intent results: - The list is empty
  6073  	// if no intent was matched to end-user input. - Only intents that are
  6074  	// referenced in the currently active flow are included. - The matched intent
  6075  	// is included. - Other intents that could have matched end-user input, but did
  6076  	// not match because they are referenced by intent routes that are out of scope
  6077  	// (https://cloud.google.com/dialogflow/cx/docs/concept/handler#scope), are
  6078  	// included. - Other intents referenced by intent routes in scope that matched
  6079  	// end-user input, but had a lower confidence score.
  6080  	DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"`
  6081  	// Dtmf: If a DTMF was provided as input, this field will contain a copy of the
  6082  	// DtmfInput.
  6083  	Dtmf *GoogleCloudDialogflowCxV3DtmfInput `json:"dtmf,omitempty"`
  6084  	// Intent: The Intent that matched the conversational query. Some, not all
  6085  	// fields are filled in this message, including but not limited to: `name` and
  6086  	// `display_name`. This field is deprecated, please use QueryResult.match
  6087  	// instead.
  6088  	Intent *GoogleCloudDialogflowCxV3Intent `json:"intent,omitempty"`
  6089  	// IntentDetectionConfidence: The intent detection confidence. Values range
  6090  	// from 0.0 (completely uncertain) to 1.0 (completely certain). This value is
  6091  	// for informational purpose only and is only used to help match the best
  6092  	// intent within the classification threshold. This value may change for the
  6093  	// same end-user expression at any time due to a model retraining or change in
  6094  	// implementation. This field is deprecated, please use QueryResult.match
  6095  	// instead.
  6096  	IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"`
  6097  	// LanguageCode: The language that was triggered during intent detection. See
  6098  	// Language Support
  6099  	// (https://cloud.google.com/dialogflow/cx/docs/reference/language) for a list
  6100  	// of the currently supported language codes.
  6101  	LanguageCode string `json:"languageCode,omitempty"`
  6102  	// Match: Intent match result, could be an intent or an event.
  6103  	Match *GoogleCloudDialogflowCxV3Match `json:"match,omitempty"`
  6104  	// Parameters: The collected session parameters. Depending on your protocol or
  6105  	// client library language, this is a map, associative array, symbol table,
  6106  	// dictionary, or JSON object composed of a collection of (MapKey, MapValue)
  6107  	// pairs: * MapKey type: string * MapKey value: parameter name * MapValue type:
  6108  	// If parameter's entity type is a composite entity then use map, otherwise,
  6109  	// depending on the parameter value type, it could be one of string, number,
  6110  	// boolean, null, list or map. * MapValue value: If parameter's entity type is
  6111  	// a composite entity then use map from composite entity property names to
  6112  	// property values, otherwise, use parameter value.
  6113  	Parameters googleapi.RawMessage `json:"parameters,omitempty"`
  6114  	// ResponseMessages: The list of rich messages returned to the client.
  6115  	// Responses vary from simple text messages to more sophisticated, structured
  6116  	// payloads used to drive complex logic.
  6117  	ResponseMessages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"responseMessages,omitempty"`
  6118  	// SentimentAnalysisResult: The sentiment analyss result, which depends on
  6119  	// `analyze_query_text_sentiment`, specified in the request.
  6120  	SentimentAnalysisResult *GoogleCloudDialogflowCxV3SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"`
  6121  	// Text: If natural language text was provided as input, this field will
  6122  	// contain a copy of the text.
  6123  	Text string `json:"text,omitempty"`
  6124  	// Transcript: If natural language speech audio was provided as input, this
  6125  	// field will contain the transcript for the audio.
  6126  	Transcript string `json:"transcript,omitempty"`
  6127  	// TriggerEvent: If an event was provided as input, this field will contain the
  6128  	// name of the event.
  6129  	TriggerEvent string `json:"triggerEvent,omitempty"`
  6130  	// TriggerIntent: If an intent was provided as input, this field will contain a
  6131  	// copy of the intent identifier. Format:
  6132  	// `projects//locations//agents//intents/`.
  6133  	TriggerIntent string `json:"triggerIntent,omitempty"`
  6134  	// WebhookPayloads: The list of webhook payload in WebhookResponse.payload, in
  6135  	// the order of call sequence. If some webhook call fails or doesn't return any
  6136  	// payload, an empty `Struct` would be used instead.
  6137  	WebhookPayloads []googleapi.RawMessage `json:"webhookPayloads,omitempty"`
  6138  	// WebhookStatuses: The list of webhook call status in the order of call
  6139  	// sequence.
  6140  	WebhookStatuses []*GoogleRpcStatus `json:"webhookStatuses,omitempty"`
  6141  	// ForceSendFields is a list of field names (e.g. "AdvancedSettings") to
  6142  	// unconditionally include in API requests. By default, fields with empty or
  6143  	// default values are omitted from API requests. See
  6144  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6145  	// details.
  6146  	ForceSendFields []string `json:"-"`
  6147  	// NullFields is a list of field names (e.g. "AdvancedSettings") to include in
  6148  	// API requests with the JSON null value. By default, fields with empty values
  6149  	// are omitted from API requests. See
  6150  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6151  	NullFields []string `json:"-"`
  6152  }
  6153  
  6154  func (s *GoogleCloudDialogflowCxV3QueryResult) MarshalJSON() ([]byte, error) {
  6155  	type NoMethod GoogleCloudDialogflowCxV3QueryResult
  6156  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6157  }
  6158  
  6159  func (s *GoogleCloudDialogflowCxV3QueryResult) UnmarshalJSON(data []byte) error {
  6160  	type NoMethod GoogleCloudDialogflowCxV3QueryResult
  6161  	var s1 struct {
  6162  		IntentDetectionConfidence gensupport.JSONFloat64 `json:"intentDetectionConfidence"`
  6163  		*NoMethod
  6164  	}
  6165  	s1.NoMethod = (*NoMethod)(s)
  6166  	if err := json.Unmarshal(data, &s1); err != nil {
  6167  		return err
  6168  	}
  6169  	s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence)
  6170  	return nil
  6171  }
  6172  
  6173  // GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata: Metadata for
  6174  // ReloadDocument operation.
  6175  type GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata struct {
  6176  	// GenericMetadata: The generic information of the operation.
  6177  	GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"`
  6178  	// ForceSendFields is a list of field names (e.g. "GenericMetadata") to
  6179  	// unconditionally include in API requests. By default, fields with empty or
  6180  	// default values are omitted from API requests. See
  6181  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6182  	// details.
  6183  	ForceSendFields []string `json:"-"`
  6184  	// NullFields is a list of field names (e.g. "GenericMetadata") to include in
  6185  	// API requests with the JSON null value. By default, fields with empty values
  6186  	// are omitted from API requests. See
  6187  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6188  	NullFields []string `json:"-"`
  6189  }
  6190  
  6191  func (s *GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error) {
  6192  	type NoMethod GoogleCloudDialogflowCxV3ReloadDocumentOperationMetadata
  6193  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6194  }
  6195  
  6196  // GoogleCloudDialogflowCxV3ResourceName: Resource name and display name.
  6197  type GoogleCloudDialogflowCxV3ResourceName struct {
  6198  	// DisplayName: Display name.
  6199  	DisplayName string `json:"displayName,omitempty"`
  6200  	// Name: Name.
  6201  	Name string `json:"name,omitempty"`
  6202  	// ForceSendFields is a list of field names (e.g. "DisplayName") to
  6203  	// unconditionally include in API requests. By default, fields with empty or
  6204  	// default values are omitted from API requests. See
  6205  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6206  	// details.
  6207  	ForceSendFields []string `json:"-"`
  6208  	// NullFields is a list of field names (e.g. "DisplayName") to include in API
  6209  	// requests with the JSON null value. By default, fields with empty values are
  6210  	// omitted from API requests. See
  6211  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6212  	NullFields []string `json:"-"`
  6213  }
  6214  
  6215  func (s *GoogleCloudDialogflowCxV3ResourceName) MarshalJSON() ([]byte, error) {
  6216  	type NoMethod GoogleCloudDialogflowCxV3ResourceName
  6217  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6218  }
  6219  
  6220  // GoogleCloudDialogflowCxV3ResponseMessage: Represents a response message that
  6221  // can be returned by a conversational agent. Response messages are also used
  6222  // for output audio synthesis. The approach is as follows: * If at least one
  6223  // OutputAudioText response is present, then all OutputAudioText responses are
  6224  // linearly concatenated, and the result is used for output audio synthesis. *
  6225  // If the OutputAudioText responses are a mixture of text and SSML, then the
  6226  // concatenated result is treated as SSML; otherwise, the result is treated as
  6227  // either text or SSML as appropriate. The agent designer should ideally use
  6228  // either text or SSML consistently throughout the bot design. * Otherwise, all
  6229  // Text responses are linearly concatenated, and the result is used for output
  6230  // audio synthesis. This approach allows for more sophisticated user experience
  6231  // scenarios, where the text displayed to the user may differ from what is
  6232  // heard.
  6233  type GoogleCloudDialogflowCxV3ResponseMessage struct {
  6234  	// Channel: The channel which the response is associated with. Clients can
  6235  	// specify the channel via QueryParameters.channel, and only associated channel
  6236  	// response will be returned.
  6237  	Channel string `json:"channel,omitempty"`
  6238  	// ConversationSuccess: Indicates that the conversation succeeded.
  6239  	ConversationSuccess *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"`
  6240  	// EndInteraction: Output only. A signal that indicates the interaction with
  6241  	// the Dialogflow agent has ended. This message is generated by Dialogflow only
  6242  	// when the conversation reaches `END_SESSION` page. It is not supposed to be
  6243  	// defined by the user. It's guaranteed that there is at most one such message
  6244  	// in each response.
  6245  	EndInteraction *GoogleCloudDialogflowCxV3ResponseMessageEndInteraction `json:"endInteraction,omitempty"`
  6246  	// KnowledgeInfoCard: Represents info card for knowledge answers, to be better
  6247  	// rendered in Dialogflow Messenger.
  6248  	KnowledgeInfoCard *GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard `json:"knowledgeInfoCard,omitempty"`
  6249  	// LiveAgentHandoff: Hands off conversation to a human agent.
  6250  	LiveAgentHandoff *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"`
  6251  	// MixedAudio: Output only. An audio response message composed of both the
  6252  	// synthesized Dialogflow agent responses and responses defined via play_audio.
  6253  	// This message is generated by Dialogflow only and not supposed to be defined
  6254  	// by the user.
  6255  	MixedAudio *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio `json:"mixedAudio,omitempty"`
  6256  	// OutputAudioText: A text or ssml response that is preferentially used for TTS
  6257  	// output audio synthesis, as described in the comment on the ResponseMessage
  6258  	// message.
  6259  	OutputAudioText *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"`
  6260  	// Payload: Returns a response containing a custom, platform-specific payload.
  6261  	Payload googleapi.RawMessage `json:"payload,omitempty"`
  6262  	// PlayAudio: Signal that the client should play an audio clip hosted at a
  6263  	// client-specific URI. Dialogflow uses this to construct mixed_audio. However,
  6264  	// Dialogflow itself does not try to read or process the URI in any way.
  6265  	PlayAudio *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio `json:"playAudio,omitempty"`
  6266  	// ResponseType: Response type.
  6267  	//
  6268  	// Possible values:
  6269  	//   "RESPONSE_TYPE_UNSPECIFIED" - Not specified.
  6270  	//   "ENTRY_PROMPT" - The response is from an entry prompt in the page.
  6271  	//   "PARAMETER_PROMPT" - The response is from form-filling prompt in the page.
  6272  	//   "HANDLER_PROMPT" - The response is from a transition route or an event
  6273  	// handler in the page or flow or transition route group.
  6274  	ResponseType string `json:"responseType,omitempty"`
  6275  	// TelephonyTransferCall: A signal that the client should transfer the phone
  6276  	// call connected to this agent to a third-party endpoint.
  6277  	TelephonyTransferCall *GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall `json:"telephonyTransferCall,omitempty"`
  6278  	// Text: Returns a text response.
  6279  	Text *GoogleCloudDialogflowCxV3ResponseMessageText `json:"text,omitempty"`
  6280  	// ForceSendFields is a list of field names (e.g. "Channel") to unconditionally
  6281  	// include in API requests. By default, fields with empty or default values are
  6282  	// omitted from API requests. See
  6283  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6284  	// details.
  6285  	ForceSendFields []string `json:"-"`
  6286  	// NullFields is a list of field names (e.g. "Channel") to include in API
  6287  	// requests with the JSON null value. By default, fields with empty values are
  6288  	// omitted from API requests. See
  6289  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6290  	NullFields []string `json:"-"`
  6291  }
  6292  
  6293  func (s *GoogleCloudDialogflowCxV3ResponseMessage) MarshalJSON() ([]byte, error) {
  6294  	type NoMethod GoogleCloudDialogflowCxV3ResponseMessage
  6295  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6296  }
  6297  
  6298  // GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess: Indicates that
  6299  // the conversation succeeded, i.e., the bot handled the issue that the
  6300  // customer talked to it about. Dialogflow only uses this to determine which
  6301  // conversations should be counted as successful and doesn't process the
  6302  // metadata in this message in any way. Note that Dialogflow also considers
  6303  // conversations that get to the conversation end page as successful even if
  6304  // they don't return ConversationSuccess. You may set this, for example: * In
  6305  // the entry_fulfillment of a Page if entering the page indicates that the
  6306  // conversation succeeded. * In a webhook response when you determine that you
  6307  // handled the customer issue.
  6308  type GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess struct {
  6309  	// Metadata: Custom metadata. Dialogflow doesn't impose any structure on this.
  6310  	Metadata googleapi.RawMessage `json:"metadata,omitempty"`
  6311  	// ForceSendFields is a list of field names (e.g. "Metadata") to
  6312  	// unconditionally include in API requests. By default, fields with empty or
  6313  	// default values are omitted from API requests. See
  6314  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6315  	// details.
  6316  	ForceSendFields []string `json:"-"`
  6317  	// NullFields is a list of field names (e.g. "Metadata") to include in API
  6318  	// requests with the JSON null value. By default, fields with empty values are
  6319  	// omitted from API requests. See
  6320  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6321  	NullFields []string `json:"-"`
  6322  }
  6323  
  6324  func (s *GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error) {
  6325  	type NoMethod GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess
  6326  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6327  }
  6328  
  6329  // GoogleCloudDialogflowCxV3ResponseMessageEndInteraction: Indicates that
  6330  // interaction with the Dialogflow agent has ended. This message is generated
  6331  // by Dialogflow only and not supposed to be defined by the user.
  6332  type GoogleCloudDialogflowCxV3ResponseMessageEndInteraction struct {
  6333  }
  6334  
  6335  // GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard: Represents info
  6336  // card response. If the response contains generative knowledge prediction,
  6337  // Dialogflow will return a payload with Infobot Messenger compatible info
  6338  // card. Otherwise, the info card response is skipped.
  6339  type GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard struct {
  6340  }
  6341  
  6342  // GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff: Indicates that the
  6343  // conversation should be handed off to a live agent. Dialogflow only uses this
  6344  // to determine which conversations were handed off to a human agent for
  6345  // measurement purposes. What else to do with this signal is up to you and your
  6346  // handoff procedures. You may set this, for example: * In the
  6347  // entry_fulfillment of a Page if entering the page indicates something went
  6348  // extremely wrong in the conversation. * In a webhook response when you
  6349  // determine that the customer issue can only be handled by a human.
  6350  type GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff struct {
  6351  	// Metadata: Custom metadata for your handoff procedure. Dialogflow doesn't
  6352  	// impose any structure on this.
  6353  	Metadata googleapi.RawMessage `json:"metadata,omitempty"`
  6354  	// ForceSendFields is a list of field names (e.g. "Metadata") to
  6355  	// unconditionally include in API requests. By default, fields with empty or
  6356  	// default values are omitted from API requests. See
  6357  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6358  	// details.
  6359  	ForceSendFields []string `json:"-"`
  6360  	// NullFields is a list of field names (e.g. "Metadata") to include in API
  6361  	// requests with the JSON null value. By default, fields with empty values are
  6362  	// omitted from API requests. See
  6363  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6364  	NullFields []string `json:"-"`
  6365  }
  6366  
  6367  func (s *GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error) {
  6368  	type NoMethod GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff
  6369  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6370  }
  6371  
  6372  // GoogleCloudDialogflowCxV3ResponseMessageMixedAudio: Represents an audio
  6373  // message that is composed of both segments synthesized from the Dialogflow
  6374  // agent prompts and ones hosted externally at the specified URIs. The external
  6375  // URIs are specified via play_audio. This message is generated by Dialogflow
  6376  // only and not supposed to be defined by the user.
  6377  type GoogleCloudDialogflowCxV3ResponseMessageMixedAudio struct {
  6378  	// Segments: Segments this audio response is composed of.
  6379  	Segments []*GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment `json:"segments,omitempty"`
  6380  	// ForceSendFields is a list of field names (e.g. "Segments") to
  6381  	// unconditionally include in API requests. By default, fields with empty or
  6382  	// default values are omitted from API requests. See
  6383  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6384  	// details.
  6385  	ForceSendFields []string `json:"-"`
  6386  	// NullFields is a list of field names (e.g. "Segments") to include in API
  6387  	// requests with the JSON null value. By default, fields with empty values are
  6388  	// omitted from API requests. See
  6389  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6390  	NullFields []string `json:"-"`
  6391  }
  6392  
  6393  func (s *GoogleCloudDialogflowCxV3ResponseMessageMixedAudio) MarshalJSON() ([]byte, error) {
  6394  	type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudio
  6395  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6396  }
  6397  
  6398  // GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment: Represents one
  6399  // segment of audio.
  6400  type GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment struct {
  6401  	// AllowPlaybackInterruption: Output only. Whether the playback of this segment
  6402  	// can be interrupted by the end user's speech and the client should then start
  6403  	// the next Dialogflow request.
  6404  	AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"`
  6405  	// Audio: Raw audio synthesized from the Dialogflow agent's response using the
  6406  	// output config specified in the request.
  6407  	Audio string `json:"audio,omitempty"`
  6408  	// Uri: Client-specific URI that points to an audio clip accessible to the
  6409  	// client. Dialogflow does not impose any validation on it.
  6410  	Uri string `json:"uri,omitempty"`
  6411  	// ForceSendFields is a list of field names (e.g. "AllowPlaybackInterruption")
  6412  	// to unconditionally include in API requests. By default, fields with empty or
  6413  	// default values are omitted from API requests. See
  6414  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6415  	// details.
  6416  	ForceSendFields []string `json:"-"`
  6417  	// NullFields is a list of field names (e.g. "AllowPlaybackInterruption") to
  6418  	// include in API requests with the JSON null value. By default, fields with
  6419  	// empty values are omitted from API requests. See
  6420  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6421  	NullFields []string `json:"-"`
  6422  }
  6423  
  6424  func (s *GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error) {
  6425  	type NoMethod GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment
  6426  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6427  }
  6428  
  6429  // GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText: A text or ssml
  6430  // response that is preferentially used for TTS output audio synthesis, as
  6431  // described in the comment on the ResponseMessage message.
  6432  type GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText struct {
  6433  	// AllowPlaybackInterruption: Output only. Whether the playback of this message
  6434  	// can be interrupted by the end user's speech and the client can then starts
  6435  	// the next Dialogflow request.
  6436  	AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"`
  6437  	// Ssml: The SSML text to be synthesized. For more information, see SSML
  6438  	// (/speech/text-to-speech/docs/ssml).
  6439  	Ssml string `json:"ssml,omitempty"`
  6440  	// Text: The raw text to be synthesized.
  6441  	Text string `json:"text,omitempty"`
  6442  	// ForceSendFields is a list of field names (e.g. "AllowPlaybackInterruption")
  6443  	// to 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. "AllowPlaybackInterruption") to
  6449  	// include in API requests with the JSON null value. By default, fields with
  6450  	// empty values are 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 *GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error) {
  6456  	type NoMethod GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText
  6457  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6458  }
  6459  
  6460  // GoogleCloudDialogflowCxV3ResponseMessagePlayAudio: Specifies an audio clip
  6461  // to be played by the client as part of the response.
  6462  type GoogleCloudDialogflowCxV3ResponseMessagePlayAudio struct {
  6463  	// AllowPlaybackInterruption: Output only. Whether the playback of this message
  6464  	// can be interrupted by the end user's speech and the client can then starts
  6465  	// the next Dialogflow request.
  6466  	AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"`
  6467  	// AudioUri: Required. URI of the audio clip. Dialogflow does not impose any
  6468  	// validation on this value. It is specific to the client that reads it.
  6469  	AudioUri string `json:"audioUri,omitempty"`
  6470  	// ForceSendFields is a list of field names (e.g. "AllowPlaybackInterruption")
  6471  	// to unconditionally include in API requests. By default, fields with empty or
  6472  	// default values are omitted from API requests. See
  6473  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6474  	// details.
  6475  	ForceSendFields []string `json:"-"`
  6476  	// NullFields is a list of field names (e.g. "AllowPlaybackInterruption") to
  6477  	// include in API requests with the JSON null value. By default, fields with
  6478  	// empty values are omitted from API requests. See
  6479  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6480  	NullFields []string `json:"-"`
  6481  }
  6482  
  6483  func (s *GoogleCloudDialogflowCxV3ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) {
  6484  	type NoMethod GoogleCloudDialogflowCxV3ResponseMessagePlayAudio
  6485  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6486  }
  6487  
  6488  // GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall: Represents
  6489  // the signal that telles the client to transfer the phone call connected to
  6490  // the agent to a third-party endpoint.
  6491  type GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall struct {
  6492  	// PhoneNumber: Transfer the call to a phone number in E.164 format
  6493  	// (https://en.wikipedia.org/wiki/E.164).
  6494  	PhoneNumber string `json:"phoneNumber,omitempty"`
  6495  	// ForceSendFields is a list of field names (e.g. "PhoneNumber") 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. "PhoneNumber") 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 *GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall) MarshalJSON() ([]byte, error) {
  6509  	type NoMethod GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall
  6510  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6511  }
  6512  
  6513  // GoogleCloudDialogflowCxV3ResponseMessageText: The text response message.
  6514  type GoogleCloudDialogflowCxV3ResponseMessageText struct {
  6515  	// AllowPlaybackInterruption: Output only. Whether the playback of this message
  6516  	// can be interrupted by the end user's speech and the client can then starts
  6517  	// the next Dialogflow request.
  6518  	AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"`
  6519  	// Text: Required. A collection of text responses.
  6520  	Text []string `json:"text,omitempty"`
  6521  	// ForceSendFields is a list of field names (e.g. "AllowPlaybackInterruption")
  6522  	// to unconditionally include in API requests. By default, fields with empty or
  6523  	// default values are omitted from API requests. See
  6524  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6525  	// details.
  6526  	ForceSendFields []string `json:"-"`
  6527  	// NullFields is a list of field names (e.g. "AllowPlaybackInterruption") to
  6528  	// include in API requests with the JSON null value. By default, fields with
  6529  	// empty values are omitted from API requests. See
  6530  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6531  	NullFields []string `json:"-"`
  6532  }
  6533  
  6534  func (s *GoogleCloudDialogflowCxV3ResponseMessageText) MarshalJSON() ([]byte, error) {
  6535  	type NoMethod GoogleCloudDialogflowCxV3ResponseMessageText
  6536  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6537  }
  6538  
  6539  // GoogleCloudDialogflowCxV3RestoreAgentRequest: The request message for
  6540  // Agents.RestoreAgent.
  6541  type GoogleCloudDialogflowCxV3RestoreAgentRequest struct {
  6542  	// AgentContent: Uncompressed raw byte content for agent.
  6543  	AgentContent string `json:"agentContent,omitempty"`
  6544  	// AgentUri: The Google Cloud Storage (https://cloud.google.com/storage/docs/)
  6545  	// URI to restore agent from. The format of this URI must be `gs:///`.
  6546  	// Dialogflow performs a read operation for the Cloud Storage object on the
  6547  	// caller's behalf, so your request authentication must have read permissions
  6548  	// for the object. For more information, see Dialogflow access control
  6549  	// (https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).
  6550  	AgentUri string `json:"agentUri,omitempty"`
  6551  	// GitSource: Setting for restoring from a git branch
  6552  	GitSource *GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource `json:"gitSource,omitempty"`
  6553  	// RestoreOption: Agent restore mode. If not specified, `KEEP` is assumed.
  6554  	//
  6555  	// Possible values:
  6556  	//   "RESTORE_OPTION_UNSPECIFIED" - Unspecified. Treated as KEEP.
  6557  	//   "KEEP" - Always respect the settings from the exported agent file. It may
  6558  	// cause a restoration failure if some settings (e.g. model type) are not
  6559  	// supported in the target agent.
  6560  	//   "FALLBACK" - Fallback to default settings if some settings are not
  6561  	// supported in the target agent.
  6562  	RestoreOption string `json:"restoreOption,omitempty"`
  6563  	// ForceSendFields is a list of field names (e.g. "AgentContent") to
  6564  	// unconditionally include in API requests. By default, fields with empty or
  6565  	// default values are omitted from API requests. See
  6566  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6567  	// details.
  6568  	ForceSendFields []string `json:"-"`
  6569  	// NullFields is a list of field names (e.g. "AgentContent") to include in API
  6570  	// requests with the JSON null value. By default, fields with empty values are
  6571  	// omitted from API requests. See
  6572  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6573  	NullFields []string `json:"-"`
  6574  }
  6575  
  6576  func (s *GoogleCloudDialogflowCxV3RestoreAgentRequest) MarshalJSON() ([]byte, error) {
  6577  	type NoMethod GoogleCloudDialogflowCxV3RestoreAgentRequest
  6578  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6579  }
  6580  
  6581  // GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource: Settings for
  6582  // restoring from a git branch
  6583  type GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource struct {
  6584  	// TrackingBranch: tracking branch for the git pull
  6585  	TrackingBranch string `json:"trackingBranch,omitempty"`
  6586  	// ForceSendFields is a list of field names (e.g. "TrackingBranch") to
  6587  	// unconditionally include in API requests. By default, fields with empty or
  6588  	// default values are omitted from API requests. See
  6589  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6590  	// details.
  6591  	ForceSendFields []string `json:"-"`
  6592  	// NullFields is a list of field names (e.g. "TrackingBranch") to include in
  6593  	// API requests with the JSON null value. By default, fields with empty values
  6594  	// are omitted from API requests. See
  6595  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6596  	NullFields []string `json:"-"`
  6597  }
  6598  
  6599  func (s *GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource) MarshalJSON() ([]byte, error) {
  6600  	type NoMethod GoogleCloudDialogflowCxV3RestoreAgentRequestGitSource
  6601  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6602  }
  6603  
  6604  // GoogleCloudDialogflowCxV3RolloutConfig: The configuration for auto rollout.
  6605  type GoogleCloudDialogflowCxV3RolloutConfig struct {
  6606  	// FailureCondition: The conditions that are used to evaluate the failure of a
  6607  	// rollout step. If not specified, no rollout steps will fail. E.g.
  6608  	// "containment_rate < 10% OR average_turn_count < 3". See the conditions
  6609  	// reference (https://cloud.google.com/dialogflow/cx/docs/reference/condition).
  6610  	FailureCondition string `json:"failureCondition,omitempty"`
  6611  	// RolloutCondition: The conditions that are used to evaluate the success of a
  6612  	// rollout step. If not specified, all rollout steps will proceed to the next
  6613  	// one unless failure conditions are met. E.g. "containment_rate > 60% AND
  6614  	// callback_rate < 20%". See the conditions reference
  6615  	// (https://cloud.google.com/dialogflow/cx/docs/reference/condition).
  6616  	RolloutCondition string `json:"rolloutCondition,omitempty"`
  6617  	// RolloutSteps: Steps to roll out a flow version. Steps should be sorted by
  6618  	// percentage in ascending order.
  6619  	RolloutSteps []*GoogleCloudDialogflowCxV3RolloutConfigRolloutStep `json:"rolloutSteps,omitempty"`
  6620  	// ForceSendFields is a list of field names (e.g. "FailureCondition") to
  6621  	// unconditionally include in API requests. By default, fields with empty or
  6622  	// default values are omitted from API requests. See
  6623  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6624  	// details.
  6625  	ForceSendFields []string `json:"-"`
  6626  	// NullFields is a list of field names (e.g. "FailureCondition") to include in
  6627  	// API requests with the JSON null value. By default, fields with empty values
  6628  	// are omitted from API requests. See
  6629  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6630  	NullFields []string `json:"-"`
  6631  }
  6632  
  6633  func (s *GoogleCloudDialogflowCxV3RolloutConfig) MarshalJSON() ([]byte, error) {
  6634  	type NoMethod GoogleCloudDialogflowCxV3RolloutConfig
  6635  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6636  }
  6637  
  6638  // GoogleCloudDialogflowCxV3RolloutConfigRolloutStep: A single rollout step
  6639  // with specified traffic allocation.
  6640  type GoogleCloudDialogflowCxV3RolloutConfigRolloutStep struct {
  6641  	// DisplayName: The name of the rollout step;
  6642  	DisplayName string `json:"displayName,omitempty"`
  6643  	// MinDuration: The minimum time that this step should last. Should be longer
  6644  	// than 1 hour. If not set, the default minimum duration for each step will be
  6645  	// 1 hour.
  6646  	MinDuration string `json:"minDuration,omitempty"`
  6647  	// TrafficPercent: The percentage of traffic allocated to the flow version of
  6648  	// this rollout step. (0%, 100%].
  6649  	TrafficPercent int64 `json:"trafficPercent,omitempty"`
  6650  	// ForceSendFields is a list of field names (e.g. "DisplayName") to
  6651  	// unconditionally include in API requests. By default, fields with empty or
  6652  	// default values are omitted from API requests. See
  6653  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6654  	// details.
  6655  	ForceSendFields []string `json:"-"`
  6656  	// NullFields is a list of field names (e.g. "DisplayName") to include in API
  6657  	// requests with the JSON null value. By default, fields with empty values are
  6658  	// omitted from API requests. See
  6659  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6660  	NullFields []string `json:"-"`
  6661  }
  6662  
  6663  func (s *GoogleCloudDialogflowCxV3RolloutConfigRolloutStep) MarshalJSON() ([]byte, error) {
  6664  	type NoMethod GoogleCloudDialogflowCxV3RolloutConfigRolloutStep
  6665  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6666  }
  6667  
  6668  // GoogleCloudDialogflowCxV3RolloutState: State of the auto-rollout process.
  6669  type GoogleCloudDialogflowCxV3RolloutState struct {
  6670  	// StartTime: Start time of the current step.
  6671  	StartTime string `json:"startTime,omitempty"`
  6672  	// Step: Display name of the current auto rollout step.
  6673  	Step string `json:"step,omitempty"`
  6674  	// StepIndex: Index of the current step in the auto rollout steps list.
  6675  	StepIndex int64 `json:"stepIndex,omitempty"`
  6676  	// ForceSendFields is a list of field names (e.g. "StartTime") to
  6677  	// unconditionally include in API requests. By default, fields with empty or
  6678  	// default values are omitted from API requests. See
  6679  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6680  	// details.
  6681  	ForceSendFields []string `json:"-"`
  6682  	// NullFields is a list of field names (e.g. "StartTime") to include in API
  6683  	// requests with the JSON null value. By default, fields with empty values are
  6684  	// omitted from API requests. See
  6685  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6686  	NullFields []string `json:"-"`
  6687  }
  6688  
  6689  func (s *GoogleCloudDialogflowCxV3RolloutState) MarshalJSON() ([]byte, error) {
  6690  	type NoMethod GoogleCloudDialogflowCxV3RolloutState
  6691  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6692  }
  6693  
  6694  // GoogleCloudDialogflowCxV3RunContinuousTestMetadata: Metadata returned for
  6695  // the Environments.RunContinuousTest long running operation.
  6696  type GoogleCloudDialogflowCxV3RunContinuousTestMetadata struct {
  6697  	// Errors: The test errors.
  6698  	Errors []*GoogleCloudDialogflowCxV3TestError `json:"errors,omitempty"`
  6699  	// ForceSendFields is a list of field names (e.g. "Errors") to unconditionally
  6700  	// include in API requests. By default, fields with empty or default values are
  6701  	// omitted from API requests. See
  6702  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6703  	// details.
  6704  	ForceSendFields []string `json:"-"`
  6705  	// NullFields is a list of field names (e.g. "Errors") to include in API
  6706  	// requests with the JSON null value. By default, fields with empty values are
  6707  	// omitted from API requests. See
  6708  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6709  	NullFields []string `json:"-"`
  6710  }
  6711  
  6712  func (s *GoogleCloudDialogflowCxV3RunContinuousTestMetadata) MarshalJSON() ([]byte, error) {
  6713  	type NoMethod GoogleCloudDialogflowCxV3RunContinuousTestMetadata
  6714  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6715  }
  6716  
  6717  // GoogleCloudDialogflowCxV3RunContinuousTestRequest: The request message for
  6718  // Environments.RunContinuousTest.
  6719  type GoogleCloudDialogflowCxV3RunContinuousTestRequest struct {
  6720  }
  6721  
  6722  // GoogleCloudDialogflowCxV3RunContinuousTestResponse: The response message for
  6723  // Environments.RunContinuousTest.
  6724  type GoogleCloudDialogflowCxV3RunContinuousTestResponse struct {
  6725  	// ContinuousTestResult: The result for a continuous test run.
  6726  	ContinuousTestResult *GoogleCloudDialogflowCxV3ContinuousTestResult `json:"continuousTestResult,omitempty"`
  6727  	// ForceSendFields is a list of field names (e.g. "ContinuousTestResult") to
  6728  	// unconditionally include in API requests. By default, fields with empty or
  6729  	// default values are omitted from API requests. See
  6730  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6731  	// details.
  6732  	ForceSendFields []string `json:"-"`
  6733  	// NullFields is a list of field names (e.g. "ContinuousTestResult") to include
  6734  	// in API requests with the JSON null value. By default, fields with empty
  6735  	// values are omitted from API requests. See
  6736  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6737  	NullFields []string `json:"-"`
  6738  }
  6739  
  6740  func (s *GoogleCloudDialogflowCxV3RunContinuousTestResponse) MarshalJSON() ([]byte, error) {
  6741  	type NoMethod GoogleCloudDialogflowCxV3RunContinuousTestResponse
  6742  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6743  }
  6744  
  6745  // GoogleCloudDialogflowCxV3RunTestCaseMetadata: Metadata returned for the
  6746  // TestCases.RunTestCase long running operation. This message currently has no
  6747  // fields.
  6748  type GoogleCloudDialogflowCxV3RunTestCaseMetadata struct {
  6749  }
  6750  
  6751  // GoogleCloudDialogflowCxV3RunTestCaseRequest: The request message for
  6752  // TestCases.RunTestCase.
  6753  type GoogleCloudDialogflowCxV3RunTestCaseRequest struct {
  6754  	// Environment: Optional. Environment name. If not set, draft environment is
  6755  	// assumed. Format: `projects//locations//agents//environments/`.
  6756  	Environment string `json:"environment,omitempty"`
  6757  	// ForceSendFields is a list of field names (e.g. "Environment") to
  6758  	// unconditionally include in API requests. By default, fields with empty or
  6759  	// default values are omitted from API requests. See
  6760  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6761  	// details.
  6762  	ForceSendFields []string `json:"-"`
  6763  	// NullFields is a list of field names (e.g. "Environment") to include in API
  6764  	// requests with the JSON null value. By default, fields with empty values are
  6765  	// omitted from API requests. See
  6766  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6767  	NullFields []string `json:"-"`
  6768  }
  6769  
  6770  func (s *GoogleCloudDialogflowCxV3RunTestCaseRequest) MarshalJSON() ([]byte, error) {
  6771  	type NoMethod GoogleCloudDialogflowCxV3RunTestCaseRequest
  6772  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6773  }
  6774  
  6775  // GoogleCloudDialogflowCxV3RunTestCaseResponse: The response message for
  6776  // TestCases.RunTestCase.
  6777  type GoogleCloudDialogflowCxV3RunTestCaseResponse struct {
  6778  	// Result: The result.
  6779  	Result *GoogleCloudDialogflowCxV3TestCaseResult `json:"result,omitempty"`
  6780  	// ForceSendFields is a list of field names (e.g. "Result") to unconditionally
  6781  	// include in API requests. By default, fields with empty or default values are
  6782  	// omitted from API requests. See
  6783  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6784  	// details.
  6785  	ForceSendFields []string `json:"-"`
  6786  	// NullFields is a list of field names (e.g. "Result") to include in API
  6787  	// requests with the JSON null value. By default, fields with empty values are
  6788  	// omitted from API requests. See
  6789  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6790  	NullFields []string `json:"-"`
  6791  }
  6792  
  6793  func (s *GoogleCloudDialogflowCxV3RunTestCaseResponse) MarshalJSON() ([]byte, error) {
  6794  	type NoMethod GoogleCloudDialogflowCxV3RunTestCaseResponse
  6795  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6796  }
  6797  
  6798  // GoogleCloudDialogflowCxV3SafetySettings: Settings for Generative Safety.
  6799  type GoogleCloudDialogflowCxV3SafetySettings struct {
  6800  	// BannedPhrases: Banned phrases for generated text.
  6801  	BannedPhrases []*GoogleCloudDialogflowCxV3SafetySettingsPhrase `json:"bannedPhrases,omitempty"`
  6802  	// ForceSendFields is a list of field names (e.g. "BannedPhrases") to
  6803  	// unconditionally include in API requests. By default, fields with empty or
  6804  	// default values are omitted from API requests. See
  6805  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6806  	// details.
  6807  	ForceSendFields []string `json:"-"`
  6808  	// NullFields is a list of field names (e.g. "BannedPhrases") to include in API
  6809  	// requests with the JSON null value. By default, fields with empty values are
  6810  	// omitted from API requests. See
  6811  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6812  	NullFields []string `json:"-"`
  6813  }
  6814  
  6815  func (s *GoogleCloudDialogflowCxV3SafetySettings) MarshalJSON() ([]byte, error) {
  6816  	type NoMethod GoogleCloudDialogflowCxV3SafetySettings
  6817  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6818  }
  6819  
  6820  // GoogleCloudDialogflowCxV3SafetySettingsPhrase: Text input which can be used
  6821  // for prompt or banned phrases.
  6822  type GoogleCloudDialogflowCxV3SafetySettingsPhrase struct {
  6823  	// LanguageCode: Required. Language code of the phrase.
  6824  	LanguageCode string `json:"languageCode,omitempty"`
  6825  	// Text: Required. Text input which can be used for prompt or banned phrases.
  6826  	Text string `json:"text,omitempty"`
  6827  	// ForceSendFields is a list of field names (e.g. "LanguageCode") to
  6828  	// unconditionally include in API requests. By default, fields with empty or
  6829  	// default values are omitted from API requests. See
  6830  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6831  	// details.
  6832  	ForceSendFields []string `json:"-"`
  6833  	// NullFields is a list of field names (e.g. "LanguageCode") to include in API
  6834  	// requests with the JSON null value. By default, fields with empty values are
  6835  	// omitted from API requests. See
  6836  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6837  	NullFields []string `json:"-"`
  6838  }
  6839  
  6840  func (s *GoogleCloudDialogflowCxV3SafetySettingsPhrase) MarshalJSON() ([]byte, error) {
  6841  	type NoMethod GoogleCloudDialogflowCxV3SafetySettingsPhrase
  6842  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6843  }
  6844  
  6845  // GoogleCloudDialogflowCxV3SearchConfig: Search configuration for UCS search
  6846  // queries.
  6847  type GoogleCloudDialogflowCxV3SearchConfig struct {
  6848  	// BoostSpecs: Optional. Boosting configuration for the datastores.
  6849  	BoostSpecs []*GoogleCloudDialogflowCxV3BoostSpecs `json:"boostSpecs,omitempty"`
  6850  	// FilterSpecs: Optional. Filter configuration for the datastores.
  6851  	FilterSpecs []*GoogleCloudDialogflowCxV3FilterSpecs `json:"filterSpecs,omitempty"`
  6852  	// ForceSendFields is a list of field names (e.g. "BoostSpecs") to
  6853  	// unconditionally include in API requests. By default, fields with empty or
  6854  	// default values are omitted from API requests. See
  6855  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6856  	// details.
  6857  	ForceSendFields []string `json:"-"`
  6858  	// NullFields is a list of field names (e.g. "BoostSpecs") to include in API
  6859  	// requests with the JSON null value. By default, fields with empty values are
  6860  	// omitted from API requests. See
  6861  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6862  	NullFields []string `json:"-"`
  6863  }
  6864  
  6865  func (s *GoogleCloudDialogflowCxV3SearchConfig) MarshalJSON() ([]byte, error) {
  6866  	type NoMethod GoogleCloudDialogflowCxV3SearchConfig
  6867  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6868  }
  6869  
  6870  // GoogleCloudDialogflowCxV3SecuritySettings: Represents the settings related
  6871  // to security issues, such as data redaction and data retention. It may take
  6872  // hours for updates on the settings to propagate to all the related components
  6873  // and take effect.
  6874  type GoogleCloudDialogflowCxV3SecuritySettings struct {
  6875  	// AudioExportSettings: Controls audio export settings for post-conversation
  6876  	// analytics when ingesting audio to conversations via
  6877  	// Participants.AnalyzeContent or Participants.StreamingAnalyzeContent. If
  6878  	// retention_strategy is set to REMOVE_AFTER_CONVERSATION or
  6879  	// audio_export_settings.gcs_bucket is empty, audio export is disabled. If
  6880  	// audio export is enabled, audio is recorded and saved to
  6881  	// audio_export_settings.gcs_bucket, subject to retention policy of
  6882  	// audio_export_settings.gcs_bucket. This setting won't effect audio input for
  6883  	// implicit sessions via Sessions.DetectIntent or
  6884  	// Sessions.StreamingDetectIntent.
  6885  	AudioExportSettings *GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings `json:"audioExportSettings,omitempty"`
  6886  	// DeidentifyTemplate: DLP (https://cloud.google.com/dlp/docs) deidentify
  6887  	// template name. Use this template to define de-identification configuration
  6888  	// for the content. The `DLP De-identify Templates Reader` role is needed on
  6889  	// the Dialogflow service identity service account (has the form
  6890  	// `service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com`) for your
  6891  	// agent's project. If empty, Dialogflow replaces sensitive info with
  6892  	// `[redacted]` text. The template name will have one of the following formats:
  6893  	// `projects//locations//deidentifyTemplates/` OR
  6894  	// `organizations//locations//deidentifyTemplates/` Note: `deidentify_template`
  6895  	// must be located in the same region as the `SecuritySettings`.
  6896  	DeidentifyTemplate string `json:"deidentifyTemplate,omitempty"`
  6897  	// DisplayName: Required. The human-readable name of the security settings,
  6898  	// unique within the location.
  6899  	DisplayName string `json:"displayName,omitempty"`
  6900  	// InsightsExportSettings: Controls conversation exporting settings to Insights
  6901  	// after conversation is completed. If retention_strategy is set to
  6902  	// REMOVE_AFTER_CONVERSATION, Insights export is disabled no matter what you
  6903  	// configure here.
  6904  	InsightsExportSettings *GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings `json:"insightsExportSettings,omitempty"`
  6905  	// InspectTemplate: DLP (https://cloud.google.com/dlp/docs) inspect template
  6906  	// name. Use this template to define inspect base settings. The `DLP Inspect
  6907  	// Templates Reader` role is needed on the Dialogflow service identity service
  6908  	// account (has the form
  6909  	// `service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com`) for your
  6910  	// agent's project. If empty, we use the default DLP inspect config. The
  6911  	// template name will have one of the following formats:
  6912  	// `projects//locations//inspectTemplates/` OR
  6913  	// `organizations//locations//inspectTemplates/` Note: `inspect_template` must
  6914  	// be located in the same region as the `SecuritySettings`.
  6915  	InspectTemplate string `json:"inspectTemplate,omitempty"`
  6916  	// Name: Resource name of the settings. Required for the
  6917  	// SecuritySettingsService.UpdateSecuritySettings method.
  6918  	// SecuritySettingsService.CreateSecuritySettings populates the name
  6919  	// automatically. Format: `projects//locations//securitySettings/`.
  6920  	Name string `json:"name,omitempty"`
  6921  	// PurgeDataTypes: List of types of data to remove when retention settings
  6922  	// triggers purge.
  6923  	//
  6924  	// Possible values:
  6925  	//   "PURGE_DATA_TYPE_UNSPECIFIED" - Unspecified. Do not use.
  6926  	//   "DIALOGFLOW_HISTORY" - Dialogflow history. This does not include Cloud
  6927  	// logging, which is owned by the user - not Dialogflow.
  6928  	PurgeDataTypes []string `json:"purgeDataTypes,omitempty"`
  6929  	// RedactionScope: Defines the data for which Dialogflow applies redaction.
  6930  	// Dialogflow does not redact data that it does not have access to – for
  6931  	// example, Cloud logging.
  6932  	//
  6933  	// Possible values:
  6934  	//   "REDACTION_SCOPE_UNSPECIFIED" - Don't redact any kind of data.
  6935  	//   "REDACT_DISK_STORAGE" - On data to be written to disk or similar devices
  6936  	// that are capable of holding data even if power is disconnected. This
  6937  	// includes data that are temporarily saved on disk.
  6938  	RedactionScope string `json:"redactionScope,omitempty"`
  6939  	// RedactionStrategy: Strategy that defines how we do redaction.
  6940  	//
  6941  	// Possible values:
  6942  	//   "REDACTION_STRATEGY_UNSPECIFIED" - Do not redact.
  6943  	//   "REDACT_WITH_SERVICE" - Call redaction service to clean up the data to be
  6944  	// persisted.
  6945  	RedactionStrategy string `json:"redactionStrategy,omitempty"`
  6946  	// RetentionStrategy: Specifies the retention behavior defined by
  6947  	// SecuritySettings.RetentionStrategy.
  6948  	//
  6949  	// Possible values:
  6950  	//   "RETENTION_STRATEGY_UNSPECIFIED" - Retains the persisted data with
  6951  	// Dialogflow's internal default 365d TTLs.
  6952  	//   "REMOVE_AFTER_CONVERSATION" - Removes data when the conversation ends. If
  6953  	// there is no Conversation explicitly established, a default conversation ends
  6954  	// when the corresponding Dialogflow session ends.
  6955  	RetentionStrategy string `json:"retentionStrategy,omitempty"`
  6956  	// RetentionWindowDays: Retains the data for the specified number of days. User
  6957  	// must set a value lower than Dialogflow's default 365d TTL (30 days for Agent
  6958  	// Assist traffic), higher value will be ignored and use default. Setting a
  6959  	// value higher than that has no effect. A missing value or setting to 0 also
  6960  	// means we use default TTL. When data retention configuration is changed, it
  6961  	// only applies to the data created after the change; the TTL of existing data
  6962  	// created before the change stays intact.
  6963  	RetentionWindowDays int64 `json:"retentionWindowDays,omitempty"`
  6964  
  6965  	// ServerResponse contains the HTTP response code and headers from the server.
  6966  	googleapi.ServerResponse `json:"-"`
  6967  	// ForceSendFields is a list of field names (e.g. "AudioExportSettings") to
  6968  	// unconditionally include in API requests. By default, fields with empty or
  6969  	// default values are omitted from API requests. See
  6970  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  6971  	// details.
  6972  	ForceSendFields []string `json:"-"`
  6973  	// NullFields is a list of field names (e.g. "AudioExportSettings") to include
  6974  	// in API requests with the JSON null value. By default, fields with empty
  6975  	// values are omitted from API requests. See
  6976  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  6977  	NullFields []string `json:"-"`
  6978  }
  6979  
  6980  func (s *GoogleCloudDialogflowCxV3SecuritySettings) MarshalJSON() ([]byte, error) {
  6981  	type NoMethod GoogleCloudDialogflowCxV3SecuritySettings
  6982  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  6983  }
  6984  
  6985  // GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings: Settings for
  6986  // exporting audio.
  6987  type GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings struct {
  6988  	// AudioExportPattern: Filename pattern for exported audio.
  6989  	AudioExportPattern string `json:"audioExportPattern,omitempty"`
  6990  	// AudioFormat: File format for exported audio file. Currently only in
  6991  	// telephony recordings.
  6992  	//
  6993  	// Possible values:
  6994  	//   "AUDIO_FORMAT_UNSPECIFIED" - Unspecified. Do not use.
  6995  	//   "MULAW" - G.711 mu-law PCM with 8kHz sample rate.
  6996  	//   "MP3" - MP3 file format.
  6997  	//   "OGG" - OGG Vorbis.
  6998  	AudioFormat string `json:"audioFormat,omitempty"`
  6999  	// EnableAudioRedaction: Enable audio redaction if it is true. Note that this
  7000  	// only redacts end-user audio data; Synthesised audio from the virtual agent
  7001  	// is not redacted.
  7002  	EnableAudioRedaction bool `json:"enableAudioRedaction,omitempty"`
  7003  	// GcsBucket: Cloud Storage bucket to export audio record to. Setting this
  7004  	// field would grant the Storage Object Creator role to the Dialogflow Service
  7005  	// Agent. API caller that tries to modify this field should have the permission
  7006  	// of storage.buckets.setIamPolicy.
  7007  	GcsBucket string `json:"gcsBucket,omitempty"`
  7008  	// StoreTtsAudio: Whether to store TTS audio. By default, TTS audio from the
  7009  	// virtual agent is not exported.
  7010  	StoreTtsAudio bool `json:"storeTtsAudio,omitempty"`
  7011  	// ForceSendFields is a list of field names (e.g. "AudioExportPattern") to
  7012  	// unconditionally include in API requests. By default, fields with empty or
  7013  	// default values are omitted from API requests. See
  7014  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7015  	// details.
  7016  	ForceSendFields []string `json:"-"`
  7017  	// NullFields is a list of field names (e.g. "AudioExportPattern") to include
  7018  	// in API requests with the JSON null value. By default, fields with empty
  7019  	// values are omitted from API requests. See
  7020  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7021  	NullFields []string `json:"-"`
  7022  }
  7023  
  7024  func (s *GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings) MarshalJSON() ([]byte, error) {
  7025  	type NoMethod GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings
  7026  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7027  }
  7028  
  7029  // GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings: Settings
  7030  // for exporting conversations to Insights
  7031  // (https://cloud.google.com/contact-center/insights/docs).
  7032  type GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings struct {
  7033  	// EnableInsightsExport: If enabled, we will automatically exports
  7034  	// conversations to Insights and Insights runs its analyzers.
  7035  	EnableInsightsExport bool `json:"enableInsightsExport,omitempty"`
  7036  	// ForceSendFields is a list of field names (e.g. "EnableInsightsExport") to
  7037  	// unconditionally include in API requests. By default, fields with empty or
  7038  	// default values are omitted from API requests. See
  7039  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7040  	// details.
  7041  	ForceSendFields []string `json:"-"`
  7042  	// NullFields is a list of field names (e.g. "EnableInsightsExport") to include
  7043  	// in API requests with the JSON null value. By default, fields with empty
  7044  	// values are omitted from API requests. See
  7045  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7046  	NullFields []string `json:"-"`
  7047  }
  7048  
  7049  func (s *GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings) MarshalJSON() ([]byte, error) {
  7050  	type NoMethod GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings
  7051  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7052  }
  7053  
  7054  // GoogleCloudDialogflowCxV3SentimentAnalysisResult: The result of sentiment
  7055  // analysis. Sentiment analysis inspects user input and identifies the
  7056  // prevailing subjective opinion, especially to determine a user's attitude as
  7057  // positive, negative, or neutral.
  7058  type GoogleCloudDialogflowCxV3SentimentAnalysisResult struct {
  7059  	// Magnitude: A non-negative number in the [0, +inf) range, which represents
  7060  	// the absolute magnitude of sentiment, regardless of score (positive or
  7061  	// negative).
  7062  	Magnitude float64 `json:"magnitude,omitempty"`
  7063  	// Score: Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
  7064  	// sentiment).
  7065  	Score float64 `json:"score,omitempty"`
  7066  	// ForceSendFields is a list of field names (e.g. "Magnitude") to
  7067  	// unconditionally include in API requests. By default, fields with empty or
  7068  	// default values are omitted from API requests. See
  7069  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7070  	// details.
  7071  	ForceSendFields []string `json:"-"`
  7072  	// NullFields is a list of field names (e.g. "Magnitude") to include in API
  7073  	// requests with the JSON null value. By default, fields with empty values are
  7074  	// omitted from API requests. See
  7075  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7076  	NullFields []string `json:"-"`
  7077  }
  7078  
  7079  func (s *GoogleCloudDialogflowCxV3SentimentAnalysisResult) MarshalJSON() ([]byte, error) {
  7080  	type NoMethod GoogleCloudDialogflowCxV3SentimentAnalysisResult
  7081  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7082  }
  7083  
  7084  func (s *GoogleCloudDialogflowCxV3SentimentAnalysisResult) UnmarshalJSON(data []byte) error {
  7085  	type NoMethod GoogleCloudDialogflowCxV3SentimentAnalysisResult
  7086  	var s1 struct {
  7087  		Magnitude gensupport.JSONFloat64 `json:"magnitude"`
  7088  		Score     gensupport.JSONFloat64 `json:"score"`
  7089  		*NoMethod
  7090  	}
  7091  	s1.NoMethod = (*NoMethod)(s)
  7092  	if err := json.Unmarshal(data, &s1); err != nil {
  7093  		return err
  7094  	}
  7095  	s.Magnitude = float64(s1.Magnitude)
  7096  	s.Score = float64(s1.Score)
  7097  	return nil
  7098  }
  7099  
  7100  // GoogleCloudDialogflowCxV3SessionEntityType: Session entity types are
  7101  // referred to as **User** entity types and are entities that are built for an
  7102  // individual user such as favorites, preferences, playlists, and so on. You
  7103  // can redefine a session entity type at the session level to extend or replace
  7104  // a custom entity type at the user session level (we refer to the entity types
  7105  // defined at the agent level as "custom entity types"). Note: session entity
  7106  // types apply to all queries, regardless of the language. For more information
  7107  // about entity types, see the Dialogflow documentation
  7108  // (https://cloud.google.com/dialogflow/docs/entities-overview).
  7109  type GoogleCloudDialogflowCxV3SessionEntityType struct {
  7110  	// Entities: Required. The collection of entities to override or supplement the
  7111  	// custom entity type.
  7112  	Entities []*GoogleCloudDialogflowCxV3EntityTypeEntity `json:"entities,omitempty"`
  7113  	// EntityOverrideMode: Required. Indicates whether the additional data should
  7114  	// override or supplement the custom entity type definition.
  7115  	//
  7116  	// Possible values:
  7117  	//   "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value should be
  7118  	// never used.
  7119  	//   "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session entities
  7120  	// overrides the collection of entities in the corresponding custom entity
  7121  	// type.
  7122  	//   "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session entities
  7123  	// extends the collection of entities in the corresponding custom entity type.
  7124  	// Note: Even in this override mode calls to `ListSessionEntityTypes`,
  7125  	// `GetSessionEntityType`, `CreateSessionEntityType` and
  7126  	// `UpdateSessionEntityType` only return the additional entities added in this
  7127  	// session entity type. If you want to get the supplemented list, please call
  7128  	// EntityTypes.GetEntityType on the custom entity type and merge.
  7129  	EntityOverrideMode string `json:"entityOverrideMode,omitempty"`
  7130  	// Name: Required. The unique identifier of the session entity type. Format:
  7131  	// `projects//locations//agents//sessions//entityTypes/` or
  7132  	// `projects//locations//agents//environments//sessions//entityTypes/`. If
  7133  	// `Environment ID` is not specified, we assume default 'draft' environment.
  7134  	Name string `json:"name,omitempty"`
  7135  
  7136  	// ServerResponse contains the HTTP response code and headers from the server.
  7137  	googleapi.ServerResponse `json:"-"`
  7138  	// ForceSendFields is a list of field names (e.g. "Entities") to
  7139  	// unconditionally include in API requests. By default, fields with empty or
  7140  	// default values are omitted from API requests. See
  7141  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7142  	// details.
  7143  	ForceSendFields []string `json:"-"`
  7144  	// NullFields is a list of field names (e.g. "Entities") to include in API
  7145  	// requests with the JSON null value. By default, fields with empty values are
  7146  	// omitted from API requests. See
  7147  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7148  	NullFields []string `json:"-"`
  7149  }
  7150  
  7151  func (s *GoogleCloudDialogflowCxV3SessionEntityType) MarshalJSON() ([]byte, error) {
  7152  	type NoMethod GoogleCloudDialogflowCxV3SessionEntityType
  7153  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7154  }
  7155  
  7156  // GoogleCloudDialogflowCxV3SessionInfo: Represents session information
  7157  // communicated to and from the webhook.
  7158  type GoogleCloudDialogflowCxV3SessionInfo struct {
  7159  	// Parameters: Optional for WebhookRequest. Optional for WebhookResponse. All
  7160  	// parameters collected from forms and intents during the session. Parameters
  7161  	// can be created, updated, or removed by the webhook. To remove a parameter
  7162  	// from the session, the webhook should explicitly set the parameter value to
  7163  	// null in WebhookResponse. The map is keyed by parameters' display names.
  7164  	Parameters googleapi.RawMessage `json:"parameters,omitempty"`
  7165  	// Session: Always present for WebhookRequest. Ignored for WebhookResponse. The
  7166  	// unique identifier of the session. This field can be used by the webhook to
  7167  	// identify a session. Format: `projects//locations//agents//sessions/` or
  7168  	// `projects//locations//agents//environments//sessions/` if environment is
  7169  	// specified.
  7170  	Session string `json:"session,omitempty"`
  7171  	// ForceSendFields is a list of field names (e.g. "Parameters") to
  7172  	// unconditionally include in API requests. By default, fields with empty or
  7173  	// default values are omitted from API requests. See
  7174  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7175  	// details.
  7176  	ForceSendFields []string `json:"-"`
  7177  	// NullFields is a list of field names (e.g. "Parameters") to include in API
  7178  	// requests with the JSON null value. By default, fields with empty values are
  7179  	// omitted from API requests. See
  7180  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7181  	NullFields []string `json:"-"`
  7182  }
  7183  
  7184  func (s *GoogleCloudDialogflowCxV3SessionInfo) MarshalJSON() ([]byte, error) {
  7185  	type NoMethod GoogleCloudDialogflowCxV3SessionInfo
  7186  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7187  }
  7188  
  7189  // GoogleCloudDialogflowCxV3SpeechToTextSettings: Settings related to speech
  7190  // recognition.
  7191  type GoogleCloudDialogflowCxV3SpeechToTextSettings struct {
  7192  	// EnableSpeechAdaptation: Whether to use speech adaptation for speech
  7193  	// recognition.
  7194  	EnableSpeechAdaptation bool `json:"enableSpeechAdaptation,omitempty"`
  7195  	// ForceSendFields is a list of field names (e.g. "EnableSpeechAdaptation") to
  7196  	// unconditionally include in API requests. By default, fields with empty or
  7197  	// default values are omitted from API requests. See
  7198  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7199  	// details.
  7200  	ForceSendFields []string `json:"-"`
  7201  	// NullFields is a list of field names (e.g. "EnableSpeechAdaptation") to
  7202  	// include in API requests with the JSON null value. By default, fields with
  7203  	// empty values are omitted from API requests. See
  7204  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7205  	NullFields []string `json:"-"`
  7206  }
  7207  
  7208  func (s *GoogleCloudDialogflowCxV3SpeechToTextSettings) MarshalJSON() ([]byte, error) {
  7209  	type NoMethod GoogleCloudDialogflowCxV3SpeechToTextSettings
  7210  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7211  }
  7212  
  7213  // GoogleCloudDialogflowCxV3StartExperimentRequest: The request message for
  7214  // Experiments.StartExperiment.
  7215  type GoogleCloudDialogflowCxV3StartExperimentRequest struct {
  7216  }
  7217  
  7218  // GoogleCloudDialogflowCxV3StopExperimentRequest: The request message for
  7219  // Experiments.StopExperiment.
  7220  type GoogleCloudDialogflowCxV3StopExperimentRequest struct {
  7221  }
  7222  
  7223  // GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest: The request to set the
  7224  // feedback for a bot answer.
  7225  type GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest struct {
  7226  	// AnswerFeedback: Required. Feedback provided for a bot answer.
  7227  	AnswerFeedback *GoogleCloudDialogflowCxV3AnswerFeedback `json:"answerFeedback,omitempty"`
  7228  	// ResponseId: Required. ID of the response to update its feedback. This is the
  7229  	// same as DetectIntentResponse.response_id.
  7230  	ResponseId string `json:"responseId,omitempty"`
  7231  	// UpdateMask: Optional. The mask to control which fields to update. If the
  7232  	// mask is not present, all fields will be updated.
  7233  	UpdateMask string `json:"updateMask,omitempty"`
  7234  	// ForceSendFields is a list of field names (e.g. "AnswerFeedback") to
  7235  	// unconditionally include in API requests. By default, fields with empty or
  7236  	// default values are omitted from API requests. See
  7237  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7238  	// details.
  7239  	ForceSendFields []string `json:"-"`
  7240  	// NullFields is a list of field names (e.g. "AnswerFeedback") to include in
  7241  	// API requests with the JSON null value. By default, fields with empty values
  7242  	// are omitted from API requests. See
  7243  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7244  	NullFields []string `json:"-"`
  7245  }
  7246  
  7247  func (s *GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest) MarshalJSON() ([]byte, error) {
  7248  	type NoMethod GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest
  7249  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7250  }
  7251  
  7252  // GoogleCloudDialogflowCxV3SynthesizeSpeechConfig: Configuration of how speech
  7253  // should be synthesized.
  7254  type GoogleCloudDialogflowCxV3SynthesizeSpeechConfig struct {
  7255  	// EffectsProfileId: Optional. An identifier which selects 'audio effects'
  7256  	// profiles that are applied on (post synthesized) text to speech. Effects are
  7257  	// applied on top of each other in the order they are given.
  7258  	EffectsProfileId []string `json:"effectsProfileId,omitempty"`
  7259  	// Pitch: Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means
  7260  	// increase 20 semitones from the original pitch. -20 means decrease 20
  7261  	// semitones from the original pitch.
  7262  	Pitch float64 `json:"pitch,omitempty"`
  7263  	// SpeakingRate: Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0
  7264  	// is the normal native speed supported by the specific voice. 2.0 is twice as
  7265  	// fast, and 0.5 is half as fast. If unset(0.0), defaults to the native 1.0
  7266  	// speed. Any other values < 0.25 or > 4.0 will return an error.
  7267  	SpeakingRate float64 `json:"speakingRate,omitempty"`
  7268  	// Voice: Optional. The desired voice of the synthesized audio.
  7269  	Voice *GoogleCloudDialogflowCxV3VoiceSelectionParams `json:"voice,omitempty"`
  7270  	// VolumeGainDb: Optional. Volume gain (in dB) of the normal native volume
  7271  	// supported by the specific voice, in the range [-96.0, 16.0]. If unset, or
  7272  	// set to a value of 0.0 (dB), will play at normal native signal amplitude. A
  7273  	// value of -6.0 (dB) will play at approximately half the amplitude of the
  7274  	// normal native signal amplitude. A value of +6.0 (dB) will play at
  7275  	// approximately twice the amplitude of the normal native signal amplitude. We
  7276  	// strongly recommend not to exceed +10 (dB) as there's usually no effective
  7277  	// increase in loudness for any value greater than that.
  7278  	VolumeGainDb float64 `json:"volumeGainDb,omitempty"`
  7279  	// ForceSendFields is a list of field names (e.g. "EffectsProfileId") to
  7280  	// unconditionally include in API requests. By default, fields with empty or
  7281  	// default values are omitted from API requests. See
  7282  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7283  	// details.
  7284  	ForceSendFields []string `json:"-"`
  7285  	// NullFields is a list of field names (e.g. "EffectsProfileId") to include in
  7286  	// API requests with the JSON null value. By default, fields with empty values
  7287  	// are omitted from API requests. See
  7288  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7289  	NullFields []string `json:"-"`
  7290  }
  7291  
  7292  func (s *GoogleCloudDialogflowCxV3SynthesizeSpeechConfig) MarshalJSON() ([]byte, error) {
  7293  	type NoMethod GoogleCloudDialogflowCxV3SynthesizeSpeechConfig
  7294  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7295  }
  7296  
  7297  func (s *GoogleCloudDialogflowCxV3SynthesizeSpeechConfig) UnmarshalJSON(data []byte) error {
  7298  	type NoMethod GoogleCloudDialogflowCxV3SynthesizeSpeechConfig
  7299  	var s1 struct {
  7300  		Pitch        gensupport.JSONFloat64 `json:"pitch"`
  7301  		SpeakingRate gensupport.JSONFloat64 `json:"speakingRate"`
  7302  		VolumeGainDb gensupport.JSONFloat64 `json:"volumeGainDb"`
  7303  		*NoMethod
  7304  	}
  7305  	s1.NoMethod = (*NoMethod)(s)
  7306  	if err := json.Unmarshal(data, &s1); err != nil {
  7307  		return err
  7308  	}
  7309  	s.Pitch = float64(s1.Pitch)
  7310  	s.SpeakingRate = float64(s1.SpeakingRate)
  7311  	s.VolumeGainDb = float64(s1.VolumeGainDb)
  7312  	return nil
  7313  }
  7314  
  7315  // GoogleCloudDialogflowCxV3TestCase: Represents a test case.
  7316  type GoogleCloudDialogflowCxV3TestCase struct {
  7317  	// CreationTime: Output only. When the test was created.
  7318  	CreationTime string `json:"creationTime,omitempty"`
  7319  	// DisplayName: Required. The human-readable name of the test case, unique
  7320  	// within the agent. Limit of 200 characters.
  7321  	DisplayName string `json:"displayName,omitempty"`
  7322  	// LastTestResult: The latest test result.
  7323  	LastTestResult *GoogleCloudDialogflowCxV3TestCaseResult `json:"lastTestResult,omitempty"`
  7324  	// Name: The unique identifier of the test case. TestCases.CreateTestCase will
  7325  	// populate the name automatically. Otherwise use format:
  7326  	// `projects//locations//agents/ /testCases/`.
  7327  	Name string `json:"name,omitempty"`
  7328  	// Notes: Additional freeform notes about the test case. Limit of 400
  7329  	// characters.
  7330  	Notes string `json:"notes,omitempty"`
  7331  	// Tags: Tags are short descriptions that users may apply to test cases for
  7332  	// organizational and filtering purposes. Each tag should start with "#" and
  7333  	// has a limit of 30 characters.
  7334  	Tags []string `json:"tags,omitempty"`
  7335  	// TestCaseConversationTurns: The conversation turns uttered when the test case
  7336  	// was created, in chronological order. These include the canonical set of
  7337  	// agent utterances that should occur when the agent is working properly.
  7338  	TestCaseConversationTurns []*GoogleCloudDialogflowCxV3ConversationTurn `json:"testCaseConversationTurns,omitempty"`
  7339  	// TestConfig: Config for the test case.
  7340  	TestConfig *GoogleCloudDialogflowCxV3TestConfig `json:"testConfig,omitempty"`
  7341  
  7342  	// ServerResponse contains the HTTP response code and headers from the server.
  7343  	googleapi.ServerResponse `json:"-"`
  7344  	// ForceSendFields is a list of field names (e.g. "CreationTime") to
  7345  	// unconditionally include in API requests. By default, fields with empty or
  7346  	// default values are omitted from API requests. See
  7347  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7348  	// details.
  7349  	ForceSendFields []string `json:"-"`
  7350  	// NullFields is a list of field names (e.g. "CreationTime") to include in API
  7351  	// requests with the JSON null value. By default, fields with empty values are
  7352  	// omitted from API requests. See
  7353  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7354  	NullFields []string `json:"-"`
  7355  }
  7356  
  7357  func (s *GoogleCloudDialogflowCxV3TestCase) MarshalJSON() ([]byte, error) {
  7358  	type NoMethod GoogleCloudDialogflowCxV3TestCase
  7359  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7360  }
  7361  
  7362  // GoogleCloudDialogflowCxV3TestCaseError: Error info for importing a test.
  7363  type GoogleCloudDialogflowCxV3TestCaseError struct {
  7364  	// Status: The status associated with the test case.
  7365  	Status *GoogleRpcStatus `json:"status,omitempty"`
  7366  	// TestCase: The test case.
  7367  	TestCase *GoogleCloudDialogflowCxV3TestCase `json:"testCase,omitempty"`
  7368  	// ForceSendFields is a list of field names (e.g. "Status") to unconditionally
  7369  	// include in API requests. By default, fields with empty or default values are
  7370  	// omitted from API requests. See
  7371  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7372  	// details.
  7373  	ForceSendFields []string `json:"-"`
  7374  	// NullFields is a list of field names (e.g. "Status") to include in API
  7375  	// requests with the JSON null value. By default, fields with empty values are
  7376  	// omitted from API requests. See
  7377  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7378  	NullFields []string `json:"-"`
  7379  }
  7380  
  7381  func (s *GoogleCloudDialogflowCxV3TestCaseError) MarshalJSON() ([]byte, error) {
  7382  	type NoMethod GoogleCloudDialogflowCxV3TestCaseError
  7383  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7384  }
  7385  
  7386  // GoogleCloudDialogflowCxV3TestCaseResult: Represents a result from running a
  7387  // test case in an agent environment.
  7388  type GoogleCloudDialogflowCxV3TestCaseResult struct {
  7389  	// ConversationTurns: The conversation turns uttered during the test case
  7390  	// replay in chronological order.
  7391  	ConversationTurns []*GoogleCloudDialogflowCxV3ConversationTurn `json:"conversationTurns,omitempty"`
  7392  	// Environment: Environment where the test was run. If not set, it indicates
  7393  	// the draft environment.
  7394  	Environment string `json:"environment,omitempty"`
  7395  	// Name: The resource name for the test case result. Format:
  7396  	// `projects//locations//agents//testCases/ /results/`.
  7397  	Name string `json:"name,omitempty"`
  7398  	// TestResult: Whether the test case passed in the agent environment.
  7399  	//
  7400  	// Possible values:
  7401  	//   "TEST_RESULT_UNSPECIFIED" - Not specified. Should never be used.
  7402  	//   "PASSED" - The test passed.
  7403  	//   "FAILED" - The test did not pass.
  7404  	TestResult string `json:"testResult,omitempty"`
  7405  	// TestTime: The time that the test was run.
  7406  	TestTime string `json:"testTime,omitempty"`
  7407  
  7408  	// ServerResponse contains the HTTP response code and headers from the server.
  7409  	googleapi.ServerResponse `json:"-"`
  7410  	// ForceSendFields is a list of field names (e.g. "ConversationTurns") to
  7411  	// unconditionally include in API requests. By default, fields with empty or
  7412  	// default values are omitted from API requests. See
  7413  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7414  	// details.
  7415  	ForceSendFields []string `json:"-"`
  7416  	// NullFields is a list of field names (e.g. "ConversationTurns") to include in
  7417  	// API requests with the JSON null value. By default, fields with empty values
  7418  	// are omitted from API requests. See
  7419  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7420  	NullFields []string `json:"-"`
  7421  }
  7422  
  7423  func (s *GoogleCloudDialogflowCxV3TestCaseResult) MarshalJSON() ([]byte, error) {
  7424  	type NoMethod GoogleCloudDialogflowCxV3TestCaseResult
  7425  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7426  }
  7427  
  7428  // GoogleCloudDialogflowCxV3TestConfig: Represents configurations for a test
  7429  // case.
  7430  type GoogleCloudDialogflowCxV3TestConfig struct {
  7431  	// Flow: Flow name to start the test case with. Format:
  7432  	// `projects//locations//agents//flows/`. Only one of `flow` and `page` should
  7433  	// be set to indicate the starting point of the test case. If both are set,
  7434  	// `page` takes precedence over `flow`. If neither is set, the test case will
  7435  	// start with start page on the default start flow.
  7436  	Flow string `json:"flow,omitempty"`
  7437  	// Page: The page to start the test case with. Format:
  7438  	// `projects//locations//agents//flows//pages/`. Only one of `flow` and `page`
  7439  	// should be set to indicate the starting point of the test case. If both are
  7440  	// set, `page` takes precedence over `flow`. If neither is set, the test case
  7441  	// will start with start page on the default start flow.
  7442  	Page string `json:"page,omitempty"`
  7443  	// TrackingParameters: Session parameters to be compared when calculating
  7444  	// differences.
  7445  	TrackingParameters []string `json:"trackingParameters,omitempty"`
  7446  	// ForceSendFields is a list of field names (e.g. "Flow") to unconditionally
  7447  	// include in API requests. By default, fields with empty or default values are
  7448  	// omitted from API requests. See
  7449  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7450  	// details.
  7451  	ForceSendFields []string `json:"-"`
  7452  	// NullFields is a list of field names (e.g. "Flow") to include in API requests
  7453  	// with the JSON null value. By default, fields with empty values are omitted
  7454  	// from API requests. See
  7455  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7456  	NullFields []string `json:"-"`
  7457  }
  7458  
  7459  func (s *GoogleCloudDialogflowCxV3TestConfig) MarshalJSON() ([]byte, error) {
  7460  	type NoMethod GoogleCloudDialogflowCxV3TestConfig
  7461  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7462  }
  7463  
  7464  // GoogleCloudDialogflowCxV3TestError: Error info for running a test.
  7465  type GoogleCloudDialogflowCxV3TestError struct {
  7466  	// Status: The status associated with the test.
  7467  	Status *GoogleRpcStatus `json:"status,omitempty"`
  7468  	// TestCase: The test case resource name.
  7469  	TestCase string `json:"testCase,omitempty"`
  7470  	// TestTime: The timestamp when the test was completed.
  7471  	TestTime string `json:"testTime,omitempty"`
  7472  	// ForceSendFields is a list of field names (e.g. "Status") to unconditionally
  7473  	// include in API requests. By default, fields with empty or default values are
  7474  	// omitted from API requests. See
  7475  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7476  	// details.
  7477  	ForceSendFields []string `json:"-"`
  7478  	// NullFields is a list of field names (e.g. "Status") to include in API
  7479  	// requests with the JSON null value. By default, fields with empty values are
  7480  	// omitted from API requests. See
  7481  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7482  	NullFields []string `json:"-"`
  7483  }
  7484  
  7485  func (s *GoogleCloudDialogflowCxV3TestError) MarshalJSON() ([]byte, error) {
  7486  	type NoMethod GoogleCloudDialogflowCxV3TestError
  7487  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7488  }
  7489  
  7490  // GoogleCloudDialogflowCxV3TestRunDifference: The description of differences
  7491  // between original and replayed agent output.
  7492  type GoogleCloudDialogflowCxV3TestRunDifference struct {
  7493  	// Description: A human readable description of the diff, showing the actual
  7494  	// output vs expected output.
  7495  	Description string `json:"description,omitempty"`
  7496  	// Type: The type of diff.
  7497  	//
  7498  	// Possible values:
  7499  	//   "DIFF_TYPE_UNSPECIFIED" - Should never be used.
  7500  	//   "INTENT" - The intent.
  7501  	//   "PAGE" - The page.
  7502  	//   "PARAMETERS" - The parameters.
  7503  	//   "UTTERANCE" - The message utterance.
  7504  	//   "FLOW" - The flow.
  7505  	Type string `json:"type,omitempty"`
  7506  	// ForceSendFields is a list of field names (e.g. "Description") to
  7507  	// unconditionally include in API requests. By default, fields with empty or
  7508  	// default values are omitted from API requests. See
  7509  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7510  	// details.
  7511  	ForceSendFields []string `json:"-"`
  7512  	// NullFields is a list of field names (e.g. "Description") to include in API
  7513  	// requests with the JSON null value. By default, fields with empty values are
  7514  	// omitted from API requests. See
  7515  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7516  	NullFields []string `json:"-"`
  7517  }
  7518  
  7519  func (s *GoogleCloudDialogflowCxV3TestRunDifference) MarshalJSON() ([]byte, error) {
  7520  	type NoMethod GoogleCloudDialogflowCxV3TestRunDifference
  7521  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7522  }
  7523  
  7524  // GoogleCloudDialogflowCxV3TextInput: Represents the natural language text to
  7525  // be processed.
  7526  type GoogleCloudDialogflowCxV3TextInput struct {
  7527  	// Text: Required. The UTF-8 encoded natural language text to be processed.
  7528  	Text string `json:"text,omitempty"`
  7529  	// ForceSendFields is a list of field names (e.g. "Text") to unconditionally
  7530  	// include in API requests. By default, fields with empty or default values are
  7531  	// omitted from API requests. See
  7532  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7533  	// details.
  7534  	ForceSendFields []string `json:"-"`
  7535  	// NullFields is a list of field names (e.g. "Text") to include in API requests
  7536  	// with the JSON null value. By default, fields with empty values are omitted
  7537  	// from API requests. See
  7538  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7539  	NullFields []string `json:"-"`
  7540  }
  7541  
  7542  func (s *GoogleCloudDialogflowCxV3TextInput) MarshalJSON() ([]byte, error) {
  7543  	type NoMethod GoogleCloudDialogflowCxV3TextInput
  7544  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7545  }
  7546  
  7547  // GoogleCloudDialogflowCxV3TextToSpeechSettings: Settings related to speech
  7548  // synthesizing.
  7549  type GoogleCloudDialogflowCxV3TextToSpeechSettings struct {
  7550  	// SynthesizeSpeechConfigs: Configuration of how speech should be synthesized,
  7551  	// mapping from language
  7552  	// (https://cloud.google.com/dialogflow/cx/docs/reference/language) to
  7553  	// SynthesizeSpeechConfig. These settings affect: - The phone gateway
  7554  	// (https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway)
  7555  	// synthesize configuration set via Agent.text_to_speech_settings. - How speech
  7556  	// is synthesized when invoking session APIs. Agent.text_to_speech_settings
  7557  	// only applies if OutputAudioConfig.synthesize_speech_config is not specified.
  7558  	SynthesizeSpeechConfigs map[string]GoogleCloudDialogflowCxV3SynthesizeSpeechConfig `json:"synthesizeSpeechConfigs,omitempty"`
  7559  	// ForceSendFields is a list of field names (e.g. "SynthesizeSpeechConfigs") to
  7560  	// unconditionally include in API requests. By default, fields with empty or
  7561  	// default values are omitted from API requests. See
  7562  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7563  	// details.
  7564  	ForceSendFields []string `json:"-"`
  7565  	// NullFields is a list of field names (e.g. "SynthesizeSpeechConfigs") to
  7566  	// include in API requests with the JSON null value. By default, fields with
  7567  	// empty values are omitted from API requests. See
  7568  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7569  	NullFields []string `json:"-"`
  7570  }
  7571  
  7572  func (s *GoogleCloudDialogflowCxV3TextToSpeechSettings) MarshalJSON() ([]byte, error) {
  7573  	type NoMethod GoogleCloudDialogflowCxV3TextToSpeechSettings
  7574  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7575  }
  7576  
  7577  // GoogleCloudDialogflowCxV3TrainFlowRequest: The request message for
  7578  // Flows.TrainFlow.
  7579  type GoogleCloudDialogflowCxV3TrainFlowRequest struct {
  7580  }
  7581  
  7582  // GoogleCloudDialogflowCxV3TransitionCoverage: Transition coverage represents
  7583  // the percentage of all possible page transitions (page-level transition
  7584  // routes and event handlers, excluding transition route groups) present within
  7585  // any of a parent's test cases.
  7586  type GoogleCloudDialogflowCxV3TransitionCoverage struct {
  7587  	// CoverageScore: The percent of transitions in the agent that are covered.
  7588  	CoverageScore float64 `json:"coverageScore,omitempty"`
  7589  	// Transitions: The list of Transitions present in the agent.
  7590  	Transitions []*GoogleCloudDialogflowCxV3TransitionCoverageTransition `json:"transitions,omitempty"`
  7591  	// ForceSendFields is a list of field names (e.g. "CoverageScore") to
  7592  	// unconditionally include in API requests. By default, fields with empty or
  7593  	// default values are omitted from API requests. See
  7594  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7595  	// details.
  7596  	ForceSendFields []string `json:"-"`
  7597  	// NullFields is a list of field names (e.g. "CoverageScore") to include in API
  7598  	// requests with the JSON null value. By default, fields with empty values are
  7599  	// omitted from API requests. See
  7600  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7601  	NullFields []string `json:"-"`
  7602  }
  7603  
  7604  func (s *GoogleCloudDialogflowCxV3TransitionCoverage) MarshalJSON() ([]byte, error) {
  7605  	type NoMethod GoogleCloudDialogflowCxV3TransitionCoverage
  7606  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7607  }
  7608  
  7609  func (s *GoogleCloudDialogflowCxV3TransitionCoverage) UnmarshalJSON(data []byte) error {
  7610  	type NoMethod GoogleCloudDialogflowCxV3TransitionCoverage
  7611  	var s1 struct {
  7612  		CoverageScore gensupport.JSONFloat64 `json:"coverageScore"`
  7613  		*NoMethod
  7614  	}
  7615  	s1.NoMethod = (*NoMethod)(s)
  7616  	if err := json.Unmarshal(data, &s1); err != nil {
  7617  		return err
  7618  	}
  7619  	s.CoverageScore = float64(s1.CoverageScore)
  7620  	return nil
  7621  }
  7622  
  7623  // GoogleCloudDialogflowCxV3TransitionCoverageTransition: A transition in a
  7624  // page.
  7625  type GoogleCloudDialogflowCxV3TransitionCoverageTransition struct {
  7626  	// Covered: Whether the transition is covered by at least one of the agent's
  7627  	// test cases.
  7628  	Covered bool `json:"covered,omitempty"`
  7629  	// EventHandler: Event handler.
  7630  	EventHandler *GoogleCloudDialogflowCxV3EventHandler `json:"eventHandler,omitempty"`
  7631  	// Index: The index of a transition in the transition list. Starting from 0.
  7632  	Index int64 `json:"index,omitempty"`
  7633  	// Source: The start node of a transition.
  7634  	Source *GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode `json:"source,omitempty"`
  7635  	// Target: The end node of a transition.
  7636  	Target *GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode `json:"target,omitempty"`
  7637  	// TransitionRoute: Intent route or condition route.
  7638  	TransitionRoute *GoogleCloudDialogflowCxV3TransitionRoute `json:"transitionRoute,omitempty"`
  7639  	// ForceSendFields is a list of field names (e.g. "Covered") to unconditionally
  7640  	// include in API requests. By default, fields with empty or default values are
  7641  	// omitted from API requests. See
  7642  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7643  	// details.
  7644  	ForceSendFields []string `json:"-"`
  7645  	// NullFields is a list of field names (e.g. "Covered") to include in API
  7646  	// requests with the JSON null value. By default, fields with empty values are
  7647  	// omitted from API requests. See
  7648  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7649  	NullFields []string `json:"-"`
  7650  }
  7651  
  7652  func (s *GoogleCloudDialogflowCxV3TransitionCoverageTransition) MarshalJSON() ([]byte, error) {
  7653  	type NoMethod GoogleCloudDialogflowCxV3TransitionCoverageTransition
  7654  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7655  }
  7656  
  7657  // GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode: The source or
  7658  // target of a transition.
  7659  type GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode struct {
  7660  	// Flow: Indicates a transition to a Flow. Only some fields such as name and
  7661  	// displayname will be set.
  7662  	Flow *GoogleCloudDialogflowCxV3Flow `json:"flow,omitempty"`
  7663  	// Page: Indicates a transition to a Page. Only some fields such as name and
  7664  	// displayname will be set.
  7665  	Page *GoogleCloudDialogflowCxV3Page `json:"page,omitempty"`
  7666  	// ForceSendFields is a list of field names (e.g. "Flow") to unconditionally
  7667  	// include in API requests. By default, fields with empty or default values are
  7668  	// omitted from API requests. See
  7669  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7670  	// details.
  7671  	ForceSendFields []string `json:"-"`
  7672  	// NullFields is a list of field names (e.g. "Flow") to include in API requests
  7673  	// with the JSON null value. By default, fields with empty values are omitted
  7674  	// from API requests. See
  7675  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7676  	NullFields []string `json:"-"`
  7677  }
  7678  
  7679  func (s *GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode) MarshalJSON() ([]byte, error) {
  7680  	type NoMethod GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode
  7681  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7682  }
  7683  
  7684  // GoogleCloudDialogflowCxV3TransitionRoute: A transition route specifies a
  7685  // intent that can be matched and/or a data condition that can be evaluated
  7686  // during a session. When a specified transition is matched, the following
  7687  // actions are taken in order: * If there is a `trigger_fulfillment` associated
  7688  // with the transition, it will be called. * If there is a `target_page`
  7689  // associated with the transition, the session will transition into the
  7690  // specified page. * If there is a `target_flow` associated with the
  7691  // transition, the session will transition into the specified flow.
  7692  type GoogleCloudDialogflowCxV3TransitionRoute struct {
  7693  	// Condition: The condition to evaluate against form parameters or session
  7694  	// parameters. See the conditions reference
  7695  	// (https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least
  7696  	// one of `intent` or `condition` must be specified. When both `intent` and
  7697  	// `condition` are specified, the transition can only happen when both are
  7698  	// fulfilled.
  7699  	Condition string `json:"condition,omitempty"`
  7700  	// Description: Optional. The description of the transition route. The maximum
  7701  	// length is 500 characters.
  7702  	Description string `json:"description,omitempty"`
  7703  	// Intent: The unique identifier of an Intent. Format:
  7704  	// `projects//locations//agents//intents/`. Indicates that the transition can
  7705  	// only happen when the given intent is matched. At least one of `intent` or
  7706  	// `condition` must be specified. When both `intent` and `condition` are
  7707  	// specified, the transition can only happen when both are fulfilled.
  7708  	Intent string `json:"intent,omitempty"`
  7709  	// Name: Output only. The unique identifier of this transition route.
  7710  	Name string `json:"name,omitempty"`
  7711  	// TargetFlow: The target flow to transition to. Format:
  7712  	// `projects//locations//agents//flows/`.
  7713  	TargetFlow string `json:"targetFlow,omitempty"`
  7714  	// TargetPage: The target page to transition to. Format:
  7715  	// `projects//locations//agents//flows//pages/`.
  7716  	TargetPage string `json:"targetPage,omitempty"`
  7717  	// TriggerFulfillment: The fulfillment to call when the condition is satisfied.
  7718  	// At least one of `trigger_fulfillment` and `target` must be specified. When
  7719  	// both are defined, `trigger_fulfillment` is executed first.
  7720  	TriggerFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"triggerFulfillment,omitempty"`
  7721  	// ForceSendFields is a list of field names (e.g. "Condition") to
  7722  	// unconditionally include in API requests. By default, fields with empty or
  7723  	// default values are omitted from API requests. See
  7724  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7725  	// details.
  7726  	ForceSendFields []string `json:"-"`
  7727  	// NullFields is a list of field names (e.g. "Condition") to include in API
  7728  	// requests with the JSON null value. By default, fields with empty values are
  7729  	// omitted from API requests. See
  7730  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7731  	NullFields []string `json:"-"`
  7732  }
  7733  
  7734  func (s *GoogleCloudDialogflowCxV3TransitionRoute) MarshalJSON() ([]byte, error) {
  7735  	type NoMethod GoogleCloudDialogflowCxV3TransitionRoute
  7736  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7737  }
  7738  
  7739  // GoogleCloudDialogflowCxV3TransitionRouteGroup: A TransitionRouteGroup
  7740  // represents a group of `TransitionRoutes` to be used by a Page.
  7741  type GoogleCloudDialogflowCxV3TransitionRouteGroup struct {
  7742  	// DisplayName: Required. The human-readable name of the transition route
  7743  	// group, unique within the flow. The display name can be no longer than 30
  7744  	// characters.
  7745  	DisplayName string `json:"displayName,omitempty"`
  7746  	// Name: The unique identifier of the transition route group.
  7747  	// TransitionRouteGroups.CreateTransitionRouteGroup populates the name
  7748  	// automatically. Format:
  7749  	// `projects//locations//agents//flows//transitionRouteGroups/` .
  7750  	Name string `json:"name,omitempty"`
  7751  	// TransitionRoutes: Transition routes associated with the
  7752  	// TransitionRouteGroup.
  7753  	TransitionRoutes []*GoogleCloudDialogflowCxV3TransitionRoute `json:"transitionRoutes,omitempty"`
  7754  
  7755  	// ServerResponse contains the HTTP response code and headers from the server.
  7756  	googleapi.ServerResponse `json:"-"`
  7757  	// ForceSendFields is a list of field names (e.g. "DisplayName") to
  7758  	// unconditionally include in API requests. By default, fields with empty or
  7759  	// default values are omitted from API requests. See
  7760  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7761  	// details.
  7762  	ForceSendFields []string `json:"-"`
  7763  	// NullFields is a list of field names (e.g. "DisplayName") to include in API
  7764  	// requests with the JSON null value. By default, fields with empty values are
  7765  	// omitted from API requests. See
  7766  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7767  	NullFields []string `json:"-"`
  7768  }
  7769  
  7770  func (s *GoogleCloudDialogflowCxV3TransitionRouteGroup) MarshalJSON() ([]byte, error) {
  7771  	type NoMethod GoogleCloudDialogflowCxV3TransitionRouteGroup
  7772  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7773  }
  7774  
  7775  // GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage: Transition route
  7776  // group coverage represents the percentage of all possible transition routes
  7777  // present within any of a parent's test cases. The results are grouped by the
  7778  // transition route group.
  7779  type GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage struct {
  7780  	// CoverageScore: The percent of transition routes in all the transition route
  7781  	// groups that are covered.
  7782  	CoverageScore float64 `json:"coverageScore,omitempty"`
  7783  	// Coverages: Transition route group coverages.
  7784  	Coverages []*GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage `json:"coverages,omitempty"`
  7785  	// ForceSendFields is a list of field names (e.g. "CoverageScore") to
  7786  	// unconditionally include in API requests. By default, fields with empty or
  7787  	// default values are omitted from API requests. See
  7788  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7789  	// details.
  7790  	ForceSendFields []string `json:"-"`
  7791  	// NullFields is a list of field names (e.g. "CoverageScore") to include in API
  7792  	// requests with the JSON null value. By default, fields with empty values are
  7793  	// omitted from API requests. See
  7794  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7795  	NullFields []string `json:"-"`
  7796  }
  7797  
  7798  func (s *GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage) MarshalJSON() ([]byte, error) {
  7799  	type NoMethod GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage
  7800  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7801  }
  7802  
  7803  func (s *GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage) UnmarshalJSON(data []byte) error {
  7804  	type NoMethod GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage
  7805  	var s1 struct {
  7806  		CoverageScore gensupport.JSONFloat64 `json:"coverageScore"`
  7807  		*NoMethod
  7808  	}
  7809  	s1.NoMethod = (*NoMethod)(s)
  7810  	if err := json.Unmarshal(data, &s1); err != nil {
  7811  		return err
  7812  	}
  7813  	s.CoverageScore = float64(s1.CoverageScore)
  7814  	return nil
  7815  }
  7816  
  7817  // GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage: Coverage
  7818  // result message for one transition route group.
  7819  type GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage struct {
  7820  	// CoverageScore: The percent of transition routes in the transition route
  7821  	// group that are covered.
  7822  	CoverageScore float64 `json:"coverageScore,omitempty"`
  7823  	// RouteGroup: Transition route group metadata. Only name and displayName will
  7824  	// be set.
  7825  	RouteGroup *GoogleCloudDialogflowCxV3TransitionRouteGroup `json:"routeGroup,omitempty"`
  7826  	// Transitions: The list of transition routes and coverage in the transition
  7827  	// route group.
  7828  	Transitions []*GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition `json:"transitions,omitempty"`
  7829  	// ForceSendFields is a list of field names (e.g. "CoverageScore") to
  7830  	// unconditionally include in API requests. By default, fields with empty or
  7831  	// default values are omitted from API requests. See
  7832  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7833  	// details.
  7834  	ForceSendFields []string `json:"-"`
  7835  	// NullFields is a list of field names (e.g. "CoverageScore") to include in API
  7836  	// requests with the JSON null value. By default, fields with empty values are
  7837  	// omitted from API requests. See
  7838  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7839  	NullFields []string `json:"-"`
  7840  }
  7841  
  7842  func (s *GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage) MarshalJSON() ([]byte, error) {
  7843  	type NoMethod GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage
  7844  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7845  }
  7846  
  7847  func (s *GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage) UnmarshalJSON(data []byte) error {
  7848  	type NoMethod GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage
  7849  	var s1 struct {
  7850  		CoverageScore gensupport.JSONFloat64 `json:"coverageScore"`
  7851  		*NoMethod
  7852  	}
  7853  	s1.NoMethod = (*NoMethod)(s)
  7854  	if err := json.Unmarshal(data, &s1); err != nil {
  7855  		return err
  7856  	}
  7857  	s.CoverageScore = float64(s1.CoverageScore)
  7858  	return nil
  7859  }
  7860  
  7861  // GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition: A
  7862  // transition coverage in a transition route group.
  7863  type GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition struct {
  7864  	// Covered: Whether the transition route is covered by at least one of the
  7865  	// agent's test cases.
  7866  	Covered bool `json:"covered,omitempty"`
  7867  	// TransitionRoute: Intent route or condition route.
  7868  	TransitionRoute *GoogleCloudDialogflowCxV3TransitionRoute `json:"transitionRoute,omitempty"`
  7869  	// ForceSendFields is a list of field names (e.g. "Covered") to unconditionally
  7870  	// include in API requests. By default, fields with empty or default values are
  7871  	// omitted from API requests. See
  7872  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7873  	// details.
  7874  	ForceSendFields []string `json:"-"`
  7875  	// NullFields is a list of field names (e.g. "Covered") to include in API
  7876  	// requests with the JSON null value. By default, fields with empty values are
  7877  	// omitted from API requests. See
  7878  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7879  	NullFields []string `json:"-"`
  7880  }
  7881  
  7882  func (s *GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition) MarshalJSON() ([]byte, error) {
  7883  	type NoMethod GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition
  7884  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7885  }
  7886  
  7887  // GoogleCloudDialogflowCxV3TurnSignals: Collection of all signals that were
  7888  // extracted for a single turn of the conversation.
  7889  type GoogleCloudDialogflowCxV3TurnSignals struct {
  7890  	// AgentEscalated: Whether agent responded with LiveAgentHandoff fulfillment.
  7891  	AgentEscalated bool `json:"agentEscalated,omitempty"`
  7892  	// DtmfUsed: Whether user was using DTMF input.
  7893  	DtmfUsed bool `json:"dtmfUsed,omitempty"`
  7894  	// FailureReasons: Failure reasons of the turn.
  7895  	//
  7896  	// Possible values:
  7897  	//   "FAILURE_REASON_UNSPECIFIED" - Failure reason is not assigned.
  7898  	//   "FAILED_INTENT" - Whether NLU failed to recognize user intent.
  7899  	//   "FAILED_WEBHOOK" - Whether webhook failed during the turn.
  7900  	FailureReasons []string `json:"failureReasons,omitempty"`
  7901  	// NoMatch: Whether NLU predicted NO_MATCH.
  7902  	NoMatch bool `json:"noMatch,omitempty"`
  7903  	// NoUserInput: Whether user provided no input.
  7904  	NoUserInput bool `json:"noUserInput,omitempty"`
  7905  	// ReachedEndPage: Whether turn resulted in End Session page.
  7906  	ReachedEndPage bool `json:"reachedEndPage,omitempty"`
  7907  	// SentimentMagnitude: Sentiment magnitude of the user utterance if sentiment
  7908  	// (https://cloud.google.com/dialogflow/cx/docs/concept/sentiment) was enabled.
  7909  	SentimentMagnitude float64 `json:"sentimentMagnitude,omitempty"`
  7910  	// SentimentScore: Sentiment score of the user utterance if sentiment
  7911  	// (https://cloud.google.com/dialogflow/cx/docs/concept/sentiment) was enabled.
  7912  	SentimentScore float64 `json:"sentimentScore,omitempty"`
  7913  	// UserEscalated: Whether user was specifically asking for a live agent.
  7914  	UserEscalated bool `json:"userEscalated,omitempty"`
  7915  	// WebhookStatuses: Human-readable statuses of the webhooks triggered during
  7916  	// this turn.
  7917  	WebhookStatuses []string `json:"webhookStatuses,omitempty"`
  7918  	// ForceSendFields is a list of field names (e.g. "AgentEscalated") to
  7919  	// unconditionally include in API requests. By default, fields with empty or
  7920  	// default values are omitted from API requests. See
  7921  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7922  	// details.
  7923  	ForceSendFields []string `json:"-"`
  7924  	// NullFields is a list of field names (e.g. "AgentEscalated") to include in
  7925  	// API requests with the JSON null value. By default, fields with empty values
  7926  	// are omitted from API requests. See
  7927  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7928  	NullFields []string `json:"-"`
  7929  }
  7930  
  7931  func (s *GoogleCloudDialogflowCxV3TurnSignals) MarshalJSON() ([]byte, error) {
  7932  	type NoMethod GoogleCloudDialogflowCxV3TurnSignals
  7933  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7934  }
  7935  
  7936  func (s *GoogleCloudDialogflowCxV3TurnSignals) UnmarshalJSON(data []byte) error {
  7937  	type NoMethod GoogleCloudDialogflowCxV3TurnSignals
  7938  	var s1 struct {
  7939  		SentimentMagnitude gensupport.JSONFloat64 `json:"sentimentMagnitude"`
  7940  		SentimentScore     gensupport.JSONFloat64 `json:"sentimentScore"`
  7941  		*NoMethod
  7942  	}
  7943  	s1.NoMethod = (*NoMethod)(s)
  7944  	if err := json.Unmarshal(data, &s1); err != nil {
  7945  		return err
  7946  	}
  7947  	s.SentimentMagnitude = float64(s1.SentimentMagnitude)
  7948  	s.SentimentScore = float64(s1.SentimentScore)
  7949  	return nil
  7950  }
  7951  
  7952  // GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata: Metadata for
  7953  // UpdateDocument operation.
  7954  type GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata struct {
  7955  	// GenericMetadata: The generic information of the operation.
  7956  	GenericMetadata *GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"`
  7957  	// ForceSendFields is a list of field names (e.g. "GenericMetadata") to
  7958  	// unconditionally include in API requests. By default, fields with empty or
  7959  	// default values are omitted from API requests. See
  7960  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7961  	// details.
  7962  	ForceSendFields []string `json:"-"`
  7963  	// NullFields is a list of field names (e.g. "GenericMetadata") to include in
  7964  	// API requests with the JSON null value. By default, fields with empty values
  7965  	// are omitted from API requests. See
  7966  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7967  	NullFields []string `json:"-"`
  7968  }
  7969  
  7970  func (s *GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error) {
  7971  	type NoMethod GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
  7972  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7973  }
  7974  
  7975  // GoogleCloudDialogflowCxV3ValidateAgentRequest: The request message for
  7976  // Agents.ValidateAgent.
  7977  type GoogleCloudDialogflowCxV3ValidateAgentRequest struct {
  7978  	// LanguageCode: If not specified, the agent's default language is used.
  7979  	LanguageCode string `json:"languageCode,omitempty"`
  7980  	// ForceSendFields is a list of field names (e.g. "LanguageCode") to
  7981  	// unconditionally include in API requests. By default, fields with empty or
  7982  	// default values are omitted from API requests. See
  7983  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  7984  	// details.
  7985  	ForceSendFields []string `json:"-"`
  7986  	// NullFields is a list of field names (e.g. "LanguageCode") to include in API
  7987  	// requests with the JSON null value. By default, fields with empty values are
  7988  	// omitted from API requests. See
  7989  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  7990  	NullFields []string `json:"-"`
  7991  }
  7992  
  7993  func (s *GoogleCloudDialogflowCxV3ValidateAgentRequest) MarshalJSON() ([]byte, error) {
  7994  	type NoMethod GoogleCloudDialogflowCxV3ValidateAgentRequest
  7995  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  7996  }
  7997  
  7998  // GoogleCloudDialogflowCxV3ValidateFlowRequest: The request message for
  7999  // Flows.ValidateFlow.
  8000  type GoogleCloudDialogflowCxV3ValidateFlowRequest struct {
  8001  	// LanguageCode: If not specified, the agent's default language is used.
  8002  	LanguageCode string `json:"languageCode,omitempty"`
  8003  	// ForceSendFields is a list of field names (e.g. "LanguageCode") to
  8004  	// unconditionally include in API requests. By default, fields with empty or
  8005  	// default values are omitted from API requests. See
  8006  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8007  	// details.
  8008  	ForceSendFields []string `json:"-"`
  8009  	// NullFields is a list of field names (e.g. "LanguageCode") to include in API
  8010  	// requests with the JSON null value. By default, fields with empty values are
  8011  	// omitted from API requests. See
  8012  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8013  	NullFields []string `json:"-"`
  8014  }
  8015  
  8016  func (s *GoogleCloudDialogflowCxV3ValidateFlowRequest) MarshalJSON() ([]byte, error) {
  8017  	type NoMethod GoogleCloudDialogflowCxV3ValidateFlowRequest
  8018  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8019  }
  8020  
  8021  // GoogleCloudDialogflowCxV3ValidationMessage: Agent/flow validation message.
  8022  type GoogleCloudDialogflowCxV3ValidationMessage struct {
  8023  	// Detail: The message detail.
  8024  	Detail string `json:"detail,omitempty"`
  8025  	// ResourceNames: The resource names of the resources where the message is
  8026  	// found.
  8027  	ResourceNames []*GoogleCloudDialogflowCxV3ResourceName `json:"resourceNames,omitempty"`
  8028  	// ResourceType: The type of the resources where the message is found.
  8029  	//
  8030  	// Possible values:
  8031  	//   "RESOURCE_TYPE_UNSPECIFIED" - Unspecified.
  8032  	//   "AGENT" - Agent.
  8033  	//   "INTENT" - Intent.
  8034  	//   "INTENT_TRAINING_PHRASE" - Intent training phrase.
  8035  	//   "INTENT_PARAMETER" - Intent parameter.
  8036  	//   "INTENTS" - Multiple intents.
  8037  	//   "INTENT_TRAINING_PHRASES" - Multiple training phrases.
  8038  	//   "ENTITY_TYPE" - Entity type.
  8039  	//   "ENTITY_TYPES" - Multiple entity types.
  8040  	//   "WEBHOOK" - Webhook.
  8041  	//   "FLOW" - Flow.
  8042  	//   "PAGE" - Page.
  8043  	//   "PAGES" - Multiple pages.
  8044  	//   "TRANSITION_ROUTE_GROUP" - Transition route group.
  8045  	//   "AGENT_TRANSITION_ROUTE_GROUP" - Agent transition route group.
  8046  	ResourceType string `json:"resourceType,omitempty"`
  8047  	// Resources: The names of the resources where the message is found.
  8048  	Resources []string `json:"resources,omitempty"`
  8049  	// Severity: Indicates the severity of the message.
  8050  	//
  8051  	// Possible values:
  8052  	//   "SEVERITY_UNSPECIFIED" - Unspecified.
  8053  	//   "INFO" - The agent doesn't follow Dialogflow best practices.
  8054  	//   "WARNING" - The agent may not behave as expected.
  8055  	//   "ERROR" - The agent may experience failures.
  8056  	Severity string `json:"severity,omitempty"`
  8057  	// ForceSendFields is a list of field names (e.g. "Detail") to unconditionally
  8058  	// include in API requests. By default, fields with empty or default values are
  8059  	// omitted from API requests. See
  8060  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8061  	// details.
  8062  	ForceSendFields []string `json:"-"`
  8063  	// NullFields is a list of field names (e.g. "Detail") to include in API
  8064  	// requests with the JSON null value. By default, fields with empty values are
  8065  	// omitted from API requests. See
  8066  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8067  	NullFields []string `json:"-"`
  8068  }
  8069  
  8070  func (s *GoogleCloudDialogflowCxV3ValidationMessage) MarshalJSON() ([]byte, error) {
  8071  	type NoMethod GoogleCloudDialogflowCxV3ValidationMessage
  8072  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8073  }
  8074  
  8075  // GoogleCloudDialogflowCxV3VariantsHistory: The history of variants update.
  8076  type GoogleCloudDialogflowCxV3VariantsHistory struct {
  8077  	// UpdateTime: Update time of the variants.
  8078  	UpdateTime string `json:"updateTime,omitempty"`
  8079  	// VersionVariants: The flow versions as the variants.
  8080  	VersionVariants *GoogleCloudDialogflowCxV3VersionVariants `json:"versionVariants,omitempty"`
  8081  	// ForceSendFields is a list of field names (e.g. "UpdateTime") to
  8082  	// unconditionally include in API requests. By default, fields with empty or
  8083  	// default values are omitted from API requests. See
  8084  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8085  	// details.
  8086  	ForceSendFields []string `json:"-"`
  8087  	// NullFields is a list of field names (e.g. "UpdateTime") to include in API
  8088  	// requests with the JSON null value. By default, fields with empty values are
  8089  	// omitted from API requests. See
  8090  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8091  	NullFields []string `json:"-"`
  8092  }
  8093  
  8094  func (s *GoogleCloudDialogflowCxV3VariantsHistory) MarshalJSON() ([]byte, error) {
  8095  	type NoMethod GoogleCloudDialogflowCxV3VariantsHistory
  8096  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8097  }
  8098  
  8099  // GoogleCloudDialogflowCxV3Version: Represents a version of a flow.
  8100  type GoogleCloudDialogflowCxV3Version struct {
  8101  	// CreateTime: Output only. Create time of the version.
  8102  	CreateTime string `json:"createTime,omitempty"`
  8103  	// Description: The description of the version. The maximum length is 500
  8104  	// characters. If exceeded, the request is rejected.
  8105  	Description string `json:"description,omitempty"`
  8106  	// DisplayName: Required. The human-readable name of the version. Limit of 64
  8107  	// characters.
  8108  	DisplayName string `json:"displayName,omitempty"`
  8109  	// Name: Format: projects//locations//agents//flows//versions/. Version ID is a
  8110  	// self-increasing number generated by Dialogflow upon version creation.
  8111  	Name string `json:"name,omitempty"`
  8112  	// NluSettings: Output only. The NLU settings of the flow at version creation.
  8113  	NluSettings *GoogleCloudDialogflowCxV3NluSettings `json:"nluSettings,omitempty"`
  8114  	// State: Output only. The state of this version. This field is read-only and
  8115  	// cannot be set by create and update methods.
  8116  	//
  8117  	// Possible values:
  8118  	//   "STATE_UNSPECIFIED" - Not specified. This value is not used.
  8119  	//   "RUNNING" - Version is not ready to serve (e.g. training is running).
  8120  	//   "SUCCEEDED" - Training has succeeded and this version is ready to serve.
  8121  	//   "FAILED" - Version training failed.
  8122  	State string `json:"state,omitempty"`
  8123  
  8124  	// ServerResponse contains the HTTP response code and headers from the server.
  8125  	googleapi.ServerResponse `json:"-"`
  8126  	// ForceSendFields is a list of field names (e.g. "CreateTime") to
  8127  	// unconditionally include in API requests. By default, fields with empty or
  8128  	// default values are omitted from API requests. See
  8129  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8130  	// details.
  8131  	ForceSendFields []string `json:"-"`
  8132  	// NullFields is a list of field names (e.g. "CreateTime") to include in API
  8133  	// requests with the JSON null value. By default, fields with empty values are
  8134  	// omitted from API requests. See
  8135  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8136  	NullFields []string `json:"-"`
  8137  }
  8138  
  8139  func (s *GoogleCloudDialogflowCxV3Version) MarshalJSON() ([]byte, error) {
  8140  	type NoMethod GoogleCloudDialogflowCxV3Version
  8141  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8142  }
  8143  
  8144  // GoogleCloudDialogflowCxV3VersionVariants: A list of flow version variants.
  8145  type GoogleCloudDialogflowCxV3VersionVariants struct {
  8146  	// Variants: A list of flow version variants.
  8147  	Variants []*GoogleCloudDialogflowCxV3VersionVariantsVariant `json:"variants,omitempty"`
  8148  	// ForceSendFields is a list of field names (e.g. "Variants") to
  8149  	// unconditionally include in API requests. By default, fields with empty or
  8150  	// default values are omitted from API requests. See
  8151  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8152  	// details.
  8153  	ForceSendFields []string `json:"-"`
  8154  	// NullFields is a list of field names (e.g. "Variants") to include in API
  8155  	// requests with the JSON null value. By default, fields with empty values are
  8156  	// omitted from API requests. See
  8157  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8158  	NullFields []string `json:"-"`
  8159  }
  8160  
  8161  func (s *GoogleCloudDialogflowCxV3VersionVariants) MarshalJSON() ([]byte, error) {
  8162  	type NoMethod GoogleCloudDialogflowCxV3VersionVariants
  8163  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8164  }
  8165  
  8166  // GoogleCloudDialogflowCxV3VersionVariantsVariant: A single flow version with
  8167  // specified traffic allocation.
  8168  type GoogleCloudDialogflowCxV3VersionVariantsVariant struct {
  8169  	// IsControlGroup: Whether the variant is for the control group.
  8170  	IsControlGroup bool `json:"isControlGroup,omitempty"`
  8171  	// TrafficAllocation: Percentage of the traffic which should be routed to this
  8172  	// version of flow. Traffic allocation for a single flow must sum up to 1.0.
  8173  	TrafficAllocation float64 `json:"trafficAllocation,omitempty"`
  8174  	// Version: The name of the flow version. Format:
  8175  	// `projects//locations//agents//flows//versions/`.
  8176  	Version string `json:"version,omitempty"`
  8177  	// ForceSendFields is a list of field names (e.g. "IsControlGroup") to
  8178  	// unconditionally include in API requests. By default, fields with empty or
  8179  	// default values are omitted from API requests. See
  8180  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8181  	// details.
  8182  	ForceSendFields []string `json:"-"`
  8183  	// NullFields is a list of field names (e.g. "IsControlGroup") to include in
  8184  	// API requests with the JSON null value. By default, fields with empty values
  8185  	// are omitted from API requests. See
  8186  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8187  	NullFields []string `json:"-"`
  8188  }
  8189  
  8190  func (s *GoogleCloudDialogflowCxV3VersionVariantsVariant) MarshalJSON() ([]byte, error) {
  8191  	type NoMethod GoogleCloudDialogflowCxV3VersionVariantsVariant
  8192  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8193  }
  8194  
  8195  func (s *GoogleCloudDialogflowCxV3VersionVariantsVariant) UnmarshalJSON(data []byte) error {
  8196  	type NoMethod GoogleCloudDialogflowCxV3VersionVariantsVariant
  8197  	var s1 struct {
  8198  		TrafficAllocation gensupport.JSONFloat64 `json:"trafficAllocation"`
  8199  		*NoMethod
  8200  	}
  8201  	s1.NoMethod = (*NoMethod)(s)
  8202  	if err := json.Unmarshal(data, &s1); err != nil {
  8203  		return err
  8204  	}
  8205  	s.TrafficAllocation = float64(s1.TrafficAllocation)
  8206  	return nil
  8207  }
  8208  
  8209  // GoogleCloudDialogflowCxV3VoiceSelectionParams: Description of which voice to
  8210  // use for speech synthesis.
  8211  type GoogleCloudDialogflowCxV3VoiceSelectionParams struct {
  8212  	// Name: Optional. The name of the voice. If not set, the service will choose a
  8213  	// voice based on the other parameters such as language_code and ssml_gender.
  8214  	// For the list of available voices, please refer to Supported voices and
  8215  	// languages (https://cloud.google.com/text-to-speech/docs/voices).
  8216  	Name string `json:"name,omitempty"`
  8217  	// SsmlGender: Optional. The preferred gender of the voice. If not set, the
  8218  	// service will choose a voice based on the other parameters such as
  8219  	// language_code and name. Note that this is only a preference, not
  8220  	// requirement. If a voice of the appropriate gender is not available, the
  8221  	// synthesizer substitutes a voice with a different gender rather than failing
  8222  	// the request.
  8223  	//
  8224  	// Possible values:
  8225  	//   "SSML_VOICE_GENDER_UNSPECIFIED" - An unspecified gender, which means that
  8226  	// the client doesn't care which gender the selected voice will have.
  8227  	//   "SSML_VOICE_GENDER_MALE" - A male voice.
  8228  	//   "SSML_VOICE_GENDER_FEMALE" - A female voice.
  8229  	//   "SSML_VOICE_GENDER_NEUTRAL" - A gender-neutral voice.
  8230  	SsmlGender string `json:"ssmlGender,omitempty"`
  8231  	// ForceSendFields is a list of field names (e.g. "Name") to unconditionally
  8232  	// include in API requests. By default, fields with empty or default values are
  8233  	// omitted from API requests. See
  8234  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8235  	// details.
  8236  	ForceSendFields []string `json:"-"`
  8237  	// NullFields is a list of field names (e.g. "Name") to include in API requests
  8238  	// with the JSON null value. By default, fields with empty values are omitted
  8239  	// from API requests. See
  8240  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8241  	NullFields []string `json:"-"`
  8242  }
  8243  
  8244  func (s *GoogleCloudDialogflowCxV3VoiceSelectionParams) MarshalJSON() ([]byte, error) {
  8245  	type NoMethod GoogleCloudDialogflowCxV3VoiceSelectionParams
  8246  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8247  }
  8248  
  8249  // GoogleCloudDialogflowCxV3Webhook: Webhooks host the developer's business
  8250  // logic. During a session, webhooks allow the developer to use the data
  8251  // extracted by Dialogflow's natural language processing to generate dynamic
  8252  // responses, validate collected data, or trigger actions on the backend.
  8253  type GoogleCloudDialogflowCxV3Webhook struct {
  8254  	// Disabled: Indicates whether the webhook is disabled.
  8255  	Disabled bool `json:"disabled,omitempty"`
  8256  	// DisplayName: Required. The human-readable name of the webhook, unique within
  8257  	// the agent.
  8258  	DisplayName string `json:"displayName,omitempty"`
  8259  	// GenericWebService: Configuration for a generic web service.
  8260  	GenericWebService *GoogleCloudDialogflowCxV3WebhookGenericWebService `json:"genericWebService,omitempty"`
  8261  	// Name: The unique identifier of the webhook. Required for the
  8262  	// Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name
  8263  	// automatically. Format: `projects//locations//agents//webhooks/`.
  8264  	Name string `json:"name,omitempty"`
  8265  	// ServiceDirectory: Configuration for a Service Directory
  8266  	// (https://cloud.google.com/service-directory) service.
  8267  	ServiceDirectory *GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig `json:"serviceDirectory,omitempty"`
  8268  	// Timeout: Webhook execution timeout. Execution is considered failed if
  8269  	// Dialogflow doesn't receive a response from webhook at the end of the timeout
  8270  	// period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
  8271  	Timeout string `json:"timeout,omitempty"`
  8272  
  8273  	// ServerResponse contains the HTTP response code and headers from the server.
  8274  	googleapi.ServerResponse `json:"-"`
  8275  	// ForceSendFields is a list of field names (e.g. "Disabled") to
  8276  	// unconditionally include in API requests. By default, fields with empty or
  8277  	// default values are omitted from API requests. See
  8278  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8279  	// details.
  8280  	ForceSendFields []string `json:"-"`
  8281  	// NullFields is a list of field names (e.g. "Disabled") to include in API
  8282  	// requests with the JSON null value. By default, fields with empty values are
  8283  	// omitted from API requests. See
  8284  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8285  	NullFields []string `json:"-"`
  8286  }
  8287  
  8288  func (s *GoogleCloudDialogflowCxV3Webhook) MarshalJSON() ([]byte, error) {
  8289  	type NoMethod GoogleCloudDialogflowCxV3Webhook
  8290  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8291  }
  8292  
  8293  // GoogleCloudDialogflowCxV3WebhookGenericWebService: Represents configuration
  8294  // for a generic web service.
  8295  type GoogleCloudDialogflowCxV3WebhookGenericWebService struct {
  8296  	// AllowedCaCerts: Optional. Specifies a list of allowed custom CA certificates
  8297  	// (in DER format) for HTTPS verification. This overrides the default SSL trust
  8298  	// store. If this is empty or unspecified, Dialogflow will use Google's default
  8299  	// trust store to verify certificates. N.B. Make sure the HTTPS server
  8300  	// certificates are signed with "subject alt name". For instance a certificate
  8301  	// can be self-signed using the following command, ``` openssl x509 -req -days
  8302  	// 200 -in example.com.csr \ -signkey example.com.key \ -out example.com.crt \
  8303  	// -extfile <(printf "\nsubjectAltName='DNS:www.example.com'") ```
  8304  	AllowedCaCerts []string `json:"allowedCaCerts,omitempty"`
  8305  	// HttpMethod: Optional. HTTP method for the flexible webhook calls. Standard
  8306  	// webhook always uses POST.
  8307  	//
  8308  	// Possible values:
  8309  	//   "HTTP_METHOD_UNSPECIFIED" - HTTP method not specified.
  8310  	//   "POST" - HTTP POST Method.
  8311  	//   "GET" - HTTP GET Method.
  8312  	//   "HEAD" - HTTP HEAD Method.
  8313  	//   "PUT" - HTTP PUT Method.
  8314  	//   "DELETE" - HTTP DELETE Method.
  8315  	//   "PATCH" - HTTP PATCH Method.
  8316  	//   "OPTIONS" - HTTP OPTIONS Method.
  8317  	HttpMethod string `json:"httpMethod,omitempty"`
  8318  	// OauthConfig: Optional. The OAuth configuration of the webhook. If specified,
  8319  	// Dialogflow will initiate the OAuth client credential flow to exchange an
  8320  	// access token from the 3rd party platform and put it in the auth header.
  8321  	OauthConfig *GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig `json:"oauthConfig,omitempty"`
  8322  	// ParameterMapping: Optional. Maps the values extracted from specific fields
  8323  	// of the flexible webhook response into session parameters. - Key: session
  8324  	// parameter name - Value: field path in the webhook response
  8325  	ParameterMapping map[string]string `json:"parameterMapping,omitempty"`
  8326  	// Password: The password for HTTP Basic authentication.
  8327  	Password string `json:"password,omitempty"`
  8328  	// RequestBody: Optional. Defines a custom JSON object as request body to send
  8329  	// to flexible webhook.
  8330  	RequestBody string `json:"requestBody,omitempty"`
  8331  	// RequestHeaders: The HTTP request headers to send together with webhook
  8332  	// requests.
  8333  	RequestHeaders map[string]string `json:"requestHeaders,omitempty"`
  8334  	// ServiceAgentAuth: Optional. Indicate the auth token type generated from the
  8335  	// Diglogflow service agent
  8336  	// (https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).
  8337  	// The generated token is sent in the Authorization header.
  8338  	//
  8339  	// Possible values:
  8340  	//   "SERVICE_AGENT_AUTH_UNSPECIFIED" - Service agent auth type unspecified.
  8341  	// Default to ID_TOKEN.
  8342  	//   "NONE" - No token used.
  8343  	//   "ID_TOKEN" - Use [ID
  8344  	// token](https://cloud.google.com/docs/authentication/token-types#id)
  8345  	// generated from service agent. This can be used to access Cloud Function and
  8346  	// Cloud Run after you grant Invoker role to
  8347  	// `service-@gcp-sa-dialogflow.iam.gserviceaccount.com`.
  8348  	//   "ACCESS_TOKEN" - Use [access
  8349  	// token](https://cloud.google.com/docs/authentication/token-types#access)
  8350  	// generated from service agent. This can be used to access other Google Cloud
  8351  	// APIs after you grant required roles to
  8352  	// `service-@gcp-sa-dialogflow.iam.gserviceaccount.com`.
  8353  	ServiceAgentAuth string `json:"serviceAgentAuth,omitempty"`
  8354  	// Uri: Required. The webhook URI for receiving POST requests. It must use
  8355  	// https protocol.
  8356  	Uri string `json:"uri,omitempty"`
  8357  	// Username: The user name for HTTP Basic authentication.
  8358  	Username string `json:"username,omitempty"`
  8359  	// WebhookType: Optional. Type of the webhook.
  8360  	//
  8361  	// Possible values:
  8362  	//   "WEBHOOK_TYPE_UNSPECIFIED" - Default value. This value is unused.
  8363  	//   "STANDARD" - Represents a standard webhook.
  8364  	//   "FLEXIBLE" - Represents a flexible webhook.
  8365  	WebhookType string `json:"webhookType,omitempty"`
  8366  	// ForceSendFields is a list of field names (e.g. "AllowedCaCerts") to
  8367  	// unconditionally include in API requests. By default, fields with empty or
  8368  	// default values are omitted from API requests. See
  8369  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8370  	// details.
  8371  	ForceSendFields []string `json:"-"`
  8372  	// NullFields is a list of field names (e.g. "AllowedCaCerts") to include in
  8373  	// API requests with the JSON null value. By default, fields with empty values
  8374  	// are omitted from API requests. See
  8375  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8376  	NullFields []string `json:"-"`
  8377  }
  8378  
  8379  func (s *GoogleCloudDialogflowCxV3WebhookGenericWebService) MarshalJSON() ([]byte, error) {
  8380  	type NoMethod GoogleCloudDialogflowCxV3WebhookGenericWebService
  8381  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8382  }
  8383  
  8384  // GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig: Represents
  8385  // configuration of OAuth client credential flow for 3rd party API
  8386  // authentication.
  8387  type GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig struct {
  8388  	// ClientId: Required. The client ID provided by the 3rd party platform.
  8389  	ClientId string `json:"clientId,omitempty"`
  8390  	// ClientSecret: Required. The client secret provided by the 3rd party
  8391  	// platform.
  8392  	ClientSecret string `json:"clientSecret,omitempty"`
  8393  	// Scopes: Optional. The OAuth scopes to grant.
  8394  	Scopes []string `json:"scopes,omitempty"`
  8395  	// TokenEndpoint: Required. The token endpoint provided by the 3rd party
  8396  	// platform to exchange an access token.
  8397  	TokenEndpoint string `json:"tokenEndpoint,omitempty"`
  8398  	// ForceSendFields is a list of field names (e.g. "ClientId") to
  8399  	// unconditionally include in API requests. By default, fields with empty or
  8400  	// default values are omitted from API requests. See
  8401  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8402  	// details.
  8403  	ForceSendFields []string `json:"-"`
  8404  	// NullFields is a list of field names (e.g. "ClientId") to include in API
  8405  	// requests with the JSON null value. By default, fields with empty values are
  8406  	// omitted from API requests. See
  8407  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8408  	NullFields []string `json:"-"`
  8409  }
  8410  
  8411  func (s *GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig) MarshalJSON() ([]byte, error) {
  8412  	type NoMethod GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
  8413  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8414  }
  8415  
  8416  // GoogleCloudDialogflowCxV3WebhookRequest: The request message for a webhook
  8417  // call. The request is sent as a JSON object and the field names will be
  8418  // presented in camel cases. You may see undocumented fields in an actual
  8419  // request. These fields are used internally by Dialogflow and should be
  8420  // ignored.
  8421  type GoogleCloudDialogflowCxV3WebhookRequest struct {
  8422  	// DetectIntentResponseId: Always present. The unique identifier of the
  8423  	// DetectIntentResponse that will be returned to the API caller.
  8424  	DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"`
  8425  	// DtmfDigits: If DTMF was provided as input, this field will contain the DTMF
  8426  	// digits.
  8427  	DtmfDigits string `json:"dtmfDigits,omitempty"`
  8428  	// FulfillmentInfo: Always present. Information about the fulfillment that
  8429  	// triggered this webhook call.
  8430  	FulfillmentInfo *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"`
  8431  	// IntentInfo: Information about the last matched intent.
  8432  	IntentInfo *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo `json:"intentInfo,omitempty"`
  8433  	// LanguageCode: The language code specified in the original request.
  8434  	LanguageCode string `json:"languageCode,omitempty"`
  8435  	// LanguageInfo: Information about the language of the request.
  8436  	LanguageInfo *GoogleCloudDialogflowCxV3LanguageInfo `json:"languageInfo,omitempty"`
  8437  	// Messages: The list of rich message responses to present to the user. Webhook
  8438  	// can choose to append or replace this list in
  8439  	// WebhookResponse.fulfillment_response;
  8440  	Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"`
  8441  	// PageInfo: Information about page status.
  8442  	PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"`
  8443  	// Payload: Custom data set in QueryParameters.payload.
  8444  	Payload googleapi.RawMessage `json:"payload,omitempty"`
  8445  	// SentimentAnalysisResult: The sentiment analysis result of the current user
  8446  	// request. The field is filled when sentiment analysis is configured to be
  8447  	// enabled for the request.
  8448  	SentimentAnalysisResult *GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"`
  8449  	// SessionInfo: Information about session status.
  8450  	SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"`
  8451  	// Text: If natural language text was provided as input, this field will
  8452  	// contain a copy of the text.
  8453  	Text string `json:"text,omitempty"`
  8454  	// Transcript: If natural language speech audio was provided as input, this
  8455  	// field will contain the transcript for the audio.
  8456  	Transcript string `json:"transcript,omitempty"`
  8457  	// TriggerEvent: If an event was provided as input, this field will contain the
  8458  	// name of the event.
  8459  	TriggerEvent string `json:"triggerEvent,omitempty"`
  8460  	// TriggerIntent: If an intent was provided as input, this field will contain a
  8461  	// copy of the intent identifier. Format:
  8462  	// `projects//locations//agents//intents/`.
  8463  	TriggerIntent string `json:"triggerIntent,omitempty"`
  8464  	// ForceSendFields is a list of field names (e.g. "DetectIntentResponseId") to
  8465  	// unconditionally include in API requests. By default, fields with empty or
  8466  	// default values are omitted from API requests. See
  8467  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8468  	// details.
  8469  	ForceSendFields []string `json:"-"`
  8470  	// NullFields is a list of field names (e.g. "DetectIntentResponseId") to
  8471  	// include in API requests with the JSON null value. By default, fields with
  8472  	// empty values are omitted from API requests. See
  8473  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8474  	NullFields []string `json:"-"`
  8475  }
  8476  
  8477  func (s *GoogleCloudDialogflowCxV3WebhookRequest) MarshalJSON() ([]byte, error) {
  8478  	type NoMethod GoogleCloudDialogflowCxV3WebhookRequest
  8479  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8480  }
  8481  
  8482  // GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo: Represents
  8483  // fulfillment information communicated to the webhook.
  8484  type GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo struct {
  8485  	// Tag: Always present. The value of the Fulfillment.tag field will be
  8486  	// populated in this field by Dialogflow when the associated webhook is called.
  8487  	// The tag is typically used by the webhook service to identify which
  8488  	// fulfillment is being called, but it could be used for other purposes.
  8489  	Tag string `json:"tag,omitempty"`
  8490  	// ForceSendFields is a list of field names (e.g. "Tag") to unconditionally
  8491  	// include in API requests. By default, fields with empty or default values are
  8492  	// omitted from API requests. See
  8493  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8494  	// details.
  8495  	ForceSendFields []string `json:"-"`
  8496  	// NullFields is a list of field names (e.g. "Tag") to include in API requests
  8497  	// with the JSON null value. By default, fields with empty values are omitted
  8498  	// from API requests. See
  8499  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8500  	NullFields []string `json:"-"`
  8501  }
  8502  
  8503  func (s *GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) {
  8504  	type NoMethod GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo
  8505  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8506  }
  8507  
  8508  // GoogleCloudDialogflowCxV3WebhookRequestIntentInfo: Represents intent
  8509  // information communicated to the webhook.
  8510  type GoogleCloudDialogflowCxV3WebhookRequestIntentInfo struct {
  8511  	// Confidence: The confidence of the matched intent. Values range from 0.0
  8512  	// (completely uncertain) to 1.0 (completely certain).
  8513  	Confidence float64 `json:"confidence,omitempty"`
  8514  	// DisplayName: Always present. The display name of the last matched intent.
  8515  	DisplayName string `json:"displayName,omitempty"`
  8516  	// LastMatchedIntent: Always present. The unique identifier of the last matched
  8517  	// intent. Format: `projects//locations//agents//intents/`.
  8518  	LastMatchedIntent string `json:"lastMatchedIntent,omitempty"`
  8519  	// Parameters: Parameters identified as a result of intent matching. This is a
  8520  	// map of the name of the identified parameter to the value of the parameter
  8521  	// identified from the user's utterance. All parameters defined in the matched
  8522  	// intent that are identified will be surfaced here.
  8523  	Parameters map[string]GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"`
  8524  	// ForceSendFields is a list of field names (e.g. "Confidence") to
  8525  	// unconditionally include in API requests. By default, fields with empty or
  8526  	// default values are omitted from API requests. See
  8527  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8528  	// details.
  8529  	ForceSendFields []string `json:"-"`
  8530  	// NullFields is a list of field names (e.g. "Confidence") to include in API
  8531  	// requests with the JSON null value. By default, fields with empty values are
  8532  	// omitted from API requests. See
  8533  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8534  	NullFields []string `json:"-"`
  8535  }
  8536  
  8537  func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) {
  8538  	type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
  8539  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8540  }
  8541  
  8542  func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfo) UnmarshalJSON(data []byte) error {
  8543  	type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfo
  8544  	var s1 struct {
  8545  		Confidence gensupport.JSONFloat64 `json:"confidence"`
  8546  		*NoMethod
  8547  	}
  8548  	s1.NoMethod = (*NoMethod)(s)
  8549  	if err := json.Unmarshal(data, &s1); err != nil {
  8550  		return err
  8551  	}
  8552  	s.Confidence = float64(s1.Confidence)
  8553  	return nil
  8554  }
  8555  
  8556  // GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue:
  8557  // Represents a value for an intent parameter.
  8558  type GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue struct {
  8559  	// OriginalValue: Always present. Original text value extracted from user
  8560  	// utterance.
  8561  	OriginalValue string `json:"originalValue,omitempty"`
  8562  	// ResolvedValue: Always present. Structured value for the parameter extracted
  8563  	// from user utterance.
  8564  	ResolvedValue interface{} `json:"resolvedValue,omitempty"`
  8565  	// ForceSendFields is a list of field names (e.g. "OriginalValue") to
  8566  	// unconditionally include in API requests. By default, fields with empty or
  8567  	// default values are omitted from API requests. See
  8568  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8569  	// details.
  8570  	ForceSendFields []string `json:"-"`
  8571  	// NullFields is a list of field names (e.g. "OriginalValue") to include in API
  8572  	// requests with the JSON null value. By default, fields with empty values are
  8573  	// omitted from API requests. See
  8574  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8575  	NullFields []string `json:"-"`
  8576  }
  8577  
  8578  func (s *GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) {
  8579  	type NoMethod GoogleCloudDialogflowCxV3WebhookRequestIntentInfoIntentParameterValue
  8580  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8581  }
  8582  
  8583  // GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult: Represents
  8584  // the result of sentiment analysis.
  8585  type GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult struct {
  8586  	// Magnitude: A non-negative number in the [0, +inf) range, which represents
  8587  	// the absolute magnitude of sentiment, regardless of score (positive or
  8588  	// negative).
  8589  	Magnitude float64 `json:"magnitude,omitempty"`
  8590  	// Score: Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
  8591  	// sentiment).
  8592  	Score float64 `json:"score,omitempty"`
  8593  	// ForceSendFields is a list of field names (e.g. "Magnitude") to
  8594  	// unconditionally include in API requests. By default, fields with empty or
  8595  	// default values are omitted from API requests. See
  8596  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8597  	// details.
  8598  	ForceSendFields []string `json:"-"`
  8599  	// NullFields is a list of field names (e.g. "Magnitude") to include in API
  8600  	// requests with the JSON null value. By default, fields with empty values are
  8601  	// omitted from API requests. See
  8602  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8603  	NullFields []string `json:"-"`
  8604  }
  8605  
  8606  func (s *GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult) MarshalJSON() ([]byte, error) {
  8607  	type NoMethod GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult
  8608  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8609  }
  8610  
  8611  func (s *GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult) UnmarshalJSON(data []byte) error {
  8612  	type NoMethod GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult
  8613  	var s1 struct {
  8614  		Magnitude gensupport.JSONFloat64 `json:"magnitude"`
  8615  		Score     gensupport.JSONFloat64 `json:"score"`
  8616  		*NoMethod
  8617  	}
  8618  	s1.NoMethod = (*NoMethod)(s)
  8619  	if err := json.Unmarshal(data, &s1); err != nil {
  8620  		return err
  8621  	}
  8622  	s.Magnitude = float64(s1.Magnitude)
  8623  	s.Score = float64(s1.Score)
  8624  	return nil
  8625  }
  8626  
  8627  // GoogleCloudDialogflowCxV3WebhookResponse: The response message for a webhook
  8628  // call.
  8629  type GoogleCloudDialogflowCxV3WebhookResponse struct {
  8630  	// FulfillmentResponse: The fulfillment response to send to the user. This
  8631  	// field can be omitted by the webhook if it does not intend to send any
  8632  	// response to the user.
  8633  	FulfillmentResponse *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"`
  8634  	// PageInfo: Information about page status. This field can be omitted by the
  8635  	// webhook if it does not intend to modify page status.
  8636  	PageInfo *GoogleCloudDialogflowCxV3PageInfo `json:"pageInfo,omitempty"`
  8637  	// Payload: Value to append directly to QueryResult.webhook_payloads.
  8638  	Payload googleapi.RawMessage `json:"payload,omitempty"`
  8639  	// SessionInfo: Information about session status. This field can be omitted by
  8640  	// the webhook if it does not intend to modify session status.
  8641  	SessionInfo *GoogleCloudDialogflowCxV3SessionInfo `json:"sessionInfo,omitempty"`
  8642  	// TargetFlow: The target flow to transition to. Format:
  8643  	// `projects//locations//agents//flows/`.
  8644  	TargetFlow string `json:"targetFlow,omitempty"`
  8645  	// TargetPage: The target page to transition to. Format:
  8646  	// `projects//locations//agents//flows//pages/`.
  8647  	TargetPage string `json:"targetPage,omitempty"`
  8648  	// ForceSendFields is a list of field names (e.g. "FulfillmentResponse") to
  8649  	// unconditionally include in API requests. By default, fields with empty or
  8650  	// default values are omitted from API requests. See
  8651  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8652  	// details.
  8653  	ForceSendFields []string `json:"-"`
  8654  	// NullFields is a list of field names (e.g. "FulfillmentResponse") to include
  8655  	// in API requests with the JSON null value. By default, fields with empty
  8656  	// values are omitted from API requests. See
  8657  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8658  	NullFields []string `json:"-"`
  8659  }
  8660  
  8661  func (s *GoogleCloudDialogflowCxV3WebhookResponse) MarshalJSON() ([]byte, error) {
  8662  	type NoMethod GoogleCloudDialogflowCxV3WebhookResponse
  8663  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8664  }
  8665  
  8666  // GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse: Represents a
  8667  // fulfillment response to the user.
  8668  type GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse struct {
  8669  	// MergeBehavior: Merge behavior for `messages`.
  8670  	//
  8671  	// Possible values:
  8672  	//   "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be used.
  8673  	//   "APPEND" - `messages` will be appended to the list of messages waiting to
  8674  	// be sent to the user.
  8675  	//   "REPLACE" - `messages` will replace the list of messages waiting to be
  8676  	// sent to the user.
  8677  	MergeBehavior string `json:"mergeBehavior,omitempty"`
  8678  	// Messages: The list of rich message responses to present to the user.
  8679  	Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"`
  8680  	// ForceSendFields is a list of field names (e.g. "MergeBehavior") to
  8681  	// unconditionally include in API requests. By default, fields with empty or
  8682  	// default values are omitted from API requests. See
  8683  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8684  	// details.
  8685  	ForceSendFields []string `json:"-"`
  8686  	// NullFields is a list of field names (e.g. "MergeBehavior") to include in API
  8687  	// requests with the JSON null value. By default, fields with empty values are
  8688  	// omitted from API requests. See
  8689  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8690  	NullFields []string `json:"-"`
  8691  }
  8692  
  8693  func (s *GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) {
  8694  	type NoMethod GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse
  8695  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8696  }
  8697  
  8698  // GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig: Represents
  8699  // configuration for a Service Directory
  8700  // (https://cloud.google.com/service-directory) service.
  8701  type GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig struct {
  8702  	// GenericWebService: Generic Service configuration of this webhook.
  8703  	GenericWebService *GoogleCloudDialogflowCxV3WebhookGenericWebService `json:"genericWebService,omitempty"`
  8704  	// Service: Required. The name of Service Directory
  8705  	// (https://cloud.google.com/service-directory) service. Format:
  8706  	// `projects//locations//namespaces//services/`. `Location ID` of the service
  8707  	// directory must be the same as the location of the agent.
  8708  	Service string `json:"service,omitempty"`
  8709  	// ForceSendFields is a list of field names (e.g. "GenericWebService") to
  8710  	// unconditionally include in API requests. By default, fields with empty or
  8711  	// default values are omitted from API requests. See
  8712  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8713  	// details.
  8714  	ForceSendFields []string `json:"-"`
  8715  	// NullFields is a list of field names (e.g. "GenericWebService") to include in
  8716  	// API requests with the JSON null value. By default, fields with empty values
  8717  	// are omitted from API requests. See
  8718  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8719  	NullFields []string `json:"-"`
  8720  }
  8721  
  8722  func (s *GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig) MarshalJSON() ([]byte, error) {
  8723  	type NoMethod GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
  8724  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8725  }
  8726  
  8727  // GoogleCloudDialogflowCxV3beta1AdvancedSettings: Hierarchical advanced
  8728  // settings for agent/flow/page/fulfillment/parameter. Settings exposed at
  8729  // lower level overrides the settings exposed at higher level. Overriding
  8730  // occurs at the sub-setting level. For example, the
  8731  // playback_interruption_settings at fulfillment level only overrides the
  8732  // playback_interruption_settings at the agent level, leaving other settings at
  8733  // the agent level unchanged. DTMF settings does not override each other. DTMF
  8734  // settings set at different levels define DTMF detections running in parallel.
  8735  // Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.
  8736  type GoogleCloudDialogflowCxV3beta1AdvancedSettings struct {
  8737  	// AudioExportGcsDestination: If present, incoming audio is exported by
  8738  	// Dialogflow to the configured Google Cloud Storage destination. Exposed at
  8739  	// the following levels: - Agent level - Flow level
  8740  	AudioExportGcsDestination *GoogleCloudDialogflowCxV3beta1GcsDestination `json:"audioExportGcsDestination,omitempty"`
  8741  	// DtmfSettings: Settings for DTMF. Exposed at the following levels: - Agent
  8742  	// level - Flow level - Page level - Parameter level.
  8743  	DtmfSettings *GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings `json:"dtmfSettings,omitempty"`
  8744  	// LoggingSettings: Settings for logging. Settings for Dialogflow History,
  8745  	// Contact Center messages, StackDriver logs, and speech logging. Exposed at
  8746  	// the following levels: - Agent level.
  8747  	LoggingSettings *GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings `json:"loggingSettings,omitempty"`
  8748  	// SpeechSettings: Settings for speech to text detection. Exposed at the
  8749  	// following levels: - Agent level - Flow level - Page level - Parameter level
  8750  	SpeechSettings *GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings `json:"speechSettings,omitempty"`
  8751  	// ForceSendFields is a list of field names (e.g. "AudioExportGcsDestination")
  8752  	// to unconditionally include in API requests. By default, fields with empty or
  8753  	// default values are omitted from API requests. See
  8754  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8755  	// details.
  8756  	ForceSendFields []string `json:"-"`
  8757  	// NullFields is a list of field names (e.g. "AudioExportGcsDestination") to
  8758  	// include in API requests with the JSON null value. By default, fields with
  8759  	// empty values are omitted from API requests. See
  8760  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8761  	NullFields []string `json:"-"`
  8762  }
  8763  
  8764  func (s *GoogleCloudDialogflowCxV3beta1AdvancedSettings) MarshalJSON() ([]byte, error) {
  8765  	type NoMethod GoogleCloudDialogflowCxV3beta1AdvancedSettings
  8766  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8767  }
  8768  
  8769  // GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings: Define behaviors
  8770  // for DTMF (dual tone multi frequency).
  8771  type GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings struct {
  8772  	// Enabled: If true, incoming audio is processed for DTMF (dual tone multi
  8773  	// frequency) events. For example, if the caller presses a button on their
  8774  	// telephone keypad and DTMF processing is enabled, Dialogflow will detect the
  8775  	// event (e.g. a "3" was pressed) in the incoming audio and pass the event to
  8776  	// the bot to drive business logic (e.g. when 3 is pressed, return the account
  8777  	// balance).
  8778  	Enabled bool `json:"enabled,omitempty"`
  8779  	// EndpointingTimeoutDuration: Endpoint timeout setting for matching dtmf input
  8780  	// to regex.
  8781  	EndpointingTimeoutDuration string `json:"endpointingTimeoutDuration,omitempty"`
  8782  	// FinishDigit: The digit that terminates a DTMF digit sequence.
  8783  	FinishDigit string `json:"finishDigit,omitempty"`
  8784  	// InterdigitTimeoutDuration: Interdigit timeout setting for matching dtmf
  8785  	// input to regex.
  8786  	InterdigitTimeoutDuration string `json:"interdigitTimeoutDuration,omitempty"`
  8787  	// MaxDigits: Max length of DTMF digits.
  8788  	MaxDigits int64 `json:"maxDigits,omitempty"`
  8789  	// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally
  8790  	// include in API requests. By default, fields with empty or default values are
  8791  	// omitted from API requests. See
  8792  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8793  	// details.
  8794  	ForceSendFields []string `json:"-"`
  8795  	// NullFields is a list of field names (e.g. "Enabled") to include in API
  8796  	// requests with the JSON null value. By default, fields with empty values are
  8797  	// omitted from API requests. See
  8798  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8799  	NullFields []string `json:"-"`
  8800  }
  8801  
  8802  func (s *GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings) MarshalJSON() ([]byte, error) {
  8803  	type NoMethod GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings
  8804  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8805  }
  8806  
  8807  // GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings: Define
  8808  // behaviors on logging.
  8809  type GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings struct {
  8810  	// EnableInteractionLogging: If true, DF Interaction logging is currently
  8811  	// enabled.
  8812  	EnableInteractionLogging bool `json:"enableInteractionLogging,omitempty"`
  8813  	// EnableStackdriverLogging: If true, StackDriver logging is currently enabled.
  8814  	EnableStackdriverLogging bool `json:"enableStackdriverLogging,omitempty"`
  8815  	// ForceSendFields is a list of field names (e.g. "EnableInteractionLogging")
  8816  	// to unconditionally include in API requests. By default, fields with empty or
  8817  	// default values are omitted from API requests. See
  8818  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8819  	// details.
  8820  	ForceSendFields []string `json:"-"`
  8821  	// NullFields is a list of field names (e.g. "EnableInteractionLogging") to
  8822  	// include in API requests with the JSON null value. By default, fields with
  8823  	// empty values are omitted from API requests. See
  8824  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8825  	NullFields []string `json:"-"`
  8826  }
  8827  
  8828  func (s *GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings) MarshalJSON() ([]byte, error) {
  8829  	type NoMethod GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
  8830  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8831  }
  8832  
  8833  // GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings: Define
  8834  // behaviors of speech to text detection.
  8835  type GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings struct {
  8836  	// EndpointerSensitivity: Sensitivity of the speech model that detects the end
  8837  	// of speech. Scale from 0 to 100.
  8838  	EndpointerSensitivity int64 `json:"endpointerSensitivity,omitempty"`
  8839  	// Models: Mapping from language to Speech-to-Text model. The mapped
  8840  	// Speech-to-Text model will be selected for requests from its corresponding
  8841  	// language. For more information, see Speech models
  8842  	// (https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
  8843  	Models map[string]string `json:"models,omitempty"`
  8844  	// NoSpeechTimeout: Timeout before detecting no speech.
  8845  	NoSpeechTimeout string `json:"noSpeechTimeout,omitempty"`
  8846  	// UseTimeoutBasedEndpointing: Use timeout based endpointing, interpreting
  8847  	// endpointer sensitivy as seconds of timeout value.
  8848  	UseTimeoutBasedEndpointing bool `json:"useTimeoutBasedEndpointing,omitempty"`
  8849  	// ForceSendFields is a list of field names (e.g. "EndpointerSensitivity") to
  8850  	// unconditionally include in API requests. By default, fields with empty or
  8851  	// default values are omitted from API requests. See
  8852  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8853  	// details.
  8854  	ForceSendFields []string `json:"-"`
  8855  	// NullFields is a list of field names (e.g. "EndpointerSensitivity") to
  8856  	// include in API requests with the JSON null value. By default, fields with
  8857  	// empty values are omitted from API requests. See
  8858  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8859  	NullFields []string `json:"-"`
  8860  }
  8861  
  8862  func (s *GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings) MarshalJSON() ([]byte, error) {
  8863  	type NoMethod GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
  8864  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8865  }
  8866  
  8867  // GoogleCloudDialogflowCxV3beta1AudioInput: Represents the natural speech
  8868  // audio to be processed.
  8869  type GoogleCloudDialogflowCxV3beta1AudioInput struct {
  8870  	// Audio: The natural language speech audio to be processed. A single request
  8871  	// can contain up to 2 minutes of speech audio data. The transcribed text
  8872  	// cannot contain more than 256 bytes. For non-streaming audio detect intent,
  8873  	// both `config` and `audio` must be provided. For streaming audio detect
  8874  	// intent, `config` must be provided in the first request and `audio` must be
  8875  	// provided in all following requests.
  8876  	Audio string `json:"audio,omitempty"`
  8877  	// Config: Required. Instructs the speech recognizer how to process the speech
  8878  	// audio.
  8879  	Config *GoogleCloudDialogflowCxV3beta1InputAudioConfig `json:"config,omitempty"`
  8880  	// ForceSendFields is a list of field names (e.g. "Audio") to unconditionally
  8881  	// include in API requests. By default, fields with empty or default values are
  8882  	// omitted from API requests. See
  8883  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8884  	// details.
  8885  	ForceSendFields []string `json:"-"`
  8886  	// NullFields is a list of field names (e.g. "Audio") to include in API
  8887  	// requests with the JSON null value. By default, fields with empty values are
  8888  	// omitted from API requests. See
  8889  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8890  	NullFields []string `json:"-"`
  8891  }
  8892  
  8893  func (s *GoogleCloudDialogflowCxV3beta1AudioInput) MarshalJSON() ([]byte, error) {
  8894  	type NoMethod GoogleCloudDialogflowCxV3beta1AudioInput
  8895  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8896  }
  8897  
  8898  // GoogleCloudDialogflowCxV3beta1BargeInConfig: Configuration of the barge-in
  8899  // behavior. Barge-in instructs the API to return a detected utterance at a
  8900  // proper time while the client is playing back the response audio from a
  8901  // previous request. When the client sees the utterance, it should stop the
  8902  // playback and immediately get ready for receiving the responses for the
  8903  // current request. The barge-in handling requires the client to start
  8904  // streaming audio input as soon as it starts playing back the audio from the
  8905  // previous response. The playback is modeled into two phases: * No barge-in
  8906  // phase: which goes first and during which speech detection should not be
  8907  // carried out. * Barge-in phase: which follows the no barge-in phase and
  8908  // during which the API starts speech detection and may inform the client that
  8909  // an utterance has been detected. Note that no-speech event is not expected in
  8910  // this phase. The client provides this configuration in terms of the durations
  8911  // of those two phases. The durations are measured in terms of the audio length
  8912  // from the the start of the input audio. No-speech event is a response with
  8913  // END_OF_UTTERANCE without any transcript following up.
  8914  type GoogleCloudDialogflowCxV3beta1BargeInConfig struct {
  8915  	// NoBargeInDuration: Duration that is not eligible for barge-in at the
  8916  	// beginning of the input audio.
  8917  	NoBargeInDuration string `json:"noBargeInDuration,omitempty"`
  8918  	// TotalDuration: Total duration for the playback at the beginning of the input
  8919  	// audio.
  8920  	TotalDuration string `json:"totalDuration,omitempty"`
  8921  	// ForceSendFields is a list of field names (e.g. "NoBargeInDuration") to
  8922  	// unconditionally include in API requests. By default, fields with empty or
  8923  	// default values are omitted from API requests. See
  8924  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8925  	// details.
  8926  	ForceSendFields []string `json:"-"`
  8927  	// NullFields is a list of field names (e.g. "NoBargeInDuration") to include in
  8928  	// API requests with the JSON null value. By default, fields with empty values
  8929  	// are omitted from API requests. See
  8930  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8931  	NullFields []string `json:"-"`
  8932  }
  8933  
  8934  func (s *GoogleCloudDialogflowCxV3beta1BargeInConfig) MarshalJSON() ([]byte, error) {
  8935  	type NoMethod GoogleCloudDialogflowCxV3beta1BargeInConfig
  8936  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8937  }
  8938  
  8939  // GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata: Metadata returned
  8940  // for the TestCases.BatchRunTestCases long running operation.
  8941  type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata struct {
  8942  	// Errors: The test errors.
  8943  	Errors []*GoogleCloudDialogflowCxV3beta1TestError `json:"errors,omitempty"`
  8944  	// ForceSendFields is a list of field names (e.g. "Errors") to unconditionally
  8945  	// include in API requests. By default, fields with empty or default values are
  8946  	// omitted from API requests. See
  8947  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8948  	// details.
  8949  	ForceSendFields []string `json:"-"`
  8950  	// NullFields is a list of field names (e.g. "Errors") to include in API
  8951  	// requests with the JSON null value. By default, fields with empty values are
  8952  	// omitted from API requests. See
  8953  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8954  	NullFields []string `json:"-"`
  8955  }
  8956  
  8957  func (s *GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata) MarshalJSON() ([]byte, error) {
  8958  	type NoMethod GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata
  8959  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8960  }
  8961  
  8962  // GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse: The response
  8963  // message for TestCases.BatchRunTestCases.
  8964  type GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse struct {
  8965  	// Results: The test case results. The detailed conversation turns are empty in
  8966  	// this response.
  8967  	Results []*GoogleCloudDialogflowCxV3beta1TestCaseResult `json:"results,omitempty"`
  8968  	// ForceSendFields is a list of field names (e.g. "Results") to unconditionally
  8969  	// include in API requests. By default, fields with empty or default values are
  8970  	// omitted from API requests. See
  8971  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  8972  	// details.
  8973  	ForceSendFields []string `json:"-"`
  8974  	// NullFields is a list of field names (e.g. "Results") to include in API
  8975  	// requests with the JSON null value. By default, fields with empty values are
  8976  	// omitted from API requests. See
  8977  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  8978  	NullFields []string `json:"-"`
  8979  }
  8980  
  8981  func (s *GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse) MarshalJSON() ([]byte, error) {
  8982  	type NoMethod GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse
  8983  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  8984  }
  8985  
  8986  // GoogleCloudDialogflowCxV3beta1ContinuousTestResult: Represents a result from
  8987  // running a test case in an agent environment.
  8988  type GoogleCloudDialogflowCxV3beta1ContinuousTestResult struct {
  8989  	// Name: The resource name for the continuous test result. Format:
  8990  	// `projects//locations//agents//environments//continuousTestResults/`.
  8991  	Name string `json:"name,omitempty"`
  8992  	// Result: The result of this continuous test run, i.e. whether all the tests
  8993  	// in this continuous test run pass or not.
  8994  	//
  8995  	// Possible values:
  8996  	//   "AGGREGATED_TEST_RESULT_UNSPECIFIED" - Not specified. Should never be
  8997  	// used.
  8998  	//   "PASSED" - All the tests passed.
  8999  	//   "FAILED" - At least one test did not pass.
  9000  	Result string `json:"result,omitempty"`
  9001  	// RunTime: Time when the continuous testing run starts.
  9002  	RunTime string `json:"runTime,omitempty"`
  9003  	// TestCaseResults: A list of individual test case results names in this
  9004  	// continuous test run.
  9005  	TestCaseResults []string `json:"testCaseResults,omitempty"`
  9006  	// ForceSendFields is a list of field names (e.g. "Name") to unconditionally
  9007  	// include in API requests. By default, fields with empty or default values are
  9008  	// omitted from API requests. See
  9009  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9010  	// details.
  9011  	ForceSendFields []string `json:"-"`
  9012  	// NullFields is a list of field names (e.g. "Name") to include in API requests
  9013  	// with the JSON null value. By default, fields with empty values are omitted
  9014  	// from API requests. See
  9015  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9016  	NullFields []string `json:"-"`
  9017  }
  9018  
  9019  func (s *GoogleCloudDialogflowCxV3beta1ContinuousTestResult) MarshalJSON() ([]byte, error) {
  9020  	type NoMethod GoogleCloudDialogflowCxV3beta1ContinuousTestResult
  9021  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9022  }
  9023  
  9024  // GoogleCloudDialogflowCxV3beta1ConversationSignals: This message is used to
  9025  // hold all the Conversation Signals data, which will be converted to JSON and
  9026  // exported to BigQuery.
  9027  type GoogleCloudDialogflowCxV3beta1ConversationSignals struct {
  9028  	// TurnSignals: Required. Turn signals for the current turn.
  9029  	TurnSignals *GoogleCloudDialogflowCxV3beta1TurnSignals `json:"turnSignals,omitempty"`
  9030  	// ForceSendFields is a list of field names (e.g. "TurnSignals") to
  9031  	// unconditionally include in API requests. By default, fields with empty or
  9032  	// default values are omitted from API requests. See
  9033  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9034  	// details.
  9035  	ForceSendFields []string `json:"-"`
  9036  	// NullFields is a list of field names (e.g. "TurnSignals") to include in API
  9037  	// requests with the JSON null value. By default, fields with empty values are
  9038  	// omitted from API requests. See
  9039  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9040  	NullFields []string `json:"-"`
  9041  }
  9042  
  9043  func (s *GoogleCloudDialogflowCxV3beta1ConversationSignals) MarshalJSON() ([]byte, error) {
  9044  	type NoMethod GoogleCloudDialogflowCxV3beta1ConversationSignals
  9045  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9046  }
  9047  
  9048  // GoogleCloudDialogflowCxV3beta1ConversationTurn: One interaction between a
  9049  // human and virtual agent. The human provides some input and the virtual agent
  9050  // provides a response.
  9051  type GoogleCloudDialogflowCxV3beta1ConversationTurn struct {
  9052  	// UserInput: The user input.
  9053  	UserInput *GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput `json:"userInput,omitempty"`
  9054  	// VirtualAgentOutput: The virtual agent output.
  9055  	VirtualAgentOutput *GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput `json:"virtualAgentOutput,omitempty"`
  9056  	// ForceSendFields is a list of field names (e.g. "UserInput") to
  9057  	// unconditionally include in API requests. By default, fields with empty or
  9058  	// default values are omitted from API requests. See
  9059  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9060  	// details.
  9061  	ForceSendFields []string `json:"-"`
  9062  	// NullFields is a list of field names (e.g. "UserInput") to include in API
  9063  	// requests with the JSON null value. By default, fields with empty values are
  9064  	// omitted from API requests. See
  9065  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9066  	NullFields []string `json:"-"`
  9067  }
  9068  
  9069  func (s *GoogleCloudDialogflowCxV3beta1ConversationTurn) MarshalJSON() ([]byte, error) {
  9070  	type NoMethod GoogleCloudDialogflowCxV3beta1ConversationTurn
  9071  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9072  }
  9073  
  9074  // GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput: The input from the
  9075  // human user.
  9076  type GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput struct {
  9077  	// EnableSentimentAnalysis: Whether sentiment analysis is enabled.
  9078  	EnableSentimentAnalysis bool `json:"enableSentimentAnalysis,omitempty"`
  9079  	// InjectedParameters: Parameters that need to be injected into the
  9080  	// conversation during intent detection.
  9081  	InjectedParameters googleapi.RawMessage `json:"injectedParameters,omitempty"`
  9082  	// Input: Supports text input, event input, dtmf input in the test case.
  9083  	Input *GoogleCloudDialogflowCxV3beta1QueryInput `json:"input,omitempty"`
  9084  	// IsWebhookEnabled: If webhooks should be allowed to trigger in response to
  9085  	// the user utterance. Often if parameters are injected, webhooks should not be
  9086  	// enabled.
  9087  	IsWebhookEnabled bool `json:"isWebhookEnabled,omitempty"`
  9088  	// ForceSendFields is a list of field names (e.g. "EnableSentimentAnalysis") to
  9089  	// unconditionally include in API requests. By default, fields with empty or
  9090  	// default values are omitted from API requests. See
  9091  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9092  	// details.
  9093  	ForceSendFields []string `json:"-"`
  9094  	// NullFields is a list of field names (e.g. "EnableSentimentAnalysis") to
  9095  	// include in API requests with the JSON null value. By default, fields with
  9096  	// empty values are omitted from API requests. See
  9097  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9098  	NullFields []string `json:"-"`
  9099  }
  9100  
  9101  func (s *GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput) MarshalJSON() ([]byte, error) {
  9102  	type NoMethod GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
  9103  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9104  }
  9105  
  9106  // GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput: The output
  9107  // from the virtual agent.
  9108  type GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput struct {
  9109  	// CurrentPage: The Page on which the utterance was spoken. Only name and
  9110  	// displayName will be set.
  9111  	CurrentPage *GoogleCloudDialogflowCxV3beta1Page `json:"currentPage,omitempty"`
  9112  	// DiagnosticInfo: Required. Input only. The diagnostic info output for the
  9113  	// turn. Required to calculate the testing coverage.
  9114  	DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"`
  9115  	// Differences: Output only. If this is part of a result conversation turn, the
  9116  	// list of differences between the original run and the replay for this output,
  9117  	// if any.
  9118  	Differences []*GoogleCloudDialogflowCxV3beta1TestRunDifference `json:"differences,omitempty"`
  9119  	// SessionParameters: The session parameters available to the bot at this
  9120  	// point.
  9121  	SessionParameters googleapi.RawMessage `json:"sessionParameters,omitempty"`
  9122  	// Status: Response error from the agent in the test result. If set, other
  9123  	// output is empty.
  9124  	Status *GoogleRpcStatus `json:"status,omitempty"`
  9125  	// TextResponses: The text responses from the agent for the turn.
  9126  	TextResponses []*GoogleCloudDialogflowCxV3beta1ResponseMessageText `json:"textResponses,omitempty"`
  9127  	// TriggeredIntent: The Intent that triggered the response. Only name and
  9128  	// displayName will be set.
  9129  	TriggeredIntent *GoogleCloudDialogflowCxV3beta1Intent `json:"triggeredIntent,omitempty"`
  9130  	// ForceSendFields is a list of field names (e.g. "CurrentPage") to
  9131  	// unconditionally include in API requests. By default, fields with empty or
  9132  	// default values are omitted from API requests. See
  9133  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9134  	// details.
  9135  	ForceSendFields []string `json:"-"`
  9136  	// NullFields is a list of field names (e.g. "CurrentPage") to include in API
  9137  	// requests with the JSON null value. By default, fields with empty values are
  9138  	// omitted from API requests. See
  9139  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9140  	NullFields []string `json:"-"`
  9141  }
  9142  
  9143  func (s *GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput) MarshalJSON() ([]byte, error) {
  9144  	type NoMethod GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput
  9145  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9146  }
  9147  
  9148  // GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata: Metadata for
  9149  // CreateDocument operation.
  9150  type GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata struct {
  9151  	// GenericMetadata: The generic information of the operation.
  9152  	GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"`
  9153  	// ForceSendFields is a list of field names (e.g. "GenericMetadata") to
  9154  	// unconditionally include in API requests. By default, fields with empty or
  9155  	// default values are omitted from API requests. See
  9156  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9157  	// details.
  9158  	ForceSendFields []string `json:"-"`
  9159  	// NullFields is a list of field names (e.g. "GenericMetadata") to include in
  9160  	// API requests with the JSON null value. By default, fields with empty values
  9161  	// are omitted from API requests. See
  9162  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9163  	NullFields []string `json:"-"`
  9164  }
  9165  
  9166  func (s *GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error) {
  9167  	type NoMethod GoogleCloudDialogflowCxV3beta1CreateDocumentOperationMetadata
  9168  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9169  }
  9170  
  9171  // GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata: Metadata
  9172  // associated with the long running operation for Versions.CreateVersion.
  9173  type GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata struct {
  9174  	// Version: Name of the created version. Format:
  9175  	// `projects//locations//agents//flows//versions/`.
  9176  	Version string `json:"version,omitempty"`
  9177  	// ForceSendFields is a list of field names (e.g. "Version") to unconditionally
  9178  	// include in API requests. By default, fields with empty or default values are
  9179  	// omitted from API requests. See
  9180  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9181  	// details.
  9182  	ForceSendFields []string `json:"-"`
  9183  	// NullFields is a list of field names (e.g. "Version") to include in API
  9184  	// requests with the JSON null value. By default, fields with empty values are
  9185  	// omitted from API requests. See
  9186  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9187  	NullFields []string `json:"-"`
  9188  }
  9189  
  9190  func (s *GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata) MarshalJSON() ([]byte, error) {
  9191  	type NoMethod GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata
  9192  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9193  }
  9194  
  9195  // GoogleCloudDialogflowCxV3beta1DataStoreConnection: A data store connection.
  9196  // It represents a data store in Discovery Engine and the type of the contents
  9197  // it contains.
  9198  type GoogleCloudDialogflowCxV3beta1DataStoreConnection struct {
  9199  	// DataStore: The full name of the referenced data store. Formats:
  9200  	// `projects/{project}/locations/{location}/collections/{collection}/dataStores/
  9201  	// {data_store}`
  9202  	// `projects/{project}/locations/{location}/dataStores/{data_store}`
  9203  	DataStore string `json:"dataStore,omitempty"`
  9204  	// DataStoreType: The type of the connected data store.
  9205  	//
  9206  	// Possible values:
  9207  	//   "DATA_STORE_TYPE_UNSPECIFIED" - Not specified. This value indicates that
  9208  	// the data store type is not specified, so it will not be used during search.
  9209  	//   "PUBLIC_WEB" - A data store that contains public web content.
  9210  	//   "UNSTRUCTURED" - A data store that contains unstructured private data.
  9211  	//   "STRUCTURED" - A data store that contains structured data (for example
  9212  	// FAQ).
  9213  	DataStoreType string `json:"dataStoreType,omitempty"`
  9214  	// ForceSendFields is a list of field names (e.g. "DataStore") to
  9215  	// unconditionally include in API requests. By default, fields with empty or
  9216  	// default values are omitted from API requests. See
  9217  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9218  	// details.
  9219  	ForceSendFields []string `json:"-"`
  9220  	// NullFields is a list of field names (e.g. "DataStore") to include in API
  9221  	// requests with the JSON null value. By default, fields with empty values are
  9222  	// omitted from API requests. See
  9223  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9224  	NullFields []string `json:"-"`
  9225  }
  9226  
  9227  func (s *GoogleCloudDialogflowCxV3beta1DataStoreConnection) MarshalJSON() ([]byte, error) {
  9228  	type NoMethod GoogleCloudDialogflowCxV3beta1DataStoreConnection
  9229  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9230  }
  9231  
  9232  // GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata: Metadata for
  9233  // DeleteDocument operation.
  9234  type GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata struct {
  9235  	// GenericMetadata: The generic information of the operation.
  9236  	GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"`
  9237  	// ForceSendFields is a list of field names (e.g. "GenericMetadata") to
  9238  	// unconditionally include in API requests. By default, fields with empty or
  9239  	// default values are omitted from API requests. See
  9240  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9241  	// details.
  9242  	ForceSendFields []string `json:"-"`
  9243  	// NullFields is a list of field names (e.g. "GenericMetadata") to include in
  9244  	// API requests with the JSON null value. By default, fields with empty values
  9245  	// are omitted from API requests. See
  9246  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9247  	NullFields []string `json:"-"`
  9248  }
  9249  
  9250  func (s *GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error) {
  9251  	type NoMethod GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
  9252  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9253  }
  9254  
  9255  // GoogleCloudDialogflowCxV3beta1DeployFlowMetadata: Metadata returned for the
  9256  // Environments.DeployFlow long running operation.
  9257  type GoogleCloudDialogflowCxV3beta1DeployFlowMetadata struct {
  9258  	// TestErrors: Errors of running deployment tests.
  9259  	TestErrors []*GoogleCloudDialogflowCxV3beta1TestError `json:"testErrors,omitempty"`
  9260  	// ForceSendFields is a list of field names (e.g. "TestErrors") to
  9261  	// unconditionally include in API requests. By default, fields with empty or
  9262  	// default values are omitted from API requests. See
  9263  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9264  	// details.
  9265  	ForceSendFields []string `json:"-"`
  9266  	// NullFields is a list of field names (e.g. "TestErrors") to include in API
  9267  	// requests with the JSON null value. By default, fields with empty values are
  9268  	// omitted from API requests. See
  9269  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9270  	NullFields []string `json:"-"`
  9271  }
  9272  
  9273  func (s *GoogleCloudDialogflowCxV3beta1DeployFlowMetadata) MarshalJSON() ([]byte, error) {
  9274  	type NoMethod GoogleCloudDialogflowCxV3beta1DeployFlowMetadata
  9275  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9276  }
  9277  
  9278  // GoogleCloudDialogflowCxV3beta1DeployFlowResponse: The response message for
  9279  // Environments.DeployFlow.
  9280  type GoogleCloudDialogflowCxV3beta1DeployFlowResponse struct {
  9281  	// Deployment: The name of the flow version deployment. Format:
  9282  	// `projects//locations//agents// environments//deployments/`.
  9283  	Deployment string `json:"deployment,omitempty"`
  9284  	// Environment: The updated environment where the flow is deployed.
  9285  	Environment *GoogleCloudDialogflowCxV3beta1Environment `json:"environment,omitempty"`
  9286  	// ForceSendFields is a list of field names (e.g. "Deployment") to
  9287  	// unconditionally include in API requests. By default, fields with empty or
  9288  	// default values are omitted from API requests. See
  9289  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9290  	// details.
  9291  	ForceSendFields []string `json:"-"`
  9292  	// NullFields is a list of field names (e.g. "Deployment") to include in API
  9293  	// requests with the JSON null value. By default, fields with empty values are
  9294  	// omitted from API requests. See
  9295  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9296  	NullFields []string `json:"-"`
  9297  }
  9298  
  9299  func (s *GoogleCloudDialogflowCxV3beta1DeployFlowResponse) MarshalJSON() ([]byte, error) {
  9300  	type NoMethod GoogleCloudDialogflowCxV3beta1DeployFlowResponse
  9301  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9302  }
  9303  
  9304  // GoogleCloudDialogflowCxV3beta1DtmfInput: Represents the input for dtmf
  9305  // event.
  9306  type GoogleCloudDialogflowCxV3beta1DtmfInput struct {
  9307  	// Digits: The dtmf digits.
  9308  	Digits string `json:"digits,omitempty"`
  9309  	// FinishDigit: The finish digit (if any).
  9310  	FinishDigit string `json:"finishDigit,omitempty"`
  9311  	// ForceSendFields is a list of field names (e.g. "Digits") to unconditionally
  9312  	// include in API requests. By default, fields with empty or default values are
  9313  	// omitted from API requests. See
  9314  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9315  	// details.
  9316  	ForceSendFields []string `json:"-"`
  9317  	// NullFields is a list of field names (e.g. "Digits") to include in API
  9318  	// requests with the JSON null value. By default, fields with empty values are
  9319  	// omitted from API requests. See
  9320  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9321  	NullFields []string `json:"-"`
  9322  }
  9323  
  9324  func (s *GoogleCloudDialogflowCxV3beta1DtmfInput) MarshalJSON() ([]byte, error) {
  9325  	type NoMethod GoogleCloudDialogflowCxV3beta1DtmfInput
  9326  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9327  }
  9328  
  9329  // GoogleCloudDialogflowCxV3beta1Environment: Represents an environment for an
  9330  // agent. You can create multiple versions of your agent and publish them to
  9331  // separate environments. When you edit an agent, you are editing the draft
  9332  // agent. At any point, you can save the draft agent as an agent version, which
  9333  // is an immutable snapshot of your agent. When you save the draft agent, it is
  9334  // published to the default environment. When you create agent versions, you
  9335  // can publish them to custom environments. You can create a variety of custom
  9336  // environments for testing, development, production, etc.
  9337  type GoogleCloudDialogflowCxV3beta1Environment struct {
  9338  	// Description: The human-readable description of the environment. The maximum
  9339  	// length is 500 characters. If exceeded, the request is rejected.
  9340  	Description string `json:"description,omitempty"`
  9341  	// DisplayName: Required. The human-readable name of the environment (unique in
  9342  	// an agent). Limit of 64 characters.
  9343  	DisplayName string `json:"displayName,omitempty"`
  9344  	// Name: The name of the environment. Format:
  9345  	// `projects//locations//agents//environments/`.
  9346  	Name string `json:"name,omitempty"`
  9347  	// TestCasesConfig: The test cases config for continuous tests of this
  9348  	// environment.
  9349  	TestCasesConfig *GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig `json:"testCasesConfig,omitempty"`
  9350  	// UpdateTime: Output only. Update time of this environment.
  9351  	UpdateTime string `json:"updateTime,omitempty"`
  9352  	// VersionConfigs: A list of configurations for flow versions. You should
  9353  	// include version configs for all flows that are reachable from `Start Flow`
  9354  	// in the agent. Otherwise, an error will be returned.
  9355  	VersionConfigs []*GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig `json:"versionConfigs,omitempty"`
  9356  	// WebhookConfig: The webhook configuration for this environment.
  9357  	WebhookConfig *GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig `json:"webhookConfig,omitempty"`
  9358  	// ForceSendFields is a list of field names (e.g. "Description") to
  9359  	// unconditionally include in API requests. By default, fields with empty or
  9360  	// default values are omitted from API requests. See
  9361  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9362  	// details.
  9363  	ForceSendFields []string `json:"-"`
  9364  	// NullFields is a list of field names (e.g. "Description") to include in API
  9365  	// requests with the JSON null value. By default, fields with empty values are
  9366  	// omitted from API requests. See
  9367  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9368  	NullFields []string `json:"-"`
  9369  }
  9370  
  9371  func (s *GoogleCloudDialogflowCxV3beta1Environment) MarshalJSON() ([]byte, error) {
  9372  	type NoMethod GoogleCloudDialogflowCxV3beta1Environment
  9373  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9374  }
  9375  
  9376  // GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig: The configuration
  9377  // for continuous tests.
  9378  type GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig struct {
  9379  	// EnableContinuousRun: Whether to run test cases in TestCasesConfig.test_cases
  9380  	// periodically. Default false. If set to true, run once a day.
  9381  	EnableContinuousRun bool `json:"enableContinuousRun,omitempty"`
  9382  	// EnablePredeploymentRun: Whether to run test cases in
  9383  	// TestCasesConfig.test_cases before deploying a flow version to the
  9384  	// environment. Default false.
  9385  	EnablePredeploymentRun bool `json:"enablePredeploymentRun,omitempty"`
  9386  	// TestCases: A list of test case names to run. They should be under the same
  9387  	// agent. Format of each test case name: `projects//locations/
  9388  	// /agents//testCases/`
  9389  	TestCases []string `json:"testCases,omitempty"`
  9390  	// ForceSendFields is a list of field names (e.g. "EnableContinuousRun") to
  9391  	// unconditionally include in API requests. By default, fields with empty or
  9392  	// default values are omitted from API requests. See
  9393  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9394  	// details.
  9395  	ForceSendFields []string `json:"-"`
  9396  	// NullFields is a list of field names (e.g. "EnableContinuousRun") to include
  9397  	// in API requests with the JSON null value. By default, fields with empty
  9398  	// values are omitted from API requests. See
  9399  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9400  	NullFields []string `json:"-"`
  9401  }
  9402  
  9403  func (s *GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig) MarshalJSON() ([]byte, error) {
  9404  	type NoMethod GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
  9405  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9406  }
  9407  
  9408  // GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig: Configuration for
  9409  // the version.
  9410  type GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig struct {
  9411  	// Version: Required. Format: projects//locations//agents//flows//versions/.
  9412  	Version string `json:"version,omitempty"`
  9413  	// ForceSendFields is a list of field names (e.g. "Version") to unconditionally
  9414  	// include in API requests. By default, fields with empty or default values are
  9415  	// omitted from API requests. See
  9416  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9417  	// details.
  9418  	ForceSendFields []string `json:"-"`
  9419  	// NullFields is a list of field names (e.g. "Version") to include in API
  9420  	// requests with the JSON null value. By default, fields with empty values are
  9421  	// omitted from API requests. See
  9422  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9423  	NullFields []string `json:"-"`
  9424  }
  9425  
  9426  func (s *GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig) MarshalJSON() ([]byte, error) {
  9427  	type NoMethod GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
  9428  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9429  }
  9430  
  9431  // GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig: Configuration for
  9432  // webhooks.
  9433  type GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig struct {
  9434  	// WebhookOverrides: The list of webhooks to override for the agent
  9435  	// environment. The webhook must exist in the agent. You can override fields in
  9436  	// `generic_web_service` and `service_directory`.
  9437  	WebhookOverrides []*GoogleCloudDialogflowCxV3beta1Webhook `json:"webhookOverrides,omitempty"`
  9438  	// ForceSendFields is a list of field names (e.g. "WebhookOverrides") to
  9439  	// unconditionally include in API requests. By default, fields with empty or
  9440  	// default values are omitted from API requests. See
  9441  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9442  	// details.
  9443  	ForceSendFields []string `json:"-"`
  9444  	// NullFields is a list of field names (e.g. "WebhookOverrides") to include in
  9445  	// API requests with the JSON null value. By default, fields with empty values
  9446  	// are omitted from API requests. See
  9447  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9448  	NullFields []string `json:"-"`
  9449  }
  9450  
  9451  func (s *GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig) MarshalJSON() ([]byte, error) {
  9452  	type NoMethod GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig
  9453  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9454  }
  9455  
  9456  // GoogleCloudDialogflowCxV3beta1EventHandler: An event handler specifies an
  9457  // event that can be handled during a session. When the specified event
  9458  // happens, the following actions are taken in order: * If there is a
  9459  // `trigger_fulfillment` associated with the event, it will be called. * If
  9460  // there is a `target_page` associated with the event, the session will
  9461  // transition into the specified page. * If there is a `target_flow` associated
  9462  // with the event, the session will transition into the specified flow.
  9463  type GoogleCloudDialogflowCxV3beta1EventHandler struct {
  9464  	// Event: Required. The name of the event to handle.
  9465  	Event string `json:"event,omitempty"`
  9466  	// Name: Output only. The unique identifier of this event handler.
  9467  	Name string `json:"name,omitempty"`
  9468  	// TargetFlow: The target flow to transition to. Format:
  9469  	// `projects//locations//agents//flows/`.
  9470  	TargetFlow string `json:"targetFlow,omitempty"`
  9471  	// TargetPage: The target page to transition to. Format:
  9472  	// `projects//locations//agents//flows//pages/`.
  9473  	TargetPage string `json:"targetPage,omitempty"`
  9474  	// TriggerFulfillment: The fulfillment to call when the event occurs. Handling
  9475  	// webhook errors with a fulfillment enabled with webhook could cause infinite
  9476  	// loop. It is invalid to specify such fulfillment for a handler handling
  9477  	// webhooks.
  9478  	TriggerFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"triggerFulfillment,omitempty"`
  9479  	// ForceSendFields is a list of field names (e.g. "Event") to unconditionally
  9480  	// include in API requests. By default, fields with empty or default values are
  9481  	// omitted from API requests. See
  9482  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9483  	// details.
  9484  	ForceSendFields []string `json:"-"`
  9485  	// NullFields is a list of field names (e.g. "Event") to include in API
  9486  	// requests with the JSON null value. By default, fields with empty values are
  9487  	// omitted from API requests. See
  9488  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9489  	NullFields []string `json:"-"`
  9490  }
  9491  
  9492  func (s *GoogleCloudDialogflowCxV3beta1EventHandler) MarshalJSON() ([]byte, error) {
  9493  	type NoMethod GoogleCloudDialogflowCxV3beta1EventHandler
  9494  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9495  }
  9496  
  9497  // GoogleCloudDialogflowCxV3beta1EventInput: Represents the event to trigger.
  9498  type GoogleCloudDialogflowCxV3beta1EventInput struct {
  9499  	// Event: Name of the event.
  9500  	Event string `json:"event,omitempty"`
  9501  	// ForceSendFields is a list of field names (e.g. "Event") to unconditionally
  9502  	// include in API requests. By default, fields with empty or default values are
  9503  	// omitted from API requests. See
  9504  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9505  	// details.
  9506  	ForceSendFields []string `json:"-"`
  9507  	// NullFields is a list of field names (e.g. "Event") to include in API
  9508  	// requests with the JSON null value. By default, fields with empty values are
  9509  	// omitted from API requests. See
  9510  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9511  	NullFields []string `json:"-"`
  9512  }
  9513  
  9514  func (s *GoogleCloudDialogflowCxV3beta1EventInput) MarshalJSON() ([]byte, error) {
  9515  	type NoMethod GoogleCloudDialogflowCxV3beta1EventInput
  9516  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9517  }
  9518  
  9519  // GoogleCloudDialogflowCxV3beta1ExportAgentResponse: The response message for
  9520  // Agents.ExportAgent.
  9521  type GoogleCloudDialogflowCxV3beta1ExportAgentResponse struct {
  9522  	// AgentContent: Uncompressed raw byte content for agent. This field is
  9523  	// populated if none of `agent_uri` and `git_destination` are specified in
  9524  	// ExportAgentRequest.
  9525  	AgentContent string `json:"agentContent,omitempty"`
  9526  	// AgentUri: The URI to a file containing the exported agent. This field is
  9527  	// populated if `agent_uri` is specified in ExportAgentRequest.
  9528  	AgentUri string `json:"agentUri,omitempty"`
  9529  	// CommitSha: Commit SHA of the git push. This field is populated if
  9530  	// `git_destination` is specified in ExportAgentRequest.
  9531  	CommitSha string `json:"commitSha,omitempty"`
  9532  	// ForceSendFields is a list of field names (e.g. "AgentContent") to
  9533  	// unconditionally include in API requests. By default, fields with empty or
  9534  	// default values are omitted from API requests. See
  9535  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9536  	// details.
  9537  	ForceSendFields []string `json:"-"`
  9538  	// NullFields is a list of field names (e.g. "AgentContent") to include in API
  9539  	// requests with the JSON null value. By default, fields with empty values are
  9540  	// omitted from API requests. See
  9541  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9542  	NullFields []string `json:"-"`
  9543  }
  9544  
  9545  func (s *GoogleCloudDialogflowCxV3beta1ExportAgentResponse) MarshalJSON() ([]byte, error) {
  9546  	type NoMethod GoogleCloudDialogflowCxV3beta1ExportAgentResponse
  9547  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9548  }
  9549  
  9550  // GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata: Metadata returned
  9551  // for the EntityTypes.ExportEntityTypes long running operation.
  9552  type GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata struct {
  9553  }
  9554  
  9555  // GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse: The response
  9556  // message for EntityTypes.ExportEntityTypes.
  9557  type GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse struct {
  9558  	// EntityTypesContent: Uncompressed byte content for entity types. This field
  9559  	// is populated only if `entity_types_content_inline` is set to true in
  9560  	// ExportEntityTypesRequest.
  9561  	EntityTypesContent *GoogleCloudDialogflowCxV3beta1InlineDestination `json:"entityTypesContent,omitempty"`
  9562  	// EntityTypesUri: The URI to a file containing the exported entity types. This
  9563  	// field is populated only if `entity_types_uri` is specified in
  9564  	// ExportEntityTypesRequest.
  9565  	EntityTypesUri string `json:"entityTypesUri,omitempty"`
  9566  	// ForceSendFields is a list of field names (e.g. "EntityTypesContent") to
  9567  	// unconditionally include in API requests. By default, fields with empty or
  9568  	// default values are omitted from API requests. See
  9569  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9570  	// details.
  9571  	ForceSendFields []string `json:"-"`
  9572  	// NullFields is a list of field names (e.g. "EntityTypesContent") to include
  9573  	// in API requests with the JSON null value. By default, fields with empty
  9574  	// values are omitted from API requests. See
  9575  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9576  	NullFields []string `json:"-"`
  9577  }
  9578  
  9579  func (s *GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse) MarshalJSON() ([]byte, error) {
  9580  	type NoMethod GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse
  9581  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9582  }
  9583  
  9584  // GoogleCloudDialogflowCxV3beta1ExportFlowResponse: The response message for
  9585  // Flows.ExportFlow.
  9586  type GoogleCloudDialogflowCxV3beta1ExportFlowResponse struct {
  9587  	// FlowContent: Uncompressed raw byte content for flow.
  9588  	FlowContent string `json:"flowContent,omitempty"`
  9589  	// FlowUri: The URI to a file containing the exported flow. This field is
  9590  	// populated only if `flow_uri` is specified in ExportFlowRequest.
  9591  	FlowUri string `json:"flowUri,omitempty"`
  9592  	// ForceSendFields is a list of field names (e.g. "FlowContent") to
  9593  	// unconditionally include in API requests. By default, fields with empty or
  9594  	// default values are omitted from API requests. See
  9595  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9596  	// details.
  9597  	ForceSendFields []string `json:"-"`
  9598  	// NullFields is a list of field names (e.g. "FlowContent") to include in API
  9599  	// requests with the JSON null value. By default, fields with empty values are
  9600  	// omitted from API requests. See
  9601  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9602  	NullFields []string `json:"-"`
  9603  }
  9604  
  9605  func (s *GoogleCloudDialogflowCxV3beta1ExportFlowResponse) MarshalJSON() ([]byte, error) {
  9606  	type NoMethod GoogleCloudDialogflowCxV3beta1ExportFlowResponse
  9607  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9608  }
  9609  
  9610  // GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata: Metadata returned for
  9611  // the Intents.ExportIntents long running operation.
  9612  type GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata struct {
  9613  }
  9614  
  9615  // GoogleCloudDialogflowCxV3beta1ExportIntentsResponse: The response message
  9616  // for Intents.ExportIntents.
  9617  type GoogleCloudDialogflowCxV3beta1ExportIntentsResponse struct {
  9618  	// IntentsContent: Uncompressed byte content for intents. This field is
  9619  	// populated only if `intents_content_inline` is set to true in
  9620  	// ExportIntentsRequest.
  9621  	IntentsContent *GoogleCloudDialogflowCxV3beta1InlineDestination `json:"intentsContent,omitempty"`
  9622  	// IntentsUri: The URI to a file containing the exported intents. This field is
  9623  	// populated only if `intents_uri` is specified in ExportIntentsRequest.
  9624  	IntentsUri string `json:"intentsUri,omitempty"`
  9625  	// ForceSendFields is a list of field names (e.g. "IntentsContent") to
  9626  	// unconditionally include in API requests. By default, fields with empty or
  9627  	// default values are omitted from API requests. See
  9628  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9629  	// details.
  9630  	ForceSendFields []string `json:"-"`
  9631  	// NullFields is a list of field names (e.g. "IntentsContent") to include in
  9632  	// API requests with the JSON null value. By default, fields with empty values
  9633  	// are omitted from API requests. See
  9634  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9635  	NullFields []string `json:"-"`
  9636  }
  9637  
  9638  func (s *GoogleCloudDialogflowCxV3beta1ExportIntentsResponse) MarshalJSON() ([]byte, error) {
  9639  	type NoMethod GoogleCloudDialogflowCxV3beta1ExportIntentsResponse
  9640  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9641  }
  9642  
  9643  // GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata: Metadata returned for
  9644  // the TestCases.ExportTestCases long running operation. This message currently
  9645  // has no fields.
  9646  type GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata struct {
  9647  }
  9648  
  9649  // GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse: The response message
  9650  // for TestCases.ExportTestCases.
  9651  type GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse struct {
  9652  	// Content: Uncompressed raw byte content for test cases.
  9653  	Content string `json:"content,omitempty"`
  9654  	// GcsUri: The URI to a file containing the exported test cases. This field is
  9655  	// populated only if `gcs_uri` is specified in ExportTestCasesRequest.
  9656  	GcsUri string `json:"gcsUri,omitempty"`
  9657  	// ForceSendFields is a list of field names (e.g. "Content") to unconditionally
  9658  	// include in API requests. By default, fields with empty or default values are
  9659  	// omitted from API requests. See
  9660  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9661  	// details.
  9662  	ForceSendFields []string `json:"-"`
  9663  	// NullFields is a list of field names (e.g. "Content") to include in API
  9664  	// requests with the JSON null value. By default, fields with empty values are
  9665  	// omitted from API requests. See
  9666  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9667  	NullFields []string `json:"-"`
  9668  }
  9669  
  9670  func (s *GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse) MarshalJSON() ([]byte, error) {
  9671  	type NoMethod GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse
  9672  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9673  }
  9674  
  9675  // GoogleCloudDialogflowCxV3beta1Form: A form is a data model that groups
  9676  // related parameters that can be collected from the user. The process in which
  9677  // the agent prompts the user and collects parameter values from the user is
  9678  // called form filling. A form can be added to a page. When form filling is
  9679  // done, the filled parameters will be written to the session.
  9680  type GoogleCloudDialogflowCxV3beta1Form struct {
  9681  	// Parameters: Parameters to collect from the user.
  9682  	Parameters []*GoogleCloudDialogflowCxV3beta1FormParameter `json:"parameters,omitempty"`
  9683  	// ForceSendFields is a list of field names (e.g. "Parameters") to
  9684  	// unconditionally include in API requests. By default, fields with empty or
  9685  	// default values are omitted from API requests. See
  9686  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9687  	// details.
  9688  	ForceSendFields []string `json:"-"`
  9689  	// NullFields is a list of field names (e.g. "Parameters") to include in API
  9690  	// requests with the JSON null value. By default, fields with empty values are
  9691  	// omitted from API requests. See
  9692  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9693  	NullFields []string `json:"-"`
  9694  }
  9695  
  9696  func (s *GoogleCloudDialogflowCxV3beta1Form) MarshalJSON() ([]byte, error) {
  9697  	type NoMethod GoogleCloudDialogflowCxV3beta1Form
  9698  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9699  }
  9700  
  9701  // GoogleCloudDialogflowCxV3beta1FormParameter: Represents a form parameter.
  9702  type GoogleCloudDialogflowCxV3beta1FormParameter struct {
  9703  	// AdvancedSettings: Hierarchical advanced settings for this parameter. The
  9704  	// settings exposed at the lower level overrides the settings exposed at the
  9705  	// higher level.
  9706  	AdvancedSettings *GoogleCloudDialogflowCxV3beta1AdvancedSettings `json:"advancedSettings,omitempty"`
  9707  	// DefaultValue: The default value of an optional parameter. If the parameter
  9708  	// is required, the default value will be ignored.
  9709  	DefaultValue interface{} `json:"defaultValue,omitempty"`
  9710  	// DisplayName: Required. The human-readable name of the parameter, unique
  9711  	// within the form.
  9712  	DisplayName string `json:"displayName,omitempty"`
  9713  	// EntityType: Required. The entity type of the parameter. Format:
  9714  	// `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for
  9715  	// example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or
  9716  	// `projects//locations//agents//entityTypes/` for developer entity types.
  9717  	EntityType string `json:"entityType,omitempty"`
  9718  	// FillBehavior: Required. Defines fill behavior for the parameter.
  9719  	FillBehavior *GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior `json:"fillBehavior,omitempty"`
  9720  	// IsList: Indicates whether the parameter represents a list of values.
  9721  	IsList bool `json:"isList,omitempty"`
  9722  	// Redact: Indicates whether the parameter content should be redacted in log.
  9723  	// If redaction is enabled, the parameter content will be replaced by parameter
  9724  	// name during logging. Note: the parameter content is subject to redaction if
  9725  	// either parameter level redaction or entity type level redaction is enabled.
  9726  	Redact bool `json:"redact,omitempty"`
  9727  	// Required: Indicates whether the parameter is required. Optional parameters
  9728  	// will not trigger prompts; however, they are filled if the user specifies
  9729  	// them. Required parameters must be filled before form filling concludes.
  9730  	Required bool `json:"required,omitempty"`
  9731  	// ForceSendFields is a list of field names (e.g. "AdvancedSettings") to
  9732  	// unconditionally include in API requests. By default, fields with empty or
  9733  	// default values are omitted from API requests. See
  9734  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9735  	// details.
  9736  	ForceSendFields []string `json:"-"`
  9737  	// NullFields is a list of field names (e.g. "AdvancedSettings") to include in
  9738  	// API requests with the JSON null value. By default, fields with empty values
  9739  	// are omitted from API requests. See
  9740  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9741  	NullFields []string `json:"-"`
  9742  }
  9743  
  9744  func (s *GoogleCloudDialogflowCxV3beta1FormParameter) MarshalJSON() ([]byte, error) {
  9745  	type NoMethod GoogleCloudDialogflowCxV3beta1FormParameter
  9746  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9747  }
  9748  
  9749  // GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior: Configuration for
  9750  // how the filling of a parameter should be handled.
  9751  type GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior struct {
  9752  	// InitialPromptFulfillment: Required. The fulfillment to provide the initial
  9753  	// prompt that the agent can present to the user in order to fill the
  9754  	// parameter.
  9755  	InitialPromptFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"initialPromptFulfillment,omitempty"`
  9756  	// RepromptEventHandlers: The handlers for parameter-level events, used to
  9757  	// provide reprompt for the parameter or transition to a different page/flow.
  9758  	// The supported events are: * `sys.no-match-`, where N can be from 1 to 6 *
  9759  	// `sys.no-match-default` * `sys.no-input-`, where N can be from 1 to 6 *
  9760  	// `sys.no-input-default` * `sys.invalid-parameter`
  9761  	// `initial_prompt_fulfillment` provides the first prompt for the parameter. If
  9762  	// the user's response does not fill the parameter, a no-match/no-input event
  9763  	// will be triggered, and the fulfillment associated with the
  9764  	// `sys.no-match-1`/`sys.no-input-1` handler (if defined) will be called to
  9765  	// provide a prompt. The `sys.no-match-2`/`sys.no-input-2` handler (if defined)
  9766  	// will respond to the next no-match/no-input event, and so on. A
  9767  	// `sys.no-match-default` or `sys.no-input-default` handler will be used to
  9768  	// handle all following no-match/no-input events after all numbered
  9769  	// no-match/no-input handlers for the parameter are consumed. A
  9770  	// `sys.invalid-parameter` handler can be defined to handle the case where the
  9771  	// parameter values have been `invalidated` by webhook. For example, if the
  9772  	// user's response fill the parameter, however the parameter was invalidated by
  9773  	// webhook, the fulfillment associated with the `sys.invalid-parameter` handler
  9774  	// (if defined) will be called to provide a prompt. If the event handler for
  9775  	// the corresponding event can't be found on the parameter,
  9776  	// `initial_prompt_fulfillment` will be re-prompted.
  9777  	RepromptEventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"repromptEventHandlers,omitempty"`
  9778  	// ForceSendFields is a list of field names (e.g. "InitialPromptFulfillment")
  9779  	// to unconditionally include in API requests. By default, fields with empty or
  9780  	// default values are omitted from API requests. See
  9781  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9782  	// details.
  9783  	ForceSendFields []string `json:"-"`
  9784  	// NullFields is a list of field names (e.g. "InitialPromptFulfillment") to
  9785  	// include in API requests with the JSON null value. By default, fields with
  9786  	// empty values are omitted from API requests. See
  9787  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9788  	NullFields []string `json:"-"`
  9789  }
  9790  
  9791  func (s *GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior) MarshalJSON() ([]byte, error) {
  9792  	type NoMethod GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior
  9793  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9794  }
  9795  
  9796  // GoogleCloudDialogflowCxV3beta1Fulfillment: A fulfillment can do one or more
  9797  // of the following actions at the same time: * Generate rich message
  9798  // responses. * Set parameter values. * Call the webhook. Fulfillments can be
  9799  // called at various stages in the Page or Form lifecycle. For example, when a
  9800  // DetectIntentRequest drives a session to enter a new page, the page's entry
  9801  // fulfillment can add a static response to the QueryResult in the returning
  9802  // DetectIntentResponse, call the webhook (for example, to load user data from
  9803  // a database), or both.
  9804  type GoogleCloudDialogflowCxV3beta1Fulfillment struct {
  9805  	// AdvancedSettings: Hierarchical advanced settings for this fulfillment. The
  9806  	// settings exposed at the lower level overrides the settings exposed at the
  9807  	// higher level.
  9808  	AdvancedSettings *GoogleCloudDialogflowCxV3beta1AdvancedSettings `json:"advancedSettings,omitempty"`
  9809  	// ConditionalCases: Conditional cases for this fulfillment.
  9810  	ConditionalCases []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases `json:"conditionalCases,omitempty"`
  9811  	// EnableGenerativeFallback: If the flag is true, the agent will utilize LLM to
  9812  	// generate a text response. If LLM generation fails, the defined responses in
  9813  	// the fulfillment will be respected. This flag is only useful for fulfillments
  9814  	// associated with no-match event handlers.
  9815  	EnableGenerativeFallback bool `json:"enableGenerativeFallback,omitempty"`
  9816  	// Messages: The list of rich message responses to present to the user.
  9817  	Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"`
  9818  	// ReturnPartialResponses: Whether Dialogflow should return currently queued
  9819  	// fulfillment response messages in streaming APIs. If a webhook is specified,
  9820  	// it happens before Dialogflow invokes webhook. Warning: 1) This flag only
  9821  	// affects streaming API. Responses are still queued and returned once in
  9822  	// non-streaming API. 2) The flag can be enabled in any fulfillment but only
  9823  	// the first 3 partial responses will be returned. You may only want to apply
  9824  	// it to fulfillments that have slow webhooks.
  9825  	ReturnPartialResponses bool `json:"returnPartialResponses,omitempty"`
  9826  	// SetParameterActions: Set parameter values before executing the webhook.
  9827  	SetParameterActions []*GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction `json:"setParameterActions,omitempty"`
  9828  	// Tag: The value of this field will be populated in the WebhookRequest
  9829  	// `fulfillmentInfo.tag` field by Dialogflow when the associated webhook is
  9830  	// called. The tag is typically used by the webhook service to identify which
  9831  	// fulfillment is being called, but it could be used for other purposes. This
  9832  	// field is required if `webhook` is specified.
  9833  	Tag string `json:"tag,omitempty"`
  9834  	// Webhook: The webhook to call. Format:
  9835  	// `projects//locations//agents//webhooks/`.
  9836  	Webhook string `json:"webhook,omitempty"`
  9837  	// ForceSendFields is a list of field names (e.g. "AdvancedSettings") to
  9838  	// unconditionally include in API requests. By default, fields with empty or
  9839  	// default values are omitted from API requests. See
  9840  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9841  	// details.
  9842  	ForceSendFields []string `json:"-"`
  9843  	// NullFields is a list of field names (e.g. "AdvancedSettings") to include in
  9844  	// API requests with the JSON null value. By default, fields with empty values
  9845  	// are omitted from API requests. See
  9846  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9847  	NullFields []string `json:"-"`
  9848  }
  9849  
  9850  func (s *GoogleCloudDialogflowCxV3beta1Fulfillment) MarshalJSON() ([]byte, error) {
  9851  	type NoMethod GoogleCloudDialogflowCxV3beta1Fulfillment
  9852  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9853  }
  9854  
  9855  // GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases: A list of
  9856  // cascading if-else conditions. Cases are mutually exclusive. The first one
  9857  // with a matching condition is selected, all the rest ignored.
  9858  type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases struct {
  9859  	// Cases: A list of cascading if-else conditions.
  9860  	Cases []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase `json:"cases,omitempty"`
  9861  	// ForceSendFields is a list of field names (e.g. "Cases") to unconditionally
  9862  	// include in API requests. By default, fields with empty or default values are
  9863  	// omitted from API requests. See
  9864  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9865  	// details.
  9866  	ForceSendFields []string `json:"-"`
  9867  	// NullFields is a list of field names (e.g. "Cases") to include in API
  9868  	// requests with the JSON null value. By default, fields with empty values are
  9869  	// omitted from API requests. See
  9870  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9871  	NullFields []string `json:"-"`
  9872  }
  9873  
  9874  func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases) MarshalJSON() ([]byte, error) {
  9875  	type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases
  9876  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9877  }
  9878  
  9879  // GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase: Each case has
  9880  // a Boolean condition. When it is evaluated to be True, the corresponding
  9881  // messages will be selected and evaluated recursively.
  9882  type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase struct {
  9883  	// CaseContent: A list of case content.
  9884  	CaseContent []*GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent `json:"caseContent,omitempty"`
  9885  	// Condition: The condition to activate and select this case. Empty means the
  9886  	// condition is always true. The condition is evaluated against form parameters
  9887  	// or session parameters. See the conditions reference
  9888  	// (https://cloud.google.com/dialogflow/cx/docs/reference/condition).
  9889  	Condition string `json:"condition,omitempty"`
  9890  	// ForceSendFields is a list of field names (e.g. "CaseContent") to
  9891  	// unconditionally include in API requests. By default, fields with empty or
  9892  	// default values are omitted from API requests. See
  9893  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9894  	// details.
  9895  	ForceSendFields []string `json:"-"`
  9896  	// NullFields is a list of field names (e.g. "CaseContent") to include in API
  9897  	// requests with the JSON null value. By default, fields with empty values are
  9898  	// omitted from API requests. See
  9899  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9900  	NullFields []string `json:"-"`
  9901  }
  9902  
  9903  func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase) MarshalJSON() ([]byte, error) {
  9904  	type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase
  9905  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9906  }
  9907  
  9908  // GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent:
  9909  // The list of messages or conditional cases to activate for this case.
  9910  type GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent struct {
  9911  	// AdditionalCases: Additional cases to be evaluated.
  9912  	AdditionalCases *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases `json:"additionalCases,omitempty"`
  9913  	// Message: Returned message.
  9914  	Message *GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"message,omitempty"`
  9915  	// ForceSendFields is a list of field names (e.g. "AdditionalCases") to
  9916  	// unconditionally include in API requests. By default, fields with empty or
  9917  	// default values are omitted from API requests. See
  9918  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9919  	// details.
  9920  	ForceSendFields []string `json:"-"`
  9921  	// NullFields is a list of field names (e.g. "AdditionalCases") to include in
  9922  	// API requests with the JSON null value. By default, fields with empty values
  9923  	// are omitted from API requests. See
  9924  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9925  	NullFields []string `json:"-"`
  9926  }
  9927  
  9928  func (s *GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent) MarshalJSON() ([]byte, error) {
  9929  	type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent
  9930  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9931  }
  9932  
  9933  // GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction: Setting a
  9934  // parameter value.
  9935  type GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction struct {
  9936  	// Parameter: Display name of the parameter.
  9937  	Parameter string `json:"parameter,omitempty"`
  9938  	// Value: The new value of the parameter. A null value clears the parameter.
  9939  	Value interface{} `json:"value,omitempty"`
  9940  	// ForceSendFields is a list of field names (e.g. "Parameter") to
  9941  	// unconditionally include in API requests. By default, fields with empty or
  9942  	// default values are omitted from API requests. See
  9943  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9944  	// details.
  9945  	ForceSendFields []string `json:"-"`
  9946  	// NullFields is a list of field names (e.g. "Parameter") to include in API
  9947  	// requests with the JSON null value. By default, fields with empty values are
  9948  	// omitted from API requests. See
  9949  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9950  	NullFields []string `json:"-"`
  9951  }
  9952  
  9953  func (s *GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction) MarshalJSON() ([]byte, error) {
  9954  	type NoMethod GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction
  9955  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9956  }
  9957  
  9958  // GoogleCloudDialogflowCxV3beta1GcsDestination: Google Cloud Storage location
  9959  // for a Dialogflow operation that writes or exports objects (e.g. exported
  9960  // agent or transcripts) outside of Dialogflow.
  9961  type GoogleCloudDialogflowCxV3beta1GcsDestination struct {
  9962  	// Uri: Required. The Google Cloud Storage URI for the exported objects. A URI
  9963  	// is of the form: `gs://bucket/object-name-or-prefix` Whether a full object
  9964  	// name, or just a prefix, its usage depends on the Dialogflow operation.
  9965  	Uri string `json:"uri,omitempty"`
  9966  	// ForceSendFields is a list of field names (e.g. "Uri") to unconditionally
  9967  	// include in API requests. By default, fields with empty or default values are
  9968  	// omitted from API requests. See
  9969  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9970  	// details.
  9971  	ForceSendFields []string `json:"-"`
  9972  	// NullFields is a list of field names (e.g. "Uri") to include in API requests
  9973  	// with the JSON null value. By default, fields with empty values are omitted
  9974  	// from API requests. See
  9975  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
  9976  	NullFields []string `json:"-"`
  9977  }
  9978  
  9979  func (s *GoogleCloudDialogflowCxV3beta1GcsDestination) MarshalJSON() ([]byte, error) {
  9980  	type NoMethod GoogleCloudDialogflowCxV3beta1GcsDestination
  9981  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
  9982  }
  9983  
  9984  // GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata: Metadata in
  9985  // google::longrunning::Operation for Knowledge operations.
  9986  type GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata struct {
  9987  	// State: Required. Output only. The current state of this operation.
  9988  	//
  9989  	// Possible values:
  9990  	//   "STATE_UNSPECIFIED" - State unspecified.
  9991  	//   "PENDING" - The operation has been created.
  9992  	//   "RUNNING" - The operation is currently running.
  9993  	//   "DONE" - The operation is done, either cancelled or completed.
  9994  	State string `json:"state,omitempty"`
  9995  	// ForceSendFields is a list of field names (e.g. "State") to unconditionally
  9996  	// include in API requests. By default, fields with empty or default values are
  9997  	// omitted from API requests. See
  9998  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
  9999  	// details.
 10000  	ForceSendFields []string `json:"-"`
 10001  	// NullFields is a list of field names (e.g. "State") to include in API
 10002  	// requests with the JSON null value. By default, fields with empty values are
 10003  	// omitted from API requests. See
 10004  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10005  	NullFields []string `json:"-"`
 10006  }
 10007  
 10008  func (s *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error) {
 10009  	type NoMethod GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata
 10010  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10011  }
 10012  
 10013  // GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata: Metadata for
 10014  // ImportDocuments operation.
 10015  type GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata struct {
 10016  	// GenericMetadata: The generic information of the operation.
 10017  	GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"`
 10018  	// ForceSendFields is a list of field names (e.g. "GenericMetadata") to
 10019  	// unconditionally include in API requests. By default, fields with empty or
 10020  	// default values are omitted from API requests. See
 10021  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10022  	// details.
 10023  	ForceSendFields []string `json:"-"`
 10024  	// NullFields is a list of field names (e.g. "GenericMetadata") to include in
 10025  	// API requests with the JSON null value. By default, fields with empty values
 10026  	// are omitted from API requests. See
 10027  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10028  	NullFields []string `json:"-"`
 10029  }
 10030  
 10031  func (s *GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error) {
 10032  	type NoMethod GoogleCloudDialogflowCxV3beta1ImportDocumentsOperationMetadata
 10033  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10034  }
 10035  
 10036  // GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse: Response message for
 10037  // Documents.ImportDocuments.
 10038  type GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse struct {
 10039  	// Warnings: Includes details about skipped documents or any other warnings.
 10040  	Warnings []*GoogleRpcStatus `json:"warnings,omitempty"`
 10041  	// ForceSendFields is a list of field names (e.g. "Warnings") to
 10042  	// unconditionally include in API requests. By default, fields with empty or
 10043  	// default values are omitted from API requests. See
 10044  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10045  	// details.
 10046  	ForceSendFields []string `json:"-"`
 10047  	// NullFields is a list of field names (e.g. "Warnings") to include in API
 10048  	// requests with the JSON null value. By default, fields with empty values are
 10049  	// omitted from API requests. See
 10050  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10051  	NullFields []string `json:"-"`
 10052  }
 10053  
 10054  func (s *GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse) MarshalJSON() ([]byte, error) {
 10055  	type NoMethod GoogleCloudDialogflowCxV3beta1ImportDocumentsResponse
 10056  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10057  }
 10058  
 10059  // GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata: Metadata returned
 10060  // for the EntityTypes.ImportEntityTypes long running operation.
 10061  type GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata struct {
 10062  }
 10063  
 10064  // GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse: The response
 10065  // message for EntityTypes.ImportEntityTypes.
 10066  type GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse struct {
 10067  	// ConflictingResources: Info which resources have conflicts when
 10068  	// REPORT_CONFLICT merge_option is set in ImportEntityTypesRequest.
 10069  	ConflictingResources *GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources `json:"conflictingResources,omitempty"`
 10070  	// EntityTypes: The unique identifier of the imported entity types. Format:
 10071  	// `projects//locations//agents//entity_types/`.
 10072  	EntityTypes []string `json:"entityTypes,omitempty"`
 10073  	// ForceSendFields is a list of field names (e.g. "ConflictingResources") to
 10074  	// unconditionally include in API requests. By default, fields with empty or
 10075  	// default values are omitted from API requests. See
 10076  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10077  	// details.
 10078  	ForceSendFields []string `json:"-"`
 10079  	// NullFields is a list of field names (e.g. "ConflictingResources") to include
 10080  	// in API requests with the JSON null value. By default, fields with empty
 10081  	// values are omitted from API requests. See
 10082  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10083  	NullFields []string `json:"-"`
 10084  }
 10085  
 10086  func (s *GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse) MarshalJSON() ([]byte, error) {
 10087  	type NoMethod GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse
 10088  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10089  }
 10090  
 10091  // GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources:
 10092  // Conflicting resources detected during the import process. Only filled when
 10093  // REPORT_CONFLICT is set in the request and there are conflicts in the display
 10094  // names.
 10095  type GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources struct {
 10096  	// EntityDisplayNames: Display names of conflicting entities.
 10097  	EntityDisplayNames []string `json:"entityDisplayNames,omitempty"`
 10098  	// EntityTypeDisplayNames: Display names of conflicting entity types.
 10099  	EntityTypeDisplayNames []string `json:"entityTypeDisplayNames,omitempty"`
 10100  	// ForceSendFields is a list of field names (e.g. "EntityDisplayNames") to
 10101  	// unconditionally include in API requests. By default, fields with empty or
 10102  	// default values are omitted from API requests. See
 10103  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10104  	// details.
 10105  	ForceSendFields []string `json:"-"`
 10106  	// NullFields is a list of field names (e.g. "EntityDisplayNames") to include
 10107  	// in API requests with the JSON null value. By default, fields with empty
 10108  	// values are omitted from API requests. See
 10109  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10110  	NullFields []string `json:"-"`
 10111  }
 10112  
 10113  func (s *GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources) MarshalJSON() ([]byte, error) {
 10114  	type NoMethod GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources
 10115  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10116  }
 10117  
 10118  // GoogleCloudDialogflowCxV3beta1ImportFlowResponse: The response message for
 10119  // Flows.ImportFlow.
 10120  type GoogleCloudDialogflowCxV3beta1ImportFlowResponse struct {
 10121  	// Flow: The unique identifier of the new flow. Format:
 10122  	// `projects//locations//agents//flows/`.
 10123  	Flow string `json:"flow,omitempty"`
 10124  	// ForceSendFields is a list of field names (e.g. "Flow") to unconditionally
 10125  	// include in API requests. By default, fields with empty or default values are
 10126  	// omitted from API requests. See
 10127  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10128  	// details.
 10129  	ForceSendFields []string `json:"-"`
 10130  	// NullFields is a list of field names (e.g. "Flow") to include in API requests
 10131  	// with the JSON null value. By default, fields with empty values are omitted
 10132  	// from API requests. See
 10133  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10134  	NullFields []string `json:"-"`
 10135  }
 10136  
 10137  func (s *GoogleCloudDialogflowCxV3beta1ImportFlowResponse) MarshalJSON() ([]byte, error) {
 10138  	type NoMethod GoogleCloudDialogflowCxV3beta1ImportFlowResponse
 10139  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10140  }
 10141  
 10142  // GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata: Metadata returned for
 10143  // the Intents.ImportIntents long running operation.
 10144  type GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata struct {
 10145  }
 10146  
 10147  // GoogleCloudDialogflowCxV3beta1ImportIntentsResponse: The response message
 10148  // for Intents.ImportIntents.
 10149  type GoogleCloudDialogflowCxV3beta1ImportIntentsResponse struct {
 10150  	// ConflictingResources: Info which resources have conflicts when
 10151  	// REPORT_CONFLICT merge_option is set in ImportIntentsRequest.
 10152  	ConflictingResources *GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources `json:"conflictingResources,omitempty"`
 10153  	// Intents: The unique identifier of the imported intents. Format:
 10154  	// `projects//locations//agents//intents/`.
 10155  	Intents []string `json:"intents,omitempty"`
 10156  	// ForceSendFields is a list of field names (e.g. "ConflictingResources") to
 10157  	// unconditionally include in API requests. By default, fields with empty or
 10158  	// default values are omitted from API requests. See
 10159  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10160  	// details.
 10161  	ForceSendFields []string `json:"-"`
 10162  	// NullFields is a list of field names (e.g. "ConflictingResources") to include
 10163  	// in API requests with the JSON null value. By default, fields with empty
 10164  	// values are omitted from API requests. See
 10165  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10166  	NullFields []string `json:"-"`
 10167  }
 10168  
 10169  func (s *GoogleCloudDialogflowCxV3beta1ImportIntentsResponse) MarshalJSON() ([]byte, error) {
 10170  	type NoMethod GoogleCloudDialogflowCxV3beta1ImportIntentsResponse
 10171  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10172  }
 10173  
 10174  // GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources:
 10175  // Conflicting resources detected during the import process. Only filled when
 10176  // REPORT_CONFLICT is set in the request and there are conflicts in the display
 10177  // names.
 10178  type GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources struct {
 10179  	// EntityDisplayNames: Display names of conflicting entities.
 10180  	EntityDisplayNames []string `json:"entityDisplayNames,omitempty"`
 10181  	// IntentDisplayNames: Display names of conflicting intents.
 10182  	IntentDisplayNames []string `json:"intentDisplayNames,omitempty"`
 10183  	// ForceSendFields is a list of field names (e.g. "EntityDisplayNames") to
 10184  	// unconditionally include in API requests. By default, fields with empty or
 10185  	// default values are omitted from API requests. See
 10186  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10187  	// details.
 10188  	ForceSendFields []string `json:"-"`
 10189  	// NullFields is a list of field names (e.g. "EntityDisplayNames") to include
 10190  	// in API requests with the JSON null value. By default, fields with empty
 10191  	// values are omitted from API requests. See
 10192  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10193  	NullFields []string `json:"-"`
 10194  }
 10195  
 10196  func (s *GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources) MarshalJSON() ([]byte, error) {
 10197  	type NoMethod GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources
 10198  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10199  }
 10200  
 10201  // GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata: Metadata returned for
 10202  // the TestCases.ImportTestCases long running operation.
 10203  type GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata struct {
 10204  	// Errors: Errors for failed test cases.
 10205  	Errors []*GoogleCloudDialogflowCxV3beta1TestCaseError `json:"errors,omitempty"`
 10206  	// ForceSendFields is a list of field names (e.g. "Errors") to unconditionally
 10207  	// include in API requests. By default, fields with empty or default values are
 10208  	// omitted from API requests. See
 10209  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10210  	// details.
 10211  	ForceSendFields []string `json:"-"`
 10212  	// NullFields is a list of field names (e.g. "Errors") to include in API
 10213  	// requests with the JSON null value. By default, fields with empty values are
 10214  	// omitted from API requests. See
 10215  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10216  	NullFields []string `json:"-"`
 10217  }
 10218  
 10219  func (s *GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata) MarshalJSON() ([]byte, error) {
 10220  	type NoMethod GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
 10221  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10222  }
 10223  
 10224  // GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse: The response message
 10225  // for TestCases.ImportTestCases.
 10226  type GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse struct {
 10227  	// Names: The unique identifiers of the new test cases. Format:
 10228  	// `projects//locations//agents//testCases/`.
 10229  	Names []string `json:"names,omitempty"`
 10230  	// ForceSendFields is a list of field names (e.g. "Names") to unconditionally
 10231  	// include in API requests. By default, fields with empty or default values are
 10232  	// omitted from API requests. See
 10233  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10234  	// details.
 10235  	ForceSendFields []string `json:"-"`
 10236  	// NullFields is a list of field names (e.g. "Names") to include in API
 10237  	// requests with the JSON null value. By default, fields with empty values are
 10238  	// omitted from API requests. See
 10239  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10240  	NullFields []string `json:"-"`
 10241  }
 10242  
 10243  func (s *GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse) MarshalJSON() ([]byte, error) {
 10244  	type NoMethod GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse
 10245  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10246  }
 10247  
 10248  // GoogleCloudDialogflowCxV3beta1InlineDestination: Inline destination for a
 10249  // Dialogflow operation that writes or exports objects (e.g. intents) outside
 10250  // of Dialogflow.
 10251  type GoogleCloudDialogflowCxV3beta1InlineDestination struct {
 10252  	// Content: Output only. The uncompressed byte content for the objects. Only
 10253  	// populated in responses.
 10254  	Content string `json:"content,omitempty"`
 10255  	// ForceSendFields is a list of field names (e.g. "Content") to unconditionally
 10256  	// include in API requests. By default, fields with empty or default values are
 10257  	// omitted from API requests. See
 10258  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10259  	// details.
 10260  	ForceSendFields []string `json:"-"`
 10261  	// NullFields is a list of field names (e.g. "Content") to include in API
 10262  	// requests with the JSON null value. By default, fields with empty values are
 10263  	// omitted from API requests. See
 10264  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10265  	NullFields []string `json:"-"`
 10266  }
 10267  
 10268  func (s *GoogleCloudDialogflowCxV3beta1InlineDestination) MarshalJSON() ([]byte, error) {
 10269  	type NoMethod GoogleCloudDialogflowCxV3beta1InlineDestination
 10270  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10271  }
 10272  
 10273  // GoogleCloudDialogflowCxV3beta1InputAudioConfig: Instructs the speech
 10274  // recognizer on how to process the audio content.
 10275  type GoogleCloudDialogflowCxV3beta1InputAudioConfig struct {
 10276  	// AudioEncoding: Required. Audio encoding of the audio content to process.
 10277  	//
 10278  	// Possible values:
 10279  	//   "AUDIO_ENCODING_UNSPECIFIED" - Not specified.
 10280  	//   "AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed little-endian
 10281  	// samples (Linear PCM).
 10282  	//   "AUDIO_ENCODING_FLAC" - [`FLAC`](https://xiph.org/flac/documentation.html)
 10283  	// (Free Lossless Audio Codec) is the recommended encoding because it is
 10284  	// lossless (therefore recognition is not compromised) and requires only about
 10285  	// half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and
 10286  	// 24-bit samples, however, not all fields in `STREAMINFO` are supported.
 10287  	//   "AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit audio samples
 10288  	// using G.711 PCMU/mu-law.
 10289  	//   "AUDIO_ENCODING_AMR" - Adaptive Multi-Rate Narrowband codec.
 10290  	// `sample_rate_hertz` must be 8000.
 10291  	//   "AUDIO_ENCODING_AMR_WB" - Adaptive Multi-Rate Wideband codec.
 10292  	// `sample_rate_hertz` must be 16000.
 10293  	//   "AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio frames in Ogg container
 10294  	// ([OggOpus](https://wiki.xiph.org/OggOpus)). `sample_rate_hertz` must be
 10295  	// 16000.
 10296  	//   "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" - Although the use of lossy
 10297  	// encodings is not recommended, if a very low bitrate encoding is required,
 10298  	// `OGG_OPUS` is highly preferred over Speex encoding. The
 10299  	// [Speex](https://speex.org/) encoding supported by Dialogflow API has a
 10300  	// header byte in each block, as in MIME type `audio/x-speex-with-header-byte`.
 10301  	// It is a variant of the RTP Speex encoding defined in [RFC
 10302  	// 5574](https://tools.ietf.org/html/rfc5574). The stream is a sequence of
 10303  	// blocks, one block per RTP packet. Each block starts with a byte containing
 10304  	// the length of the block, in bytes, followed by one or more frames of Speex
 10305  	// data, padded to an integral number of bytes (octets) as specified in RFC
 10306  	// 5574. In other words, each RTP header is replaced with a single byte
 10307  	// containing the block length. Only Speex wideband is supported.
 10308  	// `sample_rate_hertz` must be 16000.
 10309  	AudioEncoding string `json:"audioEncoding,omitempty"`
 10310  	// BargeInConfig: Configuration of barge-in behavior during the streaming of
 10311  	// input audio.
 10312  	BargeInConfig *GoogleCloudDialogflowCxV3beta1BargeInConfig `json:"bargeInConfig,omitempty"`
 10313  	// EnableWordInfo: Optional. If `true`, Dialogflow returns SpeechWordInfo in
 10314  	// StreamingRecognitionResult with information about the recognized speech
 10315  	// words, e.g. start and end time offsets. If false or unspecified, Speech
 10316  	// doesn't return any word-level information.
 10317  	EnableWordInfo bool `json:"enableWordInfo,omitempty"`
 10318  	// Model: Optional. Which Speech model to select for the given request. For
 10319  	// more information, see Speech models
 10320  	// (https://cloud.google.com/dialogflow/cx/docs/concept/speech-models).
 10321  	Model string `json:"model,omitempty"`
 10322  	// ModelVariant: Optional. Which variant of the Speech model to use.
 10323  	//
 10324  	// Possible values:
 10325  	//   "SPEECH_MODEL_VARIANT_UNSPECIFIED" - No model variant specified. In this
 10326  	// case Dialogflow defaults to USE_BEST_AVAILABLE.
 10327  	//   "USE_BEST_AVAILABLE" - Use the best available variant of the Speech model
 10328  	// that the caller is eligible for.
 10329  	//   "USE_STANDARD" - Use standard model variant even if an enhanced model is
 10330  	// available. See the [Cloud Speech
 10331  	// documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
 10332  	// for details about enhanced models.
 10333  	//   "USE_ENHANCED" - Use an enhanced model variant: * If an enhanced variant
 10334  	// does not exist for the given model and request language, Dialogflow falls
 10335  	// back to the standard variant. The [Cloud Speech
 10336  	// documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models)
 10337  	// describes which models have enhanced variants.
 10338  	ModelVariant string `json:"modelVariant,omitempty"`
 10339  	// OptOutConformerModelMigration: If `true`, the request will opt out for STT
 10340  	// conformer model migration. This field will be deprecated once force
 10341  	// migration takes place in June 2024. Please refer to Dialogflow CX Speech
 10342  	// model migration
 10343  	// (https://cloud.google.com/dialogflow/cx/docs/concept/speech-model-migration).
 10344  	OptOutConformerModelMigration bool `json:"optOutConformerModelMigration,omitempty"`
 10345  	// PhraseHints: Optional. A list of strings containing words and phrases that
 10346  	// the speech recognizer should recognize with higher likelihood. See the Cloud
 10347  	// Speech documentation
 10348  	// (https://cloud.google.com/speech-to-text/docs/basics#phrase-hints) for more
 10349  	// details.
 10350  	PhraseHints []string `json:"phraseHints,omitempty"`
 10351  	// SampleRateHertz: Sample rate (in Hertz) of the audio content sent in the
 10352  	// query. Refer to Cloud Speech API documentation
 10353  	// (https://cloud.google.com/speech-to-text/docs/basics) for more details.
 10354  	SampleRateHertz int64 `json:"sampleRateHertz,omitempty"`
 10355  	// SingleUtterance: Optional. If `false` (default), recognition does not cease
 10356  	// until the client closes the stream. If `true`, the recognizer will detect a
 10357  	// single spoken utterance in input audio. Recognition ceases when it detects
 10358  	// the audio's voice has stopped or paused. In this case, once a detected
 10359  	// intent is received, the client should close the stream and start a new
 10360  	// request with a new stream as needed. Note: This setting is relevant only for
 10361  	// streaming methods.
 10362  	SingleUtterance bool `json:"singleUtterance,omitempty"`
 10363  	// ForceSendFields is a list of field names (e.g. "AudioEncoding") to
 10364  	// unconditionally include in API requests. By default, fields with empty or
 10365  	// default values are omitted from API requests. See
 10366  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10367  	// details.
 10368  	ForceSendFields []string `json:"-"`
 10369  	// NullFields is a list of field names (e.g. "AudioEncoding") to include in API
 10370  	// requests with the JSON null value. By default, fields with empty values are
 10371  	// omitted from API requests. See
 10372  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10373  	NullFields []string `json:"-"`
 10374  }
 10375  
 10376  func (s *GoogleCloudDialogflowCxV3beta1InputAudioConfig) MarshalJSON() ([]byte, error) {
 10377  	type NoMethod GoogleCloudDialogflowCxV3beta1InputAudioConfig
 10378  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10379  }
 10380  
 10381  // GoogleCloudDialogflowCxV3beta1Intent: An intent represents a user's intent
 10382  // to interact with a conversational agent. You can provide information for the
 10383  // Dialogflow API to use to match user input to an intent by adding training
 10384  // phrases (i.e., examples of user input) to your intent.
 10385  type GoogleCloudDialogflowCxV3beta1Intent struct {
 10386  	// Description: Human readable description for better understanding an intent
 10387  	// like its scope, content, result etc. Maximum character limit: 140
 10388  	// characters.
 10389  	Description string `json:"description,omitempty"`
 10390  	// DisplayName: Required. The human-readable name of the intent, unique within
 10391  	// the agent.
 10392  	DisplayName string `json:"displayName,omitempty"`
 10393  	// IsFallback: Indicates whether this is a fallback intent. Currently only
 10394  	// default fallback intent is allowed in the agent, which is added upon agent
 10395  	// creation. Adding training phrases to fallback intent is useful in the case
 10396  	// of requests that are mistakenly matched, since training phrases assigned to
 10397  	// fallback intents act as negative examples that triggers no-match event.
 10398  	IsFallback bool `json:"isFallback,omitempty"`
 10399  	// Labels: The key/value metadata to label an intent. Labels can contain
 10400  	// lowercase letters, digits and the symbols '-' and '_'. International
 10401  	// characters are allowed, including letters from unicase alphabets. Keys must
 10402  	// start with a letter. Keys and values can be no longer than 63 characters and
 10403  	// no more than 128 bytes. Prefix "sys-" is reserved for Dialogflow defined
 10404  	// labels. Currently allowed Dialogflow defined labels include: * sys-head *
 10405  	// sys-contextual The above labels do not require value. "sys-head" means the
 10406  	// intent is a head intent. "sys-contextual" means the intent is a contextual
 10407  	// intent.
 10408  	Labels map[string]string `json:"labels,omitempty"`
 10409  	// Name: The unique identifier of the intent. Required for the
 10410  	// Intents.UpdateIntent method. Intents.CreateIntent populates the name
 10411  	// automatically. Format: `projects//locations//agents//intents/`.
 10412  	Name string `json:"name,omitempty"`
 10413  	// Parameters: The collection of parameters associated with the intent.
 10414  	Parameters []*GoogleCloudDialogflowCxV3beta1IntentParameter `json:"parameters,omitempty"`
 10415  	// Priority: The priority of this intent. Higher numbers represent higher
 10416  	// priorities. - If the supplied value is unspecified or 0, the service
 10417  	// translates the value to 500,000, which corresponds to the `Normal` priority
 10418  	// in the console. - If the supplied value is negative, the intent is ignored
 10419  	// in runtime detect intent requests.
 10420  	Priority int64 `json:"priority,omitempty"`
 10421  	// TrainingPhrases: The collection of training phrases the agent is trained on
 10422  	// to identify the intent.
 10423  	TrainingPhrases []*GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase `json:"trainingPhrases,omitempty"`
 10424  	// ForceSendFields is a list of field names (e.g. "Description") to
 10425  	// unconditionally include in API requests. By default, fields with empty or
 10426  	// default values are omitted from API requests. See
 10427  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10428  	// details.
 10429  	ForceSendFields []string `json:"-"`
 10430  	// NullFields is a list of field names (e.g. "Description") to include in API
 10431  	// requests with the JSON null value. By default, fields with empty values are
 10432  	// omitted from API requests. See
 10433  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10434  	NullFields []string `json:"-"`
 10435  }
 10436  
 10437  func (s *GoogleCloudDialogflowCxV3beta1Intent) MarshalJSON() ([]byte, error) {
 10438  	type NoMethod GoogleCloudDialogflowCxV3beta1Intent
 10439  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10440  }
 10441  
 10442  // GoogleCloudDialogflowCxV3beta1IntentInput: Represents the intent to trigger
 10443  // programmatically rather than as a result of natural language processing.
 10444  type GoogleCloudDialogflowCxV3beta1IntentInput struct {
 10445  	// Intent: Required. The unique identifier of the intent. Format:
 10446  	// `projects//locations//agents//intents/`.
 10447  	Intent string `json:"intent,omitempty"`
 10448  	// ForceSendFields is a list of field names (e.g. "Intent") to unconditionally
 10449  	// include in API requests. By default, fields with empty or default values are
 10450  	// omitted from API requests. See
 10451  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10452  	// details.
 10453  	ForceSendFields []string `json:"-"`
 10454  	// NullFields is a list of field names (e.g. "Intent") to include in API
 10455  	// requests with the JSON null value. By default, fields with empty values are
 10456  	// omitted from API requests. See
 10457  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10458  	NullFields []string `json:"-"`
 10459  }
 10460  
 10461  func (s *GoogleCloudDialogflowCxV3beta1IntentInput) MarshalJSON() ([]byte, error) {
 10462  	type NoMethod GoogleCloudDialogflowCxV3beta1IntentInput
 10463  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10464  }
 10465  
 10466  // GoogleCloudDialogflowCxV3beta1IntentParameter: Represents an intent
 10467  // parameter.
 10468  type GoogleCloudDialogflowCxV3beta1IntentParameter struct {
 10469  	// EntityType: Required. The entity type of the parameter. Format:
 10470  	// `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for
 10471  	// example, `projects/-/locations/-/agents/-/entityTypes/sys.date`), or
 10472  	// `projects//locations//agents//entityTypes/` for developer entity types.
 10473  	EntityType string `json:"entityType,omitempty"`
 10474  	// Id: Required. The unique identifier of the parameter. This field is used by
 10475  	// training phrases to annotate their parts.
 10476  	Id string `json:"id,omitempty"`
 10477  	// IsList: Indicates whether the parameter represents a list of values.
 10478  	IsList bool `json:"isList,omitempty"`
 10479  	// Redact: Indicates whether the parameter content should be redacted in log.
 10480  	// If redaction is enabled, the parameter content will be replaced by parameter
 10481  	// name during logging. Note: the parameter content is subject to redaction if
 10482  	// either parameter level redaction or entity type level redaction is enabled.
 10483  	Redact bool `json:"redact,omitempty"`
 10484  	// ForceSendFields is a list of field names (e.g. "EntityType") to
 10485  	// unconditionally include in API requests. By default, fields with empty or
 10486  	// default values are omitted from API requests. See
 10487  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10488  	// details.
 10489  	ForceSendFields []string `json:"-"`
 10490  	// NullFields is a list of field names (e.g. "EntityType") to include in API
 10491  	// requests with the JSON null value. By default, fields with empty values are
 10492  	// omitted from API requests. See
 10493  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10494  	NullFields []string `json:"-"`
 10495  }
 10496  
 10497  func (s *GoogleCloudDialogflowCxV3beta1IntentParameter) MarshalJSON() ([]byte, error) {
 10498  	type NoMethod GoogleCloudDialogflowCxV3beta1IntentParameter
 10499  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10500  }
 10501  
 10502  // GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase: Represents an example
 10503  // that the agent is trained on to identify the intent.
 10504  type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase struct {
 10505  	// Id: Output only. The unique identifier of the training phrase.
 10506  	Id string `json:"id,omitempty"`
 10507  	// Parts: Required. The ordered list of training phrase parts. The parts are
 10508  	// concatenated in order to form the training phrase. Note: The API does not
 10509  	// automatically annotate training phrases like the Dialogflow Console does.
 10510  	// Note: Do not forget to include whitespace at part boundaries, so the
 10511  	// training phrase is well formatted when the parts are concatenated. If the
 10512  	// training phrase does not need to be annotated with parameters, you just need
 10513  	// a single part with only the Part.text field set. If you want to annotate the
 10514  	// training phrase, you must create multiple parts, where the fields of each
 10515  	// part are populated in one of two ways: - `Part.text` is set to a part of the
 10516  	// phrase that has no parameters. - `Part.text` is set to a part of the phrase
 10517  	// that you want to annotate, and the `parameter_id` field is set.
 10518  	Parts []*GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart `json:"parts,omitempty"`
 10519  	// RepeatCount: Indicates how many times this example was added to the intent.
 10520  	RepeatCount int64 `json:"repeatCount,omitempty"`
 10521  	// ForceSendFields is a list of field names (e.g. "Id") to unconditionally
 10522  	// include in API requests. By default, fields with empty or default values are
 10523  	// omitted from API requests. See
 10524  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10525  	// details.
 10526  	ForceSendFields []string `json:"-"`
 10527  	// NullFields is a list of field names (e.g. "Id") to include in API requests
 10528  	// with the JSON null value. By default, fields with empty values are omitted
 10529  	// from API requests. See
 10530  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10531  	NullFields []string `json:"-"`
 10532  }
 10533  
 10534  func (s *GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase) MarshalJSON() ([]byte, error) {
 10535  	type NoMethod GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase
 10536  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10537  }
 10538  
 10539  // GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart: Represents a part of
 10540  // a training phrase.
 10541  type GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart struct {
 10542  	// ParameterId: The parameter used to annotate this part of the training
 10543  	// phrase. This field is required for annotated parts of the training phrase.
 10544  	ParameterId string `json:"parameterId,omitempty"`
 10545  	// Text: Required. The text for this part.
 10546  	Text string `json:"text,omitempty"`
 10547  	// ForceSendFields is a list of field names (e.g. "ParameterId") to
 10548  	// unconditionally include in API requests. By default, fields with empty or
 10549  	// default values are omitted from API requests. See
 10550  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10551  	// details.
 10552  	ForceSendFields []string `json:"-"`
 10553  	// NullFields is a list of field names (e.g. "ParameterId") to include in API
 10554  	// requests with the JSON null value. By default, fields with empty values are
 10555  	// omitted from API requests. See
 10556  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10557  	NullFields []string `json:"-"`
 10558  }
 10559  
 10560  func (s *GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) {
 10561  	type NoMethod GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart
 10562  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10563  }
 10564  
 10565  // GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings: The Knowledge
 10566  // Connector settings for this page or flow. This includes information such as
 10567  // the attached Knowledge Bases, and the way to execute fulfillment.
 10568  type GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings struct {
 10569  	// DataStoreConnections: Optional. List of related data store connections.
 10570  	DataStoreConnections []*GoogleCloudDialogflowCxV3beta1DataStoreConnection `json:"dataStoreConnections,omitempty"`
 10571  	// Enabled: Whether Knowledge Connector is enabled or not.
 10572  	Enabled bool `json:"enabled,omitempty"`
 10573  	// TargetFlow: The target flow to transition to. Format:
 10574  	// `projects//locations//agents//flows/`.
 10575  	TargetFlow string `json:"targetFlow,omitempty"`
 10576  	// TargetPage: The target page to transition to. Format:
 10577  	// `projects//locations//agents//flows//pages/`.
 10578  	TargetPage string `json:"targetPage,omitempty"`
 10579  	// TriggerFulfillment: The fulfillment to be triggered. When the answers from
 10580  	// the Knowledge Connector are selected by Dialogflow, you can utitlize the
 10581  	// request scoped parameter `$request.knowledge.answers` (contains up to the 5
 10582  	// highest confidence answers) and `$request.knowledge.questions` (contains the
 10583  	// corresponding questions) to construct the fulfillment.
 10584  	TriggerFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"triggerFulfillment,omitempty"`
 10585  	// ForceSendFields is a list of field names (e.g. "DataStoreConnections") to
 10586  	// unconditionally include in API requests. By default, fields with empty or
 10587  	// default values are omitted from API requests. See
 10588  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10589  	// details.
 10590  	ForceSendFields []string `json:"-"`
 10591  	// NullFields is a list of field names (e.g. "DataStoreConnections") to include
 10592  	// in API requests with the JSON null value. By default, fields with empty
 10593  	// values are omitted from API requests. See
 10594  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10595  	NullFields []string `json:"-"`
 10596  }
 10597  
 10598  func (s *GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings) MarshalJSON() ([]byte, error) {
 10599  	type NoMethod GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings
 10600  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10601  }
 10602  
 10603  // GoogleCloudDialogflowCxV3beta1LanguageInfo: Represents the language
 10604  // information of the request.
 10605  type GoogleCloudDialogflowCxV3beta1LanguageInfo struct {
 10606  	// ConfidenceScore: The confidence score of the detected language between 0 and
 10607  	// 1.
 10608  	ConfidenceScore float64 `json:"confidenceScore,omitempty"`
 10609  	// InputLanguageCode: The language code specified in the original request.
 10610  	InputLanguageCode string `json:"inputLanguageCode,omitempty"`
 10611  	// ResolvedLanguageCode: The language code detected for this request based on
 10612  	// the user conversation.
 10613  	ResolvedLanguageCode string `json:"resolvedLanguageCode,omitempty"`
 10614  	// ForceSendFields is a list of field names (e.g. "ConfidenceScore") to
 10615  	// unconditionally include in API requests. By default, fields with empty or
 10616  	// default values are omitted from API requests. See
 10617  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10618  	// details.
 10619  	ForceSendFields []string `json:"-"`
 10620  	// NullFields is a list of field names (e.g. "ConfidenceScore") to include in
 10621  	// API requests with the JSON null value. By default, fields with empty values
 10622  	// are omitted from API requests. See
 10623  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10624  	NullFields []string `json:"-"`
 10625  }
 10626  
 10627  func (s *GoogleCloudDialogflowCxV3beta1LanguageInfo) MarshalJSON() ([]byte, error) {
 10628  	type NoMethod GoogleCloudDialogflowCxV3beta1LanguageInfo
 10629  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10630  }
 10631  
 10632  func (s *GoogleCloudDialogflowCxV3beta1LanguageInfo) UnmarshalJSON(data []byte) error {
 10633  	type NoMethod GoogleCloudDialogflowCxV3beta1LanguageInfo
 10634  	var s1 struct {
 10635  		ConfidenceScore gensupport.JSONFloat64 `json:"confidenceScore"`
 10636  		*NoMethod
 10637  	}
 10638  	s1.NoMethod = (*NoMethod)(s)
 10639  	if err := json.Unmarshal(data, &s1); err != nil {
 10640  		return err
 10641  	}
 10642  	s.ConfidenceScore = float64(s1.ConfidenceScore)
 10643  	return nil
 10644  }
 10645  
 10646  // GoogleCloudDialogflowCxV3beta1Page: A Dialogflow CX conversation (session)
 10647  // can be described and visualized as a state machine. The states of a CX
 10648  // session are represented by pages. For each flow, you define many pages,
 10649  // where your combined pages can handle a complete conversation on the topics
 10650  // the flow is designed for. At any given moment, exactly one page is the
 10651  // current page, the current page is considered active, and the flow associated
 10652  // with that page is considered active. Every flow has a special start page.
 10653  // When a flow initially becomes active, the start page page becomes the
 10654  // current page. For each conversational turn, the current page will either
 10655  // stay the same or transition to another page. You configure each page to
 10656  // collect information from the end-user that is relevant for the
 10657  // conversational state represented by the page. For more information, see the
 10658  // Page guide (https://cloud.google.com/dialogflow/cx/docs/concept/page).
 10659  type GoogleCloudDialogflowCxV3beta1Page struct {
 10660  	// AdvancedSettings: Hierarchical advanced settings for this page. The settings
 10661  	// exposed at the lower level overrides the settings exposed at the higher
 10662  	// level.
 10663  	AdvancedSettings *GoogleCloudDialogflowCxV3beta1AdvancedSettings `json:"advancedSettings,omitempty"`
 10664  	// Description: The description of the page. The maximum length is 500
 10665  	// characters.
 10666  	Description string `json:"description,omitempty"`
 10667  	// DisplayName: Required. The human-readable name of the page, unique within
 10668  	// the flow.
 10669  	DisplayName string `json:"displayName,omitempty"`
 10670  	// EntryFulfillment: The fulfillment to call when the session is entering the
 10671  	// page.
 10672  	EntryFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"entryFulfillment,omitempty"`
 10673  	// EventHandlers: Handlers associated with the page to handle events such as
 10674  	// webhook errors, no match or no input.
 10675  	EventHandlers []*GoogleCloudDialogflowCxV3beta1EventHandler `json:"eventHandlers,omitempty"`
 10676  	// Form: The form associated with the page, used for collecting parameters
 10677  	// relevant to the page.
 10678  	Form *GoogleCloudDialogflowCxV3beta1Form `json:"form,omitempty"`
 10679  	// KnowledgeConnectorSettings: Optional. Knowledge connector configuration.
 10680  	KnowledgeConnectorSettings *GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings `json:"knowledgeConnectorSettings,omitempty"`
 10681  	// Name: The unique identifier of the page. Required for the Pages.UpdatePage
 10682  	// method. Pages.CreatePage populates the name automatically. Format:
 10683  	// `projects//locations//agents//flows//pages/`.
 10684  	Name string `json:"name,omitempty"`
 10685  	// TransitionRouteGroups: Ordered list of `TransitionRouteGroups` added to the
 10686  	// page. Transition route groups must be unique within a page. If the page
 10687  	// links both flow-level transition route groups and agent-level transition
 10688  	// route groups, the flow-level ones will have higher priority and will be put
 10689  	// before the agent-level ones. * If multiple transition routes within a page
 10690  	// scope refer to the same intent, then the precedence order is: page's
 10691  	// transition route -> page's transition route group -> flow's transition
 10692  	// routes. * If multiple transition route groups within a page contain the same
 10693  	// intent, then the first group in the ordered list takes precedence.
 10694  	// Format:`projects//locations//agents//flows//transitionRouteGroups/` or
 10695  	// `projects//locations//agents//transitionRouteGroups/` for agent-level
 10696  	// groups.
 10697  	TransitionRouteGroups []string `json:"transitionRouteGroups,omitempty"`
 10698  	// TransitionRoutes: A list of transitions for the transition rules of this
 10699  	// page. They route the conversation to another page in the same flow, or
 10700  	// another flow. When we are in a certain page, the TransitionRoutes are
 10701  	// evalauted in the following order: * TransitionRoutes defined in the page
 10702  	// with intent specified. * TransitionRoutes defined in the transition route
 10703  	// groups with intent specified. * TransitionRoutes defined in flow with intent
 10704  	// specified. * TransitionRoutes defined in the transition route groups with
 10705  	// intent specified. * TransitionRoutes defined in the page with only condition
 10706  	// specified. * TransitionRoutes defined in the transition route groups with
 10707  	// only condition specified.
 10708  	TransitionRoutes []*GoogleCloudDialogflowCxV3beta1TransitionRoute `json:"transitionRoutes,omitempty"`
 10709  	// ForceSendFields is a list of field names (e.g. "AdvancedSettings") to
 10710  	// unconditionally include in API requests. By default, fields with empty or
 10711  	// default values are omitted from API requests. See
 10712  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10713  	// details.
 10714  	ForceSendFields []string `json:"-"`
 10715  	// NullFields is a list of field names (e.g. "AdvancedSettings") to include in
 10716  	// API requests with the JSON null value. By default, fields with empty values
 10717  	// are omitted from API requests. See
 10718  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10719  	NullFields []string `json:"-"`
 10720  }
 10721  
 10722  func (s *GoogleCloudDialogflowCxV3beta1Page) MarshalJSON() ([]byte, error) {
 10723  	type NoMethod GoogleCloudDialogflowCxV3beta1Page
 10724  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10725  }
 10726  
 10727  // GoogleCloudDialogflowCxV3beta1PageInfo: Represents page information
 10728  // communicated to and from the webhook.
 10729  type GoogleCloudDialogflowCxV3beta1PageInfo struct {
 10730  	// CurrentPage: Always present for WebhookRequest. Ignored for WebhookResponse.
 10731  	// The unique identifier of the current page. Format:
 10732  	// `projects//locations//agents//flows//pages/`.
 10733  	CurrentPage string `json:"currentPage,omitempty"`
 10734  	// DisplayName: Always present for WebhookRequest. Ignored for WebhookResponse.
 10735  	// The display name of the current page.
 10736  	DisplayName string `json:"displayName,omitempty"`
 10737  	// FormInfo: Optional for both WebhookRequest and WebhookResponse. Information
 10738  	// about the form.
 10739  	FormInfo *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo `json:"formInfo,omitempty"`
 10740  	// ForceSendFields is a list of field names (e.g. "CurrentPage") to
 10741  	// unconditionally include in API requests. By default, fields with empty or
 10742  	// default values are omitted from API requests. See
 10743  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10744  	// details.
 10745  	ForceSendFields []string `json:"-"`
 10746  	// NullFields is a list of field names (e.g. "CurrentPage") to include in API
 10747  	// requests with the JSON null value. By default, fields with empty values are
 10748  	// omitted from API requests. See
 10749  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10750  	NullFields []string `json:"-"`
 10751  }
 10752  
 10753  func (s *GoogleCloudDialogflowCxV3beta1PageInfo) MarshalJSON() ([]byte, error) {
 10754  	type NoMethod GoogleCloudDialogflowCxV3beta1PageInfo
 10755  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10756  }
 10757  
 10758  // GoogleCloudDialogflowCxV3beta1PageInfoFormInfo: Represents form information.
 10759  type GoogleCloudDialogflowCxV3beta1PageInfoFormInfo struct {
 10760  	// ParameterInfo: Optional for both WebhookRequest and WebhookResponse. The
 10761  	// parameters contained in the form. Note that the webhook cannot add or remove
 10762  	// any form parameter.
 10763  	ParameterInfo []*GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo `json:"parameterInfo,omitempty"`
 10764  	// ForceSendFields is a list of field names (e.g. "ParameterInfo") to
 10765  	// unconditionally include in API requests. By default, fields with empty or
 10766  	// default values are omitted from API requests. See
 10767  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10768  	// details.
 10769  	ForceSendFields []string `json:"-"`
 10770  	// NullFields is a list of field names (e.g. "ParameterInfo") to include in API
 10771  	// requests with the JSON null value. By default, fields with empty values are
 10772  	// omitted from API requests. See
 10773  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10774  	NullFields []string `json:"-"`
 10775  }
 10776  
 10777  func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfo) MarshalJSON() ([]byte, error) {
 10778  	type NoMethod GoogleCloudDialogflowCxV3beta1PageInfoFormInfo
 10779  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10780  }
 10781  
 10782  // GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo: Represents
 10783  // parameter information.
 10784  type GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo struct {
 10785  	// DisplayName: Always present for WebhookRequest. Required for
 10786  	// WebhookResponse. The human-readable name of the parameter, unique within the
 10787  	// form. This field cannot be modified by the webhook.
 10788  	DisplayName string `json:"displayName,omitempty"`
 10789  	// JustCollected: Optional for WebhookRequest. Ignored for WebhookResponse.
 10790  	// Indicates if the parameter value was just collected on the last conversation
 10791  	// turn.
 10792  	JustCollected bool `json:"justCollected,omitempty"`
 10793  	// Required: Optional for both WebhookRequest and WebhookResponse. Indicates
 10794  	// whether the parameter is required. Optional parameters will not trigger
 10795  	// prompts; however, they are filled if the user specifies them. Required
 10796  	// parameters must be filled before form filling concludes.
 10797  	Required bool `json:"required,omitempty"`
 10798  	// State: Always present for WebhookRequest. Required for WebhookResponse. The
 10799  	// state of the parameter. This field can be set to INVALID by the webhook to
 10800  	// invalidate the parameter; other values set by the webhook will be ignored.
 10801  	//
 10802  	// Possible values:
 10803  	//   "PARAMETER_STATE_UNSPECIFIED" - Not specified. This value should be never
 10804  	// used.
 10805  	//   "EMPTY" - Indicates that the parameter does not have a value.
 10806  	//   "INVALID" - Indicates that the parameter value is invalid. This field can
 10807  	// be used by the webhook to invalidate the parameter and ask the server to
 10808  	// collect it from the user again.
 10809  	//   "FILLED" - Indicates that the parameter has a value.
 10810  	State string `json:"state,omitempty"`
 10811  	// Value: Optional for both WebhookRequest and WebhookResponse. The value of
 10812  	// the parameter. This field can be set by the webhook to change the parameter
 10813  	// value.
 10814  	Value interface{} `json:"value,omitempty"`
 10815  	// ForceSendFields is a list of field names (e.g. "DisplayName") to
 10816  	// unconditionally include in API requests. By default, fields with empty or
 10817  	// default values are omitted from API requests. See
 10818  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10819  	// details.
 10820  	ForceSendFields []string `json:"-"`
 10821  	// NullFields is a list of field names (e.g. "DisplayName") to include in API
 10822  	// requests with the JSON null value. By default, fields with empty values are
 10823  	// omitted from API requests. See
 10824  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10825  	NullFields []string `json:"-"`
 10826  }
 10827  
 10828  func (s *GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo) MarshalJSON() ([]byte, error) {
 10829  	type NoMethod GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo
 10830  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10831  }
 10832  
 10833  // GoogleCloudDialogflowCxV3beta1QueryInput: Represents the query input. It can
 10834  // contain one of: 1. A conversational query in the form of text. 2. An intent
 10835  // query that specifies which intent to trigger. 3. Natural language speech
 10836  // audio to be processed. 4. An event to be triggered. 5. DTMF digits to invoke
 10837  // an intent and fill in parameter value. 6. The results of a tool executed by
 10838  // the client.
 10839  type GoogleCloudDialogflowCxV3beta1QueryInput struct {
 10840  	// Audio: The natural language speech audio to be processed.
 10841  	Audio *GoogleCloudDialogflowCxV3beta1AudioInput `json:"audio,omitempty"`
 10842  	// Dtmf: The DTMF event to be handled.
 10843  	Dtmf *GoogleCloudDialogflowCxV3beta1DtmfInput `json:"dtmf,omitempty"`
 10844  	// Event: The event to be triggered.
 10845  	Event *GoogleCloudDialogflowCxV3beta1EventInput `json:"event,omitempty"`
 10846  	// Intent: The intent to be triggered.
 10847  	Intent *GoogleCloudDialogflowCxV3beta1IntentInput `json:"intent,omitempty"`
 10848  	// LanguageCode: Required. The language of the input. See Language Support
 10849  	// (https://cloud.google.com/dialogflow/cx/docs/reference/language) for a list
 10850  	// of the currently supported language codes. Note that queries in the same
 10851  	// session do not necessarily need to specify the same language.
 10852  	LanguageCode string `json:"languageCode,omitempty"`
 10853  	// Text: The natural language text to be processed.
 10854  	Text *GoogleCloudDialogflowCxV3beta1TextInput `json:"text,omitempty"`
 10855  	// ForceSendFields is a list of field names (e.g. "Audio") to unconditionally
 10856  	// include in API requests. By default, fields with empty or default values are
 10857  	// omitted from API requests. See
 10858  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10859  	// details.
 10860  	ForceSendFields []string `json:"-"`
 10861  	// NullFields is a list of field names (e.g. "Audio") to include in API
 10862  	// requests with the JSON null value. By default, fields with empty values are
 10863  	// omitted from API requests. See
 10864  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10865  	NullFields []string `json:"-"`
 10866  }
 10867  
 10868  func (s *GoogleCloudDialogflowCxV3beta1QueryInput) MarshalJSON() ([]byte, error) {
 10869  	type NoMethod GoogleCloudDialogflowCxV3beta1QueryInput
 10870  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10871  }
 10872  
 10873  // GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata: Metadata for
 10874  // ReloadDocument operation.
 10875  type GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata struct {
 10876  	// GenericMetadata: The generic information of the operation.
 10877  	GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"`
 10878  	// ForceSendFields is a list of field names (e.g. "GenericMetadata") to
 10879  	// unconditionally include in API requests. By default, fields with empty or
 10880  	// default values are omitted from API requests. See
 10881  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10882  	// details.
 10883  	ForceSendFields []string `json:"-"`
 10884  	// NullFields is a list of field names (e.g. "GenericMetadata") to include in
 10885  	// API requests with the JSON null value. By default, fields with empty values
 10886  	// are omitted from API requests. See
 10887  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10888  	NullFields []string `json:"-"`
 10889  }
 10890  
 10891  func (s *GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error) {
 10892  	type NoMethod GoogleCloudDialogflowCxV3beta1ReloadDocumentOperationMetadata
 10893  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10894  }
 10895  
 10896  // GoogleCloudDialogflowCxV3beta1ResponseMessage: Represents a response message
 10897  // that can be returned by a conversational agent. Response messages are also
 10898  // used for output audio synthesis. The approach is as follows: * If at least
 10899  // one OutputAudioText response is present, then all OutputAudioText responses
 10900  // are linearly concatenated, and the result is used for output audio
 10901  // synthesis. * If the OutputAudioText responses are a mixture of text and
 10902  // SSML, then the concatenated result is treated as SSML; otherwise, the result
 10903  // is treated as either text or SSML as appropriate. The agent designer should
 10904  // ideally use either text or SSML consistently throughout the bot design. *
 10905  // Otherwise, all Text responses are linearly concatenated, and the result is
 10906  // used for output audio synthesis. This approach allows for more sophisticated
 10907  // user experience scenarios, where the text displayed to the user may differ
 10908  // from what is heard.
 10909  type GoogleCloudDialogflowCxV3beta1ResponseMessage struct {
 10910  	// Channel: The channel which the response is associated with. Clients can
 10911  	// specify the channel via QueryParameters.channel, and only associated channel
 10912  	// response will be returned.
 10913  	Channel string `json:"channel,omitempty"`
 10914  	// ConversationSuccess: Indicates that the conversation succeeded.
 10915  	ConversationSuccess *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess `json:"conversationSuccess,omitempty"`
 10916  	// EndInteraction: Output only. A signal that indicates the interaction with
 10917  	// the Dialogflow agent has ended. This message is generated by Dialogflow only
 10918  	// when the conversation reaches `END_SESSION` page. It is not supposed to be
 10919  	// defined by the user. It's guaranteed that there is at most one such message
 10920  	// in each response.
 10921  	EndInteraction *GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction `json:"endInteraction,omitempty"`
 10922  	// KnowledgeInfoCard: Represents info card for knowledge answers, to be better
 10923  	// rendered in Dialogflow Messenger.
 10924  	KnowledgeInfoCard *GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard `json:"knowledgeInfoCard,omitempty"`
 10925  	// LiveAgentHandoff: Hands off conversation to a human agent.
 10926  	LiveAgentHandoff *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff `json:"liveAgentHandoff,omitempty"`
 10927  	// MixedAudio: Output only. An audio response message composed of both the
 10928  	// synthesized Dialogflow agent responses and responses defined via play_audio.
 10929  	// This message is generated by Dialogflow only and not supposed to be defined
 10930  	// by the user.
 10931  	MixedAudio *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio `json:"mixedAudio,omitempty"`
 10932  	// OutputAudioText: A text or ssml response that is preferentially used for TTS
 10933  	// output audio synthesis, as described in the comment on the ResponseMessage
 10934  	// message.
 10935  	OutputAudioText *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText `json:"outputAudioText,omitempty"`
 10936  	// Payload: Returns a response containing a custom, platform-specific payload.
 10937  	Payload googleapi.RawMessage `json:"payload,omitempty"`
 10938  	// PlayAudio: Signal that the client should play an audio clip hosted at a
 10939  	// client-specific URI. Dialogflow uses this to construct mixed_audio. However,
 10940  	// Dialogflow itself does not try to read or process the URI in any way.
 10941  	PlayAudio *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio `json:"playAudio,omitempty"`
 10942  	// TelephonyTransferCall: A signal that the client should transfer the phone
 10943  	// call connected to this agent to a third-party endpoint.
 10944  	TelephonyTransferCall *GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall `json:"telephonyTransferCall,omitempty"`
 10945  	// Text: Returns a text response.
 10946  	Text *GoogleCloudDialogflowCxV3beta1ResponseMessageText `json:"text,omitempty"`
 10947  	// ForceSendFields is a list of field names (e.g. "Channel") to unconditionally
 10948  	// include in API requests. By default, fields with empty or default values are
 10949  	// omitted from API requests. See
 10950  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10951  	// details.
 10952  	ForceSendFields []string `json:"-"`
 10953  	// NullFields is a list of field names (e.g. "Channel") to include in API
 10954  	// requests with the JSON null value. By default, fields with empty values are
 10955  	// omitted from API requests. See
 10956  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10957  	NullFields []string `json:"-"`
 10958  }
 10959  
 10960  func (s *GoogleCloudDialogflowCxV3beta1ResponseMessage) MarshalJSON() ([]byte, error) {
 10961  	type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessage
 10962  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10963  }
 10964  
 10965  // GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess: Indicates
 10966  // that the conversation succeeded, i.e., the bot handled the issue that the
 10967  // customer talked to it about. Dialogflow only uses this to determine which
 10968  // conversations should be counted as successful and doesn't process the
 10969  // metadata in this message in any way. Note that Dialogflow also considers
 10970  // conversations that get to the conversation end page as successful even if
 10971  // they don't return ConversationSuccess. You may set this, for example: * In
 10972  // the entry_fulfillment of a Page if entering the page indicates that the
 10973  // conversation succeeded. * In a webhook response when you determine that you
 10974  // handled the customer issue.
 10975  type GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess struct {
 10976  	// Metadata: Custom metadata. Dialogflow doesn't impose any structure on this.
 10977  	Metadata googleapi.RawMessage `json:"metadata,omitempty"`
 10978  	// ForceSendFields is a list of field names (e.g. "Metadata") to
 10979  	// unconditionally include in API requests. By default, fields with empty or
 10980  	// default values are omitted from API requests. See
 10981  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 10982  	// details.
 10983  	ForceSendFields []string `json:"-"`
 10984  	// NullFields is a list of field names (e.g. "Metadata") to include in API
 10985  	// requests with the JSON null value. By default, fields with empty values are
 10986  	// omitted from API requests. See
 10987  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 10988  	NullFields []string `json:"-"`
 10989  }
 10990  
 10991  func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess) MarshalJSON() ([]byte, error) {
 10992  	type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess
 10993  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 10994  }
 10995  
 10996  // GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction: Indicates that
 10997  // interaction with the Dialogflow agent has ended. This message is generated
 10998  // by Dialogflow only and not supposed to be defined by the user.
 10999  type GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction struct {
 11000  }
 11001  
 11002  // GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard: Represents
 11003  // info card response. If the response contains generative knowledge
 11004  // prediction, Dialogflow will return a payload with Infobot Messenger
 11005  // compatible info card. Otherwise, the info card response is skipped.
 11006  type GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard struct {
 11007  }
 11008  
 11009  // GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff: Indicates
 11010  // that the conversation should be handed off to a live agent. Dialogflow only
 11011  // uses this to determine which conversations were handed off to a human agent
 11012  // for measurement purposes. What else to do with this signal is up to you and
 11013  // your handoff procedures. You may set this, for example: * In the
 11014  // entry_fulfillment of a Page if entering the page indicates something went
 11015  // extremely wrong in the conversation. * In a webhook response when you
 11016  // determine that the customer issue can only be handled by a human.
 11017  type GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff struct {
 11018  	// Metadata: Custom metadata for your handoff procedure. Dialogflow doesn't
 11019  	// impose any structure on this.
 11020  	Metadata googleapi.RawMessage `json:"metadata,omitempty"`
 11021  	// ForceSendFields is a list of field names (e.g. "Metadata") to
 11022  	// unconditionally include in API requests. By default, fields with empty or
 11023  	// default values are omitted from API requests. See
 11024  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11025  	// details.
 11026  	ForceSendFields []string `json:"-"`
 11027  	// NullFields is a list of field names (e.g. "Metadata") to include in API
 11028  	// requests with the JSON null value. By default, fields with empty values are
 11029  	// omitted from API requests. See
 11030  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11031  	NullFields []string `json:"-"`
 11032  }
 11033  
 11034  func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff) MarshalJSON() ([]byte, error) {
 11035  	type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
 11036  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11037  }
 11038  
 11039  // GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio: Represents an audio
 11040  // message that is composed of both segments synthesized from the Dialogflow
 11041  // agent prompts and ones hosted externally at the specified URIs. The external
 11042  // URIs are specified via play_audio. This message is generated by Dialogflow
 11043  // only and not supposed to be defined by the user.
 11044  type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio struct {
 11045  	// Segments: Segments this audio response is composed of.
 11046  	Segments []*GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment `json:"segments,omitempty"`
 11047  	// ForceSendFields is a list of field names (e.g. "Segments") to
 11048  	// unconditionally include in API requests. By default, fields with empty or
 11049  	// default values are omitted from API requests. See
 11050  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11051  	// details.
 11052  	ForceSendFields []string `json:"-"`
 11053  	// NullFields is a list of field names (e.g. "Segments") to include in API
 11054  	// requests with the JSON null value. By default, fields with empty values are
 11055  	// omitted from API requests. See
 11056  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11057  	NullFields []string `json:"-"`
 11058  }
 11059  
 11060  func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio) MarshalJSON() ([]byte, error) {
 11061  	type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio
 11062  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11063  }
 11064  
 11065  // GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment: Represents
 11066  // one segment of audio.
 11067  type GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment struct {
 11068  	// AllowPlaybackInterruption: Output only. Whether the playback of this segment
 11069  	// can be interrupted by the end user's speech and the client should then start
 11070  	// the next Dialogflow request.
 11071  	AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"`
 11072  	// Audio: Raw audio synthesized from the Dialogflow agent's response using the
 11073  	// output config specified in the request.
 11074  	Audio string `json:"audio,omitempty"`
 11075  	// Uri: Client-specific URI that points to an audio clip accessible to the
 11076  	// client. Dialogflow does not impose any validation on it.
 11077  	Uri string `json:"uri,omitempty"`
 11078  	// ForceSendFields is a list of field names (e.g. "AllowPlaybackInterruption")
 11079  	// to unconditionally include in API requests. By default, fields with empty or
 11080  	// default values are omitted from API requests. See
 11081  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11082  	// details.
 11083  	ForceSendFields []string `json:"-"`
 11084  	// NullFields is a list of field names (e.g. "AllowPlaybackInterruption") to
 11085  	// include in API requests with the JSON null value. By default, fields with
 11086  	// empty values are omitted from API requests. See
 11087  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11088  	NullFields []string `json:"-"`
 11089  }
 11090  
 11091  func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment) MarshalJSON() ([]byte, error) {
 11092  	type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment
 11093  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11094  }
 11095  
 11096  // GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText: A text or ssml
 11097  // response that is preferentially used for TTS output audio synthesis, as
 11098  // described in the comment on the ResponseMessage message.
 11099  type GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText struct {
 11100  	// AllowPlaybackInterruption: Output only. Whether the playback of this message
 11101  	// can be interrupted by the end user's speech and the client can then starts
 11102  	// the next Dialogflow request.
 11103  	AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"`
 11104  	// Ssml: The SSML text to be synthesized. For more information, see SSML
 11105  	// (/speech/text-to-speech/docs/ssml).
 11106  	Ssml string `json:"ssml,omitempty"`
 11107  	// Text: The raw text to be synthesized.
 11108  	Text string `json:"text,omitempty"`
 11109  	// ForceSendFields is a list of field names (e.g. "AllowPlaybackInterruption")
 11110  	// to unconditionally include in API requests. By default, fields with empty or
 11111  	// default values are omitted from API requests. See
 11112  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11113  	// details.
 11114  	ForceSendFields []string `json:"-"`
 11115  	// NullFields is a list of field names (e.g. "AllowPlaybackInterruption") to
 11116  	// include in API requests with the JSON null value. By default, fields with
 11117  	// empty values are omitted from API requests. See
 11118  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11119  	NullFields []string `json:"-"`
 11120  }
 11121  
 11122  func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText) MarshalJSON() ([]byte, error) {
 11123  	type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
 11124  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11125  }
 11126  
 11127  // GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio: Specifies an audio
 11128  // clip to be played by the client as part of the response.
 11129  type GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio struct {
 11130  	// AllowPlaybackInterruption: Output only. Whether the playback of this message
 11131  	// can be interrupted by the end user's speech and the client can then starts
 11132  	// the next Dialogflow request.
 11133  	AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"`
 11134  	// AudioUri: Required. URI of the audio clip. Dialogflow does not impose any
 11135  	// validation on this value. It is specific to the client that reads it.
 11136  	AudioUri string `json:"audioUri,omitempty"`
 11137  	// ForceSendFields is a list of field names (e.g. "AllowPlaybackInterruption")
 11138  	// to unconditionally include in API requests. By default, fields with empty or
 11139  	// default values are omitted from API requests. See
 11140  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11141  	// details.
 11142  	ForceSendFields []string `json:"-"`
 11143  	// NullFields is a list of field names (e.g. "AllowPlaybackInterruption") to
 11144  	// include in API requests with the JSON null value. By default, fields with
 11145  	// empty values are omitted from API requests. See
 11146  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11147  	NullFields []string `json:"-"`
 11148  }
 11149  
 11150  func (s *GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio) MarshalJSON() ([]byte, error) {
 11151  	type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
 11152  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11153  }
 11154  
 11155  // GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall:
 11156  // Represents the signal that telles the client to transfer the phone call
 11157  // connected to the agent to a third-party endpoint.
 11158  type GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall struct {
 11159  	// PhoneNumber: Transfer the call to a phone number in E.164 format
 11160  	// (https://en.wikipedia.org/wiki/E.164).
 11161  	PhoneNumber string `json:"phoneNumber,omitempty"`
 11162  	// ForceSendFields is a list of field names (e.g. "PhoneNumber") to
 11163  	// unconditionally include in API requests. By default, fields with empty or
 11164  	// default values are omitted from API requests. See
 11165  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11166  	// details.
 11167  	ForceSendFields []string `json:"-"`
 11168  	// NullFields is a list of field names (e.g. "PhoneNumber") to include in API
 11169  	// requests with the JSON null value. By default, fields with empty values are
 11170  	// omitted from API requests. See
 11171  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11172  	NullFields []string `json:"-"`
 11173  }
 11174  
 11175  func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall) MarshalJSON() ([]byte, error) {
 11176  	type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall
 11177  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11178  }
 11179  
 11180  // GoogleCloudDialogflowCxV3beta1ResponseMessageText: The text response
 11181  // message.
 11182  type GoogleCloudDialogflowCxV3beta1ResponseMessageText struct {
 11183  	// AllowPlaybackInterruption: Output only. Whether the playback of this message
 11184  	// can be interrupted by the end user's speech and the client can then starts
 11185  	// the next Dialogflow request.
 11186  	AllowPlaybackInterruption bool `json:"allowPlaybackInterruption,omitempty"`
 11187  	// Text: Required. A collection of text responses.
 11188  	Text []string `json:"text,omitempty"`
 11189  	// ForceSendFields is a list of field names (e.g. "AllowPlaybackInterruption")
 11190  	// to unconditionally include in API requests. By default, fields with empty or
 11191  	// default values are omitted from API requests. See
 11192  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11193  	// details.
 11194  	ForceSendFields []string `json:"-"`
 11195  	// NullFields is a list of field names (e.g. "AllowPlaybackInterruption") to
 11196  	// include in API requests with the JSON null value. By default, fields with
 11197  	// empty values are omitted from API requests. See
 11198  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11199  	NullFields []string `json:"-"`
 11200  }
 11201  
 11202  func (s *GoogleCloudDialogflowCxV3beta1ResponseMessageText) MarshalJSON() ([]byte, error) {
 11203  	type NoMethod GoogleCloudDialogflowCxV3beta1ResponseMessageText
 11204  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11205  }
 11206  
 11207  // GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata: Metadata returned
 11208  // for the Environments.RunContinuousTest long running operation.
 11209  type GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata struct {
 11210  	// Errors: The test errors.
 11211  	Errors []*GoogleCloudDialogflowCxV3beta1TestError `json:"errors,omitempty"`
 11212  	// ForceSendFields is a list of field names (e.g. "Errors") to unconditionally
 11213  	// include in API requests. By default, fields with empty or default values are
 11214  	// omitted from API requests. See
 11215  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11216  	// details.
 11217  	ForceSendFields []string `json:"-"`
 11218  	// NullFields is a list of field names (e.g. "Errors") to include in API
 11219  	// requests with the JSON null value. By default, fields with empty values are
 11220  	// omitted from API requests. See
 11221  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11222  	NullFields []string `json:"-"`
 11223  }
 11224  
 11225  func (s *GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata) MarshalJSON() ([]byte, error) {
 11226  	type NoMethod GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
 11227  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11228  }
 11229  
 11230  // GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse: The response
 11231  // message for Environments.RunContinuousTest.
 11232  type GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse struct {
 11233  	// ContinuousTestResult: The result for a continuous test run.
 11234  	ContinuousTestResult *GoogleCloudDialogflowCxV3beta1ContinuousTestResult `json:"continuousTestResult,omitempty"`
 11235  	// ForceSendFields is a list of field names (e.g. "ContinuousTestResult") to
 11236  	// unconditionally include in API requests. By default, fields with empty or
 11237  	// default values are omitted from API requests. See
 11238  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11239  	// details.
 11240  	ForceSendFields []string `json:"-"`
 11241  	// NullFields is a list of field names (e.g. "ContinuousTestResult") to include
 11242  	// in API requests with the JSON null value. By default, fields with empty
 11243  	// values are omitted from API requests. See
 11244  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11245  	NullFields []string `json:"-"`
 11246  }
 11247  
 11248  func (s *GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse) MarshalJSON() ([]byte, error) {
 11249  	type NoMethod GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
 11250  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11251  }
 11252  
 11253  // GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata: Metadata returned for the
 11254  // TestCases.RunTestCase long running operation. This message currently has no
 11255  // fields.
 11256  type GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata struct {
 11257  }
 11258  
 11259  // GoogleCloudDialogflowCxV3beta1RunTestCaseResponse: The response message for
 11260  // TestCases.RunTestCase.
 11261  type GoogleCloudDialogflowCxV3beta1RunTestCaseResponse struct {
 11262  	// Result: The result.
 11263  	Result *GoogleCloudDialogflowCxV3beta1TestCaseResult `json:"result,omitempty"`
 11264  	// ForceSendFields is a list of field names (e.g. "Result") to unconditionally
 11265  	// include in API requests. By default, fields with empty or default values are
 11266  	// omitted from API requests. See
 11267  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11268  	// details.
 11269  	ForceSendFields []string `json:"-"`
 11270  	// NullFields is a list of field names (e.g. "Result") to include in API
 11271  	// requests with the JSON null value. By default, fields with empty values are
 11272  	// omitted from API requests. See
 11273  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11274  	NullFields []string `json:"-"`
 11275  }
 11276  
 11277  func (s *GoogleCloudDialogflowCxV3beta1RunTestCaseResponse) MarshalJSON() ([]byte, error) {
 11278  	type NoMethod GoogleCloudDialogflowCxV3beta1RunTestCaseResponse
 11279  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11280  }
 11281  
 11282  // GoogleCloudDialogflowCxV3beta1SessionInfo: Represents session information
 11283  // communicated to and from the webhook.
 11284  type GoogleCloudDialogflowCxV3beta1SessionInfo struct {
 11285  	// Parameters: Optional for WebhookRequest. Optional for WebhookResponse. All
 11286  	// parameters collected from forms and intents during the session. Parameters
 11287  	// can be created, updated, or removed by the webhook. To remove a parameter
 11288  	// from the session, the webhook should explicitly set the parameter value to
 11289  	// null in WebhookResponse. The map is keyed by parameters' display names.
 11290  	Parameters googleapi.RawMessage `json:"parameters,omitempty"`
 11291  	// Session: Always present for WebhookRequest. Ignored for WebhookResponse. The
 11292  	// unique identifier of the session. This field can be used by the webhook to
 11293  	// identify a session. Format: `projects//locations//agents//sessions/` or
 11294  	// `projects//locations//agents//environments//sessions/` if environment is
 11295  	// specified.
 11296  	Session string `json:"session,omitempty"`
 11297  	// ForceSendFields is a list of field names (e.g. "Parameters") to
 11298  	// unconditionally include in API requests. By default, fields with empty or
 11299  	// default values are omitted from API requests. See
 11300  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11301  	// details.
 11302  	ForceSendFields []string `json:"-"`
 11303  	// NullFields is a list of field names (e.g. "Parameters") to include in API
 11304  	// requests with the JSON null value. By default, fields with empty values are
 11305  	// omitted from API requests. See
 11306  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11307  	NullFields []string `json:"-"`
 11308  }
 11309  
 11310  func (s *GoogleCloudDialogflowCxV3beta1SessionInfo) MarshalJSON() ([]byte, error) {
 11311  	type NoMethod GoogleCloudDialogflowCxV3beta1SessionInfo
 11312  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11313  }
 11314  
 11315  // GoogleCloudDialogflowCxV3beta1TestCase: Represents a test case.
 11316  type GoogleCloudDialogflowCxV3beta1TestCase struct {
 11317  	// CreationTime: Output only. When the test was created.
 11318  	CreationTime string `json:"creationTime,omitempty"`
 11319  	// DisplayName: Required. The human-readable name of the test case, unique
 11320  	// within the agent. Limit of 200 characters.
 11321  	DisplayName string `json:"displayName,omitempty"`
 11322  	// LastTestResult: The latest test result.
 11323  	LastTestResult *GoogleCloudDialogflowCxV3beta1TestCaseResult `json:"lastTestResult,omitempty"`
 11324  	// Name: The unique identifier of the test case. TestCases.CreateTestCase will
 11325  	// populate the name automatically. Otherwise use format:
 11326  	// `projects//locations//agents/ /testCases/`.
 11327  	Name string `json:"name,omitempty"`
 11328  	// Notes: Additional freeform notes about the test case. Limit of 400
 11329  	// characters.
 11330  	Notes string `json:"notes,omitempty"`
 11331  	// Tags: Tags are short descriptions that users may apply to test cases for
 11332  	// organizational and filtering purposes. Each tag should start with "#" and
 11333  	// has a limit of 30 characters.
 11334  	Tags []string `json:"tags,omitempty"`
 11335  	// TestCaseConversationTurns: The conversation turns uttered when the test case
 11336  	// was created, in chronological order. These include the canonical set of
 11337  	// agent utterances that should occur when the agent is working properly.
 11338  	TestCaseConversationTurns []*GoogleCloudDialogflowCxV3beta1ConversationTurn `json:"testCaseConversationTurns,omitempty"`
 11339  	// TestConfig: Config for the test case.
 11340  	TestConfig *GoogleCloudDialogflowCxV3beta1TestConfig `json:"testConfig,omitempty"`
 11341  	// ForceSendFields is a list of field names (e.g. "CreationTime") to
 11342  	// unconditionally include in API requests. By default, fields with empty or
 11343  	// default values are omitted from API requests. See
 11344  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11345  	// details.
 11346  	ForceSendFields []string `json:"-"`
 11347  	// NullFields is a list of field names (e.g. "CreationTime") to include in API
 11348  	// requests with the JSON null value. By default, fields with empty values are
 11349  	// omitted from API requests. See
 11350  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11351  	NullFields []string `json:"-"`
 11352  }
 11353  
 11354  func (s *GoogleCloudDialogflowCxV3beta1TestCase) MarshalJSON() ([]byte, error) {
 11355  	type NoMethod GoogleCloudDialogflowCxV3beta1TestCase
 11356  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11357  }
 11358  
 11359  // GoogleCloudDialogflowCxV3beta1TestCaseError: Error info for importing a
 11360  // test.
 11361  type GoogleCloudDialogflowCxV3beta1TestCaseError struct {
 11362  	// Status: The status associated with the test case.
 11363  	Status *GoogleRpcStatus `json:"status,omitempty"`
 11364  	// TestCase: The test case.
 11365  	TestCase *GoogleCloudDialogflowCxV3beta1TestCase `json:"testCase,omitempty"`
 11366  	// ForceSendFields is a list of field names (e.g. "Status") to unconditionally
 11367  	// include in API requests. By default, fields with empty or default values are
 11368  	// omitted from API requests. See
 11369  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11370  	// details.
 11371  	ForceSendFields []string `json:"-"`
 11372  	// NullFields is a list of field names (e.g. "Status") to include in API
 11373  	// requests with the JSON null value. By default, fields with empty values are
 11374  	// omitted from API requests. See
 11375  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11376  	NullFields []string `json:"-"`
 11377  }
 11378  
 11379  func (s *GoogleCloudDialogflowCxV3beta1TestCaseError) MarshalJSON() ([]byte, error) {
 11380  	type NoMethod GoogleCloudDialogflowCxV3beta1TestCaseError
 11381  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11382  }
 11383  
 11384  // GoogleCloudDialogflowCxV3beta1TestCaseResult: Represents a result from
 11385  // running a test case in an agent environment.
 11386  type GoogleCloudDialogflowCxV3beta1TestCaseResult struct {
 11387  	// ConversationTurns: The conversation turns uttered during the test case
 11388  	// replay in chronological order.
 11389  	ConversationTurns []*GoogleCloudDialogflowCxV3beta1ConversationTurn `json:"conversationTurns,omitempty"`
 11390  	// Environment: Environment where the test was run. If not set, it indicates
 11391  	// the draft environment.
 11392  	Environment string `json:"environment,omitempty"`
 11393  	// Name: The resource name for the test case result. Format:
 11394  	// `projects//locations//agents//testCases/ /results/`.
 11395  	Name string `json:"name,omitempty"`
 11396  	// TestResult: Whether the test case passed in the agent environment.
 11397  	//
 11398  	// Possible values:
 11399  	//   "TEST_RESULT_UNSPECIFIED" - Not specified. Should never be used.
 11400  	//   "PASSED" - The test passed.
 11401  	//   "FAILED" - The test did not pass.
 11402  	TestResult string `json:"testResult,omitempty"`
 11403  	// TestTime: The time that the test was run.
 11404  	TestTime string `json:"testTime,omitempty"`
 11405  	// ForceSendFields is a list of field names (e.g. "ConversationTurns") to
 11406  	// unconditionally include in API requests. By default, fields with empty or
 11407  	// default values are omitted from API requests. See
 11408  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11409  	// details.
 11410  	ForceSendFields []string `json:"-"`
 11411  	// NullFields is a list of field names (e.g. "ConversationTurns") to include in
 11412  	// API requests with the JSON null value. By default, fields with empty values
 11413  	// are omitted from API requests. See
 11414  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11415  	NullFields []string `json:"-"`
 11416  }
 11417  
 11418  func (s *GoogleCloudDialogflowCxV3beta1TestCaseResult) MarshalJSON() ([]byte, error) {
 11419  	type NoMethod GoogleCloudDialogflowCxV3beta1TestCaseResult
 11420  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11421  }
 11422  
 11423  // GoogleCloudDialogflowCxV3beta1TestConfig: Represents configurations for a
 11424  // test case.
 11425  type GoogleCloudDialogflowCxV3beta1TestConfig struct {
 11426  	// Flow: Flow name to start the test case with. Format:
 11427  	// `projects//locations//agents//flows/`. Only one of `flow` and `page` should
 11428  	// be set to indicate the starting point of the test case. If both are set,
 11429  	// `page` takes precedence over `flow`. If neither is set, the test case will
 11430  	// start with start page on the default start flow.
 11431  	Flow string `json:"flow,omitempty"`
 11432  	// Page: The page to start the test case with. Format:
 11433  	// `projects//locations//agents//flows//pages/`. Only one of `flow` and `page`
 11434  	// should be set to indicate the starting point of the test case. If both are
 11435  	// set, `page` takes precedence over `flow`. If neither is set, the test case
 11436  	// will start with start page on the default start flow.
 11437  	Page string `json:"page,omitempty"`
 11438  	// TrackingParameters: Session parameters to be compared when calculating
 11439  	// differences.
 11440  	TrackingParameters []string `json:"trackingParameters,omitempty"`
 11441  	// ForceSendFields is a list of field names (e.g. "Flow") to unconditionally
 11442  	// include in API requests. By default, fields with empty or default values are
 11443  	// omitted from API requests. See
 11444  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11445  	// details.
 11446  	ForceSendFields []string `json:"-"`
 11447  	// NullFields is a list of field names (e.g. "Flow") to include in API requests
 11448  	// with the JSON null value. By default, fields with empty values are omitted
 11449  	// from API requests. See
 11450  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11451  	NullFields []string `json:"-"`
 11452  }
 11453  
 11454  func (s *GoogleCloudDialogflowCxV3beta1TestConfig) MarshalJSON() ([]byte, error) {
 11455  	type NoMethod GoogleCloudDialogflowCxV3beta1TestConfig
 11456  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11457  }
 11458  
 11459  // GoogleCloudDialogflowCxV3beta1TestError: Error info for running a test.
 11460  type GoogleCloudDialogflowCxV3beta1TestError struct {
 11461  	// Status: The status associated with the test.
 11462  	Status *GoogleRpcStatus `json:"status,omitempty"`
 11463  	// TestCase: The test case resource name.
 11464  	TestCase string `json:"testCase,omitempty"`
 11465  	// TestTime: The timestamp when the test was completed.
 11466  	TestTime string `json:"testTime,omitempty"`
 11467  	// ForceSendFields is a list of field names (e.g. "Status") to unconditionally
 11468  	// include in API requests. By default, fields with empty or default values are
 11469  	// omitted from API requests. See
 11470  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11471  	// details.
 11472  	ForceSendFields []string `json:"-"`
 11473  	// NullFields is a list of field names (e.g. "Status") to include in API
 11474  	// requests with the JSON null value. By default, fields with empty values are
 11475  	// omitted from API requests. See
 11476  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11477  	NullFields []string `json:"-"`
 11478  }
 11479  
 11480  func (s *GoogleCloudDialogflowCxV3beta1TestError) MarshalJSON() ([]byte, error) {
 11481  	type NoMethod GoogleCloudDialogflowCxV3beta1TestError
 11482  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11483  }
 11484  
 11485  // GoogleCloudDialogflowCxV3beta1TestRunDifference: The description of
 11486  // differences between original and replayed agent output.
 11487  type GoogleCloudDialogflowCxV3beta1TestRunDifference struct {
 11488  	// Description: A human readable description of the diff, showing the actual
 11489  	// output vs expected output.
 11490  	Description string `json:"description,omitempty"`
 11491  	// Type: The type of diff.
 11492  	//
 11493  	// Possible values:
 11494  	//   "DIFF_TYPE_UNSPECIFIED" - Should never be used.
 11495  	//   "INTENT" - The intent.
 11496  	//   "PAGE" - The page.
 11497  	//   "PARAMETERS" - The parameters.
 11498  	//   "UTTERANCE" - The message utterance.
 11499  	//   "FLOW" - The flow.
 11500  	Type string `json:"type,omitempty"`
 11501  	// ForceSendFields is a list of field names (e.g. "Description") to
 11502  	// unconditionally include in API requests. By default, fields with empty or
 11503  	// default values are omitted from API requests. See
 11504  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11505  	// details.
 11506  	ForceSendFields []string `json:"-"`
 11507  	// NullFields is a list of field names (e.g. "Description") to include in API
 11508  	// requests with the JSON null value. By default, fields with empty values are
 11509  	// omitted from API requests. See
 11510  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11511  	NullFields []string `json:"-"`
 11512  }
 11513  
 11514  func (s *GoogleCloudDialogflowCxV3beta1TestRunDifference) MarshalJSON() ([]byte, error) {
 11515  	type NoMethod GoogleCloudDialogflowCxV3beta1TestRunDifference
 11516  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11517  }
 11518  
 11519  // GoogleCloudDialogflowCxV3beta1TextInput: Represents the natural language
 11520  // text to be processed.
 11521  type GoogleCloudDialogflowCxV3beta1TextInput struct {
 11522  	// Text: Required. The UTF-8 encoded natural language text to be processed.
 11523  	Text string `json:"text,omitempty"`
 11524  	// ForceSendFields is a list of field names (e.g. "Text") to unconditionally
 11525  	// include in API requests. By default, fields with empty or default values are
 11526  	// omitted from API requests. See
 11527  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11528  	// details.
 11529  	ForceSendFields []string `json:"-"`
 11530  	// NullFields is a list of field names (e.g. "Text") to include in API requests
 11531  	// with the JSON null value. By default, fields with empty values are omitted
 11532  	// from API requests. See
 11533  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11534  	NullFields []string `json:"-"`
 11535  }
 11536  
 11537  func (s *GoogleCloudDialogflowCxV3beta1TextInput) MarshalJSON() ([]byte, error) {
 11538  	type NoMethod GoogleCloudDialogflowCxV3beta1TextInput
 11539  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11540  }
 11541  
 11542  // GoogleCloudDialogflowCxV3beta1TransitionRoute: A transition route specifies
 11543  // a intent that can be matched and/or a data condition that can be evaluated
 11544  // during a session. When a specified transition is matched, the following
 11545  // actions are taken in order: * If there is a `trigger_fulfillment` associated
 11546  // with the transition, it will be called. * If there is a `target_page`
 11547  // associated with the transition, the session will transition into the
 11548  // specified page. * If there is a `target_flow` associated with the
 11549  // transition, the session will transition into the specified flow.
 11550  type GoogleCloudDialogflowCxV3beta1TransitionRoute struct {
 11551  	// Condition: The condition to evaluate against form parameters or session
 11552  	// parameters. See the conditions reference
 11553  	// (https://cloud.google.com/dialogflow/cx/docs/reference/condition). At least
 11554  	// one of `intent` or `condition` must be specified. When both `intent` and
 11555  	// `condition` are specified, the transition can only happen when both are
 11556  	// fulfilled.
 11557  	Condition string `json:"condition,omitempty"`
 11558  	// Description: Optional. The description of the transition route. The maximum
 11559  	// length is 500 characters.
 11560  	Description string `json:"description,omitempty"`
 11561  	// Intent: The unique identifier of an Intent. Format:
 11562  	// `projects//locations//agents//intents/`. Indicates that the transition can
 11563  	// only happen when the given intent is matched. At least one of `intent` or
 11564  	// `condition` must be specified. When both `intent` and `condition` are
 11565  	// specified, the transition can only happen when both are fulfilled.
 11566  	Intent string `json:"intent,omitempty"`
 11567  	// Name: Output only. The unique identifier of this transition route.
 11568  	Name string `json:"name,omitempty"`
 11569  	// TargetFlow: The target flow to transition to. Format:
 11570  	// `projects//locations//agents//flows/`.
 11571  	TargetFlow string `json:"targetFlow,omitempty"`
 11572  	// TargetPage: The target page to transition to. Format:
 11573  	// `projects//locations//agents//flows//pages/`.
 11574  	TargetPage string `json:"targetPage,omitempty"`
 11575  	// TriggerFulfillment: The fulfillment to call when the condition is satisfied.
 11576  	// At least one of `trigger_fulfillment` and `target` must be specified. When
 11577  	// both are defined, `trigger_fulfillment` is executed first.
 11578  	TriggerFulfillment *GoogleCloudDialogflowCxV3beta1Fulfillment `json:"triggerFulfillment,omitempty"`
 11579  	// ForceSendFields is a list of field names (e.g. "Condition") to
 11580  	// unconditionally include in API requests. By default, fields with empty or
 11581  	// default values are omitted from API requests. See
 11582  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11583  	// details.
 11584  	ForceSendFields []string `json:"-"`
 11585  	// NullFields is a list of field names (e.g. "Condition") to include in API
 11586  	// requests with the JSON null value. By default, fields with empty values are
 11587  	// omitted from API requests. See
 11588  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11589  	NullFields []string `json:"-"`
 11590  }
 11591  
 11592  func (s *GoogleCloudDialogflowCxV3beta1TransitionRoute) MarshalJSON() ([]byte, error) {
 11593  	type NoMethod GoogleCloudDialogflowCxV3beta1TransitionRoute
 11594  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11595  }
 11596  
 11597  // GoogleCloudDialogflowCxV3beta1TurnSignals: Collection of all signals that
 11598  // were extracted for a single turn of the conversation.
 11599  type GoogleCloudDialogflowCxV3beta1TurnSignals struct {
 11600  	// AgentEscalated: Whether agent responded with LiveAgentHandoff fulfillment.
 11601  	AgentEscalated bool `json:"agentEscalated,omitempty"`
 11602  	// DtmfUsed: Whether user was using DTMF input.
 11603  	DtmfUsed bool `json:"dtmfUsed,omitempty"`
 11604  	// FailureReasons: Failure reasons of the turn.
 11605  	//
 11606  	// Possible values:
 11607  	//   "FAILURE_REASON_UNSPECIFIED" - Failure reason is not assigned.
 11608  	//   "FAILED_INTENT" - Whether NLU failed to recognize user intent.
 11609  	//   "FAILED_WEBHOOK" - Whether webhook failed during the turn.
 11610  	FailureReasons []string `json:"failureReasons,omitempty"`
 11611  	// NoMatch: Whether NLU predicted NO_MATCH.
 11612  	NoMatch bool `json:"noMatch,omitempty"`
 11613  	// NoUserInput: Whether user provided no input.
 11614  	NoUserInput bool `json:"noUserInput,omitempty"`
 11615  	// ReachedEndPage: Whether turn resulted in End Session page.
 11616  	ReachedEndPage bool `json:"reachedEndPage,omitempty"`
 11617  	// SentimentMagnitude: Sentiment magnitude of the user utterance if sentiment
 11618  	// (https://cloud.google.com/dialogflow/cx/docs/concept/sentiment) was enabled.
 11619  	SentimentMagnitude float64 `json:"sentimentMagnitude,omitempty"`
 11620  	// SentimentScore: Sentiment score of the user utterance if sentiment
 11621  	// (https://cloud.google.com/dialogflow/cx/docs/concept/sentiment) was enabled.
 11622  	SentimentScore float64 `json:"sentimentScore,omitempty"`
 11623  	// UserEscalated: Whether user was specifically asking for a live agent.
 11624  	UserEscalated bool `json:"userEscalated,omitempty"`
 11625  	// WebhookStatuses: Human-readable statuses of the webhooks triggered during
 11626  	// this turn.
 11627  	WebhookStatuses []string `json:"webhookStatuses,omitempty"`
 11628  	// ForceSendFields is a list of field names (e.g. "AgentEscalated") to
 11629  	// unconditionally include in API requests. By default, fields with empty or
 11630  	// default values are omitted from API requests. See
 11631  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11632  	// details.
 11633  	ForceSendFields []string `json:"-"`
 11634  	// NullFields is a list of field names (e.g. "AgentEscalated") to include in
 11635  	// API requests with the JSON null value. By default, fields with empty values
 11636  	// are omitted from API requests. See
 11637  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11638  	NullFields []string `json:"-"`
 11639  }
 11640  
 11641  func (s *GoogleCloudDialogflowCxV3beta1TurnSignals) MarshalJSON() ([]byte, error) {
 11642  	type NoMethod GoogleCloudDialogflowCxV3beta1TurnSignals
 11643  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11644  }
 11645  
 11646  func (s *GoogleCloudDialogflowCxV3beta1TurnSignals) UnmarshalJSON(data []byte) error {
 11647  	type NoMethod GoogleCloudDialogflowCxV3beta1TurnSignals
 11648  	var s1 struct {
 11649  		SentimentMagnitude gensupport.JSONFloat64 `json:"sentimentMagnitude"`
 11650  		SentimentScore     gensupport.JSONFloat64 `json:"sentimentScore"`
 11651  		*NoMethod
 11652  	}
 11653  	s1.NoMethod = (*NoMethod)(s)
 11654  	if err := json.Unmarshal(data, &s1); err != nil {
 11655  		return err
 11656  	}
 11657  	s.SentimentMagnitude = float64(s1.SentimentMagnitude)
 11658  	s.SentimentScore = float64(s1.SentimentScore)
 11659  	return nil
 11660  }
 11661  
 11662  // GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata: Metadata for
 11663  // UpdateDocument operation.
 11664  type GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata struct {
 11665  	// GenericMetadata: The generic information of the operation.
 11666  	GenericMetadata *GoogleCloudDialogflowCxV3beta1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"`
 11667  	// ForceSendFields is a list of field names (e.g. "GenericMetadata") to
 11668  	// unconditionally include in API requests. By default, fields with empty or
 11669  	// default values are omitted from API requests. See
 11670  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11671  	// details.
 11672  	ForceSendFields []string `json:"-"`
 11673  	// NullFields is a list of field names (e.g. "GenericMetadata") to include in
 11674  	// API requests with the JSON null value. By default, fields with empty values
 11675  	// are omitted from API requests. See
 11676  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11677  	NullFields []string `json:"-"`
 11678  }
 11679  
 11680  func (s *GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error) {
 11681  	type NoMethod GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata
 11682  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11683  }
 11684  
 11685  // GoogleCloudDialogflowCxV3beta1Webhook: Webhooks host the developer's
 11686  // business logic. During a session, webhooks allow the developer to use the
 11687  // data extracted by Dialogflow's natural language processing to generate
 11688  // dynamic responses, validate collected data, or trigger actions on the
 11689  // backend.
 11690  type GoogleCloudDialogflowCxV3beta1Webhook struct {
 11691  	// Disabled: Indicates whether the webhook is disabled.
 11692  	Disabled bool `json:"disabled,omitempty"`
 11693  	// DisplayName: Required. The human-readable name of the webhook, unique within
 11694  	// the agent.
 11695  	DisplayName string `json:"displayName,omitempty"`
 11696  	// GenericWebService: Configuration for a generic web service.
 11697  	GenericWebService *GoogleCloudDialogflowCxV3beta1WebhookGenericWebService `json:"genericWebService,omitempty"`
 11698  	// Name: The unique identifier of the webhook. Required for the
 11699  	// Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name
 11700  	// automatically. Format: `projects//locations//agents//webhooks/`.
 11701  	Name string `json:"name,omitempty"`
 11702  	// ServiceDirectory: Configuration for a Service Directory
 11703  	// (https://cloud.google.com/service-directory) service.
 11704  	ServiceDirectory *GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig `json:"serviceDirectory,omitempty"`
 11705  	// Timeout: Webhook execution timeout. Execution is considered failed if
 11706  	// Dialogflow doesn't receive a response from webhook at the end of the timeout
 11707  	// period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
 11708  	Timeout string `json:"timeout,omitempty"`
 11709  	// ForceSendFields is a list of field names (e.g. "Disabled") to
 11710  	// unconditionally include in API requests. By default, fields with empty or
 11711  	// default values are omitted from API requests. See
 11712  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11713  	// details.
 11714  	ForceSendFields []string `json:"-"`
 11715  	// NullFields is a list of field names (e.g. "Disabled") to include in API
 11716  	// requests with the JSON null value. By default, fields with empty values are
 11717  	// omitted from API requests. See
 11718  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11719  	NullFields []string `json:"-"`
 11720  }
 11721  
 11722  func (s *GoogleCloudDialogflowCxV3beta1Webhook) MarshalJSON() ([]byte, error) {
 11723  	type NoMethod GoogleCloudDialogflowCxV3beta1Webhook
 11724  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11725  }
 11726  
 11727  // GoogleCloudDialogflowCxV3beta1WebhookGenericWebService: Represents
 11728  // configuration for a generic web service.
 11729  type GoogleCloudDialogflowCxV3beta1WebhookGenericWebService struct {
 11730  	// AllowedCaCerts: Optional. Specifies a list of allowed custom CA certificates
 11731  	// (in DER format) for HTTPS verification. This overrides the default SSL trust
 11732  	// store. If this is empty or unspecified, Dialogflow will use Google's default
 11733  	// trust store to verify certificates. N.B. Make sure the HTTPS server
 11734  	// certificates are signed with "subject alt name". For instance a certificate
 11735  	// can be self-signed using the following command, ``` openssl x509 -req -days
 11736  	// 200 -in example.com.csr \ -signkey example.com.key \ -out example.com.crt \
 11737  	// -extfile <(printf "\nsubjectAltName='DNS:www.example.com'") ```
 11738  	AllowedCaCerts []string `json:"allowedCaCerts,omitempty"`
 11739  	// HttpMethod: Optional. HTTP method for the flexible webhook calls. Standard
 11740  	// webhook always uses POST.
 11741  	//
 11742  	// Possible values:
 11743  	//   "HTTP_METHOD_UNSPECIFIED" - HTTP method not specified.
 11744  	//   "POST" - HTTP POST Method.
 11745  	//   "GET" - HTTP GET Method.
 11746  	//   "HEAD" - HTTP HEAD Method.
 11747  	//   "PUT" - HTTP PUT Method.
 11748  	//   "DELETE" - HTTP DELETE Method.
 11749  	//   "PATCH" - HTTP PATCH Method.
 11750  	//   "OPTIONS" - HTTP OPTIONS Method.
 11751  	HttpMethod string `json:"httpMethod,omitempty"`
 11752  	// OauthConfig: Optional. The OAuth configuration of the webhook. If specified,
 11753  	// Dialogflow will initiate the OAuth client credential flow to exchange an
 11754  	// access token from the 3rd party platform and put it in the auth header.
 11755  	OauthConfig *GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig `json:"oauthConfig,omitempty"`
 11756  	// ParameterMapping: Optional. Maps the values extracted from specific fields
 11757  	// of the flexible webhook response into session parameters. - Key: session
 11758  	// parameter name - Value: field path in the webhook response
 11759  	ParameterMapping map[string]string `json:"parameterMapping,omitempty"`
 11760  	// Password: The password for HTTP Basic authentication.
 11761  	Password string `json:"password,omitempty"`
 11762  	// RequestBody: Optional. Defines a custom JSON object as request body to send
 11763  	// to flexible webhook.
 11764  	RequestBody string `json:"requestBody,omitempty"`
 11765  	// RequestHeaders: The HTTP request headers to send together with webhook
 11766  	// requests.
 11767  	RequestHeaders map[string]string `json:"requestHeaders,omitempty"`
 11768  	// ServiceAgentAuth: Optional. Indicate the auth token type generated from the
 11769  	// Diglogflow service agent
 11770  	// (https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).
 11771  	// The generated token is sent in the Authorization header.
 11772  	//
 11773  	// Possible values:
 11774  	//   "SERVICE_AGENT_AUTH_UNSPECIFIED" - Service agent auth type unspecified.
 11775  	// Default to ID_TOKEN.
 11776  	//   "NONE" - No token used.
 11777  	//   "ID_TOKEN" - Use [ID
 11778  	// token](https://cloud.google.com/docs/authentication/token-types#id)
 11779  	// generated from service agent. This can be used to access Cloud Function and
 11780  	// Cloud Run after you grant Invoker role to
 11781  	// `service-@gcp-sa-dialogflow.iam.gserviceaccount.com`.
 11782  	//   "ACCESS_TOKEN" - Use [access
 11783  	// token](https://cloud.google.com/docs/authentication/token-types#access)
 11784  	// generated from service agent. This can be used to access other Google Cloud
 11785  	// APIs after you grant required roles to
 11786  	// `service-@gcp-sa-dialogflow.iam.gserviceaccount.com`.
 11787  	ServiceAgentAuth string `json:"serviceAgentAuth,omitempty"`
 11788  	// Uri: Required. The webhook URI for receiving POST requests. It must use
 11789  	// https protocol.
 11790  	Uri string `json:"uri,omitempty"`
 11791  	// Username: The user name for HTTP Basic authentication.
 11792  	Username string `json:"username,omitempty"`
 11793  	// WebhookType: Optional. Type of the webhook.
 11794  	//
 11795  	// Possible values:
 11796  	//   "WEBHOOK_TYPE_UNSPECIFIED" - Default value. This value is unused.
 11797  	//   "STANDARD" - Represents a standard webhook.
 11798  	//   "FLEXIBLE" - Represents a flexible webhook.
 11799  	WebhookType string `json:"webhookType,omitempty"`
 11800  	// ForceSendFields is a list of field names (e.g. "AllowedCaCerts") to
 11801  	// unconditionally include in API requests. By default, fields with empty or
 11802  	// default values are omitted from API requests. See
 11803  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11804  	// details.
 11805  	ForceSendFields []string `json:"-"`
 11806  	// NullFields is a list of field names (e.g. "AllowedCaCerts") to include in
 11807  	// API requests with the JSON null value. By default, fields with empty values
 11808  	// are omitted from API requests. See
 11809  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11810  	NullFields []string `json:"-"`
 11811  }
 11812  
 11813  func (s *GoogleCloudDialogflowCxV3beta1WebhookGenericWebService) MarshalJSON() ([]byte, error) {
 11814  	type NoMethod GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
 11815  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11816  }
 11817  
 11818  // GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig:
 11819  // Represents configuration of OAuth client credential flow for 3rd party API
 11820  // authentication.
 11821  type GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig struct {
 11822  	// ClientId: Required. The client ID provided by the 3rd party platform.
 11823  	ClientId string `json:"clientId,omitempty"`
 11824  	// ClientSecret: Required. The client secret provided by the 3rd party
 11825  	// platform.
 11826  	ClientSecret string `json:"clientSecret,omitempty"`
 11827  	// Scopes: Optional. The OAuth scopes to grant.
 11828  	Scopes []string `json:"scopes,omitempty"`
 11829  	// TokenEndpoint: Required. The token endpoint provided by the 3rd party
 11830  	// platform to exchange an access token.
 11831  	TokenEndpoint string `json:"tokenEndpoint,omitempty"`
 11832  	// ForceSendFields is a list of field names (e.g. "ClientId") to
 11833  	// unconditionally include in API requests. By default, fields with empty or
 11834  	// default values are omitted from API requests. See
 11835  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11836  	// details.
 11837  	ForceSendFields []string `json:"-"`
 11838  	// NullFields is a list of field names (e.g. "ClientId") to include in API
 11839  	// requests with the JSON null value. By default, fields with empty values are
 11840  	// omitted from API requests. See
 11841  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11842  	NullFields []string `json:"-"`
 11843  }
 11844  
 11845  func (s *GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig) MarshalJSON() ([]byte, error) {
 11846  	type NoMethod GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig
 11847  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11848  }
 11849  
 11850  // GoogleCloudDialogflowCxV3beta1WebhookRequest: The request message for a
 11851  // webhook call. The request is sent as a JSON object and the field names will
 11852  // be presented in camel cases. You may see undocumented fields in an actual
 11853  // request. These fields are used internally by Dialogflow and should be
 11854  // ignored.
 11855  type GoogleCloudDialogflowCxV3beta1WebhookRequest struct {
 11856  	// DetectIntentResponseId: Always present. The unique identifier of the
 11857  	// DetectIntentResponse that will be returned to the API caller.
 11858  	DetectIntentResponseId string `json:"detectIntentResponseId,omitempty"`
 11859  	// DtmfDigits: If DTMF was provided as input, this field will contain the DTMF
 11860  	// digits.
 11861  	DtmfDigits string `json:"dtmfDigits,omitempty"`
 11862  	// FulfillmentInfo: Always present. Information about the fulfillment that
 11863  	// triggered this webhook call.
 11864  	FulfillmentInfo *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo `json:"fulfillmentInfo,omitempty"`
 11865  	// IntentInfo: Information about the last matched intent.
 11866  	IntentInfo *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo `json:"intentInfo,omitempty"`
 11867  	// LanguageCode: The language code specified in the original request.
 11868  	LanguageCode string `json:"languageCode,omitempty"`
 11869  	// LanguageInfo: Information about the language of the request.
 11870  	LanguageInfo *GoogleCloudDialogflowCxV3beta1LanguageInfo `json:"languageInfo,omitempty"`
 11871  	// Messages: The list of rich message responses to present to the user. Webhook
 11872  	// can choose to append or replace this list in
 11873  	// WebhookResponse.fulfillment_response;
 11874  	Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"`
 11875  	// PageInfo: Information about page status.
 11876  	PageInfo *GoogleCloudDialogflowCxV3beta1PageInfo `json:"pageInfo,omitempty"`
 11877  	// Payload: Custom data set in QueryParameters.payload.
 11878  	Payload googleapi.RawMessage `json:"payload,omitempty"`
 11879  	// SentimentAnalysisResult: The sentiment analysis result of the current user
 11880  	// request. The field is filled when sentiment analysis is configured to be
 11881  	// enabled for the request.
 11882  	SentimentAnalysisResult *GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"`
 11883  	// SessionInfo: Information about session status.
 11884  	SessionInfo *GoogleCloudDialogflowCxV3beta1SessionInfo `json:"sessionInfo,omitempty"`
 11885  	// Text: If natural language text was provided as input, this field will
 11886  	// contain a copy of the text.
 11887  	Text string `json:"text,omitempty"`
 11888  	// Transcript: If natural language speech audio was provided as input, this
 11889  	// field will contain the transcript for the audio.
 11890  	Transcript string `json:"transcript,omitempty"`
 11891  	// TriggerEvent: If an event was provided as input, this field will contain the
 11892  	// name of the event.
 11893  	TriggerEvent string `json:"triggerEvent,omitempty"`
 11894  	// TriggerIntent: If an intent was provided as input, this field will contain a
 11895  	// copy of the intent identifier. Format:
 11896  	// `projects//locations//agents//intents/`.
 11897  	TriggerIntent string `json:"triggerIntent,omitempty"`
 11898  	// ForceSendFields is a list of field names (e.g. "DetectIntentResponseId") to
 11899  	// unconditionally include in API requests. By default, fields with empty or
 11900  	// default values are omitted from API requests. See
 11901  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11902  	// details.
 11903  	ForceSendFields []string `json:"-"`
 11904  	// NullFields is a list of field names (e.g. "DetectIntentResponseId") to
 11905  	// include in API requests with the JSON null value. By default, fields with
 11906  	// empty values are omitted from API requests. See
 11907  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11908  	NullFields []string `json:"-"`
 11909  }
 11910  
 11911  func (s *GoogleCloudDialogflowCxV3beta1WebhookRequest) MarshalJSON() ([]byte, error) {
 11912  	type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequest
 11913  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11914  }
 11915  
 11916  // GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo: Represents
 11917  // fulfillment information communicated to the webhook.
 11918  type GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo struct {
 11919  	// Tag: Always present. The value of the Fulfillment.tag field will be
 11920  	// populated in this field by Dialogflow when the associated webhook is called.
 11921  	// The tag is typically used by the webhook service to identify which
 11922  	// fulfillment is being called, but it could be used for other purposes.
 11923  	Tag string `json:"tag,omitempty"`
 11924  	// ForceSendFields is a list of field names (e.g. "Tag") to unconditionally
 11925  	// include in API requests. By default, fields with empty or default values are
 11926  	// omitted from API requests. See
 11927  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11928  	// details.
 11929  	ForceSendFields []string `json:"-"`
 11930  	// NullFields is a list of field names (e.g. "Tag") to include in API requests
 11931  	// with the JSON null value. By default, fields with empty values are omitted
 11932  	// from API requests. See
 11933  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11934  	NullFields []string `json:"-"`
 11935  }
 11936  
 11937  func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo) MarshalJSON() ([]byte, error) {
 11938  	type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo
 11939  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11940  }
 11941  
 11942  // GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo: Represents intent
 11943  // information communicated to the webhook.
 11944  type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo struct {
 11945  	// Confidence: The confidence of the matched intent. Values range from 0.0
 11946  	// (completely uncertain) to 1.0 (completely certain).
 11947  	Confidence float64 `json:"confidence,omitempty"`
 11948  	// DisplayName: Always present. The display name of the last matched intent.
 11949  	DisplayName string `json:"displayName,omitempty"`
 11950  	// LastMatchedIntent: Always present. The unique identifier of the last matched
 11951  	// intent. Format: `projects//locations//agents//intents/`.
 11952  	LastMatchedIntent string `json:"lastMatchedIntent,omitempty"`
 11953  	// Parameters: Parameters identified as a result of intent matching. This is a
 11954  	// map of the name of the identified parameter to the value of the parameter
 11955  	// identified from the user's utterance. All parameters defined in the matched
 11956  	// intent that are identified will be surfaced here.
 11957  	Parameters map[string]GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue `json:"parameters,omitempty"`
 11958  	// ForceSendFields is a list of field names (e.g. "Confidence") to
 11959  	// unconditionally include in API requests. By default, fields with empty or
 11960  	// default values are omitted from API requests. See
 11961  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 11962  	// details.
 11963  	ForceSendFields []string `json:"-"`
 11964  	// NullFields is a list of field names (e.g. "Confidence") to include in API
 11965  	// requests with the JSON null value. By default, fields with empty values are
 11966  	// omitted from API requests. See
 11967  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 11968  	NullFields []string `json:"-"`
 11969  }
 11970  
 11971  func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo) MarshalJSON() ([]byte, error) {
 11972  	type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
 11973  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 11974  }
 11975  
 11976  func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo) UnmarshalJSON(data []byte) error {
 11977  	type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
 11978  	var s1 struct {
 11979  		Confidence gensupport.JSONFloat64 `json:"confidence"`
 11980  		*NoMethod
 11981  	}
 11982  	s1.NoMethod = (*NoMethod)(s)
 11983  	if err := json.Unmarshal(data, &s1); err != nil {
 11984  		return err
 11985  	}
 11986  	s.Confidence = float64(s1.Confidence)
 11987  	return nil
 11988  }
 11989  
 11990  // GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue:
 11991  // Represents a value for an intent parameter.
 11992  type GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue struct {
 11993  	// OriginalValue: Always present. Original text value extracted from user
 11994  	// utterance.
 11995  	OriginalValue string `json:"originalValue,omitempty"`
 11996  	// ResolvedValue: Always present. Structured value for the parameter extracted
 11997  	// from user utterance.
 11998  	ResolvedValue interface{} `json:"resolvedValue,omitempty"`
 11999  	// ForceSendFields is a list of field names (e.g. "OriginalValue") to
 12000  	// unconditionally include in API requests. By default, fields with empty or
 12001  	// default values are omitted from API requests. See
 12002  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12003  	// details.
 12004  	ForceSendFields []string `json:"-"`
 12005  	// NullFields is a list of field names (e.g. "OriginalValue") to include in API
 12006  	// requests with the JSON null value. By default, fields with empty values are
 12007  	// omitted from API requests. See
 12008  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12009  	NullFields []string `json:"-"`
 12010  }
 12011  
 12012  func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue) MarshalJSON() ([]byte, error) {
 12013  	type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue
 12014  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12015  }
 12016  
 12017  // GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult:
 12018  // Represents the result of sentiment analysis.
 12019  type GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult struct {
 12020  	// Magnitude: A non-negative number in the [0, +inf) range, which represents
 12021  	// the absolute magnitude of sentiment, regardless of score (positive or
 12022  	// negative).
 12023  	Magnitude float64 `json:"magnitude,omitempty"`
 12024  	// Score: Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
 12025  	// sentiment).
 12026  	Score float64 `json:"score,omitempty"`
 12027  	// ForceSendFields is a list of field names (e.g. "Magnitude") to
 12028  	// unconditionally include in API requests. By default, fields with empty or
 12029  	// default values are omitted from API requests. See
 12030  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12031  	// details.
 12032  	ForceSendFields []string `json:"-"`
 12033  	// NullFields is a list of field names (e.g. "Magnitude") to include in API
 12034  	// requests with the JSON null value. By default, fields with empty values are
 12035  	// omitted from API requests. See
 12036  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12037  	NullFields []string `json:"-"`
 12038  }
 12039  
 12040  func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult) MarshalJSON() ([]byte, error) {
 12041  	type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult
 12042  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12043  }
 12044  
 12045  func (s *GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult) UnmarshalJSON(data []byte) error {
 12046  	type NoMethod GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult
 12047  	var s1 struct {
 12048  		Magnitude gensupport.JSONFloat64 `json:"magnitude"`
 12049  		Score     gensupport.JSONFloat64 `json:"score"`
 12050  		*NoMethod
 12051  	}
 12052  	s1.NoMethod = (*NoMethod)(s)
 12053  	if err := json.Unmarshal(data, &s1); err != nil {
 12054  		return err
 12055  	}
 12056  	s.Magnitude = float64(s1.Magnitude)
 12057  	s.Score = float64(s1.Score)
 12058  	return nil
 12059  }
 12060  
 12061  // GoogleCloudDialogflowCxV3beta1WebhookResponse: The response message for a
 12062  // webhook call.
 12063  type GoogleCloudDialogflowCxV3beta1WebhookResponse struct {
 12064  	// FulfillmentResponse: The fulfillment response to send to the user. This
 12065  	// field can be omitted by the webhook if it does not intend to send any
 12066  	// response to the user.
 12067  	FulfillmentResponse *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse `json:"fulfillmentResponse,omitempty"`
 12068  	// PageInfo: Information about page status. This field can be omitted by the
 12069  	// webhook if it does not intend to modify page status.
 12070  	PageInfo *GoogleCloudDialogflowCxV3beta1PageInfo `json:"pageInfo,omitempty"`
 12071  	// Payload: Value to append directly to QueryResult.webhook_payloads.
 12072  	Payload googleapi.RawMessage `json:"payload,omitempty"`
 12073  	// SessionInfo: Information about session status. This field can be omitted by
 12074  	// the webhook if it does not intend to modify session status.
 12075  	SessionInfo *GoogleCloudDialogflowCxV3beta1SessionInfo `json:"sessionInfo,omitempty"`
 12076  	// TargetFlow: The target flow to transition to. Format:
 12077  	// `projects//locations//agents//flows/`.
 12078  	TargetFlow string `json:"targetFlow,omitempty"`
 12079  	// TargetPage: The target page to transition to. Format:
 12080  	// `projects//locations//agents//flows//pages/`.
 12081  	TargetPage string `json:"targetPage,omitempty"`
 12082  	// ForceSendFields is a list of field names (e.g. "FulfillmentResponse") to
 12083  	// unconditionally include in API requests. By default, fields with empty or
 12084  	// default values are omitted from API requests. See
 12085  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12086  	// details.
 12087  	ForceSendFields []string `json:"-"`
 12088  	// NullFields is a list of field names (e.g. "FulfillmentResponse") to include
 12089  	// in API requests with the JSON null value. By default, fields with empty
 12090  	// values are omitted from API requests. See
 12091  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12092  	NullFields []string `json:"-"`
 12093  }
 12094  
 12095  func (s *GoogleCloudDialogflowCxV3beta1WebhookResponse) MarshalJSON() ([]byte, error) {
 12096  	type NoMethod GoogleCloudDialogflowCxV3beta1WebhookResponse
 12097  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12098  }
 12099  
 12100  // GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse: Represents
 12101  // a fulfillment response to the user.
 12102  type GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse struct {
 12103  	// MergeBehavior: Merge behavior for `messages`.
 12104  	//
 12105  	// Possible values:
 12106  	//   "MERGE_BEHAVIOR_UNSPECIFIED" - Not specified. `APPEND` will be used.
 12107  	//   "APPEND" - `messages` will be appended to the list of messages waiting to
 12108  	// be sent to the user.
 12109  	//   "REPLACE" - `messages` will replace the list of messages waiting to be
 12110  	// sent to the user.
 12111  	MergeBehavior string `json:"mergeBehavior,omitempty"`
 12112  	// Messages: The list of rich message responses to present to the user.
 12113  	Messages []*GoogleCloudDialogflowCxV3beta1ResponseMessage `json:"messages,omitempty"`
 12114  	// ForceSendFields is a list of field names (e.g. "MergeBehavior") to
 12115  	// unconditionally include in API requests. By default, fields with empty or
 12116  	// default values are omitted from API requests. See
 12117  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12118  	// details.
 12119  	ForceSendFields []string `json:"-"`
 12120  	// NullFields is a list of field names (e.g. "MergeBehavior") to include in API
 12121  	// requests with the JSON null value. By default, fields with empty values are
 12122  	// omitted from API requests. See
 12123  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12124  	NullFields []string `json:"-"`
 12125  }
 12126  
 12127  func (s *GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse) MarshalJSON() ([]byte, error) {
 12128  	type NoMethod GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse
 12129  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12130  }
 12131  
 12132  // GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig: Represents
 12133  // configuration for a Service Directory
 12134  // (https://cloud.google.com/service-directory) service.
 12135  type GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig struct {
 12136  	// GenericWebService: Generic Service configuration of this webhook.
 12137  	GenericWebService *GoogleCloudDialogflowCxV3beta1WebhookGenericWebService `json:"genericWebService,omitempty"`
 12138  	// Service: Required. The name of Service Directory
 12139  	// (https://cloud.google.com/service-directory) service. Format:
 12140  	// `projects//locations//namespaces//services/`. `Location ID` of the service
 12141  	// directory must be the same as the location of the agent.
 12142  	Service string `json:"service,omitempty"`
 12143  	// ForceSendFields is a list of field names (e.g. "GenericWebService") to
 12144  	// unconditionally include in API requests. By default, fields with empty or
 12145  	// default values are omitted from API requests. See
 12146  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12147  	// details.
 12148  	ForceSendFields []string `json:"-"`
 12149  	// NullFields is a list of field names (e.g. "GenericWebService") to include in
 12150  	// API requests with the JSON null value. By default, fields with empty values
 12151  	// are omitted from API requests. See
 12152  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12153  	NullFields []string `json:"-"`
 12154  }
 12155  
 12156  func (s *GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig) MarshalJSON() ([]byte, error) {
 12157  	type NoMethod GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig
 12158  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12159  }
 12160  
 12161  // GoogleCloudDialogflowV2AnnotatedMessagePart: Represents a part of a message
 12162  // possibly annotated with an entity. The part can be an entity or purely a
 12163  // part of the message between two entities or message start/end.
 12164  type GoogleCloudDialogflowV2AnnotatedMessagePart struct {
 12165  	// EntityType: The Dialogflow system entity type
 12166  	// (https://cloud.google.com/dialogflow/docs/reference/system-entities) of this
 12167  	// message part. If this is empty, Dialogflow could not annotate the phrase
 12168  	// part with a system entity.
 12169  	EntityType string `json:"entityType,omitempty"`
 12170  	// FormattedValue: The Dialogflow system entity formatted value
 12171  	// (https://cloud.google.com/dialogflow/docs/reference/system-entities) of this
 12172  	// message part. For example for a system entity of type `@sys.unit-currency`,
 12173  	// this may contain: { "amount": 5, "currency": "USD" }
 12174  	FormattedValue interface{} `json:"formattedValue,omitempty"`
 12175  	// Text: A part of a message possibly annotated with an entity.
 12176  	Text string `json:"text,omitempty"`
 12177  	// ForceSendFields is a list of field names (e.g. "EntityType") to
 12178  	// unconditionally include in API requests. By default, fields with empty or
 12179  	// default values are omitted from API requests. See
 12180  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12181  	// details.
 12182  	ForceSendFields []string `json:"-"`
 12183  	// NullFields is a list of field names (e.g. "EntityType") to include in API
 12184  	// requests with the JSON null value. By default, fields with empty values are
 12185  	// omitted from API requests. See
 12186  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12187  	NullFields []string `json:"-"`
 12188  }
 12189  
 12190  func (s *GoogleCloudDialogflowV2AnnotatedMessagePart) MarshalJSON() ([]byte, error) {
 12191  	type NoMethod GoogleCloudDialogflowV2AnnotatedMessagePart
 12192  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12193  }
 12194  
 12195  // GoogleCloudDialogflowV2ArticleAnswer: Represents article answer.
 12196  type GoogleCloudDialogflowV2ArticleAnswer struct {
 12197  	// AnswerRecord: The name of answer record, in the format of
 12198  	// "projects//locations//answerRecords/"
 12199  	AnswerRecord string `json:"answerRecord,omitempty"`
 12200  	// Confidence: Article match confidence. The system's confidence score that
 12201  	// this article is a good match for this conversation, as a value from 0.0
 12202  	// (completely uncertain) to 1.0 (completely certain).
 12203  	Confidence float64 `json:"confidence,omitempty"`
 12204  	// Metadata: A map that contains metadata about the answer and the document
 12205  	// from which it originates.
 12206  	Metadata map[string]string `json:"metadata,omitempty"`
 12207  	// Snippets: Article snippets.
 12208  	Snippets []string `json:"snippets,omitempty"`
 12209  	// Title: The article title.
 12210  	Title string `json:"title,omitempty"`
 12211  	// Uri: The article URI.
 12212  	Uri string `json:"uri,omitempty"`
 12213  	// ForceSendFields is a list of field names (e.g. "AnswerRecord") to
 12214  	// unconditionally include in API requests. By default, fields with empty or
 12215  	// default values are omitted from API requests. See
 12216  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12217  	// details.
 12218  	ForceSendFields []string `json:"-"`
 12219  	// NullFields is a list of field names (e.g. "AnswerRecord") to include in API
 12220  	// requests with the JSON null value. By default, fields with empty values are
 12221  	// omitted from API requests. See
 12222  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12223  	NullFields []string `json:"-"`
 12224  }
 12225  
 12226  func (s *GoogleCloudDialogflowV2ArticleAnswer) MarshalJSON() ([]byte, error) {
 12227  	type NoMethod GoogleCloudDialogflowV2ArticleAnswer
 12228  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12229  }
 12230  
 12231  func (s *GoogleCloudDialogflowV2ArticleAnswer) UnmarshalJSON(data []byte) error {
 12232  	type NoMethod GoogleCloudDialogflowV2ArticleAnswer
 12233  	var s1 struct {
 12234  		Confidence gensupport.JSONFloat64 `json:"confidence"`
 12235  		*NoMethod
 12236  	}
 12237  	s1.NoMethod = (*NoMethod)(s)
 12238  	if err := json.Unmarshal(data, &s1); err != nil {
 12239  		return err
 12240  	}
 12241  	s.Confidence = float64(s1.Confidence)
 12242  	return nil
 12243  }
 12244  
 12245  // GoogleCloudDialogflowV2ArticleSuggestionModelMetadata: Metadata for article
 12246  // suggestion models.
 12247  type GoogleCloudDialogflowV2ArticleSuggestionModelMetadata struct {
 12248  	// TrainingModelType: Optional. Type of the article suggestion model. If not
 12249  	// provided, model_type is used.
 12250  	//
 12251  	// Possible values:
 12252  	//   "MODEL_TYPE_UNSPECIFIED" - ModelType unspecified.
 12253  	//   "SMART_REPLY_DUAL_ENCODER_MODEL" - ModelType smart reply dual encoder
 12254  	// model.
 12255  	//   "SMART_REPLY_BERT_MODEL" - ModelType smart reply bert model.
 12256  	TrainingModelType string `json:"trainingModelType,omitempty"`
 12257  	// ForceSendFields is a list of field names (e.g. "TrainingModelType") to
 12258  	// unconditionally include in API requests. By default, fields with empty or
 12259  	// default values are omitted from API requests. See
 12260  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12261  	// details.
 12262  	ForceSendFields []string `json:"-"`
 12263  	// NullFields is a list of field names (e.g. "TrainingModelType") to include in
 12264  	// API requests with the JSON null value. By default, fields with empty values
 12265  	// are omitted from API requests. See
 12266  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12267  	NullFields []string `json:"-"`
 12268  }
 12269  
 12270  func (s *GoogleCloudDialogflowV2ArticleSuggestionModelMetadata) MarshalJSON() ([]byte, error) {
 12271  	type NoMethod GoogleCloudDialogflowV2ArticleSuggestionModelMetadata
 12272  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12273  }
 12274  
 12275  // GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse: The response message
 12276  // for EntityTypes.BatchUpdateEntityTypes.
 12277  type GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse struct {
 12278  	// EntityTypes: The collection of updated or created entity types.
 12279  	EntityTypes []*GoogleCloudDialogflowV2EntityType `json:"entityTypes,omitempty"`
 12280  	// ForceSendFields is a list of field names (e.g. "EntityTypes") to
 12281  	// unconditionally include in API requests. By default, fields with empty or
 12282  	// default values are omitted from API requests. See
 12283  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12284  	// details.
 12285  	ForceSendFields []string `json:"-"`
 12286  	// NullFields is a list of field names (e.g. "EntityTypes") to include in API
 12287  	// requests with the JSON null value. By default, fields with empty values are
 12288  	// omitted from API requests. See
 12289  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12290  	NullFields []string `json:"-"`
 12291  }
 12292  
 12293  func (s *GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse) MarshalJSON() ([]byte, error) {
 12294  	type NoMethod GoogleCloudDialogflowV2BatchUpdateEntityTypesResponse
 12295  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12296  }
 12297  
 12298  // GoogleCloudDialogflowV2BatchUpdateIntentsResponse: The response message for
 12299  // Intents.BatchUpdateIntents.
 12300  type GoogleCloudDialogflowV2BatchUpdateIntentsResponse struct {
 12301  	// Intents: The collection of updated or created intents.
 12302  	Intents []*GoogleCloudDialogflowV2Intent `json:"intents,omitempty"`
 12303  	// ForceSendFields is a list of field names (e.g. "Intents") to unconditionally
 12304  	// include in API requests. By default, fields with empty or default values are
 12305  	// omitted from API requests. See
 12306  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12307  	// details.
 12308  	ForceSendFields []string `json:"-"`
 12309  	// NullFields is a list of field names (e.g. "Intents") to include in API
 12310  	// requests with the JSON null value. By default, fields with empty values are
 12311  	// omitted from API requests. See
 12312  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12313  	NullFields []string `json:"-"`
 12314  }
 12315  
 12316  func (s *GoogleCloudDialogflowV2BatchUpdateIntentsResponse) MarshalJSON() ([]byte, error) {
 12317  	type NoMethod GoogleCloudDialogflowV2BatchUpdateIntentsResponse
 12318  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12319  }
 12320  
 12321  // GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata:
 12322  // Metadata for a ConversationProfile.ClearSuggestionFeatureConfig operation.
 12323  type GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata struct {
 12324  	// ConversationProfile: The resource name of the conversation profile. Format:
 12325  	// `projects//locations//conversationProfiles/`
 12326  	ConversationProfile string `json:"conversationProfile,omitempty"`
 12327  	// CreateTime: Timestamp whe the request was created. The time is measured on
 12328  	// server side.
 12329  	CreateTime string `json:"createTime,omitempty"`
 12330  	// ParticipantRole: Required. The participant role to remove the suggestion
 12331  	// feature config. Only HUMAN_AGENT or END_USER can be used.
 12332  	//
 12333  	// Possible values:
 12334  	//   "ROLE_UNSPECIFIED" - Participant role not set.
 12335  	//   "HUMAN_AGENT" - Participant is a human agent.
 12336  	//   "AUTOMATED_AGENT" - Participant is an automated agent, such as a
 12337  	// Dialogflow agent.
 12338  	//   "END_USER" - Participant is an end user that has called or chatted with
 12339  	// Dialogflow services.
 12340  	ParticipantRole string `json:"participantRole,omitempty"`
 12341  	// SuggestionFeatureType: Required. The type of the suggestion feature to
 12342  	// remove.
 12343  	//
 12344  	// Possible values:
 12345  	//   "TYPE_UNSPECIFIED" - Unspecified feature type.
 12346  	//   "ARTICLE_SUGGESTION" - Run article suggestion model for chat.
 12347  	//   "FAQ" - Run FAQ model for chat.
 12348  	//   "SMART_REPLY" - Run smart reply model for chat.
 12349  	//   "KNOWLEDGE_SEARCH" - Run knowledge search with text input from agent or
 12350  	// text generated query.
 12351  	SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"`
 12352  	// ForceSendFields is a list of field names (e.g. "ConversationProfile") to
 12353  	// unconditionally include in API requests. By default, fields with empty or
 12354  	// default values are omitted from API requests. See
 12355  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12356  	// details.
 12357  	ForceSendFields []string `json:"-"`
 12358  	// NullFields is a list of field names (e.g. "ConversationProfile") to include
 12359  	// in API requests with the JSON null value. By default, fields with empty
 12360  	// values are omitted from API requests. See
 12361  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12362  	NullFields []string `json:"-"`
 12363  }
 12364  
 12365  func (s *GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata) MarshalJSON() ([]byte, error) {
 12366  	type NoMethod GoogleCloudDialogflowV2ClearSuggestionFeatureConfigOperationMetadata
 12367  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12368  }
 12369  
 12370  // GoogleCloudDialogflowV2Context: Dialogflow contexts are similar to natural
 12371  // language context. If a person says to you "they are orange", you need
 12372  // context in order to understand what "they" is referring to. Similarly, for
 12373  // Dialogflow to handle an end-user expression like that, it needs to be
 12374  // provided with context in order to correctly match an intent. Using contexts,
 12375  // you can control the flow of a conversation. You can configure contexts for
 12376  // an intent by setting input and output contexts, which are identified by
 12377  // string names. When an intent is matched, any configured output contexts for
 12378  // that intent become active. While any contexts are active, Dialogflow is more
 12379  // likely to match intents that are configured with input contexts that
 12380  // correspond to the currently active contexts. For more information about
 12381  // context, see the Contexts guide
 12382  // (https://cloud.google.com/dialogflow/docs/contexts-overview).
 12383  type GoogleCloudDialogflowV2Context struct {
 12384  	// LifespanCount: Optional. The number of conversational query requests after
 12385  	// which the context expires. The default is `0`. If set to `0`, the context
 12386  	// expires immediately. Contexts expire automatically after 20 minutes if there
 12387  	// are no matching queries.
 12388  	LifespanCount int64 `json:"lifespanCount,omitempty"`
 12389  	// Name: Required. The unique identifier of the context. Format:
 12390  	// `projects//agent/sessions//contexts/`, or
 12391  	// `projects//agent/environments//users//sessions//contexts/`. The `Context ID`
 12392  	// is always converted to lowercase, may only contain characters in
 12393  	// `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is not
 12394  	// specified, we assume default 'draft' environment. If `User ID` is not
 12395  	// specified, we assume default '-' user. The following context names are
 12396  	// reserved for internal use by Dialogflow. You should not use these contexts
 12397  	// or create contexts with these names: * `__system_counters__` *
 12398  	// `*_id_dialog_context` * `*_dialog_params_size`
 12399  	Name string `json:"name,omitempty"`
 12400  	// Parameters: Optional. The collection of parameters associated with this
 12401  	// context. Depending on your protocol or client library language, this is a
 12402  	// map, associative array, symbol table, dictionary, or JSON object composed of
 12403  	// a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey
 12404  	// value: parameter name * MapValue type: If parameter's entity type is a
 12405  	// composite entity then use map, otherwise, depending on the parameter value
 12406  	// type, it could be one of string, number, boolean, null, list or map. *
 12407  	// MapValue value: If parameter's entity type is a composite entity then use
 12408  	// map from composite entity property names to property values, otherwise, use
 12409  	// parameter value.
 12410  	Parameters googleapi.RawMessage `json:"parameters,omitempty"`
 12411  	// ForceSendFields is a list of field names (e.g. "LifespanCount") to
 12412  	// unconditionally include in API requests. By default, fields with empty or
 12413  	// default values are omitted from API requests. See
 12414  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12415  	// details.
 12416  	ForceSendFields []string `json:"-"`
 12417  	// NullFields is a list of field names (e.g. "LifespanCount") to include in API
 12418  	// requests with the JSON null value. By default, fields with empty values are
 12419  	// omitted from API requests. See
 12420  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12421  	NullFields []string `json:"-"`
 12422  }
 12423  
 12424  func (s *GoogleCloudDialogflowV2Context) MarshalJSON() ([]byte, error) {
 12425  	type NoMethod GoogleCloudDialogflowV2Context
 12426  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12427  }
 12428  
 12429  // GoogleCloudDialogflowV2ConversationEvent: Represents a notification sent to
 12430  // Pub/Sub subscribers for conversation lifecycle events.
 12431  type GoogleCloudDialogflowV2ConversationEvent struct {
 12432  	// Conversation: The unique identifier of the conversation this notification
 12433  	// refers to. Format: `projects//conversations/`.
 12434  	Conversation string `json:"conversation,omitempty"`
 12435  	// ErrorStatus: More detailed information about an error. Only set for type
 12436  	// UNRECOVERABLE_ERROR_IN_PHONE_CALL.
 12437  	ErrorStatus *GoogleRpcStatus `json:"errorStatus,omitempty"`
 12438  	// NewMessagePayload: Payload of NEW_MESSAGE event.
 12439  	NewMessagePayload *GoogleCloudDialogflowV2Message `json:"newMessagePayload,omitempty"`
 12440  	// Type: The type of the event that this notification refers to.
 12441  	//
 12442  	// Possible values:
 12443  	//   "TYPE_UNSPECIFIED" - Type not set.
 12444  	//   "CONVERSATION_STARTED" - A new conversation has been opened. This is fired
 12445  	// when a telephone call is answered, or a conversation is created via the API.
 12446  	//   "CONVERSATION_FINISHED" - An existing conversation has closed. This is
 12447  	// fired when a telephone call is terminated, or a conversation is closed via
 12448  	// the API.
 12449  	//   "HUMAN_INTERVENTION_NEEDED" - An existing conversation has received
 12450  	// notification from Dialogflow that human intervention is required.
 12451  	//   "NEW_MESSAGE" - An existing conversation has received a new message,
 12452  	// either from API or telephony. It is configured in
 12453  	// ConversationProfile.new_message_event_notification_config
 12454  	//   "UNRECOVERABLE_ERROR" - Unrecoverable error during a telephone call. In
 12455  	// general non-recoverable errors only occur if something was misconfigured in
 12456  	// the ConversationProfile corresponding to the call. After a non-recoverable
 12457  	// error, Dialogflow may stop responding. We don't fire this event: * in an API
 12458  	// call because we can directly return the error, or, * when we can recover
 12459  	// from an error.
 12460  	Type string `json:"type,omitempty"`
 12461  	// ForceSendFields is a list of field names (e.g. "Conversation") to
 12462  	// unconditionally include in API requests. By default, fields with empty or
 12463  	// default values are omitted from API requests. See
 12464  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12465  	// details.
 12466  	ForceSendFields []string `json:"-"`
 12467  	// NullFields is a list of field names (e.g. "Conversation") to include in API
 12468  	// requests with the JSON null value. By default, fields with empty values are
 12469  	// omitted from API requests. See
 12470  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12471  	NullFields []string `json:"-"`
 12472  }
 12473  
 12474  func (s *GoogleCloudDialogflowV2ConversationEvent) MarshalJSON() ([]byte, error) {
 12475  	type NoMethod GoogleCloudDialogflowV2ConversationEvent
 12476  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12477  }
 12478  
 12479  // GoogleCloudDialogflowV2ConversationModel: Represents a conversation model.
 12480  type GoogleCloudDialogflowV2ConversationModel struct {
 12481  	// ArticleSuggestionModelMetadata: Metadata for article suggestion models.
 12482  	ArticleSuggestionModelMetadata *GoogleCloudDialogflowV2ArticleSuggestionModelMetadata `json:"articleSuggestionModelMetadata,omitempty"`
 12483  	// CreateTime: Output only. Creation time of this model.
 12484  	CreateTime string `json:"createTime,omitempty"`
 12485  	// Datasets: Required. Datasets used to create model.
 12486  	Datasets []*GoogleCloudDialogflowV2InputDataset `json:"datasets,omitempty"`
 12487  	// DisplayName: Required. The display name of the model. At most 64 bytes long.
 12488  	DisplayName string `json:"displayName,omitempty"`
 12489  	// LanguageCode: Language code for the conversation model. If not specified,
 12490  	// the language is en-US. Language at ConversationModel should be set for all
 12491  	// non en-us languages. This should be a BCP-47
 12492  	// (https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example:
 12493  	// "en-US".
 12494  	LanguageCode string `json:"languageCode,omitempty"`
 12495  	// Name: ConversationModel resource name. Format:
 12496  	// `projects//conversationModels/`
 12497  	Name string `json:"name,omitempty"`
 12498  	// SmartReplyModelMetadata: Metadata for smart reply models.
 12499  	SmartReplyModelMetadata *GoogleCloudDialogflowV2SmartReplyModelMetadata `json:"smartReplyModelMetadata,omitempty"`
 12500  	// State: Output only. State of the model. A model can only serve prediction
 12501  	// requests after it gets deployed.
 12502  	//
 12503  	// Possible values:
 12504  	//   "STATE_UNSPECIFIED" - Should not be used, an un-set enum has this value by
 12505  	// default.
 12506  	//   "CREATING" - Model being created.
 12507  	//   "UNDEPLOYED" - Model is not deployed but ready to deploy.
 12508  	//   "DEPLOYING" - Model is deploying.
 12509  	//   "DEPLOYED" - Model is deployed and ready to use.
 12510  	//   "UNDEPLOYING" - Model is undeploying.
 12511  	//   "DELETING" - Model is deleting.
 12512  	//   "FAILED" - Model is in error state. Not ready to deploy and use.
 12513  	//   "PENDING" - Model is being created but the training has not started, The
 12514  	// model may remain in this state until there is enough capacity to start
 12515  	// training.
 12516  	State string `json:"state,omitempty"`
 12517  	// ForceSendFields is a list of field names (e.g.
 12518  	// "ArticleSuggestionModelMetadata") to unconditionally include in API
 12519  	// requests. By default, fields with empty or default values are omitted from
 12520  	// API requests. See
 12521  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12522  	// details.
 12523  	ForceSendFields []string `json:"-"`
 12524  	// NullFields is a list of field names (e.g. "ArticleSuggestionModelMetadata")
 12525  	// to include in API requests with the JSON null value. By default, fields with
 12526  	// empty values are omitted from API requests. See
 12527  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12528  	NullFields []string `json:"-"`
 12529  }
 12530  
 12531  func (s *GoogleCloudDialogflowV2ConversationModel) MarshalJSON() ([]byte, error) {
 12532  	type NoMethod GoogleCloudDialogflowV2ConversationModel
 12533  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12534  }
 12535  
 12536  // GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata: Metadata
 12537  // for ConversationDatasets.
 12538  type GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata struct {
 12539  	// ConversationDataset: The resource name of the conversation dataset that will
 12540  	// be created. Format: `projects//locations//conversationDatasets/`
 12541  	ConversationDataset string `json:"conversationDataset,omitempty"`
 12542  	// ForceSendFields is a list of field names (e.g. "ConversationDataset") to
 12543  	// unconditionally include in API requests. By default, fields with empty or
 12544  	// default values are omitted from API requests. See
 12545  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12546  	// details.
 12547  	ForceSendFields []string `json:"-"`
 12548  	// NullFields is a list of field names (e.g. "ConversationDataset") to include
 12549  	// in API requests with the JSON null value. By default, fields with empty
 12550  	// values are omitted from API requests. See
 12551  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12552  	NullFields []string `json:"-"`
 12553  }
 12554  
 12555  func (s *GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata) MarshalJSON() ([]byte, error) {
 12556  	type NoMethod GoogleCloudDialogflowV2CreateConversationDatasetOperationMetadata
 12557  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12558  }
 12559  
 12560  // GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata:
 12561  // Metadata for a ConversationModels.CreateConversationModelEvaluation
 12562  // operation.
 12563  type GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata struct {
 12564  	// ConversationModel: The resource name of the conversation model. Format:
 12565  	// `projects//locations//conversationModels/`
 12566  	ConversationModel string `json:"conversationModel,omitempty"`
 12567  	// ConversationModelEvaluation: The resource name of the conversation model.
 12568  	// Format: `projects//locations//conversationModels//evaluations/`
 12569  	ConversationModelEvaluation string `json:"conversationModelEvaluation,omitempty"`
 12570  	// CreateTime: Timestamp when the request to create conversation model was
 12571  	// submitted. The time is measured on server side.
 12572  	CreateTime string `json:"createTime,omitempty"`
 12573  	// State: State of CreateConversationModel operation.
 12574  	//
 12575  	// Possible values:
 12576  	//   "STATE_UNSPECIFIED" - Operation status not specified.
 12577  	//   "INITIALIZING" - The operation is being prepared.
 12578  	//   "RUNNING" - The operation is running.
 12579  	//   "CANCELLED" - The operation is cancelled.
 12580  	//   "SUCCEEDED" - The operation has succeeded.
 12581  	//   "FAILED" - The operation has failed.
 12582  	State string `json:"state,omitempty"`
 12583  	// ForceSendFields is a list of field names (e.g. "ConversationModel") to
 12584  	// unconditionally include in API requests. By default, fields with empty or
 12585  	// default values are omitted from API requests. See
 12586  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12587  	// details.
 12588  	ForceSendFields []string `json:"-"`
 12589  	// NullFields is a list of field names (e.g. "ConversationModel") to include in
 12590  	// API requests with the JSON null value. By default, fields with empty values
 12591  	// are omitted from API requests. See
 12592  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12593  	NullFields []string `json:"-"`
 12594  }
 12595  
 12596  func (s *GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata) MarshalJSON() ([]byte, error) {
 12597  	type NoMethod GoogleCloudDialogflowV2CreateConversationModelEvaluationOperationMetadata
 12598  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12599  }
 12600  
 12601  // GoogleCloudDialogflowV2CreateConversationModelOperationMetadata: Metadata
 12602  // for a ConversationModels.CreateConversationModel operation.
 12603  type GoogleCloudDialogflowV2CreateConversationModelOperationMetadata struct {
 12604  	// ConversationModel: The resource name of the conversation model. Format:
 12605  	// `projects//conversationModels/`
 12606  	ConversationModel string `json:"conversationModel,omitempty"`
 12607  	// CreateTime: Timestamp when the request to create conversation model is
 12608  	// submitted. The time is measured on server side.
 12609  	CreateTime string `json:"createTime,omitempty"`
 12610  	// State: State of CreateConversationModel operation.
 12611  	//
 12612  	// Possible values:
 12613  	//   "STATE_UNSPECIFIED" - Invalid.
 12614  	//   "PENDING" - Request is submitted, but training has not started yet. The
 12615  	// model may remain in this state until there is enough capacity to start
 12616  	// training.
 12617  	//   "SUCCEEDED" - The training has succeeded.
 12618  	//   "FAILED" - The training has succeeded.
 12619  	//   "CANCELLED" - The training has been cancelled.
 12620  	//   "CANCELLING" - The training is in cancelling state.
 12621  	//   "TRAINING" - Custom model is training.
 12622  	State string `json:"state,omitempty"`
 12623  	// ForceSendFields is a list of field names (e.g. "ConversationModel") to
 12624  	// unconditionally include in API requests. By default, fields with empty or
 12625  	// default values are omitted from API requests. See
 12626  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12627  	// details.
 12628  	ForceSendFields []string `json:"-"`
 12629  	// NullFields is a list of field names (e.g. "ConversationModel") to include in
 12630  	// API requests with the JSON null value. By default, fields with empty values
 12631  	// are omitted from API requests. See
 12632  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12633  	NullFields []string `json:"-"`
 12634  }
 12635  
 12636  func (s *GoogleCloudDialogflowV2CreateConversationModelOperationMetadata) MarshalJSON() ([]byte, error) {
 12637  	type NoMethod GoogleCloudDialogflowV2CreateConversationModelOperationMetadata
 12638  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12639  }
 12640  
 12641  // GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata: Metadata
 12642  // for ConversationDatasets.
 12643  type GoogleCloudDialogflowV2DeleteConversationDatasetOperationMetadata struct {
 12644  }
 12645  
 12646  // GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata: Metadata
 12647  // for a ConversationModels.DeleteConversationModel operation.
 12648  type GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata struct {
 12649  	// ConversationModel: The resource name of the conversation model. Format:
 12650  	// `projects//conversationModels/`
 12651  	ConversationModel string `json:"conversationModel,omitempty"`
 12652  	// CreateTime: Timestamp when delete conversation model request was created.
 12653  	// The time is measured on server side.
 12654  	CreateTime string `json:"createTime,omitempty"`
 12655  	// ForceSendFields is a list of field names (e.g. "ConversationModel") to
 12656  	// unconditionally include in API requests. By default, fields with empty or
 12657  	// default values are omitted from API requests. See
 12658  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12659  	// details.
 12660  	ForceSendFields []string `json:"-"`
 12661  	// NullFields is a list of field names (e.g. "ConversationModel") to include in
 12662  	// API requests with the JSON null value. By default, fields with empty values
 12663  	// are omitted from API requests. See
 12664  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12665  	NullFields []string `json:"-"`
 12666  }
 12667  
 12668  func (s *GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata) MarshalJSON() ([]byte, error) {
 12669  	type NoMethod GoogleCloudDialogflowV2DeleteConversationModelOperationMetadata
 12670  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12671  }
 12672  
 12673  // GoogleCloudDialogflowV2DeployConversationModelOperationMetadata: Metadata
 12674  // for a ConversationModels.DeployConversationModel operation.
 12675  type GoogleCloudDialogflowV2DeployConversationModelOperationMetadata struct {
 12676  	// ConversationModel: The resource name of the conversation model. Format:
 12677  	// `projects//conversationModels/`
 12678  	ConversationModel string `json:"conversationModel,omitempty"`
 12679  	// CreateTime: Timestamp when request to deploy conversation model was
 12680  	// submitted. The time is measured on server side.
 12681  	CreateTime string `json:"createTime,omitempty"`
 12682  	// ForceSendFields is a list of field names (e.g. "ConversationModel") to
 12683  	// unconditionally include in API requests. By default, fields with empty or
 12684  	// default values are omitted from API requests. See
 12685  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12686  	// details.
 12687  	ForceSendFields []string `json:"-"`
 12688  	// NullFields is a list of field names (e.g. "ConversationModel") to include in
 12689  	// API requests with the JSON null value. By default, fields with empty values
 12690  	// are omitted from API requests. See
 12691  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12692  	NullFields []string `json:"-"`
 12693  }
 12694  
 12695  func (s *GoogleCloudDialogflowV2DeployConversationModelOperationMetadata) MarshalJSON() ([]byte, error) {
 12696  	type NoMethod GoogleCloudDialogflowV2DeployConversationModelOperationMetadata
 12697  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12698  }
 12699  
 12700  // GoogleCloudDialogflowV2EntityType: Each intent parameter has a type, called
 12701  // the entity type, which dictates exactly how data from an end-user expression
 12702  // is extracted. Dialogflow provides predefined system entities that can match
 12703  // many common types of data. For example, there are system entities for
 12704  // matching dates, times, colors, email addresses, and so on. You can also
 12705  // create your own custom entities for matching custom data. For example, you
 12706  // could define a vegetable entity that can match the types of vegetables
 12707  // available for purchase with a grocery store agent. For more information, see
 12708  // the Entity guide
 12709  // (https://cloud.google.com/dialogflow/docs/entities-overview).
 12710  type GoogleCloudDialogflowV2EntityType struct {
 12711  	// AutoExpansionMode: Optional. Indicates whether the entity type can be
 12712  	// automatically expanded.
 12713  	//
 12714  	// Possible values:
 12715  	//   "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the
 12716  	// entity.
 12717  	//   "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values that
 12718  	// have not been explicitly listed in the entity.
 12719  	AutoExpansionMode string `json:"autoExpansionMode,omitempty"`
 12720  	// DisplayName: Required. The name of the entity type.
 12721  	DisplayName string `json:"displayName,omitempty"`
 12722  	// EnableFuzzyExtraction: Optional. Enables fuzzy entity extraction during
 12723  	// classification.
 12724  	EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"`
 12725  	// Entities: Optional. The collection of entity entries associated with the
 12726  	// entity type.
 12727  	Entities []*GoogleCloudDialogflowV2EntityTypeEntity `json:"entities,omitempty"`
 12728  	// Kind: Required. Indicates the kind of entity type.
 12729  	//
 12730  	// Possible values:
 12731  	//   "KIND_UNSPECIFIED" - Not specified. This value should be never used.
 12732  	//   "KIND_MAP" - Map entity types allow mapping of a group of synonyms to a
 12733  	// reference value.
 12734  	//   "KIND_LIST" - List entity types contain a set of entries that do not map
 12735  	// to reference values. However, list entity types can contain references to
 12736  	// other entity types (with or without aliases).
 12737  	//   "KIND_REGEXP" - Regexp entity types allow to specify regular expressions
 12738  	// in entries values.
 12739  	Kind string `json:"kind,omitempty"`
 12740  	// Name: The unique identifier of the entity type. Required for
 12741  	// EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods.
 12742  	// Format: `projects//agent/entityTypes/`.
 12743  	Name string `json:"name,omitempty"`
 12744  	// ForceSendFields is a list of field names (e.g. "AutoExpansionMode") to
 12745  	// unconditionally include in API requests. By default, fields with empty or
 12746  	// default values are omitted from API requests. See
 12747  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12748  	// details.
 12749  	ForceSendFields []string `json:"-"`
 12750  	// NullFields is a list of field names (e.g. "AutoExpansionMode") to include in
 12751  	// API requests with the JSON null value. By default, fields with empty values
 12752  	// are omitted from API requests. See
 12753  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12754  	NullFields []string `json:"-"`
 12755  }
 12756  
 12757  func (s *GoogleCloudDialogflowV2EntityType) MarshalJSON() ([]byte, error) {
 12758  	type NoMethod GoogleCloudDialogflowV2EntityType
 12759  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12760  }
 12761  
 12762  // GoogleCloudDialogflowV2EntityTypeEntity: An **entity entry** for an
 12763  // associated entity type.
 12764  type GoogleCloudDialogflowV2EntityTypeEntity struct {
 12765  	// Synonyms: Required. A collection of value synonyms. For example, if the
 12766  	// entity type is *vegetable*, and `value` is *scallions*, a synonym could be
 12767  	// *green onions*. For `KIND_LIST` entity types: * This collection must contain
 12768  	// exactly one synonym equal to `value`.
 12769  	Synonyms []string `json:"synonyms,omitempty"`
 12770  	// Value: Required. The primary value associated with this entity entry. For
 12771  	// example, if the entity type is *vegetable*, the value could be *scallions*.
 12772  	// For `KIND_MAP` entity types: * A reference value to be used in place of
 12773  	// synonyms. For `KIND_LIST` entity types: * A string that can contain
 12774  	// references to other entity types (with or without aliases).
 12775  	Value string `json:"value,omitempty"`
 12776  	// ForceSendFields is a list of field names (e.g. "Synonyms") to
 12777  	// unconditionally include in API requests. By default, fields with empty or
 12778  	// default values are omitted from API requests. See
 12779  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12780  	// details.
 12781  	ForceSendFields []string `json:"-"`
 12782  	// NullFields is a list of field names (e.g. "Synonyms") to include in API
 12783  	// requests with the JSON null value. By default, fields with empty values are
 12784  	// omitted from API requests. See
 12785  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12786  	NullFields []string `json:"-"`
 12787  }
 12788  
 12789  func (s *GoogleCloudDialogflowV2EntityTypeEntity) MarshalJSON() ([]byte, error) {
 12790  	type NoMethod GoogleCloudDialogflowV2EntityTypeEntity
 12791  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12792  }
 12793  
 12794  // GoogleCloudDialogflowV2EventInput: Events allow for matching intents by
 12795  // event name instead of the natural language input. For instance, input “ can
 12796  // trigger a personalized welcome response. The parameter `name` may be used by
 12797  // the agent in the response: "Hello #welcome_event.name! What can I do for
 12798  // you today?".
 12799  type GoogleCloudDialogflowV2EventInput struct {
 12800  	// LanguageCode: Required. The language of this query. See Language Support
 12801  	// (https://cloud.google.com/dialogflow/docs/reference/language) for a list of
 12802  	// the currently supported language codes. Note that queries in the same
 12803  	// session do not necessarily need to specify the same language. This field is
 12804  	// ignored when used in the context of a WebhookResponse.followup_event_input
 12805  	// field, because the language was already defined in the originating detect
 12806  	// intent request.
 12807  	LanguageCode string `json:"languageCode,omitempty"`
 12808  	// Name: Required. The unique identifier of the event.
 12809  	Name string `json:"name,omitempty"`
 12810  	// Parameters: The collection of parameters associated with the event.
 12811  	// Depending on your protocol or client library language, this is a map,
 12812  	// associative array, symbol table, dictionary, or JSON object composed of a
 12813  	// collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey
 12814  	// value: parameter name * MapValue type: If parameter's entity type is a
 12815  	// composite entity then use map, otherwise, depending on the parameter value
 12816  	// type, it could be one of string, number, boolean, null, list or map. *
 12817  	// MapValue value: If parameter's entity type is a composite entity then use
 12818  	// map from composite entity property names to property values, otherwise, use
 12819  	// parameter value.
 12820  	Parameters googleapi.RawMessage `json:"parameters,omitempty"`
 12821  	// ForceSendFields is a list of field names (e.g. "LanguageCode") to
 12822  	// unconditionally include in API requests. By default, fields with empty or
 12823  	// default values are omitted from API requests. See
 12824  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12825  	// details.
 12826  	ForceSendFields []string `json:"-"`
 12827  	// NullFields is a list of field names (e.g. "LanguageCode") to include in API
 12828  	// requests with the JSON null value. By default, fields with empty values are
 12829  	// omitted from API requests. See
 12830  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12831  	NullFields []string `json:"-"`
 12832  }
 12833  
 12834  func (s *GoogleCloudDialogflowV2EventInput) MarshalJSON() ([]byte, error) {
 12835  	type NoMethod GoogleCloudDialogflowV2EventInput
 12836  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12837  }
 12838  
 12839  // GoogleCloudDialogflowV2ExportAgentResponse: The response message for
 12840  // Agents.ExportAgent.
 12841  type GoogleCloudDialogflowV2ExportAgentResponse struct {
 12842  	// AgentContent: Zip compressed raw byte content for agent.
 12843  	AgentContent string `json:"agentContent,omitempty"`
 12844  	// AgentUri: The URI to a file containing the exported agent. This field is
 12845  	// populated only if `agent_uri` is specified in `ExportAgentRequest`.
 12846  	AgentUri string `json:"agentUri,omitempty"`
 12847  	// ForceSendFields is a list of field names (e.g. "AgentContent") to
 12848  	// unconditionally include in API requests. By default, fields with empty or
 12849  	// default values are omitted from API requests. See
 12850  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12851  	// details.
 12852  	ForceSendFields []string `json:"-"`
 12853  	// NullFields is a list of field names (e.g. "AgentContent") to include in API
 12854  	// requests with the JSON null value. By default, fields with empty values are
 12855  	// omitted from API requests. See
 12856  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12857  	NullFields []string `json:"-"`
 12858  }
 12859  
 12860  func (s *GoogleCloudDialogflowV2ExportAgentResponse) MarshalJSON() ([]byte, error) {
 12861  	type NoMethod GoogleCloudDialogflowV2ExportAgentResponse
 12862  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12863  }
 12864  
 12865  // GoogleCloudDialogflowV2ExportOperationMetadata: Metadata related to the
 12866  // Export Data Operations (e.g. ExportDocument).
 12867  type GoogleCloudDialogflowV2ExportOperationMetadata struct {
 12868  	// ExportedGcsDestination: Cloud Storage file path of the exported data.
 12869  	ExportedGcsDestination *GoogleCloudDialogflowV2GcsDestination `json:"exportedGcsDestination,omitempty"`
 12870  	// ForceSendFields is a list of field names (e.g. "ExportedGcsDestination") to
 12871  	// unconditionally include in API requests. By default, fields with empty or
 12872  	// default values are omitted from API requests. See
 12873  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12874  	// details.
 12875  	ForceSendFields []string `json:"-"`
 12876  	// NullFields is a list of field names (e.g. "ExportedGcsDestination") to
 12877  	// include in API requests with the JSON null value. By default, fields with
 12878  	// empty values are omitted from API requests. See
 12879  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12880  	NullFields []string `json:"-"`
 12881  }
 12882  
 12883  func (s *GoogleCloudDialogflowV2ExportOperationMetadata) MarshalJSON() ([]byte, error) {
 12884  	type NoMethod GoogleCloudDialogflowV2ExportOperationMetadata
 12885  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12886  }
 12887  
 12888  // GoogleCloudDialogflowV2FaqAnswer: Represents answer from "frequently asked
 12889  // questions".
 12890  type GoogleCloudDialogflowV2FaqAnswer struct {
 12891  	// Answer: The piece of text from the `source` knowledge base document.
 12892  	Answer string `json:"answer,omitempty"`
 12893  	// AnswerRecord: The name of answer record, in the format of
 12894  	// "projects//locations//answerRecords/"
 12895  	AnswerRecord string `json:"answerRecord,omitempty"`
 12896  	// Confidence: The system's confidence score that this Knowledge answer is a
 12897  	// good match for this conversational query, range from 0.0 (completely
 12898  	// uncertain) to 1.0 (completely certain).
 12899  	Confidence float64 `json:"confidence,omitempty"`
 12900  	// Metadata: A map that contains metadata about the answer and the document
 12901  	// from which it originates.
 12902  	Metadata map[string]string `json:"metadata,omitempty"`
 12903  	// Question: The corresponding FAQ question.
 12904  	Question string `json:"question,omitempty"`
 12905  	// Source: Indicates which Knowledge Document this answer was extracted from.
 12906  	// Format: `projects//locations//agent/knowledgeBases//documents/`.
 12907  	Source string `json:"source,omitempty"`
 12908  	// ForceSendFields is a list of field names (e.g. "Answer") to unconditionally
 12909  	// include in API requests. By default, fields with empty or default values are
 12910  	// omitted from API requests. See
 12911  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12912  	// details.
 12913  	ForceSendFields []string `json:"-"`
 12914  	// NullFields is a list of field names (e.g. "Answer") to include in API
 12915  	// requests with the JSON null value. By default, fields with empty values are
 12916  	// omitted from API requests. See
 12917  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12918  	NullFields []string `json:"-"`
 12919  }
 12920  
 12921  func (s *GoogleCloudDialogflowV2FaqAnswer) MarshalJSON() ([]byte, error) {
 12922  	type NoMethod GoogleCloudDialogflowV2FaqAnswer
 12923  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12924  }
 12925  
 12926  func (s *GoogleCloudDialogflowV2FaqAnswer) UnmarshalJSON(data []byte) error {
 12927  	type NoMethod GoogleCloudDialogflowV2FaqAnswer
 12928  	var s1 struct {
 12929  		Confidence gensupport.JSONFloat64 `json:"confidence"`
 12930  		*NoMethod
 12931  	}
 12932  	s1.NoMethod = (*NoMethod)(s)
 12933  	if err := json.Unmarshal(data, &s1); err != nil {
 12934  		return err
 12935  	}
 12936  	s.Confidence = float64(s1.Confidence)
 12937  	return nil
 12938  }
 12939  
 12940  // GoogleCloudDialogflowV2GcsDestination: Google Cloud Storage location for the
 12941  // output.
 12942  type GoogleCloudDialogflowV2GcsDestination struct {
 12943  	// Uri: The Google Cloud Storage URIs for the output. A URI is of the form:
 12944  	// `gs://bucket/object-prefix-or-name` Whether a prefix or name is used depends
 12945  	// on the use case. The requesting user must have "write-permission" to the
 12946  	// bucket.
 12947  	Uri string `json:"uri,omitempty"`
 12948  	// ForceSendFields is a list of field names (e.g. "Uri") to unconditionally
 12949  	// include in API requests. By default, fields with empty or default values are
 12950  	// omitted from API requests. See
 12951  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12952  	// details.
 12953  	ForceSendFields []string `json:"-"`
 12954  	// NullFields is a list of field names (e.g. "Uri") to include in API requests
 12955  	// with the JSON null value. By default, fields with empty values are omitted
 12956  	// from API requests. See
 12957  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12958  	NullFields []string `json:"-"`
 12959  }
 12960  
 12961  func (s *GoogleCloudDialogflowV2GcsDestination) MarshalJSON() ([]byte, error) {
 12962  	type NoMethod GoogleCloudDialogflowV2GcsDestination
 12963  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12964  }
 12965  
 12966  // GoogleCloudDialogflowV2HumanAgentAssistantEvent: Represents a notification
 12967  // sent to Cloud Pub/Sub subscribers for human agent assistant events in a
 12968  // specific conversation.
 12969  type GoogleCloudDialogflowV2HumanAgentAssistantEvent struct {
 12970  	// Conversation: The conversation this notification refers to. Format:
 12971  	// `projects//conversations/`.
 12972  	Conversation string `json:"conversation,omitempty"`
 12973  	// Participant: The participant that the suggestion is compiled for. Format:
 12974  	// `projects//conversations//participants/`. It will not be set in legacy
 12975  	// workflow.
 12976  	Participant string `json:"participant,omitempty"`
 12977  	// SuggestionResults: The suggestion results payload that this notification
 12978  	// refers to.
 12979  	SuggestionResults []*GoogleCloudDialogflowV2SuggestionResult `json:"suggestionResults,omitempty"`
 12980  	// ForceSendFields is a list of field names (e.g. "Conversation") to
 12981  	// unconditionally include in API requests. By default, fields with empty or
 12982  	// default values are omitted from API requests. See
 12983  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 12984  	// details.
 12985  	ForceSendFields []string `json:"-"`
 12986  	// NullFields is a list of field names (e.g. "Conversation") to include in API
 12987  	// requests with the JSON null value. By default, fields with empty values are
 12988  	// omitted from API requests. See
 12989  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 12990  	NullFields []string `json:"-"`
 12991  }
 12992  
 12993  func (s *GoogleCloudDialogflowV2HumanAgentAssistantEvent) MarshalJSON() ([]byte, error) {
 12994  	type NoMethod GoogleCloudDialogflowV2HumanAgentAssistantEvent
 12995  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 12996  }
 12997  
 12998  // GoogleCloudDialogflowV2ImportConversationDataOperationMetadata: Metadata for
 12999  // a ConversationDatasets.ImportConversationData operation.
 13000  type GoogleCloudDialogflowV2ImportConversationDataOperationMetadata struct {
 13001  	// ConversationDataset: The resource name of the imported conversation dataset.
 13002  	// Format: `projects//locations//conversationDatasets/`
 13003  	ConversationDataset string `json:"conversationDataset,omitempty"`
 13004  	// CreateTime: Timestamp when import conversation data request was created. The
 13005  	// time is measured on server side.
 13006  	CreateTime string `json:"createTime,omitempty"`
 13007  	// PartialFailures: Partial failures are failures that don't fail the whole
 13008  	// long running operation, e.g. single files that couldn't be read.
 13009  	PartialFailures []*GoogleRpcStatus `json:"partialFailures,omitempty"`
 13010  	// ForceSendFields is a list of field names (e.g. "ConversationDataset") to
 13011  	// unconditionally include in API requests. By default, fields with empty or
 13012  	// default values are omitted from API requests. See
 13013  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13014  	// details.
 13015  	ForceSendFields []string `json:"-"`
 13016  	// NullFields is a list of field names (e.g. "ConversationDataset") to include
 13017  	// in API requests with the JSON null value. By default, fields with empty
 13018  	// values are omitted from API requests. See
 13019  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13020  	NullFields []string `json:"-"`
 13021  }
 13022  
 13023  func (s *GoogleCloudDialogflowV2ImportConversationDataOperationMetadata) MarshalJSON() ([]byte, error) {
 13024  	type NoMethod GoogleCloudDialogflowV2ImportConversationDataOperationMetadata
 13025  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13026  }
 13027  
 13028  // GoogleCloudDialogflowV2ImportConversationDataOperationResponse: Response
 13029  // used for ConversationDatasets.ImportConversationData long running operation.
 13030  type GoogleCloudDialogflowV2ImportConversationDataOperationResponse struct {
 13031  	// ConversationDataset: The resource name of the imported conversation dataset.
 13032  	// Format: `projects//locations//conversationDatasets/`
 13033  	ConversationDataset string `json:"conversationDataset,omitempty"`
 13034  	// ImportCount: Number of conversations imported successfully.
 13035  	ImportCount int64 `json:"importCount,omitempty"`
 13036  	// ForceSendFields is a list of field names (e.g. "ConversationDataset") to
 13037  	// unconditionally include in API requests. By default, fields with empty or
 13038  	// default values are omitted from API requests. See
 13039  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13040  	// details.
 13041  	ForceSendFields []string `json:"-"`
 13042  	// NullFields is a list of field names (e.g. "ConversationDataset") to include
 13043  	// in API requests with the JSON null value. By default, fields with empty
 13044  	// values are omitted from API requests. See
 13045  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13046  	NullFields []string `json:"-"`
 13047  }
 13048  
 13049  func (s *GoogleCloudDialogflowV2ImportConversationDataOperationResponse) MarshalJSON() ([]byte, error) {
 13050  	type NoMethod GoogleCloudDialogflowV2ImportConversationDataOperationResponse
 13051  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13052  }
 13053  
 13054  // GoogleCloudDialogflowV2ImportDocumentsResponse: Response message for
 13055  // Documents.ImportDocuments.
 13056  type GoogleCloudDialogflowV2ImportDocumentsResponse struct {
 13057  	// Warnings: Includes details about skipped documents or any other warnings.
 13058  	Warnings []*GoogleRpcStatus `json:"warnings,omitempty"`
 13059  	// ForceSendFields is a list of field names (e.g. "Warnings") to
 13060  	// unconditionally include in API requests. By default, fields with empty or
 13061  	// default values are omitted from API requests. See
 13062  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13063  	// details.
 13064  	ForceSendFields []string `json:"-"`
 13065  	// NullFields is a list of field names (e.g. "Warnings") to include in API
 13066  	// requests with the JSON null value. By default, fields with empty values are
 13067  	// omitted from API requests. See
 13068  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13069  	NullFields []string `json:"-"`
 13070  }
 13071  
 13072  func (s *GoogleCloudDialogflowV2ImportDocumentsResponse) MarshalJSON() ([]byte, error) {
 13073  	type NoMethod GoogleCloudDialogflowV2ImportDocumentsResponse
 13074  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13075  }
 13076  
 13077  // GoogleCloudDialogflowV2InputDataset: InputDataset used to create model or do
 13078  // evaluation. NextID:5
 13079  type GoogleCloudDialogflowV2InputDataset struct {
 13080  	// Dataset: Required. ConversationDataset resource name. Format:
 13081  	// `projects//locations//conversationDatasets/`
 13082  	Dataset string `json:"dataset,omitempty"`
 13083  	// ForceSendFields is a list of field names (e.g. "Dataset") to unconditionally
 13084  	// include in API requests. By default, fields with empty or default values are
 13085  	// omitted from API requests. See
 13086  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13087  	// details.
 13088  	ForceSendFields []string `json:"-"`
 13089  	// NullFields is a list of field names (e.g. "Dataset") to include in API
 13090  	// requests with the JSON null value. By default, fields with empty values are
 13091  	// omitted from API requests. See
 13092  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13093  	NullFields []string `json:"-"`
 13094  }
 13095  
 13096  func (s *GoogleCloudDialogflowV2InputDataset) MarshalJSON() ([]byte, error) {
 13097  	type NoMethod GoogleCloudDialogflowV2InputDataset
 13098  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13099  }
 13100  
 13101  // GoogleCloudDialogflowV2Intent: An intent categorizes an end-user's intention
 13102  // for one conversation turn. For each agent, you define many intents, where
 13103  // your combined intents can handle a complete conversation. When an end-user
 13104  // writes or says something, referred to as an end-user expression or end-user
 13105  // input, Dialogflow matches the end-user input to the best intent in your
 13106  // agent. Matching an intent is also known as intent classification. For more
 13107  // information, see the intent guide
 13108  // (https://cloud.google.com/dialogflow/docs/intents-overview).
 13109  type GoogleCloudDialogflowV2Intent struct {
 13110  	// Action: Optional. The name of the action associated with the intent. Note:
 13111  	// The action name must not contain whitespaces.
 13112  	Action string `json:"action,omitempty"`
 13113  	// DefaultResponsePlatforms: Optional. The list of platforms for which the
 13114  	// first responses will be copied from the messages in PLATFORM_UNSPECIFIED
 13115  	// (i.e. default platform).
 13116  	//
 13117  	// Possible values:
 13118  	//   "PLATFORM_UNSPECIFIED" - Default platform.
 13119  	//   "FACEBOOK" - Facebook.
 13120  	//   "SLACK" - Slack.
 13121  	//   "TELEGRAM" - Telegram.
 13122  	//   "KIK" - Kik.
 13123  	//   "SKYPE" - Skype.
 13124  	//   "LINE" - Line.
 13125  	//   "VIBER" - Viber.
 13126  	//   "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook
 13127  	// format](https://developers.google.com/assistant/actions/build/json/dialogflow
 13128  	// -webhook-json)
 13129  	//   "GOOGLE_HANGOUTS" - Google Hangouts.
 13130  	DefaultResponsePlatforms []string `json:"defaultResponsePlatforms,omitempty"`
 13131  	// DisplayName: Required. The name of this intent.
 13132  	DisplayName string `json:"displayName,omitempty"`
 13133  	// EndInteraction: Optional. Indicates that this intent ends an interaction.
 13134  	// Some integrations (e.g., Actions on Google or Dialogflow phone gateway) use
 13135  	// this information to close interaction with an end user. Default is false.
 13136  	EndInteraction bool `json:"endInteraction,omitempty"`
 13137  	// Events: Optional. The collection of event names that trigger the intent. If
 13138  	// the collection of input contexts is not empty, all of the contexts must be
 13139  	// present in the active user session for an event to trigger this intent.
 13140  	// Event names are limited to 150 characters.
 13141  	Events []string `json:"events,omitempty"`
 13142  	// FollowupIntentInfo: Output only. Read-only. Information about all followup
 13143  	// intents that have this intent as a direct or indirect parent. We populate
 13144  	// this field only in the output.
 13145  	FollowupIntentInfo []*GoogleCloudDialogflowV2IntentFollowupIntentInfo `json:"followupIntentInfo,omitempty"`
 13146  	// InputContextNames: Optional. The list of context names required for this
 13147  	// intent to be triggered. Format: `projects//agent/sessions/-/contexts/`.
 13148  	InputContextNames []string `json:"inputContextNames,omitempty"`
 13149  	// IsFallback: Optional. Indicates whether this is a fallback intent.
 13150  	IsFallback bool `json:"isFallback,omitempty"`
 13151  	// LiveAgentHandoff: Optional. Indicates that a live agent should be brought in
 13152  	// to handle the interaction with the user. In most cases, when you set this
 13153  	// flag to true, you would also want to set end_interaction to true as well.
 13154  	// Default is false.
 13155  	LiveAgentHandoff bool `json:"liveAgentHandoff,omitempty"`
 13156  	// Messages: Optional. The collection of rich messages corresponding to the
 13157  	// `Response` field in the Dialogflow console.
 13158  	Messages []*GoogleCloudDialogflowV2IntentMessage `json:"messages,omitempty"`
 13159  	// MlDisabled: Optional. Indicates whether Machine Learning is disabled for the
 13160  	// intent. Note: If `ml_disabled` setting is set to true, then this intent is
 13161  	// not taken into account during inference in `ML ONLY` match mode. Also,
 13162  	// auto-markup in the UI is turned off.
 13163  	MlDisabled bool `json:"mlDisabled,omitempty"`
 13164  	// Name: Optional. The unique identifier of this intent. Required for
 13165  	// Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Format:
 13166  	// `projects//agent/intents/`.
 13167  	Name string `json:"name,omitempty"`
 13168  	// OutputContexts: Optional. The collection of contexts that are activated when
 13169  	// the intent is matched. Context messages in this collection should not set
 13170  	// the parameters field. Setting the `lifespan_count` to 0 will reset the
 13171  	// context when the intent is matched. Format:
 13172  	// `projects//agent/sessions/-/contexts/`.
 13173  	OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"`
 13174  	// Parameters: Optional. The collection of parameters associated with the
 13175  	// intent.
 13176  	Parameters []*GoogleCloudDialogflowV2IntentParameter `json:"parameters,omitempty"`
 13177  	// ParentFollowupIntentName: Read-only after creation. The unique identifier of
 13178  	// the parent intent in the chain of followup intents. You can set this field
 13179  	// when creating an intent, for example with CreateIntent or
 13180  	// BatchUpdateIntents, in order to make this intent a followup intent. It
 13181  	// identifies the parent followup intent. Format: `projects//agent/intents/`.
 13182  	ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"`
 13183  	// Priority: Optional. The priority of this intent. Higher numbers represent
 13184  	// higher priorities. - If the supplied value is unspecified or 0, the service
 13185  	// translates the value to 500,000, which corresponds to the `Normal` priority
 13186  	// in the console. - If the supplied value is negative, the intent is ignored
 13187  	// in runtime detect intent requests.
 13188  	Priority int64 `json:"priority,omitempty"`
 13189  	// ResetContexts: Optional. Indicates whether to delete all contexts in the
 13190  	// current session when this intent is matched.
 13191  	ResetContexts bool `json:"resetContexts,omitempty"`
 13192  	// RootFollowupIntentName: Output only. Read-only. The unique identifier of the
 13193  	// root intent in the chain of followup intents. It identifies the correct
 13194  	// followup intents chain for this intent. We populate this field only in the
 13195  	// output. Format: `projects//agent/intents/`.
 13196  	RootFollowupIntentName string `json:"rootFollowupIntentName,omitempty"`
 13197  	// TrainingPhrases: Optional. The collection of examples that the agent is
 13198  	// trained on.
 13199  	TrainingPhrases []*GoogleCloudDialogflowV2IntentTrainingPhrase `json:"trainingPhrases,omitempty"`
 13200  	// WebhookState: Optional. Indicates whether webhooks are enabled for the
 13201  	// intent.
 13202  	//
 13203  	// Possible values:
 13204  	//   "WEBHOOK_STATE_UNSPECIFIED" - Webhook is disabled in the agent and in the
 13205  	// intent.
 13206  	//   "WEBHOOK_STATE_ENABLED" - Webhook is enabled in the agent and in the
 13207  	// intent.
 13208  	//   "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" - Webhook is enabled in the agent
 13209  	// and in the intent. Also, each slot filling prompt is forwarded to the
 13210  	// webhook.
 13211  	WebhookState string `json:"webhookState,omitempty"`
 13212  	// ForceSendFields is a list of field names (e.g. "Action") to unconditionally
 13213  	// include in API requests. By default, fields with empty or default values are
 13214  	// omitted from API requests. See
 13215  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13216  	// details.
 13217  	ForceSendFields []string `json:"-"`
 13218  	// NullFields is a list of field names (e.g. "Action") to include in API
 13219  	// requests with the JSON null value. By default, fields with empty values are
 13220  	// omitted from API requests. See
 13221  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13222  	NullFields []string `json:"-"`
 13223  }
 13224  
 13225  func (s *GoogleCloudDialogflowV2Intent) MarshalJSON() ([]byte, error) {
 13226  	type NoMethod GoogleCloudDialogflowV2Intent
 13227  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13228  }
 13229  
 13230  // GoogleCloudDialogflowV2IntentFollowupIntentInfo: Represents a single
 13231  // followup intent in the chain.
 13232  type GoogleCloudDialogflowV2IntentFollowupIntentInfo struct {
 13233  	// FollowupIntentName: The unique identifier of the followup intent. Format:
 13234  	// `projects//agent/intents/`.
 13235  	FollowupIntentName string `json:"followupIntentName,omitempty"`
 13236  	// ParentFollowupIntentName: The unique identifier of the followup intent's
 13237  	// parent. Format: `projects//agent/intents/`.
 13238  	ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"`
 13239  	// ForceSendFields is a list of field names (e.g. "FollowupIntentName") to
 13240  	// unconditionally include in API requests. By default, fields with empty or
 13241  	// default values are omitted from API requests. See
 13242  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13243  	// details.
 13244  	ForceSendFields []string `json:"-"`
 13245  	// NullFields is a list of field names (e.g. "FollowupIntentName") to include
 13246  	// in API requests with the JSON null value. By default, fields with empty
 13247  	// values are omitted from API requests. See
 13248  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13249  	NullFields []string `json:"-"`
 13250  }
 13251  
 13252  func (s *GoogleCloudDialogflowV2IntentFollowupIntentInfo) MarshalJSON() ([]byte, error) {
 13253  	type NoMethod GoogleCloudDialogflowV2IntentFollowupIntentInfo
 13254  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13255  }
 13256  
 13257  // GoogleCloudDialogflowV2IntentMessage: A rich response message. Corresponds
 13258  // to the intent `Response` field in the Dialogflow console. For more
 13259  // information, see Rich response messages
 13260  // (https://cloud.google.com/dialogflow/docs/intents-rich-messages).
 13261  type GoogleCloudDialogflowV2IntentMessage struct {
 13262  	// BasicCard: The basic card response for Actions on Google.
 13263  	BasicCard *GoogleCloudDialogflowV2IntentMessageBasicCard `json:"basicCard,omitempty"`
 13264  	// BrowseCarouselCard: Browse carousel card for Actions on Google.
 13265  	BrowseCarouselCard *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard `json:"browseCarouselCard,omitempty"`
 13266  	// Card: The card response.
 13267  	Card *GoogleCloudDialogflowV2IntentMessageCard `json:"card,omitempty"`
 13268  	// CarouselSelect: The carousel card response for Actions on Google.
 13269  	CarouselSelect *GoogleCloudDialogflowV2IntentMessageCarouselSelect `json:"carouselSelect,omitempty"`
 13270  	// Image: The image response.
 13271  	Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"`
 13272  	// LinkOutSuggestion: The link out suggestion chip for Actions on Google.
 13273  	LinkOutSuggestion *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion `json:"linkOutSuggestion,omitempty"`
 13274  	// ListSelect: The list card response for Actions on Google.
 13275  	ListSelect *GoogleCloudDialogflowV2IntentMessageListSelect `json:"listSelect,omitempty"`
 13276  	// MediaContent: The media content card for Actions on Google.
 13277  	MediaContent *GoogleCloudDialogflowV2IntentMessageMediaContent `json:"mediaContent,omitempty"`
 13278  	// Payload: A custom platform-specific response.
 13279  	Payload googleapi.RawMessage `json:"payload,omitempty"`
 13280  	// Platform: Optional. The platform that this message is intended for.
 13281  	//
 13282  	// Possible values:
 13283  	//   "PLATFORM_UNSPECIFIED" - Default platform.
 13284  	//   "FACEBOOK" - Facebook.
 13285  	//   "SLACK" - Slack.
 13286  	//   "TELEGRAM" - Telegram.
 13287  	//   "KIK" - Kik.
 13288  	//   "SKYPE" - Skype.
 13289  	//   "LINE" - Line.
 13290  	//   "VIBER" - Viber.
 13291  	//   "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook
 13292  	// format](https://developers.google.com/assistant/actions/build/json/dialogflow
 13293  	// -webhook-json)
 13294  	//   "GOOGLE_HANGOUTS" - Google Hangouts.
 13295  	Platform string `json:"platform,omitempty"`
 13296  	// QuickReplies: The quick replies response.
 13297  	QuickReplies *GoogleCloudDialogflowV2IntentMessageQuickReplies `json:"quickReplies,omitempty"`
 13298  	// SimpleResponses: The voice and text-only responses for Actions on Google.
 13299  	SimpleResponses *GoogleCloudDialogflowV2IntentMessageSimpleResponses `json:"simpleResponses,omitempty"`
 13300  	// Suggestions: The suggestion chips for Actions on Google.
 13301  	Suggestions *GoogleCloudDialogflowV2IntentMessageSuggestions `json:"suggestions,omitempty"`
 13302  	// TableCard: Table card for Actions on Google.
 13303  	TableCard *GoogleCloudDialogflowV2IntentMessageTableCard `json:"tableCard,omitempty"`
 13304  	// Text: The text response.
 13305  	Text *GoogleCloudDialogflowV2IntentMessageText `json:"text,omitempty"`
 13306  	// ForceSendFields is a list of field names (e.g. "BasicCard") to
 13307  	// unconditionally include in API requests. By default, fields with empty or
 13308  	// default values are omitted from API requests. See
 13309  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13310  	// details.
 13311  	ForceSendFields []string `json:"-"`
 13312  	// NullFields is a list of field names (e.g. "BasicCard") to include in API
 13313  	// requests with the JSON null value. By default, fields with empty values are
 13314  	// omitted from API requests. See
 13315  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13316  	NullFields []string `json:"-"`
 13317  }
 13318  
 13319  func (s *GoogleCloudDialogflowV2IntentMessage) MarshalJSON() ([]byte, error) {
 13320  	type NoMethod GoogleCloudDialogflowV2IntentMessage
 13321  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13322  }
 13323  
 13324  // GoogleCloudDialogflowV2IntentMessageBasicCard: The basic card message.
 13325  // Useful for displaying information.
 13326  type GoogleCloudDialogflowV2IntentMessageBasicCard struct {
 13327  	// Buttons: Optional. The collection of card buttons.
 13328  	Buttons []*GoogleCloudDialogflowV2IntentMessageBasicCardButton `json:"buttons,omitempty"`
 13329  	// FormattedText: Required, unless image is present. The body text of the card.
 13330  	FormattedText string `json:"formattedText,omitempty"`
 13331  	// Image: Optional. The image for the card.
 13332  	Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"`
 13333  	// Subtitle: Optional. The subtitle of the card.
 13334  	Subtitle string `json:"subtitle,omitempty"`
 13335  	// Title: Optional. The title of the card.
 13336  	Title string `json:"title,omitempty"`
 13337  	// ForceSendFields is a list of field names (e.g. "Buttons") to unconditionally
 13338  	// include in API requests. By default, fields with empty or default values are
 13339  	// omitted from API requests. See
 13340  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13341  	// details.
 13342  	ForceSendFields []string `json:"-"`
 13343  	// NullFields is a list of field names (e.g. "Buttons") to include in API
 13344  	// requests with the JSON null value. By default, fields with empty values are
 13345  	// omitted from API requests. See
 13346  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13347  	NullFields []string `json:"-"`
 13348  }
 13349  
 13350  func (s *GoogleCloudDialogflowV2IntentMessageBasicCard) MarshalJSON() ([]byte, error) {
 13351  	type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCard
 13352  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13353  }
 13354  
 13355  // GoogleCloudDialogflowV2IntentMessageBasicCardButton: The button object that
 13356  // appears at the bottom of a card.
 13357  type GoogleCloudDialogflowV2IntentMessageBasicCardButton struct {
 13358  	// OpenUriAction: Required. Action to take when a user taps on the button.
 13359  	OpenUriAction *GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction `json:"openUriAction,omitempty"`
 13360  	// Title: Required. The title of the button.
 13361  	Title string `json:"title,omitempty"`
 13362  	// ForceSendFields is a list of field names (e.g. "OpenUriAction") to
 13363  	// unconditionally include in API requests. By default, fields with empty or
 13364  	// default values are omitted from API requests. See
 13365  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13366  	// details.
 13367  	ForceSendFields []string `json:"-"`
 13368  	// NullFields is a list of field names (e.g. "OpenUriAction") to include in API
 13369  	// requests with the JSON null value. By default, fields with empty values are
 13370  	// omitted from API requests. See
 13371  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13372  	NullFields []string `json:"-"`
 13373  }
 13374  
 13375  func (s *GoogleCloudDialogflowV2IntentMessageBasicCardButton) MarshalJSON() ([]byte, error) {
 13376  	type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCardButton
 13377  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13378  }
 13379  
 13380  // GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction: Opens the
 13381  // given URI.
 13382  type GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction struct {
 13383  	// Uri: Required. The HTTP or HTTPS scheme URI.
 13384  	Uri string `json:"uri,omitempty"`
 13385  	// ForceSendFields is a list of field names (e.g. "Uri") to unconditionally
 13386  	// include in API requests. By default, fields with empty or default values are
 13387  	// omitted from API requests. See
 13388  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13389  	// details.
 13390  	ForceSendFields []string `json:"-"`
 13391  	// NullFields is a list of field names (e.g. "Uri") to include in API requests
 13392  	// with the JSON null value. By default, fields with empty values are omitted
 13393  	// from API requests. See
 13394  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13395  	NullFields []string `json:"-"`
 13396  }
 13397  
 13398  func (s *GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction) MarshalJSON() ([]byte, error) {
 13399  	type NoMethod GoogleCloudDialogflowV2IntentMessageBasicCardButtonOpenUriAction
 13400  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13401  }
 13402  
 13403  // GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard: Browse Carousel Card
 13404  // for Actions on Google.
 13405  // https://developers.google.com/actions/assistant/responses#browsing_carousel
 13406  type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard struct {
 13407  	// ImageDisplayOptions: Optional. Settings for displaying the image. Applies to
 13408  	// every image in items.
 13409  	//
 13410  	// Possible values:
 13411  	//   "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED" - Fill the gaps between the image and
 13412  	// the image container with gray bars.
 13413  	//   "GRAY" - Fill the gaps between the image and the image container with gray
 13414  	// bars.
 13415  	//   "WHITE" - Fill the gaps between the image and the image container with
 13416  	// white bars.
 13417  	//   "CROPPED" - Image is scaled such that the image width and height match or
 13418  	// exceed the container dimensions. This may crop the top and bottom of the
 13419  	// image if the scaled image height is greater than the container height, or
 13420  	// crop the left and right of the image if the scaled image width is greater
 13421  	// than the container width. This is similar to "Zoom Mode" on a widescreen TV
 13422  	// when playing a 4:3 video.
 13423  	//   "BLURRED_BACKGROUND" - Pad the gaps between image and image frame with a
 13424  	// blurred copy of the same image.
 13425  	ImageDisplayOptions string `json:"imageDisplayOptions,omitempty"`
 13426  	// Items: Required. List of items in the Browse Carousel Card. Minimum of two
 13427  	// items, maximum of ten.
 13428  	Items []*GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem `json:"items,omitempty"`
 13429  	// ForceSendFields is a list of field names (e.g. "ImageDisplayOptions") to
 13430  	// unconditionally include in API requests. By default, fields with empty or
 13431  	// default values are omitted from API requests. See
 13432  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13433  	// details.
 13434  	ForceSendFields []string `json:"-"`
 13435  	// NullFields is a list of field names (e.g. "ImageDisplayOptions") to include
 13436  	// in API requests with the JSON null value. By default, fields with empty
 13437  	// values are omitted from API requests. See
 13438  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13439  	NullFields []string `json:"-"`
 13440  }
 13441  
 13442  func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error) {
 13443  	type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCard
 13444  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13445  }
 13446  
 13447  // GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem:
 13448  //
 13449  //	Browsing carousel tile
 13450  type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem struct {
 13451  	// Description: Optional. Description of the carousel item. Maximum of four
 13452  	// lines of text.
 13453  	Description string `json:"description,omitempty"`
 13454  	// Footer: Optional. Text that appears at the bottom of the Browse Carousel
 13455  	// Card. Maximum of one line of text.
 13456  	Footer string `json:"footer,omitempty"`
 13457  	// Image: Optional. Hero image for the carousel item.
 13458  	Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"`
 13459  	// OpenUriAction: Required. Action to present to the user.
 13460  	OpenUriAction *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction `json:"openUriAction,omitempty"`
 13461  	// Title: Required. Title of the carousel item. Maximum of two lines of text.
 13462  	Title string `json:"title,omitempty"`
 13463  	// ForceSendFields is a list of field names (e.g. "Description") to
 13464  	// unconditionally include in API requests. By default, fields with empty or
 13465  	// default values are omitted from API requests. See
 13466  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13467  	// details.
 13468  	ForceSendFields []string `json:"-"`
 13469  	// NullFields is a list of field names (e.g. "Description") to include in API
 13470  	// requests with the JSON null value. By default, fields with empty values are
 13471  	// omitted from API requests. See
 13472  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13473  	NullFields []string `json:"-"`
 13474  }
 13475  
 13476  func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error) {
 13477  	type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItem
 13478  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13479  }
 13480  
 13481  // GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemO
 13482  // penUrlAction: Actions on Google action to open a given url.
 13483  type GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction struct {
 13484  	// Url: Required. URL
 13485  	Url string `json:"url,omitempty"`
 13486  	// UrlTypeHint: Optional. Specifies the type of viewer that is used when
 13487  	// opening the URL. Defaults to opening via web browser.
 13488  	//
 13489  	// Possible values:
 13490  	//   "URL_TYPE_HINT_UNSPECIFIED" - Unspecified
 13491  	//   "AMP_ACTION" - Url would be an amp action
 13492  	//   "AMP_CONTENT" - URL that points directly to AMP content, or to a canonical
 13493  	// URL which refers to AMP content via .
 13494  	UrlTypeHint string `json:"urlTypeHint,omitempty"`
 13495  	// ForceSendFields is a list of field names (e.g. "Url") to unconditionally
 13496  	// include in API requests. By default, fields with empty or default values are
 13497  	// omitted from API requests. See
 13498  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13499  	// details.
 13500  	ForceSendFields []string `json:"-"`
 13501  	// NullFields is a list of field names (e.g. "Url") to include in API requests
 13502  	// with the JSON null value. By default, fields with empty values are omitted
 13503  	// from API requests. See
 13504  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13505  	NullFields []string `json:"-"`
 13506  }
 13507  
 13508  func (s *GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON() ([]byte, error) {
 13509  	type NoMethod GoogleCloudDialogflowV2IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction
 13510  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13511  }
 13512  
 13513  // GoogleCloudDialogflowV2IntentMessageCard: The card response message.
 13514  type GoogleCloudDialogflowV2IntentMessageCard struct {
 13515  	// Buttons: Optional. The collection of card buttons.
 13516  	Buttons []*GoogleCloudDialogflowV2IntentMessageCardButton `json:"buttons,omitempty"`
 13517  	// ImageUri: Optional. The public URI to an image file for the card.
 13518  	ImageUri string `json:"imageUri,omitempty"`
 13519  	// Subtitle: Optional. The subtitle of the card.
 13520  	Subtitle string `json:"subtitle,omitempty"`
 13521  	// Title: Optional. The title of the card.
 13522  	Title string `json:"title,omitempty"`
 13523  	// ForceSendFields is a list of field names (e.g. "Buttons") to unconditionally
 13524  	// include in API requests. By default, fields with empty or default values are
 13525  	// omitted from API requests. See
 13526  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13527  	// details.
 13528  	ForceSendFields []string `json:"-"`
 13529  	// NullFields is a list of field names (e.g. "Buttons") to include in API
 13530  	// requests with the JSON null value. By default, fields with empty values are
 13531  	// omitted from API requests. See
 13532  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13533  	NullFields []string `json:"-"`
 13534  }
 13535  
 13536  func (s *GoogleCloudDialogflowV2IntentMessageCard) MarshalJSON() ([]byte, error) {
 13537  	type NoMethod GoogleCloudDialogflowV2IntentMessageCard
 13538  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13539  }
 13540  
 13541  // GoogleCloudDialogflowV2IntentMessageCardButton: Contains information about a
 13542  // button.
 13543  type GoogleCloudDialogflowV2IntentMessageCardButton struct {
 13544  	// Postback: Optional. The text to send back to the Dialogflow API or a URI to
 13545  	// open.
 13546  	Postback string `json:"postback,omitempty"`
 13547  	// Text: Optional. The text to show on the button.
 13548  	Text string `json:"text,omitempty"`
 13549  	// ForceSendFields is a list of field names (e.g. "Postback") to
 13550  	// unconditionally include in API requests. By default, fields with empty or
 13551  	// default values are omitted from API requests. See
 13552  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13553  	// details.
 13554  	ForceSendFields []string `json:"-"`
 13555  	// NullFields is a list of field names (e.g. "Postback") to include in API
 13556  	// requests with the JSON null value. By default, fields with empty values are
 13557  	// omitted from API requests. See
 13558  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13559  	NullFields []string `json:"-"`
 13560  }
 13561  
 13562  func (s *GoogleCloudDialogflowV2IntentMessageCardButton) MarshalJSON() ([]byte, error) {
 13563  	type NoMethod GoogleCloudDialogflowV2IntentMessageCardButton
 13564  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13565  }
 13566  
 13567  // GoogleCloudDialogflowV2IntentMessageCarouselSelect: The card for presenting
 13568  // a carousel of options to select from.
 13569  type GoogleCloudDialogflowV2IntentMessageCarouselSelect struct {
 13570  	// Items: Required. Carousel items.
 13571  	Items []*GoogleCloudDialogflowV2IntentMessageCarouselSelectItem `json:"items,omitempty"`
 13572  	// ForceSendFields is a list of field names (e.g. "Items") to unconditionally
 13573  	// include in API requests. By default, fields with empty or default values are
 13574  	// omitted from API requests. See
 13575  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13576  	// details.
 13577  	ForceSendFields []string `json:"-"`
 13578  	// NullFields is a list of field names (e.g. "Items") to include in API
 13579  	// requests with the JSON null value. By default, fields with empty values are
 13580  	// omitted from API requests. See
 13581  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13582  	NullFields []string `json:"-"`
 13583  }
 13584  
 13585  func (s *GoogleCloudDialogflowV2IntentMessageCarouselSelect) MarshalJSON() ([]byte, error) {
 13586  	type NoMethod GoogleCloudDialogflowV2IntentMessageCarouselSelect
 13587  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13588  }
 13589  
 13590  // GoogleCloudDialogflowV2IntentMessageCarouselSelectItem: An item in the
 13591  // carousel.
 13592  type GoogleCloudDialogflowV2IntentMessageCarouselSelectItem struct {
 13593  	// Description: Optional. The body text of the card.
 13594  	Description string `json:"description,omitempty"`
 13595  	// Image: Optional. The image to display.
 13596  	Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"`
 13597  	// Info: Required. Additional info about the option item.
 13598  	Info *GoogleCloudDialogflowV2IntentMessageSelectItemInfo `json:"info,omitempty"`
 13599  	// Title: Required. Title of the carousel item.
 13600  	Title string `json:"title,omitempty"`
 13601  	// ForceSendFields is a list of field names (e.g. "Description") to
 13602  	// unconditionally include in API requests. By default, fields with empty or
 13603  	// default values are omitted from API requests. See
 13604  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13605  	// details.
 13606  	ForceSendFields []string `json:"-"`
 13607  	// NullFields is a list of field names (e.g. "Description") to include in API
 13608  	// requests with the JSON null value. By default, fields with empty values are
 13609  	// omitted from API requests. See
 13610  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13611  	NullFields []string `json:"-"`
 13612  }
 13613  
 13614  func (s *GoogleCloudDialogflowV2IntentMessageCarouselSelectItem) MarshalJSON() ([]byte, error) {
 13615  	type NoMethod GoogleCloudDialogflowV2IntentMessageCarouselSelectItem
 13616  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13617  }
 13618  
 13619  // GoogleCloudDialogflowV2IntentMessageColumnProperties: Column properties for
 13620  // TableCard.
 13621  type GoogleCloudDialogflowV2IntentMessageColumnProperties struct {
 13622  	// Header: Required. Column heading.
 13623  	Header string `json:"header,omitempty"`
 13624  	// HorizontalAlignment: Optional. Defines text alignment for all cells in this
 13625  	// column.
 13626  	//
 13627  	// Possible values:
 13628  	//   "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Text is aligned to the leading edge
 13629  	// of the column.
 13630  	//   "LEADING" - Text is aligned to the leading edge of the column.
 13631  	//   "CENTER" - Text is centered in the column.
 13632  	//   "TRAILING" - Text is aligned to the trailing edge of the column.
 13633  	HorizontalAlignment string `json:"horizontalAlignment,omitempty"`
 13634  	// ForceSendFields is a list of field names (e.g. "Header") to unconditionally
 13635  	// include in API requests. By default, fields with empty or default values are
 13636  	// omitted from API requests. See
 13637  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13638  	// details.
 13639  	ForceSendFields []string `json:"-"`
 13640  	// NullFields is a list of field names (e.g. "Header") to include in API
 13641  	// requests with the JSON null value. By default, fields with empty values are
 13642  	// omitted from API requests. See
 13643  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13644  	NullFields []string `json:"-"`
 13645  }
 13646  
 13647  func (s *GoogleCloudDialogflowV2IntentMessageColumnProperties) MarshalJSON() ([]byte, error) {
 13648  	type NoMethod GoogleCloudDialogflowV2IntentMessageColumnProperties
 13649  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13650  }
 13651  
 13652  // GoogleCloudDialogflowV2IntentMessageImage: The image response message.
 13653  type GoogleCloudDialogflowV2IntentMessageImage struct {
 13654  	// AccessibilityText: Optional. A text description of the image to be used for
 13655  	// accessibility, e.g., screen readers.
 13656  	AccessibilityText string `json:"accessibilityText,omitempty"`
 13657  	// ImageUri: Optional. The public URI to an image file.
 13658  	ImageUri string `json:"imageUri,omitempty"`
 13659  	// ForceSendFields is a list of field names (e.g. "AccessibilityText") to
 13660  	// unconditionally include in API requests. By default, fields with empty or
 13661  	// default values are omitted from API requests. See
 13662  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13663  	// details.
 13664  	ForceSendFields []string `json:"-"`
 13665  	// NullFields is a list of field names (e.g. "AccessibilityText") to include in
 13666  	// API requests with the JSON null value. By default, fields with empty values
 13667  	// are omitted from API requests. See
 13668  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13669  	NullFields []string `json:"-"`
 13670  }
 13671  
 13672  func (s *GoogleCloudDialogflowV2IntentMessageImage) MarshalJSON() ([]byte, error) {
 13673  	type NoMethod GoogleCloudDialogflowV2IntentMessageImage
 13674  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13675  }
 13676  
 13677  // GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion: The suggestion chip
 13678  // message that allows the user to jump out to the app or website associated
 13679  // with this agent.
 13680  type GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion struct {
 13681  	// DestinationName: Required. The name of the app or site this chip is linking
 13682  	// to.
 13683  	DestinationName string `json:"destinationName,omitempty"`
 13684  	// Uri: Required. The URI of the app or site to open when the user taps the
 13685  	// suggestion chip.
 13686  	Uri string `json:"uri,omitempty"`
 13687  	// ForceSendFields is a list of field names (e.g. "DestinationName") to
 13688  	// unconditionally include in API requests. By default, fields with empty or
 13689  	// default values are omitted from API requests. See
 13690  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13691  	// details.
 13692  	ForceSendFields []string `json:"-"`
 13693  	// NullFields is a list of field names (e.g. "DestinationName") to include in
 13694  	// API requests with the JSON null value. By default, fields with empty values
 13695  	// are omitted from API requests. See
 13696  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13697  	NullFields []string `json:"-"`
 13698  }
 13699  
 13700  func (s *GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion) MarshalJSON() ([]byte, error) {
 13701  	type NoMethod GoogleCloudDialogflowV2IntentMessageLinkOutSuggestion
 13702  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13703  }
 13704  
 13705  // GoogleCloudDialogflowV2IntentMessageListSelect: The card for presenting a
 13706  // list of options to select from.
 13707  type GoogleCloudDialogflowV2IntentMessageListSelect struct {
 13708  	// Items: Required. List items.
 13709  	Items []*GoogleCloudDialogflowV2IntentMessageListSelectItem `json:"items,omitempty"`
 13710  	// Subtitle: Optional. Subtitle of the list.
 13711  	Subtitle string `json:"subtitle,omitempty"`
 13712  	// Title: Optional. The overall title of the list.
 13713  	Title string `json:"title,omitempty"`
 13714  	// ForceSendFields is a list of field names (e.g. "Items") to unconditionally
 13715  	// include in API requests. By default, fields with empty or default values are
 13716  	// omitted from API requests. See
 13717  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13718  	// details.
 13719  	ForceSendFields []string `json:"-"`
 13720  	// NullFields is a list of field names (e.g. "Items") to include in API
 13721  	// requests with the JSON null value. By default, fields with empty values are
 13722  	// omitted from API requests. See
 13723  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13724  	NullFields []string `json:"-"`
 13725  }
 13726  
 13727  func (s *GoogleCloudDialogflowV2IntentMessageListSelect) MarshalJSON() ([]byte, error) {
 13728  	type NoMethod GoogleCloudDialogflowV2IntentMessageListSelect
 13729  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13730  }
 13731  
 13732  // GoogleCloudDialogflowV2IntentMessageListSelectItem: An item in the list.
 13733  type GoogleCloudDialogflowV2IntentMessageListSelectItem struct {
 13734  	// Description: Optional. The main text describing the item.
 13735  	Description string `json:"description,omitempty"`
 13736  	// Image: Optional. The image to display.
 13737  	Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"`
 13738  	// Info: Required. Additional information about this option.
 13739  	Info *GoogleCloudDialogflowV2IntentMessageSelectItemInfo `json:"info,omitempty"`
 13740  	// Title: Required. The title of the list item.
 13741  	Title string `json:"title,omitempty"`
 13742  	// ForceSendFields is a list of field names (e.g. "Description") to
 13743  	// unconditionally include in API requests. By default, fields with empty or
 13744  	// default values are omitted from API requests. See
 13745  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13746  	// details.
 13747  	ForceSendFields []string `json:"-"`
 13748  	// NullFields is a list of field names (e.g. "Description") to include in API
 13749  	// requests with the JSON null value. By default, fields with empty values are
 13750  	// omitted from API requests. See
 13751  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13752  	NullFields []string `json:"-"`
 13753  }
 13754  
 13755  func (s *GoogleCloudDialogflowV2IntentMessageListSelectItem) MarshalJSON() ([]byte, error) {
 13756  	type NoMethod GoogleCloudDialogflowV2IntentMessageListSelectItem
 13757  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13758  }
 13759  
 13760  // GoogleCloudDialogflowV2IntentMessageMediaContent: The media content card for
 13761  // Actions on Google.
 13762  type GoogleCloudDialogflowV2IntentMessageMediaContent struct {
 13763  	// MediaObjects: Required. List of media objects.
 13764  	MediaObjects []*GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject `json:"mediaObjects,omitempty"`
 13765  	// MediaType: Optional. What type of media is the content (ie "audio").
 13766  	//
 13767  	// Possible values:
 13768  	//   "RESPONSE_MEDIA_TYPE_UNSPECIFIED" - Unspecified.
 13769  	//   "AUDIO" - Response media type is audio.
 13770  	MediaType string `json:"mediaType,omitempty"`
 13771  	// ForceSendFields is a list of field names (e.g. "MediaObjects") to
 13772  	// unconditionally include in API requests. By default, fields with empty or
 13773  	// default values are omitted from API requests. See
 13774  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13775  	// details.
 13776  	ForceSendFields []string `json:"-"`
 13777  	// NullFields is a list of field names (e.g. "MediaObjects") to include in API
 13778  	// requests with the JSON null value. By default, fields with empty values are
 13779  	// omitted from API requests. See
 13780  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13781  	NullFields []string `json:"-"`
 13782  }
 13783  
 13784  func (s *GoogleCloudDialogflowV2IntentMessageMediaContent) MarshalJSON() ([]byte, error) {
 13785  	type NoMethod GoogleCloudDialogflowV2IntentMessageMediaContent
 13786  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13787  }
 13788  
 13789  // GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject:
 13790  // Response media object for media content card.
 13791  type GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject struct {
 13792  	// ContentUrl: Required. Url where the media is stored.
 13793  	ContentUrl string `json:"contentUrl,omitempty"`
 13794  	// Description: Optional. Description of media card.
 13795  	Description string `json:"description,omitempty"`
 13796  	// Icon: Optional. Icon to display above media content.
 13797  	Icon *GoogleCloudDialogflowV2IntentMessageImage `json:"icon,omitempty"`
 13798  	// LargeImage: Optional. Image to display above media content.
 13799  	LargeImage *GoogleCloudDialogflowV2IntentMessageImage `json:"largeImage,omitempty"`
 13800  	// Name: Required. Name of media card.
 13801  	Name string `json:"name,omitempty"`
 13802  	// ForceSendFields is a list of field names (e.g. "ContentUrl") to
 13803  	// unconditionally include in API requests. By default, fields with empty or
 13804  	// default values are omitted from API requests. See
 13805  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13806  	// details.
 13807  	ForceSendFields []string `json:"-"`
 13808  	// NullFields is a list of field names (e.g. "ContentUrl") to include in API
 13809  	// requests with the JSON null value. By default, fields with empty values are
 13810  	// omitted from API requests. See
 13811  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13812  	NullFields []string `json:"-"`
 13813  }
 13814  
 13815  func (s *GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject) MarshalJSON() ([]byte, error) {
 13816  	type NoMethod GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject
 13817  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13818  }
 13819  
 13820  // GoogleCloudDialogflowV2IntentMessageQuickReplies: The quick replies response
 13821  // message.
 13822  type GoogleCloudDialogflowV2IntentMessageQuickReplies struct {
 13823  	// QuickReplies: Optional. The collection of quick replies.
 13824  	QuickReplies []string `json:"quickReplies,omitempty"`
 13825  	// Title: Optional. The title of the collection of quick replies.
 13826  	Title string `json:"title,omitempty"`
 13827  	// ForceSendFields is a list of field names (e.g. "QuickReplies") to
 13828  	// unconditionally include in API requests. By default, fields with empty or
 13829  	// default values are omitted from API requests. See
 13830  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13831  	// details.
 13832  	ForceSendFields []string `json:"-"`
 13833  	// NullFields is a list of field names (e.g. "QuickReplies") to include in API
 13834  	// requests with the JSON null value. By default, fields with empty values are
 13835  	// omitted from API requests. See
 13836  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13837  	NullFields []string `json:"-"`
 13838  }
 13839  
 13840  func (s *GoogleCloudDialogflowV2IntentMessageQuickReplies) MarshalJSON() ([]byte, error) {
 13841  	type NoMethod GoogleCloudDialogflowV2IntentMessageQuickReplies
 13842  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13843  }
 13844  
 13845  // GoogleCloudDialogflowV2IntentMessageSelectItemInfo: Additional info about
 13846  // the select item for when it is triggered in a dialog.
 13847  type GoogleCloudDialogflowV2IntentMessageSelectItemInfo struct {
 13848  	// Key: Required. A unique key that will be sent back to the agent if this
 13849  	// response is given.
 13850  	Key string `json:"key,omitempty"`
 13851  	// Synonyms: Optional. A list of synonyms that can also be used to trigger this
 13852  	// item in dialog.
 13853  	Synonyms []string `json:"synonyms,omitempty"`
 13854  	// ForceSendFields is a list of field names (e.g. "Key") to unconditionally
 13855  	// include in API requests. By default, fields with empty or default values are
 13856  	// omitted from API requests. See
 13857  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13858  	// details.
 13859  	ForceSendFields []string `json:"-"`
 13860  	// NullFields is a list of field names (e.g. "Key") to include in API requests
 13861  	// with the JSON null value. By default, fields with empty values are omitted
 13862  	// from API requests. See
 13863  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13864  	NullFields []string `json:"-"`
 13865  }
 13866  
 13867  func (s *GoogleCloudDialogflowV2IntentMessageSelectItemInfo) MarshalJSON() ([]byte, error) {
 13868  	type NoMethod GoogleCloudDialogflowV2IntentMessageSelectItemInfo
 13869  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13870  }
 13871  
 13872  // GoogleCloudDialogflowV2IntentMessageSimpleResponse: The simple response
 13873  // message containing speech or text.
 13874  type GoogleCloudDialogflowV2IntentMessageSimpleResponse struct {
 13875  	// DisplayText: Optional. The text to display.
 13876  	DisplayText string `json:"displayText,omitempty"`
 13877  	// Ssml: One of text_to_speech or ssml must be provided. Structured spoken
 13878  	// response to the user in the SSML format. Mutually exclusive with
 13879  	// text_to_speech.
 13880  	Ssml string `json:"ssml,omitempty"`
 13881  	// TextToSpeech: One of text_to_speech or ssml must be provided. The plain text
 13882  	// of the speech output. Mutually exclusive with ssml.
 13883  	TextToSpeech string `json:"textToSpeech,omitempty"`
 13884  	// ForceSendFields is a list of field names (e.g. "DisplayText") to
 13885  	// unconditionally include in API requests. By default, fields with empty or
 13886  	// default values are omitted from API requests. See
 13887  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13888  	// details.
 13889  	ForceSendFields []string `json:"-"`
 13890  	// NullFields is a list of field names (e.g. "DisplayText") to include in API
 13891  	// requests with the JSON null value. By default, fields with empty values are
 13892  	// omitted from API requests. See
 13893  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13894  	NullFields []string `json:"-"`
 13895  }
 13896  
 13897  func (s *GoogleCloudDialogflowV2IntentMessageSimpleResponse) MarshalJSON() ([]byte, error) {
 13898  	type NoMethod GoogleCloudDialogflowV2IntentMessageSimpleResponse
 13899  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13900  }
 13901  
 13902  // GoogleCloudDialogflowV2IntentMessageSimpleResponses: The collection of
 13903  // simple response candidates. This message in
 13904  // `QueryResult.fulfillment_messages` and
 13905  // `WebhookResponse.fulfillment_messages` should contain only one
 13906  // `SimpleResponse`.
 13907  type GoogleCloudDialogflowV2IntentMessageSimpleResponses struct {
 13908  	// SimpleResponses: Required. The list of simple responses.
 13909  	SimpleResponses []*GoogleCloudDialogflowV2IntentMessageSimpleResponse `json:"simpleResponses,omitempty"`
 13910  	// ForceSendFields is a list of field names (e.g. "SimpleResponses") to
 13911  	// unconditionally include in API requests. By default, fields with empty or
 13912  	// default values are omitted from API requests. See
 13913  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13914  	// details.
 13915  	ForceSendFields []string `json:"-"`
 13916  	// NullFields is a list of field names (e.g. "SimpleResponses") to include in
 13917  	// API requests with the JSON null value. By default, fields with empty values
 13918  	// are omitted from API requests. See
 13919  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13920  	NullFields []string `json:"-"`
 13921  }
 13922  
 13923  func (s *GoogleCloudDialogflowV2IntentMessageSimpleResponses) MarshalJSON() ([]byte, error) {
 13924  	type NoMethod GoogleCloudDialogflowV2IntentMessageSimpleResponses
 13925  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13926  }
 13927  
 13928  // GoogleCloudDialogflowV2IntentMessageSuggestion: The suggestion chip message
 13929  // that the user can tap to quickly post a reply to the conversation.
 13930  type GoogleCloudDialogflowV2IntentMessageSuggestion struct {
 13931  	// Title: Required. The text shown the in the suggestion chip.
 13932  	Title string `json:"title,omitempty"`
 13933  	// ForceSendFields is a list of field names (e.g. "Title") to unconditionally
 13934  	// include in API requests. By default, fields with empty or default values are
 13935  	// omitted from API requests. See
 13936  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13937  	// details.
 13938  	ForceSendFields []string `json:"-"`
 13939  	// NullFields is a list of field names (e.g. "Title") to include in API
 13940  	// requests with the JSON null value. By default, fields with empty values are
 13941  	// omitted from API requests. See
 13942  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13943  	NullFields []string `json:"-"`
 13944  }
 13945  
 13946  func (s *GoogleCloudDialogflowV2IntentMessageSuggestion) MarshalJSON() ([]byte, error) {
 13947  	type NoMethod GoogleCloudDialogflowV2IntentMessageSuggestion
 13948  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13949  }
 13950  
 13951  // GoogleCloudDialogflowV2IntentMessageSuggestions: The collection of
 13952  // suggestions.
 13953  type GoogleCloudDialogflowV2IntentMessageSuggestions struct {
 13954  	// Suggestions: Required. The list of suggested replies.
 13955  	Suggestions []*GoogleCloudDialogflowV2IntentMessageSuggestion `json:"suggestions,omitempty"`
 13956  	// ForceSendFields is a list of field names (e.g. "Suggestions") to
 13957  	// unconditionally include in API requests. By default, fields with empty or
 13958  	// default values are omitted from API requests. See
 13959  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13960  	// details.
 13961  	ForceSendFields []string `json:"-"`
 13962  	// NullFields is a list of field names (e.g. "Suggestions") to include in API
 13963  	// requests with the JSON null value. By default, fields with empty values are
 13964  	// omitted from API requests. See
 13965  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 13966  	NullFields []string `json:"-"`
 13967  }
 13968  
 13969  func (s *GoogleCloudDialogflowV2IntentMessageSuggestions) MarshalJSON() ([]byte, error) {
 13970  	type NoMethod GoogleCloudDialogflowV2IntentMessageSuggestions
 13971  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 13972  }
 13973  
 13974  // GoogleCloudDialogflowV2IntentMessageTableCard: Table card for Actions on
 13975  // Google.
 13976  type GoogleCloudDialogflowV2IntentMessageTableCard struct {
 13977  	// Buttons: Optional. List of buttons for the card.
 13978  	Buttons []*GoogleCloudDialogflowV2IntentMessageBasicCardButton `json:"buttons,omitempty"`
 13979  	// ColumnProperties: Optional. Display properties for the columns in this
 13980  	// table.
 13981  	ColumnProperties []*GoogleCloudDialogflowV2IntentMessageColumnProperties `json:"columnProperties,omitempty"`
 13982  	// Image: Optional. Image which should be displayed on the card.
 13983  	Image *GoogleCloudDialogflowV2IntentMessageImage `json:"image,omitempty"`
 13984  	// Rows: Optional. Rows in this table of data.
 13985  	Rows []*GoogleCloudDialogflowV2IntentMessageTableCardRow `json:"rows,omitempty"`
 13986  	// Subtitle: Optional. Subtitle to the title.
 13987  	Subtitle string `json:"subtitle,omitempty"`
 13988  	// Title: Required. Title of the card.
 13989  	Title string `json:"title,omitempty"`
 13990  	// ForceSendFields is a list of field names (e.g. "Buttons") to unconditionally
 13991  	// include in API requests. By default, fields with empty or default values are
 13992  	// omitted from API requests. See
 13993  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 13994  	// details.
 13995  	ForceSendFields []string `json:"-"`
 13996  	// NullFields is a list of field names (e.g. "Buttons") to include in API
 13997  	// requests with the JSON null value. By default, fields with empty values are
 13998  	// omitted from API requests. See
 13999  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14000  	NullFields []string `json:"-"`
 14001  }
 14002  
 14003  func (s *GoogleCloudDialogflowV2IntentMessageTableCard) MarshalJSON() ([]byte, error) {
 14004  	type NoMethod GoogleCloudDialogflowV2IntentMessageTableCard
 14005  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14006  }
 14007  
 14008  // GoogleCloudDialogflowV2IntentMessageTableCardCell: Cell of TableCardRow.
 14009  type GoogleCloudDialogflowV2IntentMessageTableCardCell struct {
 14010  	// Text: Required. Text in this cell.
 14011  	Text string `json:"text,omitempty"`
 14012  	// ForceSendFields is a list of field names (e.g. "Text") to unconditionally
 14013  	// include in API requests. By default, fields with empty or default values are
 14014  	// omitted from API requests. See
 14015  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14016  	// details.
 14017  	ForceSendFields []string `json:"-"`
 14018  	// NullFields is a list of field names (e.g. "Text") to include in API requests
 14019  	// with the JSON null value. By default, fields with empty values are omitted
 14020  	// from API requests. See
 14021  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14022  	NullFields []string `json:"-"`
 14023  }
 14024  
 14025  func (s *GoogleCloudDialogflowV2IntentMessageTableCardCell) MarshalJSON() ([]byte, error) {
 14026  	type NoMethod GoogleCloudDialogflowV2IntentMessageTableCardCell
 14027  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14028  }
 14029  
 14030  // GoogleCloudDialogflowV2IntentMessageTableCardRow: Row of TableCard.
 14031  type GoogleCloudDialogflowV2IntentMessageTableCardRow struct {
 14032  	// Cells: Optional. List of cells that make up this row.
 14033  	Cells []*GoogleCloudDialogflowV2IntentMessageTableCardCell `json:"cells,omitempty"`
 14034  	// DividerAfter: Optional. Whether to add a visual divider after this row.
 14035  	DividerAfter bool `json:"dividerAfter,omitempty"`
 14036  	// ForceSendFields is a list of field names (e.g. "Cells") to unconditionally
 14037  	// include in API requests. By default, fields with empty or default values are
 14038  	// omitted from API requests. See
 14039  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14040  	// details.
 14041  	ForceSendFields []string `json:"-"`
 14042  	// NullFields is a list of field names (e.g. "Cells") to include in API
 14043  	// requests with the JSON null value. By default, fields with empty values are
 14044  	// omitted from API requests. See
 14045  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14046  	NullFields []string `json:"-"`
 14047  }
 14048  
 14049  func (s *GoogleCloudDialogflowV2IntentMessageTableCardRow) MarshalJSON() ([]byte, error) {
 14050  	type NoMethod GoogleCloudDialogflowV2IntentMessageTableCardRow
 14051  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14052  }
 14053  
 14054  // GoogleCloudDialogflowV2IntentMessageText: The text response message.
 14055  type GoogleCloudDialogflowV2IntentMessageText struct {
 14056  	// Text: Optional. The collection of the agent's responses.
 14057  	Text []string `json:"text,omitempty"`
 14058  	// ForceSendFields is a list of field names (e.g. "Text") to unconditionally
 14059  	// include in API requests. By default, fields with empty or default values are
 14060  	// omitted from API requests. See
 14061  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14062  	// details.
 14063  	ForceSendFields []string `json:"-"`
 14064  	// NullFields is a list of field names (e.g. "Text") to include in API requests
 14065  	// with the JSON null value. By default, fields with empty values are omitted
 14066  	// from API requests. See
 14067  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14068  	NullFields []string `json:"-"`
 14069  }
 14070  
 14071  func (s *GoogleCloudDialogflowV2IntentMessageText) MarshalJSON() ([]byte, error) {
 14072  	type NoMethod GoogleCloudDialogflowV2IntentMessageText
 14073  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14074  }
 14075  
 14076  // GoogleCloudDialogflowV2IntentParameter: Represents intent parameters.
 14077  type GoogleCloudDialogflowV2IntentParameter struct {
 14078  	// DefaultValue: Optional. The default value to use when the `value` yields an
 14079  	// empty result. Default values can be extracted from contexts by using the
 14080  	// following syntax: `#context_name.parameter_name`.
 14081  	DefaultValue string `json:"defaultValue,omitempty"`
 14082  	// DisplayName: Required. The name of the parameter.
 14083  	DisplayName string `json:"displayName,omitempty"`
 14084  	// EntityTypeDisplayName: Optional. The name of the entity type, prefixed with
 14085  	// `@`, that describes values of the parameter. If the parameter is required,
 14086  	// this must be provided.
 14087  	EntityTypeDisplayName string `json:"entityTypeDisplayName,omitempty"`
 14088  	// IsList: Optional. Indicates whether the parameter represents a list of
 14089  	// values.
 14090  	IsList bool `json:"isList,omitempty"`
 14091  	// Mandatory: Optional. Indicates whether the parameter is required. That is,
 14092  	// whether the intent cannot be completed without collecting the parameter
 14093  	// value.
 14094  	Mandatory bool `json:"mandatory,omitempty"`
 14095  	// Name: The unique identifier of this parameter.
 14096  	Name string `json:"name,omitempty"`
 14097  	// Prompts: Optional. The collection of prompts that the agent can present to
 14098  	// the user in order to collect a value for the parameter.
 14099  	Prompts []string `json:"prompts,omitempty"`
 14100  	// Value: Optional. The definition of the parameter value. It can be: - a
 14101  	// constant string, - a parameter value defined as `$parameter_name`, - an
 14102  	// original parameter value defined as `$parameter_name.original`, - a
 14103  	// parameter value from some context defined as `#context_name.parameter_name`.
 14104  	Value string `json:"value,omitempty"`
 14105  	// ForceSendFields is a list of field names (e.g. "DefaultValue") to
 14106  	// unconditionally include in API requests. By default, fields with empty or
 14107  	// default values are omitted from API requests. See
 14108  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14109  	// details.
 14110  	ForceSendFields []string `json:"-"`
 14111  	// NullFields is a list of field names (e.g. "DefaultValue") to include in API
 14112  	// requests with the JSON null value. By default, fields with empty values are
 14113  	// omitted from API requests. See
 14114  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14115  	NullFields []string `json:"-"`
 14116  }
 14117  
 14118  func (s *GoogleCloudDialogflowV2IntentParameter) MarshalJSON() ([]byte, error) {
 14119  	type NoMethod GoogleCloudDialogflowV2IntentParameter
 14120  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14121  }
 14122  
 14123  // GoogleCloudDialogflowV2IntentTrainingPhrase: Represents an example that the
 14124  // agent is trained on.
 14125  type GoogleCloudDialogflowV2IntentTrainingPhrase struct {
 14126  	// Name: Output only. The unique identifier of this training phrase.
 14127  	Name string `json:"name,omitempty"`
 14128  	// Parts: Required. The ordered list of training phrase parts. The parts are
 14129  	// concatenated in order to form the training phrase. Note: The API does not
 14130  	// automatically annotate training phrases like the Dialogflow Console does.
 14131  	// Note: Do not forget to include whitespace at part boundaries, so the
 14132  	// training phrase is well formatted when the parts are concatenated. If the
 14133  	// training phrase does not need to be annotated with parameters, you just need
 14134  	// a single part with only the Part.text field set. If you want to annotate the
 14135  	// training phrase, you must create multiple parts, where the fields of each
 14136  	// part are populated in one of two ways: - `Part.text` is set to a part of the
 14137  	// phrase that has no parameters. - `Part.text` is set to a part of the phrase
 14138  	// that you want to annotate, and the `entity_type`, `alias`, and
 14139  	// `user_defined` fields are all set.
 14140  	Parts []*GoogleCloudDialogflowV2IntentTrainingPhrasePart `json:"parts,omitempty"`
 14141  	// TimesAddedCount: Optional. Indicates how many times this example was added
 14142  	// to the intent. Each time a developer adds an existing sample by editing an
 14143  	// intent or training, this counter is increased.
 14144  	TimesAddedCount int64 `json:"timesAddedCount,omitempty"`
 14145  	// Type: Required. The type of the training phrase.
 14146  	//
 14147  	// Possible values:
 14148  	//   "TYPE_UNSPECIFIED" - Not specified. This value should never be used.
 14149  	//   "EXAMPLE" - Examples do not contain @-prefixed entity type names, but
 14150  	// example parts can be annotated with entity types.
 14151  	//   "TEMPLATE" - Templates are not annotated with entity types, but they can
 14152  	// contain @-prefixed entity type names as substrings. Template mode has been
 14153  	// deprecated. Example mode is the only supported way to create new training
 14154  	// phrases. If you have existing training phrases that you've created in
 14155  	// template mode, those will continue to work.
 14156  	Type string `json:"type,omitempty"`
 14157  	// ForceSendFields is a list of field names (e.g. "Name") to unconditionally
 14158  	// include in API requests. By default, fields with empty or default values are
 14159  	// omitted from API requests. See
 14160  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14161  	// details.
 14162  	ForceSendFields []string `json:"-"`
 14163  	// NullFields is a list of field names (e.g. "Name") to include in API requests
 14164  	// with the JSON null value. By default, fields with empty values are omitted
 14165  	// from API requests. See
 14166  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14167  	NullFields []string `json:"-"`
 14168  }
 14169  
 14170  func (s *GoogleCloudDialogflowV2IntentTrainingPhrase) MarshalJSON() ([]byte, error) {
 14171  	type NoMethod GoogleCloudDialogflowV2IntentTrainingPhrase
 14172  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14173  }
 14174  
 14175  // GoogleCloudDialogflowV2IntentTrainingPhrasePart: Represents a part of a
 14176  // training phrase.
 14177  type GoogleCloudDialogflowV2IntentTrainingPhrasePart struct {
 14178  	// Alias: Optional. The parameter name for the value extracted from the
 14179  	// annotated part of the example. This field is required for annotated parts of
 14180  	// the training phrase.
 14181  	Alias string `json:"alias,omitempty"`
 14182  	// EntityType: Optional. The entity type name prefixed with `@`. This field is
 14183  	// required for annotated parts of the training phrase.
 14184  	EntityType string `json:"entityType,omitempty"`
 14185  	// Text: Required. The text for this part.
 14186  	Text string `json:"text,omitempty"`
 14187  	// UserDefined: Optional. Indicates whether the text was manually annotated.
 14188  	// This field is set to true when the Dialogflow Console is used to manually
 14189  	// annotate the part. When creating an annotated part with the API, you must
 14190  	// set this to true.
 14191  	UserDefined bool `json:"userDefined,omitempty"`
 14192  	// ForceSendFields is a list of field names (e.g. "Alias") to unconditionally
 14193  	// include in API requests. By default, fields with empty or default values are
 14194  	// omitted from API requests. See
 14195  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14196  	// details.
 14197  	ForceSendFields []string `json:"-"`
 14198  	// NullFields is a list of field names (e.g. "Alias") to include in API
 14199  	// requests with the JSON null value. By default, fields with empty values are
 14200  	// omitted from API requests. See
 14201  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14202  	NullFields []string `json:"-"`
 14203  }
 14204  
 14205  func (s *GoogleCloudDialogflowV2IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) {
 14206  	type NoMethod GoogleCloudDialogflowV2IntentTrainingPhrasePart
 14207  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14208  }
 14209  
 14210  // GoogleCloudDialogflowV2KnowledgeOperationMetadata: Metadata in
 14211  // google::longrunning::Operation for Knowledge operations.
 14212  type GoogleCloudDialogflowV2KnowledgeOperationMetadata struct {
 14213  	// ExportOperationMetadata: Metadata for the Export Data Operation such as the
 14214  	// destination of export.
 14215  	ExportOperationMetadata *GoogleCloudDialogflowV2ExportOperationMetadata `json:"exportOperationMetadata,omitempty"`
 14216  	// KnowledgeBase: The name of the knowledge base interacted with during the
 14217  	// operation.
 14218  	KnowledgeBase string `json:"knowledgeBase,omitempty"`
 14219  	// State: Output only. The current state of this operation.
 14220  	//
 14221  	// Possible values:
 14222  	//   "STATE_UNSPECIFIED" - State unspecified.
 14223  	//   "PENDING" - The operation has been created.
 14224  	//   "RUNNING" - The operation is currently running.
 14225  	//   "DONE" - The operation is done, either cancelled or completed.
 14226  	State string `json:"state,omitempty"`
 14227  	// ForceSendFields is a list of field names (e.g. "ExportOperationMetadata") to
 14228  	// unconditionally include in API requests. By default, fields with empty or
 14229  	// default values are omitted from API requests. See
 14230  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14231  	// details.
 14232  	ForceSendFields []string `json:"-"`
 14233  	// NullFields is a list of field names (e.g. "ExportOperationMetadata") to
 14234  	// include in API requests with the JSON null value. By default, fields with
 14235  	// empty values are omitted from API requests. See
 14236  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14237  	NullFields []string `json:"-"`
 14238  }
 14239  
 14240  func (s *GoogleCloudDialogflowV2KnowledgeOperationMetadata) MarshalJSON() ([]byte, error) {
 14241  	type NoMethod GoogleCloudDialogflowV2KnowledgeOperationMetadata
 14242  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14243  }
 14244  
 14245  // GoogleCloudDialogflowV2Message: Represents a message posted into a
 14246  // conversation.
 14247  type GoogleCloudDialogflowV2Message struct {
 14248  	// Content: Required. The message content.
 14249  	Content string `json:"content,omitempty"`
 14250  	// CreateTime: Output only. The time when the message was created in Contact
 14251  	// Center AI.
 14252  	CreateTime string `json:"createTime,omitempty"`
 14253  	// LanguageCode: Optional. The message language. This should be a BCP-47
 14254  	// (https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example:
 14255  	// "en-US".
 14256  	LanguageCode string `json:"languageCode,omitempty"`
 14257  	// MessageAnnotation: Output only. The annotation for the message.
 14258  	MessageAnnotation *GoogleCloudDialogflowV2MessageAnnotation `json:"messageAnnotation,omitempty"`
 14259  	// Name: Optional. The unique identifier of the message. Format:
 14260  	// `projects//locations//conversations//messages/`.
 14261  	Name string `json:"name,omitempty"`
 14262  	// Participant: Output only. The participant that sends this message.
 14263  	Participant string `json:"participant,omitempty"`
 14264  	// ParticipantRole: Output only. The role of the participant.
 14265  	//
 14266  	// Possible values:
 14267  	//   "ROLE_UNSPECIFIED" - Participant role not set.
 14268  	//   "HUMAN_AGENT" - Participant is a human agent.
 14269  	//   "AUTOMATED_AGENT" - Participant is an automated agent, such as a
 14270  	// Dialogflow agent.
 14271  	//   "END_USER" - Participant is an end user that has called or chatted with
 14272  	// Dialogflow services.
 14273  	ParticipantRole string `json:"participantRole,omitempty"`
 14274  	// SendTime: Optional. The time when the message was sent.
 14275  	SendTime string `json:"sendTime,omitempty"`
 14276  	// SentimentAnalysis: Output only. The sentiment analysis result for the
 14277  	// message.
 14278  	SentimentAnalysis *GoogleCloudDialogflowV2SentimentAnalysisResult `json:"sentimentAnalysis,omitempty"`
 14279  	// ForceSendFields is a list of field names (e.g. "Content") to unconditionally
 14280  	// include in API requests. By default, fields with empty or default values are
 14281  	// omitted from API requests. See
 14282  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14283  	// details.
 14284  	ForceSendFields []string `json:"-"`
 14285  	// NullFields is a list of field names (e.g. "Content") to include in API
 14286  	// requests with the JSON null value. By default, fields with empty values are
 14287  	// omitted from API requests. See
 14288  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14289  	NullFields []string `json:"-"`
 14290  }
 14291  
 14292  func (s *GoogleCloudDialogflowV2Message) MarshalJSON() ([]byte, error) {
 14293  	type NoMethod GoogleCloudDialogflowV2Message
 14294  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14295  }
 14296  
 14297  // GoogleCloudDialogflowV2MessageAnnotation: Represents the result of
 14298  // annotation for the message.
 14299  type GoogleCloudDialogflowV2MessageAnnotation struct {
 14300  	// ContainEntities: Indicates whether the text message contains entities.
 14301  	ContainEntities bool `json:"containEntities,omitempty"`
 14302  	// Parts: The collection of annotated message parts ordered by their position
 14303  	// in the message. You can recover the annotated message by concatenating
 14304  	// [AnnotatedMessagePart.text].
 14305  	Parts []*GoogleCloudDialogflowV2AnnotatedMessagePart `json:"parts,omitempty"`
 14306  	// ForceSendFields is a list of field names (e.g. "ContainEntities") to
 14307  	// unconditionally include in API requests. By default, fields with empty or
 14308  	// default values are omitted from API requests. See
 14309  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14310  	// details.
 14311  	ForceSendFields []string `json:"-"`
 14312  	// NullFields is a list of field names (e.g. "ContainEntities") to include in
 14313  	// API requests with the JSON null value. By default, fields with empty values
 14314  	// are omitted from API requests. See
 14315  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14316  	NullFields []string `json:"-"`
 14317  }
 14318  
 14319  func (s *GoogleCloudDialogflowV2MessageAnnotation) MarshalJSON() ([]byte, error) {
 14320  	type NoMethod GoogleCloudDialogflowV2MessageAnnotation
 14321  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14322  }
 14323  
 14324  // GoogleCloudDialogflowV2OriginalDetectIntentRequest: Represents the contents
 14325  // of the original request that was passed to the `[Streaming]DetectIntent`
 14326  // call.
 14327  type GoogleCloudDialogflowV2OriginalDetectIntentRequest struct {
 14328  	// Payload: Optional. This field is set to the value of the
 14329  	// `QueryParameters.payload` field passed in the request. Some integrations
 14330  	// that query a Dialogflow agent may provide additional information in the
 14331  	// payload. In particular, for the Dialogflow Phone Gateway integration, this
 14332  	// field has the form: { "telephony": { "caller_id": "+18558363987" } } Note:
 14333  	// The caller ID field (`caller_id`) will be redacted for Trial Edition agents
 14334  	// and populated with the caller ID in E.164 format
 14335  	// (https://en.wikipedia.org/wiki/E.164) for Essentials Edition agents.
 14336  	Payload googleapi.RawMessage `json:"payload,omitempty"`
 14337  	// Source: The source of this request, e.g., `google`, `facebook`, `slack`. It
 14338  	// is set by Dialogflow-owned servers.
 14339  	Source string `json:"source,omitempty"`
 14340  	// Version: Optional. The version of the protocol used for this request. This
 14341  	// field is AoG-specific.
 14342  	Version string `json:"version,omitempty"`
 14343  	// ForceSendFields is a list of field names (e.g. "Payload") to unconditionally
 14344  	// include in API requests. By default, fields with empty or default values are
 14345  	// omitted from API requests. See
 14346  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14347  	// details.
 14348  	ForceSendFields []string `json:"-"`
 14349  	// NullFields is a list of field names (e.g. "Payload") to include in API
 14350  	// requests with the JSON null value. By default, fields with empty values are
 14351  	// omitted from API requests. See
 14352  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14353  	NullFields []string `json:"-"`
 14354  }
 14355  
 14356  func (s *GoogleCloudDialogflowV2OriginalDetectIntentRequest) MarshalJSON() ([]byte, error) {
 14357  	type NoMethod GoogleCloudDialogflowV2OriginalDetectIntentRequest
 14358  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14359  }
 14360  
 14361  // GoogleCloudDialogflowV2QueryResult: Represents the result of conversational
 14362  // query or event processing.
 14363  type GoogleCloudDialogflowV2QueryResult struct {
 14364  	// Action: The action name from the matched intent.
 14365  	Action string `json:"action,omitempty"`
 14366  	// AllRequiredParamsPresent: This field is set to: - `false` if the matched
 14367  	// intent has required parameters and not all of the required parameter values
 14368  	// have been collected. - `true` if all required parameter values have been
 14369  	// collected, or if the matched intent doesn't contain any required parameters.
 14370  	AllRequiredParamsPresent bool `json:"allRequiredParamsPresent,omitempty"`
 14371  	// CancelsSlotFilling: Indicates whether the conversational query triggers a
 14372  	// cancellation for slot filling. For more information, see the cancel slot
 14373  	// filling documentation
 14374  	// (https://cloud.google.com/dialogflow/es/docs/intents-actions-parameters#cancel).
 14375  	CancelsSlotFilling bool `json:"cancelsSlotFilling,omitempty"`
 14376  	// DiagnosticInfo: Free-form diagnostic information for the associated detect
 14377  	// intent request. The fields of this data can change without notice, so you
 14378  	// should not write code that depends on its structure. The data may contain: -
 14379  	// webhook call latency - webhook errors
 14380  	DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"`
 14381  	// FulfillmentMessages: The collection of rich messages to present to the user.
 14382  	FulfillmentMessages []*GoogleCloudDialogflowV2IntentMessage `json:"fulfillmentMessages,omitempty"`
 14383  	// FulfillmentText: The text to be pronounced to the user or shown on the
 14384  	// screen. Note: This is a legacy field, `fulfillment_messages` should be
 14385  	// preferred.
 14386  	FulfillmentText string `json:"fulfillmentText,omitempty"`
 14387  	// Intent: The intent that matched the conversational query. Some, not all
 14388  	// fields are filled in this message, including but not limited to: `name`,
 14389  	// `display_name`, `end_interaction` and `is_fallback`.
 14390  	Intent *GoogleCloudDialogflowV2Intent `json:"intent,omitempty"`
 14391  	// IntentDetectionConfidence: The intent detection confidence. Values range
 14392  	// from 0.0 (completely uncertain) to 1.0 (completely certain). This value is
 14393  	// for informational purpose only and is only used to help match the best
 14394  	// intent within the classification threshold. This value may change for the
 14395  	// same end-user expression at any time due to a model retraining or change in
 14396  	// implementation. If there are `multiple knowledge_answers` messages, this
 14397  	// value is set to the greatest `knowledgeAnswers.match_confidence` value in
 14398  	// the list.
 14399  	IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"`
 14400  	// LanguageCode: The language that was triggered during intent detection. See
 14401  	// Language Support
 14402  	// (https://cloud.google.com/dialogflow/docs/reference/language) for a list of
 14403  	// the currently supported language codes.
 14404  	LanguageCode string `json:"languageCode,omitempty"`
 14405  	// OutputContexts: The collection of output contexts. If applicable,
 14406  	// `output_contexts.parameters` contains entries with name `.original`
 14407  	// containing the original parameter values before the query.
 14408  	OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"`
 14409  	// Parameters: The collection of extracted parameters. Depending on your
 14410  	// protocol or client library language, this is a map, associative array,
 14411  	// symbol table, dictionary, or JSON object composed of a collection of
 14412  	// (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter
 14413  	// name * MapValue type: If parameter's entity type is a composite entity then
 14414  	// use map, otherwise, depending on the parameter value type, it could be one
 14415  	// of string, number, boolean, null, list or map. * MapValue value: If
 14416  	// parameter's entity type is a composite entity then use map from composite
 14417  	// entity property names to property values, otherwise, use parameter value.
 14418  	Parameters googleapi.RawMessage `json:"parameters,omitempty"`
 14419  	// QueryText: The original conversational query text: - If natural language
 14420  	// text was provided as input, `query_text` contains a copy of the input. - If
 14421  	// natural language speech audio was provided as input, `query_text` contains
 14422  	// the speech recognition result. If speech recognizer produced multiple
 14423  	// alternatives, a particular one is picked. - If automatic spell correction is
 14424  	// enabled, `query_text` will contain the corrected user input.
 14425  	QueryText string `json:"queryText,omitempty"`
 14426  	// SentimentAnalysisResult: The sentiment analysis result, which depends on the
 14427  	// `sentiment_analysis_request_config` specified in the request.
 14428  	SentimentAnalysisResult *GoogleCloudDialogflowV2SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"`
 14429  	// SpeechRecognitionConfidence: The Speech recognition confidence between 0.0
 14430  	// and 1.0. A higher number indicates an estimated greater likelihood that the
 14431  	// recognized words are correct. The default of 0.0 is a sentinel value
 14432  	// indicating that confidence was not set. This field is not guaranteed to be
 14433  	// accurate or set. In particular this field isn't set for
 14434  	// StreamingDetectIntent since the streaming endpoint has separate confidence
 14435  	// estimates per portion of the audio in StreamingRecognitionResult.
 14436  	SpeechRecognitionConfidence float64 `json:"speechRecognitionConfidence,omitempty"`
 14437  	// WebhookPayload: If the query was fulfilled by a webhook call, this field is
 14438  	// set to the value of the `payload` field returned in the webhook response.
 14439  	WebhookPayload googleapi.RawMessage `json:"webhookPayload,omitempty"`
 14440  	// WebhookSource: If the query was fulfilled by a webhook call, this field is
 14441  	// set to the value of the `source` field returned in the webhook response.
 14442  	WebhookSource string `json:"webhookSource,omitempty"`
 14443  	// ForceSendFields is a list of field names (e.g. "Action") to unconditionally
 14444  	// include in API requests. By default, fields with empty or default values are
 14445  	// omitted from API requests. See
 14446  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14447  	// details.
 14448  	ForceSendFields []string `json:"-"`
 14449  	// NullFields is a list of field names (e.g. "Action") to include in API
 14450  	// requests with the JSON null value. By default, fields with empty values are
 14451  	// omitted from API requests. See
 14452  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14453  	NullFields []string `json:"-"`
 14454  }
 14455  
 14456  func (s *GoogleCloudDialogflowV2QueryResult) MarshalJSON() ([]byte, error) {
 14457  	type NoMethod GoogleCloudDialogflowV2QueryResult
 14458  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14459  }
 14460  
 14461  func (s *GoogleCloudDialogflowV2QueryResult) UnmarshalJSON(data []byte) error {
 14462  	type NoMethod GoogleCloudDialogflowV2QueryResult
 14463  	var s1 struct {
 14464  		IntentDetectionConfidence   gensupport.JSONFloat64 `json:"intentDetectionConfidence"`
 14465  		SpeechRecognitionConfidence gensupport.JSONFloat64 `json:"speechRecognitionConfidence"`
 14466  		*NoMethod
 14467  	}
 14468  	s1.NoMethod = (*NoMethod)(s)
 14469  	if err := json.Unmarshal(data, &s1); err != nil {
 14470  		return err
 14471  	}
 14472  	s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence)
 14473  	s.SpeechRecognitionConfidence = float64(s1.SpeechRecognitionConfidence)
 14474  	return nil
 14475  }
 14476  
 14477  // GoogleCloudDialogflowV2Sentiment: The sentiment, such as positive/negative
 14478  // feeling or association, for a unit of analysis, such as the query text. See:
 14479  // https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values
 14480  // for how to interpret the result.
 14481  type GoogleCloudDialogflowV2Sentiment struct {
 14482  	// Magnitude: A non-negative number in the [0, +inf) range, which represents
 14483  	// the absolute magnitude of sentiment, regardless of score (positive or
 14484  	// negative).
 14485  	Magnitude float64 `json:"magnitude,omitempty"`
 14486  	// Score: Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
 14487  	// sentiment).
 14488  	Score float64 `json:"score,omitempty"`
 14489  	// ForceSendFields is a list of field names (e.g. "Magnitude") to
 14490  	// unconditionally include in API requests. By default, fields with empty or
 14491  	// default values are omitted from API requests. See
 14492  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14493  	// details.
 14494  	ForceSendFields []string `json:"-"`
 14495  	// NullFields is a list of field names (e.g. "Magnitude") to include in API
 14496  	// requests with the JSON null value. By default, fields with empty values are
 14497  	// omitted from API requests. See
 14498  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14499  	NullFields []string `json:"-"`
 14500  }
 14501  
 14502  func (s *GoogleCloudDialogflowV2Sentiment) MarshalJSON() ([]byte, error) {
 14503  	type NoMethod GoogleCloudDialogflowV2Sentiment
 14504  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14505  }
 14506  
 14507  func (s *GoogleCloudDialogflowV2Sentiment) UnmarshalJSON(data []byte) error {
 14508  	type NoMethod GoogleCloudDialogflowV2Sentiment
 14509  	var s1 struct {
 14510  		Magnitude gensupport.JSONFloat64 `json:"magnitude"`
 14511  		Score     gensupport.JSONFloat64 `json:"score"`
 14512  		*NoMethod
 14513  	}
 14514  	s1.NoMethod = (*NoMethod)(s)
 14515  	if err := json.Unmarshal(data, &s1); err != nil {
 14516  		return err
 14517  	}
 14518  	s.Magnitude = float64(s1.Magnitude)
 14519  	s.Score = float64(s1.Score)
 14520  	return nil
 14521  }
 14522  
 14523  // GoogleCloudDialogflowV2SentimentAnalysisResult: The result of sentiment
 14524  // analysis. Sentiment analysis inspects user input and identifies the
 14525  // prevailing subjective opinion, especially to determine a user's attitude as
 14526  // positive, negative, or neutral. For Participants.DetectIntent, it needs to
 14527  // be configured in DetectIntentRequest.query_params. For
 14528  // Participants.StreamingDetectIntent, it needs to be configured in
 14529  // StreamingDetectIntentRequest.query_params. And for
 14530  // Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it
 14531  // needs to be configured in ConversationProfile.human_agent_assistant_config
 14532  type GoogleCloudDialogflowV2SentimentAnalysisResult struct {
 14533  	// QueryTextSentiment: The sentiment analysis result for `query_text`.
 14534  	QueryTextSentiment *GoogleCloudDialogflowV2Sentiment `json:"queryTextSentiment,omitempty"`
 14535  	// ForceSendFields is a list of field names (e.g. "QueryTextSentiment") to
 14536  	// unconditionally include in API requests. By default, fields with empty or
 14537  	// default values are omitted from API requests. See
 14538  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14539  	// details.
 14540  	ForceSendFields []string `json:"-"`
 14541  	// NullFields is a list of field names (e.g. "QueryTextSentiment") to include
 14542  	// in API requests with the JSON null value. By default, fields with empty
 14543  	// values are omitted from API requests. See
 14544  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14545  	NullFields []string `json:"-"`
 14546  }
 14547  
 14548  func (s *GoogleCloudDialogflowV2SentimentAnalysisResult) MarshalJSON() ([]byte, error) {
 14549  	type NoMethod GoogleCloudDialogflowV2SentimentAnalysisResult
 14550  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14551  }
 14552  
 14553  // GoogleCloudDialogflowV2SessionEntityType: A session represents a
 14554  // conversation between a Dialogflow agent and an end-user. You can create
 14555  // special entities, called session entities, during a session. Session
 14556  // entities can extend or replace custom entity types and only exist during the
 14557  // session that they were created for. All session data, including session
 14558  // entities, is stored by Dialogflow for 20 minutes. For more information, see
 14559  // the session entity guide
 14560  // (https://cloud.google.com/dialogflow/docs/entities-session).
 14561  type GoogleCloudDialogflowV2SessionEntityType struct {
 14562  	// Entities: Required. The collection of entities associated with this session
 14563  	// entity type.
 14564  	Entities []*GoogleCloudDialogflowV2EntityTypeEntity `json:"entities,omitempty"`
 14565  	// EntityOverrideMode: Required. Indicates whether the additional data should
 14566  	// override or supplement the custom entity type definition.
 14567  	//
 14568  	// Possible values:
 14569  	//   "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value should be
 14570  	// never used.
 14571  	//   "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session entities
 14572  	// overrides the collection of entities in the corresponding custom entity
 14573  	// type.
 14574  	//   "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session entities
 14575  	// extends the collection of entities in the corresponding custom entity type.
 14576  	// Note: Even in this override mode calls to `ListSessionEntityTypes`,
 14577  	// `GetSessionEntityType`, `CreateSessionEntityType` and
 14578  	// `UpdateSessionEntityType` only return the additional entities added in this
 14579  	// session entity type. If you want to get the supplemented list, please call
 14580  	// EntityTypes.GetEntityType on the custom entity type and merge.
 14581  	EntityOverrideMode string `json:"entityOverrideMode,omitempty"`
 14582  	// Name: Required. The unique identifier of this session entity type. Format:
 14583  	// `projects//agent/sessions//entityTypes/`, or
 14584  	// `projects//agent/environments//users//sessions//entityTypes/`. If
 14585  	// `Environment ID` is not specified, we assume default 'draft' environment. If
 14586  	// `User ID` is not specified, we assume default '-' user. `` must be the
 14587  	// display name of an existing entity type in the same agent that will be
 14588  	// overridden or supplemented.
 14589  	Name string `json:"name,omitempty"`
 14590  	// ForceSendFields is a list of field names (e.g. "Entities") to
 14591  	// unconditionally include in API requests. By default, fields with empty or
 14592  	// default values are omitted from API requests. See
 14593  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14594  	// details.
 14595  	ForceSendFields []string `json:"-"`
 14596  	// NullFields is a list of field names (e.g. "Entities") to include in API
 14597  	// requests with the JSON null value. By default, fields with empty values are
 14598  	// omitted from API requests. See
 14599  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14600  	NullFields []string `json:"-"`
 14601  }
 14602  
 14603  func (s *GoogleCloudDialogflowV2SessionEntityType) MarshalJSON() ([]byte, error) {
 14604  	type NoMethod GoogleCloudDialogflowV2SessionEntityType
 14605  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14606  }
 14607  
 14608  // GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata: Metadata
 14609  // for a ConversationProfile.SetSuggestionFeatureConfig operation.
 14610  type GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata struct {
 14611  	// ConversationProfile: The resource name of the conversation profile. Format:
 14612  	// `projects//locations//conversationProfiles/`
 14613  	ConversationProfile string `json:"conversationProfile,omitempty"`
 14614  	// CreateTime: Timestamp whe the request was created. The time is measured on
 14615  	// server side.
 14616  	CreateTime string `json:"createTime,omitempty"`
 14617  	// ParticipantRole: Required. The participant role to add or update the
 14618  	// suggestion feature config. Only HUMAN_AGENT or END_USER can be used.
 14619  	//
 14620  	// Possible values:
 14621  	//   "ROLE_UNSPECIFIED" - Participant role not set.
 14622  	//   "HUMAN_AGENT" - Participant is a human agent.
 14623  	//   "AUTOMATED_AGENT" - Participant is an automated agent, such as a
 14624  	// Dialogflow agent.
 14625  	//   "END_USER" - Participant is an end user that has called or chatted with
 14626  	// Dialogflow services.
 14627  	ParticipantRole string `json:"participantRole,omitempty"`
 14628  	// SuggestionFeatureType: Required. The type of the suggestion feature to add
 14629  	// or update.
 14630  	//
 14631  	// Possible values:
 14632  	//   "TYPE_UNSPECIFIED" - Unspecified feature type.
 14633  	//   "ARTICLE_SUGGESTION" - Run article suggestion model for chat.
 14634  	//   "FAQ" - Run FAQ model for chat.
 14635  	//   "SMART_REPLY" - Run smart reply model for chat.
 14636  	//   "KNOWLEDGE_SEARCH" - Run knowledge search with text input from agent or
 14637  	// text generated query.
 14638  	SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"`
 14639  	// ForceSendFields is a list of field names (e.g. "ConversationProfile") to
 14640  	// unconditionally include in API requests. By default, fields with empty or
 14641  	// default values are omitted from API requests. See
 14642  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14643  	// details.
 14644  	ForceSendFields []string `json:"-"`
 14645  	// NullFields is a list of field names (e.g. "ConversationProfile") to include
 14646  	// in API requests with the JSON null value. By default, fields with empty
 14647  	// values are omitted from API requests. See
 14648  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14649  	NullFields []string `json:"-"`
 14650  }
 14651  
 14652  func (s *GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata) MarshalJSON() ([]byte, error) {
 14653  	type NoMethod GoogleCloudDialogflowV2SetSuggestionFeatureConfigOperationMetadata
 14654  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14655  }
 14656  
 14657  // GoogleCloudDialogflowV2SmartReplyAnswer: Represents a smart reply answer.
 14658  type GoogleCloudDialogflowV2SmartReplyAnswer struct {
 14659  	// AnswerRecord: The name of answer record, in the format of
 14660  	// "projects//locations//answerRecords/"
 14661  	AnswerRecord string `json:"answerRecord,omitempty"`
 14662  	// Confidence: Smart reply confidence. The system's confidence score that this
 14663  	// reply is a good match for this conversation, as a value from 0.0 (completely
 14664  	// uncertain) to 1.0 (completely certain).
 14665  	Confidence float64 `json:"confidence,omitempty"`
 14666  	// Reply: The content of the reply.
 14667  	Reply string `json:"reply,omitempty"`
 14668  	// ForceSendFields is a list of field names (e.g. "AnswerRecord") to
 14669  	// unconditionally include in API requests. By default, fields with empty or
 14670  	// default values are omitted from API requests. See
 14671  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14672  	// details.
 14673  	ForceSendFields []string `json:"-"`
 14674  	// NullFields is a list of field names (e.g. "AnswerRecord") to include in API
 14675  	// requests with the JSON null value. By default, fields with empty values are
 14676  	// omitted from API requests. See
 14677  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14678  	NullFields []string `json:"-"`
 14679  }
 14680  
 14681  func (s *GoogleCloudDialogflowV2SmartReplyAnswer) MarshalJSON() ([]byte, error) {
 14682  	type NoMethod GoogleCloudDialogflowV2SmartReplyAnswer
 14683  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14684  }
 14685  
 14686  func (s *GoogleCloudDialogflowV2SmartReplyAnswer) UnmarshalJSON(data []byte) error {
 14687  	type NoMethod GoogleCloudDialogflowV2SmartReplyAnswer
 14688  	var s1 struct {
 14689  		Confidence gensupport.JSONFloat64 `json:"confidence"`
 14690  		*NoMethod
 14691  	}
 14692  	s1.NoMethod = (*NoMethod)(s)
 14693  	if err := json.Unmarshal(data, &s1); err != nil {
 14694  		return err
 14695  	}
 14696  	s.Confidence = float64(s1.Confidence)
 14697  	return nil
 14698  }
 14699  
 14700  // GoogleCloudDialogflowV2SmartReplyModelMetadata: Metadata for smart reply
 14701  // models.
 14702  type GoogleCloudDialogflowV2SmartReplyModelMetadata struct {
 14703  	// TrainingModelType: Optional. Type of the smart reply model. If not provided,
 14704  	// model_type is used.
 14705  	//
 14706  	// Possible values:
 14707  	//   "MODEL_TYPE_UNSPECIFIED" - ModelType unspecified.
 14708  	//   "SMART_REPLY_DUAL_ENCODER_MODEL" - ModelType smart reply dual encoder
 14709  	// model.
 14710  	//   "SMART_REPLY_BERT_MODEL" - ModelType smart reply bert model.
 14711  	TrainingModelType string `json:"trainingModelType,omitempty"`
 14712  	// ForceSendFields is a list of field names (e.g. "TrainingModelType") to
 14713  	// unconditionally include in API requests. By default, fields with empty or
 14714  	// default values are omitted from API requests. See
 14715  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14716  	// details.
 14717  	ForceSendFields []string `json:"-"`
 14718  	// NullFields is a list of field names (e.g. "TrainingModelType") to include in
 14719  	// API requests with the JSON null value. By default, fields with empty values
 14720  	// are omitted from API requests. See
 14721  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14722  	NullFields []string `json:"-"`
 14723  }
 14724  
 14725  func (s *GoogleCloudDialogflowV2SmartReplyModelMetadata) MarshalJSON() ([]byte, error) {
 14726  	type NoMethod GoogleCloudDialogflowV2SmartReplyModelMetadata
 14727  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14728  }
 14729  
 14730  // GoogleCloudDialogflowV2SuggestArticlesResponse: The response message for
 14731  // Participants.SuggestArticles.
 14732  type GoogleCloudDialogflowV2SuggestArticlesResponse struct {
 14733  	// ArticleAnswers: Articles ordered by score in descending order.
 14734  	ArticleAnswers []*GoogleCloudDialogflowV2ArticleAnswer `json:"articleAnswers,omitempty"`
 14735  	// ContextSize: Number of messages prior to and including latest_message to
 14736  	// compile the suggestion. It may be smaller than the
 14737  	// SuggestArticlesRequest.context_size field in the request if there aren't
 14738  	// that many messages in the conversation.
 14739  	ContextSize int64 `json:"contextSize,omitempty"`
 14740  	// LatestMessage: The name of the latest conversation message used to compile
 14741  	// suggestion for. Format: `projects//locations//conversations//messages/`.
 14742  	LatestMessage string `json:"latestMessage,omitempty"`
 14743  	// ForceSendFields is a list of field names (e.g. "ArticleAnswers") to
 14744  	// unconditionally include in API requests. By default, fields with empty or
 14745  	// default values are omitted from API requests. See
 14746  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14747  	// details.
 14748  	ForceSendFields []string `json:"-"`
 14749  	// NullFields is a list of field names (e.g. "ArticleAnswers") to include in
 14750  	// API requests with the JSON null value. By default, fields with empty values
 14751  	// are omitted from API requests. See
 14752  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14753  	NullFields []string `json:"-"`
 14754  }
 14755  
 14756  func (s *GoogleCloudDialogflowV2SuggestArticlesResponse) MarshalJSON() ([]byte, error) {
 14757  	type NoMethod GoogleCloudDialogflowV2SuggestArticlesResponse
 14758  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14759  }
 14760  
 14761  // GoogleCloudDialogflowV2SuggestFaqAnswersResponse: The request message for
 14762  // Participants.SuggestFaqAnswers.
 14763  type GoogleCloudDialogflowV2SuggestFaqAnswersResponse struct {
 14764  	// ContextSize: Number of messages prior to and including latest_message to
 14765  	// compile the suggestion. It may be smaller than the
 14766  	// SuggestFaqAnswersRequest.context_size field in the request if there aren't
 14767  	// that many messages in the conversation.
 14768  	ContextSize int64 `json:"contextSize,omitempty"`
 14769  	// FaqAnswers: Answers extracted from FAQ documents.
 14770  	FaqAnswers []*GoogleCloudDialogflowV2FaqAnswer `json:"faqAnswers,omitempty"`
 14771  	// LatestMessage: The name of the latest conversation message used to compile
 14772  	// suggestion for. Format: `projects//locations//conversations//messages/`.
 14773  	LatestMessage string `json:"latestMessage,omitempty"`
 14774  	// ForceSendFields is a list of field names (e.g. "ContextSize") to
 14775  	// unconditionally include in API requests. By default, fields with empty or
 14776  	// default values are omitted from API requests. See
 14777  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14778  	// details.
 14779  	ForceSendFields []string `json:"-"`
 14780  	// NullFields is a list of field names (e.g. "ContextSize") to include in API
 14781  	// requests with the JSON null value. By default, fields with empty values are
 14782  	// omitted from API requests. See
 14783  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14784  	NullFields []string `json:"-"`
 14785  }
 14786  
 14787  func (s *GoogleCloudDialogflowV2SuggestFaqAnswersResponse) MarshalJSON() ([]byte, error) {
 14788  	type NoMethod GoogleCloudDialogflowV2SuggestFaqAnswersResponse
 14789  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14790  }
 14791  
 14792  // GoogleCloudDialogflowV2SuggestSmartRepliesResponse: The response message for
 14793  // Participants.SuggestSmartReplies.
 14794  type GoogleCloudDialogflowV2SuggestSmartRepliesResponse struct {
 14795  	// ContextSize: Number of messages prior to and including latest_message to
 14796  	// compile the suggestion. It may be smaller than the
 14797  	// SuggestSmartRepliesRequest.context_size field in the request if there aren't
 14798  	// that many messages in the conversation.
 14799  	ContextSize int64 `json:"contextSize,omitempty"`
 14800  	// LatestMessage: The name of the latest conversation message used to compile
 14801  	// suggestion for. Format: `projects//locations//conversations//messages/`.
 14802  	LatestMessage string `json:"latestMessage,omitempty"`
 14803  	// SmartReplyAnswers: Output only. Multiple reply options provided by smart
 14804  	// reply service. The order is based on the rank of the model prediction. The
 14805  	// maximum number of the returned replies is set in SmartReplyConfig.
 14806  	SmartReplyAnswers []*GoogleCloudDialogflowV2SmartReplyAnswer `json:"smartReplyAnswers,omitempty"`
 14807  	// ForceSendFields is a list of field names (e.g. "ContextSize") to
 14808  	// unconditionally include in API requests. By default, fields with empty or
 14809  	// default values are omitted from API requests. See
 14810  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14811  	// details.
 14812  	ForceSendFields []string `json:"-"`
 14813  	// NullFields is a list of field names (e.g. "ContextSize") to include in API
 14814  	// requests with the JSON null value. By default, fields with empty values are
 14815  	// omitted from API requests. See
 14816  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14817  	NullFields []string `json:"-"`
 14818  }
 14819  
 14820  func (s *GoogleCloudDialogflowV2SuggestSmartRepliesResponse) MarshalJSON() ([]byte, error) {
 14821  	type NoMethod GoogleCloudDialogflowV2SuggestSmartRepliesResponse
 14822  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14823  }
 14824  
 14825  // GoogleCloudDialogflowV2SuggestionResult: One response of different type of
 14826  // suggestion response which is used in the response of
 14827  // Participants.AnalyzeContent and Participants.AnalyzeContent, as well as
 14828  // HumanAgentAssistantEvent.
 14829  type GoogleCloudDialogflowV2SuggestionResult struct {
 14830  	// Error: Error status if the request failed.
 14831  	Error *GoogleRpcStatus `json:"error,omitempty"`
 14832  	// SuggestArticlesResponse: SuggestArticlesResponse if request is for
 14833  	// ARTICLE_SUGGESTION.
 14834  	SuggestArticlesResponse *GoogleCloudDialogflowV2SuggestArticlesResponse `json:"suggestArticlesResponse,omitempty"`
 14835  	// SuggestFaqAnswersResponse: SuggestFaqAnswersResponse if request is for
 14836  	// FAQ_ANSWER.
 14837  	SuggestFaqAnswersResponse *GoogleCloudDialogflowV2SuggestFaqAnswersResponse `json:"suggestFaqAnswersResponse,omitempty"`
 14838  	// SuggestSmartRepliesResponse: SuggestSmartRepliesResponse if request is for
 14839  	// SMART_REPLY.
 14840  	SuggestSmartRepliesResponse *GoogleCloudDialogflowV2SuggestSmartRepliesResponse `json:"suggestSmartRepliesResponse,omitempty"`
 14841  	// ForceSendFields is a list of field names (e.g. "Error") to unconditionally
 14842  	// include in API requests. By default, fields with empty or default values are
 14843  	// omitted from API requests. See
 14844  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14845  	// details.
 14846  	ForceSendFields []string `json:"-"`
 14847  	// NullFields is a list of field names (e.g. "Error") to include in API
 14848  	// requests with the JSON null value. By default, fields with empty values are
 14849  	// omitted from API requests. See
 14850  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14851  	NullFields []string `json:"-"`
 14852  }
 14853  
 14854  func (s *GoogleCloudDialogflowV2SuggestionResult) MarshalJSON() ([]byte, error) {
 14855  	type NoMethod GoogleCloudDialogflowV2SuggestionResult
 14856  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14857  }
 14858  
 14859  // GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata: Metadata
 14860  // for a ConversationModels.UndeployConversationModel operation.
 14861  type GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata struct {
 14862  	// ConversationModel: The resource name of the conversation model. Format:
 14863  	// `projects//conversationModels/`
 14864  	ConversationModel string `json:"conversationModel,omitempty"`
 14865  	// CreateTime: Timestamp when the request to undeploy conversation model was
 14866  	// submitted. The time is measured on server side.
 14867  	CreateTime string `json:"createTime,omitempty"`
 14868  	// ForceSendFields is a list of field names (e.g. "ConversationModel") to
 14869  	// unconditionally include in API requests. By default, fields with empty or
 14870  	// default values are omitted from API requests. See
 14871  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14872  	// details.
 14873  	ForceSendFields []string `json:"-"`
 14874  	// NullFields is a list of field names (e.g. "ConversationModel") to include in
 14875  	// API requests with the JSON null value. By default, fields with empty values
 14876  	// are omitted from API requests. See
 14877  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14878  	NullFields []string `json:"-"`
 14879  }
 14880  
 14881  func (s *GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata) MarshalJSON() ([]byte, error) {
 14882  	type NoMethod GoogleCloudDialogflowV2UndeployConversationModelOperationMetadata
 14883  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14884  }
 14885  
 14886  // GoogleCloudDialogflowV2WebhookRequest: The request message for a webhook
 14887  // call.
 14888  type GoogleCloudDialogflowV2WebhookRequest struct {
 14889  	// OriginalDetectIntentRequest: Optional. The contents of the original request
 14890  	// that was passed to `[Streaming]DetectIntent` call.
 14891  	OriginalDetectIntentRequest *GoogleCloudDialogflowV2OriginalDetectIntentRequest `json:"originalDetectIntentRequest,omitempty"`
 14892  	// QueryResult: The result of the conversational query or event processing.
 14893  	// Contains the same value as `[Streaming]DetectIntentResponse.query_result`.
 14894  	QueryResult *GoogleCloudDialogflowV2QueryResult `json:"queryResult,omitempty"`
 14895  	// ResponseId: The unique identifier of the response. Contains the same value
 14896  	// as `[Streaming]DetectIntentResponse.response_id`.
 14897  	ResponseId string `json:"responseId,omitempty"`
 14898  	// Session: The unique identifier of detectIntent request session. Can be used
 14899  	// to identify end-user inside webhook implementation. Format:
 14900  	// `projects//agent/sessions/`, or
 14901  	// `projects//agent/environments//users//sessions/`.
 14902  	Session string `json:"session,omitempty"`
 14903  	// ForceSendFields is a list of field names (e.g.
 14904  	// "OriginalDetectIntentRequest") to unconditionally include in API requests.
 14905  	// By default, fields with empty or default values are omitted from API
 14906  	// requests. See https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields
 14907  	// for more details.
 14908  	ForceSendFields []string `json:"-"`
 14909  	// NullFields is a list of field names (e.g. "OriginalDetectIntentRequest") to
 14910  	// include in API requests with the JSON null value. By default, fields with
 14911  	// empty values are omitted from API requests. See
 14912  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14913  	NullFields []string `json:"-"`
 14914  }
 14915  
 14916  func (s *GoogleCloudDialogflowV2WebhookRequest) MarshalJSON() ([]byte, error) {
 14917  	type NoMethod GoogleCloudDialogflowV2WebhookRequest
 14918  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14919  }
 14920  
 14921  // GoogleCloudDialogflowV2WebhookResponse: The response message for a webhook
 14922  // call. This response is validated by the Dialogflow server. If validation
 14923  // fails, an error will be returned in the QueryResult.diagnostic_info field.
 14924  // Setting JSON fields to an empty value with the wrong type is a common error.
 14925  // To avoid this error: - Use "" for empty strings - Use `{}` or `null` for
 14926  // empty objects - Use `[]` or `null` for empty arrays For more information,
 14927  // see the Protocol Buffers Language Guide
 14928  // (https://developers.google.com/protocol-buffers/docs/proto3#json).
 14929  type GoogleCloudDialogflowV2WebhookResponse struct {
 14930  	// FollowupEventInput: Optional. Invokes the supplied events. When this field
 14931  	// is set, Dialogflow ignores the `fulfillment_text`, `fulfillment_messages`,
 14932  	// and `payload` fields.
 14933  	FollowupEventInput *GoogleCloudDialogflowV2EventInput `json:"followupEventInput,omitempty"`
 14934  	// FulfillmentMessages: Optional. The rich response messages intended for the
 14935  	// end-user. When provided, Dialogflow uses this field to populate
 14936  	// QueryResult.fulfillment_messages sent to the integration or API caller.
 14937  	FulfillmentMessages []*GoogleCloudDialogflowV2IntentMessage `json:"fulfillmentMessages,omitempty"`
 14938  	// FulfillmentText: Optional. The text response message intended for the
 14939  	// end-user. It is recommended to use `fulfillment_messages.text.text[0]`
 14940  	// instead. When provided, Dialogflow uses this field to populate
 14941  	// QueryResult.fulfillment_text sent to the integration or API caller.
 14942  	FulfillmentText string `json:"fulfillmentText,omitempty"`
 14943  	// OutputContexts: Optional. The collection of output contexts that will
 14944  	// overwrite currently active contexts for the session and reset their
 14945  	// lifespans. When provided, Dialogflow uses this field to populate
 14946  	// QueryResult.output_contexts sent to the integration or API caller.
 14947  	OutputContexts []*GoogleCloudDialogflowV2Context `json:"outputContexts,omitempty"`
 14948  	// Payload: Optional. This field can be used to pass custom data from your
 14949  	// webhook to the integration or API caller. Arbitrary JSON objects are
 14950  	// supported. When provided, Dialogflow uses this field to populate
 14951  	// QueryResult.webhook_payload sent to the integration or API caller. This
 14952  	// field is also used by the Google Assistant integration
 14953  	// (https://cloud.google.com/dialogflow/docs/integrations/aog) for rich
 14954  	// response messages. See the format definition at Google Assistant Dialogflow
 14955  	// webhook format
 14956  	// (https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
 14957  	Payload googleapi.RawMessage `json:"payload,omitempty"`
 14958  	// SessionEntityTypes: Optional. Additional session entity types to replace or
 14959  	// extend developer entity types with. The entity synonyms apply to all
 14960  	// languages and persist for the session. Setting this data from a webhook
 14961  	// overwrites the session entity types that have been set using `detectIntent`,
 14962  	// `streamingDetectIntent` or SessionEntityType management methods.
 14963  	SessionEntityTypes []*GoogleCloudDialogflowV2SessionEntityType `json:"sessionEntityTypes,omitempty"`
 14964  	// Source: Optional. A custom field used to identify the webhook source.
 14965  	// Arbitrary strings are supported. When provided, Dialogflow uses this field
 14966  	// to populate QueryResult.webhook_source sent to the integration or API
 14967  	// caller.
 14968  	Source string `json:"source,omitempty"`
 14969  	// ForceSendFields is a list of field names (e.g. "FollowupEventInput") to
 14970  	// unconditionally include in API requests. By default, fields with empty or
 14971  	// default values are omitted from API requests. See
 14972  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 14973  	// details.
 14974  	ForceSendFields []string `json:"-"`
 14975  	// NullFields is a list of field names (e.g. "FollowupEventInput") to include
 14976  	// in API requests with the JSON null value. By default, fields with empty
 14977  	// values are omitted from API requests. See
 14978  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 14979  	NullFields []string `json:"-"`
 14980  }
 14981  
 14982  func (s *GoogleCloudDialogflowV2WebhookResponse) MarshalJSON() ([]byte, error) {
 14983  	type NoMethod GoogleCloudDialogflowV2WebhookResponse
 14984  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 14985  }
 14986  
 14987  // GoogleCloudDialogflowV2beta1AnnotatedMessagePart: Represents a part of a
 14988  // message possibly annotated with an entity. The part can be an entity or
 14989  // purely a part of the message between two entities or message start/end.
 14990  type GoogleCloudDialogflowV2beta1AnnotatedMessagePart struct {
 14991  	// EntityType: Optional. The Dialogflow system entity type
 14992  	// (https://cloud.google.com/dialogflow/docs/reference/system-entities) of this
 14993  	// message part. If this is empty, Dialogflow could not annotate the phrase
 14994  	// part with a system entity.
 14995  	EntityType string `json:"entityType,omitempty"`
 14996  	// FormattedValue: Optional. The Dialogflow system entity formatted value
 14997  	// (https://cloud.google.com/dialogflow/docs/reference/system-entities) of this
 14998  	// message part. For example for a system entity of type `@sys.unit-currency`,
 14999  	// this may contain: { "amount": 5, "currency": "USD" }
 15000  	FormattedValue interface{} `json:"formattedValue,omitempty"`
 15001  	// Text: Required. A part of a message possibly annotated with an entity.
 15002  	Text string `json:"text,omitempty"`
 15003  	// ForceSendFields is a list of field names (e.g. "EntityType") to
 15004  	// unconditionally include in API requests. By default, fields with empty or
 15005  	// default values are omitted from API requests. See
 15006  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15007  	// details.
 15008  	ForceSendFields []string `json:"-"`
 15009  	// NullFields is a list of field names (e.g. "EntityType") to include in API
 15010  	// requests with the JSON null value. By default, fields with empty values are
 15011  	// omitted from API requests. See
 15012  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15013  	NullFields []string `json:"-"`
 15014  }
 15015  
 15016  func (s *GoogleCloudDialogflowV2beta1AnnotatedMessagePart) MarshalJSON() ([]byte, error) {
 15017  	type NoMethod GoogleCloudDialogflowV2beta1AnnotatedMessagePart
 15018  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15019  }
 15020  
 15021  // GoogleCloudDialogflowV2beta1ArticleAnswer: Represents article answer.
 15022  type GoogleCloudDialogflowV2beta1ArticleAnswer struct {
 15023  	// AnswerRecord: The name of answer record, in the format of
 15024  	// "projects//locations//answerRecords/"
 15025  	AnswerRecord string `json:"answerRecord,omitempty"`
 15026  	// Metadata: A map that contains metadata about the answer and the document
 15027  	// from which it originates.
 15028  	Metadata map[string]string `json:"metadata,omitempty"`
 15029  	// Snippets: Output only. Article snippets.
 15030  	Snippets []string `json:"snippets,omitempty"`
 15031  	// Title: The article title.
 15032  	Title string `json:"title,omitempty"`
 15033  	// Uri: The article URI.
 15034  	Uri string `json:"uri,omitempty"`
 15035  	// ForceSendFields is a list of field names (e.g. "AnswerRecord") to
 15036  	// unconditionally include in API requests. By default, fields with empty or
 15037  	// default values are omitted from API requests. See
 15038  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15039  	// details.
 15040  	ForceSendFields []string `json:"-"`
 15041  	// NullFields is a list of field names (e.g. "AnswerRecord") to include in API
 15042  	// requests with the JSON null value. By default, fields with empty values are
 15043  	// omitted from API requests. See
 15044  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15045  	NullFields []string `json:"-"`
 15046  }
 15047  
 15048  func (s *GoogleCloudDialogflowV2beta1ArticleAnswer) MarshalJSON() ([]byte, error) {
 15049  	type NoMethod GoogleCloudDialogflowV2beta1ArticleAnswer
 15050  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15051  }
 15052  
 15053  // GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse: The response
 15054  // message for EntityTypes.BatchUpdateEntityTypes.
 15055  type GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse struct {
 15056  	// EntityTypes: The collection of updated or created entity types.
 15057  	EntityTypes []*GoogleCloudDialogflowV2beta1EntityType `json:"entityTypes,omitempty"`
 15058  	// ForceSendFields is a list of field names (e.g. "EntityTypes") to
 15059  	// unconditionally include in API requests. By default, fields with empty or
 15060  	// default values are omitted from API requests. See
 15061  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15062  	// details.
 15063  	ForceSendFields []string `json:"-"`
 15064  	// NullFields is a list of field names (e.g. "EntityTypes") to include in API
 15065  	// requests with the JSON null value. By default, fields with empty values are
 15066  	// omitted from API requests. See
 15067  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15068  	NullFields []string `json:"-"`
 15069  }
 15070  
 15071  func (s *GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse) MarshalJSON() ([]byte, error) {
 15072  	type NoMethod GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesResponse
 15073  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15074  }
 15075  
 15076  // GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse: The response message
 15077  // for Intents.BatchUpdateIntents.
 15078  type GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse struct {
 15079  	// Intents: The collection of updated or created intents.
 15080  	Intents []*GoogleCloudDialogflowV2beta1Intent `json:"intents,omitempty"`
 15081  	// ForceSendFields is a list of field names (e.g. "Intents") to unconditionally
 15082  	// include in API requests. By default, fields with empty or default values are
 15083  	// omitted from API requests. See
 15084  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15085  	// details.
 15086  	ForceSendFields []string `json:"-"`
 15087  	// NullFields is a list of field names (e.g. "Intents") to include in API
 15088  	// requests with the JSON null value. By default, fields with empty values are
 15089  	// omitted from API requests. See
 15090  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15091  	NullFields []string `json:"-"`
 15092  }
 15093  
 15094  func (s *GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse) MarshalJSON() ([]byte, error) {
 15095  	type NoMethod GoogleCloudDialogflowV2beta1BatchUpdateIntentsResponse
 15096  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15097  }
 15098  
 15099  // GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata:
 15100  // Metadata for a ConversationProfile.ClearSuggestionFeatureConfig operation.
 15101  type GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata struct {
 15102  	// ConversationProfile: The resource name of the conversation profile. Format:
 15103  	// `projects//locations//conversationProfiles/`
 15104  	ConversationProfile string `json:"conversationProfile,omitempty"`
 15105  	// CreateTime: Timestamp whe the request was created. The time is measured on
 15106  	// server side.
 15107  	CreateTime string `json:"createTime,omitempty"`
 15108  	// ParticipantRole: Required. The participant role to remove the suggestion
 15109  	// feature config. Only HUMAN_AGENT or END_USER can be used.
 15110  	//
 15111  	// Possible values:
 15112  	//   "ROLE_UNSPECIFIED" - Participant role not set.
 15113  	//   "HUMAN_AGENT" - Participant is a human agent.
 15114  	//   "AUTOMATED_AGENT" - Participant is an automated agent, such as a
 15115  	// Dialogflow agent.
 15116  	//   "END_USER" - Participant is an end user that has called or chatted with
 15117  	// Dialogflow services.
 15118  	ParticipantRole string `json:"participantRole,omitempty"`
 15119  	// SuggestionFeatureType: Required. The type of the suggestion feature to
 15120  	// remove.
 15121  	//
 15122  	// Possible values:
 15123  	//   "TYPE_UNSPECIFIED" - Unspecified feature type.
 15124  	//   "ARTICLE_SUGGESTION" - Run article suggestion model for chat.
 15125  	//   "FAQ" - Run FAQ model.
 15126  	//   "SMART_REPLY" - Run smart reply model for chat.
 15127  	//   "DIALOGFLOW_ASSIST" - Run Dialogflow assist model for chat, which will
 15128  	// return automated agent response as suggestion.
 15129  	//   "CONVERSATION_SUMMARIZATION" - Run conversation summarization model for
 15130  	// chat.
 15131  	//   "KNOWLEDGE_SEARCH" - Run knowledge search with text input from agent or
 15132  	// text generated query.
 15133  	SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"`
 15134  	// ForceSendFields is a list of field names (e.g. "ConversationProfile") to
 15135  	// unconditionally include in API requests. By default, fields with empty or
 15136  	// default values are omitted from API requests. See
 15137  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15138  	// details.
 15139  	ForceSendFields []string `json:"-"`
 15140  	// NullFields is a list of field names (e.g. "ConversationProfile") to include
 15141  	// in API requests with the JSON null value. By default, fields with empty
 15142  	// values are omitted from API requests. See
 15143  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15144  	NullFields []string `json:"-"`
 15145  }
 15146  
 15147  func (s *GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata) MarshalJSON() ([]byte, error) {
 15148  	type NoMethod GoogleCloudDialogflowV2beta1ClearSuggestionFeatureConfigOperationMetadata
 15149  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15150  }
 15151  
 15152  // GoogleCloudDialogflowV2beta1Context: Dialogflow contexts are similar to
 15153  // natural language context. If a person says to you "they are orange", you
 15154  // need context in order to understand what "they" is referring to. Similarly,
 15155  // for Dialogflow to handle an end-user expression like that, it needs to be
 15156  // provided with context in order to correctly match an intent. Using contexts,
 15157  // you can control the flow of a conversation. You can configure contexts for
 15158  // an intent by setting input and output contexts, which are identified by
 15159  // string names. When an intent is matched, any configured output contexts for
 15160  // that intent become active. While any contexts are active, Dialogflow is more
 15161  // likely to match intents that are configured with input contexts that
 15162  // correspond to the currently active contexts. For more information about
 15163  // context, see the Contexts guide
 15164  // (https://cloud.google.com/dialogflow/docs/contexts-overview).
 15165  type GoogleCloudDialogflowV2beta1Context struct {
 15166  	// LifespanCount: Optional. The number of conversational query requests after
 15167  	// which the context expires. The default is `0`. If set to `0`, the context
 15168  	// expires immediately. Contexts expire automatically after 20 minutes if there
 15169  	// are no matching queries.
 15170  	LifespanCount int64 `json:"lifespanCount,omitempty"`
 15171  	// Name: Required. The unique identifier of the context. Supported formats: -
 15172  	// `projects//agent/sessions//contexts/`, -
 15173  	// `projects//locations//agent/sessions//contexts/`, -
 15174  	// `projects//agent/environments//users//sessions//contexts/`, -
 15175  	// `projects//locations//agent/environments//users//sessions//contexts/`, The
 15176  	// `Context ID` is always converted to lowercase, may only contain characters
 15177  	// in `a-zA-Z0-9_-%` and may be at most 250 bytes long. If `Environment ID` is
 15178  	// not specified, we assume default 'draft' environment. If `User ID` is not
 15179  	// specified, we assume default '-' user. The following context names are
 15180  	// reserved for internal use by Dialogflow. You should not use these contexts
 15181  	// or create contexts with these names: * `__system_counters__` *
 15182  	// `*_id_dialog_context` * `*_dialog_params_size`
 15183  	Name string `json:"name,omitempty"`
 15184  	// Parameters: Optional. The collection of parameters associated with this
 15185  	// context. Depending on your protocol or client library language, this is a
 15186  	// map, associative array, symbol table, dictionary, or JSON object composed of
 15187  	// a collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey
 15188  	// value: parameter name * MapValue type: If parameter's entity type is a
 15189  	// composite entity then use map, otherwise, depending on the parameter value
 15190  	// type, it could be one of string, number, boolean, null, list or map. *
 15191  	// MapValue value: If parameter's entity type is a composite entity then use
 15192  	// map from composite entity property names to property values, otherwise, use
 15193  	// parameter value.
 15194  	Parameters googleapi.RawMessage `json:"parameters,omitempty"`
 15195  	// ForceSendFields is a list of field names (e.g. "LifespanCount") to
 15196  	// unconditionally include in API requests. By default, fields with empty or
 15197  	// default values are omitted from API requests. See
 15198  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15199  	// details.
 15200  	ForceSendFields []string `json:"-"`
 15201  	// NullFields is a list of field names (e.g. "LifespanCount") to include in API
 15202  	// requests with the JSON null value. By default, fields with empty values are
 15203  	// omitted from API requests. See
 15204  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15205  	NullFields []string `json:"-"`
 15206  }
 15207  
 15208  func (s *GoogleCloudDialogflowV2beta1Context) MarshalJSON() ([]byte, error) {
 15209  	type NoMethod GoogleCloudDialogflowV2beta1Context
 15210  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15211  }
 15212  
 15213  // GoogleCloudDialogflowV2beta1ConversationEvent: Represents a notification
 15214  // sent to Pub/Sub subscribers for conversation lifecycle events.
 15215  type GoogleCloudDialogflowV2beta1ConversationEvent struct {
 15216  	// Conversation: Required. The unique identifier of the conversation this
 15217  	// notification refers to. Format: `projects//conversations/`.
 15218  	Conversation string `json:"conversation,omitempty"`
 15219  	// ErrorStatus: Optional. More detailed information about an error. Only set
 15220  	// for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.
 15221  	ErrorStatus *GoogleRpcStatus `json:"errorStatus,omitempty"`
 15222  	// NewMessagePayload: Payload of NEW_MESSAGE event.
 15223  	NewMessagePayload *GoogleCloudDialogflowV2beta1Message `json:"newMessagePayload,omitempty"`
 15224  	// Type: Required. The type of the event that this notification refers to.
 15225  	//
 15226  	// Possible values:
 15227  	//   "TYPE_UNSPECIFIED" - Type not set.
 15228  	//   "CONVERSATION_STARTED" - A new conversation has been opened. This is fired
 15229  	// when a telephone call is answered, or a conversation is created via the API.
 15230  	//   "CONVERSATION_FINISHED" - An existing conversation has closed. This is
 15231  	// fired when a telephone call is terminated, or a conversation is closed via
 15232  	// the API.
 15233  	//   "HUMAN_INTERVENTION_NEEDED" - An existing conversation has received
 15234  	// notification from Dialogflow that human intervention is required.
 15235  	//   "NEW_MESSAGE" - An existing conversation has received a new message,
 15236  	// either from API or telephony. It is configured in
 15237  	// ConversationProfile.new_message_event_notification_config
 15238  	//   "UNRECOVERABLE_ERROR" - Unrecoverable error during a telephone call. In
 15239  	// general non-recoverable errors only occur if something was misconfigured in
 15240  	// the ConversationProfile corresponding to the call. After a non-recoverable
 15241  	// error, Dialogflow may stop responding. We don't fire this event: * in an API
 15242  	// call because we can directly return the error, or, * when we can recover
 15243  	// from an error.
 15244  	Type string `json:"type,omitempty"`
 15245  	// ForceSendFields is a list of field names (e.g. "Conversation") to
 15246  	// unconditionally include in API requests. By default, fields with empty or
 15247  	// default values are omitted from API requests. See
 15248  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15249  	// details.
 15250  	ForceSendFields []string `json:"-"`
 15251  	// NullFields is a list of field names (e.g. "Conversation") to include in API
 15252  	// requests with the JSON null value. By default, fields with empty values are
 15253  	// omitted from API requests. See
 15254  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15255  	NullFields []string `json:"-"`
 15256  }
 15257  
 15258  func (s *GoogleCloudDialogflowV2beta1ConversationEvent) MarshalJSON() ([]byte, error) {
 15259  	type NoMethod GoogleCloudDialogflowV2beta1ConversationEvent
 15260  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15261  }
 15262  
 15263  // GoogleCloudDialogflowV2beta1DialogflowAssistAnswer: Represents a Dialogflow
 15264  // assist answer.
 15265  type GoogleCloudDialogflowV2beta1DialogflowAssistAnswer struct {
 15266  	// AnswerRecord: The name of answer record, in the format of
 15267  	// "projects//locations//answerRecords/"
 15268  	AnswerRecord string `json:"answerRecord,omitempty"`
 15269  	// IntentSuggestion: An intent suggestion generated from conversation.
 15270  	IntentSuggestion *GoogleCloudDialogflowV2beta1IntentSuggestion `json:"intentSuggestion,omitempty"`
 15271  	// QueryResult: Result from v2 agent.
 15272  	QueryResult *GoogleCloudDialogflowV2beta1QueryResult `json:"queryResult,omitempty"`
 15273  	// ForceSendFields is a list of field names (e.g. "AnswerRecord") to
 15274  	// unconditionally include in API requests. By default, fields with empty or
 15275  	// default values are omitted from API requests. See
 15276  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15277  	// details.
 15278  	ForceSendFields []string `json:"-"`
 15279  	// NullFields is a list of field names (e.g. "AnswerRecord") to include in API
 15280  	// requests with the JSON null value. By default, fields with empty values are
 15281  	// omitted from API requests. See
 15282  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15283  	NullFields []string `json:"-"`
 15284  }
 15285  
 15286  func (s *GoogleCloudDialogflowV2beta1DialogflowAssistAnswer) MarshalJSON() ([]byte, error) {
 15287  	type NoMethod GoogleCloudDialogflowV2beta1DialogflowAssistAnswer
 15288  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15289  }
 15290  
 15291  // GoogleCloudDialogflowV2beta1EntityType: Each intent parameter has a type,
 15292  // called the entity type, which dictates exactly how data from an end-user
 15293  // expression is extracted. Dialogflow provides predefined system entities that
 15294  // can match many common types of data. For example, there are system entities
 15295  // for matching dates, times, colors, email addresses, and so on. You can also
 15296  // create your own custom entities for matching custom data. For example, you
 15297  // could define a vegetable entity that can match the types of vegetables
 15298  // available for purchase with a grocery store agent. For more information, see
 15299  // the Entity guide
 15300  // (https://cloud.google.com/dialogflow/docs/entities-overview).
 15301  type GoogleCloudDialogflowV2beta1EntityType struct {
 15302  	// AutoExpansionMode: Optional. Indicates whether the entity type can be
 15303  	// automatically expanded.
 15304  	//
 15305  	// Possible values:
 15306  	//   "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the
 15307  	// entity.
 15308  	//   "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values that
 15309  	// have not been explicitly listed in the entity.
 15310  	AutoExpansionMode string `json:"autoExpansionMode,omitempty"`
 15311  	// DisplayName: Required. The name of the entity type.
 15312  	DisplayName string `json:"displayName,omitempty"`
 15313  	// EnableFuzzyExtraction: Optional. Enables fuzzy entity extraction during
 15314  	// classification.
 15315  	EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"`
 15316  	// Entities: Optional. The collection of entity entries associated with the
 15317  	// entity type.
 15318  	Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"`
 15319  	// Kind: Required. Indicates the kind of entity type.
 15320  	//
 15321  	// Possible values:
 15322  	//   "KIND_UNSPECIFIED" - Not specified. This value should be never used.
 15323  	//   "KIND_MAP" - Map entity types allow mapping of a group of synonyms to a
 15324  	// reference value.
 15325  	//   "KIND_LIST" - List entity types contain a set of entries that do not map
 15326  	// to reference values. However, list entity types can contain references to
 15327  	// other entity types (with or without aliases).
 15328  	//   "KIND_REGEXP" - Regexp entity types allow to specify regular expressions
 15329  	// in entries values.
 15330  	Kind string `json:"kind,omitempty"`
 15331  	// Name: The unique identifier of the entity type. Required for
 15332  	// EntityTypes.UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods.
 15333  	// Supported formats: - `projects//agent/entityTypes/` -
 15334  	// `projects//locations//agent/entityTypes/`
 15335  	Name string `json:"name,omitempty"`
 15336  	// ForceSendFields is a list of field names (e.g. "AutoExpansionMode") to
 15337  	// unconditionally include in API requests. By default, fields with empty or
 15338  	// default values are omitted from API requests. See
 15339  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15340  	// details.
 15341  	ForceSendFields []string `json:"-"`
 15342  	// NullFields is a list of field names (e.g. "AutoExpansionMode") to include in
 15343  	// API requests with the JSON null value. By default, fields with empty values
 15344  	// are omitted from API requests. See
 15345  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15346  	NullFields []string `json:"-"`
 15347  }
 15348  
 15349  func (s *GoogleCloudDialogflowV2beta1EntityType) MarshalJSON() ([]byte, error) {
 15350  	type NoMethod GoogleCloudDialogflowV2beta1EntityType
 15351  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15352  }
 15353  
 15354  // GoogleCloudDialogflowV2beta1EntityTypeEntity: An **entity entry** for an
 15355  // associated entity type.
 15356  type GoogleCloudDialogflowV2beta1EntityTypeEntity struct {
 15357  	// Synonyms: Required. A collection of value synonyms. For example, if the
 15358  	// entity type is *vegetable*, and `value` is *scallions*, a synonym could be
 15359  	// *green onions*. For `KIND_LIST` entity types: * This collection must contain
 15360  	// exactly one synonym equal to `value`.
 15361  	Synonyms []string `json:"synonyms,omitempty"`
 15362  	// Value: Required. The primary value associated with this entity entry. For
 15363  	// example, if the entity type is *vegetable*, the value could be *scallions*.
 15364  	// For `KIND_MAP` entity types: * A reference value to be used in place of
 15365  	// synonyms. For `KIND_LIST` entity types: * A string that can contain
 15366  	// references to other entity types (with or without aliases).
 15367  	Value string `json:"value,omitempty"`
 15368  	// ForceSendFields is a list of field names (e.g. "Synonyms") to
 15369  	// unconditionally include in API requests. By default, fields with empty or
 15370  	// default values are omitted from API requests. See
 15371  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15372  	// details.
 15373  	ForceSendFields []string `json:"-"`
 15374  	// NullFields is a list of field names (e.g. "Synonyms") to include in API
 15375  	// requests with the JSON null value. By default, fields with empty values are
 15376  	// omitted from API requests. See
 15377  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15378  	NullFields []string `json:"-"`
 15379  }
 15380  
 15381  func (s *GoogleCloudDialogflowV2beta1EntityTypeEntity) MarshalJSON() ([]byte, error) {
 15382  	type NoMethod GoogleCloudDialogflowV2beta1EntityTypeEntity
 15383  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15384  }
 15385  
 15386  // GoogleCloudDialogflowV2beta1EventInput: Events allow for matching intents by
 15387  // event name instead of the natural language input. For instance, input “ can
 15388  // trigger a personalized welcome response. The parameter `name` may be used by
 15389  // the agent in the response: "Hello #welcome_event.name! What can I do for
 15390  // you today?".
 15391  type GoogleCloudDialogflowV2beta1EventInput struct {
 15392  	// LanguageCode: Required. The language of this query. See Language Support
 15393  	// (https://cloud.google.com/dialogflow/docs/reference/language) for a list of
 15394  	// the currently supported language codes. Note that queries in the same
 15395  	// session do not necessarily need to specify the same language. This field is
 15396  	// ignored when used in the context of a WebhookResponse.followup_event_input
 15397  	// field, because the language was already defined in the originating detect
 15398  	// intent request.
 15399  	LanguageCode string `json:"languageCode,omitempty"`
 15400  	// Name: Required. The unique identifier of the event.
 15401  	Name string `json:"name,omitempty"`
 15402  	// Parameters: The collection of parameters associated with the event.
 15403  	// Depending on your protocol or client library language, this is a map,
 15404  	// associative array, symbol table, dictionary, or JSON object composed of a
 15405  	// collection of (MapKey, MapValue) pairs: * MapKey type: string * MapKey
 15406  	// value: parameter name * MapValue type: If parameter's entity type is a
 15407  	// composite entity then use map, otherwise, depending on the parameter value
 15408  	// type, it could be one of string, number, boolean, null, list or map. *
 15409  	// MapValue value: If parameter's entity type is a composite entity then use
 15410  	// map from composite entity property names to property values, otherwise, use
 15411  	// parameter value.
 15412  	Parameters googleapi.RawMessage `json:"parameters,omitempty"`
 15413  	// ForceSendFields is a list of field names (e.g. "LanguageCode") to
 15414  	// unconditionally include in API requests. By default, fields with empty or
 15415  	// default values are omitted from API requests. See
 15416  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15417  	// details.
 15418  	ForceSendFields []string `json:"-"`
 15419  	// NullFields is a list of field names (e.g. "LanguageCode") to include in API
 15420  	// requests with the JSON null value. By default, fields with empty values are
 15421  	// omitted from API requests. See
 15422  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15423  	NullFields []string `json:"-"`
 15424  }
 15425  
 15426  func (s *GoogleCloudDialogflowV2beta1EventInput) MarshalJSON() ([]byte, error) {
 15427  	type NoMethod GoogleCloudDialogflowV2beta1EventInput
 15428  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15429  }
 15430  
 15431  // GoogleCloudDialogflowV2beta1ExportAgentResponse: The response message for
 15432  // Agents.ExportAgent.
 15433  type GoogleCloudDialogflowV2beta1ExportAgentResponse struct {
 15434  	// AgentContent: Zip compressed raw byte content for agent.
 15435  	AgentContent string `json:"agentContent,omitempty"`
 15436  	// AgentUri: The URI to a file containing the exported agent. This field is
 15437  	// populated only if `agent_uri` is specified in `ExportAgentRequest`.
 15438  	AgentUri string `json:"agentUri,omitempty"`
 15439  	// ForceSendFields is a list of field names (e.g. "AgentContent") to
 15440  	// unconditionally include in API requests. By default, fields with empty or
 15441  	// default values are omitted from API requests. See
 15442  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15443  	// details.
 15444  	ForceSendFields []string `json:"-"`
 15445  	// NullFields is a list of field names (e.g. "AgentContent") to include in API
 15446  	// requests with the JSON null value. By default, fields with empty values are
 15447  	// omitted from API requests. See
 15448  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15449  	NullFields []string `json:"-"`
 15450  }
 15451  
 15452  func (s *GoogleCloudDialogflowV2beta1ExportAgentResponse) MarshalJSON() ([]byte, error) {
 15453  	type NoMethod GoogleCloudDialogflowV2beta1ExportAgentResponse
 15454  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15455  }
 15456  
 15457  // GoogleCloudDialogflowV2beta1ExportOperationMetadata: Metadata related to the
 15458  // Export Data Operations (e.g. ExportDocument).
 15459  type GoogleCloudDialogflowV2beta1ExportOperationMetadata struct {
 15460  	// ExportedGcsDestination: Cloud Storage file path of the exported data.
 15461  	ExportedGcsDestination *GoogleCloudDialogflowV2beta1GcsDestination `json:"exportedGcsDestination,omitempty"`
 15462  	// ForceSendFields is a list of field names (e.g. "ExportedGcsDestination") to
 15463  	// unconditionally include in API requests. By default, fields with empty or
 15464  	// default values are omitted from API requests. See
 15465  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15466  	// details.
 15467  	ForceSendFields []string `json:"-"`
 15468  	// NullFields is a list of field names (e.g. "ExportedGcsDestination") to
 15469  	// include in API requests with the JSON null value. By default, fields with
 15470  	// empty values are omitted from API requests. See
 15471  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15472  	NullFields []string `json:"-"`
 15473  }
 15474  
 15475  func (s *GoogleCloudDialogflowV2beta1ExportOperationMetadata) MarshalJSON() ([]byte, error) {
 15476  	type NoMethod GoogleCloudDialogflowV2beta1ExportOperationMetadata
 15477  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15478  }
 15479  
 15480  // GoogleCloudDialogflowV2beta1FaqAnswer: Represents answer from "frequently
 15481  // asked questions".
 15482  type GoogleCloudDialogflowV2beta1FaqAnswer struct {
 15483  	// Answer: The piece of text from the `source` knowledge base document.
 15484  	Answer string `json:"answer,omitempty"`
 15485  	// AnswerRecord: The name of answer record, in the format of
 15486  	// "projects//locations//answerRecords/"
 15487  	AnswerRecord string `json:"answerRecord,omitempty"`
 15488  	// Confidence: The system's confidence score that this Knowledge answer is a
 15489  	// good match for this conversational query, range from 0.0 (completely
 15490  	// uncertain) to 1.0 (completely certain).
 15491  	Confidence float64 `json:"confidence,omitempty"`
 15492  	// Metadata: A map that contains metadata about the answer and the document
 15493  	// from which it originates.
 15494  	Metadata map[string]string `json:"metadata,omitempty"`
 15495  	// Question: The corresponding FAQ question.
 15496  	Question string `json:"question,omitempty"`
 15497  	// Source: Indicates which Knowledge Document this answer was extracted from.
 15498  	// Format: `projects//locations//agent/knowledgeBases//documents/`.
 15499  	Source string `json:"source,omitempty"`
 15500  	// ForceSendFields is a list of field names (e.g. "Answer") to unconditionally
 15501  	// include in API requests. By default, fields with empty or default values are
 15502  	// omitted from API requests. See
 15503  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15504  	// details.
 15505  	ForceSendFields []string `json:"-"`
 15506  	// NullFields is a list of field names (e.g. "Answer") to include in API
 15507  	// requests with the JSON null value. By default, fields with empty values are
 15508  	// omitted from API requests. See
 15509  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15510  	NullFields []string `json:"-"`
 15511  }
 15512  
 15513  func (s *GoogleCloudDialogflowV2beta1FaqAnswer) MarshalJSON() ([]byte, error) {
 15514  	type NoMethod GoogleCloudDialogflowV2beta1FaqAnswer
 15515  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15516  }
 15517  
 15518  func (s *GoogleCloudDialogflowV2beta1FaqAnswer) UnmarshalJSON(data []byte) error {
 15519  	type NoMethod GoogleCloudDialogflowV2beta1FaqAnswer
 15520  	var s1 struct {
 15521  		Confidence gensupport.JSONFloat64 `json:"confidence"`
 15522  		*NoMethod
 15523  	}
 15524  	s1.NoMethod = (*NoMethod)(s)
 15525  	if err := json.Unmarshal(data, &s1); err != nil {
 15526  		return err
 15527  	}
 15528  	s.Confidence = float64(s1.Confidence)
 15529  	return nil
 15530  }
 15531  
 15532  // GoogleCloudDialogflowV2beta1GcsDestination: Google Cloud Storage location
 15533  // for the output.
 15534  type GoogleCloudDialogflowV2beta1GcsDestination struct {
 15535  	// Uri: Required. The Google Cloud Storage URIs for the output. A URI is of the
 15536  	// form: `gs://bucket/object-prefix-or-name` Whether a prefix or name is used
 15537  	// depends on the use case. The requesting user must have "write-permission" to
 15538  	// the bucket.
 15539  	Uri string `json:"uri,omitempty"`
 15540  	// ForceSendFields is a list of field names (e.g. "Uri") to unconditionally
 15541  	// include in API requests. By default, fields with empty or default values are
 15542  	// omitted from API requests. See
 15543  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15544  	// details.
 15545  	ForceSendFields []string `json:"-"`
 15546  	// NullFields is a list of field names (e.g. "Uri") to include in API requests
 15547  	// with the JSON null value. By default, fields with empty values are omitted
 15548  	// from API requests. See
 15549  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15550  	NullFields []string `json:"-"`
 15551  }
 15552  
 15553  func (s *GoogleCloudDialogflowV2beta1GcsDestination) MarshalJSON() ([]byte, error) {
 15554  	type NoMethod GoogleCloudDialogflowV2beta1GcsDestination
 15555  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15556  }
 15557  
 15558  // GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent: Output only.
 15559  // Represents a notification sent to Pub/Sub subscribers for agent assistant
 15560  // events in a specific conversation.
 15561  type GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent struct {
 15562  	// Conversation: The conversation this notification refers to. Format:
 15563  	// `projects//conversations/`.
 15564  	Conversation string `json:"conversation,omitempty"`
 15565  	// Participant: The participant that the suggestion is compiled for. And This
 15566  	// field is used to call Participants.ListSuggestions API. Format:
 15567  	// `projects//conversations//participants/`. It will not be set in legacy
 15568  	// workflow. HumanAgentAssistantConfig.name for more information.
 15569  	Participant string `json:"participant,omitempty"`
 15570  	// SuggestionResults: The suggestion results payload that this notification
 15571  	// refers to. It will only be set when
 15572  	// HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses sets
 15573  	// to true.
 15574  	SuggestionResults []*GoogleCloudDialogflowV2beta1SuggestionResult `json:"suggestionResults,omitempty"`
 15575  	// ForceSendFields is a list of field names (e.g. "Conversation") to
 15576  	// unconditionally include in API requests. By default, fields with empty or
 15577  	// default values are omitted from API requests. See
 15578  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15579  	// details.
 15580  	ForceSendFields []string `json:"-"`
 15581  	// NullFields is a list of field names (e.g. "Conversation") to include in API
 15582  	// requests with the JSON null value. By default, fields with empty values are
 15583  	// omitted from API requests. See
 15584  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15585  	NullFields []string `json:"-"`
 15586  }
 15587  
 15588  func (s *GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent) MarshalJSON() ([]byte, error) {
 15589  	type NoMethod GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
 15590  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15591  }
 15592  
 15593  // GoogleCloudDialogflowV2beta1ImportDocumentsResponse: Response message for
 15594  // Documents.ImportDocuments.
 15595  type GoogleCloudDialogflowV2beta1ImportDocumentsResponse struct {
 15596  	// Warnings: Includes details about skipped documents or any other warnings.
 15597  	Warnings []*GoogleRpcStatus `json:"warnings,omitempty"`
 15598  	// ForceSendFields is a list of field names (e.g. "Warnings") to
 15599  	// unconditionally include in API requests. By default, fields with empty or
 15600  	// default values are omitted from API requests. See
 15601  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15602  	// details.
 15603  	ForceSendFields []string `json:"-"`
 15604  	// NullFields is a list of field names (e.g. "Warnings") to include in API
 15605  	// requests with the JSON null value. By default, fields with empty values are
 15606  	// omitted from API requests. See
 15607  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15608  	NullFields []string `json:"-"`
 15609  }
 15610  
 15611  func (s *GoogleCloudDialogflowV2beta1ImportDocumentsResponse) MarshalJSON() ([]byte, error) {
 15612  	type NoMethod GoogleCloudDialogflowV2beta1ImportDocumentsResponse
 15613  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15614  }
 15615  
 15616  // GoogleCloudDialogflowV2beta1Intent: An intent categorizes an end-user's
 15617  // intention for one conversation turn. For each agent, you define many
 15618  // intents, where your combined intents can handle a complete conversation.
 15619  // When an end-user writes or says something, referred to as an end-user
 15620  // expression or end-user input, Dialogflow matches the end-user input to the
 15621  // best intent in your agent. Matching an intent is also known as intent
 15622  // classification. For more information, see the intent guide
 15623  // (https://cloud.google.com/dialogflow/docs/intents-overview).
 15624  type GoogleCloudDialogflowV2beta1Intent struct {
 15625  	// Action: Optional. The name of the action associated with the intent. Note:
 15626  	// The action name must not contain whitespaces.
 15627  	Action string `json:"action,omitempty"`
 15628  	// DefaultResponsePlatforms: Optional. The list of platforms for which the
 15629  	// first responses will be copied from the messages in PLATFORM_UNSPECIFIED
 15630  	// (i.e. default platform).
 15631  	//
 15632  	// Possible values:
 15633  	//   "PLATFORM_UNSPECIFIED" - Not specified.
 15634  	//   "FACEBOOK" - Facebook.
 15635  	//   "SLACK" - Slack.
 15636  	//   "TELEGRAM" - Telegram.
 15637  	//   "KIK" - Kik.
 15638  	//   "SKYPE" - Skype.
 15639  	//   "LINE" - Line.
 15640  	//   "VIBER" - Viber.
 15641  	//   "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook
 15642  	// format](https://developers.google.com/assistant/actions/build/json/dialogflow
 15643  	// -webhook-json)
 15644  	//   "TELEPHONY" - Telephony Gateway.
 15645  	//   "GOOGLE_HANGOUTS" - Google Hangouts.
 15646  	DefaultResponsePlatforms []string `json:"defaultResponsePlatforms,omitempty"`
 15647  	// DisplayName: Required. The name of this intent.
 15648  	DisplayName string `json:"displayName,omitempty"`
 15649  	// EndInteraction: Optional. Indicates that this intent ends an interaction.
 15650  	// Some integrations (e.g., Actions on Google or Dialogflow phone gateway) use
 15651  	// this information to close interaction with an end user. Default is false.
 15652  	EndInteraction bool `json:"endInteraction,omitempty"`
 15653  	// Events: Optional. The collection of event names that trigger the intent. If
 15654  	// the collection of input contexts is not empty, all of the contexts must be
 15655  	// present in the active user session for an event to trigger this intent.
 15656  	// Event names are limited to 150 characters.
 15657  	Events []string `json:"events,omitempty"`
 15658  	// FollowupIntentInfo: Output only. Information about all followup intents that
 15659  	// have this intent as a direct or indirect parent. We populate this field only
 15660  	// in the output.
 15661  	FollowupIntentInfo []*GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo `json:"followupIntentInfo,omitempty"`
 15662  	// InputContextNames: Optional. The list of context names required for this
 15663  	// intent to be triggered. Formats: - `projects//agent/sessions/-/contexts/` -
 15664  	// `projects//locations//agent/sessions/-/contexts/`
 15665  	InputContextNames []string `json:"inputContextNames,omitempty"`
 15666  	// IsFallback: Optional. Indicates whether this is a fallback intent.
 15667  	IsFallback bool `json:"isFallback,omitempty"`
 15668  	// LiveAgentHandoff: Optional. Indicates that a live agent should be brought in
 15669  	// to handle the interaction with the user. In most cases, when you set this
 15670  	// flag to true, you would also want to set end_interaction to true as well.
 15671  	// Default is false.
 15672  	LiveAgentHandoff bool `json:"liveAgentHandoff,omitempty"`
 15673  	// Messages: Optional. The collection of rich messages corresponding to the
 15674  	// `Response` field in the Dialogflow console.
 15675  	Messages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"messages,omitempty"`
 15676  	// MlDisabled: Optional. Indicates whether Machine Learning is disabled for the
 15677  	// intent. Note: If `ml_disabled` setting is set to true, then this intent is
 15678  	// not taken into account during inference in `ML ONLY` match mode. Also,
 15679  	// auto-markup in the UI is turned off.
 15680  	MlDisabled bool `json:"mlDisabled,omitempty"`
 15681  	// MlEnabled: Optional. Indicates whether Machine Learning is enabled for the
 15682  	// intent. Note: If `ml_enabled` setting is set to false, then this intent is
 15683  	// not taken into account during inference in `ML ONLY` match mode. Also,
 15684  	// auto-markup in the UI is turned off. DEPRECATED! Please use `ml_disabled`
 15685  	// field instead. NOTE: If both `ml_enabled` and `ml_disabled` are either not
 15686  	// set or false, then the default value is determined as follows: - Before
 15687  	// April 15th, 2018 the default is: ml_enabled = false / ml_disabled = true. -
 15688  	// After April 15th, 2018 the default is: ml_enabled = true / ml_disabled =
 15689  	// false.
 15690  	MlEnabled bool `json:"mlEnabled,omitempty"`
 15691  	// Name: Optional. The unique identifier of this intent. Required for
 15692  	// Intents.UpdateIntent and Intents.BatchUpdateIntents methods. Supported
 15693  	// formats: - `projects//agent/intents/` -
 15694  	// `projects//locations//agent/intents/`
 15695  	Name string `json:"name,omitempty"`
 15696  	// OutputContexts: Optional. The collection of contexts that are activated when
 15697  	// the intent is matched. Context messages in this collection should not set
 15698  	// the parameters field. Setting the `lifespan_count` to 0 will reset the
 15699  	// context when the intent is matched. Format:
 15700  	// `projects//agent/sessions/-/contexts/`.
 15701  	OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"`
 15702  	// Parameters: Optional. The collection of parameters associated with the
 15703  	// intent.
 15704  	Parameters []*GoogleCloudDialogflowV2beta1IntentParameter `json:"parameters,omitempty"`
 15705  	// ParentFollowupIntentName: Optional. The unique identifier of the parent
 15706  	// intent in the chain of followup intents. You can set this field when
 15707  	// creating an intent, for example with CreateIntent or BatchUpdateIntents, in
 15708  	// order to make this intent a followup intent. It identifies the parent
 15709  	// followup intent. Format: `projects//agent/intents/`.
 15710  	ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"`
 15711  	// Priority: Optional. The priority of this intent. Higher numbers represent
 15712  	// higher priorities. - If the supplied value is unspecified or 0, the service
 15713  	// translates the value to 500,000, which corresponds to the `Normal` priority
 15714  	// in the console. - If the supplied value is negative, the intent is ignored
 15715  	// in runtime detect intent requests.
 15716  	Priority int64 `json:"priority,omitempty"`
 15717  	// ResetContexts: Optional. Indicates whether to delete all contexts in the
 15718  	// current session when this intent is matched.
 15719  	ResetContexts bool `json:"resetContexts,omitempty"`
 15720  	// RootFollowupIntentName: Output only. The unique identifier of the root
 15721  	// intent in the chain of followup intents. It identifies the correct followup
 15722  	// intents chain for this intent. Format: `projects//agent/intents/`.
 15723  	RootFollowupIntentName string `json:"rootFollowupIntentName,omitempty"`
 15724  	// TrainingPhrases: Optional. The collection of examples that the agent is
 15725  	// trained on.
 15726  	TrainingPhrases []*GoogleCloudDialogflowV2beta1IntentTrainingPhrase `json:"trainingPhrases,omitempty"`
 15727  	// WebhookState: Optional. Indicates whether webhooks are enabled for the
 15728  	// intent.
 15729  	//
 15730  	// Possible values:
 15731  	//   "WEBHOOK_STATE_UNSPECIFIED" - Webhook is disabled in the agent and in the
 15732  	// intent.
 15733  	//   "WEBHOOK_STATE_ENABLED" - Webhook is enabled in the agent and in the
 15734  	// intent.
 15735  	//   "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING" - Webhook is enabled in the agent
 15736  	// and in the intent. Also, each slot filling prompt is forwarded to the
 15737  	// webhook.
 15738  	WebhookState string `json:"webhookState,omitempty"`
 15739  	// ForceSendFields is a list of field names (e.g. "Action") to unconditionally
 15740  	// include in API requests. By default, fields with empty or default values are
 15741  	// omitted from API requests. See
 15742  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15743  	// details.
 15744  	ForceSendFields []string `json:"-"`
 15745  	// NullFields is a list of field names (e.g. "Action") to include in API
 15746  	// requests with the JSON null value. By default, fields with empty values are
 15747  	// omitted from API requests. See
 15748  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15749  	NullFields []string `json:"-"`
 15750  }
 15751  
 15752  func (s *GoogleCloudDialogflowV2beta1Intent) MarshalJSON() ([]byte, error) {
 15753  	type NoMethod GoogleCloudDialogflowV2beta1Intent
 15754  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15755  }
 15756  
 15757  // GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo: Represents a single
 15758  // followup intent in the chain.
 15759  type GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo struct {
 15760  	// FollowupIntentName: The unique identifier of the followup intent. Format:
 15761  	// `projects//agent/intents/`.
 15762  	FollowupIntentName string `json:"followupIntentName,omitempty"`
 15763  	// ParentFollowupIntentName: The unique identifier of the followup intent's
 15764  	// parent. Format: `projects//agent/intents/`.
 15765  	ParentFollowupIntentName string `json:"parentFollowupIntentName,omitempty"`
 15766  	// ForceSendFields is a list of field names (e.g. "FollowupIntentName") to
 15767  	// unconditionally include in API requests. By default, fields with empty or
 15768  	// default values are omitted from API requests. See
 15769  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15770  	// details.
 15771  	ForceSendFields []string `json:"-"`
 15772  	// NullFields is a list of field names (e.g. "FollowupIntentName") to include
 15773  	// in API requests with the JSON null value. By default, fields with empty
 15774  	// values are omitted from API requests. See
 15775  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15776  	NullFields []string `json:"-"`
 15777  }
 15778  
 15779  func (s *GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo) MarshalJSON() ([]byte, error) {
 15780  	type NoMethod GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo
 15781  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15782  }
 15783  
 15784  // GoogleCloudDialogflowV2beta1IntentMessage: Corresponds to the `Response`
 15785  // field in the Dialogflow console.
 15786  type GoogleCloudDialogflowV2beta1IntentMessage struct {
 15787  	// BasicCard: Displays a basic card for Actions on Google.
 15788  	BasicCard *GoogleCloudDialogflowV2beta1IntentMessageBasicCard `json:"basicCard,omitempty"`
 15789  	// BrowseCarouselCard: Browse carousel card for Actions on Google.
 15790  	BrowseCarouselCard *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard `json:"browseCarouselCard,omitempty"`
 15791  	// Card: Displays a card.
 15792  	Card *GoogleCloudDialogflowV2beta1IntentMessageCard `json:"card,omitempty"`
 15793  	// CarouselSelect: Displays a carousel card for Actions on Google.
 15794  	CarouselSelect *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect `json:"carouselSelect,omitempty"`
 15795  	// Image: Displays an image.
 15796  	Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"`
 15797  	// LinkOutSuggestion: Displays a link out suggestion chip for Actions on
 15798  	// Google.
 15799  	LinkOutSuggestion *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion `json:"linkOutSuggestion,omitempty"`
 15800  	// ListSelect: Displays a list card for Actions on Google.
 15801  	ListSelect *GoogleCloudDialogflowV2beta1IntentMessageListSelect `json:"listSelect,omitempty"`
 15802  	// MediaContent: The media content card for Actions on Google.
 15803  	MediaContent *GoogleCloudDialogflowV2beta1IntentMessageMediaContent `json:"mediaContent,omitempty"`
 15804  	// Payload: A custom platform-specific response.
 15805  	Payload googleapi.RawMessage `json:"payload,omitempty"`
 15806  	// Platform: Optional. The platform that this message is intended for.
 15807  	//
 15808  	// Possible values:
 15809  	//   "PLATFORM_UNSPECIFIED" - Not specified.
 15810  	//   "FACEBOOK" - Facebook.
 15811  	//   "SLACK" - Slack.
 15812  	//   "TELEGRAM" - Telegram.
 15813  	//   "KIK" - Kik.
 15814  	//   "SKYPE" - Skype.
 15815  	//   "LINE" - Line.
 15816  	//   "VIBER" - Viber.
 15817  	//   "ACTIONS_ON_GOOGLE" - Google Assistant See [Dialogflow webhook
 15818  	// format](https://developers.google.com/assistant/actions/build/json/dialogflow
 15819  	// -webhook-json)
 15820  	//   "TELEPHONY" - Telephony Gateway.
 15821  	//   "GOOGLE_HANGOUTS" - Google Hangouts.
 15822  	Platform string `json:"platform,omitempty"`
 15823  	// QuickReplies: Displays quick replies.
 15824  	QuickReplies *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies `json:"quickReplies,omitempty"`
 15825  	// RbmCarouselRichCard: Rich Business Messaging (RBM) carousel rich card
 15826  	// response.
 15827  	RbmCarouselRichCard *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard `json:"rbmCarouselRichCard,omitempty"`
 15828  	// RbmStandaloneRichCard: Standalone Rich Business Messaging (RBM) rich card
 15829  	// response.
 15830  	RbmStandaloneRichCard *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard `json:"rbmStandaloneRichCard,omitempty"`
 15831  	// RbmText: Rich Business Messaging (RBM) text response. RBM allows businesses
 15832  	// to send enriched and branded versions of SMS. See
 15833  	// https://jibe.google.com/business-messaging.
 15834  	RbmText *GoogleCloudDialogflowV2beta1IntentMessageRbmText `json:"rbmText,omitempty"`
 15835  	// SimpleResponses: Returns a voice or text-only response for Actions on
 15836  	// Google.
 15837  	SimpleResponses *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses `json:"simpleResponses,omitempty"`
 15838  	// Suggestions: Displays suggestion chips for Actions on Google.
 15839  	Suggestions *GoogleCloudDialogflowV2beta1IntentMessageSuggestions `json:"suggestions,omitempty"`
 15840  	// TableCard: Table card for Actions on Google.
 15841  	TableCard *GoogleCloudDialogflowV2beta1IntentMessageTableCard `json:"tableCard,omitempty"`
 15842  	// TelephonyPlayAudio: Plays audio from a file in Telephony Gateway.
 15843  	TelephonyPlayAudio *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio `json:"telephonyPlayAudio,omitempty"`
 15844  	// TelephonySynthesizeSpeech: Synthesizes speech in Telephony Gateway.
 15845  	TelephonySynthesizeSpeech *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech `json:"telephonySynthesizeSpeech,omitempty"`
 15846  	// TelephonyTransferCall: Transfers the call in Telephony Gateway.
 15847  	TelephonyTransferCall *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall `json:"telephonyTransferCall,omitempty"`
 15848  	// Text: Returns a text response.
 15849  	Text *GoogleCloudDialogflowV2beta1IntentMessageText `json:"text,omitempty"`
 15850  	// ForceSendFields is a list of field names (e.g. "BasicCard") to
 15851  	// unconditionally include in API requests. By default, fields with empty or
 15852  	// default values are omitted from API requests. See
 15853  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15854  	// details.
 15855  	ForceSendFields []string `json:"-"`
 15856  	// NullFields is a list of field names (e.g. "BasicCard") to include in API
 15857  	// requests with the JSON null value. By default, fields with empty values are
 15858  	// omitted from API requests. See
 15859  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15860  	NullFields []string `json:"-"`
 15861  }
 15862  
 15863  func (s *GoogleCloudDialogflowV2beta1IntentMessage) MarshalJSON() ([]byte, error) {
 15864  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessage
 15865  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15866  }
 15867  
 15868  // GoogleCloudDialogflowV2beta1IntentMessageBasicCard: The basic card message.
 15869  // Useful for displaying information.
 15870  type GoogleCloudDialogflowV2beta1IntentMessageBasicCard struct {
 15871  	// Buttons: Optional. The collection of card buttons.
 15872  	Buttons []*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton `json:"buttons,omitempty"`
 15873  	// FormattedText: Required, unless image is present. The body text of the card.
 15874  	FormattedText string `json:"formattedText,omitempty"`
 15875  	// Image: Optional. The image for the card.
 15876  	Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"`
 15877  	// Subtitle: Optional. The subtitle of the card.
 15878  	Subtitle string `json:"subtitle,omitempty"`
 15879  	// Title: Optional. The title of the card.
 15880  	Title string `json:"title,omitempty"`
 15881  	// ForceSendFields is a list of field names (e.g. "Buttons") to unconditionally
 15882  	// include in API requests. By default, fields with empty or default values are
 15883  	// omitted from API requests. See
 15884  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15885  	// details.
 15886  	ForceSendFields []string `json:"-"`
 15887  	// NullFields is a list of field names (e.g. "Buttons") to include in API
 15888  	// requests with the JSON null value. By default, fields with empty values are
 15889  	// omitted from API requests. See
 15890  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15891  	NullFields []string `json:"-"`
 15892  }
 15893  
 15894  func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCard) MarshalJSON() ([]byte, error) {
 15895  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCard
 15896  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15897  }
 15898  
 15899  // GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton: The button object
 15900  // that appears at the bottom of a card.
 15901  type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton struct {
 15902  	// OpenUriAction: Required. Action to take when a user taps on the button.
 15903  	OpenUriAction *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction `json:"openUriAction,omitempty"`
 15904  	// Title: Required. The title of the button.
 15905  	Title string `json:"title,omitempty"`
 15906  	// ForceSendFields is a list of field names (e.g. "OpenUriAction") to
 15907  	// unconditionally include in API requests. By default, fields with empty or
 15908  	// default values are omitted from API requests. See
 15909  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15910  	// details.
 15911  	ForceSendFields []string `json:"-"`
 15912  	// NullFields is a list of field names (e.g. "OpenUriAction") to include in API
 15913  	// requests with the JSON null value. By default, fields with empty values are
 15914  	// omitted from API requests. See
 15915  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15916  	NullFields []string `json:"-"`
 15917  }
 15918  
 15919  func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton) MarshalJSON() ([]byte, error) {
 15920  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton
 15921  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15922  }
 15923  
 15924  // GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction: Opens
 15925  // the given URI.
 15926  type GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction struct {
 15927  	// Uri: Required. The HTTP or HTTPS scheme URI.
 15928  	Uri string `json:"uri,omitempty"`
 15929  	// ForceSendFields is a list of field names (e.g. "Uri") to unconditionally
 15930  	// include in API requests. By default, fields with empty or default values are
 15931  	// omitted from API requests. See
 15932  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15933  	// details.
 15934  	ForceSendFields []string `json:"-"`
 15935  	// NullFields is a list of field names (e.g. "Uri") to include in API requests
 15936  	// with the JSON null value. By default, fields with empty values are omitted
 15937  	// from API requests. See
 15938  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15939  	NullFields []string `json:"-"`
 15940  }
 15941  
 15942  func (s *GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction) MarshalJSON() ([]byte, error) {
 15943  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBasicCardButtonOpenUriAction
 15944  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15945  }
 15946  
 15947  // GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard: Browse Carousel
 15948  // Card for Actions on Google.
 15949  // https://developers.google.com/actions/assistant/responses#browsing_carousel
 15950  type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard struct {
 15951  	// ImageDisplayOptions: Optional. Settings for displaying the image. Applies to
 15952  	// every image in items.
 15953  	//
 15954  	// Possible values:
 15955  	//   "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED" - Fill the gaps between the image and
 15956  	// the image container with gray bars.
 15957  	//   "GRAY" - Fill the gaps between the image and the image container with gray
 15958  	// bars.
 15959  	//   "WHITE" - Fill the gaps between the image and the image container with
 15960  	// white bars.
 15961  	//   "CROPPED" - Image is scaled such that the image width and height match or
 15962  	// exceed the container dimensions. This may crop the top and bottom of the
 15963  	// image if the scaled image height is greater than the container height, or
 15964  	// crop the left and right of the image if the scaled image width is greater
 15965  	// than the container width. This is similar to "Zoom Mode" on a widescreen TV
 15966  	// when playing a 4:3 video.
 15967  	//   "BLURRED_BACKGROUND" - Pad the gaps between image and image frame with a
 15968  	// blurred copy of the same image.
 15969  	ImageDisplayOptions string `json:"imageDisplayOptions,omitempty"`
 15970  	// Items: Required. List of items in the Browse Carousel Card. Minimum of two
 15971  	// items, maximum of ten.
 15972  	Items []*GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem `json:"items,omitempty"`
 15973  	// ForceSendFields is a list of field names (e.g. "ImageDisplayOptions") to
 15974  	// unconditionally include in API requests. By default, fields with empty or
 15975  	// default values are omitted from API requests. See
 15976  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 15977  	// details.
 15978  	ForceSendFields []string `json:"-"`
 15979  	// NullFields is a list of field names (e.g. "ImageDisplayOptions") to include
 15980  	// in API requests with the JSON null value. By default, fields with empty
 15981  	// values are omitted from API requests. See
 15982  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 15983  	NullFields []string `json:"-"`
 15984  }
 15985  
 15986  func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard) MarshalJSON() ([]byte, error) {
 15987  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCard
 15988  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 15989  }
 15990  
 15991  // GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCard
 15992  // Item: Browsing carousel tile
 15993  type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem struct {
 15994  	// Description: Optional. Description of the carousel item. Maximum of four
 15995  	// lines of text.
 15996  	Description string `json:"description,omitempty"`
 15997  	// Footer: Optional. Text that appears at the bottom of the Browse Carousel
 15998  	// Card. Maximum of one line of text.
 15999  	Footer string `json:"footer,omitempty"`
 16000  	// Image: Optional. Hero image for the carousel item.
 16001  	Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"`
 16002  	// OpenUriAction: Required. Action to present to the user.
 16003  	OpenUriAction *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction `json:"openUriAction,omitempty"`
 16004  	// Title: Required. Title of the carousel item. Maximum of two lines of text.
 16005  	Title string `json:"title,omitempty"`
 16006  	// ForceSendFields is a list of field names (e.g. "Description") to
 16007  	// unconditionally include in API requests. By default, fields with empty or
 16008  	// default values are omitted from API requests. See
 16009  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16010  	// details.
 16011  	ForceSendFields []string `json:"-"`
 16012  	// NullFields is a list of field names (e.g. "Description") to include in API
 16013  	// requests with the JSON null value. By default, fields with empty values are
 16014  	// omitted from API requests. See
 16015  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16016  	NullFields []string `json:"-"`
 16017  }
 16018  
 16019  func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem) MarshalJSON() ([]byte, error) {
 16020  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItem
 16021  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16022  }
 16023  
 16024  // GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCard
 16025  // ItemOpenUrlAction: Actions on Google action to open a given url.
 16026  type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction struct {
 16027  	// Url: Required. URL
 16028  	Url string `json:"url,omitempty"`
 16029  	// UrlTypeHint: Optional. Specifies the type of viewer that is used when
 16030  	// opening the URL. Defaults to opening via web browser.
 16031  	//
 16032  	// Possible values:
 16033  	//   "URL_TYPE_HINT_UNSPECIFIED" - Unspecified
 16034  	//   "AMP_ACTION" - Url would be an amp action
 16035  	//   "AMP_CONTENT" - URL that points directly to AMP content, or to a canonical
 16036  	// URL which refers to AMP content via .
 16037  	UrlTypeHint string `json:"urlTypeHint,omitempty"`
 16038  	// ForceSendFields is a list of field names (e.g. "Url") to unconditionally
 16039  	// include in API requests. By default, fields with empty or default values are
 16040  	// omitted from API requests. See
 16041  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16042  	// details.
 16043  	ForceSendFields []string `json:"-"`
 16044  	// NullFields is a list of field names (e.g. "Url") to include in API requests
 16045  	// with the JSON null value. By default, fields with empty values are omitted
 16046  	// from API requests. See
 16047  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16048  	NullFields []string `json:"-"`
 16049  }
 16050  
 16051  func (s *GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction) MarshalJSON() ([]byte, error) {
 16052  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlAction
 16053  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16054  }
 16055  
 16056  // GoogleCloudDialogflowV2beta1IntentMessageCard: The card response message.
 16057  type GoogleCloudDialogflowV2beta1IntentMessageCard struct {
 16058  	// Buttons: Optional. The collection of card buttons.
 16059  	Buttons []*GoogleCloudDialogflowV2beta1IntentMessageCardButton `json:"buttons,omitempty"`
 16060  	// ImageUri: Optional. The public URI to an image file for the card.
 16061  	ImageUri string `json:"imageUri,omitempty"`
 16062  	// Subtitle: Optional. The subtitle of the card.
 16063  	Subtitle string `json:"subtitle,omitempty"`
 16064  	// Title: Optional. The title of the card.
 16065  	Title string `json:"title,omitempty"`
 16066  	// ForceSendFields is a list of field names (e.g. "Buttons") to unconditionally
 16067  	// include in API requests. By default, fields with empty or default values are
 16068  	// omitted from API requests. See
 16069  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16070  	// details.
 16071  	ForceSendFields []string `json:"-"`
 16072  	// NullFields is a list of field names (e.g. "Buttons") to include in API
 16073  	// requests with the JSON null value. By default, fields with empty values are
 16074  	// omitted from API requests. See
 16075  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16076  	NullFields []string `json:"-"`
 16077  }
 16078  
 16079  func (s *GoogleCloudDialogflowV2beta1IntentMessageCard) MarshalJSON() ([]byte, error) {
 16080  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCard
 16081  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16082  }
 16083  
 16084  // GoogleCloudDialogflowV2beta1IntentMessageCardButton: Optional. Contains
 16085  // information about a button.
 16086  type GoogleCloudDialogflowV2beta1IntentMessageCardButton struct {
 16087  	// Postback: Optional. The text to send back to the Dialogflow API or a URI to
 16088  	// open.
 16089  	Postback string `json:"postback,omitempty"`
 16090  	// Text: Optional. The text to show on the button.
 16091  	Text string `json:"text,omitempty"`
 16092  	// ForceSendFields is a list of field names (e.g. "Postback") to
 16093  	// unconditionally include in API requests. By default, fields with empty or
 16094  	// default values are omitted from API requests. See
 16095  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16096  	// details.
 16097  	ForceSendFields []string `json:"-"`
 16098  	// NullFields is a list of field names (e.g. "Postback") to include in API
 16099  	// requests with the JSON null value. By default, fields with empty values are
 16100  	// omitted from API requests. See
 16101  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16102  	NullFields []string `json:"-"`
 16103  }
 16104  
 16105  func (s *GoogleCloudDialogflowV2beta1IntentMessageCardButton) MarshalJSON() ([]byte, error) {
 16106  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCardButton
 16107  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16108  }
 16109  
 16110  // GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect: The card for
 16111  // presenting a carousel of options to select from.
 16112  type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect struct {
 16113  	// Items: Required. Carousel items.
 16114  	Items []*GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem `json:"items,omitempty"`
 16115  	// ForceSendFields is a list of field names (e.g. "Items") to unconditionally
 16116  	// include in API requests. By default, fields with empty or default values are
 16117  	// omitted from API requests. See
 16118  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16119  	// details.
 16120  	ForceSendFields []string `json:"-"`
 16121  	// NullFields is a list of field names (e.g. "Items") to include in API
 16122  	// requests with the JSON null value. By default, fields with empty values are
 16123  	// omitted from API requests. See
 16124  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16125  	NullFields []string `json:"-"`
 16126  }
 16127  
 16128  func (s *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect) MarshalJSON() ([]byte, error) {
 16129  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCarouselSelect
 16130  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16131  }
 16132  
 16133  // GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem: An item in the
 16134  // carousel.
 16135  type GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem struct {
 16136  	// Description: Optional. The body text of the card.
 16137  	Description string `json:"description,omitempty"`
 16138  	// Image: Optional. The image to display.
 16139  	Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"`
 16140  	// Info: Required. Additional info about the option item.
 16141  	Info *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo `json:"info,omitempty"`
 16142  	// Title: Required. Title of the carousel item.
 16143  	Title string `json:"title,omitempty"`
 16144  	// ForceSendFields is a list of field names (e.g. "Description") to
 16145  	// unconditionally include in API requests. By default, fields with empty or
 16146  	// default values are omitted from API requests. See
 16147  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16148  	// details.
 16149  	ForceSendFields []string `json:"-"`
 16150  	// NullFields is a list of field names (e.g. "Description") to include in API
 16151  	// requests with the JSON null value. By default, fields with empty values are
 16152  	// omitted from API requests. See
 16153  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16154  	NullFields []string `json:"-"`
 16155  }
 16156  
 16157  func (s *GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem) MarshalJSON() ([]byte, error) {
 16158  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageCarouselSelectItem
 16159  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16160  }
 16161  
 16162  // GoogleCloudDialogflowV2beta1IntentMessageColumnProperties: Column properties
 16163  // for TableCard.
 16164  type GoogleCloudDialogflowV2beta1IntentMessageColumnProperties struct {
 16165  	// Header: Required. Column heading.
 16166  	Header string `json:"header,omitempty"`
 16167  	// HorizontalAlignment: Optional. Defines text alignment for all cells in this
 16168  	// column.
 16169  	//
 16170  	// Possible values:
 16171  	//   "HORIZONTAL_ALIGNMENT_UNSPECIFIED" - Text is aligned to the leading edge
 16172  	// of the column.
 16173  	//   "LEADING" - Text is aligned to the leading edge of the column.
 16174  	//   "CENTER" - Text is centered in the column.
 16175  	//   "TRAILING" - Text is aligned to the trailing edge of the column.
 16176  	HorizontalAlignment string `json:"horizontalAlignment,omitempty"`
 16177  	// ForceSendFields is a list of field names (e.g. "Header") to unconditionally
 16178  	// include in API requests. By default, fields with empty or default values are
 16179  	// omitted from API requests. See
 16180  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16181  	// details.
 16182  	ForceSendFields []string `json:"-"`
 16183  	// NullFields is a list of field names (e.g. "Header") to include in API
 16184  	// requests with the JSON null value. By default, fields with empty values are
 16185  	// omitted from API requests. See
 16186  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16187  	NullFields []string `json:"-"`
 16188  }
 16189  
 16190  func (s *GoogleCloudDialogflowV2beta1IntentMessageColumnProperties) MarshalJSON() ([]byte, error) {
 16191  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageColumnProperties
 16192  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16193  }
 16194  
 16195  // GoogleCloudDialogflowV2beta1IntentMessageImage: The image response message.
 16196  type GoogleCloudDialogflowV2beta1IntentMessageImage struct {
 16197  	// AccessibilityText: A text description of the image to be used for
 16198  	// accessibility, e.g., screen readers. Required if image_uri is set for
 16199  	// CarouselSelect.
 16200  	AccessibilityText string `json:"accessibilityText,omitempty"`
 16201  	// ImageUri: Optional. The public URI to an image file.
 16202  	ImageUri string `json:"imageUri,omitempty"`
 16203  	// ForceSendFields is a list of field names (e.g. "AccessibilityText") to
 16204  	// unconditionally include in API requests. By default, fields with empty or
 16205  	// default values are omitted from API requests. See
 16206  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16207  	// details.
 16208  	ForceSendFields []string `json:"-"`
 16209  	// NullFields is a list of field names (e.g. "AccessibilityText") to include in
 16210  	// API requests with the JSON null value. By default, fields with empty values
 16211  	// are omitted from API requests. See
 16212  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16213  	NullFields []string `json:"-"`
 16214  }
 16215  
 16216  func (s *GoogleCloudDialogflowV2beta1IntentMessageImage) MarshalJSON() ([]byte, error) {
 16217  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageImage
 16218  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16219  }
 16220  
 16221  // GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion: The suggestion
 16222  // chip message that allows the user to jump out to the app or website
 16223  // associated with this agent.
 16224  type GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion struct {
 16225  	// DestinationName: Required. The name of the app or site this chip is linking
 16226  	// to.
 16227  	DestinationName string `json:"destinationName,omitempty"`
 16228  	// Uri: Required. The URI of the app or site to open when the user taps the
 16229  	// suggestion chip.
 16230  	Uri string `json:"uri,omitempty"`
 16231  	// ForceSendFields is a list of field names (e.g. "DestinationName") to
 16232  	// unconditionally include in API requests. By default, fields with empty or
 16233  	// default values are omitted from API requests. See
 16234  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16235  	// details.
 16236  	ForceSendFields []string `json:"-"`
 16237  	// NullFields is a list of field names (e.g. "DestinationName") to include in
 16238  	// API requests with the JSON null value. By default, fields with empty values
 16239  	// are omitted from API requests. See
 16240  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16241  	NullFields []string `json:"-"`
 16242  }
 16243  
 16244  func (s *GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion) MarshalJSON() ([]byte, error) {
 16245  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageLinkOutSuggestion
 16246  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16247  }
 16248  
 16249  // GoogleCloudDialogflowV2beta1IntentMessageListSelect: The card for presenting
 16250  // a list of options to select from.
 16251  type GoogleCloudDialogflowV2beta1IntentMessageListSelect struct {
 16252  	// Items: Required. List items.
 16253  	Items []*GoogleCloudDialogflowV2beta1IntentMessageListSelectItem `json:"items,omitempty"`
 16254  	// Subtitle: Optional. Subtitle of the list.
 16255  	Subtitle string `json:"subtitle,omitempty"`
 16256  	// Title: Optional. The overall title of the list.
 16257  	Title string `json:"title,omitempty"`
 16258  	// ForceSendFields is a list of field names (e.g. "Items") to unconditionally
 16259  	// include in API requests. By default, fields with empty or default values are
 16260  	// omitted from API requests. See
 16261  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16262  	// details.
 16263  	ForceSendFields []string `json:"-"`
 16264  	// NullFields is a list of field names (e.g. "Items") to include in API
 16265  	// requests with the JSON null value. By default, fields with empty values are
 16266  	// omitted from API requests. See
 16267  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16268  	NullFields []string `json:"-"`
 16269  }
 16270  
 16271  func (s *GoogleCloudDialogflowV2beta1IntentMessageListSelect) MarshalJSON() ([]byte, error) {
 16272  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageListSelect
 16273  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16274  }
 16275  
 16276  // GoogleCloudDialogflowV2beta1IntentMessageListSelectItem: An item in the
 16277  // list.
 16278  type GoogleCloudDialogflowV2beta1IntentMessageListSelectItem struct {
 16279  	// Description: Optional. The main text describing the item.
 16280  	Description string `json:"description,omitempty"`
 16281  	// Image: Optional. The image to display.
 16282  	Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"`
 16283  	// Info: Required. Additional information about this option.
 16284  	Info *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo `json:"info,omitempty"`
 16285  	// Title: Required. The title of the list item.
 16286  	Title string `json:"title,omitempty"`
 16287  	// ForceSendFields is a list of field names (e.g. "Description") to
 16288  	// unconditionally include in API requests. By default, fields with empty or
 16289  	// default values are omitted from API requests. See
 16290  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16291  	// details.
 16292  	ForceSendFields []string `json:"-"`
 16293  	// NullFields is a list of field names (e.g. "Description") to include in API
 16294  	// requests with the JSON null value. By default, fields with empty values are
 16295  	// omitted from API requests. See
 16296  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16297  	NullFields []string `json:"-"`
 16298  }
 16299  
 16300  func (s *GoogleCloudDialogflowV2beta1IntentMessageListSelectItem) MarshalJSON() ([]byte, error) {
 16301  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageListSelectItem
 16302  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16303  }
 16304  
 16305  // GoogleCloudDialogflowV2beta1IntentMessageMediaContent: The media content
 16306  // card for Actions on Google.
 16307  type GoogleCloudDialogflowV2beta1IntentMessageMediaContent struct {
 16308  	// MediaObjects: Required. List of media objects.
 16309  	MediaObjects []*GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject `json:"mediaObjects,omitempty"`
 16310  	// MediaType: Optional. What type of media is the content (ie "audio").
 16311  	//
 16312  	// Possible values:
 16313  	//   "RESPONSE_MEDIA_TYPE_UNSPECIFIED" - Unspecified.
 16314  	//   "AUDIO" - Response media type is audio.
 16315  	MediaType string `json:"mediaType,omitempty"`
 16316  	// ForceSendFields is a list of field names (e.g. "MediaObjects") to
 16317  	// unconditionally include in API requests. By default, fields with empty or
 16318  	// default values are omitted from API requests. See
 16319  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16320  	// details.
 16321  	ForceSendFields []string `json:"-"`
 16322  	// NullFields is a list of field names (e.g. "MediaObjects") to include in API
 16323  	// requests with the JSON null value. By default, fields with empty values are
 16324  	// omitted from API requests. See
 16325  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16326  	NullFields []string `json:"-"`
 16327  }
 16328  
 16329  func (s *GoogleCloudDialogflowV2beta1IntentMessageMediaContent) MarshalJSON() ([]byte, error) {
 16330  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageMediaContent
 16331  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16332  }
 16333  
 16334  // GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject:
 16335  // Response media object for media content card.
 16336  type GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject struct {
 16337  	// ContentUrl: Required. Url where the media is stored.
 16338  	ContentUrl string `json:"contentUrl,omitempty"`
 16339  	// Description: Optional. Description of media card.
 16340  	Description string `json:"description,omitempty"`
 16341  	// Icon: Optional. Icon to display above media content.
 16342  	Icon *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"icon,omitempty"`
 16343  	// LargeImage: Optional. Image to display above media content.
 16344  	LargeImage *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"largeImage,omitempty"`
 16345  	// Name: Required. Name of media card.
 16346  	Name string `json:"name,omitempty"`
 16347  	// ForceSendFields is a list of field names (e.g. "ContentUrl") to
 16348  	// unconditionally include in API requests. By default, fields with empty or
 16349  	// default values are omitted from API requests. See
 16350  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16351  	// details.
 16352  	ForceSendFields []string `json:"-"`
 16353  	// NullFields is a list of field names (e.g. "ContentUrl") to include in API
 16354  	// requests with the JSON null value. By default, fields with empty values are
 16355  	// omitted from API requests. See
 16356  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16357  	NullFields []string `json:"-"`
 16358  }
 16359  
 16360  func (s *GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject) MarshalJSON() ([]byte, error) {
 16361  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageMediaContentResponseMediaObject
 16362  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16363  }
 16364  
 16365  // GoogleCloudDialogflowV2beta1IntentMessageQuickReplies: The quick replies
 16366  // response message.
 16367  type GoogleCloudDialogflowV2beta1IntentMessageQuickReplies struct {
 16368  	// QuickReplies: Optional. The collection of quick replies.
 16369  	QuickReplies []string `json:"quickReplies,omitempty"`
 16370  	// Title: Optional. The title of the collection of quick replies.
 16371  	Title string `json:"title,omitempty"`
 16372  	// ForceSendFields is a list of field names (e.g. "QuickReplies") to
 16373  	// unconditionally include in API requests. By default, fields with empty or
 16374  	// default values are omitted from API requests. See
 16375  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16376  	// details.
 16377  	ForceSendFields []string `json:"-"`
 16378  	// NullFields is a list of field names (e.g. "QuickReplies") to include in API
 16379  	// requests with the JSON null value. By default, fields with empty values are
 16380  	// omitted from API requests. See
 16381  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16382  	NullFields []string `json:"-"`
 16383  }
 16384  
 16385  func (s *GoogleCloudDialogflowV2beta1IntentMessageQuickReplies) MarshalJSON() ([]byte, error) {
 16386  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageQuickReplies
 16387  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16388  }
 16389  
 16390  // GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent: Rich Business
 16391  // Messaging (RBM) Card content
 16392  type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent struct {
 16393  	// Description: Optional. Description of the card (at most 2000 bytes). At
 16394  	// least one of the title, description or media must be set.
 16395  	Description string `json:"description,omitempty"`
 16396  	// Media: Optional. However at least one of the title, description or media
 16397  	// must be set. Media (image, GIF or a video) to include in the card.
 16398  	Media *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia `json:"media,omitempty"`
 16399  	// Suggestions: Optional. List of suggestions to include in the card.
 16400  	Suggestions []*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion `json:"suggestions,omitempty"`
 16401  	// Title: Optional. Title of the card (at most 200 bytes). At least one of the
 16402  	// title, description or media must be set.
 16403  	Title string `json:"title,omitempty"`
 16404  	// ForceSendFields is a list of field names (e.g. "Description") to
 16405  	// unconditionally include in API requests. By default, fields with empty or
 16406  	// default values are omitted from API requests. See
 16407  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16408  	// details.
 16409  	ForceSendFields []string `json:"-"`
 16410  	// NullFields is a list of field names (e.g. "Description") to include in API
 16411  	// requests with the JSON null value. By default, fields with empty values are
 16412  	// omitted from API requests. See
 16413  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16414  	NullFields []string `json:"-"`
 16415  }
 16416  
 16417  func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent) MarshalJSON() ([]byte, error) {
 16418  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent
 16419  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16420  }
 16421  
 16422  // GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia: Rich
 16423  // Business Messaging (RBM) Media displayed in Cards The following media-types
 16424  // are currently supported: Image Types * image/jpeg * image/jpg' * image/gif *
 16425  // image/png Video Types * video/h263 * video/m4v * video/mp4 * video/mpeg *
 16426  // video/mpeg4 * video/webm
 16427  type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia struct {
 16428  	// FileUri: Required. Publicly reachable URI of the file. The RBM platform
 16429  	// determines the MIME type of the file from the content-type field in the HTTP
 16430  	// headers when the platform fetches the file. The content-type field must be
 16431  	// present and accurate in the HTTP response from the URL.
 16432  	FileUri string `json:"fileUri,omitempty"`
 16433  	// Height: Required for cards with vertical orientation. The height of the
 16434  	// media within a rich card with a vertical layout. For a standalone card with
 16435  	// horizontal layout, height is not customizable, and this field is ignored.
 16436  	//
 16437  	// Possible values:
 16438  	//   "HEIGHT_UNSPECIFIED" - Not specified.
 16439  	//   "SHORT" - 112 DP.
 16440  	//   "MEDIUM" - 168 DP.
 16441  	//   "TALL" - 264 DP. Not available for rich card carousels when the card width
 16442  	// is set to small.
 16443  	Height string `json:"height,omitempty"`
 16444  	// ThumbnailUri: Optional. Publicly reachable URI of the thumbnail.If you don't
 16445  	// provide a thumbnail URI, the RBM platform displays a blank placeholder
 16446  	// thumbnail until the user's device downloads the file. Depending on the
 16447  	// user's setting, the file may not download automatically and may require the
 16448  	// user to tap a download button.
 16449  	ThumbnailUri string `json:"thumbnailUri,omitempty"`
 16450  	// ForceSendFields is a list of field names (e.g. "FileUri") to unconditionally
 16451  	// include in API requests. By default, fields with empty or default values are
 16452  	// omitted from API requests. See
 16453  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16454  	// details.
 16455  	ForceSendFields []string `json:"-"`
 16456  	// NullFields is a list of field names (e.g. "FileUri") to include in API
 16457  	// requests with the JSON null value. By default, fields with empty values are
 16458  	// omitted from API requests. See
 16459  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16460  	NullFields []string `json:"-"`
 16461  }
 16462  
 16463  func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia) MarshalJSON() ([]byte, error) {
 16464  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia
 16465  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16466  }
 16467  
 16468  // GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard: Carousel Rich
 16469  // Business Messaging (RBM) rich card. Rich cards allow you to respond to users
 16470  // with more vivid content, e.g. with media and suggestions. If you want to
 16471  // show a single card with more control over the layout, please use
 16472  // RbmStandaloneCard instead.
 16473  type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard struct {
 16474  	// CardContents: Required. The cards in the carousel. A carousel must have at
 16475  	// least 2 cards and at most 10.
 16476  	CardContents []*GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent `json:"cardContents,omitempty"`
 16477  	// CardWidth: Required. The width of the cards in the carousel.
 16478  	//
 16479  	// Possible values:
 16480  	//   "CARD_WIDTH_UNSPECIFIED" - Not specified.
 16481  	//   "SMALL" - 120 DP. Note that tall media cannot be used.
 16482  	//   "MEDIUM" - 232 DP.
 16483  	CardWidth string `json:"cardWidth,omitempty"`
 16484  	// ForceSendFields is a list of field names (e.g. "CardContents") to
 16485  	// unconditionally include in API requests. By default, fields with empty or
 16486  	// default values are omitted from API requests. See
 16487  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16488  	// details.
 16489  	ForceSendFields []string `json:"-"`
 16490  	// NullFields is a list of field names (e.g. "CardContents") to include in API
 16491  	// requests with the JSON null value. By default, fields with empty values are
 16492  	// omitted from API requests. See
 16493  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16494  	NullFields []string `json:"-"`
 16495  }
 16496  
 16497  func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard) MarshalJSON() ([]byte, error) {
 16498  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
 16499  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16500  }
 16501  
 16502  // GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard: Standalone Rich
 16503  // Business Messaging (RBM) rich card. Rich cards allow you to respond to users
 16504  // with more vivid content, e.g. with media and suggestions. You can group
 16505  // multiple rich cards into one using RbmCarouselCard but carousel cards will
 16506  // give you less control over the card layout.
 16507  type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard struct {
 16508  	// CardContent: Required. Card content.
 16509  	CardContent *GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent `json:"cardContent,omitempty"`
 16510  	// CardOrientation: Required. Orientation of the card.
 16511  	//
 16512  	// Possible values:
 16513  	//   "CARD_ORIENTATION_UNSPECIFIED" - Not specified.
 16514  	//   "HORIZONTAL" - Horizontal layout.
 16515  	//   "VERTICAL" - Vertical layout.
 16516  	CardOrientation string `json:"cardOrientation,omitempty"`
 16517  	// ThumbnailImageAlignment: Required if orientation is horizontal. Image
 16518  	// preview alignment for standalone cards with horizontal layout.
 16519  	//
 16520  	// Possible values:
 16521  	//   "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED" - Not specified.
 16522  	//   "LEFT" - Thumbnail preview is left-aligned.
 16523  	//   "RIGHT" - Thumbnail preview is right-aligned.
 16524  	ThumbnailImageAlignment string `json:"thumbnailImageAlignment,omitempty"`
 16525  	// ForceSendFields is a list of field names (e.g. "CardContent") to
 16526  	// unconditionally include in API requests. By default, fields with empty or
 16527  	// default values are omitted from API requests. See
 16528  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16529  	// details.
 16530  	ForceSendFields []string `json:"-"`
 16531  	// NullFields is a list of field names (e.g. "CardContent") to include in API
 16532  	// requests with the JSON null value. By default, fields with empty values are
 16533  	// omitted from API requests. See
 16534  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16535  	NullFields []string `json:"-"`
 16536  }
 16537  
 16538  func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard) MarshalJSON() ([]byte, error) {
 16539  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard
 16540  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16541  }
 16542  
 16543  // GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction: Rich Business
 16544  // Messaging (RBM) suggested client-side action that the user can choose from
 16545  // the card.
 16546  type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction struct {
 16547  	// Dial: Suggested client side action: Dial a phone number
 16548  	Dial *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial `json:"dial,omitempty"`
 16549  	// OpenUrl: Suggested client side action: Open a URI on device
 16550  	OpenUrl *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri `json:"openUrl,omitempty"`
 16551  	// PostbackData: Opaque payload that the Dialogflow receives in a user event
 16552  	// when the user taps the suggested action. This data will be also forwarded to
 16553  	// webhook to allow performing custom business logic.
 16554  	PostbackData string `json:"postbackData,omitempty"`
 16555  	// ShareLocation: Suggested client side action: Share user location
 16556  	ShareLocation *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation `json:"shareLocation,omitempty"`
 16557  	// Text: Text to display alongside the action.
 16558  	Text string `json:"text,omitempty"`
 16559  	// ForceSendFields is a list of field names (e.g. "Dial") to unconditionally
 16560  	// include in API requests. By default, fields with empty or default values are
 16561  	// omitted from API requests. See
 16562  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16563  	// details.
 16564  	ForceSendFields []string `json:"-"`
 16565  	// NullFields is a list of field names (e.g. "Dial") to include in API requests
 16566  	// with the JSON null value. By default, fields with empty values are omitted
 16567  	// from API requests. See
 16568  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16569  	NullFields []string `json:"-"`
 16570  }
 16571  
 16572  func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction) MarshalJSON() ([]byte, error) {
 16573  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction
 16574  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16575  }
 16576  
 16577  // GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedAction
 16578  // Dial: Opens the user's default dialer app with the specified phone number
 16579  // but does not dial automatically.
 16580  type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial struct {
 16581  	// PhoneNumber: Required. The phone number to fill in the default dialer app.
 16582  	// This field should be in E.164 (https://en.wikipedia.org/wiki/E.164) format.
 16583  	// An example of a correctly formatted phone number: +15556767888.
 16584  	PhoneNumber string `json:"phoneNumber,omitempty"`
 16585  	// ForceSendFields is a list of field names (e.g. "PhoneNumber") to
 16586  	// unconditionally include in API requests. By default, fields with empty or
 16587  	// default values are omitted from API requests. See
 16588  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16589  	// details.
 16590  	ForceSendFields []string `json:"-"`
 16591  	// NullFields is a list of field names (e.g. "PhoneNumber") to include in API
 16592  	// requests with the JSON null value. By default, fields with empty values are
 16593  	// omitted from API requests. See
 16594  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16595  	NullFields []string `json:"-"`
 16596  }
 16597  
 16598  func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial) MarshalJSON() ([]byte, error) {
 16599  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial
 16600  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16601  }
 16602  
 16603  // GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedAction
 16604  // OpenUri: Opens the user's default web browser app to the specified uri If
 16605  // the user has an app installed that is registered as the default handler for
 16606  // the URL, then this app will be opened instead, and its icon will be used in
 16607  // the suggested action UI.
 16608  type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri struct {
 16609  	// Uri: Required. The uri to open on the user device
 16610  	Uri string `json:"uri,omitempty"`
 16611  	// ForceSendFields is a list of field names (e.g. "Uri") to unconditionally
 16612  	// include in API requests. By default, fields with empty or default values are
 16613  	// omitted from API requests. See
 16614  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16615  	// details.
 16616  	ForceSendFields []string `json:"-"`
 16617  	// NullFields is a list of field names (e.g. "Uri") to include in API requests
 16618  	// with the JSON null value. By default, fields with empty values are omitted
 16619  	// from API requests. See
 16620  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16621  	NullFields []string `json:"-"`
 16622  }
 16623  
 16624  func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri) MarshalJSON() ([]byte, error) {
 16625  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri
 16626  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16627  }
 16628  
 16629  // GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedAction
 16630  // ShareLocation: Opens the device's location chooser so the user can pick a
 16631  // location to send back to the agent.
 16632  type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation struct {
 16633  }
 16634  
 16635  // GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply: Rich Business
 16636  // Messaging (RBM) suggested reply that the user can click instead of typing in
 16637  // their own response.
 16638  type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply struct {
 16639  	// PostbackData: Opaque payload that the Dialogflow receives in a user event
 16640  	// when the user taps the suggested reply. This data will be also forwarded to
 16641  	// webhook to allow performing custom business logic.
 16642  	PostbackData string `json:"postbackData,omitempty"`
 16643  	// Text: Suggested reply text.
 16644  	Text string `json:"text,omitempty"`
 16645  	// ForceSendFields is a list of field names (e.g. "PostbackData") to
 16646  	// unconditionally include in API requests. By default, fields with empty or
 16647  	// default values are omitted from API requests. See
 16648  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16649  	// details.
 16650  	ForceSendFields []string `json:"-"`
 16651  	// NullFields is a list of field names (e.g. "PostbackData") to include in API
 16652  	// requests with the JSON null value. By default, fields with empty values are
 16653  	// omitted from API requests. See
 16654  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16655  	NullFields []string `json:"-"`
 16656  }
 16657  
 16658  func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply) MarshalJSON() ([]byte, error) {
 16659  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply
 16660  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16661  }
 16662  
 16663  // GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion: Rich Business
 16664  // Messaging (RBM) suggestion. Suggestions allow user to easily select/click a
 16665  // predefined response or perform an action (like opening a web uri).
 16666  type GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion struct {
 16667  	// Action: Predefined client side actions that user can choose
 16668  	Action *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedAction `json:"action,omitempty"`
 16669  	// Reply: Predefined replies for user to select instead of typing
 16670  	Reply *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedReply `json:"reply,omitempty"`
 16671  	// ForceSendFields is a list of field names (e.g. "Action") to unconditionally
 16672  	// include in API requests. By default, fields with empty or default values are
 16673  	// omitted from API requests. See
 16674  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16675  	// details.
 16676  	ForceSendFields []string `json:"-"`
 16677  	// NullFields is a list of field names (e.g. "Action") to include in API
 16678  	// requests with the JSON null value. By default, fields with empty values are
 16679  	// omitted from API requests. See
 16680  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16681  	NullFields []string `json:"-"`
 16682  }
 16683  
 16684  func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion) MarshalJSON() ([]byte, error) {
 16685  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion
 16686  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16687  }
 16688  
 16689  // GoogleCloudDialogflowV2beta1IntentMessageRbmText: Rich Business Messaging
 16690  // (RBM) text response with suggestions.
 16691  type GoogleCloudDialogflowV2beta1IntentMessageRbmText struct {
 16692  	// RbmSuggestion: Optional. One or more suggestions to show to the user.
 16693  	RbmSuggestion []*GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion `json:"rbmSuggestion,omitempty"`
 16694  	// Text: Required. Text sent and displayed to the user.
 16695  	Text string `json:"text,omitempty"`
 16696  	// ForceSendFields is a list of field names (e.g. "RbmSuggestion") to
 16697  	// unconditionally include in API requests. By default, fields with empty or
 16698  	// default values are omitted from API requests. See
 16699  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16700  	// details.
 16701  	ForceSendFields []string `json:"-"`
 16702  	// NullFields is a list of field names (e.g. "RbmSuggestion") to include in API
 16703  	// requests with the JSON null value. By default, fields with empty values are
 16704  	// omitted from API requests. See
 16705  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16706  	NullFields []string `json:"-"`
 16707  }
 16708  
 16709  func (s *GoogleCloudDialogflowV2beta1IntentMessageRbmText) MarshalJSON() ([]byte, error) {
 16710  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageRbmText
 16711  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16712  }
 16713  
 16714  // GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo: Additional info
 16715  // about the select item for when it is triggered in a dialog.
 16716  type GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo struct {
 16717  	// Key: Required. A unique key that will be sent back to the agent if this
 16718  	// response is given.
 16719  	Key string `json:"key,omitempty"`
 16720  	// Synonyms: Optional. A list of synonyms that can also be used to trigger this
 16721  	// item in dialog.
 16722  	Synonyms []string `json:"synonyms,omitempty"`
 16723  	// ForceSendFields is a list of field names (e.g. "Key") to unconditionally
 16724  	// include in API requests. By default, fields with empty or default values are
 16725  	// omitted from API requests. See
 16726  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16727  	// details.
 16728  	ForceSendFields []string `json:"-"`
 16729  	// NullFields is a list of field names (e.g. "Key") to include in API requests
 16730  	// with the JSON null value. By default, fields with empty values are omitted
 16731  	// from API requests. See
 16732  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16733  	NullFields []string `json:"-"`
 16734  }
 16735  
 16736  func (s *GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo) MarshalJSON() ([]byte, error) {
 16737  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSelectItemInfo
 16738  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16739  }
 16740  
 16741  // GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse: The simple response
 16742  // message containing speech or text.
 16743  type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse struct {
 16744  	// DisplayText: Optional. The text to display.
 16745  	DisplayText string `json:"displayText,omitempty"`
 16746  	// Ssml: One of text_to_speech or ssml must be provided. Structured spoken
 16747  	// response to the user in the SSML format. Mutually exclusive with
 16748  	// text_to_speech.
 16749  	Ssml string `json:"ssml,omitempty"`
 16750  	// TextToSpeech: One of text_to_speech or ssml must be provided. The plain text
 16751  	// of the speech output. Mutually exclusive with ssml.
 16752  	TextToSpeech string `json:"textToSpeech,omitempty"`
 16753  	// ForceSendFields is a list of field names (e.g. "DisplayText") to
 16754  	// unconditionally include in API requests. By default, fields with empty or
 16755  	// default values are omitted from API requests. See
 16756  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16757  	// details.
 16758  	ForceSendFields []string `json:"-"`
 16759  	// NullFields is a list of field names (e.g. "DisplayText") to include in API
 16760  	// requests with the JSON null value. By default, fields with empty values are
 16761  	// omitted from API requests. See
 16762  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16763  	NullFields []string `json:"-"`
 16764  }
 16765  
 16766  func (s *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse) MarshalJSON() ([]byte, error) {
 16767  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse
 16768  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16769  }
 16770  
 16771  // GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses: The collection of
 16772  // simple response candidates. This message in
 16773  // `QueryResult.fulfillment_messages` and
 16774  // `WebhookResponse.fulfillment_messages` should contain only one
 16775  // `SimpleResponse`.
 16776  type GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses struct {
 16777  	// SimpleResponses: Required. The list of simple responses.
 16778  	SimpleResponses []*GoogleCloudDialogflowV2beta1IntentMessageSimpleResponse `json:"simpleResponses,omitempty"`
 16779  	// ForceSendFields is a list of field names (e.g. "SimpleResponses") to
 16780  	// unconditionally include in API requests. By default, fields with empty or
 16781  	// default values are omitted from API requests. See
 16782  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16783  	// details.
 16784  	ForceSendFields []string `json:"-"`
 16785  	// NullFields is a list of field names (e.g. "SimpleResponses") to include in
 16786  	// API requests with the JSON null value. By default, fields with empty values
 16787  	// are omitted from API requests. See
 16788  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16789  	NullFields []string `json:"-"`
 16790  }
 16791  
 16792  func (s *GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses) MarshalJSON() ([]byte, error) {
 16793  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSimpleResponses
 16794  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16795  }
 16796  
 16797  // GoogleCloudDialogflowV2beta1IntentMessageSuggestion: The suggestion chip
 16798  // message that the user can tap to quickly post a reply to the conversation.
 16799  type GoogleCloudDialogflowV2beta1IntentMessageSuggestion struct {
 16800  	// Title: Required. The text shown the in the suggestion chip.
 16801  	Title string `json:"title,omitempty"`
 16802  	// ForceSendFields is a list of field names (e.g. "Title") to unconditionally
 16803  	// include in API requests. By default, fields with empty or default values are
 16804  	// omitted from API requests. See
 16805  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16806  	// details.
 16807  	ForceSendFields []string `json:"-"`
 16808  	// NullFields is a list of field names (e.g. "Title") to include in API
 16809  	// requests with the JSON null value. By default, fields with empty values are
 16810  	// omitted from API requests. See
 16811  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16812  	NullFields []string `json:"-"`
 16813  }
 16814  
 16815  func (s *GoogleCloudDialogflowV2beta1IntentMessageSuggestion) MarshalJSON() ([]byte, error) {
 16816  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSuggestion
 16817  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16818  }
 16819  
 16820  // GoogleCloudDialogflowV2beta1IntentMessageSuggestions: The collection of
 16821  // suggestions.
 16822  type GoogleCloudDialogflowV2beta1IntentMessageSuggestions struct {
 16823  	// Suggestions: Required. The list of suggested replies.
 16824  	Suggestions []*GoogleCloudDialogflowV2beta1IntentMessageSuggestion `json:"suggestions,omitempty"`
 16825  	// ForceSendFields is a list of field names (e.g. "Suggestions") to
 16826  	// unconditionally include in API requests. By default, fields with empty or
 16827  	// default values are omitted from API requests. See
 16828  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16829  	// details.
 16830  	ForceSendFields []string `json:"-"`
 16831  	// NullFields is a list of field names (e.g. "Suggestions") to include in API
 16832  	// requests with the JSON null value. By default, fields with empty values are
 16833  	// omitted from API requests. See
 16834  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16835  	NullFields []string `json:"-"`
 16836  }
 16837  
 16838  func (s *GoogleCloudDialogflowV2beta1IntentMessageSuggestions) MarshalJSON() ([]byte, error) {
 16839  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageSuggestions
 16840  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16841  }
 16842  
 16843  // GoogleCloudDialogflowV2beta1IntentMessageTableCard: Table card for Actions
 16844  // on Google.
 16845  type GoogleCloudDialogflowV2beta1IntentMessageTableCard struct {
 16846  	// Buttons: Optional. List of buttons for the card.
 16847  	Buttons []*GoogleCloudDialogflowV2beta1IntentMessageBasicCardButton `json:"buttons,omitempty"`
 16848  	// ColumnProperties: Optional. Display properties for the columns in this
 16849  	// table.
 16850  	ColumnProperties []*GoogleCloudDialogflowV2beta1IntentMessageColumnProperties `json:"columnProperties,omitempty"`
 16851  	// Image: Optional. Image which should be displayed on the card.
 16852  	Image *GoogleCloudDialogflowV2beta1IntentMessageImage `json:"image,omitempty"`
 16853  	// Rows: Optional. Rows in this table of data.
 16854  	Rows []*GoogleCloudDialogflowV2beta1IntentMessageTableCardRow `json:"rows,omitempty"`
 16855  	// Subtitle: Optional. Subtitle to the title.
 16856  	Subtitle string `json:"subtitle,omitempty"`
 16857  	// Title: Required. Title of the card.
 16858  	Title string `json:"title,omitempty"`
 16859  	// ForceSendFields is a list of field names (e.g. "Buttons") to unconditionally
 16860  	// include in API requests. By default, fields with empty or default values are
 16861  	// omitted from API requests. See
 16862  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16863  	// details.
 16864  	ForceSendFields []string `json:"-"`
 16865  	// NullFields is a list of field names (e.g. "Buttons") to include in API
 16866  	// requests with the JSON null value. By default, fields with empty values are
 16867  	// omitted from API requests. See
 16868  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16869  	NullFields []string `json:"-"`
 16870  }
 16871  
 16872  func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCard) MarshalJSON() ([]byte, error) {
 16873  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCard
 16874  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16875  }
 16876  
 16877  // GoogleCloudDialogflowV2beta1IntentMessageTableCardCell: Cell of
 16878  // TableCardRow.
 16879  type GoogleCloudDialogflowV2beta1IntentMessageTableCardCell struct {
 16880  	// Text: Required. Text in this cell.
 16881  	Text string `json:"text,omitempty"`
 16882  	// ForceSendFields is a list of field names (e.g. "Text") to unconditionally
 16883  	// include in API requests. By default, fields with empty or default values are
 16884  	// omitted from API requests. See
 16885  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16886  	// details.
 16887  	ForceSendFields []string `json:"-"`
 16888  	// NullFields is a list of field names (e.g. "Text") to include in API requests
 16889  	// with the JSON null value. By default, fields with empty values are omitted
 16890  	// from API requests. See
 16891  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16892  	NullFields []string `json:"-"`
 16893  }
 16894  
 16895  func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCardCell) MarshalJSON() ([]byte, error) {
 16896  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCardCell
 16897  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16898  }
 16899  
 16900  // GoogleCloudDialogflowV2beta1IntentMessageTableCardRow: Row of TableCard.
 16901  type GoogleCloudDialogflowV2beta1IntentMessageTableCardRow struct {
 16902  	// Cells: Optional. List of cells that make up this row.
 16903  	Cells []*GoogleCloudDialogflowV2beta1IntentMessageTableCardCell `json:"cells,omitempty"`
 16904  	// DividerAfter: Optional. Whether to add a visual divider after this row.
 16905  	DividerAfter bool `json:"dividerAfter,omitempty"`
 16906  	// ForceSendFields is a list of field names (e.g. "Cells") to unconditionally
 16907  	// include in API requests. By default, fields with empty or default values are
 16908  	// omitted from API requests. See
 16909  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16910  	// details.
 16911  	ForceSendFields []string `json:"-"`
 16912  	// NullFields is a list of field names (e.g. "Cells") to include in API
 16913  	// requests with the JSON null value. By default, fields with empty values are
 16914  	// omitted from API requests. See
 16915  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16916  	NullFields []string `json:"-"`
 16917  }
 16918  
 16919  func (s *GoogleCloudDialogflowV2beta1IntentMessageTableCardRow) MarshalJSON() ([]byte, error) {
 16920  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTableCardRow
 16921  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16922  }
 16923  
 16924  // GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio: Plays audio
 16925  // from a file in Telephony Gateway.
 16926  type GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio struct {
 16927  	// AudioUri: Required. URI to a Google Cloud Storage object containing the
 16928  	// audio to play, e.g., "gs://bucket/object". The object must contain a single
 16929  	// channel (mono) of linear PCM audio (2 bytes / sample) at 8kHz. This object
 16930  	// must be readable by the `service-@gcp-sa-dialogflow.iam.gserviceaccount.com`
 16931  	// service account where is the number of the Telephony Gateway project
 16932  	// (usually the same as the Dialogflow agent project). If the Google Cloud
 16933  	// Storage bucket is in the Telephony Gateway project, this permission is added
 16934  	// by default when enabling the Dialogflow V2 API. For audio from other
 16935  	// sources, consider using the `TelephonySynthesizeSpeech` message with SSML.
 16936  	AudioUri string `json:"audioUri,omitempty"`
 16937  	// ForceSendFields is a list of field names (e.g. "AudioUri") to
 16938  	// unconditionally include in API requests. By default, fields with empty or
 16939  	// default values are omitted from API requests. See
 16940  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16941  	// details.
 16942  	ForceSendFields []string `json:"-"`
 16943  	// NullFields is a list of field names (e.g. "AudioUri") to include in API
 16944  	// requests with the JSON null value. By default, fields with empty values are
 16945  	// omitted from API requests. See
 16946  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16947  	NullFields []string `json:"-"`
 16948  }
 16949  
 16950  func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio) MarshalJSON() ([]byte, error) {
 16951  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonyPlayAudio
 16952  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16953  }
 16954  
 16955  // GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech:
 16956  // Synthesizes speech and plays back the synthesized audio to the caller in
 16957  // Telephony Gateway. Telephony Gateway takes the synthesizer settings from
 16958  // `DetectIntentResponse.output_audio_config` which can either be set at
 16959  // request-level or can come from the agent-level synthesizer config.
 16960  type GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech struct {
 16961  	// Ssml: The SSML to be synthesized. For more information, see SSML
 16962  	// (https://developers.google.com/actions/reference/ssml).
 16963  	Ssml string `json:"ssml,omitempty"`
 16964  	// Text: The raw text to be synthesized.
 16965  	Text string `json:"text,omitempty"`
 16966  	// ForceSendFields is a list of field names (e.g. "Ssml") to unconditionally
 16967  	// include in API requests. By default, fields with empty or default values are
 16968  	// omitted from API requests. See
 16969  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16970  	// details.
 16971  	ForceSendFields []string `json:"-"`
 16972  	// NullFields is a list of field names (e.g. "Ssml") to include in API requests
 16973  	// with the JSON null value. By default, fields with empty values are omitted
 16974  	// from API requests. See
 16975  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 16976  	NullFields []string `json:"-"`
 16977  }
 16978  
 16979  func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech) MarshalJSON() ([]byte, error) {
 16980  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonySynthesizeSpeech
 16981  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 16982  }
 16983  
 16984  // GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall: Transfers
 16985  // the call in Telephony Gateway.
 16986  type GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall struct {
 16987  	// PhoneNumber: Required. The phone number to transfer the call to in E.164
 16988  	// format (https://en.wikipedia.org/wiki/E.164). We currently only allow
 16989  	// transferring to US numbers (+1xxxyyyzzzz).
 16990  	PhoneNumber string `json:"phoneNumber,omitempty"`
 16991  	// ForceSendFields is a list of field names (e.g. "PhoneNumber") to
 16992  	// unconditionally include in API requests. By default, fields with empty or
 16993  	// default values are omitted from API requests. See
 16994  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 16995  	// details.
 16996  	ForceSendFields []string `json:"-"`
 16997  	// NullFields is a list of field names (e.g. "PhoneNumber") to include in API
 16998  	// requests with the JSON null value. By default, fields with empty values are
 16999  	// omitted from API requests. See
 17000  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17001  	NullFields []string `json:"-"`
 17002  }
 17003  
 17004  func (s *GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall) MarshalJSON() ([]byte, error) {
 17005  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageTelephonyTransferCall
 17006  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17007  }
 17008  
 17009  // GoogleCloudDialogflowV2beta1IntentMessageText: The text response message.
 17010  type GoogleCloudDialogflowV2beta1IntentMessageText struct {
 17011  	// Text: Optional. The collection of the agent's responses.
 17012  	Text []string `json:"text,omitempty"`
 17013  	// ForceSendFields is a list of field names (e.g. "Text") to unconditionally
 17014  	// include in API requests. By default, fields with empty or default values are
 17015  	// omitted from API requests. See
 17016  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17017  	// details.
 17018  	ForceSendFields []string `json:"-"`
 17019  	// NullFields is a list of field names (e.g. "Text") to include in API requests
 17020  	// with the JSON null value. By default, fields with empty values are omitted
 17021  	// from API requests. See
 17022  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17023  	NullFields []string `json:"-"`
 17024  }
 17025  
 17026  func (s *GoogleCloudDialogflowV2beta1IntentMessageText) MarshalJSON() ([]byte, error) {
 17027  	type NoMethod GoogleCloudDialogflowV2beta1IntentMessageText
 17028  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17029  }
 17030  
 17031  // GoogleCloudDialogflowV2beta1IntentParameter: Represents intent parameters.
 17032  type GoogleCloudDialogflowV2beta1IntentParameter struct {
 17033  	// DefaultValue: Optional. The default value to use when the `value` yields an
 17034  	// empty result. Default values can be extracted from contexts by using the
 17035  	// following syntax: `#context_name.parameter_name`.
 17036  	DefaultValue string `json:"defaultValue,omitempty"`
 17037  	// DisplayName: Required. The name of the parameter.
 17038  	DisplayName string `json:"displayName,omitempty"`
 17039  	// EntityTypeDisplayName: Optional. The name of the entity type, prefixed with
 17040  	// `@`, that describes values of the parameter. If the parameter is required,
 17041  	// this must be provided.
 17042  	EntityTypeDisplayName string `json:"entityTypeDisplayName,omitempty"`
 17043  	// IsList: Optional. Indicates whether the parameter represents a list of
 17044  	// values.
 17045  	IsList bool `json:"isList,omitempty"`
 17046  	// Mandatory: Optional. Indicates whether the parameter is required. That is,
 17047  	// whether the intent cannot be completed without collecting the parameter
 17048  	// value.
 17049  	Mandatory bool `json:"mandatory,omitempty"`
 17050  	// Name: The unique identifier of this parameter.
 17051  	Name string `json:"name,omitempty"`
 17052  	// Prompts: Optional. The collection of prompts that the agent can present to
 17053  	// the user in order to collect a value for the parameter.
 17054  	Prompts []string `json:"prompts,omitempty"`
 17055  	// Value: Optional. The definition of the parameter value. It can be: - a
 17056  	// constant string, - a parameter value defined as `$parameter_name`, - an
 17057  	// original parameter value defined as `$parameter_name.original`, - a
 17058  	// parameter value from some context defined as `#context_name.parameter_name`.
 17059  	Value string `json:"value,omitempty"`
 17060  	// ForceSendFields is a list of field names (e.g. "DefaultValue") to
 17061  	// unconditionally include in API requests. By default, fields with empty or
 17062  	// default values are omitted from API requests. See
 17063  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17064  	// details.
 17065  	ForceSendFields []string `json:"-"`
 17066  	// NullFields is a list of field names (e.g. "DefaultValue") to include in API
 17067  	// requests with the JSON null value. By default, fields with empty values are
 17068  	// omitted from API requests. See
 17069  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17070  	NullFields []string `json:"-"`
 17071  }
 17072  
 17073  func (s *GoogleCloudDialogflowV2beta1IntentParameter) MarshalJSON() ([]byte, error) {
 17074  	type NoMethod GoogleCloudDialogflowV2beta1IntentParameter
 17075  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17076  }
 17077  
 17078  // GoogleCloudDialogflowV2beta1IntentSuggestion: Represents an intent
 17079  // suggestion.
 17080  type GoogleCloudDialogflowV2beta1IntentSuggestion struct {
 17081  	// Description: Human readable description for better understanding an intent
 17082  	// like its scope, content, result etc. Maximum character limit: 140
 17083  	// characters.
 17084  	Description string `json:"description,omitempty"`
 17085  	// DisplayName: The display name of the intent.
 17086  	DisplayName string `json:"displayName,omitempty"`
 17087  	// IntentV2: The unique identifier of this intent. Format:
 17088  	// `projects//locations//agent/intents/`.
 17089  	IntentV2 string `json:"intentV2,omitempty"`
 17090  	// ForceSendFields is a list of field names (e.g. "Description") to
 17091  	// unconditionally include in API requests. By default, fields with empty or
 17092  	// default values are omitted from API requests. See
 17093  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17094  	// details.
 17095  	ForceSendFields []string `json:"-"`
 17096  	// NullFields is a list of field names (e.g. "Description") to include in API
 17097  	// requests with the JSON null value. By default, fields with empty values are
 17098  	// omitted from API requests. See
 17099  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17100  	NullFields []string `json:"-"`
 17101  }
 17102  
 17103  func (s *GoogleCloudDialogflowV2beta1IntentSuggestion) MarshalJSON() ([]byte, error) {
 17104  	type NoMethod GoogleCloudDialogflowV2beta1IntentSuggestion
 17105  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17106  }
 17107  
 17108  // GoogleCloudDialogflowV2beta1IntentTrainingPhrase: Represents an example that
 17109  // the agent is trained on.
 17110  type GoogleCloudDialogflowV2beta1IntentTrainingPhrase struct {
 17111  	// Name: Output only. The unique identifier of this training phrase.
 17112  	Name string `json:"name,omitempty"`
 17113  	// Parts: Required. The ordered list of training phrase parts. The parts are
 17114  	// concatenated in order to form the training phrase. Note: The API does not
 17115  	// automatically annotate training phrases like the Dialogflow Console does.
 17116  	// Note: Do not forget to include whitespace at part boundaries, so the
 17117  	// training phrase is well formatted when the parts are concatenated. If the
 17118  	// training phrase does not need to be annotated with parameters, you just need
 17119  	// a single part with only the Part.text field set. If you want to annotate the
 17120  	// training phrase, you must create multiple parts, where the fields of each
 17121  	// part are populated in one of two ways: - `Part.text` is set to a part of the
 17122  	// phrase that has no parameters. - `Part.text` is set to a part of the phrase
 17123  	// that you want to annotate, and the `entity_type`, `alias`, and
 17124  	// `user_defined` fields are all set.
 17125  	Parts []*GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart `json:"parts,omitempty"`
 17126  	// TimesAddedCount: Optional. Indicates how many times this example was added
 17127  	// to the intent. Each time a developer adds an existing sample by editing an
 17128  	// intent or training, this counter is increased.
 17129  	TimesAddedCount int64 `json:"timesAddedCount,omitempty"`
 17130  	// Type: Required. The type of the training phrase.
 17131  	//
 17132  	// Possible values:
 17133  	//   "TYPE_UNSPECIFIED" - Not specified. This value should never be used.
 17134  	//   "EXAMPLE" - Examples do not contain @-prefixed entity type names, but
 17135  	// example parts can be annotated with entity types.
 17136  	//   "TEMPLATE" - Templates are not annotated with entity types, but they can
 17137  	// contain @-prefixed entity type names as substrings. Note: Template mode has
 17138  	// been deprecated. Example mode is the only supported way to create new
 17139  	// training phrases. If you have existing training phrases in template mode,
 17140  	// they will be removed during training and it can cause a drop in agent
 17141  	// performance.
 17142  	Type string `json:"type,omitempty"`
 17143  	// ForceSendFields is a list of field names (e.g. "Name") to unconditionally
 17144  	// include in API requests. By default, fields with empty or default values are
 17145  	// omitted from API requests. See
 17146  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17147  	// details.
 17148  	ForceSendFields []string `json:"-"`
 17149  	// NullFields is a list of field names (e.g. "Name") to include in API requests
 17150  	// with the JSON null value. By default, fields with empty values are omitted
 17151  	// from API requests. See
 17152  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17153  	NullFields []string `json:"-"`
 17154  }
 17155  
 17156  func (s *GoogleCloudDialogflowV2beta1IntentTrainingPhrase) MarshalJSON() ([]byte, error) {
 17157  	type NoMethod GoogleCloudDialogflowV2beta1IntentTrainingPhrase
 17158  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17159  }
 17160  
 17161  // GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart: Represents a part of a
 17162  // training phrase.
 17163  type GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart struct {
 17164  	// Alias: Optional. The parameter name for the value extracted from the
 17165  	// annotated part of the example. This field is required for annotated parts of
 17166  	// the training phrase.
 17167  	Alias string `json:"alias,omitempty"`
 17168  	// EntityType: Optional. The entity type name prefixed with `@`. This field is
 17169  	// required for annotated parts of the training phrase.
 17170  	EntityType string `json:"entityType,omitempty"`
 17171  	// Text: Required. The text for this part.
 17172  	Text string `json:"text,omitempty"`
 17173  	// UserDefined: Optional. Indicates whether the text was manually annotated.
 17174  	// This field is set to true when the Dialogflow Console is used to manually
 17175  	// annotate the part. When creating an annotated part with the API, you must
 17176  	// set this to true.
 17177  	UserDefined bool `json:"userDefined,omitempty"`
 17178  	// ForceSendFields is a list of field names (e.g. "Alias") to unconditionally
 17179  	// include in API requests. By default, fields with empty or default values are
 17180  	// omitted from API requests. See
 17181  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17182  	// details.
 17183  	ForceSendFields []string `json:"-"`
 17184  	// NullFields is a list of field names (e.g. "Alias") to include in API
 17185  	// requests with the JSON null value. By default, fields with empty values are
 17186  	// omitted from API requests. See
 17187  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17188  	NullFields []string `json:"-"`
 17189  }
 17190  
 17191  func (s *GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart) MarshalJSON() ([]byte, error) {
 17192  	type NoMethod GoogleCloudDialogflowV2beta1IntentTrainingPhrasePart
 17193  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17194  }
 17195  
 17196  // GoogleCloudDialogflowV2beta1KnowledgeAnswers: Represents the result of
 17197  // querying a Knowledge base.
 17198  type GoogleCloudDialogflowV2beta1KnowledgeAnswers struct {
 17199  	// Answers: A list of answers from Knowledge Connector.
 17200  	Answers []*GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer `json:"answers,omitempty"`
 17201  	// ForceSendFields is a list of field names (e.g. "Answers") to unconditionally
 17202  	// include in API requests. By default, fields with empty or default values are
 17203  	// omitted from API requests. See
 17204  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17205  	// details.
 17206  	ForceSendFields []string `json:"-"`
 17207  	// NullFields is a list of field names (e.g. "Answers") to include in API
 17208  	// requests with the JSON null value. By default, fields with empty values are
 17209  	// omitted from API requests. See
 17210  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17211  	NullFields []string `json:"-"`
 17212  }
 17213  
 17214  func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswers) MarshalJSON() ([]byte, error) {
 17215  	type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswers
 17216  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17217  }
 17218  
 17219  // GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer: An answer from Knowledge
 17220  // Connector.
 17221  type GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer struct {
 17222  	// Answer: The piece of text from the `source` knowledge base document that
 17223  	// answers this conversational query.
 17224  	Answer string `json:"answer,omitempty"`
 17225  	// FaqQuestion: The corresponding FAQ question if the answer was extracted from
 17226  	// a FAQ Document, empty otherwise.
 17227  	FaqQuestion string `json:"faqQuestion,omitempty"`
 17228  	// MatchConfidence: The system's confidence score that this Knowledge answer is
 17229  	// a good match for this conversational query. The range is from 0.0
 17230  	// (completely uncertain) to 1.0 (completely certain). Note: The confidence
 17231  	// score is likely to vary somewhat (possibly even for identical requests), as
 17232  	// the underlying model is under constant improvement. It may be deprecated in
 17233  	// the future. We recommend using `match_confidence_level` which should be
 17234  	// generally more stable.
 17235  	MatchConfidence float64 `json:"matchConfidence,omitempty"`
 17236  	// MatchConfidenceLevel: The system's confidence level that this knowledge
 17237  	// answer is a good match for this conversational query. NOTE: The confidence
 17238  	// level for a given `` pair may change without notice, as it depends on models
 17239  	// that are constantly being improved. However, it will change less frequently
 17240  	// than the confidence score below, and should be preferred for referencing the
 17241  	// quality of an answer.
 17242  	//
 17243  	// Possible values:
 17244  	//   "MATCH_CONFIDENCE_LEVEL_UNSPECIFIED" - Not specified.
 17245  	//   "LOW" - Indicates that the confidence is low.
 17246  	//   "MEDIUM" - Indicates our confidence is medium.
 17247  	//   "HIGH" - Indicates our confidence is high.
 17248  	MatchConfidenceLevel string `json:"matchConfidenceLevel,omitempty"`
 17249  	// Source: Indicates which Knowledge Document this answer was extracted from.
 17250  	// Format: `projects//knowledgeBases//documents/`.
 17251  	Source string `json:"source,omitempty"`
 17252  	// ForceSendFields is a list of field names (e.g. "Answer") to unconditionally
 17253  	// include in API requests. By default, fields with empty or default values are
 17254  	// omitted from API requests. See
 17255  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17256  	// details.
 17257  	ForceSendFields []string `json:"-"`
 17258  	// NullFields is a list of field names (e.g. "Answer") to include in API
 17259  	// requests with the JSON null value. By default, fields with empty values are
 17260  	// omitted from API requests. See
 17261  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17262  	NullFields []string `json:"-"`
 17263  }
 17264  
 17265  func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) MarshalJSON() ([]byte, error) {
 17266  	type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
 17267  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17268  }
 17269  
 17270  func (s *GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer) UnmarshalJSON(data []byte) error {
 17271  	type NoMethod GoogleCloudDialogflowV2beta1KnowledgeAnswersAnswer
 17272  	var s1 struct {
 17273  		MatchConfidence gensupport.JSONFloat64 `json:"matchConfidence"`
 17274  		*NoMethod
 17275  	}
 17276  	s1.NoMethod = (*NoMethod)(s)
 17277  	if err := json.Unmarshal(data, &s1); err != nil {
 17278  		return err
 17279  	}
 17280  	s.MatchConfidence = float64(s1.MatchConfidence)
 17281  	return nil
 17282  }
 17283  
 17284  // GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata: Metadata in
 17285  // google::longrunning::Operation for Knowledge operations.
 17286  type GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata struct {
 17287  	// ExportOperationMetadata: Metadata for the Export Data Operation such as the
 17288  	// destination of export.
 17289  	ExportOperationMetadata *GoogleCloudDialogflowV2beta1ExportOperationMetadata `json:"exportOperationMetadata,omitempty"`
 17290  	// KnowledgeBase: The name of the knowledge base interacted with during the
 17291  	// operation.
 17292  	KnowledgeBase string `json:"knowledgeBase,omitempty"`
 17293  	// State: Required. Output only. The current state of this operation.
 17294  	//
 17295  	// Possible values:
 17296  	//   "STATE_UNSPECIFIED" - State unspecified.
 17297  	//   "PENDING" - The operation has been created.
 17298  	//   "RUNNING" - The operation is currently running.
 17299  	//   "DONE" - The operation is done, either cancelled or completed.
 17300  	State string `json:"state,omitempty"`
 17301  	// ForceSendFields is a list of field names (e.g. "ExportOperationMetadata") to
 17302  	// unconditionally include in API requests. By default, fields with empty or
 17303  	// default values are omitted from API requests. See
 17304  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17305  	// details.
 17306  	ForceSendFields []string `json:"-"`
 17307  	// NullFields is a list of field names (e.g. "ExportOperationMetadata") to
 17308  	// include in API requests with the JSON null value. By default, fields with
 17309  	// empty values are omitted from API requests. See
 17310  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17311  	NullFields []string `json:"-"`
 17312  }
 17313  
 17314  func (s *GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata) MarshalJSON() ([]byte, error) {
 17315  	type NoMethod GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
 17316  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17317  }
 17318  
 17319  // GoogleCloudDialogflowV2beta1Message: Represents a message posted into a
 17320  // conversation.
 17321  type GoogleCloudDialogflowV2beta1Message struct {
 17322  	// Content: Required. The message content.
 17323  	Content string `json:"content,omitempty"`
 17324  	// CreateTime: Output only. The time when the message was created in Contact
 17325  	// Center AI.
 17326  	CreateTime string `json:"createTime,omitempty"`
 17327  	// LanguageCode: Optional. The message language. This should be a BCP-47
 17328  	// (https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. Example:
 17329  	// "en-US".
 17330  	LanguageCode string `json:"languageCode,omitempty"`
 17331  	// MessageAnnotation: Output only. The annotation for the message.
 17332  	MessageAnnotation *GoogleCloudDialogflowV2beta1MessageAnnotation `json:"messageAnnotation,omitempty"`
 17333  	// Name: Optional. The unique identifier of the message. Format:
 17334  	// `projects//locations//conversations//messages/`.
 17335  	Name string `json:"name,omitempty"`
 17336  	// Participant: Output only. The participant that sends this message.
 17337  	Participant string `json:"participant,omitempty"`
 17338  	// ParticipantRole: Output only. The role of the participant.
 17339  	//
 17340  	// Possible values:
 17341  	//   "ROLE_UNSPECIFIED" - Participant role not set.
 17342  	//   "HUMAN_AGENT" - Participant is a human agent.
 17343  	//   "AUTOMATED_AGENT" - Participant is an automated agent, such as a
 17344  	// Dialogflow agent.
 17345  	//   "END_USER" - Participant is an end user that has called or chatted with
 17346  	// Dialogflow services.
 17347  	ParticipantRole string `json:"participantRole,omitempty"`
 17348  	// SendTime: Optional. The time when the message was sent.
 17349  	SendTime string `json:"sendTime,omitempty"`
 17350  	// SentimentAnalysis: Output only. The sentiment analysis result for the
 17351  	// message.
 17352  	SentimentAnalysis *GoogleCloudDialogflowV2beta1SentimentAnalysisResult `json:"sentimentAnalysis,omitempty"`
 17353  	// ForceSendFields is a list of field names (e.g. "Content") to unconditionally
 17354  	// include in API requests. By default, fields with empty or default values are
 17355  	// omitted from API requests. See
 17356  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17357  	// details.
 17358  	ForceSendFields []string `json:"-"`
 17359  	// NullFields is a list of field names (e.g. "Content") to include in API
 17360  	// requests with the JSON null value. By default, fields with empty values are
 17361  	// omitted from API requests. See
 17362  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17363  	NullFields []string `json:"-"`
 17364  }
 17365  
 17366  func (s *GoogleCloudDialogflowV2beta1Message) MarshalJSON() ([]byte, error) {
 17367  	type NoMethod GoogleCloudDialogflowV2beta1Message
 17368  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17369  }
 17370  
 17371  // GoogleCloudDialogflowV2beta1MessageAnnotation: Represents the result of
 17372  // annotation for the message.
 17373  type GoogleCloudDialogflowV2beta1MessageAnnotation struct {
 17374  	// ContainEntities: Required. Indicates whether the text message contains
 17375  	// entities.
 17376  	ContainEntities bool `json:"containEntities,omitempty"`
 17377  	// Parts: Optional. The collection of annotated message parts ordered by their
 17378  	// position in the message. You can recover the annotated message by
 17379  	// concatenating [AnnotatedMessagePart.text].
 17380  	Parts []*GoogleCloudDialogflowV2beta1AnnotatedMessagePart `json:"parts,omitempty"`
 17381  	// ForceSendFields is a list of field names (e.g. "ContainEntities") to
 17382  	// unconditionally include in API requests. By default, fields with empty or
 17383  	// default values are omitted from API requests. See
 17384  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17385  	// details.
 17386  	ForceSendFields []string `json:"-"`
 17387  	// NullFields is a list of field names (e.g. "ContainEntities") to include in
 17388  	// API requests with the JSON null value. By default, fields with empty values
 17389  	// are omitted from API requests. See
 17390  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17391  	NullFields []string `json:"-"`
 17392  }
 17393  
 17394  func (s *GoogleCloudDialogflowV2beta1MessageAnnotation) MarshalJSON() ([]byte, error) {
 17395  	type NoMethod GoogleCloudDialogflowV2beta1MessageAnnotation
 17396  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17397  }
 17398  
 17399  // GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest: Represents the
 17400  // contents of the original request that was passed to the
 17401  // `[Streaming]DetectIntent` call.
 17402  type GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest struct {
 17403  	// Payload: Optional. This field is set to the value of the
 17404  	// `QueryParameters.payload` field passed in the request. Some integrations
 17405  	// that query a Dialogflow agent may provide additional information in the
 17406  	// payload. In particular, for the Dialogflow Phone Gateway integration, this
 17407  	// field has the form: { "telephony": { "caller_id": "+18558363987" } } Note:
 17408  	// The caller ID field (`caller_id`) will be redacted for Trial Edition agents
 17409  	// and populated with the caller ID in E.164 format
 17410  	// (https://en.wikipedia.org/wiki/E.164) for Essentials Edition agents.
 17411  	Payload googleapi.RawMessage `json:"payload,omitempty"`
 17412  	// Source: The source of this request, e.g., `google`, `facebook`, `slack`. It
 17413  	// is set by Dialogflow-owned servers.
 17414  	Source string `json:"source,omitempty"`
 17415  	// Version: Optional. The version of the protocol used for this request. This
 17416  	// field is AoG-specific.
 17417  	Version string `json:"version,omitempty"`
 17418  	// ForceSendFields is a list of field names (e.g. "Payload") to unconditionally
 17419  	// include in API requests. By default, fields with empty or default values are
 17420  	// omitted from API requests. See
 17421  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17422  	// details.
 17423  	ForceSendFields []string `json:"-"`
 17424  	// NullFields is a list of field names (e.g. "Payload") to include in API
 17425  	// requests with the JSON null value. By default, fields with empty values are
 17426  	// omitted from API requests. See
 17427  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17428  	NullFields []string `json:"-"`
 17429  }
 17430  
 17431  func (s *GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest) MarshalJSON() ([]byte, error) {
 17432  	type NoMethod GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
 17433  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17434  }
 17435  
 17436  // GoogleCloudDialogflowV2beta1QueryResult: Represents the result of
 17437  // conversational query or event processing.
 17438  type GoogleCloudDialogflowV2beta1QueryResult struct {
 17439  	// Action: The action name from the matched intent.
 17440  	Action string `json:"action,omitempty"`
 17441  	// AllRequiredParamsPresent: This field is set to: - `false` if the matched
 17442  	// intent has required parameters and not all of the required parameter values
 17443  	// have been collected. - `true` if all required parameter values have been
 17444  	// collected, or if the matched intent doesn't contain any required parameters.
 17445  	AllRequiredParamsPresent bool `json:"allRequiredParamsPresent,omitempty"`
 17446  	// CancelsSlotFilling: Indicates whether the conversational query triggers a
 17447  	// cancellation for slot filling. For more information, see the cancel slot
 17448  	// filling documentation
 17449  	// (https://cloud.google.com/dialogflow/es/docs/intents-actions-parameters#cancel).
 17450  	CancelsSlotFilling bool `json:"cancelsSlotFilling,omitempty"`
 17451  	// DiagnosticInfo: Free-form diagnostic information for the associated detect
 17452  	// intent request. The fields of this data can change without notice, so you
 17453  	// should not write code that depends on its structure. The data may contain: -
 17454  	// webhook call latency - webhook errors
 17455  	DiagnosticInfo googleapi.RawMessage `json:"diagnosticInfo,omitempty"`
 17456  	// FulfillmentMessages: The collection of rich messages to present to the user.
 17457  	FulfillmentMessages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"fulfillmentMessages,omitempty"`
 17458  	// FulfillmentText: The text to be pronounced to the user or shown on the
 17459  	// screen. Note: This is a legacy field, `fulfillment_messages` should be
 17460  	// preferred.
 17461  	FulfillmentText string `json:"fulfillmentText,omitempty"`
 17462  	// Intent: The intent that matched the conversational query. Some, not all
 17463  	// fields are filled in this message, including but not limited to: `name`,
 17464  	// `display_name`, `end_interaction` and `is_fallback`.
 17465  	Intent *GoogleCloudDialogflowV2beta1Intent `json:"intent,omitempty"`
 17466  	// IntentDetectionConfidence: The intent detection confidence. Values range
 17467  	// from 0.0 (completely uncertain) to 1.0 (completely certain). This value is
 17468  	// for informational purpose only and is only used to help match the best
 17469  	// intent within the classification threshold. This value may change for the
 17470  	// same end-user expression at any time due to a model retraining or change in
 17471  	// implementation. If there are `multiple knowledge_answers` messages, this
 17472  	// value is set to the greatest `knowledgeAnswers.match_confidence` value in
 17473  	// the list.
 17474  	IntentDetectionConfidence float64 `json:"intentDetectionConfidence,omitempty"`
 17475  	// KnowledgeAnswers: The result from Knowledge Connector (if any), ordered by
 17476  	// decreasing `KnowledgeAnswers.match_confidence`.
 17477  	KnowledgeAnswers *GoogleCloudDialogflowV2beta1KnowledgeAnswers `json:"knowledgeAnswers,omitempty"`
 17478  	// LanguageCode: The language that was triggered during intent detection. See
 17479  	// Language Support
 17480  	// (https://cloud.google.com/dialogflow/docs/reference/language) for a list of
 17481  	// the currently supported language codes.
 17482  	LanguageCode string `json:"languageCode,omitempty"`
 17483  	// OutputContexts: The collection of output contexts. If applicable,
 17484  	// `output_contexts.parameters` contains entries with name `.original`
 17485  	// containing the original parameter values before the query.
 17486  	OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"`
 17487  	// Parameters: The collection of extracted parameters. Depending on your
 17488  	// protocol or client library language, this is a map, associative array,
 17489  	// symbol table, dictionary, or JSON object composed of a collection of
 17490  	// (MapKey, MapValue) pairs: * MapKey type: string * MapKey value: parameter
 17491  	// name * MapValue type: If parameter's entity type is a composite entity then
 17492  	// use map, otherwise, depending on the parameter value type, it could be one
 17493  	// of string, number, boolean, null, list or map. * MapValue value: If
 17494  	// parameter's entity type is a composite entity then use map from composite
 17495  	// entity property names to property values, otherwise, use parameter value.
 17496  	Parameters googleapi.RawMessage `json:"parameters,omitempty"`
 17497  	// QueryText: The original conversational query text: - If natural language
 17498  	// text was provided as input, `query_text` contains a copy of the input. - If
 17499  	// natural language speech audio was provided as input, `query_text` contains
 17500  	// the speech recognition result. If speech recognizer produced multiple
 17501  	// alternatives, a particular one is picked. - If automatic spell correction is
 17502  	// enabled, `query_text` will contain the corrected user input.
 17503  	QueryText string `json:"queryText,omitempty"`
 17504  	// SentimentAnalysisResult: The sentiment analysis result, which depends on the
 17505  	// `sentiment_analysis_request_config` specified in the request.
 17506  	SentimentAnalysisResult *GoogleCloudDialogflowV2beta1SentimentAnalysisResult `json:"sentimentAnalysisResult,omitempty"`
 17507  	// SpeechRecognitionConfidence: The Speech recognition confidence between 0.0
 17508  	// and 1.0. A higher number indicates an estimated greater likelihood that the
 17509  	// recognized words are correct. The default of 0.0 is a sentinel value
 17510  	// indicating that confidence was not set. This field is not guaranteed to be
 17511  	// accurate or set. In particular this field isn't set for
 17512  	// StreamingDetectIntent since the streaming endpoint has separate confidence
 17513  	// estimates per portion of the audio in StreamingRecognitionResult.
 17514  	SpeechRecognitionConfidence float64 `json:"speechRecognitionConfidence,omitempty"`
 17515  	// WebhookPayload: If the query was fulfilled by a webhook call, this field is
 17516  	// set to the value of the `payload` field returned in the webhook response.
 17517  	WebhookPayload googleapi.RawMessage `json:"webhookPayload,omitempty"`
 17518  	// WebhookSource: If the query was fulfilled by a webhook call, this field is
 17519  	// set to the value of the `source` field returned in the webhook response.
 17520  	WebhookSource string `json:"webhookSource,omitempty"`
 17521  	// ForceSendFields is a list of field names (e.g. "Action") to unconditionally
 17522  	// include in API requests. By default, fields with empty or default values are
 17523  	// omitted from API requests. See
 17524  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17525  	// details.
 17526  	ForceSendFields []string `json:"-"`
 17527  	// NullFields is a list of field names (e.g. "Action") to include in API
 17528  	// requests with the JSON null value. By default, fields with empty values are
 17529  	// omitted from API requests. See
 17530  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17531  	NullFields []string `json:"-"`
 17532  }
 17533  
 17534  func (s *GoogleCloudDialogflowV2beta1QueryResult) MarshalJSON() ([]byte, error) {
 17535  	type NoMethod GoogleCloudDialogflowV2beta1QueryResult
 17536  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17537  }
 17538  
 17539  func (s *GoogleCloudDialogflowV2beta1QueryResult) UnmarshalJSON(data []byte) error {
 17540  	type NoMethod GoogleCloudDialogflowV2beta1QueryResult
 17541  	var s1 struct {
 17542  		IntentDetectionConfidence   gensupport.JSONFloat64 `json:"intentDetectionConfidence"`
 17543  		SpeechRecognitionConfidence gensupport.JSONFloat64 `json:"speechRecognitionConfidence"`
 17544  		*NoMethod
 17545  	}
 17546  	s1.NoMethod = (*NoMethod)(s)
 17547  	if err := json.Unmarshal(data, &s1); err != nil {
 17548  		return err
 17549  	}
 17550  	s.IntentDetectionConfidence = float64(s1.IntentDetectionConfidence)
 17551  	s.SpeechRecognitionConfidence = float64(s1.SpeechRecognitionConfidence)
 17552  	return nil
 17553  }
 17554  
 17555  // GoogleCloudDialogflowV2beta1Sentiment: The sentiment, such as
 17556  // positive/negative feeling or association, for a unit of analysis, such as
 17557  // the query text. See:
 17558  // https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values
 17559  // for how to interpret the result.
 17560  type GoogleCloudDialogflowV2beta1Sentiment struct {
 17561  	// Magnitude: A non-negative number in the [0, +inf) range, which represents
 17562  	// the absolute magnitude of sentiment, regardless of score (positive or
 17563  	// negative).
 17564  	Magnitude float64 `json:"magnitude,omitempty"`
 17565  	// Score: Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
 17566  	// sentiment).
 17567  	Score float64 `json:"score,omitempty"`
 17568  	// ForceSendFields is a list of field names (e.g. "Magnitude") to
 17569  	// unconditionally include in API requests. By default, fields with empty or
 17570  	// default values are omitted from API requests. See
 17571  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17572  	// details.
 17573  	ForceSendFields []string `json:"-"`
 17574  	// NullFields is a list of field names (e.g. "Magnitude") to include in API
 17575  	// requests with the JSON null value. By default, fields with empty values are
 17576  	// omitted from API requests. See
 17577  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17578  	NullFields []string `json:"-"`
 17579  }
 17580  
 17581  func (s *GoogleCloudDialogflowV2beta1Sentiment) MarshalJSON() ([]byte, error) {
 17582  	type NoMethod GoogleCloudDialogflowV2beta1Sentiment
 17583  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17584  }
 17585  
 17586  func (s *GoogleCloudDialogflowV2beta1Sentiment) UnmarshalJSON(data []byte) error {
 17587  	type NoMethod GoogleCloudDialogflowV2beta1Sentiment
 17588  	var s1 struct {
 17589  		Magnitude gensupport.JSONFloat64 `json:"magnitude"`
 17590  		Score     gensupport.JSONFloat64 `json:"score"`
 17591  		*NoMethod
 17592  	}
 17593  	s1.NoMethod = (*NoMethod)(s)
 17594  	if err := json.Unmarshal(data, &s1); err != nil {
 17595  		return err
 17596  	}
 17597  	s.Magnitude = float64(s1.Magnitude)
 17598  	s.Score = float64(s1.Score)
 17599  	return nil
 17600  }
 17601  
 17602  // GoogleCloudDialogflowV2beta1SentimentAnalysisResult: The result of sentiment
 17603  // analysis. Sentiment analysis inspects user input and identifies the
 17604  // prevailing subjective opinion, especially to determine a user's attitude as
 17605  // positive, negative, or neutral. For Participants.DetectIntent, it needs to
 17606  // be configured in DetectIntentRequest.query_params. For
 17607  // Participants.StreamingDetectIntent, it needs to be configured in
 17608  // StreamingDetectIntentRequest.query_params. And for
 17609  // Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it
 17610  // needs to be configured in ConversationProfile.human_agent_assistant_config
 17611  type GoogleCloudDialogflowV2beta1SentimentAnalysisResult struct {
 17612  	// QueryTextSentiment: The sentiment analysis result for `query_text`.
 17613  	QueryTextSentiment *GoogleCloudDialogflowV2beta1Sentiment `json:"queryTextSentiment,omitempty"`
 17614  	// ForceSendFields is a list of field names (e.g. "QueryTextSentiment") to
 17615  	// unconditionally include in API requests. By default, fields with empty or
 17616  	// default values are omitted from API requests. See
 17617  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17618  	// details.
 17619  	ForceSendFields []string `json:"-"`
 17620  	// NullFields is a list of field names (e.g. "QueryTextSentiment") to include
 17621  	// in API requests with the JSON null value. By default, fields with empty
 17622  	// values are omitted from API requests. See
 17623  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17624  	NullFields []string `json:"-"`
 17625  }
 17626  
 17627  func (s *GoogleCloudDialogflowV2beta1SentimentAnalysisResult) MarshalJSON() ([]byte, error) {
 17628  	type NoMethod GoogleCloudDialogflowV2beta1SentimentAnalysisResult
 17629  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17630  }
 17631  
 17632  // GoogleCloudDialogflowV2beta1SessionEntityType: A session represents a
 17633  // conversation between a Dialogflow agent and an end-user. You can create
 17634  // special entities, called session entities, during a session. Session
 17635  // entities can extend or replace custom entity types and only exist during the
 17636  // session that they were created for. All session data, including session
 17637  // entities, is stored by Dialogflow for 20 minutes. For more information, see
 17638  // the session entity guide
 17639  // (https://cloud.google.com/dialogflow/docs/entities-session).
 17640  type GoogleCloudDialogflowV2beta1SessionEntityType struct {
 17641  	// Entities: Required. The collection of entities associated with this session
 17642  	// entity type.
 17643  	Entities []*GoogleCloudDialogflowV2beta1EntityTypeEntity `json:"entities,omitempty"`
 17644  	// EntityOverrideMode: Required. Indicates whether the additional data should
 17645  	// override or supplement the custom entity type definition.
 17646  	//
 17647  	// Possible values:
 17648  	//   "ENTITY_OVERRIDE_MODE_UNSPECIFIED" - Not specified. This value should be
 17649  	// never used.
 17650  	//   "ENTITY_OVERRIDE_MODE_OVERRIDE" - The collection of session entities
 17651  	// overrides the collection of entities in the corresponding custom entity
 17652  	// type.
 17653  	//   "ENTITY_OVERRIDE_MODE_SUPPLEMENT" - The collection of session entities
 17654  	// extends the collection of entities in the corresponding custom entity type.
 17655  	// Note: Even in this override mode calls to `ListSessionEntityTypes`,
 17656  	// `GetSessionEntityType`, `CreateSessionEntityType` and
 17657  	// `UpdateSessionEntityType` only return the additional entities added in this
 17658  	// session entity type. If you want to get the supplemented list, please call
 17659  	// EntityTypes.GetEntityType on the custom entity type and merge.
 17660  	EntityOverrideMode string `json:"entityOverrideMode,omitempty"`
 17661  	// Name: Required. The unique identifier of this session entity type. Supported
 17662  	// formats: - `projects//agent/sessions//entityTypes/` -
 17663  	// `projects//locations//agent/sessions//entityTypes/` -
 17664  	// `projects//agent/environments//users//sessions//entityTypes/` -
 17665  	// `projects//locations//agent/environments/ /users//sessions//entityTypes/` If
 17666  	// `Location ID` is not specified we assume default 'us' location. If
 17667  	// `Environment ID` is not specified, we assume default 'draft' environment. If
 17668  	// `User ID` is not specified, we assume default '-' user. `` must be the
 17669  	// display name of an existing entity type in the same agent that will be
 17670  	// overridden or supplemented.
 17671  	Name string `json:"name,omitempty"`
 17672  	// ForceSendFields is a list of field names (e.g. "Entities") to
 17673  	// unconditionally include in API requests. By default, fields with empty or
 17674  	// default values are omitted from API requests. See
 17675  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17676  	// details.
 17677  	ForceSendFields []string `json:"-"`
 17678  	// NullFields is a list of field names (e.g. "Entities") to include in API
 17679  	// requests with the JSON null value. By default, fields with empty values are
 17680  	// omitted from API requests. See
 17681  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17682  	NullFields []string `json:"-"`
 17683  }
 17684  
 17685  func (s *GoogleCloudDialogflowV2beta1SessionEntityType) MarshalJSON() ([]byte, error) {
 17686  	type NoMethod GoogleCloudDialogflowV2beta1SessionEntityType
 17687  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17688  }
 17689  
 17690  // GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata:
 17691  // Metadata for a ConversationProfile.SetSuggestionFeatureConfig operation.
 17692  type GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata struct {
 17693  	// ConversationProfile: The resource name of the conversation profile. Format:
 17694  	// `projects//locations//conversationProfiles/`
 17695  	ConversationProfile string `json:"conversationProfile,omitempty"`
 17696  	// CreateTime: Timestamp whe the request was created. The time is measured on
 17697  	// server side.
 17698  	CreateTime string `json:"createTime,omitempty"`
 17699  	// ParticipantRole: Required. The participant role to add or update the
 17700  	// suggestion feature config. Only HUMAN_AGENT or END_USER can be used.
 17701  	//
 17702  	// Possible values:
 17703  	//   "ROLE_UNSPECIFIED" - Participant role not set.
 17704  	//   "HUMAN_AGENT" - Participant is a human agent.
 17705  	//   "AUTOMATED_AGENT" - Participant is an automated agent, such as a
 17706  	// Dialogflow agent.
 17707  	//   "END_USER" - Participant is an end user that has called or chatted with
 17708  	// Dialogflow services.
 17709  	ParticipantRole string `json:"participantRole,omitempty"`
 17710  	// SuggestionFeatureType: Required. The type of the suggestion feature to add
 17711  	// or update.
 17712  	//
 17713  	// Possible values:
 17714  	//   "TYPE_UNSPECIFIED" - Unspecified feature type.
 17715  	//   "ARTICLE_SUGGESTION" - Run article suggestion model for chat.
 17716  	//   "FAQ" - Run FAQ model.
 17717  	//   "SMART_REPLY" - Run smart reply model for chat.
 17718  	//   "DIALOGFLOW_ASSIST" - Run Dialogflow assist model for chat, which will
 17719  	// return automated agent response as suggestion.
 17720  	//   "CONVERSATION_SUMMARIZATION" - Run conversation summarization model for
 17721  	// chat.
 17722  	//   "KNOWLEDGE_SEARCH" - Run knowledge search with text input from agent or
 17723  	// text generated query.
 17724  	SuggestionFeatureType string `json:"suggestionFeatureType,omitempty"`
 17725  	// ForceSendFields is a list of field names (e.g. "ConversationProfile") to
 17726  	// unconditionally include in API requests. By default, fields with empty or
 17727  	// default values are omitted from API requests. See
 17728  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17729  	// details.
 17730  	ForceSendFields []string `json:"-"`
 17731  	// NullFields is a list of field names (e.g. "ConversationProfile") to include
 17732  	// in API requests with the JSON null value. By default, fields with empty
 17733  	// values are omitted from API requests. See
 17734  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17735  	NullFields []string `json:"-"`
 17736  }
 17737  
 17738  func (s *GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata) MarshalJSON() ([]byte, error) {
 17739  	type NoMethod GoogleCloudDialogflowV2beta1SetSuggestionFeatureConfigOperationMetadata
 17740  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17741  }
 17742  
 17743  // GoogleCloudDialogflowV2beta1SmartReplyAnswer: Represents a smart reply
 17744  // answer.
 17745  type GoogleCloudDialogflowV2beta1SmartReplyAnswer struct {
 17746  	// AnswerRecord: The name of answer record, in the format of
 17747  	// "projects//locations//answerRecords/"
 17748  	AnswerRecord string `json:"answerRecord,omitempty"`
 17749  	// Confidence: Smart reply confidence. The system's confidence score that this
 17750  	// reply is a good match for this conversation, as a value from 0.0 (completely
 17751  	// uncertain) to 1.0 (completely certain).
 17752  	Confidence float64 `json:"confidence,omitempty"`
 17753  	// Reply: The content of the reply.
 17754  	Reply string `json:"reply,omitempty"`
 17755  	// ForceSendFields is a list of field names (e.g. "AnswerRecord") to
 17756  	// unconditionally include in API requests. By default, fields with empty or
 17757  	// default values are omitted from API requests. See
 17758  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17759  	// details.
 17760  	ForceSendFields []string `json:"-"`
 17761  	// NullFields is a list of field names (e.g. "AnswerRecord") to include in API
 17762  	// requests with the JSON null value. By default, fields with empty values are
 17763  	// omitted from API requests. See
 17764  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17765  	NullFields []string `json:"-"`
 17766  }
 17767  
 17768  func (s *GoogleCloudDialogflowV2beta1SmartReplyAnswer) MarshalJSON() ([]byte, error) {
 17769  	type NoMethod GoogleCloudDialogflowV2beta1SmartReplyAnswer
 17770  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17771  }
 17772  
 17773  func (s *GoogleCloudDialogflowV2beta1SmartReplyAnswer) UnmarshalJSON(data []byte) error {
 17774  	type NoMethod GoogleCloudDialogflowV2beta1SmartReplyAnswer
 17775  	var s1 struct {
 17776  		Confidence gensupport.JSONFloat64 `json:"confidence"`
 17777  		*NoMethod
 17778  	}
 17779  	s1.NoMethod = (*NoMethod)(s)
 17780  	if err := json.Unmarshal(data, &s1); err != nil {
 17781  		return err
 17782  	}
 17783  	s.Confidence = float64(s1.Confidence)
 17784  	return nil
 17785  }
 17786  
 17787  // GoogleCloudDialogflowV2beta1SuggestArticlesResponse: The response message
 17788  // for Participants.SuggestArticles.
 17789  type GoogleCloudDialogflowV2beta1SuggestArticlesResponse struct {
 17790  	// ArticleAnswers: Output only. Articles ordered by score in descending order.
 17791  	ArticleAnswers []*GoogleCloudDialogflowV2beta1ArticleAnswer `json:"articleAnswers,omitempty"`
 17792  	// ContextSize: Number of messages prior to and including latest_message to
 17793  	// compile the suggestion. It may be smaller than the
 17794  	// SuggestArticlesResponse.context_size field in the request if there aren't
 17795  	// that many messages in the conversation.
 17796  	ContextSize int64 `json:"contextSize,omitempty"`
 17797  	// LatestMessage: The name of the latest conversation message used to compile
 17798  	// suggestion for. Format: `projects//locations//conversations//messages/`.
 17799  	LatestMessage string `json:"latestMessage,omitempty"`
 17800  	// ForceSendFields is a list of field names (e.g. "ArticleAnswers") to
 17801  	// unconditionally include in API requests. By default, fields with empty or
 17802  	// default values are omitted from API requests. See
 17803  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17804  	// details.
 17805  	ForceSendFields []string `json:"-"`
 17806  	// NullFields is a list of field names (e.g. "ArticleAnswers") to include in
 17807  	// API requests with the JSON null value. By default, fields with empty values
 17808  	// are omitted from API requests. See
 17809  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17810  	NullFields []string `json:"-"`
 17811  }
 17812  
 17813  func (s *GoogleCloudDialogflowV2beta1SuggestArticlesResponse) MarshalJSON() ([]byte, error) {
 17814  	type NoMethod GoogleCloudDialogflowV2beta1SuggestArticlesResponse
 17815  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17816  }
 17817  
 17818  // GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse: The response
 17819  // message for Participants.SuggestDialogflowAssists.
 17820  type GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse struct {
 17821  	// ContextSize: Number of messages prior to and including latest_message to
 17822  	// compile the suggestion. It may be smaller than the
 17823  	// SuggestDialogflowAssistsRequest.context_size field in the request if there
 17824  	// aren't that many messages in the conversation.
 17825  	ContextSize int64 `json:"contextSize,omitempty"`
 17826  	// DialogflowAssistAnswers: Output only. Multiple reply options provided by
 17827  	// Dialogflow assist service. The order is based on the rank of the model
 17828  	// prediction.
 17829  	DialogflowAssistAnswers []*GoogleCloudDialogflowV2beta1DialogflowAssistAnswer `json:"dialogflowAssistAnswers,omitempty"`
 17830  	// LatestMessage: The name of the latest conversation message used to suggest
 17831  	// answer. Format: `projects//locations//conversations//messages/`.
 17832  	LatestMessage string `json:"latestMessage,omitempty"`
 17833  	// ForceSendFields is a list of field names (e.g. "ContextSize") to
 17834  	// unconditionally include in API requests. By default, fields with empty or
 17835  	// default values are omitted from API requests. See
 17836  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17837  	// details.
 17838  	ForceSendFields []string `json:"-"`
 17839  	// NullFields is a list of field names (e.g. "ContextSize") to include in API
 17840  	// requests with the JSON null value. By default, fields with empty values are
 17841  	// omitted from API requests. See
 17842  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17843  	NullFields []string `json:"-"`
 17844  }
 17845  
 17846  func (s *GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse) MarshalJSON() ([]byte, error) {
 17847  	type NoMethod GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse
 17848  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17849  }
 17850  
 17851  // GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse: The request message
 17852  // for Participants.SuggestFaqAnswers.
 17853  type GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse struct {
 17854  	// ContextSize: Number of messages prior to and including latest_message to
 17855  	// compile the suggestion. It may be smaller than the
 17856  	// SuggestFaqAnswersRequest.context_size field in the request if there aren't
 17857  	// that many messages in the conversation.
 17858  	ContextSize int64 `json:"contextSize,omitempty"`
 17859  	// FaqAnswers: Output only. Answers extracted from FAQ documents.
 17860  	FaqAnswers []*GoogleCloudDialogflowV2beta1FaqAnswer `json:"faqAnswers,omitempty"`
 17861  	// LatestMessage: The name of the latest conversation message used to compile
 17862  	// suggestion for. Format: `projects//locations//conversations//messages/`.
 17863  	LatestMessage string `json:"latestMessage,omitempty"`
 17864  	// ForceSendFields is a list of field names (e.g. "ContextSize") to
 17865  	// unconditionally include in API requests. By default, fields with empty or
 17866  	// default values are omitted from API requests. See
 17867  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17868  	// details.
 17869  	ForceSendFields []string `json:"-"`
 17870  	// NullFields is a list of field names (e.g. "ContextSize") to include in API
 17871  	// requests with the JSON null value. By default, fields with empty values are
 17872  	// omitted from API requests. See
 17873  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17874  	NullFields []string `json:"-"`
 17875  }
 17876  
 17877  func (s *GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse) MarshalJSON() ([]byte, error) {
 17878  	type NoMethod GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse
 17879  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17880  }
 17881  
 17882  // GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse: The response
 17883  // message for Participants.SuggestSmartReplies.
 17884  type GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse struct {
 17885  	// ContextSize: Number of messages prior to and including latest_message to
 17886  	// compile the suggestion. It may be smaller than the
 17887  	// SuggestSmartRepliesRequest.context_size field in the request if there aren't
 17888  	// that many messages in the conversation.
 17889  	ContextSize int64 `json:"contextSize,omitempty"`
 17890  	// LatestMessage: The name of the latest conversation message used to compile
 17891  	// suggestion for. Format: `projects//locations//conversations//messages/`.
 17892  	LatestMessage string `json:"latestMessage,omitempty"`
 17893  	// SmartReplyAnswers: Output only. Multiple reply options provided by smart
 17894  	// reply service. The order is based on the rank of the model prediction. The
 17895  	// maximum number of the returned replies is set in SmartReplyConfig.
 17896  	SmartReplyAnswers []*GoogleCloudDialogflowV2beta1SmartReplyAnswer `json:"smartReplyAnswers,omitempty"`
 17897  	// ForceSendFields is a list of field names (e.g. "ContextSize") to
 17898  	// unconditionally include in API requests. By default, fields with empty or
 17899  	// default values are omitted from API requests. See
 17900  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17901  	// details.
 17902  	ForceSendFields []string `json:"-"`
 17903  	// NullFields is a list of field names (e.g. "ContextSize") to include in API
 17904  	// requests with the JSON null value. By default, fields with empty values are
 17905  	// omitted from API requests. See
 17906  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17907  	NullFields []string `json:"-"`
 17908  }
 17909  
 17910  func (s *GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse) MarshalJSON() ([]byte, error) {
 17911  	type NoMethod GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
 17912  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17913  }
 17914  
 17915  // GoogleCloudDialogflowV2beta1SuggestionResult: One response of different type
 17916  // of suggestion response which is used in the response of
 17917  // Participants.AnalyzeContent and Participants.AnalyzeContent, as well as
 17918  // HumanAgentAssistantEvent.
 17919  type GoogleCloudDialogflowV2beta1SuggestionResult struct {
 17920  	// Error: Error status if the request failed.
 17921  	Error *GoogleRpcStatus `json:"error,omitempty"`
 17922  	// SuggestArticlesResponse: SuggestArticlesResponse if request is for
 17923  	// ARTICLE_SUGGESTION.
 17924  	SuggestArticlesResponse *GoogleCloudDialogflowV2beta1SuggestArticlesResponse `json:"suggestArticlesResponse,omitempty"`
 17925  	// SuggestDialogflowAssistsResponse: SuggestDialogflowAssistsResponse if
 17926  	// request is for DIALOGFLOW_ASSIST.
 17927  	SuggestDialogflowAssistsResponse *GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse `json:"suggestDialogflowAssistsResponse,omitempty"`
 17928  	// SuggestEntityExtractionResponse: SuggestDialogflowAssistsResponse if request
 17929  	// is for ENTITY_EXTRACTION.
 17930  	SuggestEntityExtractionResponse *GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse `json:"suggestEntityExtractionResponse,omitempty"`
 17931  	// SuggestFaqAnswersResponse: SuggestFaqAnswersResponse if request is for
 17932  	// FAQ_ANSWER.
 17933  	SuggestFaqAnswersResponse *GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse `json:"suggestFaqAnswersResponse,omitempty"`
 17934  	// SuggestSmartRepliesResponse: SuggestSmartRepliesResponse if request is for
 17935  	// SMART_REPLY.
 17936  	SuggestSmartRepliesResponse *GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse `json:"suggestSmartRepliesResponse,omitempty"`
 17937  	// ForceSendFields is a list of field names (e.g. "Error") to unconditionally
 17938  	// include in API requests. By default, fields with empty or default values are
 17939  	// omitted from API requests. See
 17940  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17941  	// details.
 17942  	ForceSendFields []string `json:"-"`
 17943  	// NullFields is a list of field names (e.g. "Error") to include in API
 17944  	// requests with the JSON null value. By default, fields with empty values are
 17945  	// omitted from API requests. See
 17946  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17947  	NullFields []string `json:"-"`
 17948  }
 17949  
 17950  func (s *GoogleCloudDialogflowV2beta1SuggestionResult) MarshalJSON() ([]byte, error) {
 17951  	type NoMethod GoogleCloudDialogflowV2beta1SuggestionResult
 17952  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17953  }
 17954  
 17955  // GoogleCloudDialogflowV2beta1WebhookRequest: The request message for a
 17956  // webhook call.
 17957  type GoogleCloudDialogflowV2beta1WebhookRequest struct {
 17958  	// AlternativeQueryResults: Alternative query results from KnowledgeService.
 17959  	AlternativeQueryResults []*GoogleCloudDialogflowV2beta1QueryResult `json:"alternativeQueryResults,omitempty"`
 17960  	// OriginalDetectIntentRequest: Optional. The contents of the original request
 17961  	// that was passed to `[Streaming]DetectIntent` call.
 17962  	OriginalDetectIntentRequest *GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest `json:"originalDetectIntentRequest,omitempty"`
 17963  	// QueryResult: The result of the conversational query or event processing.
 17964  	// Contains the same value as `[Streaming]DetectIntentResponse.query_result`.
 17965  	QueryResult *GoogleCloudDialogflowV2beta1QueryResult `json:"queryResult,omitempty"`
 17966  	// ResponseId: The unique identifier of the response. Contains the same value
 17967  	// as `[Streaming]DetectIntentResponse.response_id`.
 17968  	ResponseId string `json:"responseId,omitempty"`
 17969  	// Session: The unique identifier of detectIntent request session. Can be used
 17970  	// to identify end-user inside webhook implementation. Supported formats: -
 17971  	// `projects//agent/sessions/, - `projects//locations//agent/sessions/`, -
 17972  	// `projects//agent/environments//users//sessions/`, -
 17973  	// `projects//locations//agent/environments//users//sessions/`,
 17974  	Session string `json:"session,omitempty"`
 17975  	// ForceSendFields is a list of field names (e.g. "AlternativeQueryResults") to
 17976  	// unconditionally include in API requests. By default, fields with empty or
 17977  	// default values are omitted from API requests. See
 17978  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 17979  	// details.
 17980  	ForceSendFields []string `json:"-"`
 17981  	// NullFields is a list of field names (e.g. "AlternativeQueryResults") to
 17982  	// include in API requests with the JSON null value. By default, fields with
 17983  	// empty values are omitted from API requests. See
 17984  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 17985  	NullFields []string `json:"-"`
 17986  }
 17987  
 17988  func (s *GoogleCloudDialogflowV2beta1WebhookRequest) MarshalJSON() ([]byte, error) {
 17989  	type NoMethod GoogleCloudDialogflowV2beta1WebhookRequest
 17990  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 17991  }
 17992  
 17993  // GoogleCloudDialogflowV2beta1WebhookResponse: The response message for a
 17994  // webhook call. This response is validated by the Dialogflow server. If
 17995  // validation fails, an error will be returned in the
 17996  // QueryResult.diagnostic_info field. Setting JSON fields to an empty value
 17997  // with the wrong type is a common error. To avoid this error: - Use "" for
 17998  // empty strings - Use `{}` or `null` for empty objects - Use `[]` or `null`
 17999  // for empty arrays For more information, see the Protocol Buffers Language
 18000  // Guide (https://developers.google.com/protocol-buffers/docs/proto3#json).
 18001  type GoogleCloudDialogflowV2beta1WebhookResponse struct {
 18002  	// EndInteraction: Optional. Indicates that this intent ends an interaction.
 18003  	// Some integrations (e.g., Actions on Google or Dialogflow phone gateway) use
 18004  	// this information to close interaction with an end user. Default is false.
 18005  	EndInteraction bool `json:"endInteraction,omitempty"`
 18006  	// FollowupEventInput: Optional. Invokes the supplied events. When this field
 18007  	// is set, Dialogflow ignores the `fulfillment_text`, `fulfillment_messages`,
 18008  	// and `payload` fields.
 18009  	FollowupEventInput *GoogleCloudDialogflowV2beta1EventInput `json:"followupEventInput,omitempty"`
 18010  	// FulfillmentMessages: Optional. The rich response messages intended for the
 18011  	// end-user. When provided, Dialogflow uses this field to populate
 18012  	// QueryResult.fulfillment_messages sent to the integration or API caller.
 18013  	FulfillmentMessages []*GoogleCloudDialogflowV2beta1IntentMessage `json:"fulfillmentMessages,omitempty"`
 18014  	// FulfillmentText: Optional. The text response message intended for the
 18015  	// end-user. It is recommended to use `fulfillment_messages.text.text[0]`
 18016  	// instead. When provided, Dialogflow uses this field to populate
 18017  	// QueryResult.fulfillment_text sent to the integration or API caller.
 18018  	FulfillmentText string `json:"fulfillmentText,omitempty"`
 18019  	// LiveAgentHandoff: Indicates that a live agent should be brought in to handle
 18020  	// the interaction with the user. In most cases, when you set this flag to
 18021  	// true, you would also want to set end_interaction to true as well. Default is
 18022  	// false.
 18023  	LiveAgentHandoff bool `json:"liveAgentHandoff,omitempty"`
 18024  	// OutputContexts: Optional. The collection of output contexts that will
 18025  	// overwrite currently active contexts for the session and reset their
 18026  	// lifespans. When provided, Dialogflow uses this field to populate
 18027  	// QueryResult.output_contexts sent to the integration or API caller.
 18028  	OutputContexts []*GoogleCloudDialogflowV2beta1Context `json:"outputContexts,omitempty"`
 18029  	// Payload: Optional. This field can be used to pass custom data from your
 18030  	// webhook to the integration or API caller. Arbitrary JSON objects are
 18031  	// supported. When provided, Dialogflow uses this field to populate
 18032  	// QueryResult.webhook_payload sent to the integration or API caller. This
 18033  	// field is also used by the Google Assistant integration
 18034  	// (https://cloud.google.com/dialogflow/docs/integrations/aog) for rich
 18035  	// response messages. See the format definition at Google Assistant Dialogflow
 18036  	// webhook format
 18037  	// (https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json)
 18038  	Payload googleapi.RawMessage `json:"payload,omitempty"`
 18039  	// SessionEntityTypes: Optional. Additional session entity types to replace or
 18040  	// extend developer entity types with. The entity synonyms apply to all
 18041  	// languages and persist for the session. Setting this data from a webhook
 18042  	// overwrites the session entity types that have been set using `detectIntent`,
 18043  	// `streamingDetectIntent` or SessionEntityType management methods.
 18044  	SessionEntityTypes []*GoogleCloudDialogflowV2beta1SessionEntityType `json:"sessionEntityTypes,omitempty"`
 18045  	// Source: Optional. A custom field used to identify the webhook source.
 18046  	// Arbitrary strings are supported. When provided, Dialogflow uses this field
 18047  	// to populate QueryResult.webhook_source sent to the integration or API
 18048  	// caller.
 18049  	Source string `json:"source,omitempty"`
 18050  	// ForceSendFields is a list of field names (e.g. "EndInteraction") to
 18051  	// unconditionally include in API requests. By default, fields with empty or
 18052  	// default values are omitted from API requests. See
 18053  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 18054  	// details.
 18055  	ForceSendFields []string `json:"-"`
 18056  	// NullFields is a list of field names (e.g. "EndInteraction") to include in
 18057  	// API requests with the JSON null value. By default, fields with empty values
 18058  	// are omitted from API requests. See
 18059  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 18060  	NullFields []string `json:"-"`
 18061  }
 18062  
 18063  func (s *GoogleCloudDialogflowV2beta1WebhookResponse) MarshalJSON() ([]byte, error) {
 18064  	type NoMethod GoogleCloudDialogflowV2beta1WebhookResponse
 18065  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 18066  }
 18067  
 18068  // GoogleCloudDialogflowV3alpha1ConversationSignals: This message is used to
 18069  // hold all the Conversation Signals data, which will be converted to JSON and
 18070  // exported to BigQuery.
 18071  type GoogleCloudDialogflowV3alpha1ConversationSignals struct {
 18072  	// TurnSignals: Required. Turn signals for the current turn.
 18073  	TurnSignals *GoogleCloudDialogflowV3alpha1TurnSignals `json:"turnSignals,omitempty"`
 18074  	// ForceSendFields is a list of field names (e.g. "TurnSignals") to
 18075  	// unconditionally include in API requests. By default, fields with empty or
 18076  	// default values are omitted from API requests. See
 18077  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 18078  	// details.
 18079  	ForceSendFields []string `json:"-"`
 18080  	// NullFields is a list of field names (e.g. "TurnSignals") to include in API
 18081  	// requests with the JSON null value. By default, fields with empty values are
 18082  	// omitted from API requests. See
 18083  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 18084  	NullFields []string `json:"-"`
 18085  }
 18086  
 18087  func (s *GoogleCloudDialogflowV3alpha1ConversationSignals) MarshalJSON() ([]byte, error) {
 18088  	type NoMethod GoogleCloudDialogflowV3alpha1ConversationSignals
 18089  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 18090  }
 18091  
 18092  // GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata: Metadata for
 18093  // CreateDocument operation.
 18094  type GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata struct {
 18095  	// GenericMetadata: The generic information of the operation.
 18096  	GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"`
 18097  	// ForceSendFields is a list of field names (e.g. "GenericMetadata") to
 18098  	// unconditionally include in API requests. By default, fields with empty or
 18099  	// default values are omitted from API requests. See
 18100  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 18101  	// details.
 18102  	ForceSendFields []string `json:"-"`
 18103  	// NullFields is a list of field names (e.g. "GenericMetadata") to include in
 18104  	// API requests with the JSON null value. By default, fields with empty values
 18105  	// are omitted from API requests. See
 18106  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 18107  	NullFields []string `json:"-"`
 18108  }
 18109  
 18110  func (s *GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata) MarshalJSON() ([]byte, error) {
 18111  	type NoMethod GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata
 18112  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 18113  }
 18114  
 18115  // GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata: Metadata for
 18116  // DeleteDocument operation.
 18117  type GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata struct {
 18118  	// GenericMetadata: The generic information of the operation.
 18119  	GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"`
 18120  	// ForceSendFields is a list of field names (e.g. "GenericMetadata") to
 18121  	// unconditionally include in API requests. By default, fields with empty or
 18122  	// default values are omitted from API requests. See
 18123  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 18124  	// details.
 18125  	ForceSendFields []string `json:"-"`
 18126  	// NullFields is a list of field names (e.g. "GenericMetadata") to include in
 18127  	// API requests with the JSON null value. By default, fields with empty values
 18128  	// are omitted from API requests. See
 18129  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 18130  	NullFields []string `json:"-"`
 18131  }
 18132  
 18133  func (s *GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata) MarshalJSON() ([]byte, error) {
 18134  	type NoMethod GoogleCloudDialogflowV3alpha1DeleteDocumentOperationMetadata
 18135  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 18136  }
 18137  
 18138  // GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata: Metadata in
 18139  // google::longrunning::Operation for Knowledge operations.
 18140  type GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata struct {
 18141  	// State: Required. Output only. The current state of this operation.
 18142  	//
 18143  	// Possible values:
 18144  	//   "STATE_UNSPECIFIED" - State unspecified.
 18145  	//   "PENDING" - The operation has been created.
 18146  	//   "RUNNING" - The operation is currently running.
 18147  	//   "DONE" - The operation is done, either cancelled or completed.
 18148  	State string `json:"state,omitempty"`
 18149  	// ForceSendFields is a list of field names (e.g. "State") to unconditionally
 18150  	// include in API requests. By default, fields with empty or default values are
 18151  	// omitted from API requests. See
 18152  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 18153  	// details.
 18154  	ForceSendFields []string `json:"-"`
 18155  	// NullFields is a list of field names (e.g. "State") to include in API
 18156  	// requests with the JSON null value. By default, fields with empty values are
 18157  	// omitted from API requests. See
 18158  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 18159  	NullFields []string `json:"-"`
 18160  }
 18161  
 18162  func (s *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata) MarshalJSON() ([]byte, error) {
 18163  	type NoMethod GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata
 18164  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 18165  }
 18166  
 18167  // GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata: Metadata for
 18168  // ImportDocuments operation.
 18169  type GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata struct {
 18170  	// GenericMetadata: The generic information of the operation.
 18171  	GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"`
 18172  	// ForceSendFields is a list of field names (e.g. "GenericMetadata") to
 18173  	// unconditionally include in API requests. By default, fields with empty or
 18174  	// default values are omitted from API requests. See
 18175  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 18176  	// details.
 18177  	ForceSendFields []string `json:"-"`
 18178  	// NullFields is a list of field names (e.g. "GenericMetadata") to include in
 18179  	// API requests with the JSON null value. By default, fields with empty values
 18180  	// are omitted from API requests. See
 18181  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 18182  	NullFields []string `json:"-"`
 18183  }
 18184  
 18185  func (s *GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata) MarshalJSON() ([]byte, error) {
 18186  	type NoMethod GoogleCloudDialogflowV3alpha1ImportDocumentsOperationMetadata
 18187  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 18188  }
 18189  
 18190  // GoogleCloudDialogflowV3alpha1ImportDocumentsResponse: Response message for
 18191  // Documents.ImportDocuments.
 18192  type GoogleCloudDialogflowV3alpha1ImportDocumentsResponse struct {
 18193  	// Warnings: Includes details about skipped documents or any other warnings.
 18194  	Warnings []*GoogleRpcStatus `json:"warnings,omitempty"`
 18195  	// ForceSendFields is a list of field names (e.g. "Warnings") to
 18196  	// unconditionally include in API requests. By default, fields with empty or
 18197  	// default values are omitted from API requests. See
 18198  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 18199  	// details.
 18200  	ForceSendFields []string `json:"-"`
 18201  	// NullFields is a list of field names (e.g. "Warnings") to include in API
 18202  	// requests with the JSON null value. By default, fields with empty values are
 18203  	// omitted from API requests. See
 18204  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 18205  	NullFields []string `json:"-"`
 18206  }
 18207  
 18208  func (s *GoogleCloudDialogflowV3alpha1ImportDocumentsResponse) MarshalJSON() ([]byte, error) {
 18209  	type NoMethod GoogleCloudDialogflowV3alpha1ImportDocumentsResponse
 18210  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 18211  }
 18212  
 18213  // GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata: Metadata for
 18214  // ReloadDocument operation.
 18215  type GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata struct {
 18216  	// GenericMetadata: The generic information of the operation.
 18217  	GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"`
 18218  	// ForceSendFields is a list of field names (e.g. "GenericMetadata") to
 18219  	// unconditionally include in API requests. By default, fields with empty or
 18220  	// default values are omitted from API requests. See
 18221  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 18222  	// details.
 18223  	ForceSendFields []string `json:"-"`
 18224  	// NullFields is a list of field names (e.g. "GenericMetadata") to include in
 18225  	// API requests with the JSON null value. By default, fields with empty values
 18226  	// are omitted from API requests. See
 18227  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 18228  	NullFields []string `json:"-"`
 18229  }
 18230  
 18231  func (s *GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata) MarshalJSON() ([]byte, error) {
 18232  	type NoMethod GoogleCloudDialogflowV3alpha1ReloadDocumentOperationMetadata
 18233  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 18234  }
 18235  
 18236  // GoogleCloudDialogflowV3alpha1TurnSignals: Collection of all signals that
 18237  // were extracted for a single turn of the conversation.
 18238  type GoogleCloudDialogflowV3alpha1TurnSignals struct {
 18239  	// AgentEscalated: Whether agent responded with LiveAgentHandoff fulfillment.
 18240  	AgentEscalated bool `json:"agentEscalated,omitempty"`
 18241  	// DtmfUsed: Whether user was using DTMF input.
 18242  	DtmfUsed bool `json:"dtmfUsed,omitempty"`
 18243  	// FailureReasons: Failure reasons of the turn.
 18244  	//
 18245  	// Possible values:
 18246  	//   "FAILURE_REASON_UNSPECIFIED" - Failure reason is not assigned.
 18247  	//   "FAILED_INTENT" - Whether NLU failed to recognize user intent.
 18248  	//   "FAILED_WEBHOOK" - Whether webhook failed during the turn.
 18249  	FailureReasons []string `json:"failureReasons,omitempty"`
 18250  	// NoMatch: Whether NLU predicted NO_MATCH.
 18251  	NoMatch bool `json:"noMatch,omitempty"`
 18252  	// NoUserInput: Whether user provided no input.
 18253  	NoUserInput bool `json:"noUserInput,omitempty"`
 18254  	// ReachedEndPage: Whether turn resulted in End Session page.
 18255  	ReachedEndPage bool `json:"reachedEndPage,omitempty"`
 18256  	// SentimentMagnitude: Sentiment magnitude of the user utterance if sentiment
 18257  	// (https://cloud.google.com/dialogflow/cx/docs/concept/sentiment) was enabled.
 18258  	SentimentMagnitude float64 `json:"sentimentMagnitude,omitempty"`
 18259  	// SentimentScore: Sentiment score of the user utterance if sentiment
 18260  	// (https://cloud.google.com/dialogflow/cx/docs/concept/sentiment) was enabled.
 18261  	SentimentScore float64 `json:"sentimentScore,omitempty"`
 18262  	// TriggeredAbandonmentEvent: Whether agent has triggered the event
 18263  	// corresponding to user abandoning the conversation.
 18264  	TriggeredAbandonmentEvent bool `json:"triggeredAbandonmentEvent,omitempty"`
 18265  	// UserEscalated: Whether user was specifically asking for a live agent.
 18266  	UserEscalated bool `json:"userEscalated,omitempty"`
 18267  	// WebhookStatuses: Human-readable statuses of the webhooks triggered during
 18268  	// this turn.
 18269  	WebhookStatuses []string `json:"webhookStatuses,omitempty"`
 18270  	// ForceSendFields is a list of field names (e.g. "AgentEscalated") to
 18271  	// unconditionally include in API requests. By default, fields with empty or
 18272  	// default values are omitted from API requests. See
 18273  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 18274  	// details.
 18275  	ForceSendFields []string `json:"-"`
 18276  	// NullFields is a list of field names (e.g. "AgentEscalated") to include in
 18277  	// API requests with the JSON null value. By default, fields with empty values
 18278  	// are omitted from API requests. See
 18279  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 18280  	NullFields []string `json:"-"`
 18281  }
 18282  
 18283  func (s *GoogleCloudDialogflowV3alpha1TurnSignals) MarshalJSON() ([]byte, error) {
 18284  	type NoMethod GoogleCloudDialogflowV3alpha1TurnSignals
 18285  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 18286  }
 18287  
 18288  func (s *GoogleCloudDialogflowV3alpha1TurnSignals) UnmarshalJSON(data []byte) error {
 18289  	type NoMethod GoogleCloudDialogflowV3alpha1TurnSignals
 18290  	var s1 struct {
 18291  		SentimentMagnitude gensupport.JSONFloat64 `json:"sentimentMagnitude"`
 18292  		SentimentScore     gensupport.JSONFloat64 `json:"sentimentScore"`
 18293  		*NoMethod
 18294  	}
 18295  	s1.NoMethod = (*NoMethod)(s)
 18296  	if err := json.Unmarshal(data, &s1); err != nil {
 18297  		return err
 18298  	}
 18299  	s.SentimentMagnitude = float64(s1.SentimentMagnitude)
 18300  	s.SentimentScore = float64(s1.SentimentScore)
 18301  	return nil
 18302  }
 18303  
 18304  // GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata: Metadata for
 18305  // UpdateDocument operation.
 18306  type GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata struct {
 18307  	// GenericMetadata: The generic information of the operation.
 18308  	GenericMetadata *GoogleCloudDialogflowV3alpha1GenericKnowledgeOperationMetadata `json:"genericMetadata,omitempty"`
 18309  	// ForceSendFields is a list of field names (e.g. "GenericMetadata") to
 18310  	// unconditionally include in API requests. By default, fields with empty or
 18311  	// default values are omitted from API requests. See
 18312  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 18313  	// details.
 18314  	ForceSendFields []string `json:"-"`
 18315  	// NullFields is a list of field names (e.g. "GenericMetadata") to include in
 18316  	// API requests with the JSON null value. By default, fields with empty values
 18317  	// are omitted from API requests. See
 18318  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 18319  	NullFields []string `json:"-"`
 18320  }
 18321  
 18322  func (s *GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata) MarshalJSON() ([]byte, error) {
 18323  	type NoMethod GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata
 18324  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 18325  }
 18326  
 18327  // GoogleCloudLocationListLocationsResponse: The response message for
 18328  // Locations.ListLocations.
 18329  type GoogleCloudLocationListLocationsResponse struct {
 18330  	// Locations: A list of locations that matches the specified filter in the
 18331  	// request.
 18332  	Locations []*GoogleCloudLocationLocation `json:"locations,omitempty"`
 18333  	// NextPageToken: The standard List next-page token.
 18334  	NextPageToken string `json:"nextPageToken,omitempty"`
 18335  
 18336  	// ServerResponse contains the HTTP response code and headers from the server.
 18337  	googleapi.ServerResponse `json:"-"`
 18338  	// ForceSendFields is a list of field names (e.g. "Locations") to
 18339  	// unconditionally include in API requests. By default, fields with empty or
 18340  	// default values are omitted from API requests. See
 18341  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 18342  	// details.
 18343  	ForceSendFields []string `json:"-"`
 18344  	// NullFields is a list of field names (e.g. "Locations") to include in API
 18345  	// requests with the JSON null value. By default, fields with empty values are
 18346  	// omitted from API requests. See
 18347  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 18348  	NullFields []string `json:"-"`
 18349  }
 18350  
 18351  func (s *GoogleCloudLocationListLocationsResponse) MarshalJSON() ([]byte, error) {
 18352  	type NoMethod GoogleCloudLocationListLocationsResponse
 18353  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 18354  }
 18355  
 18356  // GoogleCloudLocationLocation: A resource that represents a Google Cloud
 18357  // location.
 18358  type GoogleCloudLocationLocation struct {
 18359  	// DisplayName: The friendly name for this location, typically a nearby city
 18360  	// name. For example, "Tokyo".
 18361  	DisplayName string `json:"displayName,omitempty"`
 18362  	// Labels: Cross-service attributes for the location. For example
 18363  	// {"cloud.googleapis.com/region": "us-east1"}
 18364  	Labels map[string]string `json:"labels,omitempty"`
 18365  	// LocationId: The canonical id for this location. For example: "us-east1".
 18366  	LocationId string `json:"locationId,omitempty"`
 18367  	// Metadata: Service-specific metadata. For example the available capacity at
 18368  	// the given location.
 18369  	Metadata googleapi.RawMessage `json:"metadata,omitempty"`
 18370  	// Name: Resource name for the location, which may vary between
 18371  	// implementations. For example:
 18372  	// "projects/example-project/locations/us-east1"
 18373  	Name string `json:"name,omitempty"`
 18374  
 18375  	// ServerResponse contains the HTTP response code and headers from the server.
 18376  	googleapi.ServerResponse `json:"-"`
 18377  	// ForceSendFields is a list of field names (e.g. "DisplayName") to
 18378  	// unconditionally include in API requests. By default, fields with empty or
 18379  	// default values are omitted from API requests. See
 18380  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 18381  	// details.
 18382  	ForceSendFields []string `json:"-"`
 18383  	// NullFields is a list of field names (e.g. "DisplayName") to include in API
 18384  	// requests with the JSON null value. By default, fields with empty values are
 18385  	// omitted from API requests. See
 18386  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 18387  	NullFields []string `json:"-"`
 18388  }
 18389  
 18390  func (s *GoogleCloudLocationLocation) MarshalJSON() ([]byte, error) {
 18391  	type NoMethod GoogleCloudLocationLocation
 18392  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 18393  }
 18394  
 18395  // GoogleLongrunningListOperationsResponse: The response message for
 18396  // Operations.ListOperations.
 18397  type GoogleLongrunningListOperationsResponse struct {
 18398  	// NextPageToken: The standard List next-page token.
 18399  	NextPageToken string `json:"nextPageToken,omitempty"`
 18400  	// Operations: A list of operations that matches the specified filter in the
 18401  	// request.
 18402  	Operations []*GoogleLongrunningOperation `json:"operations,omitempty"`
 18403  
 18404  	// ServerResponse contains the HTTP response code and headers from the server.
 18405  	googleapi.ServerResponse `json:"-"`
 18406  	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
 18407  	// unconditionally include in API requests. By default, fields with empty or
 18408  	// default values are omitted from API requests. See
 18409  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 18410  	// details.
 18411  	ForceSendFields []string `json:"-"`
 18412  	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
 18413  	// requests with the JSON null value. By default, fields with empty values are
 18414  	// omitted from API requests. See
 18415  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 18416  	NullFields []string `json:"-"`
 18417  }
 18418  
 18419  func (s *GoogleLongrunningListOperationsResponse) MarshalJSON() ([]byte, error) {
 18420  	type NoMethod GoogleLongrunningListOperationsResponse
 18421  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 18422  }
 18423  
 18424  // GoogleLongrunningOperation: This resource represents a long-running
 18425  // operation that is the result of a network API call.
 18426  type GoogleLongrunningOperation struct {
 18427  	// Done: If the value is `false`, it means the operation is still in progress.
 18428  	// If `true`, the operation is completed, and either `error` or `response` is
 18429  	// available.
 18430  	Done bool `json:"done,omitempty"`
 18431  	// Error: The error result of the operation in case of failure or cancellation.
 18432  	Error *GoogleRpcStatus `json:"error,omitempty"`
 18433  	// Metadata: Service-specific metadata associated with the operation. It
 18434  	// typically contains progress information and common metadata such as create
 18435  	// time. Some services might not provide such metadata. Any method that returns
 18436  	// a long-running operation should document the metadata type, if any.
 18437  	Metadata googleapi.RawMessage `json:"metadata,omitempty"`
 18438  	// Name: The server-assigned name, which is only unique within the same service
 18439  	// that originally returns it. If you use the default HTTP mapping, the `name`
 18440  	// should be a resource name ending with `operations/{unique_id}`.
 18441  	Name string `json:"name,omitempty"`
 18442  	// Response: The normal, successful response of the operation. If the original
 18443  	// method returns no data on success, such as `Delete`, the response is
 18444  	// `google.protobuf.Empty`. If the original method is standard
 18445  	// `Get`/`Create`/`Update`, the response should be the resource. For other
 18446  	// methods, the response should have the type `XxxResponse`, where `Xxx` is the
 18447  	// original method name. For example, if the original method name is
 18448  	// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
 18449  	Response googleapi.RawMessage `json:"response,omitempty"`
 18450  
 18451  	// ServerResponse contains the HTTP response code and headers from the server.
 18452  	googleapi.ServerResponse `json:"-"`
 18453  	// ForceSendFields is a list of field names (e.g. "Done") to unconditionally
 18454  	// include in API requests. By default, fields with empty or default values are
 18455  	// omitted from API requests. See
 18456  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 18457  	// details.
 18458  	ForceSendFields []string `json:"-"`
 18459  	// NullFields is a list of field names (e.g. "Done") to include in API requests
 18460  	// with the JSON null value. By default, fields with empty values are omitted
 18461  	// from API requests. See
 18462  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 18463  	NullFields []string `json:"-"`
 18464  }
 18465  
 18466  func (s *GoogleLongrunningOperation) MarshalJSON() ([]byte, error) {
 18467  	type NoMethod GoogleLongrunningOperation
 18468  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 18469  }
 18470  
 18471  // GoogleProtobufEmpty: A generic empty message that you can re-use to avoid
 18472  // defining duplicated empty messages in your APIs. A typical example is to use
 18473  // it as the request or the response type of an API method. For instance:
 18474  // service Foo { rpc Bar(google.protobuf.Empty) returns
 18475  // (google.protobuf.Empty); }
 18476  type GoogleProtobufEmpty struct {
 18477  	// ServerResponse contains the HTTP response code and headers from the server.
 18478  	googleapi.ServerResponse `json:"-"`
 18479  }
 18480  
 18481  // GoogleRpcStatus: The `Status` type defines a logical error model that is
 18482  // suitable for different programming environments, including REST APIs and RPC
 18483  // APIs. It is used by gRPC (https://github.com/grpc). Each `Status` message
 18484  // contains three pieces of data: error code, error message, and error details.
 18485  // You can find out more about this error model and how to work with it in the
 18486  // API Design Guide (https://cloud.google.com/apis/design/errors).
 18487  type GoogleRpcStatus struct {
 18488  	// Code: The status code, which should be an enum value of google.rpc.Code.
 18489  	Code int64 `json:"code,omitempty"`
 18490  	// Details: A list of messages that carry the error details. There is a common
 18491  	// set of message types for APIs to use.
 18492  	Details []googleapi.RawMessage `json:"details,omitempty"`
 18493  	// Message: A developer-facing error message, which should be in English. Any
 18494  	// user-facing error message should be localized and sent in the
 18495  	// google.rpc.Status.details field, or localized by the client.
 18496  	Message string `json:"message,omitempty"`
 18497  	// ForceSendFields is a list of field names (e.g. "Code") to unconditionally
 18498  	// include in API requests. By default, fields with empty or default values are
 18499  	// omitted from API requests. See
 18500  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 18501  	// details.
 18502  	ForceSendFields []string `json:"-"`
 18503  	// NullFields is a list of field names (e.g. "Code") to include in API requests
 18504  	// with the JSON null value. By default, fields with empty values are omitted
 18505  	// from API requests. See
 18506  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 18507  	NullFields []string `json:"-"`
 18508  }
 18509  
 18510  func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error) {
 18511  	type NoMethod GoogleRpcStatus
 18512  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 18513  }
 18514  
 18515  // GoogleTypeLatLng: An object that represents a latitude/longitude pair. This
 18516  // is expressed as a pair of doubles to represent degrees latitude and degrees
 18517  // longitude. Unless specified otherwise, this object must conform to the WGS84
 18518  // standard. Values must be within normalized ranges.
 18519  type GoogleTypeLatLng struct {
 18520  	// Latitude: The latitude in degrees. It must be in the range [-90.0, +90.0].
 18521  	Latitude float64 `json:"latitude,omitempty"`
 18522  	// Longitude: The longitude in degrees. It must be in the range [-180.0,
 18523  	// +180.0].
 18524  	Longitude float64 `json:"longitude,omitempty"`
 18525  	// ForceSendFields is a list of field names (e.g. "Latitude") to
 18526  	// unconditionally include in API requests. By default, fields with empty or
 18527  	// default values are omitted from API requests. See
 18528  	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
 18529  	// details.
 18530  	ForceSendFields []string `json:"-"`
 18531  	// NullFields is a list of field names (e.g. "Latitude") to include in API
 18532  	// requests with the JSON null value. By default, fields with empty values are
 18533  	// omitted from API requests. See
 18534  	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
 18535  	NullFields []string `json:"-"`
 18536  }
 18537  
 18538  func (s *GoogleTypeLatLng) MarshalJSON() ([]byte, error) {
 18539  	type NoMethod GoogleTypeLatLng
 18540  	return gensupport.MarshalJSON(NoMethod(*s), s.ForceSendFields, s.NullFields)
 18541  }
 18542  
 18543  func (s *GoogleTypeLatLng) UnmarshalJSON(data []byte) error {
 18544  	type NoMethod GoogleTypeLatLng
 18545  	var s1 struct {
 18546  		Latitude  gensupport.JSONFloat64 `json:"latitude"`
 18547  		Longitude gensupport.JSONFloat64 `json:"longitude"`
 18548  		*NoMethod
 18549  	}
 18550  	s1.NoMethod = (*NoMethod)(s)
 18551  	if err := json.Unmarshal(data, &s1); err != nil {
 18552  		return err
 18553  	}
 18554  	s.Latitude = float64(s1.Latitude)
 18555  	s.Longitude = float64(s1.Longitude)
 18556  	return nil
 18557  }
 18558  
 18559  type ProjectsLocationsGetCall struct {
 18560  	s            *Service
 18561  	name         string
 18562  	urlParams_   gensupport.URLParams
 18563  	ifNoneMatch_ string
 18564  	ctx_         context.Context
 18565  	header_      http.Header
 18566  }
 18567  
 18568  // Get: Gets information about a location.
 18569  //
 18570  // - name: Resource name for the location.
 18571  func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall {
 18572  	c := &ProjectsLocationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 18573  	c.name = name
 18574  	return c
 18575  }
 18576  
 18577  // Fields allows partial responses to be retrieved. See
 18578  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 18579  // details.
 18580  func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall {
 18581  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 18582  	return c
 18583  }
 18584  
 18585  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 18586  // object's ETag matches the given value. This is useful for getting updates
 18587  // only after the object has changed since the last request.
 18588  func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall {
 18589  	c.ifNoneMatch_ = entityTag
 18590  	return c
 18591  }
 18592  
 18593  // Context sets the context to be used in this call's Do method.
 18594  func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall {
 18595  	c.ctx_ = ctx
 18596  	return c
 18597  }
 18598  
 18599  // Header returns a http.Header that can be modified by the caller to add
 18600  // headers to the request.
 18601  func (c *ProjectsLocationsGetCall) Header() http.Header {
 18602  	if c.header_ == nil {
 18603  		c.header_ = make(http.Header)
 18604  	}
 18605  	return c.header_
 18606  }
 18607  
 18608  func (c *ProjectsLocationsGetCall) doRequest(alt string) (*http.Response, error) {
 18609  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 18610  	if c.ifNoneMatch_ != "" {
 18611  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 18612  	}
 18613  	var body io.Reader = nil
 18614  	c.urlParams_.Set("alt", alt)
 18615  	c.urlParams_.Set("prettyPrint", "false")
 18616  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 18617  	urls += "?" + c.urlParams_.Encode()
 18618  	req, err := http.NewRequest("GET", urls, body)
 18619  	if err != nil {
 18620  		return nil, err
 18621  	}
 18622  	req.Header = reqHeaders
 18623  	googleapi.Expand(req.URL, map[string]string{
 18624  		"name": c.name,
 18625  	})
 18626  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 18627  }
 18628  
 18629  // Do executes the "dialogflow.projects.locations.get" call.
 18630  // Any non-2xx status code is an error. Response headers are in either
 18631  // *GoogleCloudLocationLocation.ServerResponse.Header or (if a response was
 18632  // returned at all) in error.(*googleapi.Error).Header. Use
 18633  // googleapi.IsNotModified to check whether the returned error was because
 18634  // http.StatusNotModified was returned.
 18635  func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudLocationLocation, error) {
 18636  	gensupport.SetOptions(c.urlParams_, opts...)
 18637  	res, err := c.doRequest("json")
 18638  	if res != nil && res.StatusCode == http.StatusNotModified {
 18639  		if res.Body != nil {
 18640  			res.Body.Close()
 18641  		}
 18642  		return nil, gensupport.WrapError(&googleapi.Error{
 18643  			Code:   res.StatusCode,
 18644  			Header: res.Header,
 18645  		})
 18646  	}
 18647  	if err != nil {
 18648  		return nil, err
 18649  	}
 18650  	defer googleapi.CloseBody(res)
 18651  	if err := googleapi.CheckResponse(res); err != nil {
 18652  		return nil, gensupport.WrapError(err)
 18653  	}
 18654  	ret := &GoogleCloudLocationLocation{
 18655  		ServerResponse: googleapi.ServerResponse{
 18656  			Header:         res.Header,
 18657  			HTTPStatusCode: res.StatusCode,
 18658  		},
 18659  	}
 18660  	target := &ret
 18661  	if err := gensupport.DecodeResponse(target, res); err != nil {
 18662  		return nil, err
 18663  	}
 18664  	return ret, nil
 18665  }
 18666  
 18667  type ProjectsLocationsListCall struct {
 18668  	s            *Service
 18669  	name         string
 18670  	urlParams_   gensupport.URLParams
 18671  	ifNoneMatch_ string
 18672  	ctx_         context.Context
 18673  	header_      http.Header
 18674  }
 18675  
 18676  // List: Lists information about the supported locations for this service.
 18677  //
 18678  // - name: The resource that owns the locations collection, if applicable.
 18679  func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall {
 18680  	c := &ProjectsLocationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 18681  	c.name = name
 18682  	return c
 18683  }
 18684  
 18685  // Filter sets the optional parameter "filter": A filter to narrow down results
 18686  // to a preferred subset. The filtering language accepts strings like
 18687  // "displayName=tokyo", and is documented in more detail in AIP-160
 18688  // (https://google.aip.dev/160).
 18689  func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall {
 18690  	c.urlParams_.Set("filter", filter)
 18691  	return c
 18692  }
 18693  
 18694  // PageSize sets the optional parameter "pageSize": The maximum number of
 18695  // results to return. If not set, the service selects a default.
 18696  func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall {
 18697  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 18698  	return c
 18699  }
 18700  
 18701  // PageToken sets the optional parameter "pageToken": A page token received
 18702  // from the `next_page_token` field in the response. Send that page token to
 18703  // receive the subsequent page.
 18704  func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall {
 18705  	c.urlParams_.Set("pageToken", pageToken)
 18706  	return c
 18707  }
 18708  
 18709  // Fields allows partial responses to be retrieved. See
 18710  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 18711  // details.
 18712  func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall {
 18713  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 18714  	return c
 18715  }
 18716  
 18717  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 18718  // object's ETag matches the given value. This is useful for getting updates
 18719  // only after the object has changed since the last request.
 18720  func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall {
 18721  	c.ifNoneMatch_ = entityTag
 18722  	return c
 18723  }
 18724  
 18725  // Context sets the context to be used in this call's Do method.
 18726  func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall {
 18727  	c.ctx_ = ctx
 18728  	return c
 18729  }
 18730  
 18731  // Header returns a http.Header that can be modified by the caller to add
 18732  // headers to the request.
 18733  func (c *ProjectsLocationsListCall) Header() http.Header {
 18734  	if c.header_ == nil {
 18735  		c.header_ = make(http.Header)
 18736  	}
 18737  	return c.header_
 18738  }
 18739  
 18740  func (c *ProjectsLocationsListCall) doRequest(alt string) (*http.Response, error) {
 18741  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 18742  	if c.ifNoneMatch_ != "" {
 18743  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 18744  	}
 18745  	var body io.Reader = nil
 18746  	c.urlParams_.Set("alt", alt)
 18747  	c.urlParams_.Set("prettyPrint", "false")
 18748  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}/locations")
 18749  	urls += "?" + c.urlParams_.Encode()
 18750  	req, err := http.NewRequest("GET", urls, body)
 18751  	if err != nil {
 18752  		return nil, err
 18753  	}
 18754  	req.Header = reqHeaders
 18755  	googleapi.Expand(req.URL, map[string]string{
 18756  		"name": c.name,
 18757  	})
 18758  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 18759  }
 18760  
 18761  // Do executes the "dialogflow.projects.locations.list" call.
 18762  // Any non-2xx status code is an error. Response headers are in either
 18763  // *GoogleCloudLocationListLocationsResponse.ServerResponse.Header or (if a
 18764  // response was returned at all) in error.(*googleapi.Error).Header. Use
 18765  // googleapi.IsNotModified to check whether the returned error was because
 18766  // http.StatusNotModified was returned.
 18767  func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudLocationListLocationsResponse, error) {
 18768  	gensupport.SetOptions(c.urlParams_, opts...)
 18769  	res, err := c.doRequest("json")
 18770  	if res != nil && res.StatusCode == http.StatusNotModified {
 18771  		if res.Body != nil {
 18772  			res.Body.Close()
 18773  		}
 18774  		return nil, gensupport.WrapError(&googleapi.Error{
 18775  			Code:   res.StatusCode,
 18776  			Header: res.Header,
 18777  		})
 18778  	}
 18779  	if err != nil {
 18780  		return nil, err
 18781  	}
 18782  	defer googleapi.CloseBody(res)
 18783  	if err := googleapi.CheckResponse(res); err != nil {
 18784  		return nil, gensupport.WrapError(err)
 18785  	}
 18786  	ret := &GoogleCloudLocationListLocationsResponse{
 18787  		ServerResponse: googleapi.ServerResponse{
 18788  			Header:         res.Header,
 18789  			HTTPStatusCode: res.StatusCode,
 18790  		},
 18791  	}
 18792  	target := &ret
 18793  	if err := gensupport.DecodeResponse(target, res); err != nil {
 18794  		return nil, err
 18795  	}
 18796  	return ret, nil
 18797  }
 18798  
 18799  // Pages invokes f for each page of results.
 18800  // A non-nil error returned from f will halt the iteration.
 18801  // The provided context supersedes any context provided to the Context method.
 18802  func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*GoogleCloudLocationListLocationsResponse) error) error {
 18803  	c.ctx_ = ctx
 18804  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 18805  	for {
 18806  		x, err := c.Do()
 18807  		if err != nil {
 18808  			return err
 18809  		}
 18810  		if err := f(x); err != nil {
 18811  			return err
 18812  		}
 18813  		if x.NextPageToken == "" {
 18814  			return nil
 18815  		}
 18816  		c.PageToken(x.NextPageToken)
 18817  	}
 18818  }
 18819  
 18820  type ProjectsLocationsAgentsCreateCall struct {
 18821  	s                              *Service
 18822  	parent                         string
 18823  	googleclouddialogflowcxv3agent *GoogleCloudDialogflowCxV3Agent
 18824  	urlParams_                     gensupport.URLParams
 18825  	ctx_                           context.Context
 18826  	header_                        http.Header
 18827  }
 18828  
 18829  // Create: Creates an agent in the specified location. Note: You should always
 18830  // train flows prior to sending them queries. See the training documentation
 18831  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 18832  //
 18833  //   - parent: The location to create a agent for. Format:
 18834  //     `projects//locations/`.
 18835  func (r *ProjectsLocationsAgentsService) Create(parent string, googleclouddialogflowcxv3agent *GoogleCloudDialogflowCxV3Agent) *ProjectsLocationsAgentsCreateCall {
 18836  	c := &ProjectsLocationsAgentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 18837  	c.parent = parent
 18838  	c.googleclouddialogflowcxv3agent = googleclouddialogflowcxv3agent
 18839  	return c
 18840  }
 18841  
 18842  // Fields allows partial responses to be retrieved. See
 18843  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 18844  // details.
 18845  func (c *ProjectsLocationsAgentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsCreateCall {
 18846  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 18847  	return c
 18848  }
 18849  
 18850  // Context sets the context to be used in this call's Do method.
 18851  func (c *ProjectsLocationsAgentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsCreateCall {
 18852  	c.ctx_ = ctx
 18853  	return c
 18854  }
 18855  
 18856  // Header returns a http.Header that can be modified by the caller to add
 18857  // headers to the request.
 18858  func (c *ProjectsLocationsAgentsCreateCall) Header() http.Header {
 18859  	if c.header_ == nil {
 18860  		c.header_ = make(http.Header)
 18861  	}
 18862  	return c.header_
 18863  }
 18864  
 18865  func (c *ProjectsLocationsAgentsCreateCall) doRequest(alt string) (*http.Response, error) {
 18866  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 18867  	var body io.Reader = nil
 18868  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3agent)
 18869  	if err != nil {
 18870  		return nil, err
 18871  	}
 18872  	c.urlParams_.Set("alt", alt)
 18873  	c.urlParams_.Set("prettyPrint", "false")
 18874  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/agents")
 18875  	urls += "?" + c.urlParams_.Encode()
 18876  	req, err := http.NewRequest("POST", urls, body)
 18877  	if err != nil {
 18878  		return nil, err
 18879  	}
 18880  	req.Header = reqHeaders
 18881  	googleapi.Expand(req.URL, map[string]string{
 18882  		"parent": c.parent,
 18883  	})
 18884  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 18885  }
 18886  
 18887  // Do executes the "dialogflow.projects.locations.agents.create" call.
 18888  // Any non-2xx status code is an error. Response headers are in either
 18889  // *GoogleCloudDialogflowCxV3Agent.ServerResponse.Header or (if a response was
 18890  // returned at all) in error.(*googleapi.Error).Header. Use
 18891  // googleapi.IsNotModified to check whether the returned error was because
 18892  // http.StatusNotModified was returned.
 18893  func (c *ProjectsLocationsAgentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Agent, error) {
 18894  	gensupport.SetOptions(c.urlParams_, opts...)
 18895  	res, err := c.doRequest("json")
 18896  	if res != nil && res.StatusCode == http.StatusNotModified {
 18897  		if res.Body != nil {
 18898  			res.Body.Close()
 18899  		}
 18900  		return nil, gensupport.WrapError(&googleapi.Error{
 18901  			Code:   res.StatusCode,
 18902  			Header: res.Header,
 18903  		})
 18904  	}
 18905  	if err != nil {
 18906  		return nil, err
 18907  	}
 18908  	defer googleapi.CloseBody(res)
 18909  	if err := googleapi.CheckResponse(res); err != nil {
 18910  		return nil, gensupport.WrapError(err)
 18911  	}
 18912  	ret := &GoogleCloudDialogflowCxV3Agent{
 18913  		ServerResponse: googleapi.ServerResponse{
 18914  			Header:         res.Header,
 18915  			HTTPStatusCode: res.StatusCode,
 18916  		},
 18917  	}
 18918  	target := &ret
 18919  	if err := gensupport.DecodeResponse(target, res); err != nil {
 18920  		return nil, err
 18921  	}
 18922  	return ret, nil
 18923  }
 18924  
 18925  type ProjectsLocationsAgentsDeleteCall struct {
 18926  	s          *Service
 18927  	name       string
 18928  	urlParams_ gensupport.URLParams
 18929  	ctx_       context.Context
 18930  	header_    http.Header
 18931  }
 18932  
 18933  // Delete: Deletes the specified agent.
 18934  //
 18935  //   - name: The name of the agent to delete. Format:
 18936  //     `projects//locations//agents/`.
 18937  func (r *ProjectsLocationsAgentsService) Delete(name string) *ProjectsLocationsAgentsDeleteCall {
 18938  	c := &ProjectsLocationsAgentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 18939  	c.name = name
 18940  	return c
 18941  }
 18942  
 18943  // Fields allows partial responses to be retrieved. See
 18944  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 18945  // details.
 18946  func (c *ProjectsLocationsAgentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsDeleteCall {
 18947  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 18948  	return c
 18949  }
 18950  
 18951  // Context sets the context to be used in this call's Do method.
 18952  func (c *ProjectsLocationsAgentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsDeleteCall {
 18953  	c.ctx_ = ctx
 18954  	return c
 18955  }
 18956  
 18957  // Header returns a http.Header that can be modified by the caller to add
 18958  // headers to the request.
 18959  func (c *ProjectsLocationsAgentsDeleteCall) Header() http.Header {
 18960  	if c.header_ == nil {
 18961  		c.header_ = make(http.Header)
 18962  	}
 18963  	return c.header_
 18964  }
 18965  
 18966  func (c *ProjectsLocationsAgentsDeleteCall) doRequest(alt string) (*http.Response, error) {
 18967  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 18968  	var body io.Reader = nil
 18969  	c.urlParams_.Set("alt", alt)
 18970  	c.urlParams_.Set("prettyPrint", "false")
 18971  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 18972  	urls += "?" + c.urlParams_.Encode()
 18973  	req, err := http.NewRequest("DELETE", urls, body)
 18974  	if err != nil {
 18975  		return nil, err
 18976  	}
 18977  	req.Header = reqHeaders
 18978  	googleapi.Expand(req.URL, map[string]string{
 18979  		"name": c.name,
 18980  	})
 18981  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 18982  }
 18983  
 18984  // Do executes the "dialogflow.projects.locations.agents.delete" call.
 18985  // Any non-2xx status code is an error. Response headers are in either
 18986  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 18987  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 18988  // check whether the returned error was because http.StatusNotModified was
 18989  // returned.
 18990  func (c *ProjectsLocationsAgentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 18991  	gensupport.SetOptions(c.urlParams_, opts...)
 18992  	res, err := c.doRequest("json")
 18993  	if res != nil && res.StatusCode == http.StatusNotModified {
 18994  		if res.Body != nil {
 18995  			res.Body.Close()
 18996  		}
 18997  		return nil, gensupport.WrapError(&googleapi.Error{
 18998  			Code:   res.StatusCode,
 18999  			Header: res.Header,
 19000  		})
 19001  	}
 19002  	if err != nil {
 19003  		return nil, err
 19004  	}
 19005  	defer googleapi.CloseBody(res)
 19006  	if err := googleapi.CheckResponse(res); err != nil {
 19007  		return nil, gensupport.WrapError(err)
 19008  	}
 19009  	ret := &GoogleProtobufEmpty{
 19010  		ServerResponse: googleapi.ServerResponse{
 19011  			Header:         res.Header,
 19012  			HTTPStatusCode: res.StatusCode,
 19013  		},
 19014  	}
 19015  	target := &ret
 19016  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19017  		return nil, err
 19018  	}
 19019  	return ret, nil
 19020  }
 19021  
 19022  type ProjectsLocationsAgentsExportCall struct {
 19023  	s                                           *Service
 19024  	name                                        string
 19025  	googleclouddialogflowcxv3exportagentrequest *GoogleCloudDialogflowCxV3ExportAgentRequest
 19026  	urlParams_                                  gensupport.URLParams
 19027  	ctx_                                        context.Context
 19028  	header_                                     http.Header
 19029  }
 19030  
 19031  // Export: Exports the specified agent to a binary file. This method is a
 19032  // long-running operation
 19033  // (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
 19034  // The returned `Operation` type has the following method-specific fields: -
 19035  // `metadata`: An empty Struct message
 19036  // (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
 19037  // - `response`: ExportAgentResponse
 19038  //
 19039  //   - name: The name of the agent to export. Format:
 19040  //     `projects//locations//agents/`.
 19041  func (r *ProjectsLocationsAgentsService) Export(name string, googleclouddialogflowcxv3exportagentrequest *GoogleCloudDialogflowCxV3ExportAgentRequest) *ProjectsLocationsAgentsExportCall {
 19042  	c := &ProjectsLocationsAgentsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19043  	c.name = name
 19044  	c.googleclouddialogflowcxv3exportagentrequest = googleclouddialogflowcxv3exportagentrequest
 19045  	return c
 19046  }
 19047  
 19048  // Fields allows partial responses to be retrieved. See
 19049  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 19050  // details.
 19051  func (c *ProjectsLocationsAgentsExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsExportCall {
 19052  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19053  	return c
 19054  }
 19055  
 19056  // Context sets the context to be used in this call's Do method.
 19057  func (c *ProjectsLocationsAgentsExportCall) Context(ctx context.Context) *ProjectsLocationsAgentsExportCall {
 19058  	c.ctx_ = ctx
 19059  	return c
 19060  }
 19061  
 19062  // Header returns a http.Header that can be modified by the caller to add
 19063  // headers to the request.
 19064  func (c *ProjectsLocationsAgentsExportCall) Header() http.Header {
 19065  	if c.header_ == nil {
 19066  		c.header_ = make(http.Header)
 19067  	}
 19068  	return c.header_
 19069  }
 19070  
 19071  func (c *ProjectsLocationsAgentsExportCall) doRequest(alt string) (*http.Response, error) {
 19072  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 19073  	var body io.Reader = nil
 19074  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3exportagentrequest)
 19075  	if err != nil {
 19076  		return nil, err
 19077  	}
 19078  	c.urlParams_.Set("alt", alt)
 19079  	c.urlParams_.Set("prettyPrint", "false")
 19080  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:export")
 19081  	urls += "?" + c.urlParams_.Encode()
 19082  	req, err := http.NewRequest("POST", urls, body)
 19083  	if err != nil {
 19084  		return nil, err
 19085  	}
 19086  	req.Header = reqHeaders
 19087  	googleapi.Expand(req.URL, map[string]string{
 19088  		"name": c.name,
 19089  	})
 19090  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 19091  }
 19092  
 19093  // Do executes the "dialogflow.projects.locations.agents.export" call.
 19094  // Any non-2xx status code is an error. Response headers are in either
 19095  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 19096  // returned at all) in error.(*googleapi.Error).Header. Use
 19097  // googleapi.IsNotModified to check whether the returned error was because
 19098  // http.StatusNotModified was returned.
 19099  func (c *ProjectsLocationsAgentsExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 19100  	gensupport.SetOptions(c.urlParams_, opts...)
 19101  	res, err := c.doRequest("json")
 19102  	if res != nil && res.StatusCode == http.StatusNotModified {
 19103  		if res.Body != nil {
 19104  			res.Body.Close()
 19105  		}
 19106  		return nil, gensupport.WrapError(&googleapi.Error{
 19107  			Code:   res.StatusCode,
 19108  			Header: res.Header,
 19109  		})
 19110  	}
 19111  	if err != nil {
 19112  		return nil, err
 19113  	}
 19114  	defer googleapi.CloseBody(res)
 19115  	if err := googleapi.CheckResponse(res); err != nil {
 19116  		return nil, gensupport.WrapError(err)
 19117  	}
 19118  	ret := &GoogleLongrunningOperation{
 19119  		ServerResponse: googleapi.ServerResponse{
 19120  			Header:         res.Header,
 19121  			HTTPStatusCode: res.StatusCode,
 19122  		},
 19123  	}
 19124  	target := &ret
 19125  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19126  		return nil, err
 19127  	}
 19128  	return ret, nil
 19129  }
 19130  
 19131  type ProjectsLocationsAgentsGetCall struct {
 19132  	s            *Service
 19133  	name         string
 19134  	urlParams_   gensupport.URLParams
 19135  	ifNoneMatch_ string
 19136  	ctx_         context.Context
 19137  	header_      http.Header
 19138  }
 19139  
 19140  // Get: Retrieves the specified agent.
 19141  //
 19142  // - name: The name of the agent. Format: `projects//locations//agents/`.
 19143  func (r *ProjectsLocationsAgentsService) Get(name string) *ProjectsLocationsAgentsGetCall {
 19144  	c := &ProjectsLocationsAgentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19145  	c.name = name
 19146  	return c
 19147  }
 19148  
 19149  // Fields allows partial responses to be retrieved. See
 19150  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 19151  // details.
 19152  func (c *ProjectsLocationsAgentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsGetCall {
 19153  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19154  	return c
 19155  }
 19156  
 19157  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 19158  // object's ETag matches the given value. This is useful for getting updates
 19159  // only after the object has changed since the last request.
 19160  func (c *ProjectsLocationsAgentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsGetCall {
 19161  	c.ifNoneMatch_ = entityTag
 19162  	return c
 19163  }
 19164  
 19165  // Context sets the context to be used in this call's Do method.
 19166  func (c *ProjectsLocationsAgentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsGetCall {
 19167  	c.ctx_ = ctx
 19168  	return c
 19169  }
 19170  
 19171  // Header returns a http.Header that can be modified by the caller to add
 19172  // headers to the request.
 19173  func (c *ProjectsLocationsAgentsGetCall) Header() http.Header {
 19174  	if c.header_ == nil {
 19175  		c.header_ = make(http.Header)
 19176  	}
 19177  	return c.header_
 19178  }
 19179  
 19180  func (c *ProjectsLocationsAgentsGetCall) doRequest(alt string) (*http.Response, error) {
 19181  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 19182  	if c.ifNoneMatch_ != "" {
 19183  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 19184  	}
 19185  	var body io.Reader = nil
 19186  	c.urlParams_.Set("alt", alt)
 19187  	c.urlParams_.Set("prettyPrint", "false")
 19188  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 19189  	urls += "?" + c.urlParams_.Encode()
 19190  	req, err := http.NewRequest("GET", urls, body)
 19191  	if err != nil {
 19192  		return nil, err
 19193  	}
 19194  	req.Header = reqHeaders
 19195  	googleapi.Expand(req.URL, map[string]string{
 19196  		"name": c.name,
 19197  	})
 19198  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 19199  }
 19200  
 19201  // Do executes the "dialogflow.projects.locations.agents.get" call.
 19202  // Any non-2xx status code is an error. Response headers are in either
 19203  // *GoogleCloudDialogflowCxV3Agent.ServerResponse.Header or (if a response was
 19204  // returned at all) in error.(*googleapi.Error).Header. Use
 19205  // googleapi.IsNotModified to check whether the returned error was because
 19206  // http.StatusNotModified was returned.
 19207  func (c *ProjectsLocationsAgentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Agent, error) {
 19208  	gensupport.SetOptions(c.urlParams_, opts...)
 19209  	res, err := c.doRequest("json")
 19210  	if res != nil && res.StatusCode == http.StatusNotModified {
 19211  		if res.Body != nil {
 19212  			res.Body.Close()
 19213  		}
 19214  		return nil, gensupport.WrapError(&googleapi.Error{
 19215  			Code:   res.StatusCode,
 19216  			Header: res.Header,
 19217  		})
 19218  	}
 19219  	if err != nil {
 19220  		return nil, err
 19221  	}
 19222  	defer googleapi.CloseBody(res)
 19223  	if err := googleapi.CheckResponse(res); err != nil {
 19224  		return nil, gensupport.WrapError(err)
 19225  	}
 19226  	ret := &GoogleCloudDialogflowCxV3Agent{
 19227  		ServerResponse: googleapi.ServerResponse{
 19228  			Header:         res.Header,
 19229  			HTTPStatusCode: res.StatusCode,
 19230  		},
 19231  	}
 19232  	target := &ret
 19233  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19234  		return nil, err
 19235  	}
 19236  	return ret, nil
 19237  }
 19238  
 19239  type ProjectsLocationsAgentsGetGenerativeSettingsCall struct {
 19240  	s            *Service
 19241  	name         string
 19242  	urlParams_   gensupport.URLParams
 19243  	ifNoneMatch_ string
 19244  	ctx_         context.Context
 19245  	header_      http.Header
 19246  }
 19247  
 19248  // GetGenerativeSettings: Gets the generative settings for the agent.
 19249  //
 19250  // - name: Format: `projects//locations//agents//generativeSettings`.
 19251  func (r *ProjectsLocationsAgentsService) GetGenerativeSettings(name string) *ProjectsLocationsAgentsGetGenerativeSettingsCall {
 19252  	c := &ProjectsLocationsAgentsGetGenerativeSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19253  	c.name = name
 19254  	return c
 19255  }
 19256  
 19257  // LanguageCode sets the optional parameter "languageCode": Required. Language
 19258  // code of the generative settings.
 19259  func (c *ProjectsLocationsAgentsGetGenerativeSettingsCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsGetGenerativeSettingsCall {
 19260  	c.urlParams_.Set("languageCode", languageCode)
 19261  	return c
 19262  }
 19263  
 19264  // Fields allows partial responses to be retrieved. See
 19265  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 19266  // details.
 19267  func (c *ProjectsLocationsAgentsGetGenerativeSettingsCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsGetGenerativeSettingsCall {
 19268  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19269  	return c
 19270  }
 19271  
 19272  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 19273  // object's ETag matches the given value. This is useful for getting updates
 19274  // only after the object has changed since the last request.
 19275  func (c *ProjectsLocationsAgentsGetGenerativeSettingsCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsGetGenerativeSettingsCall {
 19276  	c.ifNoneMatch_ = entityTag
 19277  	return c
 19278  }
 19279  
 19280  // Context sets the context to be used in this call's Do method.
 19281  func (c *ProjectsLocationsAgentsGetGenerativeSettingsCall) Context(ctx context.Context) *ProjectsLocationsAgentsGetGenerativeSettingsCall {
 19282  	c.ctx_ = ctx
 19283  	return c
 19284  }
 19285  
 19286  // Header returns a http.Header that can be modified by the caller to add
 19287  // headers to the request.
 19288  func (c *ProjectsLocationsAgentsGetGenerativeSettingsCall) Header() http.Header {
 19289  	if c.header_ == nil {
 19290  		c.header_ = make(http.Header)
 19291  	}
 19292  	return c.header_
 19293  }
 19294  
 19295  func (c *ProjectsLocationsAgentsGetGenerativeSettingsCall) doRequest(alt string) (*http.Response, error) {
 19296  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 19297  	if c.ifNoneMatch_ != "" {
 19298  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 19299  	}
 19300  	var body io.Reader = nil
 19301  	c.urlParams_.Set("alt", alt)
 19302  	c.urlParams_.Set("prettyPrint", "false")
 19303  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 19304  	urls += "?" + c.urlParams_.Encode()
 19305  	req, err := http.NewRequest("GET", urls, body)
 19306  	if err != nil {
 19307  		return nil, err
 19308  	}
 19309  	req.Header = reqHeaders
 19310  	googleapi.Expand(req.URL, map[string]string{
 19311  		"name": c.name,
 19312  	})
 19313  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 19314  }
 19315  
 19316  // Do executes the "dialogflow.projects.locations.agents.getGenerativeSettings" call.
 19317  // Any non-2xx status code is an error. Response headers are in either
 19318  // *GoogleCloudDialogflowCxV3GenerativeSettings.ServerResponse.Header or (if a
 19319  // response was returned at all) in error.(*googleapi.Error).Header. Use
 19320  // googleapi.IsNotModified to check whether the returned error was because
 19321  // http.StatusNotModified was returned.
 19322  func (c *ProjectsLocationsAgentsGetGenerativeSettingsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3GenerativeSettings, error) {
 19323  	gensupport.SetOptions(c.urlParams_, opts...)
 19324  	res, err := c.doRequest("json")
 19325  	if res != nil && res.StatusCode == http.StatusNotModified {
 19326  		if res.Body != nil {
 19327  			res.Body.Close()
 19328  		}
 19329  		return nil, gensupport.WrapError(&googleapi.Error{
 19330  			Code:   res.StatusCode,
 19331  			Header: res.Header,
 19332  		})
 19333  	}
 19334  	if err != nil {
 19335  		return nil, err
 19336  	}
 19337  	defer googleapi.CloseBody(res)
 19338  	if err := googleapi.CheckResponse(res); err != nil {
 19339  		return nil, gensupport.WrapError(err)
 19340  	}
 19341  	ret := &GoogleCloudDialogflowCxV3GenerativeSettings{
 19342  		ServerResponse: googleapi.ServerResponse{
 19343  			Header:         res.Header,
 19344  			HTTPStatusCode: res.StatusCode,
 19345  		},
 19346  	}
 19347  	target := &ret
 19348  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19349  		return nil, err
 19350  	}
 19351  	return ret, nil
 19352  }
 19353  
 19354  type ProjectsLocationsAgentsGetValidationResultCall struct {
 19355  	s            *Service
 19356  	name         string
 19357  	urlParams_   gensupport.URLParams
 19358  	ifNoneMatch_ string
 19359  	ctx_         context.Context
 19360  	header_      http.Header
 19361  }
 19362  
 19363  // GetValidationResult: Gets the latest agent validation result. Agent
 19364  // validation is performed when ValidateAgent is called.
 19365  //
 19366  //   - name: The agent name. Format:
 19367  //     `projects//locations//agents//validationResult`.
 19368  func (r *ProjectsLocationsAgentsService) GetValidationResult(name string) *ProjectsLocationsAgentsGetValidationResultCall {
 19369  	c := &ProjectsLocationsAgentsGetValidationResultCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19370  	c.name = name
 19371  	return c
 19372  }
 19373  
 19374  // LanguageCode sets the optional parameter "languageCode": If not specified,
 19375  // the agent's default language is used.
 19376  func (c *ProjectsLocationsAgentsGetValidationResultCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsGetValidationResultCall {
 19377  	c.urlParams_.Set("languageCode", languageCode)
 19378  	return c
 19379  }
 19380  
 19381  // Fields allows partial responses to be retrieved. See
 19382  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 19383  // details.
 19384  func (c *ProjectsLocationsAgentsGetValidationResultCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsGetValidationResultCall {
 19385  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19386  	return c
 19387  }
 19388  
 19389  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 19390  // object's ETag matches the given value. This is useful for getting updates
 19391  // only after the object has changed since the last request.
 19392  func (c *ProjectsLocationsAgentsGetValidationResultCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsGetValidationResultCall {
 19393  	c.ifNoneMatch_ = entityTag
 19394  	return c
 19395  }
 19396  
 19397  // Context sets the context to be used in this call's Do method.
 19398  func (c *ProjectsLocationsAgentsGetValidationResultCall) Context(ctx context.Context) *ProjectsLocationsAgentsGetValidationResultCall {
 19399  	c.ctx_ = ctx
 19400  	return c
 19401  }
 19402  
 19403  // Header returns a http.Header that can be modified by the caller to add
 19404  // headers to the request.
 19405  func (c *ProjectsLocationsAgentsGetValidationResultCall) Header() http.Header {
 19406  	if c.header_ == nil {
 19407  		c.header_ = make(http.Header)
 19408  	}
 19409  	return c.header_
 19410  }
 19411  
 19412  func (c *ProjectsLocationsAgentsGetValidationResultCall) doRequest(alt string) (*http.Response, error) {
 19413  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 19414  	if c.ifNoneMatch_ != "" {
 19415  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 19416  	}
 19417  	var body io.Reader = nil
 19418  	c.urlParams_.Set("alt", alt)
 19419  	c.urlParams_.Set("prettyPrint", "false")
 19420  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 19421  	urls += "?" + c.urlParams_.Encode()
 19422  	req, err := http.NewRequest("GET", urls, body)
 19423  	if err != nil {
 19424  		return nil, err
 19425  	}
 19426  	req.Header = reqHeaders
 19427  	googleapi.Expand(req.URL, map[string]string{
 19428  		"name": c.name,
 19429  	})
 19430  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 19431  }
 19432  
 19433  // Do executes the "dialogflow.projects.locations.agents.getValidationResult" call.
 19434  // Any non-2xx status code is an error. Response headers are in either
 19435  // *GoogleCloudDialogflowCxV3AgentValidationResult.ServerResponse.Header or (if
 19436  // a response was returned at all) in error.(*googleapi.Error).Header. Use
 19437  // googleapi.IsNotModified to check whether the returned error was because
 19438  // http.StatusNotModified was returned.
 19439  func (c *ProjectsLocationsAgentsGetValidationResultCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3AgentValidationResult, error) {
 19440  	gensupport.SetOptions(c.urlParams_, opts...)
 19441  	res, err := c.doRequest("json")
 19442  	if res != nil && res.StatusCode == http.StatusNotModified {
 19443  		if res.Body != nil {
 19444  			res.Body.Close()
 19445  		}
 19446  		return nil, gensupport.WrapError(&googleapi.Error{
 19447  			Code:   res.StatusCode,
 19448  			Header: res.Header,
 19449  		})
 19450  	}
 19451  	if err != nil {
 19452  		return nil, err
 19453  	}
 19454  	defer googleapi.CloseBody(res)
 19455  	if err := googleapi.CheckResponse(res); err != nil {
 19456  		return nil, gensupport.WrapError(err)
 19457  	}
 19458  	ret := &GoogleCloudDialogflowCxV3AgentValidationResult{
 19459  		ServerResponse: googleapi.ServerResponse{
 19460  			Header:         res.Header,
 19461  			HTTPStatusCode: res.StatusCode,
 19462  		},
 19463  	}
 19464  	target := &ret
 19465  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19466  		return nil, err
 19467  	}
 19468  	return ret, nil
 19469  }
 19470  
 19471  type ProjectsLocationsAgentsListCall struct {
 19472  	s            *Service
 19473  	parent       string
 19474  	urlParams_   gensupport.URLParams
 19475  	ifNoneMatch_ string
 19476  	ctx_         context.Context
 19477  	header_      http.Header
 19478  }
 19479  
 19480  // List: Returns the list of all agents in the specified location.
 19481  //
 19482  //   - parent: The location to list all agents for. Format:
 19483  //     `projects//locations/`.
 19484  func (r *ProjectsLocationsAgentsService) List(parent string) *ProjectsLocationsAgentsListCall {
 19485  	c := &ProjectsLocationsAgentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19486  	c.parent = parent
 19487  	return c
 19488  }
 19489  
 19490  // PageSize sets the optional parameter "pageSize": The maximum number of items
 19491  // to return in a single page. By default 100 and at most 1000.
 19492  func (c *ProjectsLocationsAgentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsListCall {
 19493  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 19494  	return c
 19495  }
 19496  
 19497  // PageToken sets the optional parameter "pageToken": The next_page_token value
 19498  // returned from a previous list request.
 19499  func (c *ProjectsLocationsAgentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsListCall {
 19500  	c.urlParams_.Set("pageToken", pageToken)
 19501  	return c
 19502  }
 19503  
 19504  // Fields allows partial responses to be retrieved. See
 19505  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 19506  // details.
 19507  func (c *ProjectsLocationsAgentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsListCall {
 19508  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19509  	return c
 19510  }
 19511  
 19512  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 19513  // object's ETag matches the given value. This is useful for getting updates
 19514  // only after the object has changed since the last request.
 19515  func (c *ProjectsLocationsAgentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsListCall {
 19516  	c.ifNoneMatch_ = entityTag
 19517  	return c
 19518  }
 19519  
 19520  // Context sets the context to be used in this call's Do method.
 19521  func (c *ProjectsLocationsAgentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsListCall {
 19522  	c.ctx_ = ctx
 19523  	return c
 19524  }
 19525  
 19526  // Header returns a http.Header that can be modified by the caller to add
 19527  // headers to the request.
 19528  func (c *ProjectsLocationsAgentsListCall) Header() http.Header {
 19529  	if c.header_ == nil {
 19530  		c.header_ = make(http.Header)
 19531  	}
 19532  	return c.header_
 19533  }
 19534  
 19535  func (c *ProjectsLocationsAgentsListCall) doRequest(alt string) (*http.Response, error) {
 19536  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 19537  	if c.ifNoneMatch_ != "" {
 19538  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 19539  	}
 19540  	var body io.Reader = nil
 19541  	c.urlParams_.Set("alt", alt)
 19542  	c.urlParams_.Set("prettyPrint", "false")
 19543  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/agents")
 19544  	urls += "?" + c.urlParams_.Encode()
 19545  	req, err := http.NewRequest("GET", urls, body)
 19546  	if err != nil {
 19547  		return nil, err
 19548  	}
 19549  	req.Header = reqHeaders
 19550  	googleapi.Expand(req.URL, map[string]string{
 19551  		"parent": c.parent,
 19552  	})
 19553  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 19554  }
 19555  
 19556  // Do executes the "dialogflow.projects.locations.agents.list" call.
 19557  // Any non-2xx status code is an error. Response headers are in either
 19558  // *GoogleCloudDialogflowCxV3ListAgentsResponse.ServerResponse.Header or (if a
 19559  // response was returned at all) in error.(*googleapi.Error).Header. Use
 19560  // googleapi.IsNotModified to check whether the returned error was because
 19561  // http.StatusNotModified was returned.
 19562  func (c *ProjectsLocationsAgentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListAgentsResponse, error) {
 19563  	gensupport.SetOptions(c.urlParams_, opts...)
 19564  	res, err := c.doRequest("json")
 19565  	if res != nil && res.StatusCode == http.StatusNotModified {
 19566  		if res.Body != nil {
 19567  			res.Body.Close()
 19568  		}
 19569  		return nil, gensupport.WrapError(&googleapi.Error{
 19570  			Code:   res.StatusCode,
 19571  			Header: res.Header,
 19572  		})
 19573  	}
 19574  	if err != nil {
 19575  		return nil, err
 19576  	}
 19577  	defer googleapi.CloseBody(res)
 19578  	if err := googleapi.CheckResponse(res); err != nil {
 19579  		return nil, gensupport.WrapError(err)
 19580  	}
 19581  	ret := &GoogleCloudDialogflowCxV3ListAgentsResponse{
 19582  		ServerResponse: googleapi.ServerResponse{
 19583  			Header:         res.Header,
 19584  			HTTPStatusCode: res.StatusCode,
 19585  		},
 19586  	}
 19587  	target := &ret
 19588  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19589  		return nil, err
 19590  	}
 19591  	return ret, nil
 19592  }
 19593  
 19594  // Pages invokes f for each page of results.
 19595  // A non-nil error returned from f will halt the iteration.
 19596  // The provided context supersedes any context provided to the Context method.
 19597  func (c *ProjectsLocationsAgentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListAgentsResponse) error) error {
 19598  	c.ctx_ = ctx
 19599  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 19600  	for {
 19601  		x, err := c.Do()
 19602  		if err != nil {
 19603  			return err
 19604  		}
 19605  		if err := f(x); err != nil {
 19606  			return err
 19607  		}
 19608  		if x.NextPageToken == "" {
 19609  			return nil
 19610  		}
 19611  		c.PageToken(x.NextPageToken)
 19612  	}
 19613  }
 19614  
 19615  type ProjectsLocationsAgentsPatchCall struct {
 19616  	s                              *Service
 19617  	nameid                         string
 19618  	googleclouddialogflowcxv3agent *GoogleCloudDialogflowCxV3Agent
 19619  	urlParams_                     gensupport.URLParams
 19620  	ctx_                           context.Context
 19621  	header_                        http.Header
 19622  }
 19623  
 19624  // Patch: Updates the specified agent. Note: You should always train flows
 19625  // prior to sending them queries. See the training documentation
 19626  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 19627  //
 19628  //   - name: The unique identifier of the agent. Required for the
 19629  //     Agents.UpdateAgent method. Agents.CreateAgent populates the name
 19630  //     automatically. Format: `projects//locations//agents/`.
 19631  func (r *ProjectsLocationsAgentsService) Patch(nameid string, googleclouddialogflowcxv3agent *GoogleCloudDialogflowCxV3Agent) *ProjectsLocationsAgentsPatchCall {
 19632  	c := &ProjectsLocationsAgentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19633  	c.nameid = nameid
 19634  	c.googleclouddialogflowcxv3agent = googleclouddialogflowcxv3agent
 19635  	return c
 19636  }
 19637  
 19638  // UpdateMask sets the optional parameter "updateMask": The mask to control
 19639  // which fields get updated. If the mask is not present, all fields will be
 19640  // updated.
 19641  func (c *ProjectsLocationsAgentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsPatchCall {
 19642  	c.urlParams_.Set("updateMask", updateMask)
 19643  	return c
 19644  }
 19645  
 19646  // Fields allows partial responses to be retrieved. See
 19647  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 19648  // details.
 19649  func (c *ProjectsLocationsAgentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsPatchCall {
 19650  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19651  	return c
 19652  }
 19653  
 19654  // Context sets the context to be used in this call's Do method.
 19655  func (c *ProjectsLocationsAgentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsPatchCall {
 19656  	c.ctx_ = ctx
 19657  	return c
 19658  }
 19659  
 19660  // Header returns a http.Header that can be modified by the caller to add
 19661  // headers to the request.
 19662  func (c *ProjectsLocationsAgentsPatchCall) Header() http.Header {
 19663  	if c.header_ == nil {
 19664  		c.header_ = make(http.Header)
 19665  	}
 19666  	return c.header_
 19667  }
 19668  
 19669  func (c *ProjectsLocationsAgentsPatchCall) doRequest(alt string) (*http.Response, error) {
 19670  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 19671  	var body io.Reader = nil
 19672  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3agent)
 19673  	if err != nil {
 19674  		return nil, err
 19675  	}
 19676  	c.urlParams_.Set("alt", alt)
 19677  	c.urlParams_.Set("prettyPrint", "false")
 19678  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 19679  	urls += "?" + c.urlParams_.Encode()
 19680  	req, err := http.NewRequest("PATCH", urls, body)
 19681  	if err != nil {
 19682  		return nil, err
 19683  	}
 19684  	req.Header = reqHeaders
 19685  	googleapi.Expand(req.URL, map[string]string{
 19686  		"name": c.nameid,
 19687  	})
 19688  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 19689  }
 19690  
 19691  // Do executes the "dialogflow.projects.locations.agents.patch" call.
 19692  // Any non-2xx status code is an error. Response headers are in either
 19693  // *GoogleCloudDialogflowCxV3Agent.ServerResponse.Header or (if a response was
 19694  // returned at all) in error.(*googleapi.Error).Header. Use
 19695  // googleapi.IsNotModified to check whether the returned error was because
 19696  // http.StatusNotModified was returned.
 19697  func (c *ProjectsLocationsAgentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Agent, error) {
 19698  	gensupport.SetOptions(c.urlParams_, opts...)
 19699  	res, err := c.doRequest("json")
 19700  	if res != nil && res.StatusCode == http.StatusNotModified {
 19701  		if res.Body != nil {
 19702  			res.Body.Close()
 19703  		}
 19704  		return nil, gensupport.WrapError(&googleapi.Error{
 19705  			Code:   res.StatusCode,
 19706  			Header: res.Header,
 19707  		})
 19708  	}
 19709  	if err != nil {
 19710  		return nil, err
 19711  	}
 19712  	defer googleapi.CloseBody(res)
 19713  	if err := googleapi.CheckResponse(res); err != nil {
 19714  		return nil, gensupport.WrapError(err)
 19715  	}
 19716  	ret := &GoogleCloudDialogflowCxV3Agent{
 19717  		ServerResponse: googleapi.ServerResponse{
 19718  			Header:         res.Header,
 19719  			HTTPStatusCode: res.StatusCode,
 19720  		},
 19721  	}
 19722  	target := &ret
 19723  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19724  		return nil, err
 19725  	}
 19726  	return ret, nil
 19727  }
 19728  
 19729  type ProjectsLocationsAgentsRestoreCall struct {
 19730  	s                                            *Service
 19731  	name                                         string
 19732  	googleclouddialogflowcxv3restoreagentrequest *GoogleCloudDialogflowCxV3RestoreAgentRequest
 19733  	urlParams_                                   gensupport.URLParams
 19734  	ctx_                                         context.Context
 19735  	header_                                      http.Header
 19736  }
 19737  
 19738  // Restore: Restores the specified agent from a binary file. Replaces the
 19739  // current agent with a new one. Note that all existing resources in agent
 19740  // (e.g. intents, entity types, flows) will be removed. This method is a
 19741  // long-running operation
 19742  // (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
 19743  // The returned `Operation` type has the following method-specific fields: -
 19744  // `metadata`: An empty Struct message
 19745  // (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
 19746  // - `response`: An Empty message
 19747  // (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
 19748  // Note: You should always train flows prior to sending them queries. See the
 19749  // training documentation
 19750  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 19751  //
 19752  //   - name: The name of the agent to restore into. Format:
 19753  //     `projects//locations//agents/`.
 19754  func (r *ProjectsLocationsAgentsService) Restore(name string, googleclouddialogflowcxv3restoreagentrequest *GoogleCloudDialogflowCxV3RestoreAgentRequest) *ProjectsLocationsAgentsRestoreCall {
 19755  	c := &ProjectsLocationsAgentsRestoreCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19756  	c.name = name
 19757  	c.googleclouddialogflowcxv3restoreagentrequest = googleclouddialogflowcxv3restoreagentrequest
 19758  	return c
 19759  }
 19760  
 19761  // Fields allows partial responses to be retrieved. See
 19762  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 19763  // details.
 19764  func (c *ProjectsLocationsAgentsRestoreCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsRestoreCall {
 19765  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19766  	return c
 19767  }
 19768  
 19769  // Context sets the context to be used in this call's Do method.
 19770  func (c *ProjectsLocationsAgentsRestoreCall) Context(ctx context.Context) *ProjectsLocationsAgentsRestoreCall {
 19771  	c.ctx_ = ctx
 19772  	return c
 19773  }
 19774  
 19775  // Header returns a http.Header that can be modified by the caller to add
 19776  // headers to the request.
 19777  func (c *ProjectsLocationsAgentsRestoreCall) Header() http.Header {
 19778  	if c.header_ == nil {
 19779  		c.header_ = make(http.Header)
 19780  	}
 19781  	return c.header_
 19782  }
 19783  
 19784  func (c *ProjectsLocationsAgentsRestoreCall) doRequest(alt string) (*http.Response, error) {
 19785  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 19786  	var body io.Reader = nil
 19787  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3restoreagentrequest)
 19788  	if err != nil {
 19789  		return nil, err
 19790  	}
 19791  	c.urlParams_.Set("alt", alt)
 19792  	c.urlParams_.Set("prettyPrint", "false")
 19793  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:restore")
 19794  	urls += "?" + c.urlParams_.Encode()
 19795  	req, err := http.NewRequest("POST", urls, body)
 19796  	if err != nil {
 19797  		return nil, err
 19798  	}
 19799  	req.Header = reqHeaders
 19800  	googleapi.Expand(req.URL, map[string]string{
 19801  		"name": c.name,
 19802  	})
 19803  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 19804  }
 19805  
 19806  // Do executes the "dialogflow.projects.locations.agents.restore" call.
 19807  // Any non-2xx status code is an error. Response headers are in either
 19808  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 19809  // returned at all) in error.(*googleapi.Error).Header. Use
 19810  // googleapi.IsNotModified to check whether the returned error was because
 19811  // http.StatusNotModified was returned.
 19812  func (c *ProjectsLocationsAgentsRestoreCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 19813  	gensupport.SetOptions(c.urlParams_, opts...)
 19814  	res, err := c.doRequest("json")
 19815  	if res != nil && res.StatusCode == http.StatusNotModified {
 19816  		if res.Body != nil {
 19817  			res.Body.Close()
 19818  		}
 19819  		return nil, gensupport.WrapError(&googleapi.Error{
 19820  			Code:   res.StatusCode,
 19821  			Header: res.Header,
 19822  		})
 19823  	}
 19824  	if err != nil {
 19825  		return nil, err
 19826  	}
 19827  	defer googleapi.CloseBody(res)
 19828  	if err := googleapi.CheckResponse(res); err != nil {
 19829  		return nil, gensupport.WrapError(err)
 19830  	}
 19831  	ret := &GoogleLongrunningOperation{
 19832  		ServerResponse: googleapi.ServerResponse{
 19833  			Header:         res.Header,
 19834  			HTTPStatusCode: res.StatusCode,
 19835  		},
 19836  	}
 19837  	target := &ret
 19838  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19839  		return nil, err
 19840  	}
 19841  	return ret, nil
 19842  }
 19843  
 19844  type ProjectsLocationsAgentsUpdateGenerativeSettingsCall struct {
 19845  	s                                           *Service
 19846  	name                                        string
 19847  	googleclouddialogflowcxv3generativesettings *GoogleCloudDialogflowCxV3GenerativeSettings
 19848  	urlParams_                                  gensupport.URLParams
 19849  	ctx_                                        context.Context
 19850  	header_                                     http.Header
 19851  }
 19852  
 19853  // UpdateGenerativeSettings: Updates the generative settings for the agent.
 19854  //
 19855  // - name: Format: `projects//locations//agents//generativeSettings`.
 19856  func (r *ProjectsLocationsAgentsService) UpdateGenerativeSettings(name string, googleclouddialogflowcxv3generativesettings *GoogleCloudDialogflowCxV3GenerativeSettings) *ProjectsLocationsAgentsUpdateGenerativeSettingsCall {
 19857  	c := &ProjectsLocationsAgentsUpdateGenerativeSettingsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19858  	c.name = name
 19859  	c.googleclouddialogflowcxv3generativesettings = googleclouddialogflowcxv3generativesettings
 19860  	return c
 19861  }
 19862  
 19863  // UpdateMask sets the optional parameter "updateMask": The mask to control
 19864  // which fields get updated. If the mask is not present, all fields will be
 19865  // updated.
 19866  func (c *ProjectsLocationsAgentsUpdateGenerativeSettingsCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsUpdateGenerativeSettingsCall {
 19867  	c.urlParams_.Set("updateMask", updateMask)
 19868  	return c
 19869  }
 19870  
 19871  // Fields allows partial responses to be retrieved. See
 19872  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 19873  // details.
 19874  func (c *ProjectsLocationsAgentsUpdateGenerativeSettingsCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsUpdateGenerativeSettingsCall {
 19875  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19876  	return c
 19877  }
 19878  
 19879  // Context sets the context to be used in this call's Do method.
 19880  func (c *ProjectsLocationsAgentsUpdateGenerativeSettingsCall) Context(ctx context.Context) *ProjectsLocationsAgentsUpdateGenerativeSettingsCall {
 19881  	c.ctx_ = ctx
 19882  	return c
 19883  }
 19884  
 19885  // Header returns a http.Header that can be modified by the caller to add
 19886  // headers to the request.
 19887  func (c *ProjectsLocationsAgentsUpdateGenerativeSettingsCall) Header() http.Header {
 19888  	if c.header_ == nil {
 19889  		c.header_ = make(http.Header)
 19890  	}
 19891  	return c.header_
 19892  }
 19893  
 19894  func (c *ProjectsLocationsAgentsUpdateGenerativeSettingsCall) doRequest(alt string) (*http.Response, error) {
 19895  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 19896  	var body io.Reader = nil
 19897  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3generativesettings)
 19898  	if err != nil {
 19899  		return nil, err
 19900  	}
 19901  	c.urlParams_.Set("alt", alt)
 19902  	c.urlParams_.Set("prettyPrint", "false")
 19903  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 19904  	urls += "?" + c.urlParams_.Encode()
 19905  	req, err := http.NewRequest("PATCH", urls, body)
 19906  	if err != nil {
 19907  		return nil, err
 19908  	}
 19909  	req.Header = reqHeaders
 19910  	googleapi.Expand(req.URL, map[string]string{
 19911  		"name": c.name,
 19912  	})
 19913  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 19914  }
 19915  
 19916  // Do executes the "dialogflow.projects.locations.agents.updateGenerativeSettings" call.
 19917  // Any non-2xx status code is an error. Response headers are in either
 19918  // *GoogleCloudDialogflowCxV3GenerativeSettings.ServerResponse.Header or (if a
 19919  // response was returned at all) in error.(*googleapi.Error).Header. Use
 19920  // googleapi.IsNotModified to check whether the returned error was because
 19921  // http.StatusNotModified was returned.
 19922  func (c *ProjectsLocationsAgentsUpdateGenerativeSettingsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3GenerativeSettings, error) {
 19923  	gensupport.SetOptions(c.urlParams_, opts...)
 19924  	res, err := c.doRequest("json")
 19925  	if res != nil && res.StatusCode == http.StatusNotModified {
 19926  		if res.Body != nil {
 19927  			res.Body.Close()
 19928  		}
 19929  		return nil, gensupport.WrapError(&googleapi.Error{
 19930  			Code:   res.StatusCode,
 19931  			Header: res.Header,
 19932  		})
 19933  	}
 19934  	if err != nil {
 19935  		return nil, err
 19936  	}
 19937  	defer googleapi.CloseBody(res)
 19938  	if err := googleapi.CheckResponse(res); err != nil {
 19939  		return nil, gensupport.WrapError(err)
 19940  	}
 19941  	ret := &GoogleCloudDialogflowCxV3GenerativeSettings{
 19942  		ServerResponse: googleapi.ServerResponse{
 19943  			Header:         res.Header,
 19944  			HTTPStatusCode: res.StatusCode,
 19945  		},
 19946  	}
 19947  	target := &ret
 19948  	if err := gensupport.DecodeResponse(target, res); err != nil {
 19949  		return nil, err
 19950  	}
 19951  	return ret, nil
 19952  }
 19953  
 19954  type ProjectsLocationsAgentsValidateCall struct {
 19955  	s                                             *Service
 19956  	name                                          string
 19957  	googleclouddialogflowcxv3validateagentrequest *GoogleCloudDialogflowCxV3ValidateAgentRequest
 19958  	urlParams_                                    gensupport.URLParams
 19959  	ctx_                                          context.Context
 19960  	header_                                       http.Header
 19961  }
 19962  
 19963  // Validate: Validates the specified agent and creates or updates validation
 19964  // results. The agent in draft version is validated. Please call this API after
 19965  // the training is completed to get the complete validation results.
 19966  //
 19967  // - name: The agent to validate. Format: `projects//locations//agents/`.
 19968  func (r *ProjectsLocationsAgentsService) Validate(name string, googleclouddialogflowcxv3validateagentrequest *GoogleCloudDialogflowCxV3ValidateAgentRequest) *ProjectsLocationsAgentsValidateCall {
 19969  	c := &ProjectsLocationsAgentsValidateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 19970  	c.name = name
 19971  	c.googleclouddialogflowcxv3validateagentrequest = googleclouddialogflowcxv3validateagentrequest
 19972  	return c
 19973  }
 19974  
 19975  // Fields allows partial responses to be retrieved. See
 19976  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 19977  // details.
 19978  func (c *ProjectsLocationsAgentsValidateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsValidateCall {
 19979  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 19980  	return c
 19981  }
 19982  
 19983  // Context sets the context to be used in this call's Do method.
 19984  func (c *ProjectsLocationsAgentsValidateCall) Context(ctx context.Context) *ProjectsLocationsAgentsValidateCall {
 19985  	c.ctx_ = ctx
 19986  	return c
 19987  }
 19988  
 19989  // Header returns a http.Header that can be modified by the caller to add
 19990  // headers to the request.
 19991  func (c *ProjectsLocationsAgentsValidateCall) Header() http.Header {
 19992  	if c.header_ == nil {
 19993  		c.header_ = make(http.Header)
 19994  	}
 19995  	return c.header_
 19996  }
 19997  
 19998  func (c *ProjectsLocationsAgentsValidateCall) doRequest(alt string) (*http.Response, error) {
 19999  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 20000  	var body io.Reader = nil
 20001  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3validateagentrequest)
 20002  	if err != nil {
 20003  		return nil, err
 20004  	}
 20005  	c.urlParams_.Set("alt", alt)
 20006  	c.urlParams_.Set("prettyPrint", "false")
 20007  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:validate")
 20008  	urls += "?" + c.urlParams_.Encode()
 20009  	req, err := http.NewRequest("POST", urls, body)
 20010  	if err != nil {
 20011  		return nil, err
 20012  	}
 20013  	req.Header = reqHeaders
 20014  	googleapi.Expand(req.URL, map[string]string{
 20015  		"name": c.name,
 20016  	})
 20017  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 20018  }
 20019  
 20020  // Do executes the "dialogflow.projects.locations.agents.validate" call.
 20021  // Any non-2xx status code is an error. Response headers are in either
 20022  // *GoogleCloudDialogflowCxV3AgentValidationResult.ServerResponse.Header or (if
 20023  // a response was returned at all) in error.(*googleapi.Error).Header. Use
 20024  // googleapi.IsNotModified to check whether the returned error was because
 20025  // http.StatusNotModified was returned.
 20026  func (c *ProjectsLocationsAgentsValidateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3AgentValidationResult, error) {
 20027  	gensupport.SetOptions(c.urlParams_, opts...)
 20028  	res, err := c.doRequest("json")
 20029  	if res != nil && res.StatusCode == http.StatusNotModified {
 20030  		if res.Body != nil {
 20031  			res.Body.Close()
 20032  		}
 20033  		return nil, gensupport.WrapError(&googleapi.Error{
 20034  			Code:   res.StatusCode,
 20035  			Header: res.Header,
 20036  		})
 20037  	}
 20038  	if err != nil {
 20039  		return nil, err
 20040  	}
 20041  	defer googleapi.CloseBody(res)
 20042  	if err := googleapi.CheckResponse(res); err != nil {
 20043  		return nil, gensupport.WrapError(err)
 20044  	}
 20045  	ret := &GoogleCloudDialogflowCxV3AgentValidationResult{
 20046  		ServerResponse: googleapi.ServerResponse{
 20047  			Header:         res.Header,
 20048  			HTTPStatusCode: res.StatusCode,
 20049  		},
 20050  	}
 20051  	target := &ret
 20052  	if err := gensupport.DecodeResponse(target, res); err != nil {
 20053  		return nil, err
 20054  	}
 20055  	return ret, nil
 20056  }
 20057  
 20058  type ProjectsLocationsAgentsChangelogsGetCall struct {
 20059  	s            *Service
 20060  	name         string
 20061  	urlParams_   gensupport.URLParams
 20062  	ifNoneMatch_ string
 20063  	ctx_         context.Context
 20064  	header_      http.Header
 20065  }
 20066  
 20067  // Get: Retrieves the specified Changelog.
 20068  //
 20069  //   - name: The name of the changelog to get. Format:
 20070  //     `projects//locations//agents//changelogs/`.
 20071  func (r *ProjectsLocationsAgentsChangelogsService) Get(name string) *ProjectsLocationsAgentsChangelogsGetCall {
 20072  	c := &ProjectsLocationsAgentsChangelogsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 20073  	c.name = name
 20074  	return c
 20075  }
 20076  
 20077  // Fields allows partial responses to be retrieved. See
 20078  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 20079  // details.
 20080  func (c *ProjectsLocationsAgentsChangelogsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsChangelogsGetCall {
 20081  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 20082  	return c
 20083  }
 20084  
 20085  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 20086  // object's ETag matches the given value. This is useful for getting updates
 20087  // only after the object has changed since the last request.
 20088  func (c *ProjectsLocationsAgentsChangelogsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsChangelogsGetCall {
 20089  	c.ifNoneMatch_ = entityTag
 20090  	return c
 20091  }
 20092  
 20093  // Context sets the context to be used in this call's Do method.
 20094  func (c *ProjectsLocationsAgentsChangelogsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsChangelogsGetCall {
 20095  	c.ctx_ = ctx
 20096  	return c
 20097  }
 20098  
 20099  // Header returns a http.Header that can be modified by the caller to add
 20100  // headers to the request.
 20101  func (c *ProjectsLocationsAgentsChangelogsGetCall) Header() http.Header {
 20102  	if c.header_ == nil {
 20103  		c.header_ = make(http.Header)
 20104  	}
 20105  	return c.header_
 20106  }
 20107  
 20108  func (c *ProjectsLocationsAgentsChangelogsGetCall) doRequest(alt string) (*http.Response, error) {
 20109  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 20110  	if c.ifNoneMatch_ != "" {
 20111  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 20112  	}
 20113  	var body io.Reader = nil
 20114  	c.urlParams_.Set("alt", alt)
 20115  	c.urlParams_.Set("prettyPrint", "false")
 20116  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 20117  	urls += "?" + c.urlParams_.Encode()
 20118  	req, err := http.NewRequest("GET", urls, body)
 20119  	if err != nil {
 20120  		return nil, err
 20121  	}
 20122  	req.Header = reqHeaders
 20123  	googleapi.Expand(req.URL, map[string]string{
 20124  		"name": c.name,
 20125  	})
 20126  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 20127  }
 20128  
 20129  // Do executes the "dialogflow.projects.locations.agents.changelogs.get" call.
 20130  // Any non-2xx status code is an error. Response headers are in either
 20131  // *GoogleCloudDialogflowCxV3Changelog.ServerResponse.Header or (if a response
 20132  // was returned at all) in error.(*googleapi.Error).Header. Use
 20133  // googleapi.IsNotModified to check whether the returned error was because
 20134  // http.StatusNotModified was returned.
 20135  func (c *ProjectsLocationsAgentsChangelogsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Changelog, error) {
 20136  	gensupport.SetOptions(c.urlParams_, opts...)
 20137  	res, err := c.doRequest("json")
 20138  	if res != nil && res.StatusCode == http.StatusNotModified {
 20139  		if res.Body != nil {
 20140  			res.Body.Close()
 20141  		}
 20142  		return nil, gensupport.WrapError(&googleapi.Error{
 20143  			Code:   res.StatusCode,
 20144  			Header: res.Header,
 20145  		})
 20146  	}
 20147  	if err != nil {
 20148  		return nil, err
 20149  	}
 20150  	defer googleapi.CloseBody(res)
 20151  	if err := googleapi.CheckResponse(res); err != nil {
 20152  		return nil, gensupport.WrapError(err)
 20153  	}
 20154  	ret := &GoogleCloudDialogflowCxV3Changelog{
 20155  		ServerResponse: googleapi.ServerResponse{
 20156  			Header:         res.Header,
 20157  			HTTPStatusCode: res.StatusCode,
 20158  		},
 20159  	}
 20160  	target := &ret
 20161  	if err := gensupport.DecodeResponse(target, res); err != nil {
 20162  		return nil, err
 20163  	}
 20164  	return ret, nil
 20165  }
 20166  
 20167  type ProjectsLocationsAgentsChangelogsListCall struct {
 20168  	s            *Service
 20169  	parent       string
 20170  	urlParams_   gensupport.URLParams
 20171  	ifNoneMatch_ string
 20172  	ctx_         context.Context
 20173  	header_      http.Header
 20174  }
 20175  
 20176  // List: Returns the list of Changelogs.
 20177  //
 20178  //   - parent: The agent containing the changelogs. Format:
 20179  //     `projects//locations//agents/`.
 20180  func (r *ProjectsLocationsAgentsChangelogsService) List(parent string) *ProjectsLocationsAgentsChangelogsListCall {
 20181  	c := &ProjectsLocationsAgentsChangelogsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 20182  	c.parent = parent
 20183  	return c
 20184  }
 20185  
 20186  // Filter sets the optional parameter "filter": The filter string. Supports
 20187  // filter by user_email, resource, type and create_time. Some examples: 1. By
 20188  // user email: user_email = "someone@google.com" 2. By resource name: resource
 20189  // = "projects/123/locations/global/agents/456/flows/789" 3. By resource
 20190  // display name: display_name = "my agent" 4. By action: action = "Create" 5.
 20191  // By type: type = "flows" 6. By create time. Currently predicates on
 20192  // `create_time` and `create_time_epoch_seconds` are supported:
 20193  // create_time_epoch_seconds > 1551790877 AND create_time <=
 20194  // 2017-01-15T01:30:15.01Z 7. Combination of above filters: resource =
 20195  // "projects/123/locations/global/agents/456/flows/789" AND user_email =
 20196  // "someone@google.com" AND create_time <= 2017-01-15T01:30:15.01Z
 20197  func (c *ProjectsLocationsAgentsChangelogsListCall) Filter(filter string) *ProjectsLocationsAgentsChangelogsListCall {
 20198  	c.urlParams_.Set("filter", filter)
 20199  	return c
 20200  }
 20201  
 20202  // PageSize sets the optional parameter "pageSize": The maximum number of items
 20203  // to return in a single page. By default 100 and at most 1000.
 20204  func (c *ProjectsLocationsAgentsChangelogsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsChangelogsListCall {
 20205  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 20206  	return c
 20207  }
 20208  
 20209  // PageToken sets the optional parameter "pageToken": The next_page_token value
 20210  // returned from a previous list request.
 20211  func (c *ProjectsLocationsAgentsChangelogsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsChangelogsListCall {
 20212  	c.urlParams_.Set("pageToken", pageToken)
 20213  	return c
 20214  }
 20215  
 20216  // Fields allows partial responses to be retrieved. See
 20217  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 20218  // details.
 20219  func (c *ProjectsLocationsAgentsChangelogsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsChangelogsListCall {
 20220  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 20221  	return c
 20222  }
 20223  
 20224  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 20225  // object's ETag matches the given value. This is useful for getting updates
 20226  // only after the object has changed since the last request.
 20227  func (c *ProjectsLocationsAgentsChangelogsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsChangelogsListCall {
 20228  	c.ifNoneMatch_ = entityTag
 20229  	return c
 20230  }
 20231  
 20232  // Context sets the context to be used in this call's Do method.
 20233  func (c *ProjectsLocationsAgentsChangelogsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsChangelogsListCall {
 20234  	c.ctx_ = ctx
 20235  	return c
 20236  }
 20237  
 20238  // Header returns a http.Header that can be modified by the caller to add
 20239  // headers to the request.
 20240  func (c *ProjectsLocationsAgentsChangelogsListCall) Header() http.Header {
 20241  	if c.header_ == nil {
 20242  		c.header_ = make(http.Header)
 20243  	}
 20244  	return c.header_
 20245  }
 20246  
 20247  func (c *ProjectsLocationsAgentsChangelogsListCall) doRequest(alt string) (*http.Response, error) {
 20248  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 20249  	if c.ifNoneMatch_ != "" {
 20250  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 20251  	}
 20252  	var body io.Reader = nil
 20253  	c.urlParams_.Set("alt", alt)
 20254  	c.urlParams_.Set("prettyPrint", "false")
 20255  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/changelogs")
 20256  	urls += "?" + c.urlParams_.Encode()
 20257  	req, err := http.NewRequest("GET", urls, body)
 20258  	if err != nil {
 20259  		return nil, err
 20260  	}
 20261  	req.Header = reqHeaders
 20262  	googleapi.Expand(req.URL, map[string]string{
 20263  		"parent": c.parent,
 20264  	})
 20265  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 20266  }
 20267  
 20268  // Do executes the "dialogflow.projects.locations.agents.changelogs.list" call.
 20269  // Any non-2xx status code is an error. Response headers are in either
 20270  // *GoogleCloudDialogflowCxV3ListChangelogsResponse.ServerResponse.Header or
 20271  // (if a response was returned at all) in error.(*googleapi.Error).Header. Use
 20272  // googleapi.IsNotModified to check whether the returned error was because
 20273  // http.StatusNotModified was returned.
 20274  func (c *ProjectsLocationsAgentsChangelogsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListChangelogsResponse, error) {
 20275  	gensupport.SetOptions(c.urlParams_, opts...)
 20276  	res, err := c.doRequest("json")
 20277  	if res != nil && res.StatusCode == http.StatusNotModified {
 20278  		if res.Body != nil {
 20279  			res.Body.Close()
 20280  		}
 20281  		return nil, gensupport.WrapError(&googleapi.Error{
 20282  			Code:   res.StatusCode,
 20283  			Header: res.Header,
 20284  		})
 20285  	}
 20286  	if err != nil {
 20287  		return nil, err
 20288  	}
 20289  	defer googleapi.CloseBody(res)
 20290  	if err := googleapi.CheckResponse(res); err != nil {
 20291  		return nil, gensupport.WrapError(err)
 20292  	}
 20293  	ret := &GoogleCloudDialogflowCxV3ListChangelogsResponse{
 20294  		ServerResponse: googleapi.ServerResponse{
 20295  			Header:         res.Header,
 20296  			HTTPStatusCode: res.StatusCode,
 20297  		},
 20298  	}
 20299  	target := &ret
 20300  	if err := gensupport.DecodeResponse(target, res); err != nil {
 20301  		return nil, err
 20302  	}
 20303  	return ret, nil
 20304  }
 20305  
 20306  // Pages invokes f for each page of results.
 20307  // A non-nil error returned from f will halt the iteration.
 20308  // The provided context supersedes any context provided to the Context method.
 20309  func (c *ProjectsLocationsAgentsChangelogsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListChangelogsResponse) error) error {
 20310  	c.ctx_ = ctx
 20311  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 20312  	for {
 20313  		x, err := c.Do()
 20314  		if err != nil {
 20315  			return err
 20316  		}
 20317  		if err := f(x); err != nil {
 20318  			return err
 20319  		}
 20320  		if x.NextPageToken == "" {
 20321  			return nil
 20322  		}
 20323  		c.PageToken(x.NextPageToken)
 20324  	}
 20325  }
 20326  
 20327  type ProjectsLocationsAgentsEntityTypesCreateCall struct {
 20328  	s                                   *Service
 20329  	parent                              string
 20330  	googleclouddialogflowcxv3entitytype *GoogleCloudDialogflowCxV3EntityType
 20331  	urlParams_                          gensupport.URLParams
 20332  	ctx_                                context.Context
 20333  	header_                             http.Header
 20334  }
 20335  
 20336  // Create: Creates an entity type in the specified agent. Note: You should
 20337  // always train a flow prior to sending it queries. See the training
 20338  // documentation
 20339  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 20340  //
 20341  //   - parent: The agent to create a entity type for. Format:
 20342  //     `projects//locations//agents/`.
 20343  func (r *ProjectsLocationsAgentsEntityTypesService) Create(parent string, googleclouddialogflowcxv3entitytype *GoogleCloudDialogflowCxV3EntityType) *ProjectsLocationsAgentsEntityTypesCreateCall {
 20344  	c := &ProjectsLocationsAgentsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 20345  	c.parent = parent
 20346  	c.googleclouddialogflowcxv3entitytype = googleclouddialogflowcxv3entitytype
 20347  	return c
 20348  }
 20349  
 20350  // LanguageCode sets the optional parameter "languageCode": The language of the
 20351  // following fields in `entity_type`: * `EntityType.entities.value` *
 20352  // `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not
 20353  // specified, the agent's default language is used. Many languages
 20354  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 20355  // supported. Note: languages must be enabled in the agent before they can be
 20356  // used.
 20357  func (c *ProjectsLocationsAgentsEntityTypesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesCreateCall {
 20358  	c.urlParams_.Set("languageCode", languageCode)
 20359  	return c
 20360  }
 20361  
 20362  // Fields allows partial responses to be retrieved. See
 20363  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 20364  // details.
 20365  func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesCreateCall {
 20366  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 20367  	return c
 20368  }
 20369  
 20370  // Context sets the context to be used in this call's Do method.
 20371  func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesCreateCall {
 20372  	c.ctx_ = ctx
 20373  	return c
 20374  }
 20375  
 20376  // Header returns a http.Header that can be modified by the caller to add
 20377  // headers to the request.
 20378  func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Header() http.Header {
 20379  	if c.header_ == nil {
 20380  		c.header_ = make(http.Header)
 20381  	}
 20382  	return c.header_
 20383  }
 20384  
 20385  func (c *ProjectsLocationsAgentsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) {
 20386  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 20387  	var body io.Reader = nil
 20388  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3entitytype)
 20389  	if err != nil {
 20390  		return nil, err
 20391  	}
 20392  	c.urlParams_.Set("alt", alt)
 20393  	c.urlParams_.Set("prettyPrint", "false")
 20394  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes")
 20395  	urls += "?" + c.urlParams_.Encode()
 20396  	req, err := http.NewRequest("POST", urls, body)
 20397  	if err != nil {
 20398  		return nil, err
 20399  	}
 20400  	req.Header = reqHeaders
 20401  	googleapi.Expand(req.URL, map[string]string{
 20402  		"parent": c.parent,
 20403  	})
 20404  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 20405  }
 20406  
 20407  // Do executes the "dialogflow.projects.locations.agents.entityTypes.create" call.
 20408  // Any non-2xx status code is an error. Response headers are in either
 20409  // *GoogleCloudDialogflowCxV3EntityType.ServerResponse.Header or (if a response
 20410  // was returned at all) in error.(*googleapi.Error).Header. Use
 20411  // googleapi.IsNotModified to check whether the returned error was because
 20412  // http.StatusNotModified was returned.
 20413  func (c *ProjectsLocationsAgentsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3EntityType, error) {
 20414  	gensupport.SetOptions(c.urlParams_, opts...)
 20415  	res, err := c.doRequest("json")
 20416  	if res != nil && res.StatusCode == http.StatusNotModified {
 20417  		if res.Body != nil {
 20418  			res.Body.Close()
 20419  		}
 20420  		return nil, gensupport.WrapError(&googleapi.Error{
 20421  			Code:   res.StatusCode,
 20422  			Header: res.Header,
 20423  		})
 20424  	}
 20425  	if err != nil {
 20426  		return nil, err
 20427  	}
 20428  	defer googleapi.CloseBody(res)
 20429  	if err := googleapi.CheckResponse(res); err != nil {
 20430  		return nil, gensupport.WrapError(err)
 20431  	}
 20432  	ret := &GoogleCloudDialogflowCxV3EntityType{
 20433  		ServerResponse: googleapi.ServerResponse{
 20434  			Header:         res.Header,
 20435  			HTTPStatusCode: res.StatusCode,
 20436  		},
 20437  	}
 20438  	target := &ret
 20439  	if err := gensupport.DecodeResponse(target, res); err != nil {
 20440  		return nil, err
 20441  	}
 20442  	return ret, nil
 20443  }
 20444  
 20445  type ProjectsLocationsAgentsEntityTypesDeleteCall struct {
 20446  	s          *Service
 20447  	name       string
 20448  	urlParams_ gensupport.URLParams
 20449  	ctx_       context.Context
 20450  	header_    http.Header
 20451  }
 20452  
 20453  // Delete: Deletes the specified entity type. Note: You should always train a
 20454  // flow prior to sending it queries. See the training documentation
 20455  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 20456  //
 20457  //   - name: The name of the entity type to delete. Format:
 20458  //     `projects//locations//agents//entityTypes/`.
 20459  func (r *ProjectsLocationsAgentsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEntityTypesDeleteCall {
 20460  	c := &ProjectsLocationsAgentsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 20461  	c.name = name
 20462  	return c
 20463  }
 20464  
 20465  // Force sets the optional parameter "force": This field has no effect for
 20466  // entity type not being used. For entity types that are used by intents or
 20467  // pages: * If `force` is set to false, an error will be returned with message
 20468  // indicating the referencing resources. * If `force` is set to true,
 20469  // Dialogflow will remove the entity type, as well as any references to the
 20470  // entity type (i.e. Page parameter of the entity type will be changed to
 20471  // '@sys.any' and intent parameter of the entity type will be removed).
 20472  func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Force(force bool) *ProjectsLocationsAgentsEntityTypesDeleteCall {
 20473  	c.urlParams_.Set("force", fmt.Sprint(force))
 20474  	return c
 20475  }
 20476  
 20477  // Fields allows partial responses to be retrieved. See
 20478  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 20479  // details.
 20480  func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesDeleteCall {
 20481  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 20482  	return c
 20483  }
 20484  
 20485  // Context sets the context to be used in this call's Do method.
 20486  func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesDeleteCall {
 20487  	c.ctx_ = ctx
 20488  	return c
 20489  }
 20490  
 20491  // Header returns a http.Header that can be modified by the caller to add
 20492  // headers to the request.
 20493  func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Header() http.Header {
 20494  	if c.header_ == nil {
 20495  		c.header_ = make(http.Header)
 20496  	}
 20497  	return c.header_
 20498  }
 20499  
 20500  func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) {
 20501  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 20502  	var body io.Reader = nil
 20503  	c.urlParams_.Set("alt", alt)
 20504  	c.urlParams_.Set("prettyPrint", "false")
 20505  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 20506  	urls += "?" + c.urlParams_.Encode()
 20507  	req, err := http.NewRequest("DELETE", urls, body)
 20508  	if err != nil {
 20509  		return nil, err
 20510  	}
 20511  	req.Header = reqHeaders
 20512  	googleapi.Expand(req.URL, map[string]string{
 20513  		"name": c.name,
 20514  	})
 20515  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 20516  }
 20517  
 20518  // Do executes the "dialogflow.projects.locations.agents.entityTypes.delete" call.
 20519  // Any non-2xx status code is an error. Response headers are in either
 20520  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 20521  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 20522  // check whether the returned error was because http.StatusNotModified was
 20523  // returned.
 20524  func (c *ProjectsLocationsAgentsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 20525  	gensupport.SetOptions(c.urlParams_, opts...)
 20526  	res, err := c.doRequest("json")
 20527  	if res != nil && res.StatusCode == http.StatusNotModified {
 20528  		if res.Body != nil {
 20529  			res.Body.Close()
 20530  		}
 20531  		return nil, gensupport.WrapError(&googleapi.Error{
 20532  			Code:   res.StatusCode,
 20533  			Header: res.Header,
 20534  		})
 20535  	}
 20536  	if err != nil {
 20537  		return nil, err
 20538  	}
 20539  	defer googleapi.CloseBody(res)
 20540  	if err := googleapi.CheckResponse(res); err != nil {
 20541  		return nil, gensupport.WrapError(err)
 20542  	}
 20543  	ret := &GoogleProtobufEmpty{
 20544  		ServerResponse: googleapi.ServerResponse{
 20545  			Header:         res.Header,
 20546  			HTTPStatusCode: res.StatusCode,
 20547  		},
 20548  	}
 20549  	target := &ret
 20550  	if err := gensupport.DecodeResponse(target, res); err != nil {
 20551  		return nil, err
 20552  	}
 20553  	return ret, nil
 20554  }
 20555  
 20556  type ProjectsLocationsAgentsEntityTypesExportCall struct {
 20557  	s                                                 *Service
 20558  	parent                                            string
 20559  	googleclouddialogflowcxv3exportentitytypesrequest *GoogleCloudDialogflowCxV3ExportEntityTypesRequest
 20560  	urlParams_                                        gensupport.URLParams
 20561  	ctx_                                              context.Context
 20562  	header_                                           http.Header
 20563  }
 20564  
 20565  // Export: Exports the selected entity types.
 20566  //
 20567  //   - parent: The name of the parent agent to export entity types. Format:
 20568  //     `projects//locations//agents/`.
 20569  func (r *ProjectsLocationsAgentsEntityTypesService) Export(parent string, googleclouddialogflowcxv3exportentitytypesrequest *GoogleCloudDialogflowCxV3ExportEntityTypesRequest) *ProjectsLocationsAgentsEntityTypesExportCall {
 20570  	c := &ProjectsLocationsAgentsEntityTypesExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 20571  	c.parent = parent
 20572  	c.googleclouddialogflowcxv3exportentitytypesrequest = googleclouddialogflowcxv3exportentitytypesrequest
 20573  	return c
 20574  }
 20575  
 20576  // Fields allows partial responses to be retrieved. See
 20577  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 20578  // details.
 20579  func (c *ProjectsLocationsAgentsEntityTypesExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesExportCall {
 20580  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 20581  	return c
 20582  }
 20583  
 20584  // Context sets the context to be used in this call's Do method.
 20585  func (c *ProjectsLocationsAgentsEntityTypesExportCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesExportCall {
 20586  	c.ctx_ = ctx
 20587  	return c
 20588  }
 20589  
 20590  // Header returns a http.Header that can be modified by the caller to add
 20591  // headers to the request.
 20592  func (c *ProjectsLocationsAgentsEntityTypesExportCall) Header() http.Header {
 20593  	if c.header_ == nil {
 20594  		c.header_ = make(http.Header)
 20595  	}
 20596  	return c.header_
 20597  }
 20598  
 20599  func (c *ProjectsLocationsAgentsEntityTypesExportCall) doRequest(alt string) (*http.Response, error) {
 20600  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 20601  	var body io.Reader = nil
 20602  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3exportentitytypesrequest)
 20603  	if err != nil {
 20604  		return nil, err
 20605  	}
 20606  	c.urlParams_.Set("alt", alt)
 20607  	c.urlParams_.Set("prettyPrint", "false")
 20608  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes:export")
 20609  	urls += "?" + c.urlParams_.Encode()
 20610  	req, err := http.NewRequest("POST", urls, body)
 20611  	if err != nil {
 20612  		return nil, err
 20613  	}
 20614  	req.Header = reqHeaders
 20615  	googleapi.Expand(req.URL, map[string]string{
 20616  		"parent": c.parent,
 20617  	})
 20618  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 20619  }
 20620  
 20621  // Do executes the "dialogflow.projects.locations.agents.entityTypes.export" call.
 20622  // Any non-2xx status code is an error. Response headers are in either
 20623  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 20624  // returned at all) in error.(*googleapi.Error).Header. Use
 20625  // googleapi.IsNotModified to check whether the returned error was because
 20626  // http.StatusNotModified was returned.
 20627  func (c *ProjectsLocationsAgentsEntityTypesExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 20628  	gensupport.SetOptions(c.urlParams_, opts...)
 20629  	res, err := c.doRequest("json")
 20630  	if res != nil && res.StatusCode == http.StatusNotModified {
 20631  		if res.Body != nil {
 20632  			res.Body.Close()
 20633  		}
 20634  		return nil, gensupport.WrapError(&googleapi.Error{
 20635  			Code:   res.StatusCode,
 20636  			Header: res.Header,
 20637  		})
 20638  	}
 20639  	if err != nil {
 20640  		return nil, err
 20641  	}
 20642  	defer googleapi.CloseBody(res)
 20643  	if err := googleapi.CheckResponse(res); err != nil {
 20644  		return nil, gensupport.WrapError(err)
 20645  	}
 20646  	ret := &GoogleLongrunningOperation{
 20647  		ServerResponse: googleapi.ServerResponse{
 20648  			Header:         res.Header,
 20649  			HTTPStatusCode: res.StatusCode,
 20650  		},
 20651  	}
 20652  	target := &ret
 20653  	if err := gensupport.DecodeResponse(target, res); err != nil {
 20654  		return nil, err
 20655  	}
 20656  	return ret, nil
 20657  }
 20658  
 20659  type ProjectsLocationsAgentsEntityTypesGetCall struct {
 20660  	s            *Service
 20661  	name         string
 20662  	urlParams_   gensupport.URLParams
 20663  	ifNoneMatch_ string
 20664  	ctx_         context.Context
 20665  	header_      http.Header
 20666  }
 20667  
 20668  // Get: Retrieves the specified entity type.
 20669  //
 20670  //   - name: The name of the entity type. Format:
 20671  //     `projects//locations//agents//entityTypes/`.
 20672  func (r *ProjectsLocationsAgentsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEntityTypesGetCall {
 20673  	c := &ProjectsLocationsAgentsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 20674  	c.name = name
 20675  	return c
 20676  }
 20677  
 20678  // LanguageCode sets the optional parameter "languageCode": The language to
 20679  // retrieve the entity type for. The following fields are language dependent: *
 20680  // `EntityType.entities.value` * `EntityType.entities.synonyms` *
 20681  // `EntityType.excluded_phrases.value` If not specified, the agent's default
 20682  // language is used. Many languages
 20683  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 20684  // supported. Note: languages must be enabled in the agent before they can be
 20685  // used.
 20686  func (c *ProjectsLocationsAgentsEntityTypesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesGetCall {
 20687  	c.urlParams_.Set("languageCode", languageCode)
 20688  	return c
 20689  }
 20690  
 20691  // Fields allows partial responses to be retrieved. See
 20692  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 20693  // details.
 20694  func (c *ProjectsLocationsAgentsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesGetCall {
 20695  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 20696  	return c
 20697  }
 20698  
 20699  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 20700  // object's ETag matches the given value. This is useful for getting updates
 20701  // only after the object has changed since the last request.
 20702  func (c *ProjectsLocationsAgentsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEntityTypesGetCall {
 20703  	c.ifNoneMatch_ = entityTag
 20704  	return c
 20705  }
 20706  
 20707  // Context sets the context to be used in this call's Do method.
 20708  func (c *ProjectsLocationsAgentsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesGetCall {
 20709  	c.ctx_ = ctx
 20710  	return c
 20711  }
 20712  
 20713  // Header returns a http.Header that can be modified by the caller to add
 20714  // headers to the request.
 20715  func (c *ProjectsLocationsAgentsEntityTypesGetCall) Header() http.Header {
 20716  	if c.header_ == nil {
 20717  		c.header_ = make(http.Header)
 20718  	}
 20719  	return c.header_
 20720  }
 20721  
 20722  func (c *ProjectsLocationsAgentsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) {
 20723  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 20724  	if c.ifNoneMatch_ != "" {
 20725  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 20726  	}
 20727  	var body io.Reader = nil
 20728  	c.urlParams_.Set("alt", alt)
 20729  	c.urlParams_.Set("prettyPrint", "false")
 20730  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 20731  	urls += "?" + c.urlParams_.Encode()
 20732  	req, err := http.NewRequest("GET", urls, body)
 20733  	if err != nil {
 20734  		return nil, err
 20735  	}
 20736  	req.Header = reqHeaders
 20737  	googleapi.Expand(req.URL, map[string]string{
 20738  		"name": c.name,
 20739  	})
 20740  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 20741  }
 20742  
 20743  // Do executes the "dialogflow.projects.locations.agents.entityTypes.get" call.
 20744  // Any non-2xx status code is an error. Response headers are in either
 20745  // *GoogleCloudDialogflowCxV3EntityType.ServerResponse.Header or (if a response
 20746  // was returned at all) in error.(*googleapi.Error).Header. Use
 20747  // googleapi.IsNotModified to check whether the returned error was because
 20748  // http.StatusNotModified was returned.
 20749  func (c *ProjectsLocationsAgentsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3EntityType, error) {
 20750  	gensupport.SetOptions(c.urlParams_, opts...)
 20751  	res, err := c.doRequest("json")
 20752  	if res != nil && res.StatusCode == http.StatusNotModified {
 20753  		if res.Body != nil {
 20754  			res.Body.Close()
 20755  		}
 20756  		return nil, gensupport.WrapError(&googleapi.Error{
 20757  			Code:   res.StatusCode,
 20758  			Header: res.Header,
 20759  		})
 20760  	}
 20761  	if err != nil {
 20762  		return nil, err
 20763  	}
 20764  	defer googleapi.CloseBody(res)
 20765  	if err := googleapi.CheckResponse(res); err != nil {
 20766  		return nil, gensupport.WrapError(err)
 20767  	}
 20768  	ret := &GoogleCloudDialogflowCxV3EntityType{
 20769  		ServerResponse: googleapi.ServerResponse{
 20770  			Header:         res.Header,
 20771  			HTTPStatusCode: res.StatusCode,
 20772  		},
 20773  	}
 20774  	target := &ret
 20775  	if err := gensupport.DecodeResponse(target, res); err != nil {
 20776  		return nil, err
 20777  	}
 20778  	return ret, nil
 20779  }
 20780  
 20781  type ProjectsLocationsAgentsEntityTypesImportCall struct {
 20782  	s                                                 *Service
 20783  	parent                                            string
 20784  	googleclouddialogflowcxv3importentitytypesrequest *GoogleCloudDialogflowCxV3ImportEntityTypesRequest
 20785  	urlParams_                                        gensupport.URLParams
 20786  	ctx_                                              context.Context
 20787  	header_                                           http.Header
 20788  }
 20789  
 20790  // Import: Imports the specified entitytypes into the agent.
 20791  //
 20792  //   - parent: The agent to import the entity types into. Format:
 20793  //     `projects//locations//agents/`.
 20794  func (r *ProjectsLocationsAgentsEntityTypesService) Import(parent string, googleclouddialogflowcxv3importentitytypesrequest *GoogleCloudDialogflowCxV3ImportEntityTypesRequest) *ProjectsLocationsAgentsEntityTypesImportCall {
 20795  	c := &ProjectsLocationsAgentsEntityTypesImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 20796  	c.parent = parent
 20797  	c.googleclouddialogflowcxv3importentitytypesrequest = googleclouddialogflowcxv3importentitytypesrequest
 20798  	return c
 20799  }
 20800  
 20801  // Fields allows partial responses to be retrieved. See
 20802  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 20803  // details.
 20804  func (c *ProjectsLocationsAgentsEntityTypesImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesImportCall {
 20805  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 20806  	return c
 20807  }
 20808  
 20809  // Context sets the context to be used in this call's Do method.
 20810  func (c *ProjectsLocationsAgentsEntityTypesImportCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesImportCall {
 20811  	c.ctx_ = ctx
 20812  	return c
 20813  }
 20814  
 20815  // Header returns a http.Header that can be modified by the caller to add
 20816  // headers to the request.
 20817  func (c *ProjectsLocationsAgentsEntityTypesImportCall) Header() http.Header {
 20818  	if c.header_ == nil {
 20819  		c.header_ = make(http.Header)
 20820  	}
 20821  	return c.header_
 20822  }
 20823  
 20824  func (c *ProjectsLocationsAgentsEntityTypesImportCall) doRequest(alt string) (*http.Response, error) {
 20825  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 20826  	var body io.Reader = nil
 20827  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3importentitytypesrequest)
 20828  	if err != nil {
 20829  		return nil, err
 20830  	}
 20831  	c.urlParams_.Set("alt", alt)
 20832  	c.urlParams_.Set("prettyPrint", "false")
 20833  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes:import")
 20834  	urls += "?" + c.urlParams_.Encode()
 20835  	req, err := http.NewRequest("POST", urls, body)
 20836  	if err != nil {
 20837  		return nil, err
 20838  	}
 20839  	req.Header = reqHeaders
 20840  	googleapi.Expand(req.URL, map[string]string{
 20841  		"parent": c.parent,
 20842  	})
 20843  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 20844  }
 20845  
 20846  // Do executes the "dialogflow.projects.locations.agents.entityTypes.import" call.
 20847  // Any non-2xx status code is an error. Response headers are in either
 20848  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 20849  // returned at all) in error.(*googleapi.Error).Header. Use
 20850  // googleapi.IsNotModified to check whether the returned error was because
 20851  // http.StatusNotModified was returned.
 20852  func (c *ProjectsLocationsAgentsEntityTypesImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 20853  	gensupport.SetOptions(c.urlParams_, opts...)
 20854  	res, err := c.doRequest("json")
 20855  	if res != nil && res.StatusCode == http.StatusNotModified {
 20856  		if res.Body != nil {
 20857  			res.Body.Close()
 20858  		}
 20859  		return nil, gensupport.WrapError(&googleapi.Error{
 20860  			Code:   res.StatusCode,
 20861  			Header: res.Header,
 20862  		})
 20863  	}
 20864  	if err != nil {
 20865  		return nil, err
 20866  	}
 20867  	defer googleapi.CloseBody(res)
 20868  	if err := googleapi.CheckResponse(res); err != nil {
 20869  		return nil, gensupport.WrapError(err)
 20870  	}
 20871  	ret := &GoogleLongrunningOperation{
 20872  		ServerResponse: googleapi.ServerResponse{
 20873  			Header:         res.Header,
 20874  			HTTPStatusCode: res.StatusCode,
 20875  		},
 20876  	}
 20877  	target := &ret
 20878  	if err := gensupport.DecodeResponse(target, res); err != nil {
 20879  		return nil, err
 20880  	}
 20881  	return ret, nil
 20882  }
 20883  
 20884  type ProjectsLocationsAgentsEntityTypesListCall struct {
 20885  	s            *Service
 20886  	parent       string
 20887  	urlParams_   gensupport.URLParams
 20888  	ifNoneMatch_ string
 20889  	ctx_         context.Context
 20890  	header_      http.Header
 20891  }
 20892  
 20893  // List: Returns the list of all entity types in the specified agent.
 20894  //
 20895  //   - parent: The agent to list all entity types for. Format:
 20896  //     `projects//locations//agents/`.
 20897  func (r *ProjectsLocationsAgentsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEntityTypesListCall {
 20898  	c := &ProjectsLocationsAgentsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 20899  	c.parent = parent
 20900  	return c
 20901  }
 20902  
 20903  // LanguageCode sets the optional parameter "languageCode": The language to
 20904  // list entity types for. The following fields are language dependent: *
 20905  // `EntityType.entities.value` * `EntityType.entities.synonyms` *
 20906  // `EntityType.excluded_phrases.value` If not specified, the agent's default
 20907  // language is used. Many languages
 20908  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 20909  // supported. Note: languages must be enabled in the agent before they can be
 20910  // used.
 20911  func (c *ProjectsLocationsAgentsEntityTypesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesListCall {
 20912  	c.urlParams_.Set("languageCode", languageCode)
 20913  	return c
 20914  }
 20915  
 20916  // PageSize sets the optional parameter "pageSize": The maximum number of items
 20917  // to return in a single page. By default 100 and at most 1000.
 20918  func (c *ProjectsLocationsAgentsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEntityTypesListCall {
 20919  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 20920  	return c
 20921  }
 20922  
 20923  // PageToken sets the optional parameter "pageToken": The next_page_token value
 20924  // returned from a previous list request.
 20925  func (c *ProjectsLocationsAgentsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEntityTypesListCall {
 20926  	c.urlParams_.Set("pageToken", pageToken)
 20927  	return c
 20928  }
 20929  
 20930  // Fields allows partial responses to be retrieved. See
 20931  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 20932  // details.
 20933  func (c *ProjectsLocationsAgentsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesListCall {
 20934  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 20935  	return c
 20936  }
 20937  
 20938  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 20939  // object's ETag matches the given value. This is useful for getting updates
 20940  // only after the object has changed since the last request.
 20941  func (c *ProjectsLocationsAgentsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEntityTypesListCall {
 20942  	c.ifNoneMatch_ = entityTag
 20943  	return c
 20944  }
 20945  
 20946  // Context sets the context to be used in this call's Do method.
 20947  func (c *ProjectsLocationsAgentsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesListCall {
 20948  	c.ctx_ = ctx
 20949  	return c
 20950  }
 20951  
 20952  // Header returns a http.Header that can be modified by the caller to add
 20953  // headers to the request.
 20954  func (c *ProjectsLocationsAgentsEntityTypesListCall) Header() http.Header {
 20955  	if c.header_ == nil {
 20956  		c.header_ = make(http.Header)
 20957  	}
 20958  	return c.header_
 20959  }
 20960  
 20961  func (c *ProjectsLocationsAgentsEntityTypesListCall) doRequest(alt string) (*http.Response, error) {
 20962  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 20963  	if c.ifNoneMatch_ != "" {
 20964  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 20965  	}
 20966  	var body io.Reader = nil
 20967  	c.urlParams_.Set("alt", alt)
 20968  	c.urlParams_.Set("prettyPrint", "false")
 20969  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes")
 20970  	urls += "?" + c.urlParams_.Encode()
 20971  	req, err := http.NewRequest("GET", urls, body)
 20972  	if err != nil {
 20973  		return nil, err
 20974  	}
 20975  	req.Header = reqHeaders
 20976  	googleapi.Expand(req.URL, map[string]string{
 20977  		"parent": c.parent,
 20978  	})
 20979  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 20980  }
 20981  
 20982  // Do executes the "dialogflow.projects.locations.agents.entityTypes.list" call.
 20983  // Any non-2xx status code is an error. Response headers are in either
 20984  // *GoogleCloudDialogflowCxV3ListEntityTypesResponse.ServerResponse.Header or
 20985  // (if a response was returned at all) in error.(*googleapi.Error).Header. Use
 20986  // googleapi.IsNotModified to check whether the returned error was because
 20987  // http.StatusNotModified was returned.
 20988  func (c *ProjectsLocationsAgentsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListEntityTypesResponse, error) {
 20989  	gensupport.SetOptions(c.urlParams_, opts...)
 20990  	res, err := c.doRequest("json")
 20991  	if res != nil && res.StatusCode == http.StatusNotModified {
 20992  		if res.Body != nil {
 20993  			res.Body.Close()
 20994  		}
 20995  		return nil, gensupport.WrapError(&googleapi.Error{
 20996  			Code:   res.StatusCode,
 20997  			Header: res.Header,
 20998  		})
 20999  	}
 21000  	if err != nil {
 21001  		return nil, err
 21002  	}
 21003  	defer googleapi.CloseBody(res)
 21004  	if err := googleapi.CheckResponse(res); err != nil {
 21005  		return nil, gensupport.WrapError(err)
 21006  	}
 21007  	ret := &GoogleCloudDialogflowCxV3ListEntityTypesResponse{
 21008  		ServerResponse: googleapi.ServerResponse{
 21009  			Header:         res.Header,
 21010  			HTTPStatusCode: res.StatusCode,
 21011  		},
 21012  	}
 21013  	target := &ret
 21014  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21015  		return nil, err
 21016  	}
 21017  	return ret, nil
 21018  }
 21019  
 21020  // Pages invokes f for each page of results.
 21021  // A non-nil error returned from f will halt the iteration.
 21022  // The provided context supersedes any context provided to the Context method.
 21023  func (c *ProjectsLocationsAgentsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListEntityTypesResponse) error) error {
 21024  	c.ctx_ = ctx
 21025  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 21026  	for {
 21027  		x, err := c.Do()
 21028  		if err != nil {
 21029  			return err
 21030  		}
 21031  		if err := f(x); err != nil {
 21032  			return err
 21033  		}
 21034  		if x.NextPageToken == "" {
 21035  			return nil
 21036  		}
 21037  		c.PageToken(x.NextPageToken)
 21038  	}
 21039  }
 21040  
 21041  type ProjectsLocationsAgentsEntityTypesPatchCall struct {
 21042  	s                                   *Service
 21043  	nameid                              string
 21044  	googleclouddialogflowcxv3entitytype *GoogleCloudDialogflowCxV3EntityType
 21045  	urlParams_                          gensupport.URLParams
 21046  	ctx_                                context.Context
 21047  	header_                             http.Header
 21048  }
 21049  
 21050  // Patch: Updates the specified entity type. Note: You should always train a
 21051  // flow prior to sending it queries. See the training documentation
 21052  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 21053  //
 21054  //   - name: The unique identifier of the entity type. Required for
 21055  //     EntityTypes.UpdateEntityType. Format:
 21056  //     `projects//locations//agents//entityTypes/`.
 21057  func (r *ProjectsLocationsAgentsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3entitytype *GoogleCloudDialogflowCxV3EntityType) *ProjectsLocationsAgentsEntityTypesPatchCall {
 21058  	c := &ProjectsLocationsAgentsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 21059  	c.nameid = nameid
 21060  	c.googleclouddialogflowcxv3entitytype = googleclouddialogflowcxv3entitytype
 21061  	return c
 21062  }
 21063  
 21064  // LanguageCode sets the optional parameter "languageCode": The language of the
 21065  // following fields in `entity_type`: * `EntityType.entities.value` *
 21066  // `EntityType.entities.synonyms` * `EntityType.excluded_phrases.value` If not
 21067  // specified, the agent's default language is used. Many languages
 21068  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 21069  // supported. Note: languages must be enabled in the agent before they can be
 21070  // used.
 21071  func (c *ProjectsLocationsAgentsEntityTypesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsEntityTypesPatchCall {
 21072  	c.urlParams_.Set("languageCode", languageCode)
 21073  	return c
 21074  }
 21075  
 21076  // UpdateMask sets the optional parameter "updateMask": The mask to control
 21077  // which fields get updated.
 21078  func (c *ProjectsLocationsAgentsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEntityTypesPatchCall {
 21079  	c.urlParams_.Set("updateMask", updateMask)
 21080  	return c
 21081  }
 21082  
 21083  // Fields allows partial responses to be retrieved. See
 21084  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 21085  // details.
 21086  func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEntityTypesPatchCall {
 21087  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 21088  	return c
 21089  }
 21090  
 21091  // Context sets the context to be used in this call's Do method.
 21092  func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEntityTypesPatchCall {
 21093  	c.ctx_ = ctx
 21094  	return c
 21095  }
 21096  
 21097  // Header returns a http.Header that can be modified by the caller to add
 21098  // headers to the request.
 21099  func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Header() http.Header {
 21100  	if c.header_ == nil {
 21101  		c.header_ = make(http.Header)
 21102  	}
 21103  	return c.header_
 21104  }
 21105  
 21106  func (c *ProjectsLocationsAgentsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) {
 21107  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 21108  	var body io.Reader = nil
 21109  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3entitytype)
 21110  	if err != nil {
 21111  		return nil, err
 21112  	}
 21113  	c.urlParams_.Set("alt", alt)
 21114  	c.urlParams_.Set("prettyPrint", "false")
 21115  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 21116  	urls += "?" + c.urlParams_.Encode()
 21117  	req, err := http.NewRequest("PATCH", urls, body)
 21118  	if err != nil {
 21119  		return nil, err
 21120  	}
 21121  	req.Header = reqHeaders
 21122  	googleapi.Expand(req.URL, map[string]string{
 21123  		"name": c.nameid,
 21124  	})
 21125  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 21126  }
 21127  
 21128  // Do executes the "dialogflow.projects.locations.agents.entityTypes.patch" call.
 21129  // Any non-2xx status code is an error. Response headers are in either
 21130  // *GoogleCloudDialogflowCxV3EntityType.ServerResponse.Header or (if a response
 21131  // was returned at all) in error.(*googleapi.Error).Header. Use
 21132  // googleapi.IsNotModified to check whether the returned error was because
 21133  // http.StatusNotModified was returned.
 21134  func (c *ProjectsLocationsAgentsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3EntityType, error) {
 21135  	gensupport.SetOptions(c.urlParams_, opts...)
 21136  	res, err := c.doRequest("json")
 21137  	if res != nil && res.StatusCode == http.StatusNotModified {
 21138  		if res.Body != nil {
 21139  			res.Body.Close()
 21140  		}
 21141  		return nil, gensupport.WrapError(&googleapi.Error{
 21142  			Code:   res.StatusCode,
 21143  			Header: res.Header,
 21144  		})
 21145  	}
 21146  	if err != nil {
 21147  		return nil, err
 21148  	}
 21149  	defer googleapi.CloseBody(res)
 21150  	if err := googleapi.CheckResponse(res); err != nil {
 21151  		return nil, gensupport.WrapError(err)
 21152  	}
 21153  	ret := &GoogleCloudDialogflowCxV3EntityType{
 21154  		ServerResponse: googleapi.ServerResponse{
 21155  			Header:         res.Header,
 21156  			HTTPStatusCode: res.StatusCode,
 21157  		},
 21158  	}
 21159  	target := &ret
 21160  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21161  		return nil, err
 21162  	}
 21163  	return ret, nil
 21164  }
 21165  
 21166  type ProjectsLocationsAgentsEnvironmentsCreateCall struct {
 21167  	s                                    *Service
 21168  	parent                               string
 21169  	googleclouddialogflowcxv3environment *GoogleCloudDialogflowCxV3Environment
 21170  	urlParams_                           gensupport.URLParams
 21171  	ctx_                                 context.Context
 21172  	header_                              http.Header
 21173  }
 21174  
 21175  // Create: Creates an Environment in the specified Agent. This method is a
 21176  // long-running operation
 21177  // (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
 21178  // The returned `Operation` type has the following method-specific fields: -
 21179  // `metadata`: An empty Struct message
 21180  // (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
 21181  // - `response`: Environment
 21182  //
 21183  //   - parent: The Agent to create an Environment for. Format:
 21184  //     `projects//locations//agents/`.
 21185  func (r *ProjectsLocationsAgentsEnvironmentsService) Create(parent string, googleclouddialogflowcxv3environment *GoogleCloudDialogflowCxV3Environment) *ProjectsLocationsAgentsEnvironmentsCreateCall {
 21186  	c := &ProjectsLocationsAgentsEnvironmentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 21187  	c.parent = parent
 21188  	c.googleclouddialogflowcxv3environment = googleclouddialogflowcxv3environment
 21189  	return c
 21190  }
 21191  
 21192  // Fields allows partial responses to be retrieved. See
 21193  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 21194  // details.
 21195  func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsCreateCall {
 21196  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 21197  	return c
 21198  }
 21199  
 21200  // Context sets the context to be used in this call's Do method.
 21201  func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsCreateCall {
 21202  	c.ctx_ = ctx
 21203  	return c
 21204  }
 21205  
 21206  // Header returns a http.Header that can be modified by the caller to add
 21207  // headers to the request.
 21208  func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Header() http.Header {
 21209  	if c.header_ == nil {
 21210  		c.header_ = make(http.Header)
 21211  	}
 21212  	return c.header_
 21213  }
 21214  
 21215  func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) doRequest(alt string) (*http.Response, error) {
 21216  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 21217  	var body io.Reader = nil
 21218  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3environment)
 21219  	if err != nil {
 21220  		return nil, err
 21221  	}
 21222  	c.urlParams_.Set("alt", alt)
 21223  	c.urlParams_.Set("prettyPrint", "false")
 21224  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/environments")
 21225  	urls += "?" + c.urlParams_.Encode()
 21226  	req, err := http.NewRequest("POST", urls, body)
 21227  	if err != nil {
 21228  		return nil, err
 21229  	}
 21230  	req.Header = reqHeaders
 21231  	googleapi.Expand(req.URL, map[string]string{
 21232  		"parent": c.parent,
 21233  	})
 21234  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 21235  }
 21236  
 21237  // Do executes the "dialogflow.projects.locations.agents.environments.create" call.
 21238  // Any non-2xx status code is an error. Response headers are in either
 21239  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 21240  // returned at all) in error.(*googleapi.Error).Header. Use
 21241  // googleapi.IsNotModified to check whether the returned error was because
 21242  // http.StatusNotModified was returned.
 21243  func (c *ProjectsLocationsAgentsEnvironmentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 21244  	gensupport.SetOptions(c.urlParams_, opts...)
 21245  	res, err := c.doRequest("json")
 21246  	if res != nil && res.StatusCode == http.StatusNotModified {
 21247  		if res.Body != nil {
 21248  			res.Body.Close()
 21249  		}
 21250  		return nil, gensupport.WrapError(&googleapi.Error{
 21251  			Code:   res.StatusCode,
 21252  			Header: res.Header,
 21253  		})
 21254  	}
 21255  	if err != nil {
 21256  		return nil, err
 21257  	}
 21258  	defer googleapi.CloseBody(res)
 21259  	if err := googleapi.CheckResponse(res); err != nil {
 21260  		return nil, gensupport.WrapError(err)
 21261  	}
 21262  	ret := &GoogleLongrunningOperation{
 21263  		ServerResponse: googleapi.ServerResponse{
 21264  			Header:         res.Header,
 21265  			HTTPStatusCode: res.StatusCode,
 21266  		},
 21267  	}
 21268  	target := &ret
 21269  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21270  		return nil, err
 21271  	}
 21272  	return ret, nil
 21273  }
 21274  
 21275  type ProjectsLocationsAgentsEnvironmentsDeleteCall struct {
 21276  	s          *Service
 21277  	name       string
 21278  	urlParams_ gensupport.URLParams
 21279  	ctx_       context.Context
 21280  	header_    http.Header
 21281  }
 21282  
 21283  // Delete: Deletes the specified Environment.
 21284  //
 21285  //   - name: The name of the Environment to delete. Format:
 21286  //     `projects//locations//agents//environments/`.
 21287  func (r *ProjectsLocationsAgentsEnvironmentsService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsDeleteCall {
 21288  	c := &ProjectsLocationsAgentsEnvironmentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 21289  	c.name = name
 21290  	return c
 21291  }
 21292  
 21293  // Fields allows partial responses to be retrieved. See
 21294  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 21295  // details.
 21296  func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsDeleteCall {
 21297  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 21298  	return c
 21299  }
 21300  
 21301  // Context sets the context to be used in this call's Do method.
 21302  func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsDeleteCall {
 21303  	c.ctx_ = ctx
 21304  	return c
 21305  }
 21306  
 21307  // Header returns a http.Header that can be modified by the caller to add
 21308  // headers to the request.
 21309  func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Header() http.Header {
 21310  	if c.header_ == nil {
 21311  		c.header_ = make(http.Header)
 21312  	}
 21313  	return c.header_
 21314  }
 21315  
 21316  func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) doRequest(alt string) (*http.Response, error) {
 21317  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 21318  	var body io.Reader = nil
 21319  	c.urlParams_.Set("alt", alt)
 21320  	c.urlParams_.Set("prettyPrint", "false")
 21321  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 21322  	urls += "?" + c.urlParams_.Encode()
 21323  	req, err := http.NewRequest("DELETE", urls, body)
 21324  	if err != nil {
 21325  		return nil, err
 21326  	}
 21327  	req.Header = reqHeaders
 21328  	googleapi.Expand(req.URL, map[string]string{
 21329  		"name": c.name,
 21330  	})
 21331  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 21332  }
 21333  
 21334  // Do executes the "dialogflow.projects.locations.agents.environments.delete" call.
 21335  // Any non-2xx status code is an error. Response headers are in either
 21336  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 21337  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 21338  // check whether the returned error was because http.StatusNotModified was
 21339  // returned.
 21340  func (c *ProjectsLocationsAgentsEnvironmentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 21341  	gensupport.SetOptions(c.urlParams_, opts...)
 21342  	res, err := c.doRequest("json")
 21343  	if res != nil && res.StatusCode == http.StatusNotModified {
 21344  		if res.Body != nil {
 21345  			res.Body.Close()
 21346  		}
 21347  		return nil, gensupport.WrapError(&googleapi.Error{
 21348  			Code:   res.StatusCode,
 21349  			Header: res.Header,
 21350  		})
 21351  	}
 21352  	if err != nil {
 21353  		return nil, err
 21354  	}
 21355  	defer googleapi.CloseBody(res)
 21356  	if err := googleapi.CheckResponse(res); err != nil {
 21357  		return nil, gensupport.WrapError(err)
 21358  	}
 21359  	ret := &GoogleProtobufEmpty{
 21360  		ServerResponse: googleapi.ServerResponse{
 21361  			Header:         res.Header,
 21362  			HTTPStatusCode: res.StatusCode,
 21363  		},
 21364  	}
 21365  	target := &ret
 21366  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21367  		return nil, err
 21368  	}
 21369  	return ret, nil
 21370  }
 21371  
 21372  type ProjectsLocationsAgentsEnvironmentsDeployFlowCall struct {
 21373  	s                                          *Service
 21374  	environment                                string
 21375  	googleclouddialogflowcxv3deployflowrequest *GoogleCloudDialogflowCxV3DeployFlowRequest
 21376  	urlParams_                                 gensupport.URLParams
 21377  	ctx_                                       context.Context
 21378  	header_                                    http.Header
 21379  }
 21380  
 21381  // DeployFlow: Deploys a flow to the specified Environment. This method is a
 21382  // long-running operation
 21383  // (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
 21384  // The returned `Operation` type has the following method-specific fields: -
 21385  // `metadata`: DeployFlowMetadata - `response`: DeployFlowResponse
 21386  //
 21387  //   - environment: The environment to deploy the flow to. Format:
 21388  //     `projects//locations//agents// environments/`.
 21389  func (r *ProjectsLocationsAgentsEnvironmentsService) DeployFlow(environment string, googleclouddialogflowcxv3deployflowrequest *GoogleCloudDialogflowCxV3DeployFlowRequest) *ProjectsLocationsAgentsEnvironmentsDeployFlowCall {
 21390  	c := &ProjectsLocationsAgentsEnvironmentsDeployFlowCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 21391  	c.environment = environment
 21392  	c.googleclouddialogflowcxv3deployflowrequest = googleclouddialogflowcxv3deployflowrequest
 21393  	return c
 21394  }
 21395  
 21396  // Fields allows partial responses to be retrieved. See
 21397  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 21398  // details.
 21399  func (c *ProjectsLocationsAgentsEnvironmentsDeployFlowCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsDeployFlowCall {
 21400  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 21401  	return c
 21402  }
 21403  
 21404  // Context sets the context to be used in this call's Do method.
 21405  func (c *ProjectsLocationsAgentsEnvironmentsDeployFlowCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsDeployFlowCall {
 21406  	c.ctx_ = ctx
 21407  	return c
 21408  }
 21409  
 21410  // Header returns a http.Header that can be modified by the caller to add
 21411  // headers to the request.
 21412  func (c *ProjectsLocationsAgentsEnvironmentsDeployFlowCall) Header() http.Header {
 21413  	if c.header_ == nil {
 21414  		c.header_ = make(http.Header)
 21415  	}
 21416  	return c.header_
 21417  }
 21418  
 21419  func (c *ProjectsLocationsAgentsEnvironmentsDeployFlowCall) doRequest(alt string) (*http.Response, error) {
 21420  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 21421  	var body io.Reader = nil
 21422  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3deployflowrequest)
 21423  	if err != nil {
 21424  		return nil, err
 21425  	}
 21426  	c.urlParams_.Set("alt", alt)
 21427  	c.urlParams_.Set("prettyPrint", "false")
 21428  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+environment}:deployFlow")
 21429  	urls += "?" + c.urlParams_.Encode()
 21430  	req, err := http.NewRequest("POST", urls, body)
 21431  	if err != nil {
 21432  		return nil, err
 21433  	}
 21434  	req.Header = reqHeaders
 21435  	googleapi.Expand(req.URL, map[string]string{
 21436  		"environment": c.environment,
 21437  	})
 21438  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 21439  }
 21440  
 21441  // Do executes the "dialogflow.projects.locations.agents.environments.deployFlow" call.
 21442  // Any non-2xx status code is an error. Response headers are in either
 21443  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 21444  // returned at all) in error.(*googleapi.Error).Header. Use
 21445  // googleapi.IsNotModified to check whether the returned error was because
 21446  // http.StatusNotModified was returned.
 21447  func (c *ProjectsLocationsAgentsEnvironmentsDeployFlowCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 21448  	gensupport.SetOptions(c.urlParams_, opts...)
 21449  	res, err := c.doRequest("json")
 21450  	if res != nil && res.StatusCode == http.StatusNotModified {
 21451  		if res.Body != nil {
 21452  			res.Body.Close()
 21453  		}
 21454  		return nil, gensupport.WrapError(&googleapi.Error{
 21455  			Code:   res.StatusCode,
 21456  			Header: res.Header,
 21457  		})
 21458  	}
 21459  	if err != nil {
 21460  		return nil, err
 21461  	}
 21462  	defer googleapi.CloseBody(res)
 21463  	if err := googleapi.CheckResponse(res); err != nil {
 21464  		return nil, gensupport.WrapError(err)
 21465  	}
 21466  	ret := &GoogleLongrunningOperation{
 21467  		ServerResponse: googleapi.ServerResponse{
 21468  			Header:         res.Header,
 21469  			HTTPStatusCode: res.StatusCode,
 21470  		},
 21471  	}
 21472  	target := &ret
 21473  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21474  		return nil, err
 21475  	}
 21476  	return ret, nil
 21477  }
 21478  
 21479  type ProjectsLocationsAgentsEnvironmentsGetCall struct {
 21480  	s            *Service
 21481  	name         string
 21482  	urlParams_   gensupport.URLParams
 21483  	ifNoneMatch_ string
 21484  	ctx_         context.Context
 21485  	header_      http.Header
 21486  }
 21487  
 21488  // Get: Retrieves the specified Environment.
 21489  //
 21490  //   - name: The name of the Environment. Format:
 21491  //     `projects//locations//agents//environments/`.
 21492  func (r *ProjectsLocationsAgentsEnvironmentsService) Get(name string) *ProjectsLocationsAgentsEnvironmentsGetCall {
 21493  	c := &ProjectsLocationsAgentsEnvironmentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 21494  	c.name = name
 21495  	return c
 21496  }
 21497  
 21498  // Fields allows partial responses to be retrieved. See
 21499  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 21500  // details.
 21501  func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsGetCall {
 21502  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 21503  	return c
 21504  }
 21505  
 21506  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 21507  // object's ETag matches the given value. This is useful for getting updates
 21508  // only after the object has changed since the last request.
 21509  func (c *ProjectsLocationsAgentsEnvironmentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsGetCall {
 21510  	c.ifNoneMatch_ = entityTag
 21511  	return c
 21512  }
 21513  
 21514  // Context sets the context to be used in this call's Do method.
 21515  func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsGetCall {
 21516  	c.ctx_ = ctx
 21517  	return c
 21518  }
 21519  
 21520  // Header returns a http.Header that can be modified by the caller to add
 21521  // headers to the request.
 21522  func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Header() http.Header {
 21523  	if c.header_ == nil {
 21524  		c.header_ = make(http.Header)
 21525  	}
 21526  	return c.header_
 21527  }
 21528  
 21529  func (c *ProjectsLocationsAgentsEnvironmentsGetCall) doRequest(alt string) (*http.Response, error) {
 21530  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 21531  	if c.ifNoneMatch_ != "" {
 21532  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 21533  	}
 21534  	var body io.Reader = nil
 21535  	c.urlParams_.Set("alt", alt)
 21536  	c.urlParams_.Set("prettyPrint", "false")
 21537  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 21538  	urls += "?" + c.urlParams_.Encode()
 21539  	req, err := http.NewRequest("GET", urls, body)
 21540  	if err != nil {
 21541  		return nil, err
 21542  	}
 21543  	req.Header = reqHeaders
 21544  	googleapi.Expand(req.URL, map[string]string{
 21545  		"name": c.name,
 21546  	})
 21547  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 21548  }
 21549  
 21550  // Do executes the "dialogflow.projects.locations.agents.environments.get" call.
 21551  // Any non-2xx status code is an error. Response headers are in either
 21552  // *GoogleCloudDialogflowCxV3Environment.ServerResponse.Header or (if a
 21553  // response was returned at all) in error.(*googleapi.Error).Header. Use
 21554  // googleapi.IsNotModified to check whether the returned error was because
 21555  // http.StatusNotModified was returned.
 21556  func (c *ProjectsLocationsAgentsEnvironmentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Environment, error) {
 21557  	gensupport.SetOptions(c.urlParams_, opts...)
 21558  	res, err := c.doRequest("json")
 21559  	if res != nil && res.StatusCode == http.StatusNotModified {
 21560  		if res.Body != nil {
 21561  			res.Body.Close()
 21562  		}
 21563  		return nil, gensupport.WrapError(&googleapi.Error{
 21564  			Code:   res.StatusCode,
 21565  			Header: res.Header,
 21566  		})
 21567  	}
 21568  	if err != nil {
 21569  		return nil, err
 21570  	}
 21571  	defer googleapi.CloseBody(res)
 21572  	if err := googleapi.CheckResponse(res); err != nil {
 21573  		return nil, gensupport.WrapError(err)
 21574  	}
 21575  	ret := &GoogleCloudDialogflowCxV3Environment{
 21576  		ServerResponse: googleapi.ServerResponse{
 21577  			Header:         res.Header,
 21578  			HTTPStatusCode: res.StatusCode,
 21579  		},
 21580  	}
 21581  	target := &ret
 21582  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21583  		return nil, err
 21584  	}
 21585  	return ret, nil
 21586  }
 21587  
 21588  type ProjectsLocationsAgentsEnvironmentsListCall struct {
 21589  	s            *Service
 21590  	parent       string
 21591  	urlParams_   gensupport.URLParams
 21592  	ifNoneMatch_ string
 21593  	ctx_         context.Context
 21594  	header_      http.Header
 21595  }
 21596  
 21597  // List: Returns the list of all environments in the specified Agent.
 21598  //
 21599  //   - parent: The Agent to list all environments for. Format:
 21600  //     `projects//locations//agents/`.
 21601  func (r *ProjectsLocationsAgentsEnvironmentsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsListCall {
 21602  	c := &ProjectsLocationsAgentsEnvironmentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 21603  	c.parent = parent
 21604  	return c
 21605  }
 21606  
 21607  // PageSize sets the optional parameter "pageSize": The maximum number of items
 21608  // to return in a single page. By default 20 and at most 100.
 21609  func (c *ProjectsLocationsAgentsEnvironmentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsListCall {
 21610  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 21611  	return c
 21612  }
 21613  
 21614  // PageToken sets the optional parameter "pageToken": The next_page_token value
 21615  // returned from a previous list request.
 21616  func (c *ProjectsLocationsAgentsEnvironmentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsListCall {
 21617  	c.urlParams_.Set("pageToken", pageToken)
 21618  	return c
 21619  }
 21620  
 21621  // Fields allows partial responses to be retrieved. See
 21622  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 21623  // details.
 21624  func (c *ProjectsLocationsAgentsEnvironmentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsListCall {
 21625  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 21626  	return c
 21627  }
 21628  
 21629  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 21630  // object's ETag matches the given value. This is useful for getting updates
 21631  // only after the object has changed since the last request.
 21632  func (c *ProjectsLocationsAgentsEnvironmentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsListCall {
 21633  	c.ifNoneMatch_ = entityTag
 21634  	return c
 21635  }
 21636  
 21637  // Context sets the context to be used in this call's Do method.
 21638  func (c *ProjectsLocationsAgentsEnvironmentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsListCall {
 21639  	c.ctx_ = ctx
 21640  	return c
 21641  }
 21642  
 21643  // Header returns a http.Header that can be modified by the caller to add
 21644  // headers to the request.
 21645  func (c *ProjectsLocationsAgentsEnvironmentsListCall) Header() http.Header {
 21646  	if c.header_ == nil {
 21647  		c.header_ = make(http.Header)
 21648  	}
 21649  	return c.header_
 21650  }
 21651  
 21652  func (c *ProjectsLocationsAgentsEnvironmentsListCall) doRequest(alt string) (*http.Response, error) {
 21653  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 21654  	if c.ifNoneMatch_ != "" {
 21655  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 21656  	}
 21657  	var body io.Reader = nil
 21658  	c.urlParams_.Set("alt", alt)
 21659  	c.urlParams_.Set("prettyPrint", "false")
 21660  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/environments")
 21661  	urls += "?" + c.urlParams_.Encode()
 21662  	req, err := http.NewRequest("GET", urls, body)
 21663  	if err != nil {
 21664  		return nil, err
 21665  	}
 21666  	req.Header = reqHeaders
 21667  	googleapi.Expand(req.URL, map[string]string{
 21668  		"parent": c.parent,
 21669  	})
 21670  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 21671  }
 21672  
 21673  // Do executes the "dialogflow.projects.locations.agents.environments.list" call.
 21674  // Any non-2xx status code is an error. Response headers are in either
 21675  // *GoogleCloudDialogflowCxV3ListEnvironmentsResponse.ServerResponse.Header or
 21676  // (if a response was returned at all) in error.(*googleapi.Error).Header. Use
 21677  // googleapi.IsNotModified to check whether the returned error was because
 21678  // http.StatusNotModified was returned.
 21679  func (c *ProjectsLocationsAgentsEnvironmentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListEnvironmentsResponse, error) {
 21680  	gensupport.SetOptions(c.urlParams_, opts...)
 21681  	res, err := c.doRequest("json")
 21682  	if res != nil && res.StatusCode == http.StatusNotModified {
 21683  		if res.Body != nil {
 21684  			res.Body.Close()
 21685  		}
 21686  		return nil, gensupport.WrapError(&googleapi.Error{
 21687  			Code:   res.StatusCode,
 21688  			Header: res.Header,
 21689  		})
 21690  	}
 21691  	if err != nil {
 21692  		return nil, err
 21693  	}
 21694  	defer googleapi.CloseBody(res)
 21695  	if err := googleapi.CheckResponse(res); err != nil {
 21696  		return nil, gensupport.WrapError(err)
 21697  	}
 21698  	ret := &GoogleCloudDialogflowCxV3ListEnvironmentsResponse{
 21699  		ServerResponse: googleapi.ServerResponse{
 21700  			Header:         res.Header,
 21701  			HTTPStatusCode: res.StatusCode,
 21702  		},
 21703  	}
 21704  	target := &ret
 21705  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21706  		return nil, err
 21707  	}
 21708  	return ret, nil
 21709  }
 21710  
 21711  // Pages invokes f for each page of results.
 21712  // A non-nil error returned from f will halt the iteration.
 21713  // The provided context supersedes any context provided to the Context method.
 21714  func (c *ProjectsLocationsAgentsEnvironmentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListEnvironmentsResponse) error) error {
 21715  	c.ctx_ = ctx
 21716  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 21717  	for {
 21718  		x, err := c.Do()
 21719  		if err != nil {
 21720  			return err
 21721  		}
 21722  		if err := f(x); err != nil {
 21723  			return err
 21724  		}
 21725  		if x.NextPageToken == "" {
 21726  			return nil
 21727  		}
 21728  		c.PageToken(x.NextPageToken)
 21729  	}
 21730  }
 21731  
 21732  type ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall struct {
 21733  	s            *Service
 21734  	name         string
 21735  	urlParams_   gensupport.URLParams
 21736  	ifNoneMatch_ string
 21737  	ctx_         context.Context
 21738  	header_      http.Header
 21739  }
 21740  
 21741  // LookupEnvironmentHistory: Looks up the history of the specified Environment.
 21742  //
 21743  //   - name: Resource name of the environment to look up the history for. Format:
 21744  //     `projects//locations//agents//environments/`.
 21745  func (r *ProjectsLocationsAgentsEnvironmentsService) LookupEnvironmentHistory(name string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall {
 21746  	c := &ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 21747  	c.name = name
 21748  	return c
 21749  }
 21750  
 21751  // PageSize sets the optional parameter "pageSize": The maximum number of items
 21752  // to return in a single page. By default 100 and at most 1000.
 21753  func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall {
 21754  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 21755  	return c
 21756  }
 21757  
 21758  // PageToken sets the optional parameter "pageToken": The next_page_token value
 21759  // returned from a previous list request.
 21760  func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall {
 21761  	c.urlParams_.Set("pageToken", pageToken)
 21762  	return c
 21763  }
 21764  
 21765  // Fields allows partial responses to be retrieved. See
 21766  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 21767  // details.
 21768  func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall {
 21769  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 21770  	return c
 21771  }
 21772  
 21773  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 21774  // object's ETag matches the given value. This is useful for getting updates
 21775  // only after the object has changed since the last request.
 21776  func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall {
 21777  	c.ifNoneMatch_ = entityTag
 21778  	return c
 21779  }
 21780  
 21781  // Context sets the context to be used in this call's Do method.
 21782  func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall {
 21783  	c.ctx_ = ctx
 21784  	return c
 21785  }
 21786  
 21787  // Header returns a http.Header that can be modified by the caller to add
 21788  // headers to the request.
 21789  func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Header() http.Header {
 21790  	if c.header_ == nil {
 21791  		c.header_ = make(http.Header)
 21792  	}
 21793  	return c.header_
 21794  }
 21795  
 21796  func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) doRequest(alt string) (*http.Response, error) {
 21797  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 21798  	if c.ifNoneMatch_ != "" {
 21799  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 21800  	}
 21801  	var body io.Reader = nil
 21802  	c.urlParams_.Set("alt", alt)
 21803  	c.urlParams_.Set("prettyPrint", "false")
 21804  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:lookupEnvironmentHistory")
 21805  	urls += "?" + c.urlParams_.Encode()
 21806  	req, err := http.NewRequest("GET", urls, body)
 21807  	if err != nil {
 21808  		return nil, err
 21809  	}
 21810  	req.Header = reqHeaders
 21811  	googleapi.Expand(req.URL, map[string]string{
 21812  		"name": c.name,
 21813  	})
 21814  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 21815  }
 21816  
 21817  // Do executes the "dialogflow.projects.locations.agents.environments.lookupEnvironmentHistory" call.
 21818  // Any non-2xx status code is an error. Response headers are in either
 21819  // *GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse.ServerResponse.Hea
 21820  // der or (if a response was returned at all) in
 21821  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 21822  // whether the returned error was because http.StatusNotModified was returned.
 21823  func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse, error) {
 21824  	gensupport.SetOptions(c.urlParams_, opts...)
 21825  	res, err := c.doRequest("json")
 21826  	if res != nil && res.StatusCode == http.StatusNotModified {
 21827  		if res.Body != nil {
 21828  			res.Body.Close()
 21829  		}
 21830  		return nil, gensupport.WrapError(&googleapi.Error{
 21831  			Code:   res.StatusCode,
 21832  			Header: res.Header,
 21833  		})
 21834  	}
 21835  	if err != nil {
 21836  		return nil, err
 21837  	}
 21838  	defer googleapi.CloseBody(res)
 21839  	if err := googleapi.CheckResponse(res); err != nil {
 21840  		return nil, gensupport.WrapError(err)
 21841  	}
 21842  	ret := &GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse{
 21843  		ServerResponse: googleapi.ServerResponse{
 21844  			Header:         res.Header,
 21845  			HTTPStatusCode: res.StatusCode,
 21846  		},
 21847  	}
 21848  	target := &ret
 21849  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21850  		return nil, err
 21851  	}
 21852  	return ret, nil
 21853  }
 21854  
 21855  // Pages invokes f for each page of results.
 21856  // A non-nil error returned from f will halt the iteration.
 21857  // The provided context supersedes any context provided to the Context method.
 21858  func (c *ProjectsLocationsAgentsEnvironmentsLookupEnvironmentHistoryCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3LookupEnvironmentHistoryResponse) error) error {
 21859  	c.ctx_ = ctx
 21860  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 21861  	for {
 21862  		x, err := c.Do()
 21863  		if err != nil {
 21864  			return err
 21865  		}
 21866  		if err := f(x); err != nil {
 21867  			return err
 21868  		}
 21869  		if x.NextPageToken == "" {
 21870  			return nil
 21871  		}
 21872  		c.PageToken(x.NextPageToken)
 21873  	}
 21874  }
 21875  
 21876  type ProjectsLocationsAgentsEnvironmentsPatchCall struct {
 21877  	s                                    *Service
 21878  	name                                 string
 21879  	googleclouddialogflowcxv3environment *GoogleCloudDialogflowCxV3Environment
 21880  	urlParams_                           gensupport.URLParams
 21881  	ctx_                                 context.Context
 21882  	header_                              http.Header
 21883  }
 21884  
 21885  // Patch: Updates the specified Environment. This method is a long-running
 21886  // operation
 21887  // (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
 21888  // The returned `Operation` type has the following method-specific fields: -
 21889  // `metadata`: An empty Struct message
 21890  // (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
 21891  // - `response`: Environment
 21892  //
 21893  //   - name: The name of the environment. Format:
 21894  //     `projects//locations//agents//environments/`.
 21895  func (r *ProjectsLocationsAgentsEnvironmentsService) Patch(name string, googleclouddialogflowcxv3environment *GoogleCloudDialogflowCxV3Environment) *ProjectsLocationsAgentsEnvironmentsPatchCall {
 21896  	c := &ProjectsLocationsAgentsEnvironmentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 21897  	c.name = name
 21898  	c.googleclouddialogflowcxv3environment = googleclouddialogflowcxv3environment
 21899  	return c
 21900  }
 21901  
 21902  // UpdateMask sets the optional parameter "updateMask": Required. The mask to
 21903  // control which fields get updated.
 21904  func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsPatchCall {
 21905  	c.urlParams_.Set("updateMask", updateMask)
 21906  	return c
 21907  }
 21908  
 21909  // Fields allows partial responses to be retrieved. See
 21910  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 21911  // details.
 21912  func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsPatchCall {
 21913  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 21914  	return c
 21915  }
 21916  
 21917  // Context sets the context to be used in this call's Do method.
 21918  func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsPatchCall {
 21919  	c.ctx_ = ctx
 21920  	return c
 21921  }
 21922  
 21923  // Header returns a http.Header that can be modified by the caller to add
 21924  // headers to the request.
 21925  func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Header() http.Header {
 21926  	if c.header_ == nil {
 21927  		c.header_ = make(http.Header)
 21928  	}
 21929  	return c.header_
 21930  }
 21931  
 21932  func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) doRequest(alt string) (*http.Response, error) {
 21933  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 21934  	var body io.Reader = nil
 21935  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3environment)
 21936  	if err != nil {
 21937  		return nil, err
 21938  	}
 21939  	c.urlParams_.Set("alt", alt)
 21940  	c.urlParams_.Set("prettyPrint", "false")
 21941  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 21942  	urls += "?" + c.urlParams_.Encode()
 21943  	req, err := http.NewRequest("PATCH", urls, body)
 21944  	if err != nil {
 21945  		return nil, err
 21946  	}
 21947  	req.Header = reqHeaders
 21948  	googleapi.Expand(req.URL, map[string]string{
 21949  		"name": c.name,
 21950  	})
 21951  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 21952  }
 21953  
 21954  // Do executes the "dialogflow.projects.locations.agents.environments.patch" call.
 21955  // Any non-2xx status code is an error. Response headers are in either
 21956  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 21957  // returned at all) in error.(*googleapi.Error).Header. Use
 21958  // googleapi.IsNotModified to check whether the returned error was because
 21959  // http.StatusNotModified was returned.
 21960  func (c *ProjectsLocationsAgentsEnvironmentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 21961  	gensupport.SetOptions(c.urlParams_, opts...)
 21962  	res, err := c.doRequest("json")
 21963  	if res != nil && res.StatusCode == http.StatusNotModified {
 21964  		if res.Body != nil {
 21965  			res.Body.Close()
 21966  		}
 21967  		return nil, gensupport.WrapError(&googleapi.Error{
 21968  			Code:   res.StatusCode,
 21969  			Header: res.Header,
 21970  		})
 21971  	}
 21972  	if err != nil {
 21973  		return nil, err
 21974  	}
 21975  	defer googleapi.CloseBody(res)
 21976  	if err := googleapi.CheckResponse(res); err != nil {
 21977  		return nil, gensupport.WrapError(err)
 21978  	}
 21979  	ret := &GoogleLongrunningOperation{
 21980  		ServerResponse: googleapi.ServerResponse{
 21981  			Header:         res.Header,
 21982  			HTTPStatusCode: res.StatusCode,
 21983  		},
 21984  	}
 21985  	target := &ret
 21986  	if err := gensupport.DecodeResponse(target, res); err != nil {
 21987  		return nil, err
 21988  	}
 21989  	return ret, nil
 21990  }
 21991  
 21992  type ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall struct {
 21993  	s                                                 *Service
 21994  	environment                                       string
 21995  	googleclouddialogflowcxv3runcontinuoustestrequest *GoogleCloudDialogflowCxV3RunContinuousTestRequest
 21996  	urlParams_                                        gensupport.URLParams
 21997  	ctx_                                              context.Context
 21998  	header_                                           http.Header
 21999  }
 22000  
 22001  // RunContinuousTest: Kicks off a continuous test under the specified
 22002  // Environment. This method is a long-running operation
 22003  // (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
 22004  // The returned `Operation` type has the following method-specific fields: -
 22005  // `metadata`: RunContinuousTestMetadata - `response`:
 22006  // RunContinuousTestResponse
 22007  //
 22008  // - environment: Format: `projects//locations//agents//environments/`.
 22009  func (r *ProjectsLocationsAgentsEnvironmentsService) RunContinuousTest(environment string, googleclouddialogflowcxv3runcontinuoustestrequest *GoogleCloudDialogflowCxV3RunContinuousTestRequest) *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall {
 22010  	c := &ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22011  	c.environment = environment
 22012  	c.googleclouddialogflowcxv3runcontinuoustestrequest = googleclouddialogflowcxv3runcontinuoustestrequest
 22013  	return c
 22014  }
 22015  
 22016  // Fields allows partial responses to be retrieved. See
 22017  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 22018  // details.
 22019  func (c *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall {
 22020  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22021  	return c
 22022  }
 22023  
 22024  // Context sets the context to be used in this call's Do method.
 22025  func (c *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall {
 22026  	c.ctx_ = ctx
 22027  	return c
 22028  }
 22029  
 22030  // Header returns a http.Header that can be modified by the caller to add
 22031  // headers to the request.
 22032  func (c *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall) Header() http.Header {
 22033  	if c.header_ == nil {
 22034  		c.header_ = make(http.Header)
 22035  	}
 22036  	return c.header_
 22037  }
 22038  
 22039  func (c *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall) doRequest(alt string) (*http.Response, error) {
 22040  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 22041  	var body io.Reader = nil
 22042  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3runcontinuoustestrequest)
 22043  	if err != nil {
 22044  		return nil, err
 22045  	}
 22046  	c.urlParams_.Set("alt", alt)
 22047  	c.urlParams_.Set("prettyPrint", "false")
 22048  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+environment}:runContinuousTest")
 22049  	urls += "?" + c.urlParams_.Encode()
 22050  	req, err := http.NewRequest("POST", urls, body)
 22051  	if err != nil {
 22052  		return nil, err
 22053  	}
 22054  	req.Header = reqHeaders
 22055  	googleapi.Expand(req.URL, map[string]string{
 22056  		"environment": c.environment,
 22057  	})
 22058  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22059  }
 22060  
 22061  // Do executes the "dialogflow.projects.locations.agents.environments.runContinuousTest" call.
 22062  // Any non-2xx status code is an error. Response headers are in either
 22063  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 22064  // returned at all) in error.(*googleapi.Error).Header. Use
 22065  // googleapi.IsNotModified to check whether the returned error was because
 22066  // http.StatusNotModified was returned.
 22067  func (c *ProjectsLocationsAgentsEnvironmentsRunContinuousTestCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 22068  	gensupport.SetOptions(c.urlParams_, opts...)
 22069  	res, err := c.doRequest("json")
 22070  	if res != nil && res.StatusCode == http.StatusNotModified {
 22071  		if res.Body != nil {
 22072  			res.Body.Close()
 22073  		}
 22074  		return nil, gensupport.WrapError(&googleapi.Error{
 22075  			Code:   res.StatusCode,
 22076  			Header: res.Header,
 22077  		})
 22078  	}
 22079  	if err != nil {
 22080  		return nil, err
 22081  	}
 22082  	defer googleapi.CloseBody(res)
 22083  	if err := googleapi.CheckResponse(res); err != nil {
 22084  		return nil, gensupport.WrapError(err)
 22085  	}
 22086  	ret := &GoogleLongrunningOperation{
 22087  		ServerResponse: googleapi.ServerResponse{
 22088  			Header:         res.Header,
 22089  			HTTPStatusCode: res.StatusCode,
 22090  		},
 22091  	}
 22092  	target := &ret
 22093  	if err := gensupport.DecodeResponse(target, res); err != nil {
 22094  		return nil, err
 22095  	}
 22096  	return ret, nil
 22097  }
 22098  
 22099  type ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall struct {
 22100  	s            *Service
 22101  	parent       string
 22102  	urlParams_   gensupport.URLParams
 22103  	ifNoneMatch_ string
 22104  	ctx_         context.Context
 22105  	header_      http.Header
 22106  }
 22107  
 22108  // List: Fetches a list of continuous test results for a given environment.
 22109  //
 22110  //   - parent: The environment to list results for. Format:
 22111  //     `projects//locations//agents// environments/`.
 22112  func (r *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall {
 22113  	c := &ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22114  	c.parent = parent
 22115  	return c
 22116  }
 22117  
 22118  // PageSize sets the optional parameter "pageSize": The maximum number of items
 22119  // to return in a single page. By default 100 and at most 1000.
 22120  func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall {
 22121  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 22122  	return c
 22123  }
 22124  
 22125  // PageToken sets the optional parameter "pageToken": The next_page_token value
 22126  // returned from a previous list request.
 22127  func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall {
 22128  	c.urlParams_.Set("pageToken", pageToken)
 22129  	return c
 22130  }
 22131  
 22132  // Fields allows partial responses to be retrieved. See
 22133  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 22134  // details.
 22135  func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall {
 22136  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22137  	return c
 22138  }
 22139  
 22140  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 22141  // object's ETag matches the given value. This is useful for getting updates
 22142  // only after the object has changed since the last request.
 22143  func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall {
 22144  	c.ifNoneMatch_ = entityTag
 22145  	return c
 22146  }
 22147  
 22148  // Context sets the context to be used in this call's Do method.
 22149  func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall {
 22150  	c.ctx_ = ctx
 22151  	return c
 22152  }
 22153  
 22154  // Header returns a http.Header that can be modified by the caller to add
 22155  // headers to the request.
 22156  func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) Header() http.Header {
 22157  	if c.header_ == nil {
 22158  		c.header_ = make(http.Header)
 22159  	}
 22160  	return c.header_
 22161  }
 22162  
 22163  func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) doRequest(alt string) (*http.Response, error) {
 22164  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 22165  	if c.ifNoneMatch_ != "" {
 22166  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 22167  	}
 22168  	var body io.Reader = nil
 22169  	c.urlParams_.Set("alt", alt)
 22170  	c.urlParams_.Set("prettyPrint", "false")
 22171  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/continuousTestResults")
 22172  	urls += "?" + c.urlParams_.Encode()
 22173  	req, err := http.NewRequest("GET", urls, body)
 22174  	if err != nil {
 22175  		return nil, err
 22176  	}
 22177  	req.Header = reqHeaders
 22178  	googleapi.Expand(req.URL, map[string]string{
 22179  		"parent": c.parent,
 22180  	})
 22181  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22182  }
 22183  
 22184  // Do executes the "dialogflow.projects.locations.agents.environments.continuousTestResults.list" call.
 22185  // Any non-2xx status code is an error. Response headers are in either
 22186  // *GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse.ServerResponse.He
 22187  // ader or (if a response was returned at all) in
 22188  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 22189  // whether the returned error was because http.StatusNotModified was returned.
 22190  func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse, error) {
 22191  	gensupport.SetOptions(c.urlParams_, opts...)
 22192  	res, err := c.doRequest("json")
 22193  	if res != nil && res.StatusCode == http.StatusNotModified {
 22194  		if res.Body != nil {
 22195  			res.Body.Close()
 22196  		}
 22197  		return nil, gensupport.WrapError(&googleapi.Error{
 22198  			Code:   res.StatusCode,
 22199  			Header: res.Header,
 22200  		})
 22201  	}
 22202  	if err != nil {
 22203  		return nil, err
 22204  	}
 22205  	defer googleapi.CloseBody(res)
 22206  	if err := googleapi.CheckResponse(res); err != nil {
 22207  		return nil, gensupport.WrapError(err)
 22208  	}
 22209  	ret := &GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse{
 22210  		ServerResponse: googleapi.ServerResponse{
 22211  			Header:         res.Header,
 22212  			HTTPStatusCode: res.StatusCode,
 22213  		},
 22214  	}
 22215  	target := &ret
 22216  	if err := gensupport.DecodeResponse(target, res); err != nil {
 22217  		return nil, err
 22218  	}
 22219  	return ret, nil
 22220  }
 22221  
 22222  // Pages invokes f for each page of results.
 22223  // A non-nil error returned from f will halt the iteration.
 22224  // The provided context supersedes any context provided to the Context method.
 22225  func (c *ProjectsLocationsAgentsEnvironmentsContinuousTestResultsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse) error) error {
 22226  	c.ctx_ = ctx
 22227  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 22228  	for {
 22229  		x, err := c.Do()
 22230  		if err != nil {
 22231  			return err
 22232  		}
 22233  		if err := f(x); err != nil {
 22234  			return err
 22235  		}
 22236  		if x.NextPageToken == "" {
 22237  			return nil
 22238  		}
 22239  		c.PageToken(x.NextPageToken)
 22240  	}
 22241  }
 22242  
 22243  type ProjectsLocationsAgentsEnvironmentsDeploymentsGetCall struct {
 22244  	s            *Service
 22245  	name         string
 22246  	urlParams_   gensupport.URLParams
 22247  	ifNoneMatch_ string
 22248  	ctx_         context.Context
 22249  	header_      http.Header
 22250  }
 22251  
 22252  // Get: Retrieves the specified Deployment.
 22253  //
 22254  //   - name: The name of the Deployment. Format:
 22255  //     `projects//locations//agents//environments//deployments/`.
 22256  func (r *ProjectsLocationsAgentsEnvironmentsDeploymentsService) Get(name string) *ProjectsLocationsAgentsEnvironmentsDeploymentsGetCall {
 22257  	c := &ProjectsLocationsAgentsEnvironmentsDeploymentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22258  	c.name = name
 22259  	return c
 22260  }
 22261  
 22262  // Fields allows partial responses to be retrieved. See
 22263  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 22264  // details.
 22265  func (c *ProjectsLocationsAgentsEnvironmentsDeploymentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsDeploymentsGetCall {
 22266  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22267  	return c
 22268  }
 22269  
 22270  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 22271  // object's ETag matches the given value. This is useful for getting updates
 22272  // only after the object has changed since the last request.
 22273  func (c *ProjectsLocationsAgentsEnvironmentsDeploymentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsDeploymentsGetCall {
 22274  	c.ifNoneMatch_ = entityTag
 22275  	return c
 22276  }
 22277  
 22278  // Context sets the context to be used in this call's Do method.
 22279  func (c *ProjectsLocationsAgentsEnvironmentsDeploymentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsDeploymentsGetCall {
 22280  	c.ctx_ = ctx
 22281  	return c
 22282  }
 22283  
 22284  // Header returns a http.Header that can be modified by the caller to add
 22285  // headers to the request.
 22286  func (c *ProjectsLocationsAgentsEnvironmentsDeploymentsGetCall) Header() http.Header {
 22287  	if c.header_ == nil {
 22288  		c.header_ = make(http.Header)
 22289  	}
 22290  	return c.header_
 22291  }
 22292  
 22293  func (c *ProjectsLocationsAgentsEnvironmentsDeploymentsGetCall) doRequest(alt string) (*http.Response, error) {
 22294  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 22295  	if c.ifNoneMatch_ != "" {
 22296  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 22297  	}
 22298  	var body io.Reader = nil
 22299  	c.urlParams_.Set("alt", alt)
 22300  	c.urlParams_.Set("prettyPrint", "false")
 22301  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 22302  	urls += "?" + c.urlParams_.Encode()
 22303  	req, err := http.NewRequest("GET", urls, body)
 22304  	if err != nil {
 22305  		return nil, err
 22306  	}
 22307  	req.Header = reqHeaders
 22308  	googleapi.Expand(req.URL, map[string]string{
 22309  		"name": c.name,
 22310  	})
 22311  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22312  }
 22313  
 22314  // Do executes the "dialogflow.projects.locations.agents.environments.deployments.get" call.
 22315  // Any non-2xx status code is an error. Response headers are in either
 22316  // *GoogleCloudDialogflowCxV3Deployment.ServerResponse.Header or (if a response
 22317  // was returned at all) in error.(*googleapi.Error).Header. Use
 22318  // googleapi.IsNotModified to check whether the returned error was because
 22319  // http.StatusNotModified was returned.
 22320  func (c *ProjectsLocationsAgentsEnvironmentsDeploymentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Deployment, error) {
 22321  	gensupport.SetOptions(c.urlParams_, opts...)
 22322  	res, err := c.doRequest("json")
 22323  	if res != nil && res.StatusCode == http.StatusNotModified {
 22324  		if res.Body != nil {
 22325  			res.Body.Close()
 22326  		}
 22327  		return nil, gensupport.WrapError(&googleapi.Error{
 22328  			Code:   res.StatusCode,
 22329  			Header: res.Header,
 22330  		})
 22331  	}
 22332  	if err != nil {
 22333  		return nil, err
 22334  	}
 22335  	defer googleapi.CloseBody(res)
 22336  	if err := googleapi.CheckResponse(res); err != nil {
 22337  		return nil, gensupport.WrapError(err)
 22338  	}
 22339  	ret := &GoogleCloudDialogflowCxV3Deployment{
 22340  		ServerResponse: googleapi.ServerResponse{
 22341  			Header:         res.Header,
 22342  			HTTPStatusCode: res.StatusCode,
 22343  		},
 22344  	}
 22345  	target := &ret
 22346  	if err := gensupport.DecodeResponse(target, res); err != nil {
 22347  		return nil, err
 22348  	}
 22349  	return ret, nil
 22350  }
 22351  
 22352  type ProjectsLocationsAgentsEnvironmentsDeploymentsListCall struct {
 22353  	s            *Service
 22354  	parent       string
 22355  	urlParams_   gensupport.URLParams
 22356  	ifNoneMatch_ string
 22357  	ctx_         context.Context
 22358  	header_      http.Header
 22359  }
 22360  
 22361  // List: Returns the list of all deployments in the specified Environment.
 22362  //
 22363  //   - parent: The Environment to list all environments for. Format:
 22364  //     `projects//locations//agents//environments/`.
 22365  func (r *ProjectsLocationsAgentsEnvironmentsDeploymentsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsDeploymentsListCall {
 22366  	c := &ProjectsLocationsAgentsEnvironmentsDeploymentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22367  	c.parent = parent
 22368  	return c
 22369  }
 22370  
 22371  // PageSize sets the optional parameter "pageSize": The maximum number of items
 22372  // to return in a single page. By default 20 and at most 100.
 22373  func (c *ProjectsLocationsAgentsEnvironmentsDeploymentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsDeploymentsListCall {
 22374  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 22375  	return c
 22376  }
 22377  
 22378  // PageToken sets the optional parameter "pageToken": The next_page_token value
 22379  // returned from a previous list request.
 22380  func (c *ProjectsLocationsAgentsEnvironmentsDeploymentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsDeploymentsListCall {
 22381  	c.urlParams_.Set("pageToken", pageToken)
 22382  	return c
 22383  }
 22384  
 22385  // Fields allows partial responses to be retrieved. See
 22386  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 22387  // details.
 22388  func (c *ProjectsLocationsAgentsEnvironmentsDeploymentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsDeploymentsListCall {
 22389  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22390  	return c
 22391  }
 22392  
 22393  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 22394  // object's ETag matches the given value. This is useful for getting updates
 22395  // only after the object has changed since the last request.
 22396  func (c *ProjectsLocationsAgentsEnvironmentsDeploymentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsDeploymentsListCall {
 22397  	c.ifNoneMatch_ = entityTag
 22398  	return c
 22399  }
 22400  
 22401  // Context sets the context to be used in this call's Do method.
 22402  func (c *ProjectsLocationsAgentsEnvironmentsDeploymentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsDeploymentsListCall {
 22403  	c.ctx_ = ctx
 22404  	return c
 22405  }
 22406  
 22407  // Header returns a http.Header that can be modified by the caller to add
 22408  // headers to the request.
 22409  func (c *ProjectsLocationsAgentsEnvironmentsDeploymentsListCall) Header() http.Header {
 22410  	if c.header_ == nil {
 22411  		c.header_ = make(http.Header)
 22412  	}
 22413  	return c.header_
 22414  }
 22415  
 22416  func (c *ProjectsLocationsAgentsEnvironmentsDeploymentsListCall) doRequest(alt string) (*http.Response, error) {
 22417  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 22418  	if c.ifNoneMatch_ != "" {
 22419  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 22420  	}
 22421  	var body io.Reader = nil
 22422  	c.urlParams_.Set("alt", alt)
 22423  	c.urlParams_.Set("prettyPrint", "false")
 22424  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/deployments")
 22425  	urls += "?" + c.urlParams_.Encode()
 22426  	req, err := http.NewRequest("GET", urls, body)
 22427  	if err != nil {
 22428  		return nil, err
 22429  	}
 22430  	req.Header = reqHeaders
 22431  	googleapi.Expand(req.URL, map[string]string{
 22432  		"parent": c.parent,
 22433  	})
 22434  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22435  }
 22436  
 22437  // Do executes the "dialogflow.projects.locations.agents.environments.deployments.list" call.
 22438  // Any non-2xx status code is an error. Response headers are in either
 22439  // *GoogleCloudDialogflowCxV3ListDeploymentsResponse.ServerResponse.Header or
 22440  // (if a response was returned at all) in error.(*googleapi.Error).Header. Use
 22441  // googleapi.IsNotModified to check whether the returned error was because
 22442  // http.StatusNotModified was returned.
 22443  func (c *ProjectsLocationsAgentsEnvironmentsDeploymentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListDeploymentsResponse, error) {
 22444  	gensupport.SetOptions(c.urlParams_, opts...)
 22445  	res, err := c.doRequest("json")
 22446  	if res != nil && res.StatusCode == http.StatusNotModified {
 22447  		if res.Body != nil {
 22448  			res.Body.Close()
 22449  		}
 22450  		return nil, gensupport.WrapError(&googleapi.Error{
 22451  			Code:   res.StatusCode,
 22452  			Header: res.Header,
 22453  		})
 22454  	}
 22455  	if err != nil {
 22456  		return nil, err
 22457  	}
 22458  	defer googleapi.CloseBody(res)
 22459  	if err := googleapi.CheckResponse(res); err != nil {
 22460  		return nil, gensupport.WrapError(err)
 22461  	}
 22462  	ret := &GoogleCloudDialogflowCxV3ListDeploymentsResponse{
 22463  		ServerResponse: googleapi.ServerResponse{
 22464  			Header:         res.Header,
 22465  			HTTPStatusCode: res.StatusCode,
 22466  		},
 22467  	}
 22468  	target := &ret
 22469  	if err := gensupport.DecodeResponse(target, res); err != nil {
 22470  		return nil, err
 22471  	}
 22472  	return ret, nil
 22473  }
 22474  
 22475  // Pages invokes f for each page of results.
 22476  // A non-nil error returned from f will halt the iteration.
 22477  // The provided context supersedes any context provided to the Context method.
 22478  func (c *ProjectsLocationsAgentsEnvironmentsDeploymentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListDeploymentsResponse) error) error {
 22479  	c.ctx_ = ctx
 22480  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 22481  	for {
 22482  		x, err := c.Do()
 22483  		if err != nil {
 22484  			return err
 22485  		}
 22486  		if err := f(x); err != nil {
 22487  			return err
 22488  		}
 22489  		if x.NextPageToken == "" {
 22490  			return nil
 22491  		}
 22492  		c.PageToken(x.NextPageToken)
 22493  	}
 22494  }
 22495  
 22496  type ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall struct {
 22497  	s                                   *Service
 22498  	parent                              string
 22499  	googleclouddialogflowcxv3experiment *GoogleCloudDialogflowCxV3Experiment
 22500  	urlParams_                          gensupport.URLParams
 22501  	ctx_                                context.Context
 22502  	header_                             http.Header
 22503  }
 22504  
 22505  // Create: Creates an Experiment in the specified Environment.
 22506  //
 22507  //   - parent: The Agent to create an Environment for. Format:
 22508  //     `projects//locations//agents//environments/`.
 22509  func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Create(parent string, googleclouddialogflowcxv3experiment *GoogleCloudDialogflowCxV3Experiment) *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall {
 22510  	c := &ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22511  	c.parent = parent
 22512  	c.googleclouddialogflowcxv3experiment = googleclouddialogflowcxv3experiment
 22513  	return c
 22514  }
 22515  
 22516  // Fields allows partial responses to be retrieved. See
 22517  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 22518  // details.
 22519  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall {
 22520  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22521  	return c
 22522  }
 22523  
 22524  // Context sets the context to be used in this call's Do method.
 22525  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall {
 22526  	c.ctx_ = ctx
 22527  	return c
 22528  }
 22529  
 22530  // Header returns a http.Header that can be modified by the caller to add
 22531  // headers to the request.
 22532  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall) Header() http.Header {
 22533  	if c.header_ == nil {
 22534  		c.header_ = make(http.Header)
 22535  	}
 22536  	return c.header_
 22537  }
 22538  
 22539  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall) doRequest(alt string) (*http.Response, error) {
 22540  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 22541  	var body io.Reader = nil
 22542  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3experiment)
 22543  	if err != nil {
 22544  		return nil, err
 22545  	}
 22546  	c.urlParams_.Set("alt", alt)
 22547  	c.urlParams_.Set("prettyPrint", "false")
 22548  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/experiments")
 22549  	urls += "?" + c.urlParams_.Encode()
 22550  	req, err := http.NewRequest("POST", urls, body)
 22551  	if err != nil {
 22552  		return nil, err
 22553  	}
 22554  	req.Header = reqHeaders
 22555  	googleapi.Expand(req.URL, map[string]string{
 22556  		"parent": c.parent,
 22557  	})
 22558  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22559  }
 22560  
 22561  // Do executes the "dialogflow.projects.locations.agents.environments.experiments.create" call.
 22562  // Any non-2xx status code is an error. Response headers are in either
 22563  // *GoogleCloudDialogflowCxV3Experiment.ServerResponse.Header or (if a response
 22564  // was returned at all) in error.(*googleapi.Error).Header. Use
 22565  // googleapi.IsNotModified to check whether the returned error was because
 22566  // http.StatusNotModified was returned.
 22567  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Experiment, error) {
 22568  	gensupport.SetOptions(c.urlParams_, opts...)
 22569  	res, err := c.doRequest("json")
 22570  	if res != nil && res.StatusCode == http.StatusNotModified {
 22571  		if res.Body != nil {
 22572  			res.Body.Close()
 22573  		}
 22574  		return nil, gensupport.WrapError(&googleapi.Error{
 22575  			Code:   res.StatusCode,
 22576  			Header: res.Header,
 22577  		})
 22578  	}
 22579  	if err != nil {
 22580  		return nil, err
 22581  	}
 22582  	defer googleapi.CloseBody(res)
 22583  	if err := googleapi.CheckResponse(res); err != nil {
 22584  		return nil, gensupport.WrapError(err)
 22585  	}
 22586  	ret := &GoogleCloudDialogflowCxV3Experiment{
 22587  		ServerResponse: googleapi.ServerResponse{
 22588  			Header:         res.Header,
 22589  			HTTPStatusCode: res.StatusCode,
 22590  		},
 22591  	}
 22592  	target := &ret
 22593  	if err := gensupport.DecodeResponse(target, res); err != nil {
 22594  		return nil, err
 22595  	}
 22596  	return ret, nil
 22597  }
 22598  
 22599  type ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall struct {
 22600  	s          *Service
 22601  	name       string
 22602  	urlParams_ gensupport.URLParams
 22603  	ctx_       context.Context
 22604  	header_    http.Header
 22605  }
 22606  
 22607  // Delete: Deletes the specified Experiment.
 22608  //
 22609  //   - name: The name of the Environment to delete. Format:
 22610  //     `projects//locations//agents//environments//experiments/`.
 22611  func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall {
 22612  	c := &ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22613  	c.name = name
 22614  	return c
 22615  }
 22616  
 22617  // Fields allows partial responses to be retrieved. See
 22618  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 22619  // details.
 22620  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall {
 22621  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22622  	return c
 22623  }
 22624  
 22625  // Context sets the context to be used in this call's Do method.
 22626  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall {
 22627  	c.ctx_ = ctx
 22628  	return c
 22629  }
 22630  
 22631  // Header returns a http.Header that can be modified by the caller to add
 22632  // headers to the request.
 22633  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall) Header() http.Header {
 22634  	if c.header_ == nil {
 22635  		c.header_ = make(http.Header)
 22636  	}
 22637  	return c.header_
 22638  }
 22639  
 22640  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall) doRequest(alt string) (*http.Response, error) {
 22641  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 22642  	var body io.Reader = nil
 22643  	c.urlParams_.Set("alt", alt)
 22644  	c.urlParams_.Set("prettyPrint", "false")
 22645  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 22646  	urls += "?" + c.urlParams_.Encode()
 22647  	req, err := http.NewRequest("DELETE", urls, body)
 22648  	if err != nil {
 22649  		return nil, err
 22650  	}
 22651  	req.Header = reqHeaders
 22652  	googleapi.Expand(req.URL, map[string]string{
 22653  		"name": c.name,
 22654  	})
 22655  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22656  }
 22657  
 22658  // Do executes the "dialogflow.projects.locations.agents.environments.experiments.delete" call.
 22659  // Any non-2xx status code is an error. Response headers are in either
 22660  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 22661  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 22662  // check whether the returned error was because http.StatusNotModified was
 22663  // returned.
 22664  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 22665  	gensupport.SetOptions(c.urlParams_, opts...)
 22666  	res, err := c.doRequest("json")
 22667  	if res != nil && res.StatusCode == http.StatusNotModified {
 22668  		if res.Body != nil {
 22669  			res.Body.Close()
 22670  		}
 22671  		return nil, gensupport.WrapError(&googleapi.Error{
 22672  			Code:   res.StatusCode,
 22673  			Header: res.Header,
 22674  		})
 22675  	}
 22676  	if err != nil {
 22677  		return nil, err
 22678  	}
 22679  	defer googleapi.CloseBody(res)
 22680  	if err := googleapi.CheckResponse(res); err != nil {
 22681  		return nil, gensupport.WrapError(err)
 22682  	}
 22683  	ret := &GoogleProtobufEmpty{
 22684  		ServerResponse: googleapi.ServerResponse{
 22685  			Header:         res.Header,
 22686  			HTTPStatusCode: res.StatusCode,
 22687  		},
 22688  	}
 22689  	target := &ret
 22690  	if err := gensupport.DecodeResponse(target, res); err != nil {
 22691  		return nil, err
 22692  	}
 22693  	return ret, nil
 22694  }
 22695  
 22696  type ProjectsLocationsAgentsEnvironmentsExperimentsGetCall struct {
 22697  	s            *Service
 22698  	name         string
 22699  	urlParams_   gensupport.URLParams
 22700  	ifNoneMatch_ string
 22701  	ctx_         context.Context
 22702  	header_      http.Header
 22703  }
 22704  
 22705  // Get: Retrieves the specified Experiment.
 22706  //
 22707  //   - name: The name of the Environment. Format:
 22708  //     `projects//locations//agents//environments//experiments/`.
 22709  func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Get(name string) *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall {
 22710  	c := &ProjectsLocationsAgentsEnvironmentsExperimentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22711  	c.name = name
 22712  	return c
 22713  }
 22714  
 22715  // Fields allows partial responses to be retrieved. See
 22716  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 22717  // details.
 22718  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall {
 22719  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22720  	return c
 22721  }
 22722  
 22723  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 22724  // object's ETag matches the given value. This is useful for getting updates
 22725  // only after the object has changed since the last request.
 22726  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall {
 22727  	c.ifNoneMatch_ = entityTag
 22728  	return c
 22729  }
 22730  
 22731  // Context sets the context to be used in this call's Do method.
 22732  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall {
 22733  	c.ctx_ = ctx
 22734  	return c
 22735  }
 22736  
 22737  // Header returns a http.Header that can be modified by the caller to add
 22738  // headers to the request.
 22739  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) Header() http.Header {
 22740  	if c.header_ == nil {
 22741  		c.header_ = make(http.Header)
 22742  	}
 22743  	return c.header_
 22744  }
 22745  
 22746  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) doRequest(alt string) (*http.Response, error) {
 22747  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 22748  	if c.ifNoneMatch_ != "" {
 22749  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 22750  	}
 22751  	var body io.Reader = nil
 22752  	c.urlParams_.Set("alt", alt)
 22753  	c.urlParams_.Set("prettyPrint", "false")
 22754  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 22755  	urls += "?" + c.urlParams_.Encode()
 22756  	req, err := http.NewRequest("GET", urls, body)
 22757  	if err != nil {
 22758  		return nil, err
 22759  	}
 22760  	req.Header = reqHeaders
 22761  	googleapi.Expand(req.URL, map[string]string{
 22762  		"name": c.name,
 22763  	})
 22764  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22765  }
 22766  
 22767  // Do executes the "dialogflow.projects.locations.agents.environments.experiments.get" call.
 22768  // Any non-2xx status code is an error. Response headers are in either
 22769  // *GoogleCloudDialogflowCxV3Experiment.ServerResponse.Header or (if a response
 22770  // was returned at all) in error.(*googleapi.Error).Header. Use
 22771  // googleapi.IsNotModified to check whether the returned error was because
 22772  // http.StatusNotModified was returned.
 22773  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Experiment, error) {
 22774  	gensupport.SetOptions(c.urlParams_, opts...)
 22775  	res, err := c.doRequest("json")
 22776  	if res != nil && res.StatusCode == http.StatusNotModified {
 22777  		if res.Body != nil {
 22778  			res.Body.Close()
 22779  		}
 22780  		return nil, gensupport.WrapError(&googleapi.Error{
 22781  			Code:   res.StatusCode,
 22782  			Header: res.Header,
 22783  		})
 22784  	}
 22785  	if err != nil {
 22786  		return nil, err
 22787  	}
 22788  	defer googleapi.CloseBody(res)
 22789  	if err := googleapi.CheckResponse(res); err != nil {
 22790  		return nil, gensupport.WrapError(err)
 22791  	}
 22792  	ret := &GoogleCloudDialogflowCxV3Experiment{
 22793  		ServerResponse: googleapi.ServerResponse{
 22794  			Header:         res.Header,
 22795  			HTTPStatusCode: res.StatusCode,
 22796  		},
 22797  	}
 22798  	target := &ret
 22799  	if err := gensupport.DecodeResponse(target, res); err != nil {
 22800  		return nil, err
 22801  	}
 22802  	return ret, nil
 22803  }
 22804  
 22805  type ProjectsLocationsAgentsEnvironmentsExperimentsListCall struct {
 22806  	s            *Service
 22807  	parent       string
 22808  	urlParams_   gensupport.URLParams
 22809  	ifNoneMatch_ string
 22810  	ctx_         context.Context
 22811  	header_      http.Header
 22812  }
 22813  
 22814  // List: Returns the list of all experiments in the specified Environment.
 22815  //
 22816  //   - parent: The Environment to list all environments for. Format:
 22817  //     `projects//locations//agents//environments/`.
 22818  func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) List(parent string) *ProjectsLocationsAgentsEnvironmentsExperimentsListCall {
 22819  	c := &ProjectsLocationsAgentsEnvironmentsExperimentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22820  	c.parent = parent
 22821  	return c
 22822  }
 22823  
 22824  // PageSize sets the optional parameter "pageSize": The maximum number of items
 22825  // to return in a single page. By default 20 and at most 100.
 22826  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsExperimentsListCall {
 22827  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 22828  	return c
 22829  }
 22830  
 22831  // PageToken sets the optional parameter "pageToken": The next_page_token value
 22832  // returned from a previous list request.
 22833  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsExperimentsListCall {
 22834  	c.urlParams_.Set("pageToken", pageToken)
 22835  	return c
 22836  }
 22837  
 22838  // Fields allows partial responses to be retrieved. See
 22839  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 22840  // details.
 22841  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsListCall {
 22842  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22843  	return c
 22844  }
 22845  
 22846  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 22847  // object's ETag matches the given value. This is useful for getting updates
 22848  // only after the object has changed since the last request.
 22849  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsExperimentsListCall {
 22850  	c.ifNoneMatch_ = entityTag
 22851  	return c
 22852  }
 22853  
 22854  // Context sets the context to be used in this call's Do method.
 22855  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsListCall {
 22856  	c.ctx_ = ctx
 22857  	return c
 22858  }
 22859  
 22860  // Header returns a http.Header that can be modified by the caller to add
 22861  // headers to the request.
 22862  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) Header() http.Header {
 22863  	if c.header_ == nil {
 22864  		c.header_ = make(http.Header)
 22865  	}
 22866  	return c.header_
 22867  }
 22868  
 22869  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) doRequest(alt string) (*http.Response, error) {
 22870  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 22871  	if c.ifNoneMatch_ != "" {
 22872  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 22873  	}
 22874  	var body io.Reader = nil
 22875  	c.urlParams_.Set("alt", alt)
 22876  	c.urlParams_.Set("prettyPrint", "false")
 22877  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/experiments")
 22878  	urls += "?" + c.urlParams_.Encode()
 22879  	req, err := http.NewRequest("GET", urls, body)
 22880  	if err != nil {
 22881  		return nil, err
 22882  	}
 22883  	req.Header = reqHeaders
 22884  	googleapi.Expand(req.URL, map[string]string{
 22885  		"parent": c.parent,
 22886  	})
 22887  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 22888  }
 22889  
 22890  // Do executes the "dialogflow.projects.locations.agents.environments.experiments.list" call.
 22891  // Any non-2xx status code is an error. Response headers are in either
 22892  // *GoogleCloudDialogflowCxV3ListExperimentsResponse.ServerResponse.Header or
 22893  // (if a response was returned at all) in error.(*googleapi.Error).Header. Use
 22894  // googleapi.IsNotModified to check whether the returned error was because
 22895  // http.StatusNotModified was returned.
 22896  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListExperimentsResponse, error) {
 22897  	gensupport.SetOptions(c.urlParams_, opts...)
 22898  	res, err := c.doRequest("json")
 22899  	if res != nil && res.StatusCode == http.StatusNotModified {
 22900  		if res.Body != nil {
 22901  			res.Body.Close()
 22902  		}
 22903  		return nil, gensupport.WrapError(&googleapi.Error{
 22904  			Code:   res.StatusCode,
 22905  			Header: res.Header,
 22906  		})
 22907  	}
 22908  	if err != nil {
 22909  		return nil, err
 22910  	}
 22911  	defer googleapi.CloseBody(res)
 22912  	if err := googleapi.CheckResponse(res); err != nil {
 22913  		return nil, gensupport.WrapError(err)
 22914  	}
 22915  	ret := &GoogleCloudDialogflowCxV3ListExperimentsResponse{
 22916  		ServerResponse: googleapi.ServerResponse{
 22917  			Header:         res.Header,
 22918  			HTTPStatusCode: res.StatusCode,
 22919  		},
 22920  	}
 22921  	target := &ret
 22922  	if err := gensupport.DecodeResponse(target, res); err != nil {
 22923  		return nil, err
 22924  	}
 22925  	return ret, nil
 22926  }
 22927  
 22928  // Pages invokes f for each page of results.
 22929  // A non-nil error returned from f will halt the iteration.
 22930  // The provided context supersedes any context provided to the Context method.
 22931  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListExperimentsResponse) error) error {
 22932  	c.ctx_ = ctx
 22933  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 22934  	for {
 22935  		x, err := c.Do()
 22936  		if err != nil {
 22937  			return err
 22938  		}
 22939  		if err := f(x); err != nil {
 22940  			return err
 22941  		}
 22942  		if x.NextPageToken == "" {
 22943  			return nil
 22944  		}
 22945  		c.PageToken(x.NextPageToken)
 22946  	}
 22947  }
 22948  
 22949  type ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall struct {
 22950  	s                                   *Service
 22951  	name                                string
 22952  	googleclouddialogflowcxv3experiment *GoogleCloudDialogflowCxV3Experiment
 22953  	urlParams_                          gensupport.URLParams
 22954  	ctx_                                context.Context
 22955  	header_                             http.Header
 22956  }
 22957  
 22958  // Patch: Updates the specified Experiment.
 22959  //
 22960  //   - name: The name of the experiment. Format:
 22961  //     projects//locations//agents//environments//experiments/..
 22962  func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Patch(name string, googleclouddialogflowcxv3experiment *GoogleCloudDialogflowCxV3Experiment) *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall {
 22963  	c := &ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 22964  	c.name = name
 22965  	c.googleclouddialogflowcxv3experiment = googleclouddialogflowcxv3experiment
 22966  	return c
 22967  }
 22968  
 22969  // UpdateMask sets the optional parameter "updateMask": Required. The mask to
 22970  // control which fields get updated.
 22971  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall {
 22972  	c.urlParams_.Set("updateMask", updateMask)
 22973  	return c
 22974  }
 22975  
 22976  // Fields allows partial responses to be retrieved. See
 22977  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 22978  // details.
 22979  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall {
 22980  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 22981  	return c
 22982  }
 22983  
 22984  // Context sets the context to be used in this call's Do method.
 22985  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall {
 22986  	c.ctx_ = ctx
 22987  	return c
 22988  }
 22989  
 22990  // Header returns a http.Header that can be modified by the caller to add
 22991  // headers to the request.
 22992  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) Header() http.Header {
 22993  	if c.header_ == nil {
 22994  		c.header_ = make(http.Header)
 22995  	}
 22996  	return c.header_
 22997  }
 22998  
 22999  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) doRequest(alt string) (*http.Response, error) {
 23000  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 23001  	var body io.Reader = nil
 23002  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3experiment)
 23003  	if err != nil {
 23004  		return nil, err
 23005  	}
 23006  	c.urlParams_.Set("alt", alt)
 23007  	c.urlParams_.Set("prettyPrint", "false")
 23008  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 23009  	urls += "?" + c.urlParams_.Encode()
 23010  	req, err := http.NewRequest("PATCH", urls, body)
 23011  	if err != nil {
 23012  		return nil, err
 23013  	}
 23014  	req.Header = reqHeaders
 23015  	googleapi.Expand(req.URL, map[string]string{
 23016  		"name": c.name,
 23017  	})
 23018  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 23019  }
 23020  
 23021  // Do executes the "dialogflow.projects.locations.agents.environments.experiments.patch" call.
 23022  // Any non-2xx status code is an error. Response headers are in either
 23023  // *GoogleCloudDialogflowCxV3Experiment.ServerResponse.Header or (if a response
 23024  // was returned at all) in error.(*googleapi.Error).Header. Use
 23025  // googleapi.IsNotModified to check whether the returned error was because
 23026  // http.StatusNotModified was returned.
 23027  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Experiment, error) {
 23028  	gensupport.SetOptions(c.urlParams_, opts...)
 23029  	res, err := c.doRequest("json")
 23030  	if res != nil && res.StatusCode == http.StatusNotModified {
 23031  		if res.Body != nil {
 23032  			res.Body.Close()
 23033  		}
 23034  		return nil, gensupport.WrapError(&googleapi.Error{
 23035  			Code:   res.StatusCode,
 23036  			Header: res.Header,
 23037  		})
 23038  	}
 23039  	if err != nil {
 23040  		return nil, err
 23041  	}
 23042  	defer googleapi.CloseBody(res)
 23043  	if err := googleapi.CheckResponse(res); err != nil {
 23044  		return nil, gensupport.WrapError(err)
 23045  	}
 23046  	ret := &GoogleCloudDialogflowCxV3Experiment{
 23047  		ServerResponse: googleapi.ServerResponse{
 23048  			Header:         res.Header,
 23049  			HTTPStatusCode: res.StatusCode,
 23050  		},
 23051  	}
 23052  	target := &ret
 23053  	if err := gensupport.DecodeResponse(target, res); err != nil {
 23054  		return nil, err
 23055  	}
 23056  	return ret, nil
 23057  }
 23058  
 23059  type ProjectsLocationsAgentsEnvironmentsExperimentsStartCall struct {
 23060  	s                                               *Service
 23061  	name                                            string
 23062  	googleclouddialogflowcxv3startexperimentrequest *GoogleCloudDialogflowCxV3StartExperimentRequest
 23063  	urlParams_                                      gensupport.URLParams
 23064  	ctx_                                            context.Context
 23065  	header_                                         http.Header
 23066  }
 23067  
 23068  // Start: Starts the specified Experiment. This rpc only changes the state of
 23069  // experiment from PENDING to RUNNING.
 23070  //
 23071  //   - name: Resource name of the experiment to start. Format:
 23072  //     `projects//locations//agents//environments//experiments/`.
 23073  func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Start(name string, googleclouddialogflowcxv3startexperimentrequest *GoogleCloudDialogflowCxV3StartExperimentRequest) *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall {
 23074  	c := &ProjectsLocationsAgentsEnvironmentsExperimentsStartCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 23075  	c.name = name
 23076  	c.googleclouddialogflowcxv3startexperimentrequest = googleclouddialogflowcxv3startexperimentrequest
 23077  	return c
 23078  }
 23079  
 23080  // Fields allows partial responses to be retrieved. See
 23081  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 23082  // details.
 23083  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall {
 23084  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 23085  	return c
 23086  }
 23087  
 23088  // Context sets the context to be used in this call's Do method.
 23089  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall {
 23090  	c.ctx_ = ctx
 23091  	return c
 23092  }
 23093  
 23094  // Header returns a http.Header that can be modified by the caller to add
 23095  // headers to the request.
 23096  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall) Header() http.Header {
 23097  	if c.header_ == nil {
 23098  		c.header_ = make(http.Header)
 23099  	}
 23100  	return c.header_
 23101  }
 23102  
 23103  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall) doRequest(alt string) (*http.Response, error) {
 23104  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 23105  	var body io.Reader = nil
 23106  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3startexperimentrequest)
 23107  	if err != nil {
 23108  		return nil, err
 23109  	}
 23110  	c.urlParams_.Set("alt", alt)
 23111  	c.urlParams_.Set("prettyPrint", "false")
 23112  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:start")
 23113  	urls += "?" + c.urlParams_.Encode()
 23114  	req, err := http.NewRequest("POST", urls, body)
 23115  	if err != nil {
 23116  		return nil, err
 23117  	}
 23118  	req.Header = reqHeaders
 23119  	googleapi.Expand(req.URL, map[string]string{
 23120  		"name": c.name,
 23121  	})
 23122  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 23123  }
 23124  
 23125  // Do executes the "dialogflow.projects.locations.agents.environments.experiments.start" call.
 23126  // Any non-2xx status code is an error. Response headers are in either
 23127  // *GoogleCloudDialogflowCxV3Experiment.ServerResponse.Header or (if a response
 23128  // was returned at all) in error.(*googleapi.Error).Header. Use
 23129  // googleapi.IsNotModified to check whether the returned error was because
 23130  // http.StatusNotModified was returned.
 23131  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStartCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Experiment, error) {
 23132  	gensupport.SetOptions(c.urlParams_, opts...)
 23133  	res, err := c.doRequest("json")
 23134  	if res != nil && res.StatusCode == http.StatusNotModified {
 23135  		if res.Body != nil {
 23136  			res.Body.Close()
 23137  		}
 23138  		return nil, gensupport.WrapError(&googleapi.Error{
 23139  			Code:   res.StatusCode,
 23140  			Header: res.Header,
 23141  		})
 23142  	}
 23143  	if err != nil {
 23144  		return nil, err
 23145  	}
 23146  	defer googleapi.CloseBody(res)
 23147  	if err := googleapi.CheckResponse(res); err != nil {
 23148  		return nil, gensupport.WrapError(err)
 23149  	}
 23150  	ret := &GoogleCloudDialogflowCxV3Experiment{
 23151  		ServerResponse: googleapi.ServerResponse{
 23152  			Header:         res.Header,
 23153  			HTTPStatusCode: res.StatusCode,
 23154  		},
 23155  	}
 23156  	target := &ret
 23157  	if err := gensupport.DecodeResponse(target, res); err != nil {
 23158  		return nil, err
 23159  	}
 23160  	return ret, nil
 23161  }
 23162  
 23163  type ProjectsLocationsAgentsEnvironmentsExperimentsStopCall struct {
 23164  	s                                              *Service
 23165  	name                                           string
 23166  	googleclouddialogflowcxv3stopexperimentrequest *GoogleCloudDialogflowCxV3StopExperimentRequest
 23167  	urlParams_                                     gensupport.URLParams
 23168  	ctx_                                           context.Context
 23169  	header_                                        http.Header
 23170  }
 23171  
 23172  // Stop: Stops the specified Experiment. This rpc only changes the state of
 23173  // experiment from RUNNING to DONE.
 23174  //
 23175  //   - name: Resource name of the experiment to stop. Format:
 23176  //     `projects//locations//agents//environments//experiments/`.
 23177  func (r *ProjectsLocationsAgentsEnvironmentsExperimentsService) Stop(name string, googleclouddialogflowcxv3stopexperimentrequest *GoogleCloudDialogflowCxV3StopExperimentRequest) *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall {
 23178  	c := &ProjectsLocationsAgentsEnvironmentsExperimentsStopCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 23179  	c.name = name
 23180  	c.googleclouddialogflowcxv3stopexperimentrequest = googleclouddialogflowcxv3stopexperimentrequest
 23181  	return c
 23182  }
 23183  
 23184  // Fields allows partial responses to be retrieved. See
 23185  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 23186  // details.
 23187  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall {
 23188  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 23189  	return c
 23190  }
 23191  
 23192  // Context sets the context to be used in this call's Do method.
 23193  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall {
 23194  	c.ctx_ = ctx
 23195  	return c
 23196  }
 23197  
 23198  // Header returns a http.Header that can be modified by the caller to add
 23199  // headers to the request.
 23200  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall) Header() http.Header {
 23201  	if c.header_ == nil {
 23202  		c.header_ = make(http.Header)
 23203  	}
 23204  	return c.header_
 23205  }
 23206  
 23207  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall) doRequest(alt string) (*http.Response, error) {
 23208  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 23209  	var body io.Reader = nil
 23210  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3stopexperimentrequest)
 23211  	if err != nil {
 23212  		return nil, err
 23213  	}
 23214  	c.urlParams_.Set("alt", alt)
 23215  	c.urlParams_.Set("prettyPrint", "false")
 23216  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:stop")
 23217  	urls += "?" + c.urlParams_.Encode()
 23218  	req, err := http.NewRequest("POST", urls, body)
 23219  	if err != nil {
 23220  		return nil, err
 23221  	}
 23222  	req.Header = reqHeaders
 23223  	googleapi.Expand(req.URL, map[string]string{
 23224  		"name": c.name,
 23225  	})
 23226  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 23227  }
 23228  
 23229  // Do executes the "dialogflow.projects.locations.agents.environments.experiments.stop" call.
 23230  // Any non-2xx status code is an error. Response headers are in either
 23231  // *GoogleCloudDialogflowCxV3Experiment.ServerResponse.Header or (if a response
 23232  // was returned at all) in error.(*googleapi.Error).Header. Use
 23233  // googleapi.IsNotModified to check whether the returned error was because
 23234  // http.StatusNotModified was returned.
 23235  func (c *ProjectsLocationsAgentsEnvironmentsExperimentsStopCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Experiment, error) {
 23236  	gensupport.SetOptions(c.urlParams_, opts...)
 23237  	res, err := c.doRequest("json")
 23238  	if res != nil && res.StatusCode == http.StatusNotModified {
 23239  		if res.Body != nil {
 23240  			res.Body.Close()
 23241  		}
 23242  		return nil, gensupport.WrapError(&googleapi.Error{
 23243  			Code:   res.StatusCode,
 23244  			Header: res.Header,
 23245  		})
 23246  	}
 23247  	if err != nil {
 23248  		return nil, err
 23249  	}
 23250  	defer googleapi.CloseBody(res)
 23251  	if err := googleapi.CheckResponse(res); err != nil {
 23252  		return nil, gensupport.WrapError(err)
 23253  	}
 23254  	ret := &GoogleCloudDialogflowCxV3Experiment{
 23255  		ServerResponse: googleapi.ServerResponse{
 23256  			Header:         res.Header,
 23257  			HTTPStatusCode: res.StatusCode,
 23258  		},
 23259  	}
 23260  	target := &ret
 23261  	if err := gensupport.DecodeResponse(target, res); err != nil {
 23262  		return nil, err
 23263  	}
 23264  	return ret, nil
 23265  }
 23266  
 23267  type ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall struct {
 23268  	s                                            *Service
 23269  	sessionid                                    string
 23270  	googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest
 23271  	urlParams_                                   gensupport.URLParams
 23272  	ctx_                                         context.Context
 23273  	header_                                      http.Header
 23274  }
 23275  
 23276  // DetectIntent: Processes a natural language query and returns structured,
 23277  // actionable data as a result. This method is not idempotent, because it may
 23278  // cause session entity types to be updated, which in turn might affect results
 23279  // of future queries. Note: Always use agent versions for production traffic.
 23280  // See Versions and environments
 23281  // (https://cloud.google.com/dialogflow/cx/docs/concept/version).
 23282  //
 23283  //   - session: The name of the session this query is sent to. Format:
 23284  //     `projects//locations//agents//sessions/` or
 23285  //     `projects//locations//agents//environments//sessions/`. If `Environment
 23286  //     ID` is not specified, we assume default 'draft' environment. It's up to
 23287  //     the API caller to choose an appropriate `Session ID`. It can be a random
 23288  //     number or some type of session identifiers (preferably hashed). The length
 23289  //     of the `Session ID` must not exceed 36 characters. For more information,
 23290  //     see the sessions guide
 23291  //     (https://cloud.google.com/dialogflow/cx/docs/concept/session). Note:
 23292  //     Always use agent versions for production traffic. See Versions and
 23293  //     environments
 23294  //     (https://cloud.google.com/dialogflow/cx/docs/concept/version).
 23295  func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall {
 23296  	c := &ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 23297  	c.sessionid = sessionid
 23298  	c.googleclouddialogflowcxv3detectintentrequest = googleclouddialogflowcxv3detectintentrequest
 23299  	return c
 23300  }
 23301  
 23302  // Fields allows partial responses to be retrieved. See
 23303  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 23304  // details.
 23305  func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall {
 23306  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 23307  	return c
 23308  }
 23309  
 23310  // Context sets the context to be used in this call's Do method.
 23311  func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall {
 23312  	c.ctx_ = ctx
 23313  	return c
 23314  }
 23315  
 23316  // Header returns a http.Header that can be modified by the caller to add
 23317  // headers to the request.
 23318  func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Header() http.Header {
 23319  	if c.header_ == nil {
 23320  		c.header_ = make(http.Header)
 23321  	}
 23322  	return c.header_
 23323  }
 23324  
 23325  func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) {
 23326  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 23327  	var body io.Reader = nil
 23328  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3detectintentrequest)
 23329  	if err != nil {
 23330  		return nil, err
 23331  	}
 23332  	c.urlParams_.Set("alt", alt)
 23333  	c.urlParams_.Set("prettyPrint", "false")
 23334  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:detectIntent")
 23335  	urls += "?" + c.urlParams_.Encode()
 23336  	req, err := http.NewRequest("POST", urls, body)
 23337  	if err != nil {
 23338  		return nil, err
 23339  	}
 23340  	req.Header = reqHeaders
 23341  	googleapi.Expand(req.URL, map[string]string{
 23342  		"session": c.sessionid,
 23343  	})
 23344  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 23345  }
 23346  
 23347  // Do executes the "dialogflow.projects.locations.agents.environments.sessions.detectIntent" call.
 23348  // Any non-2xx status code is an error. Response headers are in either
 23349  // *GoogleCloudDialogflowCxV3DetectIntentResponse.ServerResponse.Header or (if
 23350  // a response was returned at all) in error.(*googleapi.Error).Header. Use
 23351  // googleapi.IsNotModified to check whether the returned error was because
 23352  // http.StatusNotModified was returned.
 23353  func (c *ProjectsLocationsAgentsEnvironmentsSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3DetectIntentResponse, error) {
 23354  	gensupport.SetOptions(c.urlParams_, opts...)
 23355  	res, err := c.doRequest("json")
 23356  	if res != nil && res.StatusCode == http.StatusNotModified {
 23357  		if res.Body != nil {
 23358  			res.Body.Close()
 23359  		}
 23360  		return nil, gensupport.WrapError(&googleapi.Error{
 23361  			Code:   res.StatusCode,
 23362  			Header: res.Header,
 23363  		})
 23364  	}
 23365  	if err != nil {
 23366  		return nil, err
 23367  	}
 23368  	defer googleapi.CloseBody(res)
 23369  	if err := googleapi.CheckResponse(res); err != nil {
 23370  		return nil, gensupport.WrapError(err)
 23371  	}
 23372  	ret := &GoogleCloudDialogflowCxV3DetectIntentResponse{
 23373  		ServerResponse: googleapi.ServerResponse{
 23374  			Header:         res.Header,
 23375  			HTTPStatusCode: res.StatusCode,
 23376  		},
 23377  	}
 23378  	target := &ret
 23379  	if err := gensupport.DecodeResponse(target, res); err != nil {
 23380  		return nil, err
 23381  	}
 23382  	return ret, nil
 23383  }
 23384  
 23385  type ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall struct {
 23386  	s                                             *Service
 23387  	sessionid                                     string
 23388  	googleclouddialogflowcxv3fulfillintentrequest *GoogleCloudDialogflowCxV3FulfillIntentRequest
 23389  	urlParams_                                    gensupport.URLParams
 23390  	ctx_                                          context.Context
 23391  	header_                                       http.Header
 23392  }
 23393  
 23394  // FulfillIntent: Fulfills a matched intent returned by MatchIntent. Must be
 23395  // called after MatchIntent, with input from MatchIntentResponse. Otherwise,
 23396  // the behavior is undefined.
 23397  //
 23398  //   - session: The name of the session this query is sent to. Format:
 23399  //     `projects//locations//agents//sessions/` or
 23400  //     `projects//locations//agents//environments//sessions/`. If `Environment
 23401  //     ID` is not specified, we assume default 'draft' environment. It's up to
 23402  //     the API caller to choose an appropriate `Session ID`. It can be a random
 23403  //     number or some type of session identifiers (preferably hashed). The length
 23404  //     of the `Session ID` must not exceed 36 characters. For more information,
 23405  //     see the sessions guide
 23406  //     (https://cloud.google.com/dialogflow/cx/docs/concept/session).
 23407  func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3fulfillintentrequest *GoogleCloudDialogflowCxV3FulfillIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall {
 23408  	c := &ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 23409  	c.sessionid = sessionid
 23410  	c.googleclouddialogflowcxv3fulfillintentrequest = googleclouddialogflowcxv3fulfillintentrequest
 23411  	return c
 23412  }
 23413  
 23414  // Fields allows partial responses to be retrieved. See
 23415  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 23416  // details.
 23417  func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall {
 23418  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 23419  	return c
 23420  }
 23421  
 23422  // Context sets the context to be used in this call's Do method.
 23423  func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall {
 23424  	c.ctx_ = ctx
 23425  	return c
 23426  }
 23427  
 23428  // Header returns a http.Header that can be modified by the caller to add
 23429  // headers to the request.
 23430  func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Header() http.Header {
 23431  	if c.header_ == nil {
 23432  		c.header_ = make(http.Header)
 23433  	}
 23434  	return c.header_
 23435  }
 23436  
 23437  func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) doRequest(alt string) (*http.Response, error) {
 23438  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 23439  	var body io.Reader = nil
 23440  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3fulfillintentrequest)
 23441  	if err != nil {
 23442  		return nil, err
 23443  	}
 23444  	c.urlParams_.Set("alt", alt)
 23445  	c.urlParams_.Set("prettyPrint", "false")
 23446  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:fulfillIntent")
 23447  	urls += "?" + c.urlParams_.Encode()
 23448  	req, err := http.NewRequest("POST", urls, body)
 23449  	if err != nil {
 23450  		return nil, err
 23451  	}
 23452  	req.Header = reqHeaders
 23453  	googleapi.Expand(req.URL, map[string]string{
 23454  		"session": c.sessionid,
 23455  	})
 23456  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 23457  }
 23458  
 23459  // Do executes the "dialogflow.projects.locations.agents.environments.sessions.fulfillIntent" call.
 23460  // Any non-2xx status code is an error. Response headers are in either
 23461  // *GoogleCloudDialogflowCxV3FulfillIntentResponse.ServerResponse.Header or (if
 23462  // a response was returned at all) in error.(*googleapi.Error).Header. Use
 23463  // googleapi.IsNotModified to check whether the returned error was because
 23464  // http.StatusNotModified was returned.
 23465  func (c *ProjectsLocationsAgentsEnvironmentsSessionsFulfillIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3FulfillIntentResponse, error) {
 23466  	gensupport.SetOptions(c.urlParams_, opts...)
 23467  	res, err := c.doRequest("json")
 23468  	if res != nil && res.StatusCode == http.StatusNotModified {
 23469  		if res.Body != nil {
 23470  			res.Body.Close()
 23471  		}
 23472  		return nil, gensupport.WrapError(&googleapi.Error{
 23473  			Code:   res.StatusCode,
 23474  			Header: res.Header,
 23475  		})
 23476  	}
 23477  	if err != nil {
 23478  		return nil, err
 23479  	}
 23480  	defer googleapi.CloseBody(res)
 23481  	if err := googleapi.CheckResponse(res); err != nil {
 23482  		return nil, gensupport.WrapError(err)
 23483  	}
 23484  	ret := &GoogleCloudDialogflowCxV3FulfillIntentResponse{
 23485  		ServerResponse: googleapi.ServerResponse{
 23486  			Header:         res.Header,
 23487  			HTTPStatusCode: res.StatusCode,
 23488  		},
 23489  	}
 23490  	target := &ret
 23491  	if err := gensupport.DecodeResponse(target, res); err != nil {
 23492  		return nil, err
 23493  	}
 23494  	return ret, nil
 23495  }
 23496  
 23497  type ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall struct {
 23498  	s                                           *Service
 23499  	sessionid                                   string
 23500  	googleclouddialogflowcxv3matchintentrequest *GoogleCloudDialogflowCxV3MatchIntentRequest
 23501  	urlParams_                                  gensupport.URLParams
 23502  	ctx_                                        context.Context
 23503  	header_                                     http.Header
 23504  }
 23505  
 23506  // MatchIntent: Returns preliminary intent match results, doesn't change the
 23507  // session status.
 23508  //
 23509  //   - session: The name of the session this query is sent to. Format:
 23510  //     `projects//locations//agents//sessions/` or
 23511  //     `projects//locations//agents//environments//sessions/`. If `Environment
 23512  //     ID` is not specified, we assume default 'draft' environment. It's up to
 23513  //     the API caller to choose an appropriate `Session ID`. It can be a random
 23514  //     number or some type of session identifiers (preferably hashed). The length
 23515  //     of the `Session ID` must not exceed 36 characters. For more information,
 23516  //     see the sessions guide
 23517  //     (https://cloud.google.com/dialogflow/cx/docs/concept/session).
 23518  func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3matchintentrequest *GoogleCloudDialogflowCxV3MatchIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall {
 23519  	c := &ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 23520  	c.sessionid = sessionid
 23521  	c.googleclouddialogflowcxv3matchintentrequest = googleclouddialogflowcxv3matchintentrequest
 23522  	return c
 23523  }
 23524  
 23525  // Fields allows partial responses to be retrieved. See
 23526  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 23527  // details.
 23528  func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall {
 23529  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 23530  	return c
 23531  }
 23532  
 23533  // Context sets the context to be used in this call's Do method.
 23534  func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall {
 23535  	c.ctx_ = ctx
 23536  	return c
 23537  }
 23538  
 23539  // Header returns a http.Header that can be modified by the caller to add
 23540  // headers to the request.
 23541  func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Header() http.Header {
 23542  	if c.header_ == nil {
 23543  		c.header_ = make(http.Header)
 23544  	}
 23545  	return c.header_
 23546  }
 23547  
 23548  func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) doRequest(alt string) (*http.Response, error) {
 23549  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 23550  	var body io.Reader = nil
 23551  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3matchintentrequest)
 23552  	if err != nil {
 23553  		return nil, err
 23554  	}
 23555  	c.urlParams_.Set("alt", alt)
 23556  	c.urlParams_.Set("prettyPrint", "false")
 23557  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:matchIntent")
 23558  	urls += "?" + c.urlParams_.Encode()
 23559  	req, err := http.NewRequest("POST", urls, body)
 23560  	if err != nil {
 23561  		return nil, err
 23562  	}
 23563  	req.Header = reqHeaders
 23564  	googleapi.Expand(req.URL, map[string]string{
 23565  		"session": c.sessionid,
 23566  	})
 23567  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 23568  }
 23569  
 23570  // Do executes the "dialogflow.projects.locations.agents.environments.sessions.matchIntent" call.
 23571  // Any non-2xx status code is an error. Response headers are in either
 23572  // *GoogleCloudDialogflowCxV3MatchIntentResponse.ServerResponse.Header or (if a
 23573  // response was returned at all) in error.(*googleapi.Error).Header. Use
 23574  // googleapi.IsNotModified to check whether the returned error was because
 23575  // http.StatusNotModified was returned.
 23576  func (c *ProjectsLocationsAgentsEnvironmentsSessionsMatchIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3MatchIntentResponse, error) {
 23577  	gensupport.SetOptions(c.urlParams_, opts...)
 23578  	res, err := c.doRequest("json")
 23579  	if res != nil && res.StatusCode == http.StatusNotModified {
 23580  		if res.Body != nil {
 23581  			res.Body.Close()
 23582  		}
 23583  		return nil, gensupport.WrapError(&googleapi.Error{
 23584  			Code:   res.StatusCode,
 23585  			Header: res.Header,
 23586  		})
 23587  	}
 23588  	if err != nil {
 23589  		return nil, err
 23590  	}
 23591  	defer googleapi.CloseBody(res)
 23592  	if err := googleapi.CheckResponse(res); err != nil {
 23593  		return nil, gensupport.WrapError(err)
 23594  	}
 23595  	ret := &GoogleCloudDialogflowCxV3MatchIntentResponse{
 23596  		ServerResponse: googleapi.ServerResponse{
 23597  			Header:         res.Header,
 23598  			HTTPStatusCode: res.StatusCode,
 23599  		},
 23600  	}
 23601  	target := &ret
 23602  	if err := gensupport.DecodeResponse(target, res); err != nil {
 23603  		return nil, err
 23604  	}
 23605  	return ret, nil
 23606  }
 23607  
 23608  type ProjectsLocationsAgentsEnvironmentsSessionsServerStreamingDetectIntentCall struct {
 23609  	s                                            *Service
 23610  	sessionid                                    string
 23611  	googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest
 23612  	urlParams_                                   gensupport.URLParams
 23613  	ctx_                                         context.Context
 23614  	header_                                      http.Header
 23615  }
 23616  
 23617  // ServerStreamingDetectIntent: Processes a natural language query and returns
 23618  // structured, actionable data as a result through server-side streaming.
 23619  // Server-side streaming allows Dialogflow to send partial responses
 23620  // (https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response)
 23621  // earlier in a single request.
 23622  //
 23623  //   - session: The name of the session this query is sent to. Format:
 23624  //     `projects//locations//agents//sessions/` or
 23625  //     `projects//locations//agents//environments//sessions/`. If `Environment
 23626  //     ID` is not specified, we assume default 'draft' environment. It's up to
 23627  //     the API caller to choose an appropriate `Session ID`. It can be a random
 23628  //     number or some type of session identifiers (preferably hashed). The length
 23629  //     of the `Session ID` must not exceed 36 characters. For more information,
 23630  //     see the sessions guide
 23631  //     (https://cloud.google.com/dialogflow/cx/docs/concept/session). Note:
 23632  //     Always use agent versions for production traffic. See Versions and
 23633  //     environments
 23634  //     (https://cloud.google.com/dialogflow/cx/docs/concept/version).
 23635  func (r *ProjectsLocationsAgentsEnvironmentsSessionsService) ServerStreamingDetectIntent(sessionid string, googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest) *ProjectsLocationsAgentsEnvironmentsSessionsServerStreamingDetectIntentCall {
 23636  	c := &ProjectsLocationsAgentsEnvironmentsSessionsServerStreamingDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 23637  	c.sessionid = sessionid
 23638  	c.googleclouddialogflowcxv3detectintentrequest = googleclouddialogflowcxv3detectintentrequest
 23639  	return c
 23640  }
 23641  
 23642  // Fields allows partial responses to be retrieved. See
 23643  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 23644  // details.
 23645  func (c *ProjectsLocationsAgentsEnvironmentsSessionsServerStreamingDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsServerStreamingDetectIntentCall {
 23646  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 23647  	return c
 23648  }
 23649  
 23650  // Context sets the context to be used in this call's Do method.
 23651  func (c *ProjectsLocationsAgentsEnvironmentsSessionsServerStreamingDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsServerStreamingDetectIntentCall {
 23652  	c.ctx_ = ctx
 23653  	return c
 23654  }
 23655  
 23656  // Header returns a http.Header that can be modified by the caller to add
 23657  // headers to the request.
 23658  func (c *ProjectsLocationsAgentsEnvironmentsSessionsServerStreamingDetectIntentCall) Header() http.Header {
 23659  	if c.header_ == nil {
 23660  		c.header_ = make(http.Header)
 23661  	}
 23662  	return c.header_
 23663  }
 23664  
 23665  func (c *ProjectsLocationsAgentsEnvironmentsSessionsServerStreamingDetectIntentCall) doRequest(alt string) (*http.Response, error) {
 23666  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 23667  	var body io.Reader = nil
 23668  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3detectintentrequest)
 23669  	if err != nil {
 23670  		return nil, err
 23671  	}
 23672  	c.urlParams_.Set("alt", alt)
 23673  	c.urlParams_.Set("prettyPrint", "false")
 23674  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:serverStreamingDetectIntent")
 23675  	urls += "?" + c.urlParams_.Encode()
 23676  	req, err := http.NewRequest("POST", urls, body)
 23677  	if err != nil {
 23678  		return nil, err
 23679  	}
 23680  	req.Header = reqHeaders
 23681  	googleapi.Expand(req.URL, map[string]string{
 23682  		"session": c.sessionid,
 23683  	})
 23684  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 23685  }
 23686  
 23687  // Do executes the "dialogflow.projects.locations.agents.environments.sessions.serverStreamingDetectIntent" call.
 23688  // Any non-2xx status code is an error. Response headers are in either
 23689  // *GoogleCloudDialogflowCxV3DetectIntentResponse.ServerResponse.Header or (if
 23690  // a response was returned at all) in error.(*googleapi.Error).Header. Use
 23691  // googleapi.IsNotModified to check whether the returned error was because
 23692  // http.StatusNotModified was returned.
 23693  func (c *ProjectsLocationsAgentsEnvironmentsSessionsServerStreamingDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3DetectIntentResponse, error) {
 23694  	gensupport.SetOptions(c.urlParams_, opts...)
 23695  	res, err := c.doRequest("json")
 23696  	if res != nil && res.StatusCode == http.StatusNotModified {
 23697  		if res.Body != nil {
 23698  			res.Body.Close()
 23699  		}
 23700  		return nil, gensupport.WrapError(&googleapi.Error{
 23701  			Code:   res.StatusCode,
 23702  			Header: res.Header,
 23703  		})
 23704  	}
 23705  	if err != nil {
 23706  		return nil, err
 23707  	}
 23708  	defer googleapi.CloseBody(res)
 23709  	if err := googleapi.CheckResponse(res); err != nil {
 23710  		return nil, gensupport.WrapError(err)
 23711  	}
 23712  	ret := &GoogleCloudDialogflowCxV3DetectIntentResponse{
 23713  		ServerResponse: googleapi.ServerResponse{
 23714  			Header:         res.Header,
 23715  			HTTPStatusCode: res.StatusCode,
 23716  		},
 23717  	}
 23718  	target := &ret
 23719  	if err := gensupport.DecodeResponse(target, res); err != nil {
 23720  		return nil, err
 23721  	}
 23722  	return ret, nil
 23723  }
 23724  
 23725  type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall struct {
 23726  	s                                          *Service
 23727  	parent                                     string
 23728  	googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType
 23729  	urlParams_                                 gensupport.URLParams
 23730  	ctx_                                       context.Context
 23731  	header_                                    http.Header
 23732  }
 23733  
 23734  // Create: Creates a session entity type.
 23735  //
 23736  //   - parent: The session to create a session entity type for. Format:
 23737  //     `projects//locations//agents//sessions/` or
 23738  //     `projects//locations//agents//environments//sessions/`. If `Environment
 23739  //     ID` is not specified, we assume default 'draft' environment.
 23740  func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall {
 23741  	c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 23742  	c.parent = parent
 23743  	c.googleclouddialogflowcxv3sessionentitytype = googleclouddialogflowcxv3sessionentitytype
 23744  	return c
 23745  }
 23746  
 23747  // Fields allows partial responses to be retrieved. See
 23748  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 23749  // details.
 23750  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall {
 23751  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 23752  	return c
 23753  }
 23754  
 23755  // Context sets the context to be used in this call's Do method.
 23756  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall {
 23757  	c.ctx_ = ctx
 23758  	return c
 23759  }
 23760  
 23761  // Header returns a http.Header that can be modified by the caller to add
 23762  // headers to the request.
 23763  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Header() http.Header {
 23764  	if c.header_ == nil {
 23765  		c.header_ = make(http.Header)
 23766  	}
 23767  	return c.header_
 23768  }
 23769  
 23770  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) {
 23771  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 23772  	var body io.Reader = nil
 23773  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3sessionentitytype)
 23774  	if err != nil {
 23775  		return nil, err
 23776  	}
 23777  	c.urlParams_.Set("alt", alt)
 23778  	c.urlParams_.Set("prettyPrint", "false")
 23779  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes")
 23780  	urls += "?" + c.urlParams_.Encode()
 23781  	req, err := http.NewRequest("POST", urls, body)
 23782  	if err != nil {
 23783  		return nil, err
 23784  	}
 23785  	req.Header = reqHeaders
 23786  	googleapi.Expand(req.URL, map[string]string{
 23787  		"parent": c.parent,
 23788  	})
 23789  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 23790  }
 23791  
 23792  // Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.create" call.
 23793  // Any non-2xx status code is an error. Response headers are in either
 23794  // *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or (if a
 23795  // response was returned at all) in error.(*googleapi.Error).Header. Use
 23796  // googleapi.IsNotModified to check whether the returned error was because
 23797  // http.StatusNotModified was returned.
 23798  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) {
 23799  	gensupport.SetOptions(c.urlParams_, opts...)
 23800  	res, err := c.doRequest("json")
 23801  	if res != nil && res.StatusCode == http.StatusNotModified {
 23802  		if res.Body != nil {
 23803  			res.Body.Close()
 23804  		}
 23805  		return nil, gensupport.WrapError(&googleapi.Error{
 23806  			Code:   res.StatusCode,
 23807  			Header: res.Header,
 23808  		})
 23809  	}
 23810  	if err != nil {
 23811  		return nil, err
 23812  	}
 23813  	defer googleapi.CloseBody(res)
 23814  	if err := googleapi.CheckResponse(res); err != nil {
 23815  		return nil, gensupport.WrapError(err)
 23816  	}
 23817  	ret := &GoogleCloudDialogflowCxV3SessionEntityType{
 23818  		ServerResponse: googleapi.ServerResponse{
 23819  			Header:         res.Header,
 23820  			HTTPStatusCode: res.StatusCode,
 23821  		},
 23822  	}
 23823  	target := &ret
 23824  	if err := gensupport.DecodeResponse(target, res); err != nil {
 23825  		return nil, err
 23826  	}
 23827  	return ret, nil
 23828  }
 23829  
 23830  type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall struct {
 23831  	s          *Service
 23832  	name       string
 23833  	urlParams_ gensupport.URLParams
 23834  	ctx_       context.Context
 23835  	header_    http.Header
 23836  }
 23837  
 23838  // Delete: Deletes the specified session entity type.
 23839  //
 23840  //   - name: The name of the session entity type to delete. Format:
 23841  //     `projects//locations//agents//sessions//entityTypes/` or
 23842  //     `projects//locations//agents//environments//sessions//entityTypes/`. If
 23843  //     `Environment ID` is not specified, we assume default 'draft' environment.
 23844  func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall {
 23845  	c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 23846  	c.name = name
 23847  	return c
 23848  }
 23849  
 23850  // Fields allows partial responses to be retrieved. See
 23851  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 23852  // details.
 23853  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall {
 23854  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 23855  	return c
 23856  }
 23857  
 23858  // Context sets the context to be used in this call's Do method.
 23859  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall {
 23860  	c.ctx_ = ctx
 23861  	return c
 23862  }
 23863  
 23864  // Header returns a http.Header that can be modified by the caller to add
 23865  // headers to the request.
 23866  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Header() http.Header {
 23867  	if c.header_ == nil {
 23868  		c.header_ = make(http.Header)
 23869  	}
 23870  	return c.header_
 23871  }
 23872  
 23873  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) {
 23874  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 23875  	var body io.Reader = nil
 23876  	c.urlParams_.Set("alt", alt)
 23877  	c.urlParams_.Set("prettyPrint", "false")
 23878  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 23879  	urls += "?" + c.urlParams_.Encode()
 23880  	req, err := http.NewRequest("DELETE", urls, body)
 23881  	if err != nil {
 23882  		return nil, err
 23883  	}
 23884  	req.Header = reqHeaders
 23885  	googleapi.Expand(req.URL, map[string]string{
 23886  		"name": c.name,
 23887  	})
 23888  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 23889  }
 23890  
 23891  // Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.delete" call.
 23892  // Any non-2xx status code is an error. Response headers are in either
 23893  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 23894  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 23895  // check whether the returned error was because http.StatusNotModified was
 23896  // returned.
 23897  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 23898  	gensupport.SetOptions(c.urlParams_, opts...)
 23899  	res, err := c.doRequest("json")
 23900  	if res != nil && res.StatusCode == http.StatusNotModified {
 23901  		if res.Body != nil {
 23902  			res.Body.Close()
 23903  		}
 23904  		return nil, gensupport.WrapError(&googleapi.Error{
 23905  			Code:   res.StatusCode,
 23906  			Header: res.Header,
 23907  		})
 23908  	}
 23909  	if err != nil {
 23910  		return nil, err
 23911  	}
 23912  	defer googleapi.CloseBody(res)
 23913  	if err := googleapi.CheckResponse(res); err != nil {
 23914  		return nil, gensupport.WrapError(err)
 23915  	}
 23916  	ret := &GoogleProtobufEmpty{
 23917  		ServerResponse: googleapi.ServerResponse{
 23918  			Header:         res.Header,
 23919  			HTTPStatusCode: res.StatusCode,
 23920  		},
 23921  	}
 23922  	target := &ret
 23923  	if err := gensupport.DecodeResponse(target, res); err != nil {
 23924  		return nil, err
 23925  	}
 23926  	return ret, nil
 23927  }
 23928  
 23929  type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall struct {
 23930  	s            *Service
 23931  	name         string
 23932  	urlParams_   gensupport.URLParams
 23933  	ifNoneMatch_ string
 23934  	ctx_         context.Context
 23935  	header_      http.Header
 23936  }
 23937  
 23938  // Get: Retrieves the specified session entity type.
 23939  //
 23940  //   - name: The name of the session entity type. Format:
 23941  //     `projects//locations//agents//sessions//entityTypes/` or
 23942  //     `projects//locations//agents//environments//sessions//entityTypes/`. If
 23943  //     `Environment ID` is not specified, we assume default 'draft' environment.
 23944  func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall {
 23945  	c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 23946  	c.name = name
 23947  	return c
 23948  }
 23949  
 23950  // Fields allows partial responses to be retrieved. See
 23951  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 23952  // details.
 23953  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall {
 23954  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 23955  	return c
 23956  }
 23957  
 23958  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 23959  // object's ETag matches the given value. This is useful for getting updates
 23960  // only after the object has changed since the last request.
 23961  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall {
 23962  	c.ifNoneMatch_ = entityTag
 23963  	return c
 23964  }
 23965  
 23966  // Context sets the context to be used in this call's Do method.
 23967  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall {
 23968  	c.ctx_ = ctx
 23969  	return c
 23970  }
 23971  
 23972  // Header returns a http.Header that can be modified by the caller to add
 23973  // headers to the request.
 23974  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Header() http.Header {
 23975  	if c.header_ == nil {
 23976  		c.header_ = make(http.Header)
 23977  	}
 23978  	return c.header_
 23979  }
 23980  
 23981  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) {
 23982  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 23983  	if c.ifNoneMatch_ != "" {
 23984  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 23985  	}
 23986  	var body io.Reader = nil
 23987  	c.urlParams_.Set("alt", alt)
 23988  	c.urlParams_.Set("prettyPrint", "false")
 23989  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 23990  	urls += "?" + c.urlParams_.Encode()
 23991  	req, err := http.NewRequest("GET", urls, body)
 23992  	if err != nil {
 23993  		return nil, err
 23994  	}
 23995  	req.Header = reqHeaders
 23996  	googleapi.Expand(req.URL, map[string]string{
 23997  		"name": c.name,
 23998  	})
 23999  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24000  }
 24001  
 24002  // Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.get" call.
 24003  // Any non-2xx status code is an error. Response headers are in either
 24004  // *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or (if a
 24005  // response was returned at all) in error.(*googleapi.Error).Header. Use
 24006  // googleapi.IsNotModified to check whether the returned error was because
 24007  // http.StatusNotModified was returned.
 24008  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) {
 24009  	gensupport.SetOptions(c.urlParams_, opts...)
 24010  	res, err := c.doRequest("json")
 24011  	if res != nil && res.StatusCode == http.StatusNotModified {
 24012  		if res.Body != nil {
 24013  			res.Body.Close()
 24014  		}
 24015  		return nil, gensupport.WrapError(&googleapi.Error{
 24016  			Code:   res.StatusCode,
 24017  			Header: res.Header,
 24018  		})
 24019  	}
 24020  	if err != nil {
 24021  		return nil, err
 24022  	}
 24023  	defer googleapi.CloseBody(res)
 24024  	if err := googleapi.CheckResponse(res); err != nil {
 24025  		return nil, gensupport.WrapError(err)
 24026  	}
 24027  	ret := &GoogleCloudDialogflowCxV3SessionEntityType{
 24028  		ServerResponse: googleapi.ServerResponse{
 24029  			Header:         res.Header,
 24030  			HTTPStatusCode: res.StatusCode,
 24031  		},
 24032  	}
 24033  	target := &ret
 24034  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24035  		return nil, err
 24036  	}
 24037  	return ret, nil
 24038  }
 24039  
 24040  type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall struct {
 24041  	s            *Service
 24042  	parent       string
 24043  	urlParams_   gensupport.URLParams
 24044  	ifNoneMatch_ string
 24045  	ctx_         context.Context
 24046  	header_      http.Header
 24047  }
 24048  
 24049  // List: Returns the list of all session entity types in the specified session.
 24050  //
 24051  //   - parent: The session to list all session entity types from. Format:
 24052  //     `projects//locations//agents//sessions/` or
 24053  //     `projects//locations//agents//environments//sessions/`. If `Environment
 24054  //     ID` is not specified, we assume default 'draft' environment.
 24055  func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall {
 24056  	c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 24057  	c.parent = parent
 24058  	return c
 24059  }
 24060  
 24061  // PageSize sets the optional parameter "pageSize": The maximum number of items
 24062  // to return in a single page. By default 100 and at most 1000.
 24063  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall {
 24064  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 24065  	return c
 24066  }
 24067  
 24068  // PageToken sets the optional parameter "pageToken": The next_page_token value
 24069  // returned from a previous list request.
 24070  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall {
 24071  	c.urlParams_.Set("pageToken", pageToken)
 24072  	return c
 24073  }
 24074  
 24075  // Fields allows partial responses to be retrieved. See
 24076  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 24077  // details.
 24078  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall {
 24079  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 24080  	return c
 24081  }
 24082  
 24083  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 24084  // object's ETag matches the given value. This is useful for getting updates
 24085  // only after the object has changed since the last request.
 24086  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall {
 24087  	c.ifNoneMatch_ = entityTag
 24088  	return c
 24089  }
 24090  
 24091  // Context sets the context to be used in this call's Do method.
 24092  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall {
 24093  	c.ctx_ = ctx
 24094  	return c
 24095  }
 24096  
 24097  // Header returns a http.Header that can be modified by the caller to add
 24098  // headers to the request.
 24099  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Header() http.Header {
 24100  	if c.header_ == nil {
 24101  		c.header_ = make(http.Header)
 24102  	}
 24103  	return c.header_
 24104  }
 24105  
 24106  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) {
 24107  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 24108  	if c.ifNoneMatch_ != "" {
 24109  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 24110  	}
 24111  	var body io.Reader = nil
 24112  	c.urlParams_.Set("alt", alt)
 24113  	c.urlParams_.Set("prettyPrint", "false")
 24114  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes")
 24115  	urls += "?" + c.urlParams_.Encode()
 24116  	req, err := http.NewRequest("GET", urls, body)
 24117  	if err != nil {
 24118  		return nil, err
 24119  	}
 24120  	req.Header = reqHeaders
 24121  	googleapi.Expand(req.URL, map[string]string{
 24122  		"parent": c.parent,
 24123  	})
 24124  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24125  }
 24126  
 24127  // Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.list" call.
 24128  // Any non-2xx status code is an error. Response headers are in either
 24129  // *GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse.ServerResponse.Heade
 24130  // r or (if a response was returned at all) in error.(*googleapi.Error).Header.
 24131  // Use googleapi.IsNotModified to check whether the returned error was because
 24132  // http.StatusNotModified was returned.
 24133  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse, error) {
 24134  	gensupport.SetOptions(c.urlParams_, opts...)
 24135  	res, err := c.doRequest("json")
 24136  	if res != nil && res.StatusCode == http.StatusNotModified {
 24137  		if res.Body != nil {
 24138  			res.Body.Close()
 24139  		}
 24140  		return nil, gensupport.WrapError(&googleapi.Error{
 24141  			Code:   res.StatusCode,
 24142  			Header: res.Header,
 24143  		})
 24144  	}
 24145  	if err != nil {
 24146  		return nil, err
 24147  	}
 24148  	defer googleapi.CloseBody(res)
 24149  	if err := googleapi.CheckResponse(res); err != nil {
 24150  		return nil, gensupport.WrapError(err)
 24151  	}
 24152  	ret := &GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse{
 24153  		ServerResponse: googleapi.ServerResponse{
 24154  			Header:         res.Header,
 24155  			HTTPStatusCode: res.StatusCode,
 24156  		},
 24157  	}
 24158  	target := &ret
 24159  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24160  		return nil, err
 24161  	}
 24162  	return ret, nil
 24163  }
 24164  
 24165  // Pages invokes f for each page of results.
 24166  // A non-nil error returned from f will halt the iteration.
 24167  // The provided context supersedes any context provided to the Context method.
 24168  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse) error) error {
 24169  	c.ctx_ = ctx
 24170  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 24171  	for {
 24172  		x, err := c.Do()
 24173  		if err != nil {
 24174  			return err
 24175  		}
 24176  		if err := f(x); err != nil {
 24177  			return err
 24178  		}
 24179  		if x.NextPageToken == "" {
 24180  			return nil
 24181  		}
 24182  		c.PageToken(x.NextPageToken)
 24183  	}
 24184  }
 24185  
 24186  type ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall struct {
 24187  	s                                          *Service
 24188  	nameid                                     string
 24189  	googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType
 24190  	urlParams_                                 gensupport.URLParams
 24191  	ctx_                                       context.Context
 24192  	header_                                    http.Header
 24193  }
 24194  
 24195  // Patch: Updates the specified session entity type.
 24196  //
 24197  //   - name: The unique identifier of the session entity type. Format:
 24198  //     `projects//locations//agents//sessions//entityTypes/` or
 24199  //     `projects//locations//agents//environments//sessions//entityTypes/`. If
 24200  //     `Environment ID` is not specified, we assume default 'draft' environment.
 24201  func (r *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall {
 24202  	c := &ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 24203  	c.nameid = nameid
 24204  	c.googleclouddialogflowcxv3sessionentitytype = googleclouddialogflowcxv3sessionentitytype
 24205  	return c
 24206  }
 24207  
 24208  // UpdateMask sets the optional parameter "updateMask": The mask to control
 24209  // which fields get updated.
 24210  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall {
 24211  	c.urlParams_.Set("updateMask", updateMask)
 24212  	return c
 24213  }
 24214  
 24215  // Fields allows partial responses to be retrieved. See
 24216  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 24217  // details.
 24218  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall {
 24219  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 24220  	return c
 24221  }
 24222  
 24223  // Context sets the context to be used in this call's Do method.
 24224  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall {
 24225  	c.ctx_ = ctx
 24226  	return c
 24227  }
 24228  
 24229  // Header returns a http.Header that can be modified by the caller to add
 24230  // headers to the request.
 24231  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Header() http.Header {
 24232  	if c.header_ == nil {
 24233  		c.header_ = make(http.Header)
 24234  	}
 24235  	return c.header_
 24236  }
 24237  
 24238  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) {
 24239  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 24240  	var body io.Reader = nil
 24241  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3sessionentitytype)
 24242  	if err != nil {
 24243  		return nil, err
 24244  	}
 24245  	c.urlParams_.Set("alt", alt)
 24246  	c.urlParams_.Set("prettyPrint", "false")
 24247  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 24248  	urls += "?" + c.urlParams_.Encode()
 24249  	req, err := http.NewRequest("PATCH", urls, body)
 24250  	if err != nil {
 24251  		return nil, err
 24252  	}
 24253  	req.Header = reqHeaders
 24254  	googleapi.Expand(req.URL, map[string]string{
 24255  		"name": c.nameid,
 24256  	})
 24257  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24258  }
 24259  
 24260  // Do executes the "dialogflow.projects.locations.agents.environments.sessions.entityTypes.patch" call.
 24261  // Any non-2xx status code is an error. Response headers are in either
 24262  // *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or (if a
 24263  // response was returned at all) in error.(*googleapi.Error).Header. Use
 24264  // googleapi.IsNotModified to check whether the returned error was because
 24265  // http.StatusNotModified was returned.
 24266  func (c *ProjectsLocationsAgentsEnvironmentsSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) {
 24267  	gensupport.SetOptions(c.urlParams_, opts...)
 24268  	res, err := c.doRequest("json")
 24269  	if res != nil && res.StatusCode == http.StatusNotModified {
 24270  		if res.Body != nil {
 24271  			res.Body.Close()
 24272  		}
 24273  		return nil, gensupport.WrapError(&googleapi.Error{
 24274  			Code:   res.StatusCode,
 24275  			Header: res.Header,
 24276  		})
 24277  	}
 24278  	if err != nil {
 24279  		return nil, err
 24280  	}
 24281  	defer googleapi.CloseBody(res)
 24282  	if err := googleapi.CheckResponse(res); err != nil {
 24283  		return nil, gensupport.WrapError(err)
 24284  	}
 24285  	ret := &GoogleCloudDialogflowCxV3SessionEntityType{
 24286  		ServerResponse: googleapi.ServerResponse{
 24287  			Header:         res.Header,
 24288  			HTTPStatusCode: res.StatusCode,
 24289  		},
 24290  	}
 24291  	target := &ret
 24292  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24293  		return nil, err
 24294  	}
 24295  	return ret, nil
 24296  }
 24297  
 24298  type ProjectsLocationsAgentsFlowsCreateCall struct {
 24299  	s                             *Service
 24300  	parent                        string
 24301  	googleclouddialogflowcxv3flow *GoogleCloudDialogflowCxV3Flow
 24302  	urlParams_                    gensupport.URLParams
 24303  	ctx_                          context.Context
 24304  	header_                       http.Header
 24305  }
 24306  
 24307  // Create: Creates a flow in the specified agent. Note: You should always train
 24308  // a flow prior to sending it queries. See the training documentation
 24309  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 24310  //
 24311  //   - parent: The agent to create a flow for. Format:
 24312  //     `projects//locations//agents/`.
 24313  func (r *ProjectsLocationsAgentsFlowsService) Create(parent string, googleclouddialogflowcxv3flow *GoogleCloudDialogflowCxV3Flow) *ProjectsLocationsAgentsFlowsCreateCall {
 24314  	c := &ProjectsLocationsAgentsFlowsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 24315  	c.parent = parent
 24316  	c.googleclouddialogflowcxv3flow = googleclouddialogflowcxv3flow
 24317  	return c
 24318  }
 24319  
 24320  // LanguageCode sets the optional parameter "languageCode": The language of the
 24321  // following fields in `flow`: *
 24322  // `Flow.event_handlers.trigger_fulfillment.messages` *
 24323  // `Flow.event_handlers.trigger_fulfillment.conditional_cases` *
 24324  // `Flow.transition_routes.trigger_fulfillment.messages` *
 24325  // `Flow.transition_routes.trigger_fulfillment.conditional_cases` If not
 24326  // specified, the agent's default language is used. Many languages
 24327  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 24328  // supported. Note: languages must be enabled in the agent before they can be
 24329  // used.
 24330  func (c *ProjectsLocationsAgentsFlowsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsCreateCall {
 24331  	c.urlParams_.Set("languageCode", languageCode)
 24332  	return c
 24333  }
 24334  
 24335  // Fields allows partial responses to be retrieved. See
 24336  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 24337  // details.
 24338  func (c *ProjectsLocationsAgentsFlowsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsCreateCall {
 24339  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 24340  	return c
 24341  }
 24342  
 24343  // Context sets the context to be used in this call's Do method.
 24344  func (c *ProjectsLocationsAgentsFlowsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsCreateCall {
 24345  	c.ctx_ = ctx
 24346  	return c
 24347  }
 24348  
 24349  // Header returns a http.Header that can be modified by the caller to add
 24350  // headers to the request.
 24351  func (c *ProjectsLocationsAgentsFlowsCreateCall) Header() http.Header {
 24352  	if c.header_ == nil {
 24353  		c.header_ = make(http.Header)
 24354  	}
 24355  	return c.header_
 24356  }
 24357  
 24358  func (c *ProjectsLocationsAgentsFlowsCreateCall) doRequest(alt string) (*http.Response, error) {
 24359  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 24360  	var body io.Reader = nil
 24361  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3flow)
 24362  	if err != nil {
 24363  		return nil, err
 24364  	}
 24365  	c.urlParams_.Set("alt", alt)
 24366  	c.urlParams_.Set("prettyPrint", "false")
 24367  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/flows")
 24368  	urls += "?" + c.urlParams_.Encode()
 24369  	req, err := http.NewRequest("POST", urls, body)
 24370  	if err != nil {
 24371  		return nil, err
 24372  	}
 24373  	req.Header = reqHeaders
 24374  	googleapi.Expand(req.URL, map[string]string{
 24375  		"parent": c.parent,
 24376  	})
 24377  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24378  }
 24379  
 24380  // Do executes the "dialogflow.projects.locations.agents.flows.create" call.
 24381  // Any non-2xx status code is an error. Response headers are in either
 24382  // *GoogleCloudDialogflowCxV3Flow.ServerResponse.Header or (if a response was
 24383  // returned at all) in error.(*googleapi.Error).Header. Use
 24384  // googleapi.IsNotModified to check whether the returned error was because
 24385  // http.StatusNotModified was returned.
 24386  func (c *ProjectsLocationsAgentsFlowsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Flow, error) {
 24387  	gensupport.SetOptions(c.urlParams_, opts...)
 24388  	res, err := c.doRequest("json")
 24389  	if res != nil && res.StatusCode == http.StatusNotModified {
 24390  		if res.Body != nil {
 24391  			res.Body.Close()
 24392  		}
 24393  		return nil, gensupport.WrapError(&googleapi.Error{
 24394  			Code:   res.StatusCode,
 24395  			Header: res.Header,
 24396  		})
 24397  	}
 24398  	if err != nil {
 24399  		return nil, err
 24400  	}
 24401  	defer googleapi.CloseBody(res)
 24402  	if err := googleapi.CheckResponse(res); err != nil {
 24403  		return nil, gensupport.WrapError(err)
 24404  	}
 24405  	ret := &GoogleCloudDialogflowCxV3Flow{
 24406  		ServerResponse: googleapi.ServerResponse{
 24407  			Header:         res.Header,
 24408  			HTTPStatusCode: res.StatusCode,
 24409  		},
 24410  	}
 24411  	target := &ret
 24412  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24413  		return nil, err
 24414  	}
 24415  	return ret, nil
 24416  }
 24417  
 24418  type ProjectsLocationsAgentsFlowsDeleteCall struct {
 24419  	s          *Service
 24420  	name       string
 24421  	urlParams_ gensupport.URLParams
 24422  	ctx_       context.Context
 24423  	header_    http.Header
 24424  }
 24425  
 24426  // Delete: Deletes a specified flow.
 24427  //
 24428  //   - name: The name of the flow to delete. Format:
 24429  //     `projects//locations//agents//flows/`.
 24430  func (r *ProjectsLocationsAgentsFlowsService) Delete(name string) *ProjectsLocationsAgentsFlowsDeleteCall {
 24431  	c := &ProjectsLocationsAgentsFlowsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 24432  	c.name = name
 24433  	return c
 24434  }
 24435  
 24436  // Force sets the optional parameter "force": This field has no effect for
 24437  // flows with no incoming transitions. For flows with incoming transitions: *
 24438  // If `force` is set to false, an error will be returned with message
 24439  // indicating the incoming transitions. * If `force` is set to true, Dialogflow
 24440  // will remove the flow, as well as any transitions to the flow (i.e. Target
 24441  // flow in event handlers or Target flow in transition routes that point to
 24442  // this flow will be cleared).
 24443  func (c *ProjectsLocationsAgentsFlowsDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsDeleteCall {
 24444  	c.urlParams_.Set("force", fmt.Sprint(force))
 24445  	return c
 24446  }
 24447  
 24448  // Fields allows partial responses to be retrieved. See
 24449  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 24450  // details.
 24451  func (c *ProjectsLocationsAgentsFlowsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsDeleteCall {
 24452  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 24453  	return c
 24454  }
 24455  
 24456  // Context sets the context to be used in this call's Do method.
 24457  func (c *ProjectsLocationsAgentsFlowsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsDeleteCall {
 24458  	c.ctx_ = ctx
 24459  	return c
 24460  }
 24461  
 24462  // Header returns a http.Header that can be modified by the caller to add
 24463  // headers to the request.
 24464  func (c *ProjectsLocationsAgentsFlowsDeleteCall) Header() http.Header {
 24465  	if c.header_ == nil {
 24466  		c.header_ = make(http.Header)
 24467  	}
 24468  	return c.header_
 24469  }
 24470  
 24471  func (c *ProjectsLocationsAgentsFlowsDeleteCall) doRequest(alt string) (*http.Response, error) {
 24472  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 24473  	var body io.Reader = nil
 24474  	c.urlParams_.Set("alt", alt)
 24475  	c.urlParams_.Set("prettyPrint", "false")
 24476  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 24477  	urls += "?" + c.urlParams_.Encode()
 24478  	req, err := http.NewRequest("DELETE", urls, body)
 24479  	if err != nil {
 24480  		return nil, err
 24481  	}
 24482  	req.Header = reqHeaders
 24483  	googleapi.Expand(req.URL, map[string]string{
 24484  		"name": c.name,
 24485  	})
 24486  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24487  }
 24488  
 24489  // Do executes the "dialogflow.projects.locations.agents.flows.delete" call.
 24490  // Any non-2xx status code is an error. Response headers are in either
 24491  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 24492  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 24493  // check whether the returned error was because http.StatusNotModified was
 24494  // returned.
 24495  func (c *ProjectsLocationsAgentsFlowsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 24496  	gensupport.SetOptions(c.urlParams_, opts...)
 24497  	res, err := c.doRequest("json")
 24498  	if res != nil && res.StatusCode == http.StatusNotModified {
 24499  		if res.Body != nil {
 24500  			res.Body.Close()
 24501  		}
 24502  		return nil, gensupport.WrapError(&googleapi.Error{
 24503  			Code:   res.StatusCode,
 24504  			Header: res.Header,
 24505  		})
 24506  	}
 24507  	if err != nil {
 24508  		return nil, err
 24509  	}
 24510  	defer googleapi.CloseBody(res)
 24511  	if err := googleapi.CheckResponse(res); err != nil {
 24512  		return nil, gensupport.WrapError(err)
 24513  	}
 24514  	ret := &GoogleProtobufEmpty{
 24515  		ServerResponse: googleapi.ServerResponse{
 24516  			Header:         res.Header,
 24517  			HTTPStatusCode: res.StatusCode,
 24518  		},
 24519  	}
 24520  	target := &ret
 24521  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24522  		return nil, err
 24523  	}
 24524  	return ret, nil
 24525  }
 24526  
 24527  type ProjectsLocationsAgentsFlowsExportCall struct {
 24528  	s                                          *Service
 24529  	name                                       string
 24530  	googleclouddialogflowcxv3exportflowrequest *GoogleCloudDialogflowCxV3ExportFlowRequest
 24531  	urlParams_                                 gensupport.URLParams
 24532  	ctx_                                       context.Context
 24533  	header_                                    http.Header
 24534  }
 24535  
 24536  // Export: Exports the specified flow to a binary file. This method is a
 24537  // long-running operation
 24538  // (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
 24539  // The returned `Operation` type has the following method-specific fields: -
 24540  // `metadata`: An empty Struct message
 24541  // (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
 24542  // - `response`: ExportFlowResponse Note that resources (e.g. intents,
 24543  // entities, webhooks) that the flow references will also be exported.
 24544  //
 24545  //   - name: The name of the flow to export. Format:
 24546  //     `projects//locations//agents//flows/`.
 24547  func (r *ProjectsLocationsAgentsFlowsService) Export(name string, googleclouddialogflowcxv3exportflowrequest *GoogleCloudDialogflowCxV3ExportFlowRequest) *ProjectsLocationsAgentsFlowsExportCall {
 24548  	c := &ProjectsLocationsAgentsFlowsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 24549  	c.name = name
 24550  	c.googleclouddialogflowcxv3exportflowrequest = googleclouddialogflowcxv3exportflowrequest
 24551  	return c
 24552  }
 24553  
 24554  // Fields allows partial responses to be retrieved. See
 24555  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 24556  // details.
 24557  func (c *ProjectsLocationsAgentsFlowsExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsExportCall {
 24558  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 24559  	return c
 24560  }
 24561  
 24562  // Context sets the context to be used in this call's Do method.
 24563  func (c *ProjectsLocationsAgentsFlowsExportCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsExportCall {
 24564  	c.ctx_ = ctx
 24565  	return c
 24566  }
 24567  
 24568  // Header returns a http.Header that can be modified by the caller to add
 24569  // headers to the request.
 24570  func (c *ProjectsLocationsAgentsFlowsExportCall) Header() http.Header {
 24571  	if c.header_ == nil {
 24572  		c.header_ = make(http.Header)
 24573  	}
 24574  	return c.header_
 24575  }
 24576  
 24577  func (c *ProjectsLocationsAgentsFlowsExportCall) doRequest(alt string) (*http.Response, error) {
 24578  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 24579  	var body io.Reader = nil
 24580  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3exportflowrequest)
 24581  	if err != nil {
 24582  		return nil, err
 24583  	}
 24584  	c.urlParams_.Set("alt", alt)
 24585  	c.urlParams_.Set("prettyPrint", "false")
 24586  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:export")
 24587  	urls += "?" + c.urlParams_.Encode()
 24588  	req, err := http.NewRequest("POST", urls, body)
 24589  	if err != nil {
 24590  		return nil, err
 24591  	}
 24592  	req.Header = reqHeaders
 24593  	googleapi.Expand(req.URL, map[string]string{
 24594  		"name": c.name,
 24595  	})
 24596  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24597  }
 24598  
 24599  // Do executes the "dialogflow.projects.locations.agents.flows.export" call.
 24600  // Any non-2xx status code is an error. Response headers are in either
 24601  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 24602  // returned at all) in error.(*googleapi.Error).Header. Use
 24603  // googleapi.IsNotModified to check whether the returned error was because
 24604  // http.StatusNotModified was returned.
 24605  func (c *ProjectsLocationsAgentsFlowsExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 24606  	gensupport.SetOptions(c.urlParams_, opts...)
 24607  	res, err := c.doRequest("json")
 24608  	if res != nil && res.StatusCode == http.StatusNotModified {
 24609  		if res.Body != nil {
 24610  			res.Body.Close()
 24611  		}
 24612  		return nil, gensupport.WrapError(&googleapi.Error{
 24613  			Code:   res.StatusCode,
 24614  			Header: res.Header,
 24615  		})
 24616  	}
 24617  	if err != nil {
 24618  		return nil, err
 24619  	}
 24620  	defer googleapi.CloseBody(res)
 24621  	if err := googleapi.CheckResponse(res); err != nil {
 24622  		return nil, gensupport.WrapError(err)
 24623  	}
 24624  	ret := &GoogleLongrunningOperation{
 24625  		ServerResponse: googleapi.ServerResponse{
 24626  			Header:         res.Header,
 24627  			HTTPStatusCode: res.StatusCode,
 24628  		},
 24629  	}
 24630  	target := &ret
 24631  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24632  		return nil, err
 24633  	}
 24634  	return ret, nil
 24635  }
 24636  
 24637  type ProjectsLocationsAgentsFlowsGetCall struct {
 24638  	s            *Service
 24639  	name         string
 24640  	urlParams_   gensupport.URLParams
 24641  	ifNoneMatch_ string
 24642  	ctx_         context.Context
 24643  	header_      http.Header
 24644  }
 24645  
 24646  // Get: Retrieves the specified flow.
 24647  //
 24648  //   - name: The name of the flow to get. Format:
 24649  //     `projects//locations//agents//flows/`.
 24650  func (r *ProjectsLocationsAgentsFlowsService) Get(name string) *ProjectsLocationsAgentsFlowsGetCall {
 24651  	c := &ProjectsLocationsAgentsFlowsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 24652  	c.name = name
 24653  	return c
 24654  }
 24655  
 24656  // LanguageCode sets the optional parameter "languageCode": The language to
 24657  // retrieve the flow for. The following fields are language dependent: *
 24658  // `Flow.event_handlers.trigger_fulfillment.messages` *
 24659  // `Flow.event_handlers.trigger_fulfillment.conditional_cases` *
 24660  // `Flow.transition_routes.trigger_fulfillment.messages` *
 24661  // `Flow.transition_routes.trigger_fulfillment.conditional_cases` If not
 24662  // specified, the agent's default language is used. Many languages
 24663  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 24664  // supported. Note: languages must be enabled in the agent before they can be
 24665  // used.
 24666  func (c *ProjectsLocationsAgentsFlowsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsGetCall {
 24667  	c.urlParams_.Set("languageCode", languageCode)
 24668  	return c
 24669  }
 24670  
 24671  // Fields allows partial responses to be retrieved. See
 24672  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 24673  // details.
 24674  func (c *ProjectsLocationsAgentsFlowsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsGetCall {
 24675  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 24676  	return c
 24677  }
 24678  
 24679  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 24680  // object's ETag matches the given value. This is useful for getting updates
 24681  // only after the object has changed since the last request.
 24682  func (c *ProjectsLocationsAgentsFlowsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsGetCall {
 24683  	c.ifNoneMatch_ = entityTag
 24684  	return c
 24685  }
 24686  
 24687  // Context sets the context to be used in this call's Do method.
 24688  func (c *ProjectsLocationsAgentsFlowsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsGetCall {
 24689  	c.ctx_ = ctx
 24690  	return c
 24691  }
 24692  
 24693  // Header returns a http.Header that can be modified by the caller to add
 24694  // headers to the request.
 24695  func (c *ProjectsLocationsAgentsFlowsGetCall) Header() http.Header {
 24696  	if c.header_ == nil {
 24697  		c.header_ = make(http.Header)
 24698  	}
 24699  	return c.header_
 24700  }
 24701  
 24702  func (c *ProjectsLocationsAgentsFlowsGetCall) doRequest(alt string) (*http.Response, error) {
 24703  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 24704  	if c.ifNoneMatch_ != "" {
 24705  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 24706  	}
 24707  	var body io.Reader = nil
 24708  	c.urlParams_.Set("alt", alt)
 24709  	c.urlParams_.Set("prettyPrint", "false")
 24710  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 24711  	urls += "?" + c.urlParams_.Encode()
 24712  	req, err := http.NewRequest("GET", urls, body)
 24713  	if err != nil {
 24714  		return nil, err
 24715  	}
 24716  	req.Header = reqHeaders
 24717  	googleapi.Expand(req.URL, map[string]string{
 24718  		"name": c.name,
 24719  	})
 24720  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24721  }
 24722  
 24723  // Do executes the "dialogflow.projects.locations.agents.flows.get" call.
 24724  // Any non-2xx status code is an error. Response headers are in either
 24725  // *GoogleCloudDialogflowCxV3Flow.ServerResponse.Header or (if a response was
 24726  // returned at all) in error.(*googleapi.Error).Header. Use
 24727  // googleapi.IsNotModified to check whether the returned error was because
 24728  // http.StatusNotModified was returned.
 24729  func (c *ProjectsLocationsAgentsFlowsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Flow, error) {
 24730  	gensupport.SetOptions(c.urlParams_, opts...)
 24731  	res, err := c.doRequest("json")
 24732  	if res != nil && res.StatusCode == http.StatusNotModified {
 24733  		if res.Body != nil {
 24734  			res.Body.Close()
 24735  		}
 24736  		return nil, gensupport.WrapError(&googleapi.Error{
 24737  			Code:   res.StatusCode,
 24738  			Header: res.Header,
 24739  		})
 24740  	}
 24741  	if err != nil {
 24742  		return nil, err
 24743  	}
 24744  	defer googleapi.CloseBody(res)
 24745  	if err := googleapi.CheckResponse(res); err != nil {
 24746  		return nil, gensupport.WrapError(err)
 24747  	}
 24748  	ret := &GoogleCloudDialogflowCxV3Flow{
 24749  		ServerResponse: googleapi.ServerResponse{
 24750  			Header:         res.Header,
 24751  			HTTPStatusCode: res.StatusCode,
 24752  		},
 24753  	}
 24754  	target := &ret
 24755  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24756  		return nil, err
 24757  	}
 24758  	return ret, nil
 24759  }
 24760  
 24761  type ProjectsLocationsAgentsFlowsGetValidationResultCall struct {
 24762  	s            *Service
 24763  	name         string
 24764  	urlParams_   gensupport.URLParams
 24765  	ifNoneMatch_ string
 24766  	ctx_         context.Context
 24767  	header_      http.Header
 24768  }
 24769  
 24770  // GetValidationResult: Gets the latest flow validation result. Flow validation
 24771  // is performed when ValidateFlow is called.
 24772  //
 24773  //   - name: The flow name. Format:
 24774  //     `projects//locations//agents//flows//validationResult`.
 24775  func (r *ProjectsLocationsAgentsFlowsService) GetValidationResult(name string) *ProjectsLocationsAgentsFlowsGetValidationResultCall {
 24776  	c := &ProjectsLocationsAgentsFlowsGetValidationResultCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 24777  	c.name = name
 24778  	return c
 24779  }
 24780  
 24781  // LanguageCode sets the optional parameter "languageCode": If not specified,
 24782  // the agent's default language is used.
 24783  func (c *ProjectsLocationsAgentsFlowsGetValidationResultCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsGetValidationResultCall {
 24784  	c.urlParams_.Set("languageCode", languageCode)
 24785  	return c
 24786  }
 24787  
 24788  // Fields allows partial responses to be retrieved. See
 24789  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 24790  // details.
 24791  func (c *ProjectsLocationsAgentsFlowsGetValidationResultCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsGetValidationResultCall {
 24792  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 24793  	return c
 24794  }
 24795  
 24796  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 24797  // object's ETag matches the given value. This is useful for getting updates
 24798  // only after the object has changed since the last request.
 24799  func (c *ProjectsLocationsAgentsFlowsGetValidationResultCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsGetValidationResultCall {
 24800  	c.ifNoneMatch_ = entityTag
 24801  	return c
 24802  }
 24803  
 24804  // Context sets the context to be used in this call's Do method.
 24805  func (c *ProjectsLocationsAgentsFlowsGetValidationResultCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsGetValidationResultCall {
 24806  	c.ctx_ = ctx
 24807  	return c
 24808  }
 24809  
 24810  // Header returns a http.Header that can be modified by the caller to add
 24811  // headers to the request.
 24812  func (c *ProjectsLocationsAgentsFlowsGetValidationResultCall) Header() http.Header {
 24813  	if c.header_ == nil {
 24814  		c.header_ = make(http.Header)
 24815  	}
 24816  	return c.header_
 24817  }
 24818  
 24819  func (c *ProjectsLocationsAgentsFlowsGetValidationResultCall) doRequest(alt string) (*http.Response, error) {
 24820  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 24821  	if c.ifNoneMatch_ != "" {
 24822  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 24823  	}
 24824  	var body io.Reader = nil
 24825  	c.urlParams_.Set("alt", alt)
 24826  	c.urlParams_.Set("prettyPrint", "false")
 24827  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 24828  	urls += "?" + c.urlParams_.Encode()
 24829  	req, err := http.NewRequest("GET", urls, body)
 24830  	if err != nil {
 24831  		return nil, err
 24832  	}
 24833  	req.Header = reqHeaders
 24834  	googleapi.Expand(req.URL, map[string]string{
 24835  		"name": c.name,
 24836  	})
 24837  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24838  }
 24839  
 24840  // Do executes the "dialogflow.projects.locations.agents.flows.getValidationResult" call.
 24841  // Any non-2xx status code is an error. Response headers are in either
 24842  // *GoogleCloudDialogflowCxV3FlowValidationResult.ServerResponse.Header or (if
 24843  // a response was returned at all) in error.(*googleapi.Error).Header. Use
 24844  // googleapi.IsNotModified to check whether the returned error was because
 24845  // http.StatusNotModified was returned.
 24846  func (c *ProjectsLocationsAgentsFlowsGetValidationResultCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3FlowValidationResult, error) {
 24847  	gensupport.SetOptions(c.urlParams_, opts...)
 24848  	res, err := c.doRequest("json")
 24849  	if res != nil && res.StatusCode == http.StatusNotModified {
 24850  		if res.Body != nil {
 24851  			res.Body.Close()
 24852  		}
 24853  		return nil, gensupport.WrapError(&googleapi.Error{
 24854  			Code:   res.StatusCode,
 24855  			Header: res.Header,
 24856  		})
 24857  	}
 24858  	if err != nil {
 24859  		return nil, err
 24860  	}
 24861  	defer googleapi.CloseBody(res)
 24862  	if err := googleapi.CheckResponse(res); err != nil {
 24863  		return nil, gensupport.WrapError(err)
 24864  	}
 24865  	ret := &GoogleCloudDialogflowCxV3FlowValidationResult{
 24866  		ServerResponse: googleapi.ServerResponse{
 24867  			Header:         res.Header,
 24868  			HTTPStatusCode: res.StatusCode,
 24869  		},
 24870  	}
 24871  	target := &ret
 24872  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24873  		return nil, err
 24874  	}
 24875  	return ret, nil
 24876  }
 24877  
 24878  type ProjectsLocationsAgentsFlowsImportCall struct {
 24879  	s                                          *Service
 24880  	parent                                     string
 24881  	googleclouddialogflowcxv3importflowrequest *GoogleCloudDialogflowCxV3ImportFlowRequest
 24882  	urlParams_                                 gensupport.URLParams
 24883  	ctx_                                       context.Context
 24884  	header_                                    http.Header
 24885  }
 24886  
 24887  // Import: Imports the specified flow to the specified agent from a binary
 24888  // file. This method is a long-running operation
 24889  // (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
 24890  // The returned `Operation` type has the following method-specific fields: -
 24891  // `metadata`: An empty Struct message
 24892  // (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
 24893  // - `response`: ImportFlowResponse Note: You should always train a flow prior
 24894  // to sending it queries. See the training documentation
 24895  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 24896  //
 24897  //   - parent: The agent to import the flow into. Format:
 24898  //     `projects//locations//agents/`.
 24899  func (r *ProjectsLocationsAgentsFlowsService) Import(parent string, googleclouddialogflowcxv3importflowrequest *GoogleCloudDialogflowCxV3ImportFlowRequest) *ProjectsLocationsAgentsFlowsImportCall {
 24900  	c := &ProjectsLocationsAgentsFlowsImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 24901  	c.parent = parent
 24902  	c.googleclouddialogflowcxv3importflowrequest = googleclouddialogflowcxv3importflowrequest
 24903  	return c
 24904  }
 24905  
 24906  // Fields allows partial responses to be retrieved. See
 24907  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 24908  // details.
 24909  func (c *ProjectsLocationsAgentsFlowsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsImportCall {
 24910  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 24911  	return c
 24912  }
 24913  
 24914  // Context sets the context to be used in this call's Do method.
 24915  func (c *ProjectsLocationsAgentsFlowsImportCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsImportCall {
 24916  	c.ctx_ = ctx
 24917  	return c
 24918  }
 24919  
 24920  // Header returns a http.Header that can be modified by the caller to add
 24921  // headers to the request.
 24922  func (c *ProjectsLocationsAgentsFlowsImportCall) Header() http.Header {
 24923  	if c.header_ == nil {
 24924  		c.header_ = make(http.Header)
 24925  	}
 24926  	return c.header_
 24927  }
 24928  
 24929  func (c *ProjectsLocationsAgentsFlowsImportCall) doRequest(alt string) (*http.Response, error) {
 24930  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 24931  	var body io.Reader = nil
 24932  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3importflowrequest)
 24933  	if err != nil {
 24934  		return nil, err
 24935  	}
 24936  	c.urlParams_.Set("alt", alt)
 24937  	c.urlParams_.Set("prettyPrint", "false")
 24938  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/flows:import")
 24939  	urls += "?" + c.urlParams_.Encode()
 24940  	req, err := http.NewRequest("POST", urls, body)
 24941  	if err != nil {
 24942  		return nil, err
 24943  	}
 24944  	req.Header = reqHeaders
 24945  	googleapi.Expand(req.URL, map[string]string{
 24946  		"parent": c.parent,
 24947  	})
 24948  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 24949  }
 24950  
 24951  // Do executes the "dialogflow.projects.locations.agents.flows.import" call.
 24952  // Any non-2xx status code is an error. Response headers are in either
 24953  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 24954  // returned at all) in error.(*googleapi.Error).Header. Use
 24955  // googleapi.IsNotModified to check whether the returned error was because
 24956  // http.StatusNotModified was returned.
 24957  func (c *ProjectsLocationsAgentsFlowsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 24958  	gensupport.SetOptions(c.urlParams_, opts...)
 24959  	res, err := c.doRequest("json")
 24960  	if res != nil && res.StatusCode == http.StatusNotModified {
 24961  		if res.Body != nil {
 24962  			res.Body.Close()
 24963  		}
 24964  		return nil, gensupport.WrapError(&googleapi.Error{
 24965  			Code:   res.StatusCode,
 24966  			Header: res.Header,
 24967  		})
 24968  	}
 24969  	if err != nil {
 24970  		return nil, err
 24971  	}
 24972  	defer googleapi.CloseBody(res)
 24973  	if err := googleapi.CheckResponse(res); err != nil {
 24974  		return nil, gensupport.WrapError(err)
 24975  	}
 24976  	ret := &GoogleLongrunningOperation{
 24977  		ServerResponse: googleapi.ServerResponse{
 24978  			Header:         res.Header,
 24979  			HTTPStatusCode: res.StatusCode,
 24980  		},
 24981  	}
 24982  	target := &ret
 24983  	if err := gensupport.DecodeResponse(target, res); err != nil {
 24984  		return nil, err
 24985  	}
 24986  	return ret, nil
 24987  }
 24988  
 24989  type ProjectsLocationsAgentsFlowsListCall struct {
 24990  	s            *Service
 24991  	parent       string
 24992  	urlParams_   gensupport.URLParams
 24993  	ifNoneMatch_ string
 24994  	ctx_         context.Context
 24995  	header_      http.Header
 24996  }
 24997  
 24998  // List: Returns the list of all flows in the specified agent.
 24999  //
 25000  //   - parent: The agent containing the flows. Format:
 25001  //     `projects//locations//agents/`.
 25002  func (r *ProjectsLocationsAgentsFlowsService) List(parent string) *ProjectsLocationsAgentsFlowsListCall {
 25003  	c := &ProjectsLocationsAgentsFlowsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25004  	c.parent = parent
 25005  	return c
 25006  }
 25007  
 25008  // LanguageCode sets the optional parameter "languageCode": The language to
 25009  // list flows for. The following fields are language dependent: *
 25010  // `Flow.event_handlers.trigger_fulfillment.messages` *
 25011  // `Flow.event_handlers.trigger_fulfillment.conditional_cases` *
 25012  // `Flow.transition_routes.trigger_fulfillment.messages` *
 25013  // `Flow.transition_routes.trigger_fulfillment.conditional_cases` If not
 25014  // specified, the agent's default language is used. Many languages
 25015  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 25016  // supported. Note: languages must be enabled in the agent before they can be
 25017  // used.
 25018  func (c *ProjectsLocationsAgentsFlowsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsListCall {
 25019  	c.urlParams_.Set("languageCode", languageCode)
 25020  	return c
 25021  }
 25022  
 25023  // PageSize sets the optional parameter "pageSize": The maximum number of items
 25024  // to return in a single page. By default 100 and at most 1000.
 25025  func (c *ProjectsLocationsAgentsFlowsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsListCall {
 25026  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 25027  	return c
 25028  }
 25029  
 25030  // PageToken sets the optional parameter "pageToken": The next_page_token value
 25031  // returned from a previous list request.
 25032  func (c *ProjectsLocationsAgentsFlowsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsListCall {
 25033  	c.urlParams_.Set("pageToken", pageToken)
 25034  	return c
 25035  }
 25036  
 25037  // Fields allows partial responses to be retrieved. See
 25038  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 25039  // details.
 25040  func (c *ProjectsLocationsAgentsFlowsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsListCall {
 25041  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25042  	return c
 25043  }
 25044  
 25045  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 25046  // object's ETag matches the given value. This is useful for getting updates
 25047  // only after the object has changed since the last request.
 25048  func (c *ProjectsLocationsAgentsFlowsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsListCall {
 25049  	c.ifNoneMatch_ = entityTag
 25050  	return c
 25051  }
 25052  
 25053  // Context sets the context to be used in this call's Do method.
 25054  func (c *ProjectsLocationsAgentsFlowsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsListCall {
 25055  	c.ctx_ = ctx
 25056  	return c
 25057  }
 25058  
 25059  // Header returns a http.Header that can be modified by the caller to add
 25060  // headers to the request.
 25061  func (c *ProjectsLocationsAgentsFlowsListCall) Header() http.Header {
 25062  	if c.header_ == nil {
 25063  		c.header_ = make(http.Header)
 25064  	}
 25065  	return c.header_
 25066  }
 25067  
 25068  func (c *ProjectsLocationsAgentsFlowsListCall) doRequest(alt string) (*http.Response, error) {
 25069  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 25070  	if c.ifNoneMatch_ != "" {
 25071  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 25072  	}
 25073  	var body io.Reader = nil
 25074  	c.urlParams_.Set("alt", alt)
 25075  	c.urlParams_.Set("prettyPrint", "false")
 25076  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/flows")
 25077  	urls += "?" + c.urlParams_.Encode()
 25078  	req, err := http.NewRequest("GET", urls, body)
 25079  	if err != nil {
 25080  		return nil, err
 25081  	}
 25082  	req.Header = reqHeaders
 25083  	googleapi.Expand(req.URL, map[string]string{
 25084  		"parent": c.parent,
 25085  	})
 25086  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 25087  }
 25088  
 25089  // Do executes the "dialogflow.projects.locations.agents.flows.list" call.
 25090  // Any non-2xx status code is an error. Response headers are in either
 25091  // *GoogleCloudDialogflowCxV3ListFlowsResponse.ServerResponse.Header or (if a
 25092  // response was returned at all) in error.(*googleapi.Error).Header. Use
 25093  // googleapi.IsNotModified to check whether the returned error was because
 25094  // http.StatusNotModified was returned.
 25095  func (c *ProjectsLocationsAgentsFlowsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListFlowsResponse, error) {
 25096  	gensupport.SetOptions(c.urlParams_, opts...)
 25097  	res, err := c.doRequest("json")
 25098  	if res != nil && res.StatusCode == http.StatusNotModified {
 25099  		if res.Body != nil {
 25100  			res.Body.Close()
 25101  		}
 25102  		return nil, gensupport.WrapError(&googleapi.Error{
 25103  			Code:   res.StatusCode,
 25104  			Header: res.Header,
 25105  		})
 25106  	}
 25107  	if err != nil {
 25108  		return nil, err
 25109  	}
 25110  	defer googleapi.CloseBody(res)
 25111  	if err := googleapi.CheckResponse(res); err != nil {
 25112  		return nil, gensupport.WrapError(err)
 25113  	}
 25114  	ret := &GoogleCloudDialogflowCxV3ListFlowsResponse{
 25115  		ServerResponse: googleapi.ServerResponse{
 25116  			Header:         res.Header,
 25117  			HTTPStatusCode: res.StatusCode,
 25118  		},
 25119  	}
 25120  	target := &ret
 25121  	if err := gensupport.DecodeResponse(target, res); err != nil {
 25122  		return nil, err
 25123  	}
 25124  	return ret, nil
 25125  }
 25126  
 25127  // Pages invokes f for each page of results.
 25128  // A non-nil error returned from f will halt the iteration.
 25129  // The provided context supersedes any context provided to the Context method.
 25130  func (c *ProjectsLocationsAgentsFlowsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListFlowsResponse) error) error {
 25131  	c.ctx_ = ctx
 25132  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 25133  	for {
 25134  		x, err := c.Do()
 25135  		if err != nil {
 25136  			return err
 25137  		}
 25138  		if err := f(x); err != nil {
 25139  			return err
 25140  		}
 25141  		if x.NextPageToken == "" {
 25142  			return nil
 25143  		}
 25144  		c.PageToken(x.NextPageToken)
 25145  	}
 25146  }
 25147  
 25148  type ProjectsLocationsAgentsFlowsPatchCall struct {
 25149  	s                             *Service
 25150  	nameid                        string
 25151  	googleclouddialogflowcxv3flow *GoogleCloudDialogflowCxV3Flow
 25152  	urlParams_                    gensupport.URLParams
 25153  	ctx_                          context.Context
 25154  	header_                       http.Header
 25155  }
 25156  
 25157  // Patch: Updates the specified flow. Note: You should always train a flow
 25158  // prior to sending it queries. See the training documentation
 25159  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 25160  //
 25161  //   - name: The unique identifier of the flow. Format:
 25162  //     `projects//locations//agents//flows/`.
 25163  func (r *ProjectsLocationsAgentsFlowsService) Patch(nameid string, googleclouddialogflowcxv3flow *GoogleCloudDialogflowCxV3Flow) *ProjectsLocationsAgentsFlowsPatchCall {
 25164  	c := &ProjectsLocationsAgentsFlowsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25165  	c.nameid = nameid
 25166  	c.googleclouddialogflowcxv3flow = googleclouddialogflowcxv3flow
 25167  	return c
 25168  }
 25169  
 25170  // LanguageCode sets the optional parameter "languageCode": The language of the
 25171  // following fields in `flow`: *
 25172  // `Flow.event_handlers.trigger_fulfillment.messages` *
 25173  // `Flow.event_handlers.trigger_fulfillment.conditional_cases` *
 25174  // `Flow.transition_routes.trigger_fulfillment.messages` *
 25175  // `Flow.transition_routes.trigger_fulfillment.conditional_cases` If not
 25176  // specified, the agent's default language is used. Many languages
 25177  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 25178  // supported. Note: languages must be enabled in the agent before they can be
 25179  // used.
 25180  func (c *ProjectsLocationsAgentsFlowsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPatchCall {
 25181  	c.urlParams_.Set("languageCode", languageCode)
 25182  	return c
 25183  }
 25184  
 25185  // UpdateMask sets the optional parameter "updateMask": The mask to control
 25186  // which fields get updated. If the mask is not present, all fields will be
 25187  // updated.
 25188  func (c *ProjectsLocationsAgentsFlowsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsPatchCall {
 25189  	c.urlParams_.Set("updateMask", updateMask)
 25190  	return c
 25191  }
 25192  
 25193  // Fields allows partial responses to be retrieved. See
 25194  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 25195  // details.
 25196  func (c *ProjectsLocationsAgentsFlowsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPatchCall {
 25197  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25198  	return c
 25199  }
 25200  
 25201  // Context sets the context to be used in this call's Do method.
 25202  func (c *ProjectsLocationsAgentsFlowsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPatchCall {
 25203  	c.ctx_ = ctx
 25204  	return c
 25205  }
 25206  
 25207  // Header returns a http.Header that can be modified by the caller to add
 25208  // headers to the request.
 25209  func (c *ProjectsLocationsAgentsFlowsPatchCall) Header() http.Header {
 25210  	if c.header_ == nil {
 25211  		c.header_ = make(http.Header)
 25212  	}
 25213  	return c.header_
 25214  }
 25215  
 25216  func (c *ProjectsLocationsAgentsFlowsPatchCall) doRequest(alt string) (*http.Response, error) {
 25217  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 25218  	var body io.Reader = nil
 25219  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3flow)
 25220  	if err != nil {
 25221  		return nil, err
 25222  	}
 25223  	c.urlParams_.Set("alt", alt)
 25224  	c.urlParams_.Set("prettyPrint", "false")
 25225  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 25226  	urls += "?" + c.urlParams_.Encode()
 25227  	req, err := http.NewRequest("PATCH", urls, body)
 25228  	if err != nil {
 25229  		return nil, err
 25230  	}
 25231  	req.Header = reqHeaders
 25232  	googleapi.Expand(req.URL, map[string]string{
 25233  		"name": c.nameid,
 25234  	})
 25235  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 25236  }
 25237  
 25238  // Do executes the "dialogflow.projects.locations.agents.flows.patch" call.
 25239  // Any non-2xx status code is an error. Response headers are in either
 25240  // *GoogleCloudDialogflowCxV3Flow.ServerResponse.Header or (if a response was
 25241  // returned at all) in error.(*googleapi.Error).Header. Use
 25242  // googleapi.IsNotModified to check whether the returned error was because
 25243  // http.StatusNotModified was returned.
 25244  func (c *ProjectsLocationsAgentsFlowsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Flow, error) {
 25245  	gensupport.SetOptions(c.urlParams_, opts...)
 25246  	res, err := c.doRequest("json")
 25247  	if res != nil && res.StatusCode == http.StatusNotModified {
 25248  		if res.Body != nil {
 25249  			res.Body.Close()
 25250  		}
 25251  		return nil, gensupport.WrapError(&googleapi.Error{
 25252  			Code:   res.StatusCode,
 25253  			Header: res.Header,
 25254  		})
 25255  	}
 25256  	if err != nil {
 25257  		return nil, err
 25258  	}
 25259  	defer googleapi.CloseBody(res)
 25260  	if err := googleapi.CheckResponse(res); err != nil {
 25261  		return nil, gensupport.WrapError(err)
 25262  	}
 25263  	ret := &GoogleCloudDialogflowCxV3Flow{
 25264  		ServerResponse: googleapi.ServerResponse{
 25265  			Header:         res.Header,
 25266  			HTTPStatusCode: res.StatusCode,
 25267  		},
 25268  	}
 25269  	target := &ret
 25270  	if err := gensupport.DecodeResponse(target, res); err != nil {
 25271  		return nil, err
 25272  	}
 25273  	return ret, nil
 25274  }
 25275  
 25276  type ProjectsLocationsAgentsFlowsTrainCall struct {
 25277  	s                                         *Service
 25278  	name                                      string
 25279  	googleclouddialogflowcxv3trainflowrequest *GoogleCloudDialogflowCxV3TrainFlowRequest
 25280  	urlParams_                                gensupport.URLParams
 25281  	ctx_                                      context.Context
 25282  	header_                                   http.Header
 25283  }
 25284  
 25285  // Train: Trains the specified flow. Note that only the flow in 'draft'
 25286  // environment is trained. This method is a long-running operation
 25287  // (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
 25288  // The returned `Operation` type has the following method-specific fields: -
 25289  // `metadata`: An empty Struct message
 25290  // (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
 25291  // - `response`: An Empty message
 25292  // (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
 25293  // Note: You should always train a flow prior to sending it queries. See the
 25294  // training documentation
 25295  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 25296  //
 25297  // - name: The flow to train. Format: `projects//locations//agents//flows/`.
 25298  func (r *ProjectsLocationsAgentsFlowsService) Train(name string, googleclouddialogflowcxv3trainflowrequest *GoogleCloudDialogflowCxV3TrainFlowRequest) *ProjectsLocationsAgentsFlowsTrainCall {
 25299  	c := &ProjectsLocationsAgentsFlowsTrainCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25300  	c.name = name
 25301  	c.googleclouddialogflowcxv3trainflowrequest = googleclouddialogflowcxv3trainflowrequest
 25302  	return c
 25303  }
 25304  
 25305  // Fields allows partial responses to be retrieved. See
 25306  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 25307  // details.
 25308  func (c *ProjectsLocationsAgentsFlowsTrainCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTrainCall {
 25309  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25310  	return c
 25311  }
 25312  
 25313  // Context sets the context to be used in this call's Do method.
 25314  func (c *ProjectsLocationsAgentsFlowsTrainCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTrainCall {
 25315  	c.ctx_ = ctx
 25316  	return c
 25317  }
 25318  
 25319  // Header returns a http.Header that can be modified by the caller to add
 25320  // headers to the request.
 25321  func (c *ProjectsLocationsAgentsFlowsTrainCall) Header() http.Header {
 25322  	if c.header_ == nil {
 25323  		c.header_ = make(http.Header)
 25324  	}
 25325  	return c.header_
 25326  }
 25327  
 25328  func (c *ProjectsLocationsAgentsFlowsTrainCall) doRequest(alt string) (*http.Response, error) {
 25329  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 25330  	var body io.Reader = nil
 25331  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3trainflowrequest)
 25332  	if err != nil {
 25333  		return nil, err
 25334  	}
 25335  	c.urlParams_.Set("alt", alt)
 25336  	c.urlParams_.Set("prettyPrint", "false")
 25337  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:train")
 25338  	urls += "?" + c.urlParams_.Encode()
 25339  	req, err := http.NewRequest("POST", urls, body)
 25340  	if err != nil {
 25341  		return nil, err
 25342  	}
 25343  	req.Header = reqHeaders
 25344  	googleapi.Expand(req.URL, map[string]string{
 25345  		"name": c.name,
 25346  	})
 25347  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 25348  }
 25349  
 25350  // Do executes the "dialogflow.projects.locations.agents.flows.train" call.
 25351  // Any non-2xx status code is an error. Response headers are in either
 25352  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 25353  // returned at all) in error.(*googleapi.Error).Header. Use
 25354  // googleapi.IsNotModified to check whether the returned error was because
 25355  // http.StatusNotModified was returned.
 25356  func (c *ProjectsLocationsAgentsFlowsTrainCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 25357  	gensupport.SetOptions(c.urlParams_, opts...)
 25358  	res, err := c.doRequest("json")
 25359  	if res != nil && res.StatusCode == http.StatusNotModified {
 25360  		if res.Body != nil {
 25361  			res.Body.Close()
 25362  		}
 25363  		return nil, gensupport.WrapError(&googleapi.Error{
 25364  			Code:   res.StatusCode,
 25365  			Header: res.Header,
 25366  		})
 25367  	}
 25368  	if err != nil {
 25369  		return nil, err
 25370  	}
 25371  	defer googleapi.CloseBody(res)
 25372  	if err := googleapi.CheckResponse(res); err != nil {
 25373  		return nil, gensupport.WrapError(err)
 25374  	}
 25375  	ret := &GoogleLongrunningOperation{
 25376  		ServerResponse: googleapi.ServerResponse{
 25377  			Header:         res.Header,
 25378  			HTTPStatusCode: res.StatusCode,
 25379  		},
 25380  	}
 25381  	target := &ret
 25382  	if err := gensupport.DecodeResponse(target, res); err != nil {
 25383  		return nil, err
 25384  	}
 25385  	return ret, nil
 25386  }
 25387  
 25388  type ProjectsLocationsAgentsFlowsValidateCall struct {
 25389  	s                                            *Service
 25390  	name                                         string
 25391  	googleclouddialogflowcxv3validateflowrequest *GoogleCloudDialogflowCxV3ValidateFlowRequest
 25392  	urlParams_                                   gensupport.URLParams
 25393  	ctx_                                         context.Context
 25394  	header_                                      http.Header
 25395  }
 25396  
 25397  // Validate: Validates the specified flow and creates or updates validation
 25398  // results. Please call this API after the training is completed to get the
 25399  // complete validation results.
 25400  //
 25401  // - name: The flow to validate. Format: `projects//locations//agents//flows/`.
 25402  func (r *ProjectsLocationsAgentsFlowsService) Validate(name string, googleclouddialogflowcxv3validateflowrequest *GoogleCloudDialogflowCxV3ValidateFlowRequest) *ProjectsLocationsAgentsFlowsValidateCall {
 25403  	c := &ProjectsLocationsAgentsFlowsValidateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25404  	c.name = name
 25405  	c.googleclouddialogflowcxv3validateflowrequest = googleclouddialogflowcxv3validateflowrequest
 25406  	return c
 25407  }
 25408  
 25409  // Fields allows partial responses to be retrieved. See
 25410  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 25411  // details.
 25412  func (c *ProjectsLocationsAgentsFlowsValidateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsValidateCall {
 25413  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25414  	return c
 25415  }
 25416  
 25417  // Context sets the context to be used in this call's Do method.
 25418  func (c *ProjectsLocationsAgentsFlowsValidateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsValidateCall {
 25419  	c.ctx_ = ctx
 25420  	return c
 25421  }
 25422  
 25423  // Header returns a http.Header that can be modified by the caller to add
 25424  // headers to the request.
 25425  func (c *ProjectsLocationsAgentsFlowsValidateCall) Header() http.Header {
 25426  	if c.header_ == nil {
 25427  		c.header_ = make(http.Header)
 25428  	}
 25429  	return c.header_
 25430  }
 25431  
 25432  func (c *ProjectsLocationsAgentsFlowsValidateCall) doRequest(alt string) (*http.Response, error) {
 25433  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 25434  	var body io.Reader = nil
 25435  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3validateflowrequest)
 25436  	if err != nil {
 25437  		return nil, err
 25438  	}
 25439  	c.urlParams_.Set("alt", alt)
 25440  	c.urlParams_.Set("prettyPrint", "false")
 25441  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:validate")
 25442  	urls += "?" + c.urlParams_.Encode()
 25443  	req, err := http.NewRequest("POST", urls, body)
 25444  	if err != nil {
 25445  		return nil, err
 25446  	}
 25447  	req.Header = reqHeaders
 25448  	googleapi.Expand(req.URL, map[string]string{
 25449  		"name": c.name,
 25450  	})
 25451  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 25452  }
 25453  
 25454  // Do executes the "dialogflow.projects.locations.agents.flows.validate" call.
 25455  // Any non-2xx status code is an error. Response headers are in either
 25456  // *GoogleCloudDialogflowCxV3FlowValidationResult.ServerResponse.Header or (if
 25457  // a response was returned at all) in error.(*googleapi.Error).Header. Use
 25458  // googleapi.IsNotModified to check whether the returned error was because
 25459  // http.StatusNotModified was returned.
 25460  func (c *ProjectsLocationsAgentsFlowsValidateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3FlowValidationResult, error) {
 25461  	gensupport.SetOptions(c.urlParams_, opts...)
 25462  	res, err := c.doRequest("json")
 25463  	if res != nil && res.StatusCode == http.StatusNotModified {
 25464  		if res.Body != nil {
 25465  			res.Body.Close()
 25466  		}
 25467  		return nil, gensupport.WrapError(&googleapi.Error{
 25468  			Code:   res.StatusCode,
 25469  			Header: res.Header,
 25470  		})
 25471  	}
 25472  	if err != nil {
 25473  		return nil, err
 25474  	}
 25475  	defer googleapi.CloseBody(res)
 25476  	if err := googleapi.CheckResponse(res); err != nil {
 25477  		return nil, gensupport.WrapError(err)
 25478  	}
 25479  	ret := &GoogleCloudDialogflowCxV3FlowValidationResult{
 25480  		ServerResponse: googleapi.ServerResponse{
 25481  			Header:         res.Header,
 25482  			HTTPStatusCode: res.StatusCode,
 25483  		},
 25484  	}
 25485  	target := &ret
 25486  	if err := gensupport.DecodeResponse(target, res); err != nil {
 25487  		return nil, err
 25488  	}
 25489  	return ret, nil
 25490  }
 25491  
 25492  type ProjectsLocationsAgentsFlowsPagesCreateCall struct {
 25493  	s                             *Service
 25494  	parent                        string
 25495  	googleclouddialogflowcxv3page *GoogleCloudDialogflowCxV3Page
 25496  	urlParams_                    gensupport.URLParams
 25497  	ctx_                          context.Context
 25498  	header_                       http.Header
 25499  }
 25500  
 25501  // Create: Creates a page in the specified flow. Note: You should always train
 25502  // a flow prior to sending it queries. See the training documentation
 25503  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 25504  //
 25505  //   - parent: The flow to create a page for. Format:
 25506  //     `projects//locations//agents//flows/`.
 25507  func (r *ProjectsLocationsAgentsFlowsPagesService) Create(parent string, googleclouddialogflowcxv3page *GoogleCloudDialogflowCxV3Page) *ProjectsLocationsAgentsFlowsPagesCreateCall {
 25508  	c := &ProjectsLocationsAgentsFlowsPagesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25509  	c.parent = parent
 25510  	c.googleclouddialogflowcxv3page = googleclouddialogflowcxv3page
 25511  	return c
 25512  }
 25513  
 25514  // LanguageCode sets the optional parameter "languageCode": The language of the
 25515  // following fields in `page`: * `Page.entry_fulfillment.messages` *
 25516  // `Page.entry_fulfillment.conditional_cases` *
 25517  // `Page.event_handlers.trigger_fulfillment.messages` *
 25518  // `Page.event_handlers.trigger_fulfillment.conditional_cases` *
 25519  // `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` *
 25520  // `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_ca
 25521  // ses` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
 25522  // *
 25523  // `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases
 25524  // ` * `Page.transition_routes.trigger_fulfillment.messages` *
 25525  // `Page.transition_routes.trigger_fulfillment.conditional_cases` If not
 25526  // specified, the agent's default language is used. Many languages
 25527  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 25528  // supported. Note: languages must be enabled in the agent before they can be
 25529  // used.
 25530  func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesCreateCall {
 25531  	c.urlParams_.Set("languageCode", languageCode)
 25532  	return c
 25533  }
 25534  
 25535  // Fields allows partial responses to be retrieved. See
 25536  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 25537  // details.
 25538  func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesCreateCall {
 25539  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25540  	return c
 25541  }
 25542  
 25543  // Context sets the context to be used in this call's Do method.
 25544  func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesCreateCall {
 25545  	c.ctx_ = ctx
 25546  	return c
 25547  }
 25548  
 25549  // Header returns a http.Header that can be modified by the caller to add
 25550  // headers to the request.
 25551  func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Header() http.Header {
 25552  	if c.header_ == nil {
 25553  		c.header_ = make(http.Header)
 25554  	}
 25555  	return c.header_
 25556  }
 25557  
 25558  func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) doRequest(alt string) (*http.Response, error) {
 25559  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 25560  	var body io.Reader = nil
 25561  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3page)
 25562  	if err != nil {
 25563  		return nil, err
 25564  	}
 25565  	c.urlParams_.Set("alt", alt)
 25566  	c.urlParams_.Set("prettyPrint", "false")
 25567  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/pages")
 25568  	urls += "?" + c.urlParams_.Encode()
 25569  	req, err := http.NewRequest("POST", urls, body)
 25570  	if err != nil {
 25571  		return nil, err
 25572  	}
 25573  	req.Header = reqHeaders
 25574  	googleapi.Expand(req.URL, map[string]string{
 25575  		"parent": c.parent,
 25576  	})
 25577  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 25578  }
 25579  
 25580  // Do executes the "dialogflow.projects.locations.agents.flows.pages.create" call.
 25581  // Any non-2xx status code is an error. Response headers are in either
 25582  // *GoogleCloudDialogflowCxV3Page.ServerResponse.Header or (if a response was
 25583  // returned at all) in error.(*googleapi.Error).Header. Use
 25584  // googleapi.IsNotModified to check whether the returned error was because
 25585  // http.StatusNotModified was returned.
 25586  func (c *ProjectsLocationsAgentsFlowsPagesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Page, error) {
 25587  	gensupport.SetOptions(c.urlParams_, opts...)
 25588  	res, err := c.doRequest("json")
 25589  	if res != nil && res.StatusCode == http.StatusNotModified {
 25590  		if res.Body != nil {
 25591  			res.Body.Close()
 25592  		}
 25593  		return nil, gensupport.WrapError(&googleapi.Error{
 25594  			Code:   res.StatusCode,
 25595  			Header: res.Header,
 25596  		})
 25597  	}
 25598  	if err != nil {
 25599  		return nil, err
 25600  	}
 25601  	defer googleapi.CloseBody(res)
 25602  	if err := googleapi.CheckResponse(res); err != nil {
 25603  		return nil, gensupport.WrapError(err)
 25604  	}
 25605  	ret := &GoogleCloudDialogflowCxV3Page{
 25606  		ServerResponse: googleapi.ServerResponse{
 25607  			Header:         res.Header,
 25608  			HTTPStatusCode: res.StatusCode,
 25609  		},
 25610  	}
 25611  	target := &ret
 25612  	if err := gensupport.DecodeResponse(target, res); err != nil {
 25613  		return nil, err
 25614  	}
 25615  	return ret, nil
 25616  }
 25617  
 25618  type ProjectsLocationsAgentsFlowsPagesDeleteCall struct {
 25619  	s          *Service
 25620  	name       string
 25621  	urlParams_ gensupport.URLParams
 25622  	ctx_       context.Context
 25623  	header_    http.Header
 25624  }
 25625  
 25626  // Delete: Deletes the specified page. Note: You should always train a flow
 25627  // prior to sending it queries. See the training documentation
 25628  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 25629  //
 25630  //   - name: The name of the page to delete. Format:
 25631  //     `projects//locations//agents//Flows//pages/`.
 25632  func (r *ProjectsLocationsAgentsFlowsPagesService) Delete(name string) *ProjectsLocationsAgentsFlowsPagesDeleteCall {
 25633  	c := &ProjectsLocationsAgentsFlowsPagesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25634  	c.name = name
 25635  	return c
 25636  }
 25637  
 25638  // Force sets the optional parameter "force": This field has no effect for
 25639  // pages with no incoming transitions. For pages with incoming transitions: *
 25640  // If `force` is set to false, an error will be returned with message
 25641  // indicating the incoming transitions. * If `force` is set to true, Dialogflow
 25642  // will remove the page, as well as any transitions to the page (i.e. Target
 25643  // page in event handlers or Target page in transition routes that point to
 25644  // this page will be cleared).
 25645  func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsPagesDeleteCall {
 25646  	c.urlParams_.Set("force", fmt.Sprint(force))
 25647  	return c
 25648  }
 25649  
 25650  // Fields allows partial responses to be retrieved. See
 25651  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 25652  // details.
 25653  func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesDeleteCall {
 25654  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25655  	return c
 25656  }
 25657  
 25658  // Context sets the context to be used in this call's Do method.
 25659  func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesDeleteCall {
 25660  	c.ctx_ = ctx
 25661  	return c
 25662  }
 25663  
 25664  // Header returns a http.Header that can be modified by the caller to add
 25665  // headers to the request.
 25666  func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Header() http.Header {
 25667  	if c.header_ == nil {
 25668  		c.header_ = make(http.Header)
 25669  	}
 25670  	return c.header_
 25671  }
 25672  
 25673  func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) doRequest(alt string) (*http.Response, error) {
 25674  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 25675  	var body io.Reader = nil
 25676  	c.urlParams_.Set("alt", alt)
 25677  	c.urlParams_.Set("prettyPrint", "false")
 25678  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 25679  	urls += "?" + c.urlParams_.Encode()
 25680  	req, err := http.NewRequest("DELETE", urls, body)
 25681  	if err != nil {
 25682  		return nil, err
 25683  	}
 25684  	req.Header = reqHeaders
 25685  	googleapi.Expand(req.URL, map[string]string{
 25686  		"name": c.name,
 25687  	})
 25688  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 25689  }
 25690  
 25691  // Do executes the "dialogflow.projects.locations.agents.flows.pages.delete" call.
 25692  // Any non-2xx status code is an error. Response headers are in either
 25693  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 25694  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 25695  // check whether the returned error was because http.StatusNotModified was
 25696  // returned.
 25697  func (c *ProjectsLocationsAgentsFlowsPagesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 25698  	gensupport.SetOptions(c.urlParams_, opts...)
 25699  	res, err := c.doRequest("json")
 25700  	if res != nil && res.StatusCode == http.StatusNotModified {
 25701  		if res.Body != nil {
 25702  			res.Body.Close()
 25703  		}
 25704  		return nil, gensupport.WrapError(&googleapi.Error{
 25705  			Code:   res.StatusCode,
 25706  			Header: res.Header,
 25707  		})
 25708  	}
 25709  	if err != nil {
 25710  		return nil, err
 25711  	}
 25712  	defer googleapi.CloseBody(res)
 25713  	if err := googleapi.CheckResponse(res); err != nil {
 25714  		return nil, gensupport.WrapError(err)
 25715  	}
 25716  	ret := &GoogleProtobufEmpty{
 25717  		ServerResponse: googleapi.ServerResponse{
 25718  			Header:         res.Header,
 25719  			HTTPStatusCode: res.StatusCode,
 25720  		},
 25721  	}
 25722  	target := &ret
 25723  	if err := gensupport.DecodeResponse(target, res); err != nil {
 25724  		return nil, err
 25725  	}
 25726  	return ret, nil
 25727  }
 25728  
 25729  type ProjectsLocationsAgentsFlowsPagesGetCall struct {
 25730  	s            *Service
 25731  	name         string
 25732  	urlParams_   gensupport.URLParams
 25733  	ifNoneMatch_ string
 25734  	ctx_         context.Context
 25735  	header_      http.Header
 25736  }
 25737  
 25738  // Get: Retrieves the specified page.
 25739  //
 25740  //   - name: The name of the page. Format:
 25741  //     `projects//locations//agents//flows//pages/`.
 25742  func (r *ProjectsLocationsAgentsFlowsPagesService) Get(name string) *ProjectsLocationsAgentsFlowsPagesGetCall {
 25743  	c := &ProjectsLocationsAgentsFlowsPagesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25744  	c.name = name
 25745  	return c
 25746  }
 25747  
 25748  // LanguageCode sets the optional parameter "languageCode": The language to
 25749  // retrieve the page for. The following fields are language dependent: *
 25750  // `Page.entry_fulfillment.messages` *
 25751  // `Page.entry_fulfillment.conditional_cases` *
 25752  // `Page.event_handlers.trigger_fulfillment.messages` *
 25753  // `Page.event_handlers.trigger_fulfillment.conditional_cases` *
 25754  // `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` *
 25755  // `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_ca
 25756  // ses` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
 25757  // *
 25758  // `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases
 25759  // ` * `Page.transition_routes.trigger_fulfillment.messages` *
 25760  // `Page.transition_routes.trigger_fulfillment.conditional_cases` If not
 25761  // specified, the agent's default language is used. Many languages
 25762  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 25763  // supported. Note: languages must be enabled in the agent before they can be
 25764  // used.
 25765  func (c *ProjectsLocationsAgentsFlowsPagesGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesGetCall {
 25766  	c.urlParams_.Set("languageCode", languageCode)
 25767  	return c
 25768  }
 25769  
 25770  // Fields allows partial responses to be retrieved. See
 25771  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 25772  // details.
 25773  func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesGetCall {
 25774  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25775  	return c
 25776  }
 25777  
 25778  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 25779  // object's ETag matches the given value. This is useful for getting updates
 25780  // only after the object has changed since the last request.
 25781  func (c *ProjectsLocationsAgentsFlowsPagesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsPagesGetCall {
 25782  	c.ifNoneMatch_ = entityTag
 25783  	return c
 25784  }
 25785  
 25786  // Context sets the context to be used in this call's Do method.
 25787  func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesGetCall {
 25788  	c.ctx_ = ctx
 25789  	return c
 25790  }
 25791  
 25792  // Header returns a http.Header that can be modified by the caller to add
 25793  // headers to the request.
 25794  func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Header() http.Header {
 25795  	if c.header_ == nil {
 25796  		c.header_ = make(http.Header)
 25797  	}
 25798  	return c.header_
 25799  }
 25800  
 25801  func (c *ProjectsLocationsAgentsFlowsPagesGetCall) doRequest(alt string) (*http.Response, error) {
 25802  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 25803  	if c.ifNoneMatch_ != "" {
 25804  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 25805  	}
 25806  	var body io.Reader = nil
 25807  	c.urlParams_.Set("alt", alt)
 25808  	c.urlParams_.Set("prettyPrint", "false")
 25809  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 25810  	urls += "?" + c.urlParams_.Encode()
 25811  	req, err := http.NewRequest("GET", urls, body)
 25812  	if err != nil {
 25813  		return nil, err
 25814  	}
 25815  	req.Header = reqHeaders
 25816  	googleapi.Expand(req.URL, map[string]string{
 25817  		"name": c.name,
 25818  	})
 25819  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 25820  }
 25821  
 25822  // Do executes the "dialogflow.projects.locations.agents.flows.pages.get" call.
 25823  // Any non-2xx status code is an error. Response headers are in either
 25824  // *GoogleCloudDialogflowCxV3Page.ServerResponse.Header or (if a response was
 25825  // returned at all) in error.(*googleapi.Error).Header. Use
 25826  // googleapi.IsNotModified to check whether the returned error was because
 25827  // http.StatusNotModified was returned.
 25828  func (c *ProjectsLocationsAgentsFlowsPagesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Page, error) {
 25829  	gensupport.SetOptions(c.urlParams_, opts...)
 25830  	res, err := c.doRequest("json")
 25831  	if res != nil && res.StatusCode == http.StatusNotModified {
 25832  		if res.Body != nil {
 25833  			res.Body.Close()
 25834  		}
 25835  		return nil, gensupport.WrapError(&googleapi.Error{
 25836  			Code:   res.StatusCode,
 25837  			Header: res.Header,
 25838  		})
 25839  	}
 25840  	if err != nil {
 25841  		return nil, err
 25842  	}
 25843  	defer googleapi.CloseBody(res)
 25844  	if err := googleapi.CheckResponse(res); err != nil {
 25845  		return nil, gensupport.WrapError(err)
 25846  	}
 25847  	ret := &GoogleCloudDialogflowCxV3Page{
 25848  		ServerResponse: googleapi.ServerResponse{
 25849  			Header:         res.Header,
 25850  			HTTPStatusCode: res.StatusCode,
 25851  		},
 25852  	}
 25853  	target := &ret
 25854  	if err := gensupport.DecodeResponse(target, res); err != nil {
 25855  		return nil, err
 25856  	}
 25857  	return ret, nil
 25858  }
 25859  
 25860  type ProjectsLocationsAgentsFlowsPagesListCall struct {
 25861  	s            *Service
 25862  	parent       string
 25863  	urlParams_   gensupport.URLParams
 25864  	ifNoneMatch_ string
 25865  	ctx_         context.Context
 25866  	header_      http.Header
 25867  }
 25868  
 25869  // List: Returns the list of all pages in the specified flow.
 25870  //
 25871  //   - parent: The flow to list all pages for. Format:
 25872  //     `projects//locations//agents//flows/`.
 25873  func (r *ProjectsLocationsAgentsFlowsPagesService) List(parent string) *ProjectsLocationsAgentsFlowsPagesListCall {
 25874  	c := &ProjectsLocationsAgentsFlowsPagesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 25875  	c.parent = parent
 25876  	return c
 25877  }
 25878  
 25879  // LanguageCode sets the optional parameter "languageCode": The language to
 25880  // list pages for. The following fields are language dependent: *
 25881  // `Page.entry_fulfillment.messages` *
 25882  // `Page.entry_fulfillment.conditional_cases` *
 25883  // `Page.event_handlers.trigger_fulfillment.messages` *
 25884  // `Page.event_handlers.trigger_fulfillment.conditional_cases` *
 25885  // `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` *
 25886  // `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_ca
 25887  // ses` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
 25888  // *
 25889  // `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases
 25890  // ` * `Page.transition_routes.trigger_fulfillment.messages` *
 25891  // `Page.transition_routes.trigger_fulfillment.conditional_cases` If not
 25892  // specified, the agent's default language is used. Many languages
 25893  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 25894  // supported. Note: languages must be enabled in the agent before they can be
 25895  // used.
 25896  func (c *ProjectsLocationsAgentsFlowsPagesListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesListCall {
 25897  	c.urlParams_.Set("languageCode", languageCode)
 25898  	return c
 25899  }
 25900  
 25901  // PageSize sets the optional parameter "pageSize": The maximum number of items
 25902  // to return in a single page. By default 100 and at most 1000.
 25903  func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsPagesListCall {
 25904  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 25905  	return c
 25906  }
 25907  
 25908  // PageToken sets the optional parameter "pageToken": The next_page_token value
 25909  // returned from a previous list request.
 25910  func (c *ProjectsLocationsAgentsFlowsPagesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsPagesListCall {
 25911  	c.urlParams_.Set("pageToken", pageToken)
 25912  	return c
 25913  }
 25914  
 25915  // Fields allows partial responses to be retrieved. See
 25916  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 25917  // details.
 25918  func (c *ProjectsLocationsAgentsFlowsPagesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesListCall {
 25919  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 25920  	return c
 25921  }
 25922  
 25923  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 25924  // object's ETag matches the given value. This is useful for getting updates
 25925  // only after the object has changed since the last request.
 25926  func (c *ProjectsLocationsAgentsFlowsPagesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsPagesListCall {
 25927  	c.ifNoneMatch_ = entityTag
 25928  	return c
 25929  }
 25930  
 25931  // Context sets the context to be used in this call's Do method.
 25932  func (c *ProjectsLocationsAgentsFlowsPagesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesListCall {
 25933  	c.ctx_ = ctx
 25934  	return c
 25935  }
 25936  
 25937  // Header returns a http.Header that can be modified by the caller to add
 25938  // headers to the request.
 25939  func (c *ProjectsLocationsAgentsFlowsPagesListCall) Header() http.Header {
 25940  	if c.header_ == nil {
 25941  		c.header_ = make(http.Header)
 25942  	}
 25943  	return c.header_
 25944  }
 25945  
 25946  func (c *ProjectsLocationsAgentsFlowsPagesListCall) doRequest(alt string) (*http.Response, error) {
 25947  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 25948  	if c.ifNoneMatch_ != "" {
 25949  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 25950  	}
 25951  	var body io.Reader = nil
 25952  	c.urlParams_.Set("alt", alt)
 25953  	c.urlParams_.Set("prettyPrint", "false")
 25954  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/pages")
 25955  	urls += "?" + c.urlParams_.Encode()
 25956  	req, err := http.NewRequest("GET", urls, body)
 25957  	if err != nil {
 25958  		return nil, err
 25959  	}
 25960  	req.Header = reqHeaders
 25961  	googleapi.Expand(req.URL, map[string]string{
 25962  		"parent": c.parent,
 25963  	})
 25964  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 25965  }
 25966  
 25967  // Do executes the "dialogflow.projects.locations.agents.flows.pages.list" call.
 25968  // Any non-2xx status code is an error. Response headers are in either
 25969  // *GoogleCloudDialogflowCxV3ListPagesResponse.ServerResponse.Header or (if a
 25970  // response was returned at all) in error.(*googleapi.Error).Header. Use
 25971  // googleapi.IsNotModified to check whether the returned error was because
 25972  // http.StatusNotModified was returned.
 25973  func (c *ProjectsLocationsAgentsFlowsPagesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListPagesResponse, error) {
 25974  	gensupport.SetOptions(c.urlParams_, opts...)
 25975  	res, err := c.doRequest("json")
 25976  	if res != nil && res.StatusCode == http.StatusNotModified {
 25977  		if res.Body != nil {
 25978  			res.Body.Close()
 25979  		}
 25980  		return nil, gensupport.WrapError(&googleapi.Error{
 25981  			Code:   res.StatusCode,
 25982  			Header: res.Header,
 25983  		})
 25984  	}
 25985  	if err != nil {
 25986  		return nil, err
 25987  	}
 25988  	defer googleapi.CloseBody(res)
 25989  	if err := googleapi.CheckResponse(res); err != nil {
 25990  		return nil, gensupport.WrapError(err)
 25991  	}
 25992  	ret := &GoogleCloudDialogflowCxV3ListPagesResponse{
 25993  		ServerResponse: googleapi.ServerResponse{
 25994  			Header:         res.Header,
 25995  			HTTPStatusCode: res.StatusCode,
 25996  		},
 25997  	}
 25998  	target := &ret
 25999  	if err := gensupport.DecodeResponse(target, res); err != nil {
 26000  		return nil, err
 26001  	}
 26002  	return ret, nil
 26003  }
 26004  
 26005  // Pages invokes f for each page of results.
 26006  // A non-nil error returned from f will halt the iteration.
 26007  // The provided context supersedes any context provided to the Context method.
 26008  func (c *ProjectsLocationsAgentsFlowsPagesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListPagesResponse) error) error {
 26009  	c.ctx_ = ctx
 26010  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 26011  	for {
 26012  		x, err := c.Do()
 26013  		if err != nil {
 26014  			return err
 26015  		}
 26016  		if err := f(x); err != nil {
 26017  			return err
 26018  		}
 26019  		if x.NextPageToken == "" {
 26020  			return nil
 26021  		}
 26022  		c.PageToken(x.NextPageToken)
 26023  	}
 26024  }
 26025  
 26026  type ProjectsLocationsAgentsFlowsPagesPatchCall struct {
 26027  	s                             *Service
 26028  	nameid                        string
 26029  	googleclouddialogflowcxv3page *GoogleCloudDialogflowCxV3Page
 26030  	urlParams_                    gensupport.URLParams
 26031  	ctx_                          context.Context
 26032  	header_                       http.Header
 26033  }
 26034  
 26035  // Patch: Updates the specified page. Note: You should always train a flow
 26036  // prior to sending it queries. See the training documentation
 26037  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 26038  //
 26039  //   - name: The unique identifier of the page. Required for the Pages.UpdatePage
 26040  //     method. Pages.CreatePage populates the name automatically. Format:
 26041  //     `projects//locations//agents//flows//pages/`.
 26042  func (r *ProjectsLocationsAgentsFlowsPagesService) Patch(nameid string, googleclouddialogflowcxv3page *GoogleCloudDialogflowCxV3Page) *ProjectsLocationsAgentsFlowsPagesPatchCall {
 26043  	c := &ProjectsLocationsAgentsFlowsPagesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 26044  	c.nameid = nameid
 26045  	c.googleclouddialogflowcxv3page = googleclouddialogflowcxv3page
 26046  	return c
 26047  }
 26048  
 26049  // LanguageCode sets the optional parameter "languageCode": The language of the
 26050  // following fields in `page`: * `Page.entry_fulfillment.messages` *
 26051  // `Page.entry_fulfillment.conditional_cases` *
 26052  // `Page.event_handlers.trigger_fulfillment.messages` *
 26053  // `Page.event_handlers.trigger_fulfillment.conditional_cases` *
 26054  // `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` *
 26055  // `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_ca
 26056  // ses` * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages`
 26057  // *
 26058  // `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases
 26059  // ` * `Page.transition_routes.trigger_fulfillment.messages` *
 26060  // `Page.transition_routes.trigger_fulfillment.conditional_cases` If not
 26061  // specified, the agent's default language is used. Many languages
 26062  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 26063  // supported. Note: languages must be enabled in the agent before they can be
 26064  // used.
 26065  func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsPagesPatchCall {
 26066  	c.urlParams_.Set("languageCode", languageCode)
 26067  	return c
 26068  }
 26069  
 26070  // UpdateMask sets the optional parameter "updateMask": The mask to control
 26071  // which fields get updated. If the mask is not present, all fields will be
 26072  // updated.
 26073  func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsPagesPatchCall {
 26074  	c.urlParams_.Set("updateMask", updateMask)
 26075  	return c
 26076  }
 26077  
 26078  // Fields allows partial responses to be retrieved. See
 26079  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 26080  // details.
 26081  func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsPagesPatchCall {
 26082  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 26083  	return c
 26084  }
 26085  
 26086  // Context sets the context to be used in this call's Do method.
 26087  func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsPagesPatchCall {
 26088  	c.ctx_ = ctx
 26089  	return c
 26090  }
 26091  
 26092  // Header returns a http.Header that can be modified by the caller to add
 26093  // headers to the request.
 26094  func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Header() http.Header {
 26095  	if c.header_ == nil {
 26096  		c.header_ = make(http.Header)
 26097  	}
 26098  	return c.header_
 26099  }
 26100  
 26101  func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) doRequest(alt string) (*http.Response, error) {
 26102  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 26103  	var body io.Reader = nil
 26104  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3page)
 26105  	if err != nil {
 26106  		return nil, err
 26107  	}
 26108  	c.urlParams_.Set("alt", alt)
 26109  	c.urlParams_.Set("prettyPrint", "false")
 26110  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 26111  	urls += "?" + c.urlParams_.Encode()
 26112  	req, err := http.NewRequest("PATCH", urls, body)
 26113  	if err != nil {
 26114  		return nil, err
 26115  	}
 26116  	req.Header = reqHeaders
 26117  	googleapi.Expand(req.URL, map[string]string{
 26118  		"name": c.nameid,
 26119  	})
 26120  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 26121  }
 26122  
 26123  // Do executes the "dialogflow.projects.locations.agents.flows.pages.patch" call.
 26124  // Any non-2xx status code is an error. Response headers are in either
 26125  // *GoogleCloudDialogflowCxV3Page.ServerResponse.Header or (if a response was
 26126  // returned at all) in error.(*googleapi.Error).Header. Use
 26127  // googleapi.IsNotModified to check whether the returned error was because
 26128  // http.StatusNotModified was returned.
 26129  func (c *ProjectsLocationsAgentsFlowsPagesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Page, error) {
 26130  	gensupport.SetOptions(c.urlParams_, opts...)
 26131  	res, err := c.doRequest("json")
 26132  	if res != nil && res.StatusCode == http.StatusNotModified {
 26133  		if res.Body != nil {
 26134  			res.Body.Close()
 26135  		}
 26136  		return nil, gensupport.WrapError(&googleapi.Error{
 26137  			Code:   res.StatusCode,
 26138  			Header: res.Header,
 26139  		})
 26140  	}
 26141  	if err != nil {
 26142  		return nil, err
 26143  	}
 26144  	defer googleapi.CloseBody(res)
 26145  	if err := googleapi.CheckResponse(res); err != nil {
 26146  		return nil, gensupport.WrapError(err)
 26147  	}
 26148  	ret := &GoogleCloudDialogflowCxV3Page{
 26149  		ServerResponse: googleapi.ServerResponse{
 26150  			Header:         res.Header,
 26151  			HTTPStatusCode: res.StatusCode,
 26152  		},
 26153  	}
 26154  	target := &ret
 26155  	if err := gensupport.DecodeResponse(target, res); err != nil {
 26156  		return nil, err
 26157  	}
 26158  	return ret, nil
 26159  }
 26160  
 26161  type ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall struct {
 26162  	s                                             *Service
 26163  	parent                                        string
 26164  	googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup
 26165  	urlParams_                                    gensupport.URLParams
 26166  	ctx_                                          context.Context
 26167  	header_                                       http.Header
 26168  }
 26169  
 26170  // Create: Creates an TransitionRouteGroup in the specified flow. Note: You
 26171  // should always train a flow prior to sending it queries. See the training
 26172  // documentation
 26173  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 26174  //
 26175  //   - parent: The flow to create an TransitionRouteGroup for. Format:
 26176  //     `projects//locations//agents//flows/` or `projects//locations//agents/`
 26177  //     for agent-level groups.
 26178  func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Create(parent string, googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall {
 26179  	c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 26180  	c.parent = parent
 26181  	c.googleclouddialogflowcxv3transitionroutegroup = googleclouddialogflowcxv3transitionroutegroup
 26182  	return c
 26183  }
 26184  
 26185  // LanguageCode sets the optional parameter "languageCode": The language of the
 26186  // following fields in `TransitionRouteGroup`: *
 26187  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` *
 26188  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases
 26189  // ` If not specified, the agent's default language is used. Many languages
 26190  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 26191  // supported. Note: languages must be enabled in the agent before they can be
 26192  // used.
 26193  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall {
 26194  	c.urlParams_.Set("languageCode", languageCode)
 26195  	return c
 26196  }
 26197  
 26198  // Fields allows partial responses to be retrieved. See
 26199  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 26200  // details.
 26201  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall {
 26202  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 26203  	return c
 26204  }
 26205  
 26206  // Context sets the context to be used in this call's Do method.
 26207  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall {
 26208  	c.ctx_ = ctx
 26209  	return c
 26210  }
 26211  
 26212  // Header returns a http.Header that can be modified by the caller to add
 26213  // headers to the request.
 26214  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Header() http.Header {
 26215  	if c.header_ == nil {
 26216  		c.header_ = make(http.Header)
 26217  	}
 26218  	return c.header_
 26219  }
 26220  
 26221  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) doRequest(alt string) (*http.Response, error) {
 26222  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 26223  	var body io.Reader = nil
 26224  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3transitionroutegroup)
 26225  	if err != nil {
 26226  		return nil, err
 26227  	}
 26228  	c.urlParams_.Set("alt", alt)
 26229  	c.urlParams_.Set("prettyPrint", "false")
 26230  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/transitionRouteGroups")
 26231  	urls += "?" + c.urlParams_.Encode()
 26232  	req, err := http.NewRequest("POST", urls, body)
 26233  	if err != nil {
 26234  		return nil, err
 26235  	}
 26236  	req.Header = reqHeaders
 26237  	googleapi.Expand(req.URL, map[string]string{
 26238  		"parent": c.parent,
 26239  	})
 26240  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 26241  }
 26242  
 26243  // Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.create" call.
 26244  // Any non-2xx status code is an error. Response headers are in either
 26245  // *GoogleCloudDialogflowCxV3TransitionRouteGroup.ServerResponse.Header or (if
 26246  // a response was returned at all) in error.(*googleapi.Error).Header. Use
 26247  // googleapi.IsNotModified to check whether the returned error was because
 26248  // http.StatusNotModified was returned.
 26249  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TransitionRouteGroup, error) {
 26250  	gensupport.SetOptions(c.urlParams_, opts...)
 26251  	res, err := c.doRequest("json")
 26252  	if res != nil && res.StatusCode == http.StatusNotModified {
 26253  		if res.Body != nil {
 26254  			res.Body.Close()
 26255  		}
 26256  		return nil, gensupport.WrapError(&googleapi.Error{
 26257  			Code:   res.StatusCode,
 26258  			Header: res.Header,
 26259  		})
 26260  	}
 26261  	if err != nil {
 26262  		return nil, err
 26263  	}
 26264  	defer googleapi.CloseBody(res)
 26265  	if err := googleapi.CheckResponse(res); err != nil {
 26266  		return nil, gensupport.WrapError(err)
 26267  	}
 26268  	ret := &GoogleCloudDialogflowCxV3TransitionRouteGroup{
 26269  		ServerResponse: googleapi.ServerResponse{
 26270  			Header:         res.Header,
 26271  			HTTPStatusCode: res.StatusCode,
 26272  		},
 26273  	}
 26274  	target := &ret
 26275  	if err := gensupport.DecodeResponse(target, res); err != nil {
 26276  		return nil, err
 26277  	}
 26278  	return ret, nil
 26279  }
 26280  
 26281  type ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall struct {
 26282  	s          *Service
 26283  	name       string
 26284  	urlParams_ gensupport.URLParams
 26285  	ctx_       context.Context
 26286  	header_    http.Header
 26287  }
 26288  
 26289  // Delete: Deletes the specified TransitionRouteGroup. Note: You should always
 26290  // train a flow prior to sending it queries. See the training documentation
 26291  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 26292  //
 26293  //   - name: The name of the TransitionRouteGroup to delete. Format:
 26294  //     `projects//locations//agents//flows//transitionRouteGroups/` or
 26295  //     `projects//locations//agents//transitionRouteGroups/`.
 26296  func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Delete(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall {
 26297  	c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 26298  	c.name = name
 26299  	return c
 26300  }
 26301  
 26302  // Force sets the optional parameter "force": This field has no effect for
 26303  // transition route group that no page is using. If the transition route group
 26304  // is referenced by any page: * If `force` is set to false, an error will be
 26305  // returned with message indicating pages that reference the transition route
 26306  // group. * If `force` is set to true, Dialogflow will remove the transition
 26307  // route group, as well as any reference to it.
 26308  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Force(force bool) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall {
 26309  	c.urlParams_.Set("force", fmt.Sprint(force))
 26310  	return c
 26311  }
 26312  
 26313  // Fields allows partial responses to be retrieved. See
 26314  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 26315  // details.
 26316  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall {
 26317  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 26318  	return c
 26319  }
 26320  
 26321  // Context sets the context to be used in this call's Do method.
 26322  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall {
 26323  	c.ctx_ = ctx
 26324  	return c
 26325  }
 26326  
 26327  // Header returns a http.Header that can be modified by the caller to add
 26328  // headers to the request.
 26329  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Header() http.Header {
 26330  	if c.header_ == nil {
 26331  		c.header_ = make(http.Header)
 26332  	}
 26333  	return c.header_
 26334  }
 26335  
 26336  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) doRequest(alt string) (*http.Response, error) {
 26337  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 26338  	var body io.Reader = nil
 26339  	c.urlParams_.Set("alt", alt)
 26340  	c.urlParams_.Set("prettyPrint", "false")
 26341  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 26342  	urls += "?" + c.urlParams_.Encode()
 26343  	req, err := http.NewRequest("DELETE", urls, body)
 26344  	if err != nil {
 26345  		return nil, err
 26346  	}
 26347  	req.Header = reqHeaders
 26348  	googleapi.Expand(req.URL, map[string]string{
 26349  		"name": c.name,
 26350  	})
 26351  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 26352  }
 26353  
 26354  // Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.delete" call.
 26355  // Any non-2xx status code is an error. Response headers are in either
 26356  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 26357  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 26358  // check whether the returned error was because http.StatusNotModified was
 26359  // returned.
 26360  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 26361  	gensupport.SetOptions(c.urlParams_, opts...)
 26362  	res, err := c.doRequest("json")
 26363  	if res != nil && res.StatusCode == http.StatusNotModified {
 26364  		if res.Body != nil {
 26365  			res.Body.Close()
 26366  		}
 26367  		return nil, gensupport.WrapError(&googleapi.Error{
 26368  			Code:   res.StatusCode,
 26369  			Header: res.Header,
 26370  		})
 26371  	}
 26372  	if err != nil {
 26373  		return nil, err
 26374  	}
 26375  	defer googleapi.CloseBody(res)
 26376  	if err := googleapi.CheckResponse(res); err != nil {
 26377  		return nil, gensupport.WrapError(err)
 26378  	}
 26379  	ret := &GoogleProtobufEmpty{
 26380  		ServerResponse: googleapi.ServerResponse{
 26381  			Header:         res.Header,
 26382  			HTTPStatusCode: res.StatusCode,
 26383  		},
 26384  	}
 26385  	target := &ret
 26386  	if err := gensupport.DecodeResponse(target, res); err != nil {
 26387  		return nil, err
 26388  	}
 26389  	return ret, nil
 26390  }
 26391  
 26392  type ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall struct {
 26393  	s            *Service
 26394  	name         string
 26395  	urlParams_   gensupport.URLParams
 26396  	ifNoneMatch_ string
 26397  	ctx_         context.Context
 26398  	header_      http.Header
 26399  }
 26400  
 26401  // Get: Retrieves the specified TransitionRouteGroup.
 26402  //
 26403  //   - name: The name of the TransitionRouteGroup. Format:
 26404  //     `projects//locations//agents//flows//transitionRouteGroups/` or
 26405  //     `projects//locations//agents//transitionRouteGroups/`.
 26406  func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Get(name string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall {
 26407  	c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 26408  	c.name = name
 26409  	return c
 26410  }
 26411  
 26412  // LanguageCode sets the optional parameter "languageCode": The language to
 26413  // retrieve the transition route group for. The following fields are language
 26414  // dependent: *
 26415  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` *
 26416  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases
 26417  // ` If not specified, the agent's default language is used. Many languages
 26418  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 26419  // supported. Note: languages must be enabled in the agent before they can be
 26420  // used.
 26421  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall {
 26422  	c.urlParams_.Set("languageCode", languageCode)
 26423  	return c
 26424  }
 26425  
 26426  // Fields allows partial responses to be retrieved. See
 26427  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 26428  // details.
 26429  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall {
 26430  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 26431  	return c
 26432  }
 26433  
 26434  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 26435  // object's ETag matches the given value. This is useful for getting updates
 26436  // only after the object has changed since the last request.
 26437  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall {
 26438  	c.ifNoneMatch_ = entityTag
 26439  	return c
 26440  }
 26441  
 26442  // Context sets the context to be used in this call's Do method.
 26443  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall {
 26444  	c.ctx_ = ctx
 26445  	return c
 26446  }
 26447  
 26448  // Header returns a http.Header that can be modified by the caller to add
 26449  // headers to the request.
 26450  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Header() http.Header {
 26451  	if c.header_ == nil {
 26452  		c.header_ = make(http.Header)
 26453  	}
 26454  	return c.header_
 26455  }
 26456  
 26457  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) doRequest(alt string) (*http.Response, error) {
 26458  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 26459  	if c.ifNoneMatch_ != "" {
 26460  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 26461  	}
 26462  	var body io.Reader = nil
 26463  	c.urlParams_.Set("alt", alt)
 26464  	c.urlParams_.Set("prettyPrint", "false")
 26465  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 26466  	urls += "?" + c.urlParams_.Encode()
 26467  	req, err := http.NewRequest("GET", urls, body)
 26468  	if err != nil {
 26469  		return nil, err
 26470  	}
 26471  	req.Header = reqHeaders
 26472  	googleapi.Expand(req.URL, map[string]string{
 26473  		"name": c.name,
 26474  	})
 26475  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 26476  }
 26477  
 26478  // Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.get" call.
 26479  // Any non-2xx status code is an error. Response headers are in either
 26480  // *GoogleCloudDialogflowCxV3TransitionRouteGroup.ServerResponse.Header or (if
 26481  // a response was returned at all) in error.(*googleapi.Error).Header. Use
 26482  // googleapi.IsNotModified to check whether the returned error was because
 26483  // http.StatusNotModified was returned.
 26484  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TransitionRouteGroup, error) {
 26485  	gensupport.SetOptions(c.urlParams_, opts...)
 26486  	res, err := c.doRequest("json")
 26487  	if res != nil && res.StatusCode == http.StatusNotModified {
 26488  		if res.Body != nil {
 26489  			res.Body.Close()
 26490  		}
 26491  		return nil, gensupport.WrapError(&googleapi.Error{
 26492  			Code:   res.StatusCode,
 26493  			Header: res.Header,
 26494  		})
 26495  	}
 26496  	if err != nil {
 26497  		return nil, err
 26498  	}
 26499  	defer googleapi.CloseBody(res)
 26500  	if err := googleapi.CheckResponse(res); err != nil {
 26501  		return nil, gensupport.WrapError(err)
 26502  	}
 26503  	ret := &GoogleCloudDialogflowCxV3TransitionRouteGroup{
 26504  		ServerResponse: googleapi.ServerResponse{
 26505  			Header:         res.Header,
 26506  			HTTPStatusCode: res.StatusCode,
 26507  		},
 26508  	}
 26509  	target := &ret
 26510  	if err := gensupport.DecodeResponse(target, res); err != nil {
 26511  		return nil, err
 26512  	}
 26513  	return ret, nil
 26514  }
 26515  
 26516  type ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall struct {
 26517  	s            *Service
 26518  	parent       string
 26519  	urlParams_   gensupport.URLParams
 26520  	ifNoneMatch_ string
 26521  	ctx_         context.Context
 26522  	header_      http.Header
 26523  }
 26524  
 26525  // List: Returns the list of all transition route groups in the specified flow.
 26526  //
 26527  //   - parent: The flow to list all transition route groups for. Format:
 26528  //     `projects//locations//agents//flows/` or `projects//locations//agents/.
 26529  func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) List(parent string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall {
 26530  	c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 26531  	c.parent = parent
 26532  	return c
 26533  }
 26534  
 26535  // LanguageCode sets the optional parameter "languageCode": The language to
 26536  // list transition route groups for. The following fields are language
 26537  // dependent: *
 26538  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` *
 26539  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases
 26540  // ` If not specified, the agent's default language is used. Many languages
 26541  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 26542  // supported. Note: languages must be enabled in the agent before they can be
 26543  // used.
 26544  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall {
 26545  	c.urlParams_.Set("languageCode", languageCode)
 26546  	return c
 26547  }
 26548  
 26549  // PageSize sets the optional parameter "pageSize": The maximum number of items
 26550  // to return in a single page. By default 100 and at most 1000.
 26551  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall {
 26552  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 26553  	return c
 26554  }
 26555  
 26556  // PageToken sets the optional parameter "pageToken": The next_page_token value
 26557  // returned from a previous list request.
 26558  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall {
 26559  	c.urlParams_.Set("pageToken", pageToken)
 26560  	return c
 26561  }
 26562  
 26563  // Fields allows partial responses to be retrieved. See
 26564  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 26565  // details.
 26566  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall {
 26567  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 26568  	return c
 26569  }
 26570  
 26571  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 26572  // object's ETag matches the given value. This is useful for getting updates
 26573  // only after the object has changed since the last request.
 26574  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall {
 26575  	c.ifNoneMatch_ = entityTag
 26576  	return c
 26577  }
 26578  
 26579  // Context sets the context to be used in this call's Do method.
 26580  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall {
 26581  	c.ctx_ = ctx
 26582  	return c
 26583  }
 26584  
 26585  // Header returns a http.Header that can be modified by the caller to add
 26586  // headers to the request.
 26587  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Header() http.Header {
 26588  	if c.header_ == nil {
 26589  		c.header_ = make(http.Header)
 26590  	}
 26591  	return c.header_
 26592  }
 26593  
 26594  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) doRequest(alt string) (*http.Response, error) {
 26595  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 26596  	if c.ifNoneMatch_ != "" {
 26597  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 26598  	}
 26599  	var body io.Reader = nil
 26600  	c.urlParams_.Set("alt", alt)
 26601  	c.urlParams_.Set("prettyPrint", "false")
 26602  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/transitionRouteGroups")
 26603  	urls += "?" + c.urlParams_.Encode()
 26604  	req, err := http.NewRequest("GET", urls, body)
 26605  	if err != nil {
 26606  		return nil, err
 26607  	}
 26608  	req.Header = reqHeaders
 26609  	googleapi.Expand(req.URL, map[string]string{
 26610  		"parent": c.parent,
 26611  	})
 26612  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 26613  }
 26614  
 26615  // Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.list" call.
 26616  // Any non-2xx status code is an error. Response headers are in either
 26617  // *GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse.ServerResponse.He
 26618  // ader or (if a response was returned at all) in
 26619  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 26620  // whether the returned error was because http.StatusNotModified was returned.
 26621  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse, error) {
 26622  	gensupport.SetOptions(c.urlParams_, opts...)
 26623  	res, err := c.doRequest("json")
 26624  	if res != nil && res.StatusCode == http.StatusNotModified {
 26625  		if res.Body != nil {
 26626  			res.Body.Close()
 26627  		}
 26628  		return nil, gensupport.WrapError(&googleapi.Error{
 26629  			Code:   res.StatusCode,
 26630  			Header: res.Header,
 26631  		})
 26632  	}
 26633  	if err != nil {
 26634  		return nil, err
 26635  	}
 26636  	defer googleapi.CloseBody(res)
 26637  	if err := googleapi.CheckResponse(res); err != nil {
 26638  		return nil, gensupport.WrapError(err)
 26639  	}
 26640  	ret := &GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse{
 26641  		ServerResponse: googleapi.ServerResponse{
 26642  			Header:         res.Header,
 26643  			HTTPStatusCode: res.StatusCode,
 26644  		},
 26645  	}
 26646  	target := &ret
 26647  	if err := gensupport.DecodeResponse(target, res); err != nil {
 26648  		return nil, err
 26649  	}
 26650  	return ret, nil
 26651  }
 26652  
 26653  // Pages invokes f for each page of results.
 26654  // A non-nil error returned from f will halt the iteration.
 26655  // The provided context supersedes any context provided to the Context method.
 26656  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse) error) error {
 26657  	c.ctx_ = ctx
 26658  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 26659  	for {
 26660  		x, err := c.Do()
 26661  		if err != nil {
 26662  			return err
 26663  		}
 26664  		if err := f(x); err != nil {
 26665  			return err
 26666  		}
 26667  		if x.NextPageToken == "" {
 26668  			return nil
 26669  		}
 26670  		c.PageToken(x.NextPageToken)
 26671  	}
 26672  }
 26673  
 26674  type ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall struct {
 26675  	s                                             *Service
 26676  	nameid                                        string
 26677  	googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup
 26678  	urlParams_                                    gensupport.URLParams
 26679  	ctx_                                          context.Context
 26680  	header_                                       http.Header
 26681  }
 26682  
 26683  // Patch: Updates the specified TransitionRouteGroup. Note: You should always
 26684  // train a flow prior to sending it queries. See the training documentation
 26685  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 26686  //
 26687  //   - name: The unique identifier of the transition route group.
 26688  //     TransitionRouteGroups.CreateTransitionRouteGroup populates the name
 26689  //     automatically. Format:
 26690  //     `projects//locations//agents//flows//transitionRouteGroups/` .
 26691  func (r *ProjectsLocationsAgentsFlowsTransitionRouteGroupsService) Patch(nameid string, googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall {
 26692  	c := &ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 26693  	c.nameid = nameid
 26694  	c.googleclouddialogflowcxv3transitionroutegroup = googleclouddialogflowcxv3transitionroutegroup
 26695  	return c
 26696  }
 26697  
 26698  // LanguageCode sets the optional parameter "languageCode": The language of the
 26699  // following fields in `TransitionRouteGroup`: *
 26700  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` *
 26701  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases
 26702  // ` If not specified, the agent's default language is used. Many languages
 26703  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 26704  // supported. Note: languages must be enabled in the agent before they can be
 26705  // used.
 26706  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall {
 26707  	c.urlParams_.Set("languageCode", languageCode)
 26708  	return c
 26709  }
 26710  
 26711  // UpdateMask sets the optional parameter "updateMask": The mask to control
 26712  // which fields get updated.
 26713  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall {
 26714  	c.urlParams_.Set("updateMask", updateMask)
 26715  	return c
 26716  }
 26717  
 26718  // Fields allows partial responses to be retrieved. See
 26719  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 26720  // details.
 26721  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall {
 26722  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 26723  	return c
 26724  }
 26725  
 26726  // Context sets the context to be used in this call's Do method.
 26727  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall {
 26728  	c.ctx_ = ctx
 26729  	return c
 26730  }
 26731  
 26732  // Header returns a http.Header that can be modified by the caller to add
 26733  // headers to the request.
 26734  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Header() http.Header {
 26735  	if c.header_ == nil {
 26736  		c.header_ = make(http.Header)
 26737  	}
 26738  	return c.header_
 26739  }
 26740  
 26741  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) doRequest(alt string) (*http.Response, error) {
 26742  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 26743  	var body io.Reader = nil
 26744  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3transitionroutegroup)
 26745  	if err != nil {
 26746  		return nil, err
 26747  	}
 26748  	c.urlParams_.Set("alt", alt)
 26749  	c.urlParams_.Set("prettyPrint", "false")
 26750  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 26751  	urls += "?" + c.urlParams_.Encode()
 26752  	req, err := http.NewRequest("PATCH", urls, body)
 26753  	if err != nil {
 26754  		return nil, err
 26755  	}
 26756  	req.Header = reqHeaders
 26757  	googleapi.Expand(req.URL, map[string]string{
 26758  		"name": c.nameid,
 26759  	})
 26760  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 26761  }
 26762  
 26763  // Do executes the "dialogflow.projects.locations.agents.flows.transitionRouteGroups.patch" call.
 26764  // Any non-2xx status code is an error. Response headers are in either
 26765  // *GoogleCloudDialogflowCxV3TransitionRouteGroup.ServerResponse.Header or (if
 26766  // a response was returned at all) in error.(*googleapi.Error).Header. Use
 26767  // googleapi.IsNotModified to check whether the returned error was because
 26768  // http.StatusNotModified was returned.
 26769  func (c *ProjectsLocationsAgentsFlowsTransitionRouteGroupsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TransitionRouteGroup, error) {
 26770  	gensupport.SetOptions(c.urlParams_, opts...)
 26771  	res, err := c.doRequest("json")
 26772  	if res != nil && res.StatusCode == http.StatusNotModified {
 26773  		if res.Body != nil {
 26774  			res.Body.Close()
 26775  		}
 26776  		return nil, gensupport.WrapError(&googleapi.Error{
 26777  			Code:   res.StatusCode,
 26778  			Header: res.Header,
 26779  		})
 26780  	}
 26781  	if err != nil {
 26782  		return nil, err
 26783  	}
 26784  	defer googleapi.CloseBody(res)
 26785  	if err := googleapi.CheckResponse(res); err != nil {
 26786  		return nil, gensupport.WrapError(err)
 26787  	}
 26788  	ret := &GoogleCloudDialogflowCxV3TransitionRouteGroup{
 26789  		ServerResponse: googleapi.ServerResponse{
 26790  			Header:         res.Header,
 26791  			HTTPStatusCode: res.StatusCode,
 26792  		},
 26793  	}
 26794  	target := &ret
 26795  	if err := gensupport.DecodeResponse(target, res); err != nil {
 26796  		return nil, err
 26797  	}
 26798  	return ret, nil
 26799  }
 26800  
 26801  type ProjectsLocationsAgentsFlowsVersionsCompareVersionsCall struct {
 26802  	s                                               *Service
 26803  	baseVersion                                     string
 26804  	googleclouddialogflowcxv3compareversionsrequest *GoogleCloudDialogflowCxV3CompareVersionsRequest
 26805  	urlParams_                                      gensupport.URLParams
 26806  	ctx_                                            context.Context
 26807  	header_                                         http.Header
 26808  }
 26809  
 26810  // CompareVersions: Compares the specified base version with target version.
 26811  //
 26812  //   - baseVersion: Name of the base flow version to compare with the target
 26813  //     version. Use version ID `0` to indicate the draft version of the specified
 26814  //     flow. Format: `projects//locations//agents/ /flows//versions/`.
 26815  func (r *ProjectsLocationsAgentsFlowsVersionsService) CompareVersions(baseVersion string, googleclouddialogflowcxv3compareversionsrequest *GoogleCloudDialogflowCxV3CompareVersionsRequest) *ProjectsLocationsAgentsFlowsVersionsCompareVersionsCall {
 26816  	c := &ProjectsLocationsAgentsFlowsVersionsCompareVersionsCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 26817  	c.baseVersion = baseVersion
 26818  	c.googleclouddialogflowcxv3compareversionsrequest = googleclouddialogflowcxv3compareversionsrequest
 26819  	return c
 26820  }
 26821  
 26822  // Fields allows partial responses to be retrieved. See
 26823  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 26824  // details.
 26825  func (c *ProjectsLocationsAgentsFlowsVersionsCompareVersionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsCompareVersionsCall {
 26826  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 26827  	return c
 26828  }
 26829  
 26830  // Context sets the context to be used in this call's Do method.
 26831  func (c *ProjectsLocationsAgentsFlowsVersionsCompareVersionsCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsCompareVersionsCall {
 26832  	c.ctx_ = ctx
 26833  	return c
 26834  }
 26835  
 26836  // Header returns a http.Header that can be modified by the caller to add
 26837  // headers to the request.
 26838  func (c *ProjectsLocationsAgentsFlowsVersionsCompareVersionsCall) Header() http.Header {
 26839  	if c.header_ == nil {
 26840  		c.header_ = make(http.Header)
 26841  	}
 26842  	return c.header_
 26843  }
 26844  
 26845  func (c *ProjectsLocationsAgentsFlowsVersionsCompareVersionsCall) doRequest(alt string) (*http.Response, error) {
 26846  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 26847  	var body io.Reader = nil
 26848  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3compareversionsrequest)
 26849  	if err != nil {
 26850  		return nil, err
 26851  	}
 26852  	c.urlParams_.Set("alt", alt)
 26853  	c.urlParams_.Set("prettyPrint", "false")
 26854  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+baseVersion}:compareVersions")
 26855  	urls += "?" + c.urlParams_.Encode()
 26856  	req, err := http.NewRequest("POST", urls, body)
 26857  	if err != nil {
 26858  		return nil, err
 26859  	}
 26860  	req.Header = reqHeaders
 26861  	googleapi.Expand(req.URL, map[string]string{
 26862  		"baseVersion": c.baseVersion,
 26863  	})
 26864  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 26865  }
 26866  
 26867  // Do executes the "dialogflow.projects.locations.agents.flows.versions.compareVersions" call.
 26868  // Any non-2xx status code is an error. Response headers are in either
 26869  // *GoogleCloudDialogflowCxV3CompareVersionsResponse.ServerResponse.Header or
 26870  // (if a response was returned at all) in error.(*googleapi.Error).Header. Use
 26871  // googleapi.IsNotModified to check whether the returned error was because
 26872  // http.StatusNotModified was returned.
 26873  func (c *ProjectsLocationsAgentsFlowsVersionsCompareVersionsCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3CompareVersionsResponse, error) {
 26874  	gensupport.SetOptions(c.urlParams_, opts...)
 26875  	res, err := c.doRequest("json")
 26876  	if res != nil && res.StatusCode == http.StatusNotModified {
 26877  		if res.Body != nil {
 26878  			res.Body.Close()
 26879  		}
 26880  		return nil, gensupport.WrapError(&googleapi.Error{
 26881  			Code:   res.StatusCode,
 26882  			Header: res.Header,
 26883  		})
 26884  	}
 26885  	if err != nil {
 26886  		return nil, err
 26887  	}
 26888  	defer googleapi.CloseBody(res)
 26889  	if err := googleapi.CheckResponse(res); err != nil {
 26890  		return nil, gensupport.WrapError(err)
 26891  	}
 26892  	ret := &GoogleCloudDialogflowCxV3CompareVersionsResponse{
 26893  		ServerResponse: googleapi.ServerResponse{
 26894  			Header:         res.Header,
 26895  			HTTPStatusCode: res.StatusCode,
 26896  		},
 26897  	}
 26898  	target := &ret
 26899  	if err := gensupport.DecodeResponse(target, res); err != nil {
 26900  		return nil, err
 26901  	}
 26902  	return ret, nil
 26903  }
 26904  
 26905  type ProjectsLocationsAgentsFlowsVersionsCreateCall struct {
 26906  	s                                *Service
 26907  	parent                           string
 26908  	googleclouddialogflowcxv3version *GoogleCloudDialogflowCxV3Version
 26909  	urlParams_                       gensupport.URLParams
 26910  	ctx_                             context.Context
 26911  	header_                          http.Header
 26912  }
 26913  
 26914  // Create: Creates a Version in the specified Flow. This method is a
 26915  // long-running operation
 26916  // (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
 26917  // The returned `Operation` type has the following method-specific fields: -
 26918  // `metadata`: CreateVersionOperationMetadata - `response`: Version
 26919  //
 26920  //   - parent: The Flow to create an Version for. Format:
 26921  //     `projects//locations//agents//flows/`.
 26922  func (r *ProjectsLocationsAgentsFlowsVersionsService) Create(parent string, googleclouddialogflowcxv3version *GoogleCloudDialogflowCxV3Version) *ProjectsLocationsAgentsFlowsVersionsCreateCall {
 26923  	c := &ProjectsLocationsAgentsFlowsVersionsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 26924  	c.parent = parent
 26925  	c.googleclouddialogflowcxv3version = googleclouddialogflowcxv3version
 26926  	return c
 26927  }
 26928  
 26929  // Fields allows partial responses to be retrieved. See
 26930  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 26931  // details.
 26932  func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsCreateCall {
 26933  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 26934  	return c
 26935  }
 26936  
 26937  // Context sets the context to be used in this call's Do method.
 26938  func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsCreateCall {
 26939  	c.ctx_ = ctx
 26940  	return c
 26941  }
 26942  
 26943  // Header returns a http.Header that can be modified by the caller to add
 26944  // headers to the request.
 26945  func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Header() http.Header {
 26946  	if c.header_ == nil {
 26947  		c.header_ = make(http.Header)
 26948  	}
 26949  	return c.header_
 26950  }
 26951  
 26952  func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) doRequest(alt string) (*http.Response, error) {
 26953  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 26954  	var body io.Reader = nil
 26955  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3version)
 26956  	if err != nil {
 26957  		return nil, err
 26958  	}
 26959  	c.urlParams_.Set("alt", alt)
 26960  	c.urlParams_.Set("prettyPrint", "false")
 26961  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/versions")
 26962  	urls += "?" + c.urlParams_.Encode()
 26963  	req, err := http.NewRequest("POST", urls, body)
 26964  	if err != nil {
 26965  		return nil, err
 26966  	}
 26967  	req.Header = reqHeaders
 26968  	googleapi.Expand(req.URL, map[string]string{
 26969  		"parent": c.parent,
 26970  	})
 26971  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 26972  }
 26973  
 26974  // Do executes the "dialogflow.projects.locations.agents.flows.versions.create" call.
 26975  // Any non-2xx status code is an error. Response headers are in either
 26976  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 26977  // returned at all) in error.(*googleapi.Error).Header. Use
 26978  // googleapi.IsNotModified to check whether the returned error was because
 26979  // http.StatusNotModified was returned.
 26980  func (c *ProjectsLocationsAgentsFlowsVersionsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 26981  	gensupport.SetOptions(c.urlParams_, opts...)
 26982  	res, err := c.doRequest("json")
 26983  	if res != nil && res.StatusCode == http.StatusNotModified {
 26984  		if res.Body != nil {
 26985  			res.Body.Close()
 26986  		}
 26987  		return nil, gensupport.WrapError(&googleapi.Error{
 26988  			Code:   res.StatusCode,
 26989  			Header: res.Header,
 26990  		})
 26991  	}
 26992  	if err != nil {
 26993  		return nil, err
 26994  	}
 26995  	defer googleapi.CloseBody(res)
 26996  	if err := googleapi.CheckResponse(res); err != nil {
 26997  		return nil, gensupport.WrapError(err)
 26998  	}
 26999  	ret := &GoogleLongrunningOperation{
 27000  		ServerResponse: googleapi.ServerResponse{
 27001  			Header:         res.Header,
 27002  			HTTPStatusCode: res.StatusCode,
 27003  		},
 27004  	}
 27005  	target := &ret
 27006  	if err := gensupport.DecodeResponse(target, res); err != nil {
 27007  		return nil, err
 27008  	}
 27009  	return ret, nil
 27010  }
 27011  
 27012  type ProjectsLocationsAgentsFlowsVersionsDeleteCall struct {
 27013  	s          *Service
 27014  	name       string
 27015  	urlParams_ gensupport.URLParams
 27016  	ctx_       context.Context
 27017  	header_    http.Header
 27018  }
 27019  
 27020  // Delete: Deletes the specified Version.
 27021  //
 27022  //   - name: The name of the Version to delete. Format:
 27023  //     `projects//locations//agents//flows//versions/`.
 27024  func (r *ProjectsLocationsAgentsFlowsVersionsService) Delete(name string) *ProjectsLocationsAgentsFlowsVersionsDeleteCall {
 27025  	c := &ProjectsLocationsAgentsFlowsVersionsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 27026  	c.name = name
 27027  	return c
 27028  }
 27029  
 27030  // Fields allows partial responses to be retrieved. See
 27031  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 27032  // details.
 27033  func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsDeleteCall {
 27034  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 27035  	return c
 27036  }
 27037  
 27038  // Context sets the context to be used in this call's Do method.
 27039  func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsDeleteCall {
 27040  	c.ctx_ = ctx
 27041  	return c
 27042  }
 27043  
 27044  // Header returns a http.Header that can be modified by the caller to add
 27045  // headers to the request.
 27046  func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Header() http.Header {
 27047  	if c.header_ == nil {
 27048  		c.header_ = make(http.Header)
 27049  	}
 27050  	return c.header_
 27051  }
 27052  
 27053  func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) doRequest(alt string) (*http.Response, error) {
 27054  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 27055  	var body io.Reader = nil
 27056  	c.urlParams_.Set("alt", alt)
 27057  	c.urlParams_.Set("prettyPrint", "false")
 27058  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 27059  	urls += "?" + c.urlParams_.Encode()
 27060  	req, err := http.NewRequest("DELETE", urls, body)
 27061  	if err != nil {
 27062  		return nil, err
 27063  	}
 27064  	req.Header = reqHeaders
 27065  	googleapi.Expand(req.URL, map[string]string{
 27066  		"name": c.name,
 27067  	})
 27068  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 27069  }
 27070  
 27071  // Do executes the "dialogflow.projects.locations.agents.flows.versions.delete" call.
 27072  // Any non-2xx status code is an error. Response headers are in either
 27073  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 27074  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 27075  // check whether the returned error was because http.StatusNotModified was
 27076  // returned.
 27077  func (c *ProjectsLocationsAgentsFlowsVersionsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 27078  	gensupport.SetOptions(c.urlParams_, opts...)
 27079  	res, err := c.doRequest("json")
 27080  	if res != nil && res.StatusCode == http.StatusNotModified {
 27081  		if res.Body != nil {
 27082  			res.Body.Close()
 27083  		}
 27084  		return nil, gensupport.WrapError(&googleapi.Error{
 27085  			Code:   res.StatusCode,
 27086  			Header: res.Header,
 27087  		})
 27088  	}
 27089  	if err != nil {
 27090  		return nil, err
 27091  	}
 27092  	defer googleapi.CloseBody(res)
 27093  	if err := googleapi.CheckResponse(res); err != nil {
 27094  		return nil, gensupport.WrapError(err)
 27095  	}
 27096  	ret := &GoogleProtobufEmpty{
 27097  		ServerResponse: googleapi.ServerResponse{
 27098  			Header:         res.Header,
 27099  			HTTPStatusCode: res.StatusCode,
 27100  		},
 27101  	}
 27102  	target := &ret
 27103  	if err := gensupport.DecodeResponse(target, res); err != nil {
 27104  		return nil, err
 27105  	}
 27106  	return ret, nil
 27107  }
 27108  
 27109  type ProjectsLocationsAgentsFlowsVersionsGetCall struct {
 27110  	s            *Service
 27111  	name         string
 27112  	urlParams_   gensupport.URLParams
 27113  	ifNoneMatch_ string
 27114  	ctx_         context.Context
 27115  	header_      http.Header
 27116  }
 27117  
 27118  // Get: Retrieves the specified Version.
 27119  //
 27120  //   - name: The name of the Version. Format:
 27121  //     `projects//locations//agents//flows//versions/`.
 27122  func (r *ProjectsLocationsAgentsFlowsVersionsService) Get(name string) *ProjectsLocationsAgentsFlowsVersionsGetCall {
 27123  	c := &ProjectsLocationsAgentsFlowsVersionsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 27124  	c.name = name
 27125  	return c
 27126  }
 27127  
 27128  // Fields allows partial responses to be retrieved. See
 27129  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 27130  // details.
 27131  func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsGetCall {
 27132  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 27133  	return c
 27134  }
 27135  
 27136  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 27137  // object's ETag matches the given value. This is useful for getting updates
 27138  // only after the object has changed since the last request.
 27139  func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsVersionsGetCall {
 27140  	c.ifNoneMatch_ = entityTag
 27141  	return c
 27142  }
 27143  
 27144  // Context sets the context to be used in this call's Do method.
 27145  func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsGetCall {
 27146  	c.ctx_ = ctx
 27147  	return c
 27148  }
 27149  
 27150  // Header returns a http.Header that can be modified by the caller to add
 27151  // headers to the request.
 27152  func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Header() http.Header {
 27153  	if c.header_ == nil {
 27154  		c.header_ = make(http.Header)
 27155  	}
 27156  	return c.header_
 27157  }
 27158  
 27159  func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) doRequest(alt string) (*http.Response, error) {
 27160  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 27161  	if c.ifNoneMatch_ != "" {
 27162  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 27163  	}
 27164  	var body io.Reader = nil
 27165  	c.urlParams_.Set("alt", alt)
 27166  	c.urlParams_.Set("prettyPrint", "false")
 27167  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 27168  	urls += "?" + c.urlParams_.Encode()
 27169  	req, err := http.NewRequest("GET", urls, body)
 27170  	if err != nil {
 27171  		return nil, err
 27172  	}
 27173  	req.Header = reqHeaders
 27174  	googleapi.Expand(req.URL, map[string]string{
 27175  		"name": c.name,
 27176  	})
 27177  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 27178  }
 27179  
 27180  // Do executes the "dialogflow.projects.locations.agents.flows.versions.get" call.
 27181  // Any non-2xx status code is an error. Response headers are in either
 27182  // *GoogleCloudDialogflowCxV3Version.ServerResponse.Header or (if a response
 27183  // was returned at all) in error.(*googleapi.Error).Header. Use
 27184  // googleapi.IsNotModified to check whether the returned error was because
 27185  // http.StatusNotModified was returned.
 27186  func (c *ProjectsLocationsAgentsFlowsVersionsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Version, error) {
 27187  	gensupport.SetOptions(c.urlParams_, opts...)
 27188  	res, err := c.doRequest("json")
 27189  	if res != nil && res.StatusCode == http.StatusNotModified {
 27190  		if res.Body != nil {
 27191  			res.Body.Close()
 27192  		}
 27193  		return nil, gensupport.WrapError(&googleapi.Error{
 27194  			Code:   res.StatusCode,
 27195  			Header: res.Header,
 27196  		})
 27197  	}
 27198  	if err != nil {
 27199  		return nil, err
 27200  	}
 27201  	defer googleapi.CloseBody(res)
 27202  	if err := googleapi.CheckResponse(res); err != nil {
 27203  		return nil, gensupport.WrapError(err)
 27204  	}
 27205  	ret := &GoogleCloudDialogflowCxV3Version{
 27206  		ServerResponse: googleapi.ServerResponse{
 27207  			Header:         res.Header,
 27208  			HTTPStatusCode: res.StatusCode,
 27209  		},
 27210  	}
 27211  	target := &ret
 27212  	if err := gensupport.DecodeResponse(target, res); err != nil {
 27213  		return nil, err
 27214  	}
 27215  	return ret, nil
 27216  }
 27217  
 27218  type ProjectsLocationsAgentsFlowsVersionsListCall struct {
 27219  	s            *Service
 27220  	parent       string
 27221  	urlParams_   gensupport.URLParams
 27222  	ifNoneMatch_ string
 27223  	ctx_         context.Context
 27224  	header_      http.Header
 27225  }
 27226  
 27227  // List: Returns the list of all versions in the specified Flow.
 27228  //
 27229  //   - parent: The Flow to list all versions for. Format:
 27230  //     `projects//locations//agents//flows/`.
 27231  func (r *ProjectsLocationsAgentsFlowsVersionsService) List(parent string) *ProjectsLocationsAgentsFlowsVersionsListCall {
 27232  	c := &ProjectsLocationsAgentsFlowsVersionsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 27233  	c.parent = parent
 27234  	return c
 27235  }
 27236  
 27237  // PageSize sets the optional parameter "pageSize": The maximum number of items
 27238  // to return in a single page. By default 20 and at most 100.
 27239  func (c *ProjectsLocationsAgentsFlowsVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsFlowsVersionsListCall {
 27240  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 27241  	return c
 27242  }
 27243  
 27244  // PageToken sets the optional parameter "pageToken": The next_page_token value
 27245  // returned from a previous list request.
 27246  func (c *ProjectsLocationsAgentsFlowsVersionsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsFlowsVersionsListCall {
 27247  	c.urlParams_.Set("pageToken", pageToken)
 27248  	return c
 27249  }
 27250  
 27251  // Fields allows partial responses to be retrieved. See
 27252  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 27253  // details.
 27254  func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsListCall {
 27255  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 27256  	return c
 27257  }
 27258  
 27259  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 27260  // object's ETag matches the given value. This is useful for getting updates
 27261  // only after the object has changed since the last request.
 27262  func (c *ProjectsLocationsAgentsFlowsVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsFlowsVersionsListCall {
 27263  	c.ifNoneMatch_ = entityTag
 27264  	return c
 27265  }
 27266  
 27267  // Context sets the context to be used in this call's Do method.
 27268  func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsListCall {
 27269  	c.ctx_ = ctx
 27270  	return c
 27271  }
 27272  
 27273  // Header returns a http.Header that can be modified by the caller to add
 27274  // headers to the request.
 27275  func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Header() http.Header {
 27276  	if c.header_ == nil {
 27277  		c.header_ = make(http.Header)
 27278  	}
 27279  	return c.header_
 27280  }
 27281  
 27282  func (c *ProjectsLocationsAgentsFlowsVersionsListCall) doRequest(alt string) (*http.Response, error) {
 27283  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 27284  	if c.ifNoneMatch_ != "" {
 27285  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 27286  	}
 27287  	var body io.Reader = nil
 27288  	c.urlParams_.Set("alt", alt)
 27289  	c.urlParams_.Set("prettyPrint", "false")
 27290  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/versions")
 27291  	urls += "?" + c.urlParams_.Encode()
 27292  	req, err := http.NewRequest("GET", urls, body)
 27293  	if err != nil {
 27294  		return nil, err
 27295  	}
 27296  	req.Header = reqHeaders
 27297  	googleapi.Expand(req.URL, map[string]string{
 27298  		"parent": c.parent,
 27299  	})
 27300  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 27301  }
 27302  
 27303  // Do executes the "dialogflow.projects.locations.agents.flows.versions.list" call.
 27304  // Any non-2xx status code is an error. Response headers are in either
 27305  // *GoogleCloudDialogflowCxV3ListVersionsResponse.ServerResponse.Header or (if
 27306  // a response was returned at all) in error.(*googleapi.Error).Header. Use
 27307  // googleapi.IsNotModified to check whether the returned error was because
 27308  // http.StatusNotModified was returned.
 27309  func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListVersionsResponse, error) {
 27310  	gensupport.SetOptions(c.urlParams_, opts...)
 27311  	res, err := c.doRequest("json")
 27312  	if res != nil && res.StatusCode == http.StatusNotModified {
 27313  		if res.Body != nil {
 27314  			res.Body.Close()
 27315  		}
 27316  		return nil, gensupport.WrapError(&googleapi.Error{
 27317  			Code:   res.StatusCode,
 27318  			Header: res.Header,
 27319  		})
 27320  	}
 27321  	if err != nil {
 27322  		return nil, err
 27323  	}
 27324  	defer googleapi.CloseBody(res)
 27325  	if err := googleapi.CheckResponse(res); err != nil {
 27326  		return nil, gensupport.WrapError(err)
 27327  	}
 27328  	ret := &GoogleCloudDialogflowCxV3ListVersionsResponse{
 27329  		ServerResponse: googleapi.ServerResponse{
 27330  			Header:         res.Header,
 27331  			HTTPStatusCode: res.StatusCode,
 27332  		},
 27333  	}
 27334  	target := &ret
 27335  	if err := gensupport.DecodeResponse(target, res); err != nil {
 27336  		return nil, err
 27337  	}
 27338  	return ret, nil
 27339  }
 27340  
 27341  // Pages invokes f for each page of results.
 27342  // A non-nil error returned from f will halt the iteration.
 27343  // The provided context supersedes any context provided to the Context method.
 27344  func (c *ProjectsLocationsAgentsFlowsVersionsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListVersionsResponse) error) error {
 27345  	c.ctx_ = ctx
 27346  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 27347  	for {
 27348  		x, err := c.Do()
 27349  		if err != nil {
 27350  			return err
 27351  		}
 27352  		if err := f(x); err != nil {
 27353  			return err
 27354  		}
 27355  		if x.NextPageToken == "" {
 27356  			return nil
 27357  		}
 27358  		c.PageToken(x.NextPageToken)
 27359  	}
 27360  }
 27361  
 27362  type ProjectsLocationsAgentsFlowsVersionsLoadCall struct {
 27363  	s                                           *Service
 27364  	name                                        string
 27365  	googleclouddialogflowcxv3loadversionrequest *GoogleCloudDialogflowCxV3LoadVersionRequest
 27366  	urlParams_                                  gensupport.URLParams
 27367  	ctx_                                        context.Context
 27368  	header_                                     http.Header
 27369  }
 27370  
 27371  // Load: Loads resources in the specified version to the draft flow. This
 27372  // method is a long-running operation
 27373  // (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
 27374  // The returned `Operation` type has the following method-specific fields: -
 27375  // `metadata`: An empty Struct message
 27376  // (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#struct)
 27377  // - `response`: An Empty message
 27378  // (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#empty)
 27379  //
 27380  //   - name: The Version to be loaded to draft flow. Format:
 27381  //     `projects//locations//agents//flows//versions/`.
 27382  func (r *ProjectsLocationsAgentsFlowsVersionsService) Load(name string, googleclouddialogflowcxv3loadversionrequest *GoogleCloudDialogflowCxV3LoadVersionRequest) *ProjectsLocationsAgentsFlowsVersionsLoadCall {
 27383  	c := &ProjectsLocationsAgentsFlowsVersionsLoadCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 27384  	c.name = name
 27385  	c.googleclouddialogflowcxv3loadversionrequest = googleclouddialogflowcxv3loadversionrequest
 27386  	return c
 27387  }
 27388  
 27389  // Fields allows partial responses to be retrieved. See
 27390  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 27391  // details.
 27392  func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsLoadCall {
 27393  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 27394  	return c
 27395  }
 27396  
 27397  // Context sets the context to be used in this call's Do method.
 27398  func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsLoadCall {
 27399  	c.ctx_ = ctx
 27400  	return c
 27401  }
 27402  
 27403  // Header returns a http.Header that can be modified by the caller to add
 27404  // headers to the request.
 27405  func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Header() http.Header {
 27406  	if c.header_ == nil {
 27407  		c.header_ = make(http.Header)
 27408  	}
 27409  	return c.header_
 27410  }
 27411  
 27412  func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) doRequest(alt string) (*http.Response, error) {
 27413  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 27414  	var body io.Reader = nil
 27415  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3loadversionrequest)
 27416  	if err != nil {
 27417  		return nil, err
 27418  	}
 27419  	c.urlParams_.Set("alt", alt)
 27420  	c.urlParams_.Set("prettyPrint", "false")
 27421  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:load")
 27422  	urls += "?" + c.urlParams_.Encode()
 27423  	req, err := http.NewRequest("POST", urls, body)
 27424  	if err != nil {
 27425  		return nil, err
 27426  	}
 27427  	req.Header = reqHeaders
 27428  	googleapi.Expand(req.URL, map[string]string{
 27429  		"name": c.name,
 27430  	})
 27431  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 27432  }
 27433  
 27434  // Do executes the "dialogflow.projects.locations.agents.flows.versions.load" call.
 27435  // Any non-2xx status code is an error. Response headers are in either
 27436  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 27437  // returned at all) in error.(*googleapi.Error).Header. Use
 27438  // googleapi.IsNotModified to check whether the returned error was because
 27439  // http.StatusNotModified was returned.
 27440  func (c *ProjectsLocationsAgentsFlowsVersionsLoadCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 27441  	gensupport.SetOptions(c.urlParams_, opts...)
 27442  	res, err := c.doRequest("json")
 27443  	if res != nil && res.StatusCode == http.StatusNotModified {
 27444  		if res.Body != nil {
 27445  			res.Body.Close()
 27446  		}
 27447  		return nil, gensupport.WrapError(&googleapi.Error{
 27448  			Code:   res.StatusCode,
 27449  			Header: res.Header,
 27450  		})
 27451  	}
 27452  	if err != nil {
 27453  		return nil, err
 27454  	}
 27455  	defer googleapi.CloseBody(res)
 27456  	if err := googleapi.CheckResponse(res); err != nil {
 27457  		return nil, gensupport.WrapError(err)
 27458  	}
 27459  	ret := &GoogleLongrunningOperation{
 27460  		ServerResponse: googleapi.ServerResponse{
 27461  			Header:         res.Header,
 27462  			HTTPStatusCode: res.StatusCode,
 27463  		},
 27464  	}
 27465  	target := &ret
 27466  	if err := gensupport.DecodeResponse(target, res); err != nil {
 27467  		return nil, err
 27468  	}
 27469  	return ret, nil
 27470  }
 27471  
 27472  type ProjectsLocationsAgentsFlowsVersionsPatchCall struct {
 27473  	s                                *Service
 27474  	name                             string
 27475  	googleclouddialogflowcxv3version *GoogleCloudDialogflowCxV3Version
 27476  	urlParams_                       gensupport.URLParams
 27477  	ctx_                             context.Context
 27478  	header_                          http.Header
 27479  }
 27480  
 27481  // Patch: Updates the specified Version.
 27482  //
 27483  //   - name: Format: projects//locations//agents//flows//versions/. Version ID is
 27484  //     a self-increasing number generated by Dialogflow upon version creation.
 27485  func (r *ProjectsLocationsAgentsFlowsVersionsService) Patch(name string, googleclouddialogflowcxv3version *GoogleCloudDialogflowCxV3Version) *ProjectsLocationsAgentsFlowsVersionsPatchCall {
 27486  	c := &ProjectsLocationsAgentsFlowsVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 27487  	c.name = name
 27488  	c.googleclouddialogflowcxv3version = googleclouddialogflowcxv3version
 27489  	return c
 27490  }
 27491  
 27492  // UpdateMask sets the optional parameter "updateMask": Required. The mask to
 27493  // control which fields get updated. Currently only `description` and
 27494  // `display_name` can be updated.
 27495  func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsFlowsVersionsPatchCall {
 27496  	c.urlParams_.Set("updateMask", updateMask)
 27497  	return c
 27498  }
 27499  
 27500  // Fields allows partial responses to be retrieved. See
 27501  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 27502  // details.
 27503  func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsFlowsVersionsPatchCall {
 27504  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 27505  	return c
 27506  }
 27507  
 27508  // Context sets the context to be used in this call's Do method.
 27509  func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsFlowsVersionsPatchCall {
 27510  	c.ctx_ = ctx
 27511  	return c
 27512  }
 27513  
 27514  // Header returns a http.Header that can be modified by the caller to add
 27515  // headers to the request.
 27516  func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Header() http.Header {
 27517  	if c.header_ == nil {
 27518  		c.header_ = make(http.Header)
 27519  	}
 27520  	return c.header_
 27521  }
 27522  
 27523  func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) doRequest(alt string) (*http.Response, error) {
 27524  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 27525  	var body io.Reader = nil
 27526  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3version)
 27527  	if err != nil {
 27528  		return nil, err
 27529  	}
 27530  	c.urlParams_.Set("alt", alt)
 27531  	c.urlParams_.Set("prettyPrint", "false")
 27532  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 27533  	urls += "?" + c.urlParams_.Encode()
 27534  	req, err := http.NewRequest("PATCH", urls, body)
 27535  	if err != nil {
 27536  		return nil, err
 27537  	}
 27538  	req.Header = reqHeaders
 27539  	googleapi.Expand(req.URL, map[string]string{
 27540  		"name": c.name,
 27541  	})
 27542  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 27543  }
 27544  
 27545  // Do executes the "dialogflow.projects.locations.agents.flows.versions.patch" call.
 27546  // Any non-2xx status code is an error. Response headers are in either
 27547  // *GoogleCloudDialogflowCxV3Version.ServerResponse.Header or (if a response
 27548  // was returned at all) in error.(*googleapi.Error).Header. Use
 27549  // googleapi.IsNotModified to check whether the returned error was because
 27550  // http.StatusNotModified was returned.
 27551  func (c *ProjectsLocationsAgentsFlowsVersionsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Version, error) {
 27552  	gensupport.SetOptions(c.urlParams_, opts...)
 27553  	res, err := c.doRequest("json")
 27554  	if res != nil && res.StatusCode == http.StatusNotModified {
 27555  		if res.Body != nil {
 27556  			res.Body.Close()
 27557  		}
 27558  		return nil, gensupport.WrapError(&googleapi.Error{
 27559  			Code:   res.StatusCode,
 27560  			Header: res.Header,
 27561  		})
 27562  	}
 27563  	if err != nil {
 27564  		return nil, err
 27565  	}
 27566  	defer googleapi.CloseBody(res)
 27567  	if err := googleapi.CheckResponse(res); err != nil {
 27568  		return nil, gensupport.WrapError(err)
 27569  	}
 27570  	ret := &GoogleCloudDialogflowCxV3Version{
 27571  		ServerResponse: googleapi.ServerResponse{
 27572  			Header:         res.Header,
 27573  			HTTPStatusCode: res.StatusCode,
 27574  		},
 27575  	}
 27576  	target := &ret
 27577  	if err := gensupport.DecodeResponse(target, res); err != nil {
 27578  		return nil, err
 27579  	}
 27580  	return ret, nil
 27581  }
 27582  
 27583  type ProjectsLocationsAgentsGeneratorsCreateCall struct {
 27584  	s                                  *Service
 27585  	parent                             string
 27586  	googleclouddialogflowcxv3generator *GoogleCloudDialogflowCxV3Generator
 27587  	urlParams_                         gensupport.URLParams
 27588  	ctx_                               context.Context
 27589  	header_                            http.Header
 27590  }
 27591  
 27592  // Create: Creates a generator in the specified agent.
 27593  //
 27594  //   - parent: The agent to create a generator for. Format:
 27595  //     `projects//locations//agents/`.
 27596  func (r *ProjectsLocationsAgentsGeneratorsService) Create(parent string, googleclouddialogflowcxv3generator *GoogleCloudDialogflowCxV3Generator) *ProjectsLocationsAgentsGeneratorsCreateCall {
 27597  	c := &ProjectsLocationsAgentsGeneratorsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 27598  	c.parent = parent
 27599  	c.googleclouddialogflowcxv3generator = googleclouddialogflowcxv3generator
 27600  	return c
 27601  }
 27602  
 27603  // LanguageCode sets the optional parameter "languageCode": The language to
 27604  // create generators for the following fields: * `Generator.prompt_text.text`
 27605  // If not specified, the agent's default language is used.
 27606  func (c *ProjectsLocationsAgentsGeneratorsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsGeneratorsCreateCall {
 27607  	c.urlParams_.Set("languageCode", languageCode)
 27608  	return c
 27609  }
 27610  
 27611  // Fields allows partial responses to be retrieved. See
 27612  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 27613  // details.
 27614  func (c *ProjectsLocationsAgentsGeneratorsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsGeneratorsCreateCall {
 27615  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 27616  	return c
 27617  }
 27618  
 27619  // Context sets the context to be used in this call's Do method.
 27620  func (c *ProjectsLocationsAgentsGeneratorsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsGeneratorsCreateCall {
 27621  	c.ctx_ = ctx
 27622  	return c
 27623  }
 27624  
 27625  // Header returns a http.Header that can be modified by the caller to add
 27626  // headers to the request.
 27627  func (c *ProjectsLocationsAgentsGeneratorsCreateCall) Header() http.Header {
 27628  	if c.header_ == nil {
 27629  		c.header_ = make(http.Header)
 27630  	}
 27631  	return c.header_
 27632  }
 27633  
 27634  func (c *ProjectsLocationsAgentsGeneratorsCreateCall) doRequest(alt string) (*http.Response, error) {
 27635  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 27636  	var body io.Reader = nil
 27637  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3generator)
 27638  	if err != nil {
 27639  		return nil, err
 27640  	}
 27641  	c.urlParams_.Set("alt", alt)
 27642  	c.urlParams_.Set("prettyPrint", "false")
 27643  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/generators")
 27644  	urls += "?" + c.urlParams_.Encode()
 27645  	req, err := http.NewRequest("POST", urls, body)
 27646  	if err != nil {
 27647  		return nil, err
 27648  	}
 27649  	req.Header = reqHeaders
 27650  	googleapi.Expand(req.URL, map[string]string{
 27651  		"parent": c.parent,
 27652  	})
 27653  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 27654  }
 27655  
 27656  // Do executes the "dialogflow.projects.locations.agents.generators.create" call.
 27657  // Any non-2xx status code is an error. Response headers are in either
 27658  // *GoogleCloudDialogflowCxV3Generator.ServerResponse.Header or (if a response
 27659  // was returned at all) in error.(*googleapi.Error).Header. Use
 27660  // googleapi.IsNotModified to check whether the returned error was because
 27661  // http.StatusNotModified was returned.
 27662  func (c *ProjectsLocationsAgentsGeneratorsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Generator, error) {
 27663  	gensupport.SetOptions(c.urlParams_, opts...)
 27664  	res, err := c.doRequest("json")
 27665  	if res != nil && res.StatusCode == http.StatusNotModified {
 27666  		if res.Body != nil {
 27667  			res.Body.Close()
 27668  		}
 27669  		return nil, gensupport.WrapError(&googleapi.Error{
 27670  			Code:   res.StatusCode,
 27671  			Header: res.Header,
 27672  		})
 27673  	}
 27674  	if err != nil {
 27675  		return nil, err
 27676  	}
 27677  	defer googleapi.CloseBody(res)
 27678  	if err := googleapi.CheckResponse(res); err != nil {
 27679  		return nil, gensupport.WrapError(err)
 27680  	}
 27681  	ret := &GoogleCloudDialogflowCxV3Generator{
 27682  		ServerResponse: googleapi.ServerResponse{
 27683  			Header:         res.Header,
 27684  			HTTPStatusCode: res.StatusCode,
 27685  		},
 27686  	}
 27687  	target := &ret
 27688  	if err := gensupport.DecodeResponse(target, res); err != nil {
 27689  		return nil, err
 27690  	}
 27691  	return ret, nil
 27692  }
 27693  
 27694  type ProjectsLocationsAgentsGeneratorsDeleteCall struct {
 27695  	s          *Service
 27696  	name       string
 27697  	urlParams_ gensupport.URLParams
 27698  	ctx_       context.Context
 27699  	header_    http.Header
 27700  }
 27701  
 27702  // Delete: Deletes the specified generators.
 27703  //
 27704  //   - name: The name of the generator to delete. Format:
 27705  //     `projects//locations//agents//generators/`.
 27706  func (r *ProjectsLocationsAgentsGeneratorsService) Delete(name string) *ProjectsLocationsAgentsGeneratorsDeleteCall {
 27707  	c := &ProjectsLocationsAgentsGeneratorsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 27708  	c.name = name
 27709  	return c
 27710  }
 27711  
 27712  // Force sets the optional parameter "force": This field has no effect for
 27713  // generators not being used. For generators that are used by
 27714  // pages/flows/transition route groups: * If `force` is set to false, an error
 27715  // will be returned with message indicating the referenced resources. * If
 27716  // `force` is set to true, Dialogflow will remove the generator, as well as any
 27717  // references to the generator (i.e. Generator) in fulfillments.
 27718  func (c *ProjectsLocationsAgentsGeneratorsDeleteCall) Force(force bool) *ProjectsLocationsAgentsGeneratorsDeleteCall {
 27719  	c.urlParams_.Set("force", fmt.Sprint(force))
 27720  	return c
 27721  }
 27722  
 27723  // Fields allows partial responses to be retrieved. See
 27724  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 27725  // details.
 27726  func (c *ProjectsLocationsAgentsGeneratorsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsGeneratorsDeleteCall {
 27727  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 27728  	return c
 27729  }
 27730  
 27731  // Context sets the context to be used in this call's Do method.
 27732  func (c *ProjectsLocationsAgentsGeneratorsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsGeneratorsDeleteCall {
 27733  	c.ctx_ = ctx
 27734  	return c
 27735  }
 27736  
 27737  // Header returns a http.Header that can be modified by the caller to add
 27738  // headers to the request.
 27739  func (c *ProjectsLocationsAgentsGeneratorsDeleteCall) Header() http.Header {
 27740  	if c.header_ == nil {
 27741  		c.header_ = make(http.Header)
 27742  	}
 27743  	return c.header_
 27744  }
 27745  
 27746  func (c *ProjectsLocationsAgentsGeneratorsDeleteCall) doRequest(alt string) (*http.Response, error) {
 27747  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 27748  	var body io.Reader = nil
 27749  	c.urlParams_.Set("alt", alt)
 27750  	c.urlParams_.Set("prettyPrint", "false")
 27751  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 27752  	urls += "?" + c.urlParams_.Encode()
 27753  	req, err := http.NewRequest("DELETE", urls, body)
 27754  	if err != nil {
 27755  		return nil, err
 27756  	}
 27757  	req.Header = reqHeaders
 27758  	googleapi.Expand(req.URL, map[string]string{
 27759  		"name": c.name,
 27760  	})
 27761  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 27762  }
 27763  
 27764  // Do executes the "dialogflow.projects.locations.agents.generators.delete" call.
 27765  // Any non-2xx status code is an error. Response headers are in either
 27766  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 27767  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 27768  // check whether the returned error was because http.StatusNotModified was
 27769  // returned.
 27770  func (c *ProjectsLocationsAgentsGeneratorsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 27771  	gensupport.SetOptions(c.urlParams_, opts...)
 27772  	res, err := c.doRequest("json")
 27773  	if res != nil && res.StatusCode == http.StatusNotModified {
 27774  		if res.Body != nil {
 27775  			res.Body.Close()
 27776  		}
 27777  		return nil, gensupport.WrapError(&googleapi.Error{
 27778  			Code:   res.StatusCode,
 27779  			Header: res.Header,
 27780  		})
 27781  	}
 27782  	if err != nil {
 27783  		return nil, err
 27784  	}
 27785  	defer googleapi.CloseBody(res)
 27786  	if err := googleapi.CheckResponse(res); err != nil {
 27787  		return nil, gensupport.WrapError(err)
 27788  	}
 27789  	ret := &GoogleProtobufEmpty{
 27790  		ServerResponse: googleapi.ServerResponse{
 27791  			Header:         res.Header,
 27792  			HTTPStatusCode: res.StatusCode,
 27793  		},
 27794  	}
 27795  	target := &ret
 27796  	if err := gensupport.DecodeResponse(target, res); err != nil {
 27797  		return nil, err
 27798  	}
 27799  	return ret, nil
 27800  }
 27801  
 27802  type ProjectsLocationsAgentsGeneratorsGetCall struct {
 27803  	s            *Service
 27804  	name         string
 27805  	urlParams_   gensupport.URLParams
 27806  	ifNoneMatch_ string
 27807  	ctx_         context.Context
 27808  	header_      http.Header
 27809  }
 27810  
 27811  // Get: Retrieves the specified generator.
 27812  //
 27813  //   - name: The name of the generator. Format:
 27814  //     `projects//locations//agents//generators/`.
 27815  func (r *ProjectsLocationsAgentsGeneratorsService) Get(name string) *ProjectsLocationsAgentsGeneratorsGetCall {
 27816  	c := &ProjectsLocationsAgentsGeneratorsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 27817  	c.name = name
 27818  	return c
 27819  }
 27820  
 27821  // LanguageCode sets the optional parameter "languageCode": The language to
 27822  // list generators for.
 27823  func (c *ProjectsLocationsAgentsGeneratorsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsGeneratorsGetCall {
 27824  	c.urlParams_.Set("languageCode", languageCode)
 27825  	return c
 27826  }
 27827  
 27828  // Fields allows partial responses to be retrieved. See
 27829  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 27830  // details.
 27831  func (c *ProjectsLocationsAgentsGeneratorsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsGeneratorsGetCall {
 27832  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 27833  	return c
 27834  }
 27835  
 27836  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 27837  // object's ETag matches the given value. This is useful for getting updates
 27838  // only after the object has changed since the last request.
 27839  func (c *ProjectsLocationsAgentsGeneratorsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsGeneratorsGetCall {
 27840  	c.ifNoneMatch_ = entityTag
 27841  	return c
 27842  }
 27843  
 27844  // Context sets the context to be used in this call's Do method.
 27845  func (c *ProjectsLocationsAgentsGeneratorsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsGeneratorsGetCall {
 27846  	c.ctx_ = ctx
 27847  	return c
 27848  }
 27849  
 27850  // Header returns a http.Header that can be modified by the caller to add
 27851  // headers to the request.
 27852  func (c *ProjectsLocationsAgentsGeneratorsGetCall) Header() http.Header {
 27853  	if c.header_ == nil {
 27854  		c.header_ = make(http.Header)
 27855  	}
 27856  	return c.header_
 27857  }
 27858  
 27859  func (c *ProjectsLocationsAgentsGeneratorsGetCall) doRequest(alt string) (*http.Response, error) {
 27860  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 27861  	if c.ifNoneMatch_ != "" {
 27862  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 27863  	}
 27864  	var body io.Reader = nil
 27865  	c.urlParams_.Set("alt", alt)
 27866  	c.urlParams_.Set("prettyPrint", "false")
 27867  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 27868  	urls += "?" + c.urlParams_.Encode()
 27869  	req, err := http.NewRequest("GET", urls, body)
 27870  	if err != nil {
 27871  		return nil, err
 27872  	}
 27873  	req.Header = reqHeaders
 27874  	googleapi.Expand(req.URL, map[string]string{
 27875  		"name": c.name,
 27876  	})
 27877  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 27878  }
 27879  
 27880  // Do executes the "dialogflow.projects.locations.agents.generators.get" call.
 27881  // Any non-2xx status code is an error. Response headers are in either
 27882  // *GoogleCloudDialogflowCxV3Generator.ServerResponse.Header or (if a response
 27883  // was returned at all) in error.(*googleapi.Error).Header. Use
 27884  // googleapi.IsNotModified to check whether the returned error was because
 27885  // http.StatusNotModified was returned.
 27886  func (c *ProjectsLocationsAgentsGeneratorsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Generator, error) {
 27887  	gensupport.SetOptions(c.urlParams_, opts...)
 27888  	res, err := c.doRequest("json")
 27889  	if res != nil && res.StatusCode == http.StatusNotModified {
 27890  		if res.Body != nil {
 27891  			res.Body.Close()
 27892  		}
 27893  		return nil, gensupport.WrapError(&googleapi.Error{
 27894  			Code:   res.StatusCode,
 27895  			Header: res.Header,
 27896  		})
 27897  	}
 27898  	if err != nil {
 27899  		return nil, err
 27900  	}
 27901  	defer googleapi.CloseBody(res)
 27902  	if err := googleapi.CheckResponse(res); err != nil {
 27903  		return nil, gensupport.WrapError(err)
 27904  	}
 27905  	ret := &GoogleCloudDialogflowCxV3Generator{
 27906  		ServerResponse: googleapi.ServerResponse{
 27907  			Header:         res.Header,
 27908  			HTTPStatusCode: res.StatusCode,
 27909  		},
 27910  	}
 27911  	target := &ret
 27912  	if err := gensupport.DecodeResponse(target, res); err != nil {
 27913  		return nil, err
 27914  	}
 27915  	return ret, nil
 27916  }
 27917  
 27918  type ProjectsLocationsAgentsGeneratorsListCall struct {
 27919  	s            *Service
 27920  	parent       string
 27921  	urlParams_   gensupport.URLParams
 27922  	ifNoneMatch_ string
 27923  	ctx_         context.Context
 27924  	header_      http.Header
 27925  }
 27926  
 27927  // List: Returns the list of all generators in the specified agent.
 27928  //
 27929  //   - parent: The agent to list all generators for. Format:
 27930  //     `projects//locations//agents/`.
 27931  func (r *ProjectsLocationsAgentsGeneratorsService) List(parent string) *ProjectsLocationsAgentsGeneratorsListCall {
 27932  	c := &ProjectsLocationsAgentsGeneratorsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 27933  	c.parent = parent
 27934  	return c
 27935  }
 27936  
 27937  // LanguageCode sets the optional parameter "languageCode": The language to
 27938  // list generators for.
 27939  func (c *ProjectsLocationsAgentsGeneratorsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsGeneratorsListCall {
 27940  	c.urlParams_.Set("languageCode", languageCode)
 27941  	return c
 27942  }
 27943  
 27944  // PageSize sets the optional parameter "pageSize": The maximum number of items
 27945  // to return in a single page. By default 100 and at most 1000.
 27946  func (c *ProjectsLocationsAgentsGeneratorsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsGeneratorsListCall {
 27947  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 27948  	return c
 27949  }
 27950  
 27951  // PageToken sets the optional parameter "pageToken": The next_page_token value
 27952  // returned from a previous list request.
 27953  func (c *ProjectsLocationsAgentsGeneratorsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsGeneratorsListCall {
 27954  	c.urlParams_.Set("pageToken", pageToken)
 27955  	return c
 27956  }
 27957  
 27958  // Fields allows partial responses to be retrieved. See
 27959  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 27960  // details.
 27961  func (c *ProjectsLocationsAgentsGeneratorsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsGeneratorsListCall {
 27962  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 27963  	return c
 27964  }
 27965  
 27966  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 27967  // object's ETag matches the given value. This is useful for getting updates
 27968  // only after the object has changed since the last request.
 27969  func (c *ProjectsLocationsAgentsGeneratorsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsGeneratorsListCall {
 27970  	c.ifNoneMatch_ = entityTag
 27971  	return c
 27972  }
 27973  
 27974  // Context sets the context to be used in this call's Do method.
 27975  func (c *ProjectsLocationsAgentsGeneratorsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsGeneratorsListCall {
 27976  	c.ctx_ = ctx
 27977  	return c
 27978  }
 27979  
 27980  // Header returns a http.Header that can be modified by the caller to add
 27981  // headers to the request.
 27982  func (c *ProjectsLocationsAgentsGeneratorsListCall) Header() http.Header {
 27983  	if c.header_ == nil {
 27984  		c.header_ = make(http.Header)
 27985  	}
 27986  	return c.header_
 27987  }
 27988  
 27989  func (c *ProjectsLocationsAgentsGeneratorsListCall) doRequest(alt string) (*http.Response, error) {
 27990  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 27991  	if c.ifNoneMatch_ != "" {
 27992  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 27993  	}
 27994  	var body io.Reader = nil
 27995  	c.urlParams_.Set("alt", alt)
 27996  	c.urlParams_.Set("prettyPrint", "false")
 27997  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/generators")
 27998  	urls += "?" + c.urlParams_.Encode()
 27999  	req, err := http.NewRequest("GET", urls, body)
 28000  	if err != nil {
 28001  		return nil, err
 28002  	}
 28003  	req.Header = reqHeaders
 28004  	googleapi.Expand(req.URL, map[string]string{
 28005  		"parent": c.parent,
 28006  	})
 28007  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 28008  }
 28009  
 28010  // Do executes the "dialogflow.projects.locations.agents.generators.list" call.
 28011  // Any non-2xx status code is an error. Response headers are in either
 28012  // *GoogleCloudDialogflowCxV3ListGeneratorsResponse.ServerResponse.Header or
 28013  // (if a response was returned at all) in error.(*googleapi.Error).Header. Use
 28014  // googleapi.IsNotModified to check whether the returned error was because
 28015  // http.StatusNotModified was returned.
 28016  func (c *ProjectsLocationsAgentsGeneratorsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListGeneratorsResponse, error) {
 28017  	gensupport.SetOptions(c.urlParams_, opts...)
 28018  	res, err := c.doRequest("json")
 28019  	if res != nil && res.StatusCode == http.StatusNotModified {
 28020  		if res.Body != nil {
 28021  			res.Body.Close()
 28022  		}
 28023  		return nil, gensupport.WrapError(&googleapi.Error{
 28024  			Code:   res.StatusCode,
 28025  			Header: res.Header,
 28026  		})
 28027  	}
 28028  	if err != nil {
 28029  		return nil, err
 28030  	}
 28031  	defer googleapi.CloseBody(res)
 28032  	if err := googleapi.CheckResponse(res); err != nil {
 28033  		return nil, gensupport.WrapError(err)
 28034  	}
 28035  	ret := &GoogleCloudDialogflowCxV3ListGeneratorsResponse{
 28036  		ServerResponse: googleapi.ServerResponse{
 28037  			Header:         res.Header,
 28038  			HTTPStatusCode: res.StatusCode,
 28039  		},
 28040  	}
 28041  	target := &ret
 28042  	if err := gensupport.DecodeResponse(target, res); err != nil {
 28043  		return nil, err
 28044  	}
 28045  	return ret, nil
 28046  }
 28047  
 28048  // Pages invokes f for each page of results.
 28049  // A non-nil error returned from f will halt the iteration.
 28050  // The provided context supersedes any context provided to the Context method.
 28051  func (c *ProjectsLocationsAgentsGeneratorsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListGeneratorsResponse) error) error {
 28052  	c.ctx_ = ctx
 28053  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 28054  	for {
 28055  		x, err := c.Do()
 28056  		if err != nil {
 28057  			return err
 28058  		}
 28059  		if err := f(x); err != nil {
 28060  			return err
 28061  		}
 28062  		if x.NextPageToken == "" {
 28063  			return nil
 28064  		}
 28065  		c.PageToken(x.NextPageToken)
 28066  	}
 28067  }
 28068  
 28069  type ProjectsLocationsAgentsGeneratorsPatchCall struct {
 28070  	s                                  *Service
 28071  	nameid                             string
 28072  	googleclouddialogflowcxv3generator *GoogleCloudDialogflowCxV3Generator
 28073  	urlParams_                         gensupport.URLParams
 28074  	ctx_                               context.Context
 28075  	header_                            http.Header
 28076  }
 28077  
 28078  // Patch: Update the specified generator.
 28079  //
 28080  //   - name: The unique identifier of the generator. Must be set for the
 28081  //     Generators.UpdateGenerator method. Generators.CreateGenerate populates the
 28082  //     name automatically. Format: `projects//locations//agents//generators/`.
 28083  func (r *ProjectsLocationsAgentsGeneratorsService) Patch(nameid string, googleclouddialogflowcxv3generator *GoogleCloudDialogflowCxV3Generator) *ProjectsLocationsAgentsGeneratorsPatchCall {
 28084  	c := &ProjectsLocationsAgentsGeneratorsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 28085  	c.nameid = nameid
 28086  	c.googleclouddialogflowcxv3generator = googleclouddialogflowcxv3generator
 28087  	return c
 28088  }
 28089  
 28090  // LanguageCode sets the optional parameter "languageCode": The language to
 28091  // list generators for.
 28092  func (c *ProjectsLocationsAgentsGeneratorsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsGeneratorsPatchCall {
 28093  	c.urlParams_.Set("languageCode", languageCode)
 28094  	return c
 28095  }
 28096  
 28097  // UpdateMask sets the optional parameter "updateMask": The mask to control
 28098  // which fields get updated. If the mask is not present, all fields will be
 28099  // updated.
 28100  func (c *ProjectsLocationsAgentsGeneratorsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsGeneratorsPatchCall {
 28101  	c.urlParams_.Set("updateMask", updateMask)
 28102  	return c
 28103  }
 28104  
 28105  // Fields allows partial responses to be retrieved. See
 28106  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 28107  // details.
 28108  func (c *ProjectsLocationsAgentsGeneratorsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsGeneratorsPatchCall {
 28109  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 28110  	return c
 28111  }
 28112  
 28113  // Context sets the context to be used in this call's Do method.
 28114  func (c *ProjectsLocationsAgentsGeneratorsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsGeneratorsPatchCall {
 28115  	c.ctx_ = ctx
 28116  	return c
 28117  }
 28118  
 28119  // Header returns a http.Header that can be modified by the caller to add
 28120  // headers to the request.
 28121  func (c *ProjectsLocationsAgentsGeneratorsPatchCall) Header() http.Header {
 28122  	if c.header_ == nil {
 28123  		c.header_ = make(http.Header)
 28124  	}
 28125  	return c.header_
 28126  }
 28127  
 28128  func (c *ProjectsLocationsAgentsGeneratorsPatchCall) doRequest(alt string) (*http.Response, error) {
 28129  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 28130  	var body io.Reader = nil
 28131  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3generator)
 28132  	if err != nil {
 28133  		return nil, err
 28134  	}
 28135  	c.urlParams_.Set("alt", alt)
 28136  	c.urlParams_.Set("prettyPrint", "false")
 28137  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 28138  	urls += "?" + c.urlParams_.Encode()
 28139  	req, err := http.NewRequest("PATCH", urls, body)
 28140  	if err != nil {
 28141  		return nil, err
 28142  	}
 28143  	req.Header = reqHeaders
 28144  	googleapi.Expand(req.URL, map[string]string{
 28145  		"name": c.nameid,
 28146  	})
 28147  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 28148  }
 28149  
 28150  // Do executes the "dialogflow.projects.locations.agents.generators.patch" call.
 28151  // Any non-2xx status code is an error. Response headers are in either
 28152  // *GoogleCloudDialogflowCxV3Generator.ServerResponse.Header or (if a response
 28153  // was returned at all) in error.(*googleapi.Error).Header. Use
 28154  // googleapi.IsNotModified to check whether the returned error was because
 28155  // http.StatusNotModified was returned.
 28156  func (c *ProjectsLocationsAgentsGeneratorsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Generator, error) {
 28157  	gensupport.SetOptions(c.urlParams_, opts...)
 28158  	res, err := c.doRequest("json")
 28159  	if res != nil && res.StatusCode == http.StatusNotModified {
 28160  		if res.Body != nil {
 28161  			res.Body.Close()
 28162  		}
 28163  		return nil, gensupport.WrapError(&googleapi.Error{
 28164  			Code:   res.StatusCode,
 28165  			Header: res.Header,
 28166  		})
 28167  	}
 28168  	if err != nil {
 28169  		return nil, err
 28170  	}
 28171  	defer googleapi.CloseBody(res)
 28172  	if err := googleapi.CheckResponse(res); err != nil {
 28173  		return nil, gensupport.WrapError(err)
 28174  	}
 28175  	ret := &GoogleCloudDialogflowCxV3Generator{
 28176  		ServerResponse: googleapi.ServerResponse{
 28177  			Header:         res.Header,
 28178  			HTTPStatusCode: res.StatusCode,
 28179  		},
 28180  	}
 28181  	target := &ret
 28182  	if err := gensupport.DecodeResponse(target, res); err != nil {
 28183  		return nil, err
 28184  	}
 28185  	return ret, nil
 28186  }
 28187  
 28188  type ProjectsLocationsAgentsIntentsCreateCall struct {
 28189  	s                               *Service
 28190  	parent                          string
 28191  	googleclouddialogflowcxv3intent *GoogleCloudDialogflowCxV3Intent
 28192  	urlParams_                      gensupport.URLParams
 28193  	ctx_                            context.Context
 28194  	header_                         http.Header
 28195  }
 28196  
 28197  // Create: Creates an intent in the specified agent. Note: You should always
 28198  // train a flow prior to sending it queries. See the training documentation
 28199  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 28200  //
 28201  //   - parent: The agent to create an intent for. Format:
 28202  //     `projects//locations//agents/`.
 28203  func (r *ProjectsLocationsAgentsIntentsService) Create(parent string, googleclouddialogflowcxv3intent *GoogleCloudDialogflowCxV3Intent) *ProjectsLocationsAgentsIntentsCreateCall {
 28204  	c := &ProjectsLocationsAgentsIntentsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 28205  	c.parent = parent
 28206  	c.googleclouddialogflowcxv3intent = googleclouddialogflowcxv3intent
 28207  	return c
 28208  }
 28209  
 28210  // LanguageCode sets the optional parameter "languageCode": The language of the
 28211  // following fields in `intent`: * `Intent.training_phrases.parts.text` If not
 28212  // specified, the agent's default language is used. Many languages
 28213  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 28214  // supported. Note: languages must be enabled in the agent before they can be
 28215  // used.
 28216  func (c *ProjectsLocationsAgentsIntentsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsCreateCall {
 28217  	c.urlParams_.Set("languageCode", languageCode)
 28218  	return c
 28219  }
 28220  
 28221  // Fields allows partial responses to be retrieved. See
 28222  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 28223  // details.
 28224  func (c *ProjectsLocationsAgentsIntentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsCreateCall {
 28225  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 28226  	return c
 28227  }
 28228  
 28229  // Context sets the context to be used in this call's Do method.
 28230  func (c *ProjectsLocationsAgentsIntentsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsCreateCall {
 28231  	c.ctx_ = ctx
 28232  	return c
 28233  }
 28234  
 28235  // Header returns a http.Header that can be modified by the caller to add
 28236  // headers to the request.
 28237  func (c *ProjectsLocationsAgentsIntentsCreateCall) Header() http.Header {
 28238  	if c.header_ == nil {
 28239  		c.header_ = make(http.Header)
 28240  	}
 28241  	return c.header_
 28242  }
 28243  
 28244  func (c *ProjectsLocationsAgentsIntentsCreateCall) doRequest(alt string) (*http.Response, error) {
 28245  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 28246  	var body io.Reader = nil
 28247  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3intent)
 28248  	if err != nil {
 28249  		return nil, err
 28250  	}
 28251  	c.urlParams_.Set("alt", alt)
 28252  	c.urlParams_.Set("prettyPrint", "false")
 28253  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/intents")
 28254  	urls += "?" + c.urlParams_.Encode()
 28255  	req, err := http.NewRequest("POST", urls, body)
 28256  	if err != nil {
 28257  		return nil, err
 28258  	}
 28259  	req.Header = reqHeaders
 28260  	googleapi.Expand(req.URL, map[string]string{
 28261  		"parent": c.parent,
 28262  	})
 28263  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 28264  }
 28265  
 28266  // Do executes the "dialogflow.projects.locations.agents.intents.create" call.
 28267  // Any non-2xx status code is an error. Response headers are in either
 28268  // *GoogleCloudDialogflowCxV3Intent.ServerResponse.Header or (if a response was
 28269  // returned at all) in error.(*googleapi.Error).Header. Use
 28270  // googleapi.IsNotModified to check whether the returned error was because
 28271  // http.StatusNotModified was returned.
 28272  func (c *ProjectsLocationsAgentsIntentsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Intent, error) {
 28273  	gensupport.SetOptions(c.urlParams_, opts...)
 28274  	res, err := c.doRequest("json")
 28275  	if res != nil && res.StatusCode == http.StatusNotModified {
 28276  		if res.Body != nil {
 28277  			res.Body.Close()
 28278  		}
 28279  		return nil, gensupport.WrapError(&googleapi.Error{
 28280  			Code:   res.StatusCode,
 28281  			Header: res.Header,
 28282  		})
 28283  	}
 28284  	if err != nil {
 28285  		return nil, err
 28286  	}
 28287  	defer googleapi.CloseBody(res)
 28288  	if err := googleapi.CheckResponse(res); err != nil {
 28289  		return nil, gensupport.WrapError(err)
 28290  	}
 28291  	ret := &GoogleCloudDialogflowCxV3Intent{
 28292  		ServerResponse: googleapi.ServerResponse{
 28293  			Header:         res.Header,
 28294  			HTTPStatusCode: res.StatusCode,
 28295  		},
 28296  	}
 28297  	target := &ret
 28298  	if err := gensupport.DecodeResponse(target, res); err != nil {
 28299  		return nil, err
 28300  	}
 28301  	return ret, nil
 28302  }
 28303  
 28304  type ProjectsLocationsAgentsIntentsDeleteCall struct {
 28305  	s          *Service
 28306  	name       string
 28307  	urlParams_ gensupport.URLParams
 28308  	ctx_       context.Context
 28309  	header_    http.Header
 28310  }
 28311  
 28312  // Delete: Deletes the specified intent. Note: You should always train a flow
 28313  // prior to sending it queries. See the training documentation
 28314  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 28315  //
 28316  //   - name: The name of the intent to delete. Format:
 28317  //     `projects//locations//agents//intents/`.
 28318  func (r *ProjectsLocationsAgentsIntentsService) Delete(name string) *ProjectsLocationsAgentsIntentsDeleteCall {
 28319  	c := &ProjectsLocationsAgentsIntentsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 28320  	c.name = name
 28321  	return c
 28322  }
 28323  
 28324  // Fields allows partial responses to be retrieved. See
 28325  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 28326  // details.
 28327  func (c *ProjectsLocationsAgentsIntentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsDeleteCall {
 28328  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 28329  	return c
 28330  }
 28331  
 28332  // Context sets the context to be used in this call's Do method.
 28333  func (c *ProjectsLocationsAgentsIntentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsDeleteCall {
 28334  	c.ctx_ = ctx
 28335  	return c
 28336  }
 28337  
 28338  // Header returns a http.Header that can be modified by the caller to add
 28339  // headers to the request.
 28340  func (c *ProjectsLocationsAgentsIntentsDeleteCall) Header() http.Header {
 28341  	if c.header_ == nil {
 28342  		c.header_ = make(http.Header)
 28343  	}
 28344  	return c.header_
 28345  }
 28346  
 28347  func (c *ProjectsLocationsAgentsIntentsDeleteCall) doRequest(alt string) (*http.Response, error) {
 28348  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 28349  	var body io.Reader = nil
 28350  	c.urlParams_.Set("alt", alt)
 28351  	c.urlParams_.Set("prettyPrint", "false")
 28352  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 28353  	urls += "?" + c.urlParams_.Encode()
 28354  	req, err := http.NewRequest("DELETE", urls, body)
 28355  	if err != nil {
 28356  		return nil, err
 28357  	}
 28358  	req.Header = reqHeaders
 28359  	googleapi.Expand(req.URL, map[string]string{
 28360  		"name": c.name,
 28361  	})
 28362  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 28363  }
 28364  
 28365  // Do executes the "dialogflow.projects.locations.agents.intents.delete" call.
 28366  // Any non-2xx status code is an error. Response headers are in either
 28367  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 28368  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 28369  // check whether the returned error was because http.StatusNotModified was
 28370  // returned.
 28371  func (c *ProjectsLocationsAgentsIntentsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 28372  	gensupport.SetOptions(c.urlParams_, opts...)
 28373  	res, err := c.doRequest("json")
 28374  	if res != nil && res.StatusCode == http.StatusNotModified {
 28375  		if res.Body != nil {
 28376  			res.Body.Close()
 28377  		}
 28378  		return nil, gensupport.WrapError(&googleapi.Error{
 28379  			Code:   res.StatusCode,
 28380  			Header: res.Header,
 28381  		})
 28382  	}
 28383  	if err != nil {
 28384  		return nil, err
 28385  	}
 28386  	defer googleapi.CloseBody(res)
 28387  	if err := googleapi.CheckResponse(res); err != nil {
 28388  		return nil, gensupport.WrapError(err)
 28389  	}
 28390  	ret := &GoogleProtobufEmpty{
 28391  		ServerResponse: googleapi.ServerResponse{
 28392  			Header:         res.Header,
 28393  			HTTPStatusCode: res.StatusCode,
 28394  		},
 28395  	}
 28396  	target := &ret
 28397  	if err := gensupport.DecodeResponse(target, res); err != nil {
 28398  		return nil, err
 28399  	}
 28400  	return ret, nil
 28401  }
 28402  
 28403  type ProjectsLocationsAgentsIntentsExportCall struct {
 28404  	s                                             *Service
 28405  	parent                                        string
 28406  	googleclouddialogflowcxv3exportintentsrequest *GoogleCloudDialogflowCxV3ExportIntentsRequest
 28407  	urlParams_                                    gensupport.URLParams
 28408  	ctx_                                          context.Context
 28409  	header_                                       http.Header
 28410  }
 28411  
 28412  // Export: Exports the selected intents. This method is a long-running
 28413  // operation
 28414  // (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
 28415  // The returned `Operation` type has the following method-specific fields: -
 28416  // `metadata`: ExportIntentsMetadata - `response`: ExportIntentsResponse
 28417  //
 28418  //   - parent: The name of the parent agent to export intents. Format:
 28419  //     `projects//locations//agents/`.
 28420  func (r *ProjectsLocationsAgentsIntentsService) Export(parent string, googleclouddialogflowcxv3exportintentsrequest *GoogleCloudDialogflowCxV3ExportIntentsRequest) *ProjectsLocationsAgentsIntentsExportCall {
 28421  	c := &ProjectsLocationsAgentsIntentsExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 28422  	c.parent = parent
 28423  	c.googleclouddialogflowcxv3exportintentsrequest = googleclouddialogflowcxv3exportintentsrequest
 28424  	return c
 28425  }
 28426  
 28427  // Fields allows partial responses to be retrieved. See
 28428  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 28429  // details.
 28430  func (c *ProjectsLocationsAgentsIntentsExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsExportCall {
 28431  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 28432  	return c
 28433  }
 28434  
 28435  // Context sets the context to be used in this call's Do method.
 28436  func (c *ProjectsLocationsAgentsIntentsExportCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsExportCall {
 28437  	c.ctx_ = ctx
 28438  	return c
 28439  }
 28440  
 28441  // Header returns a http.Header that can be modified by the caller to add
 28442  // headers to the request.
 28443  func (c *ProjectsLocationsAgentsIntentsExportCall) Header() http.Header {
 28444  	if c.header_ == nil {
 28445  		c.header_ = make(http.Header)
 28446  	}
 28447  	return c.header_
 28448  }
 28449  
 28450  func (c *ProjectsLocationsAgentsIntentsExportCall) doRequest(alt string) (*http.Response, error) {
 28451  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 28452  	var body io.Reader = nil
 28453  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3exportintentsrequest)
 28454  	if err != nil {
 28455  		return nil, err
 28456  	}
 28457  	c.urlParams_.Set("alt", alt)
 28458  	c.urlParams_.Set("prettyPrint", "false")
 28459  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/intents:export")
 28460  	urls += "?" + c.urlParams_.Encode()
 28461  	req, err := http.NewRequest("POST", urls, body)
 28462  	if err != nil {
 28463  		return nil, err
 28464  	}
 28465  	req.Header = reqHeaders
 28466  	googleapi.Expand(req.URL, map[string]string{
 28467  		"parent": c.parent,
 28468  	})
 28469  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 28470  }
 28471  
 28472  // Do executes the "dialogflow.projects.locations.agents.intents.export" call.
 28473  // Any non-2xx status code is an error. Response headers are in either
 28474  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 28475  // returned at all) in error.(*googleapi.Error).Header. Use
 28476  // googleapi.IsNotModified to check whether the returned error was because
 28477  // http.StatusNotModified was returned.
 28478  func (c *ProjectsLocationsAgentsIntentsExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 28479  	gensupport.SetOptions(c.urlParams_, opts...)
 28480  	res, err := c.doRequest("json")
 28481  	if res != nil && res.StatusCode == http.StatusNotModified {
 28482  		if res.Body != nil {
 28483  			res.Body.Close()
 28484  		}
 28485  		return nil, gensupport.WrapError(&googleapi.Error{
 28486  			Code:   res.StatusCode,
 28487  			Header: res.Header,
 28488  		})
 28489  	}
 28490  	if err != nil {
 28491  		return nil, err
 28492  	}
 28493  	defer googleapi.CloseBody(res)
 28494  	if err := googleapi.CheckResponse(res); err != nil {
 28495  		return nil, gensupport.WrapError(err)
 28496  	}
 28497  	ret := &GoogleLongrunningOperation{
 28498  		ServerResponse: googleapi.ServerResponse{
 28499  			Header:         res.Header,
 28500  			HTTPStatusCode: res.StatusCode,
 28501  		},
 28502  	}
 28503  	target := &ret
 28504  	if err := gensupport.DecodeResponse(target, res); err != nil {
 28505  		return nil, err
 28506  	}
 28507  	return ret, nil
 28508  }
 28509  
 28510  type ProjectsLocationsAgentsIntentsGetCall struct {
 28511  	s            *Service
 28512  	name         string
 28513  	urlParams_   gensupport.URLParams
 28514  	ifNoneMatch_ string
 28515  	ctx_         context.Context
 28516  	header_      http.Header
 28517  }
 28518  
 28519  // Get: Retrieves the specified intent.
 28520  //
 28521  //   - name: The name of the intent. Format:
 28522  //     `projects//locations//agents//intents/`.
 28523  func (r *ProjectsLocationsAgentsIntentsService) Get(name string) *ProjectsLocationsAgentsIntentsGetCall {
 28524  	c := &ProjectsLocationsAgentsIntentsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 28525  	c.name = name
 28526  	return c
 28527  }
 28528  
 28529  // LanguageCode sets the optional parameter "languageCode": The language to
 28530  // retrieve the intent for. The following fields are language dependent: *
 28531  // `Intent.training_phrases.parts.text` If not specified, the agent's default
 28532  // language is used. Many languages
 28533  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 28534  // supported. Note: languages must be enabled in the agent before they can be
 28535  // used.
 28536  func (c *ProjectsLocationsAgentsIntentsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsGetCall {
 28537  	c.urlParams_.Set("languageCode", languageCode)
 28538  	return c
 28539  }
 28540  
 28541  // Fields allows partial responses to be retrieved. See
 28542  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 28543  // details.
 28544  func (c *ProjectsLocationsAgentsIntentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsGetCall {
 28545  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 28546  	return c
 28547  }
 28548  
 28549  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 28550  // object's ETag matches the given value. This is useful for getting updates
 28551  // only after the object has changed since the last request.
 28552  func (c *ProjectsLocationsAgentsIntentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsIntentsGetCall {
 28553  	c.ifNoneMatch_ = entityTag
 28554  	return c
 28555  }
 28556  
 28557  // Context sets the context to be used in this call's Do method.
 28558  func (c *ProjectsLocationsAgentsIntentsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsGetCall {
 28559  	c.ctx_ = ctx
 28560  	return c
 28561  }
 28562  
 28563  // Header returns a http.Header that can be modified by the caller to add
 28564  // headers to the request.
 28565  func (c *ProjectsLocationsAgentsIntentsGetCall) Header() http.Header {
 28566  	if c.header_ == nil {
 28567  		c.header_ = make(http.Header)
 28568  	}
 28569  	return c.header_
 28570  }
 28571  
 28572  func (c *ProjectsLocationsAgentsIntentsGetCall) doRequest(alt string) (*http.Response, error) {
 28573  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 28574  	if c.ifNoneMatch_ != "" {
 28575  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 28576  	}
 28577  	var body io.Reader = nil
 28578  	c.urlParams_.Set("alt", alt)
 28579  	c.urlParams_.Set("prettyPrint", "false")
 28580  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 28581  	urls += "?" + c.urlParams_.Encode()
 28582  	req, err := http.NewRequest("GET", urls, body)
 28583  	if err != nil {
 28584  		return nil, err
 28585  	}
 28586  	req.Header = reqHeaders
 28587  	googleapi.Expand(req.URL, map[string]string{
 28588  		"name": c.name,
 28589  	})
 28590  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 28591  }
 28592  
 28593  // Do executes the "dialogflow.projects.locations.agents.intents.get" call.
 28594  // Any non-2xx status code is an error. Response headers are in either
 28595  // *GoogleCloudDialogflowCxV3Intent.ServerResponse.Header or (if a response was
 28596  // returned at all) in error.(*googleapi.Error).Header. Use
 28597  // googleapi.IsNotModified to check whether the returned error was because
 28598  // http.StatusNotModified was returned.
 28599  func (c *ProjectsLocationsAgentsIntentsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Intent, error) {
 28600  	gensupport.SetOptions(c.urlParams_, opts...)
 28601  	res, err := c.doRequest("json")
 28602  	if res != nil && res.StatusCode == http.StatusNotModified {
 28603  		if res.Body != nil {
 28604  			res.Body.Close()
 28605  		}
 28606  		return nil, gensupport.WrapError(&googleapi.Error{
 28607  			Code:   res.StatusCode,
 28608  			Header: res.Header,
 28609  		})
 28610  	}
 28611  	if err != nil {
 28612  		return nil, err
 28613  	}
 28614  	defer googleapi.CloseBody(res)
 28615  	if err := googleapi.CheckResponse(res); err != nil {
 28616  		return nil, gensupport.WrapError(err)
 28617  	}
 28618  	ret := &GoogleCloudDialogflowCxV3Intent{
 28619  		ServerResponse: googleapi.ServerResponse{
 28620  			Header:         res.Header,
 28621  			HTTPStatusCode: res.StatusCode,
 28622  		},
 28623  	}
 28624  	target := &ret
 28625  	if err := gensupport.DecodeResponse(target, res); err != nil {
 28626  		return nil, err
 28627  	}
 28628  	return ret, nil
 28629  }
 28630  
 28631  type ProjectsLocationsAgentsIntentsImportCall struct {
 28632  	s                                             *Service
 28633  	parent                                        string
 28634  	googleclouddialogflowcxv3importintentsrequest *GoogleCloudDialogflowCxV3ImportIntentsRequest
 28635  	urlParams_                                    gensupport.URLParams
 28636  	ctx_                                          context.Context
 28637  	header_                                       http.Header
 28638  }
 28639  
 28640  // Import: Imports the specified intents into the agent. This method is a
 28641  // long-running operation
 28642  // (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
 28643  // The returned `Operation` type has the following method-specific fields: -
 28644  // `metadata`: ImportIntentsMetadata - `response`: ImportIntentsResponse
 28645  //
 28646  //   - parent: The agent to import the intents into. Format:
 28647  //     `projects//locations//agents/`.
 28648  func (r *ProjectsLocationsAgentsIntentsService) Import(parent string, googleclouddialogflowcxv3importintentsrequest *GoogleCloudDialogflowCxV3ImportIntentsRequest) *ProjectsLocationsAgentsIntentsImportCall {
 28649  	c := &ProjectsLocationsAgentsIntentsImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 28650  	c.parent = parent
 28651  	c.googleclouddialogflowcxv3importintentsrequest = googleclouddialogflowcxv3importintentsrequest
 28652  	return c
 28653  }
 28654  
 28655  // Fields allows partial responses to be retrieved. See
 28656  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 28657  // details.
 28658  func (c *ProjectsLocationsAgentsIntentsImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsImportCall {
 28659  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 28660  	return c
 28661  }
 28662  
 28663  // Context sets the context to be used in this call's Do method.
 28664  func (c *ProjectsLocationsAgentsIntentsImportCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsImportCall {
 28665  	c.ctx_ = ctx
 28666  	return c
 28667  }
 28668  
 28669  // Header returns a http.Header that can be modified by the caller to add
 28670  // headers to the request.
 28671  func (c *ProjectsLocationsAgentsIntentsImportCall) Header() http.Header {
 28672  	if c.header_ == nil {
 28673  		c.header_ = make(http.Header)
 28674  	}
 28675  	return c.header_
 28676  }
 28677  
 28678  func (c *ProjectsLocationsAgentsIntentsImportCall) doRequest(alt string) (*http.Response, error) {
 28679  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 28680  	var body io.Reader = nil
 28681  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3importintentsrequest)
 28682  	if err != nil {
 28683  		return nil, err
 28684  	}
 28685  	c.urlParams_.Set("alt", alt)
 28686  	c.urlParams_.Set("prettyPrint", "false")
 28687  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/intents:import")
 28688  	urls += "?" + c.urlParams_.Encode()
 28689  	req, err := http.NewRequest("POST", urls, body)
 28690  	if err != nil {
 28691  		return nil, err
 28692  	}
 28693  	req.Header = reqHeaders
 28694  	googleapi.Expand(req.URL, map[string]string{
 28695  		"parent": c.parent,
 28696  	})
 28697  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 28698  }
 28699  
 28700  // Do executes the "dialogflow.projects.locations.agents.intents.import" call.
 28701  // Any non-2xx status code is an error. Response headers are in either
 28702  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 28703  // returned at all) in error.(*googleapi.Error).Header. Use
 28704  // googleapi.IsNotModified to check whether the returned error was because
 28705  // http.StatusNotModified was returned.
 28706  func (c *ProjectsLocationsAgentsIntentsImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 28707  	gensupport.SetOptions(c.urlParams_, opts...)
 28708  	res, err := c.doRequest("json")
 28709  	if res != nil && res.StatusCode == http.StatusNotModified {
 28710  		if res.Body != nil {
 28711  			res.Body.Close()
 28712  		}
 28713  		return nil, gensupport.WrapError(&googleapi.Error{
 28714  			Code:   res.StatusCode,
 28715  			Header: res.Header,
 28716  		})
 28717  	}
 28718  	if err != nil {
 28719  		return nil, err
 28720  	}
 28721  	defer googleapi.CloseBody(res)
 28722  	if err := googleapi.CheckResponse(res); err != nil {
 28723  		return nil, gensupport.WrapError(err)
 28724  	}
 28725  	ret := &GoogleLongrunningOperation{
 28726  		ServerResponse: googleapi.ServerResponse{
 28727  			Header:         res.Header,
 28728  			HTTPStatusCode: res.StatusCode,
 28729  		},
 28730  	}
 28731  	target := &ret
 28732  	if err := gensupport.DecodeResponse(target, res); err != nil {
 28733  		return nil, err
 28734  	}
 28735  	return ret, nil
 28736  }
 28737  
 28738  type ProjectsLocationsAgentsIntentsListCall struct {
 28739  	s            *Service
 28740  	parent       string
 28741  	urlParams_   gensupport.URLParams
 28742  	ifNoneMatch_ string
 28743  	ctx_         context.Context
 28744  	header_      http.Header
 28745  }
 28746  
 28747  // List: Returns the list of all intents in the specified agent.
 28748  //
 28749  //   - parent: The agent to list all intents for. Format:
 28750  //     `projects//locations//agents/`.
 28751  func (r *ProjectsLocationsAgentsIntentsService) List(parent string) *ProjectsLocationsAgentsIntentsListCall {
 28752  	c := &ProjectsLocationsAgentsIntentsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 28753  	c.parent = parent
 28754  	return c
 28755  }
 28756  
 28757  // IntentView sets the optional parameter "intentView": The resource view to
 28758  // apply to the returned intent.
 28759  //
 28760  // Possible values:
 28761  //
 28762  //	"INTENT_VIEW_UNSPECIFIED" - Not specified. Treated as INTENT_VIEW_FULL.
 28763  //	"INTENT_VIEW_PARTIAL" - Training phrases field is not populated in the
 28764  //
 28765  // response.
 28766  //
 28767  //	"INTENT_VIEW_FULL" - All fields are populated.
 28768  func (c *ProjectsLocationsAgentsIntentsListCall) IntentView(intentView string) *ProjectsLocationsAgentsIntentsListCall {
 28769  	c.urlParams_.Set("intentView", intentView)
 28770  	return c
 28771  }
 28772  
 28773  // LanguageCode sets the optional parameter "languageCode": The language to
 28774  // list intents for. The following fields are language dependent: *
 28775  // `Intent.training_phrases.parts.text` If not specified, the agent's default
 28776  // language is used. Many languages
 28777  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 28778  // supported. Note: languages must be enabled in the agent before they can be
 28779  // used.
 28780  func (c *ProjectsLocationsAgentsIntentsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsListCall {
 28781  	c.urlParams_.Set("languageCode", languageCode)
 28782  	return c
 28783  }
 28784  
 28785  // PageSize sets the optional parameter "pageSize": The maximum number of items
 28786  // to return in a single page. By default 100 and at most 1000.
 28787  func (c *ProjectsLocationsAgentsIntentsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsIntentsListCall {
 28788  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 28789  	return c
 28790  }
 28791  
 28792  // PageToken sets the optional parameter "pageToken": The next_page_token value
 28793  // returned from a previous list request.
 28794  func (c *ProjectsLocationsAgentsIntentsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsIntentsListCall {
 28795  	c.urlParams_.Set("pageToken", pageToken)
 28796  	return c
 28797  }
 28798  
 28799  // Fields allows partial responses to be retrieved. See
 28800  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 28801  // details.
 28802  func (c *ProjectsLocationsAgentsIntentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsListCall {
 28803  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 28804  	return c
 28805  }
 28806  
 28807  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 28808  // object's ETag matches the given value. This is useful for getting updates
 28809  // only after the object has changed since the last request.
 28810  func (c *ProjectsLocationsAgentsIntentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsIntentsListCall {
 28811  	c.ifNoneMatch_ = entityTag
 28812  	return c
 28813  }
 28814  
 28815  // Context sets the context to be used in this call's Do method.
 28816  func (c *ProjectsLocationsAgentsIntentsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsListCall {
 28817  	c.ctx_ = ctx
 28818  	return c
 28819  }
 28820  
 28821  // Header returns a http.Header that can be modified by the caller to add
 28822  // headers to the request.
 28823  func (c *ProjectsLocationsAgentsIntentsListCall) Header() http.Header {
 28824  	if c.header_ == nil {
 28825  		c.header_ = make(http.Header)
 28826  	}
 28827  	return c.header_
 28828  }
 28829  
 28830  func (c *ProjectsLocationsAgentsIntentsListCall) doRequest(alt string) (*http.Response, error) {
 28831  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 28832  	if c.ifNoneMatch_ != "" {
 28833  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 28834  	}
 28835  	var body io.Reader = nil
 28836  	c.urlParams_.Set("alt", alt)
 28837  	c.urlParams_.Set("prettyPrint", "false")
 28838  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/intents")
 28839  	urls += "?" + c.urlParams_.Encode()
 28840  	req, err := http.NewRequest("GET", urls, body)
 28841  	if err != nil {
 28842  		return nil, err
 28843  	}
 28844  	req.Header = reqHeaders
 28845  	googleapi.Expand(req.URL, map[string]string{
 28846  		"parent": c.parent,
 28847  	})
 28848  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 28849  }
 28850  
 28851  // Do executes the "dialogflow.projects.locations.agents.intents.list" call.
 28852  // Any non-2xx status code is an error. Response headers are in either
 28853  // *GoogleCloudDialogflowCxV3ListIntentsResponse.ServerResponse.Header or (if a
 28854  // response was returned at all) in error.(*googleapi.Error).Header. Use
 28855  // googleapi.IsNotModified to check whether the returned error was because
 28856  // http.StatusNotModified was returned.
 28857  func (c *ProjectsLocationsAgentsIntentsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListIntentsResponse, error) {
 28858  	gensupport.SetOptions(c.urlParams_, opts...)
 28859  	res, err := c.doRequest("json")
 28860  	if res != nil && res.StatusCode == http.StatusNotModified {
 28861  		if res.Body != nil {
 28862  			res.Body.Close()
 28863  		}
 28864  		return nil, gensupport.WrapError(&googleapi.Error{
 28865  			Code:   res.StatusCode,
 28866  			Header: res.Header,
 28867  		})
 28868  	}
 28869  	if err != nil {
 28870  		return nil, err
 28871  	}
 28872  	defer googleapi.CloseBody(res)
 28873  	if err := googleapi.CheckResponse(res); err != nil {
 28874  		return nil, gensupport.WrapError(err)
 28875  	}
 28876  	ret := &GoogleCloudDialogflowCxV3ListIntentsResponse{
 28877  		ServerResponse: googleapi.ServerResponse{
 28878  			Header:         res.Header,
 28879  			HTTPStatusCode: res.StatusCode,
 28880  		},
 28881  	}
 28882  	target := &ret
 28883  	if err := gensupport.DecodeResponse(target, res); err != nil {
 28884  		return nil, err
 28885  	}
 28886  	return ret, nil
 28887  }
 28888  
 28889  // Pages invokes f for each page of results.
 28890  // A non-nil error returned from f will halt the iteration.
 28891  // The provided context supersedes any context provided to the Context method.
 28892  func (c *ProjectsLocationsAgentsIntentsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListIntentsResponse) error) error {
 28893  	c.ctx_ = ctx
 28894  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 28895  	for {
 28896  		x, err := c.Do()
 28897  		if err != nil {
 28898  			return err
 28899  		}
 28900  		if err := f(x); err != nil {
 28901  			return err
 28902  		}
 28903  		if x.NextPageToken == "" {
 28904  			return nil
 28905  		}
 28906  		c.PageToken(x.NextPageToken)
 28907  	}
 28908  }
 28909  
 28910  type ProjectsLocationsAgentsIntentsPatchCall struct {
 28911  	s                               *Service
 28912  	nameid                          string
 28913  	googleclouddialogflowcxv3intent *GoogleCloudDialogflowCxV3Intent
 28914  	urlParams_                      gensupport.URLParams
 28915  	ctx_                            context.Context
 28916  	header_                         http.Header
 28917  }
 28918  
 28919  // Patch: Updates the specified intent. Note: You should always train a flow
 28920  // prior to sending it queries. See the training documentation
 28921  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 28922  //
 28923  //   - name: The unique identifier of the intent. Required for the
 28924  //     Intents.UpdateIntent method. Intents.CreateIntent populates the name
 28925  //     automatically. Format: `projects//locations//agents//intents/`.
 28926  func (r *ProjectsLocationsAgentsIntentsService) Patch(nameid string, googleclouddialogflowcxv3intent *GoogleCloudDialogflowCxV3Intent) *ProjectsLocationsAgentsIntentsPatchCall {
 28927  	c := &ProjectsLocationsAgentsIntentsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 28928  	c.nameid = nameid
 28929  	c.googleclouddialogflowcxv3intent = googleclouddialogflowcxv3intent
 28930  	return c
 28931  }
 28932  
 28933  // LanguageCode sets the optional parameter "languageCode": The language of the
 28934  // following fields in `intent`: * `Intent.training_phrases.parts.text` If not
 28935  // specified, the agent's default language is used. Many languages
 28936  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 28937  // supported. Note: languages must be enabled in the agent before they can be
 28938  // used.
 28939  func (c *ProjectsLocationsAgentsIntentsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsIntentsPatchCall {
 28940  	c.urlParams_.Set("languageCode", languageCode)
 28941  	return c
 28942  }
 28943  
 28944  // UpdateMask sets the optional parameter "updateMask": The mask to control
 28945  // which fields get updated. If the mask is not present, all fields will be
 28946  // updated.
 28947  func (c *ProjectsLocationsAgentsIntentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsIntentsPatchCall {
 28948  	c.urlParams_.Set("updateMask", updateMask)
 28949  	return c
 28950  }
 28951  
 28952  // Fields allows partial responses to be retrieved. See
 28953  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 28954  // details.
 28955  func (c *ProjectsLocationsAgentsIntentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsIntentsPatchCall {
 28956  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 28957  	return c
 28958  }
 28959  
 28960  // Context sets the context to be used in this call's Do method.
 28961  func (c *ProjectsLocationsAgentsIntentsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsIntentsPatchCall {
 28962  	c.ctx_ = ctx
 28963  	return c
 28964  }
 28965  
 28966  // Header returns a http.Header that can be modified by the caller to add
 28967  // headers to the request.
 28968  func (c *ProjectsLocationsAgentsIntentsPatchCall) Header() http.Header {
 28969  	if c.header_ == nil {
 28970  		c.header_ = make(http.Header)
 28971  	}
 28972  	return c.header_
 28973  }
 28974  
 28975  func (c *ProjectsLocationsAgentsIntentsPatchCall) doRequest(alt string) (*http.Response, error) {
 28976  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 28977  	var body io.Reader = nil
 28978  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3intent)
 28979  	if err != nil {
 28980  		return nil, err
 28981  	}
 28982  	c.urlParams_.Set("alt", alt)
 28983  	c.urlParams_.Set("prettyPrint", "false")
 28984  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 28985  	urls += "?" + c.urlParams_.Encode()
 28986  	req, err := http.NewRequest("PATCH", urls, body)
 28987  	if err != nil {
 28988  		return nil, err
 28989  	}
 28990  	req.Header = reqHeaders
 28991  	googleapi.Expand(req.URL, map[string]string{
 28992  		"name": c.nameid,
 28993  	})
 28994  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 28995  }
 28996  
 28997  // Do executes the "dialogflow.projects.locations.agents.intents.patch" call.
 28998  // Any non-2xx status code is an error. Response headers are in either
 28999  // *GoogleCloudDialogflowCxV3Intent.ServerResponse.Header or (if a response was
 29000  // returned at all) in error.(*googleapi.Error).Header. Use
 29001  // googleapi.IsNotModified to check whether the returned error was because
 29002  // http.StatusNotModified was returned.
 29003  func (c *ProjectsLocationsAgentsIntentsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Intent, error) {
 29004  	gensupport.SetOptions(c.urlParams_, opts...)
 29005  	res, err := c.doRequest("json")
 29006  	if res != nil && res.StatusCode == http.StatusNotModified {
 29007  		if res.Body != nil {
 29008  			res.Body.Close()
 29009  		}
 29010  		return nil, gensupport.WrapError(&googleapi.Error{
 29011  			Code:   res.StatusCode,
 29012  			Header: res.Header,
 29013  		})
 29014  	}
 29015  	if err != nil {
 29016  		return nil, err
 29017  	}
 29018  	defer googleapi.CloseBody(res)
 29019  	if err := googleapi.CheckResponse(res); err != nil {
 29020  		return nil, gensupport.WrapError(err)
 29021  	}
 29022  	ret := &GoogleCloudDialogflowCxV3Intent{
 29023  		ServerResponse: googleapi.ServerResponse{
 29024  			Header:         res.Header,
 29025  			HTTPStatusCode: res.StatusCode,
 29026  		},
 29027  	}
 29028  	target := &ret
 29029  	if err := gensupport.DecodeResponse(target, res); err != nil {
 29030  		return nil, err
 29031  	}
 29032  	return ret, nil
 29033  }
 29034  
 29035  type ProjectsLocationsAgentsSessionsDetectIntentCall struct {
 29036  	s                                            *Service
 29037  	sessionid                                    string
 29038  	googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest
 29039  	urlParams_                                   gensupport.URLParams
 29040  	ctx_                                         context.Context
 29041  	header_                                      http.Header
 29042  }
 29043  
 29044  // DetectIntent: Processes a natural language query and returns structured,
 29045  // actionable data as a result. This method is not idempotent, because it may
 29046  // cause session entity types to be updated, which in turn might affect results
 29047  // of future queries. Note: Always use agent versions for production traffic.
 29048  // See Versions and environments
 29049  // (https://cloud.google.com/dialogflow/cx/docs/concept/version).
 29050  //
 29051  //   - session: The name of the session this query is sent to. Format:
 29052  //     `projects//locations//agents//sessions/` or
 29053  //     `projects//locations//agents//environments//sessions/`. If `Environment
 29054  //     ID` is not specified, we assume default 'draft' environment. It's up to
 29055  //     the API caller to choose an appropriate `Session ID`. It can be a random
 29056  //     number or some type of session identifiers (preferably hashed). The length
 29057  //     of the `Session ID` must not exceed 36 characters. For more information,
 29058  //     see the sessions guide
 29059  //     (https://cloud.google.com/dialogflow/cx/docs/concept/session). Note:
 29060  //     Always use agent versions for production traffic. See Versions and
 29061  //     environments
 29062  //     (https://cloud.google.com/dialogflow/cx/docs/concept/version).
 29063  func (r *ProjectsLocationsAgentsSessionsService) DetectIntent(sessionid string, googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest) *ProjectsLocationsAgentsSessionsDetectIntentCall {
 29064  	c := &ProjectsLocationsAgentsSessionsDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 29065  	c.sessionid = sessionid
 29066  	c.googleclouddialogflowcxv3detectintentrequest = googleclouddialogflowcxv3detectintentrequest
 29067  	return c
 29068  }
 29069  
 29070  // Fields allows partial responses to be retrieved. See
 29071  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 29072  // details.
 29073  func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsDetectIntentCall {
 29074  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 29075  	return c
 29076  }
 29077  
 29078  // Context sets the context to be used in this call's Do method.
 29079  func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsDetectIntentCall {
 29080  	c.ctx_ = ctx
 29081  	return c
 29082  }
 29083  
 29084  // Header returns a http.Header that can be modified by the caller to add
 29085  // headers to the request.
 29086  func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Header() http.Header {
 29087  	if c.header_ == nil {
 29088  		c.header_ = make(http.Header)
 29089  	}
 29090  	return c.header_
 29091  }
 29092  
 29093  func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) doRequest(alt string) (*http.Response, error) {
 29094  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 29095  	var body io.Reader = nil
 29096  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3detectintentrequest)
 29097  	if err != nil {
 29098  		return nil, err
 29099  	}
 29100  	c.urlParams_.Set("alt", alt)
 29101  	c.urlParams_.Set("prettyPrint", "false")
 29102  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:detectIntent")
 29103  	urls += "?" + c.urlParams_.Encode()
 29104  	req, err := http.NewRequest("POST", urls, body)
 29105  	if err != nil {
 29106  		return nil, err
 29107  	}
 29108  	req.Header = reqHeaders
 29109  	googleapi.Expand(req.URL, map[string]string{
 29110  		"session": c.sessionid,
 29111  	})
 29112  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 29113  }
 29114  
 29115  // Do executes the "dialogflow.projects.locations.agents.sessions.detectIntent" call.
 29116  // Any non-2xx status code is an error. Response headers are in either
 29117  // *GoogleCloudDialogflowCxV3DetectIntentResponse.ServerResponse.Header or (if
 29118  // a response was returned at all) in error.(*googleapi.Error).Header. Use
 29119  // googleapi.IsNotModified to check whether the returned error was because
 29120  // http.StatusNotModified was returned.
 29121  func (c *ProjectsLocationsAgentsSessionsDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3DetectIntentResponse, error) {
 29122  	gensupport.SetOptions(c.urlParams_, opts...)
 29123  	res, err := c.doRequest("json")
 29124  	if res != nil && res.StatusCode == http.StatusNotModified {
 29125  		if res.Body != nil {
 29126  			res.Body.Close()
 29127  		}
 29128  		return nil, gensupport.WrapError(&googleapi.Error{
 29129  			Code:   res.StatusCode,
 29130  			Header: res.Header,
 29131  		})
 29132  	}
 29133  	if err != nil {
 29134  		return nil, err
 29135  	}
 29136  	defer googleapi.CloseBody(res)
 29137  	if err := googleapi.CheckResponse(res); err != nil {
 29138  		return nil, gensupport.WrapError(err)
 29139  	}
 29140  	ret := &GoogleCloudDialogflowCxV3DetectIntentResponse{
 29141  		ServerResponse: googleapi.ServerResponse{
 29142  			Header:         res.Header,
 29143  			HTTPStatusCode: res.StatusCode,
 29144  		},
 29145  	}
 29146  	target := &ret
 29147  	if err := gensupport.DecodeResponse(target, res); err != nil {
 29148  		return nil, err
 29149  	}
 29150  	return ret, nil
 29151  }
 29152  
 29153  type ProjectsLocationsAgentsSessionsFulfillIntentCall struct {
 29154  	s                                             *Service
 29155  	sessionid                                     string
 29156  	googleclouddialogflowcxv3fulfillintentrequest *GoogleCloudDialogflowCxV3FulfillIntentRequest
 29157  	urlParams_                                    gensupport.URLParams
 29158  	ctx_                                          context.Context
 29159  	header_                                       http.Header
 29160  }
 29161  
 29162  // FulfillIntent: Fulfills a matched intent returned by MatchIntent. Must be
 29163  // called after MatchIntent, with input from MatchIntentResponse. Otherwise,
 29164  // the behavior is undefined.
 29165  //
 29166  //   - session: The name of the session this query is sent to. Format:
 29167  //     `projects//locations//agents//sessions/` or
 29168  //     `projects//locations//agents//environments//sessions/`. If `Environment
 29169  //     ID` is not specified, we assume default 'draft' environment. It's up to
 29170  //     the API caller to choose an appropriate `Session ID`. It can be a random
 29171  //     number or some type of session identifiers (preferably hashed). The length
 29172  //     of the `Session ID` must not exceed 36 characters. For more information,
 29173  //     see the sessions guide
 29174  //     (https://cloud.google.com/dialogflow/cx/docs/concept/session).
 29175  func (r *ProjectsLocationsAgentsSessionsService) FulfillIntent(sessionid string, googleclouddialogflowcxv3fulfillintentrequest *GoogleCloudDialogflowCxV3FulfillIntentRequest) *ProjectsLocationsAgentsSessionsFulfillIntentCall {
 29176  	c := &ProjectsLocationsAgentsSessionsFulfillIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 29177  	c.sessionid = sessionid
 29178  	c.googleclouddialogflowcxv3fulfillintentrequest = googleclouddialogflowcxv3fulfillintentrequest
 29179  	return c
 29180  }
 29181  
 29182  // Fields allows partial responses to be retrieved. See
 29183  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 29184  // details.
 29185  func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsFulfillIntentCall {
 29186  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 29187  	return c
 29188  }
 29189  
 29190  // Context sets the context to be used in this call's Do method.
 29191  func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsFulfillIntentCall {
 29192  	c.ctx_ = ctx
 29193  	return c
 29194  }
 29195  
 29196  // Header returns a http.Header that can be modified by the caller to add
 29197  // headers to the request.
 29198  func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Header() http.Header {
 29199  	if c.header_ == nil {
 29200  		c.header_ = make(http.Header)
 29201  	}
 29202  	return c.header_
 29203  }
 29204  
 29205  func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) doRequest(alt string) (*http.Response, error) {
 29206  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 29207  	var body io.Reader = nil
 29208  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3fulfillintentrequest)
 29209  	if err != nil {
 29210  		return nil, err
 29211  	}
 29212  	c.urlParams_.Set("alt", alt)
 29213  	c.urlParams_.Set("prettyPrint", "false")
 29214  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:fulfillIntent")
 29215  	urls += "?" + c.urlParams_.Encode()
 29216  	req, err := http.NewRequest("POST", urls, body)
 29217  	if err != nil {
 29218  		return nil, err
 29219  	}
 29220  	req.Header = reqHeaders
 29221  	googleapi.Expand(req.URL, map[string]string{
 29222  		"session": c.sessionid,
 29223  	})
 29224  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 29225  }
 29226  
 29227  // Do executes the "dialogflow.projects.locations.agents.sessions.fulfillIntent" call.
 29228  // Any non-2xx status code is an error. Response headers are in either
 29229  // *GoogleCloudDialogflowCxV3FulfillIntentResponse.ServerResponse.Header or (if
 29230  // a response was returned at all) in error.(*googleapi.Error).Header. Use
 29231  // googleapi.IsNotModified to check whether the returned error was because
 29232  // http.StatusNotModified was returned.
 29233  func (c *ProjectsLocationsAgentsSessionsFulfillIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3FulfillIntentResponse, error) {
 29234  	gensupport.SetOptions(c.urlParams_, opts...)
 29235  	res, err := c.doRequest("json")
 29236  	if res != nil && res.StatusCode == http.StatusNotModified {
 29237  		if res.Body != nil {
 29238  			res.Body.Close()
 29239  		}
 29240  		return nil, gensupport.WrapError(&googleapi.Error{
 29241  			Code:   res.StatusCode,
 29242  			Header: res.Header,
 29243  		})
 29244  	}
 29245  	if err != nil {
 29246  		return nil, err
 29247  	}
 29248  	defer googleapi.CloseBody(res)
 29249  	if err := googleapi.CheckResponse(res); err != nil {
 29250  		return nil, gensupport.WrapError(err)
 29251  	}
 29252  	ret := &GoogleCloudDialogflowCxV3FulfillIntentResponse{
 29253  		ServerResponse: googleapi.ServerResponse{
 29254  			Header:         res.Header,
 29255  			HTTPStatusCode: res.StatusCode,
 29256  		},
 29257  	}
 29258  	target := &ret
 29259  	if err := gensupport.DecodeResponse(target, res); err != nil {
 29260  		return nil, err
 29261  	}
 29262  	return ret, nil
 29263  }
 29264  
 29265  type ProjectsLocationsAgentsSessionsMatchIntentCall struct {
 29266  	s                                           *Service
 29267  	sessionid                                   string
 29268  	googleclouddialogflowcxv3matchintentrequest *GoogleCloudDialogflowCxV3MatchIntentRequest
 29269  	urlParams_                                  gensupport.URLParams
 29270  	ctx_                                        context.Context
 29271  	header_                                     http.Header
 29272  }
 29273  
 29274  // MatchIntent: Returns preliminary intent match results, doesn't change the
 29275  // session status.
 29276  //
 29277  //   - session: The name of the session this query is sent to. Format:
 29278  //     `projects//locations//agents//sessions/` or
 29279  //     `projects//locations//agents//environments//sessions/`. If `Environment
 29280  //     ID` is not specified, we assume default 'draft' environment. It's up to
 29281  //     the API caller to choose an appropriate `Session ID`. It can be a random
 29282  //     number or some type of session identifiers (preferably hashed). The length
 29283  //     of the `Session ID` must not exceed 36 characters. For more information,
 29284  //     see the sessions guide
 29285  //     (https://cloud.google.com/dialogflow/cx/docs/concept/session).
 29286  func (r *ProjectsLocationsAgentsSessionsService) MatchIntent(sessionid string, googleclouddialogflowcxv3matchintentrequest *GoogleCloudDialogflowCxV3MatchIntentRequest) *ProjectsLocationsAgentsSessionsMatchIntentCall {
 29287  	c := &ProjectsLocationsAgentsSessionsMatchIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 29288  	c.sessionid = sessionid
 29289  	c.googleclouddialogflowcxv3matchintentrequest = googleclouddialogflowcxv3matchintentrequest
 29290  	return c
 29291  }
 29292  
 29293  // Fields allows partial responses to be retrieved. See
 29294  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 29295  // details.
 29296  func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsMatchIntentCall {
 29297  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 29298  	return c
 29299  }
 29300  
 29301  // Context sets the context to be used in this call's Do method.
 29302  func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsMatchIntentCall {
 29303  	c.ctx_ = ctx
 29304  	return c
 29305  }
 29306  
 29307  // Header returns a http.Header that can be modified by the caller to add
 29308  // headers to the request.
 29309  func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Header() http.Header {
 29310  	if c.header_ == nil {
 29311  		c.header_ = make(http.Header)
 29312  	}
 29313  	return c.header_
 29314  }
 29315  
 29316  func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) doRequest(alt string) (*http.Response, error) {
 29317  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 29318  	var body io.Reader = nil
 29319  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3matchintentrequest)
 29320  	if err != nil {
 29321  		return nil, err
 29322  	}
 29323  	c.urlParams_.Set("alt", alt)
 29324  	c.urlParams_.Set("prettyPrint", "false")
 29325  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:matchIntent")
 29326  	urls += "?" + c.urlParams_.Encode()
 29327  	req, err := http.NewRequest("POST", urls, body)
 29328  	if err != nil {
 29329  		return nil, err
 29330  	}
 29331  	req.Header = reqHeaders
 29332  	googleapi.Expand(req.URL, map[string]string{
 29333  		"session": c.sessionid,
 29334  	})
 29335  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 29336  }
 29337  
 29338  // Do executes the "dialogflow.projects.locations.agents.sessions.matchIntent" call.
 29339  // Any non-2xx status code is an error. Response headers are in either
 29340  // *GoogleCloudDialogflowCxV3MatchIntentResponse.ServerResponse.Header or (if a
 29341  // response was returned at all) in error.(*googleapi.Error).Header. Use
 29342  // googleapi.IsNotModified to check whether the returned error was because
 29343  // http.StatusNotModified was returned.
 29344  func (c *ProjectsLocationsAgentsSessionsMatchIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3MatchIntentResponse, error) {
 29345  	gensupport.SetOptions(c.urlParams_, opts...)
 29346  	res, err := c.doRequest("json")
 29347  	if res != nil && res.StatusCode == http.StatusNotModified {
 29348  		if res.Body != nil {
 29349  			res.Body.Close()
 29350  		}
 29351  		return nil, gensupport.WrapError(&googleapi.Error{
 29352  			Code:   res.StatusCode,
 29353  			Header: res.Header,
 29354  		})
 29355  	}
 29356  	if err != nil {
 29357  		return nil, err
 29358  	}
 29359  	defer googleapi.CloseBody(res)
 29360  	if err := googleapi.CheckResponse(res); err != nil {
 29361  		return nil, gensupport.WrapError(err)
 29362  	}
 29363  	ret := &GoogleCloudDialogflowCxV3MatchIntentResponse{
 29364  		ServerResponse: googleapi.ServerResponse{
 29365  			Header:         res.Header,
 29366  			HTTPStatusCode: res.StatusCode,
 29367  		},
 29368  	}
 29369  	target := &ret
 29370  	if err := gensupport.DecodeResponse(target, res); err != nil {
 29371  		return nil, err
 29372  	}
 29373  	return ret, nil
 29374  }
 29375  
 29376  type ProjectsLocationsAgentsSessionsServerStreamingDetectIntentCall struct {
 29377  	s                                            *Service
 29378  	sessionid                                    string
 29379  	googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest
 29380  	urlParams_                                   gensupport.URLParams
 29381  	ctx_                                         context.Context
 29382  	header_                                      http.Header
 29383  }
 29384  
 29385  // ServerStreamingDetectIntent: Processes a natural language query and returns
 29386  // structured, actionable data as a result through server-side streaming.
 29387  // Server-side streaming allows Dialogflow to send partial responses
 29388  // (https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response)
 29389  // earlier in a single request.
 29390  //
 29391  //   - session: The name of the session this query is sent to. Format:
 29392  //     `projects//locations//agents//sessions/` or
 29393  //     `projects//locations//agents//environments//sessions/`. If `Environment
 29394  //     ID` is not specified, we assume default 'draft' environment. It's up to
 29395  //     the API caller to choose an appropriate `Session ID`. It can be a random
 29396  //     number or some type of session identifiers (preferably hashed). The length
 29397  //     of the `Session ID` must not exceed 36 characters. For more information,
 29398  //     see the sessions guide
 29399  //     (https://cloud.google.com/dialogflow/cx/docs/concept/session). Note:
 29400  //     Always use agent versions for production traffic. See Versions and
 29401  //     environments
 29402  //     (https://cloud.google.com/dialogflow/cx/docs/concept/version).
 29403  func (r *ProjectsLocationsAgentsSessionsService) ServerStreamingDetectIntent(sessionid string, googleclouddialogflowcxv3detectintentrequest *GoogleCloudDialogflowCxV3DetectIntentRequest) *ProjectsLocationsAgentsSessionsServerStreamingDetectIntentCall {
 29404  	c := &ProjectsLocationsAgentsSessionsServerStreamingDetectIntentCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 29405  	c.sessionid = sessionid
 29406  	c.googleclouddialogflowcxv3detectintentrequest = googleclouddialogflowcxv3detectintentrequest
 29407  	return c
 29408  }
 29409  
 29410  // Fields allows partial responses to be retrieved. See
 29411  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 29412  // details.
 29413  func (c *ProjectsLocationsAgentsSessionsServerStreamingDetectIntentCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsServerStreamingDetectIntentCall {
 29414  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 29415  	return c
 29416  }
 29417  
 29418  // Context sets the context to be used in this call's Do method.
 29419  func (c *ProjectsLocationsAgentsSessionsServerStreamingDetectIntentCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsServerStreamingDetectIntentCall {
 29420  	c.ctx_ = ctx
 29421  	return c
 29422  }
 29423  
 29424  // Header returns a http.Header that can be modified by the caller to add
 29425  // headers to the request.
 29426  func (c *ProjectsLocationsAgentsSessionsServerStreamingDetectIntentCall) Header() http.Header {
 29427  	if c.header_ == nil {
 29428  		c.header_ = make(http.Header)
 29429  	}
 29430  	return c.header_
 29431  }
 29432  
 29433  func (c *ProjectsLocationsAgentsSessionsServerStreamingDetectIntentCall) doRequest(alt string) (*http.Response, error) {
 29434  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 29435  	var body io.Reader = nil
 29436  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3detectintentrequest)
 29437  	if err != nil {
 29438  		return nil, err
 29439  	}
 29440  	c.urlParams_.Set("alt", alt)
 29441  	c.urlParams_.Set("prettyPrint", "false")
 29442  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:serverStreamingDetectIntent")
 29443  	urls += "?" + c.urlParams_.Encode()
 29444  	req, err := http.NewRequest("POST", urls, body)
 29445  	if err != nil {
 29446  		return nil, err
 29447  	}
 29448  	req.Header = reqHeaders
 29449  	googleapi.Expand(req.URL, map[string]string{
 29450  		"session": c.sessionid,
 29451  	})
 29452  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 29453  }
 29454  
 29455  // Do executes the "dialogflow.projects.locations.agents.sessions.serverStreamingDetectIntent" call.
 29456  // Any non-2xx status code is an error. Response headers are in either
 29457  // *GoogleCloudDialogflowCxV3DetectIntentResponse.ServerResponse.Header or (if
 29458  // a response was returned at all) in error.(*googleapi.Error).Header. Use
 29459  // googleapi.IsNotModified to check whether the returned error was because
 29460  // http.StatusNotModified was returned.
 29461  func (c *ProjectsLocationsAgentsSessionsServerStreamingDetectIntentCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3DetectIntentResponse, error) {
 29462  	gensupport.SetOptions(c.urlParams_, opts...)
 29463  	res, err := c.doRequest("json")
 29464  	if res != nil && res.StatusCode == http.StatusNotModified {
 29465  		if res.Body != nil {
 29466  			res.Body.Close()
 29467  		}
 29468  		return nil, gensupport.WrapError(&googleapi.Error{
 29469  			Code:   res.StatusCode,
 29470  			Header: res.Header,
 29471  		})
 29472  	}
 29473  	if err != nil {
 29474  		return nil, err
 29475  	}
 29476  	defer googleapi.CloseBody(res)
 29477  	if err := googleapi.CheckResponse(res); err != nil {
 29478  		return nil, gensupport.WrapError(err)
 29479  	}
 29480  	ret := &GoogleCloudDialogflowCxV3DetectIntentResponse{
 29481  		ServerResponse: googleapi.ServerResponse{
 29482  			Header:         res.Header,
 29483  			HTTPStatusCode: res.StatusCode,
 29484  		},
 29485  	}
 29486  	target := &ret
 29487  	if err := gensupport.DecodeResponse(target, res); err != nil {
 29488  		return nil, err
 29489  	}
 29490  	return ret, nil
 29491  }
 29492  
 29493  type ProjectsLocationsAgentsSessionsSubmitAnswerFeedbackCall struct {
 29494  	s                                                    *Service
 29495  	session                                              string
 29496  	googleclouddialogflowcxv3submitanswerfeedbackrequest *GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest
 29497  	urlParams_                                           gensupport.URLParams
 29498  	ctx_                                                 context.Context
 29499  	header_                                              http.Header
 29500  }
 29501  
 29502  // SubmitAnswerFeedback: Updates the feedback received from the user for a
 29503  // single turn of the bot response.
 29504  //
 29505  // - session: The name of the session the feedback was sent to.
 29506  func (r *ProjectsLocationsAgentsSessionsService) SubmitAnswerFeedback(session string, googleclouddialogflowcxv3submitanswerfeedbackrequest *GoogleCloudDialogflowCxV3SubmitAnswerFeedbackRequest) *ProjectsLocationsAgentsSessionsSubmitAnswerFeedbackCall {
 29507  	c := &ProjectsLocationsAgentsSessionsSubmitAnswerFeedbackCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 29508  	c.session = session
 29509  	c.googleclouddialogflowcxv3submitanswerfeedbackrequest = googleclouddialogflowcxv3submitanswerfeedbackrequest
 29510  	return c
 29511  }
 29512  
 29513  // Fields allows partial responses to be retrieved. See
 29514  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 29515  // details.
 29516  func (c *ProjectsLocationsAgentsSessionsSubmitAnswerFeedbackCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsSubmitAnswerFeedbackCall {
 29517  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 29518  	return c
 29519  }
 29520  
 29521  // Context sets the context to be used in this call's Do method.
 29522  func (c *ProjectsLocationsAgentsSessionsSubmitAnswerFeedbackCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsSubmitAnswerFeedbackCall {
 29523  	c.ctx_ = ctx
 29524  	return c
 29525  }
 29526  
 29527  // Header returns a http.Header that can be modified by the caller to add
 29528  // headers to the request.
 29529  func (c *ProjectsLocationsAgentsSessionsSubmitAnswerFeedbackCall) Header() http.Header {
 29530  	if c.header_ == nil {
 29531  		c.header_ = make(http.Header)
 29532  	}
 29533  	return c.header_
 29534  }
 29535  
 29536  func (c *ProjectsLocationsAgentsSessionsSubmitAnswerFeedbackCall) doRequest(alt string) (*http.Response, error) {
 29537  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 29538  	var body io.Reader = nil
 29539  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3submitanswerfeedbackrequest)
 29540  	if err != nil {
 29541  		return nil, err
 29542  	}
 29543  	c.urlParams_.Set("alt", alt)
 29544  	c.urlParams_.Set("prettyPrint", "false")
 29545  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+session}:submitAnswerFeedback")
 29546  	urls += "?" + c.urlParams_.Encode()
 29547  	req, err := http.NewRequest("POST", urls, body)
 29548  	if err != nil {
 29549  		return nil, err
 29550  	}
 29551  	req.Header = reqHeaders
 29552  	googleapi.Expand(req.URL, map[string]string{
 29553  		"session": c.session,
 29554  	})
 29555  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 29556  }
 29557  
 29558  // Do executes the "dialogflow.projects.locations.agents.sessions.submitAnswerFeedback" call.
 29559  // Any non-2xx status code is an error. Response headers are in either
 29560  // *GoogleCloudDialogflowCxV3AnswerFeedback.ServerResponse.Header or (if a
 29561  // response was returned at all) in error.(*googleapi.Error).Header. Use
 29562  // googleapi.IsNotModified to check whether the returned error was because
 29563  // http.StatusNotModified was returned.
 29564  func (c *ProjectsLocationsAgentsSessionsSubmitAnswerFeedbackCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3AnswerFeedback, error) {
 29565  	gensupport.SetOptions(c.urlParams_, opts...)
 29566  	res, err := c.doRequest("json")
 29567  	if res != nil && res.StatusCode == http.StatusNotModified {
 29568  		if res.Body != nil {
 29569  			res.Body.Close()
 29570  		}
 29571  		return nil, gensupport.WrapError(&googleapi.Error{
 29572  			Code:   res.StatusCode,
 29573  			Header: res.Header,
 29574  		})
 29575  	}
 29576  	if err != nil {
 29577  		return nil, err
 29578  	}
 29579  	defer googleapi.CloseBody(res)
 29580  	if err := googleapi.CheckResponse(res); err != nil {
 29581  		return nil, gensupport.WrapError(err)
 29582  	}
 29583  	ret := &GoogleCloudDialogflowCxV3AnswerFeedback{
 29584  		ServerResponse: googleapi.ServerResponse{
 29585  			Header:         res.Header,
 29586  			HTTPStatusCode: res.StatusCode,
 29587  		},
 29588  	}
 29589  	target := &ret
 29590  	if err := gensupport.DecodeResponse(target, res); err != nil {
 29591  		return nil, err
 29592  	}
 29593  	return ret, nil
 29594  }
 29595  
 29596  type ProjectsLocationsAgentsSessionsEntityTypesCreateCall struct {
 29597  	s                                          *Service
 29598  	parent                                     string
 29599  	googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType
 29600  	urlParams_                                 gensupport.URLParams
 29601  	ctx_                                       context.Context
 29602  	header_                                    http.Header
 29603  }
 29604  
 29605  // Create: Creates a session entity type.
 29606  //
 29607  //   - parent: The session to create a session entity type for. Format:
 29608  //     `projects//locations//agents//sessions/` or
 29609  //     `projects//locations//agents//environments//sessions/`. If `Environment
 29610  //     ID` is not specified, we assume default 'draft' environment.
 29611  func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Create(parent string, googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall {
 29612  	c := &ProjectsLocationsAgentsSessionsEntityTypesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 29613  	c.parent = parent
 29614  	c.googleclouddialogflowcxv3sessionentitytype = googleclouddialogflowcxv3sessionentitytype
 29615  	return c
 29616  }
 29617  
 29618  // Fields allows partial responses to be retrieved. See
 29619  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 29620  // details.
 29621  func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall {
 29622  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 29623  	return c
 29624  }
 29625  
 29626  // Context sets the context to be used in this call's Do method.
 29627  func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesCreateCall {
 29628  	c.ctx_ = ctx
 29629  	return c
 29630  }
 29631  
 29632  // Header returns a http.Header that can be modified by the caller to add
 29633  // headers to the request.
 29634  func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Header() http.Header {
 29635  	if c.header_ == nil {
 29636  		c.header_ = make(http.Header)
 29637  	}
 29638  	return c.header_
 29639  }
 29640  
 29641  func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) doRequest(alt string) (*http.Response, error) {
 29642  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 29643  	var body io.Reader = nil
 29644  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3sessionentitytype)
 29645  	if err != nil {
 29646  		return nil, err
 29647  	}
 29648  	c.urlParams_.Set("alt", alt)
 29649  	c.urlParams_.Set("prettyPrint", "false")
 29650  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes")
 29651  	urls += "?" + c.urlParams_.Encode()
 29652  	req, err := http.NewRequest("POST", urls, body)
 29653  	if err != nil {
 29654  		return nil, err
 29655  	}
 29656  	req.Header = reqHeaders
 29657  	googleapi.Expand(req.URL, map[string]string{
 29658  		"parent": c.parent,
 29659  	})
 29660  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 29661  }
 29662  
 29663  // Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.create" call.
 29664  // Any non-2xx status code is an error. Response headers are in either
 29665  // *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or (if a
 29666  // response was returned at all) in error.(*googleapi.Error).Header. Use
 29667  // googleapi.IsNotModified to check whether the returned error was because
 29668  // http.StatusNotModified was returned.
 29669  func (c *ProjectsLocationsAgentsSessionsEntityTypesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) {
 29670  	gensupport.SetOptions(c.urlParams_, opts...)
 29671  	res, err := c.doRequest("json")
 29672  	if res != nil && res.StatusCode == http.StatusNotModified {
 29673  		if res.Body != nil {
 29674  			res.Body.Close()
 29675  		}
 29676  		return nil, gensupport.WrapError(&googleapi.Error{
 29677  			Code:   res.StatusCode,
 29678  			Header: res.Header,
 29679  		})
 29680  	}
 29681  	if err != nil {
 29682  		return nil, err
 29683  	}
 29684  	defer googleapi.CloseBody(res)
 29685  	if err := googleapi.CheckResponse(res); err != nil {
 29686  		return nil, gensupport.WrapError(err)
 29687  	}
 29688  	ret := &GoogleCloudDialogflowCxV3SessionEntityType{
 29689  		ServerResponse: googleapi.ServerResponse{
 29690  			Header:         res.Header,
 29691  			HTTPStatusCode: res.StatusCode,
 29692  		},
 29693  	}
 29694  	target := &ret
 29695  	if err := gensupport.DecodeResponse(target, res); err != nil {
 29696  		return nil, err
 29697  	}
 29698  	return ret, nil
 29699  }
 29700  
 29701  type ProjectsLocationsAgentsSessionsEntityTypesDeleteCall struct {
 29702  	s          *Service
 29703  	name       string
 29704  	urlParams_ gensupport.URLParams
 29705  	ctx_       context.Context
 29706  	header_    http.Header
 29707  }
 29708  
 29709  // Delete: Deletes the specified session entity type.
 29710  //
 29711  //   - name: The name of the session entity type to delete. Format:
 29712  //     `projects//locations//agents//sessions//entityTypes/` or
 29713  //     `projects//locations//agents//environments//sessions//entityTypes/`. If
 29714  //     `Environment ID` is not specified, we assume default 'draft' environment.
 29715  func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Delete(name string) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall {
 29716  	c := &ProjectsLocationsAgentsSessionsEntityTypesDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 29717  	c.name = name
 29718  	return c
 29719  }
 29720  
 29721  // Fields allows partial responses to be retrieved. See
 29722  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 29723  // details.
 29724  func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall {
 29725  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 29726  	return c
 29727  }
 29728  
 29729  // Context sets the context to be used in this call's Do method.
 29730  func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall {
 29731  	c.ctx_ = ctx
 29732  	return c
 29733  }
 29734  
 29735  // Header returns a http.Header that can be modified by the caller to add
 29736  // headers to the request.
 29737  func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Header() http.Header {
 29738  	if c.header_ == nil {
 29739  		c.header_ = make(http.Header)
 29740  	}
 29741  	return c.header_
 29742  }
 29743  
 29744  func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) doRequest(alt string) (*http.Response, error) {
 29745  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 29746  	var body io.Reader = nil
 29747  	c.urlParams_.Set("alt", alt)
 29748  	c.urlParams_.Set("prettyPrint", "false")
 29749  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 29750  	urls += "?" + c.urlParams_.Encode()
 29751  	req, err := http.NewRequest("DELETE", urls, body)
 29752  	if err != nil {
 29753  		return nil, err
 29754  	}
 29755  	req.Header = reqHeaders
 29756  	googleapi.Expand(req.URL, map[string]string{
 29757  		"name": c.name,
 29758  	})
 29759  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 29760  }
 29761  
 29762  // Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.delete" call.
 29763  // Any non-2xx status code is an error. Response headers are in either
 29764  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 29765  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 29766  // check whether the returned error was because http.StatusNotModified was
 29767  // returned.
 29768  func (c *ProjectsLocationsAgentsSessionsEntityTypesDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 29769  	gensupport.SetOptions(c.urlParams_, opts...)
 29770  	res, err := c.doRequest("json")
 29771  	if res != nil && res.StatusCode == http.StatusNotModified {
 29772  		if res.Body != nil {
 29773  			res.Body.Close()
 29774  		}
 29775  		return nil, gensupport.WrapError(&googleapi.Error{
 29776  			Code:   res.StatusCode,
 29777  			Header: res.Header,
 29778  		})
 29779  	}
 29780  	if err != nil {
 29781  		return nil, err
 29782  	}
 29783  	defer googleapi.CloseBody(res)
 29784  	if err := googleapi.CheckResponse(res); err != nil {
 29785  		return nil, gensupport.WrapError(err)
 29786  	}
 29787  	ret := &GoogleProtobufEmpty{
 29788  		ServerResponse: googleapi.ServerResponse{
 29789  			Header:         res.Header,
 29790  			HTTPStatusCode: res.StatusCode,
 29791  		},
 29792  	}
 29793  	target := &ret
 29794  	if err := gensupport.DecodeResponse(target, res); err != nil {
 29795  		return nil, err
 29796  	}
 29797  	return ret, nil
 29798  }
 29799  
 29800  type ProjectsLocationsAgentsSessionsEntityTypesGetCall struct {
 29801  	s            *Service
 29802  	name         string
 29803  	urlParams_   gensupport.URLParams
 29804  	ifNoneMatch_ string
 29805  	ctx_         context.Context
 29806  	header_      http.Header
 29807  }
 29808  
 29809  // Get: Retrieves the specified session entity type.
 29810  //
 29811  //   - name: The name of the session entity type. Format:
 29812  //     `projects//locations//agents//sessions//entityTypes/` or
 29813  //     `projects//locations//agents//environments//sessions//entityTypes/`. If
 29814  //     `Environment ID` is not specified, we assume default 'draft' environment.
 29815  func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Get(name string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall {
 29816  	c := &ProjectsLocationsAgentsSessionsEntityTypesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 29817  	c.name = name
 29818  	return c
 29819  }
 29820  
 29821  // Fields allows partial responses to be retrieved. See
 29822  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 29823  // details.
 29824  func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesGetCall {
 29825  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 29826  	return c
 29827  }
 29828  
 29829  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 29830  // object's ETag matches the given value. This is useful for getting updates
 29831  // only after the object has changed since the last request.
 29832  func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsSessionsEntityTypesGetCall {
 29833  	c.ifNoneMatch_ = entityTag
 29834  	return c
 29835  }
 29836  
 29837  // Context sets the context to be used in this call's Do method.
 29838  func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesGetCall {
 29839  	c.ctx_ = ctx
 29840  	return c
 29841  }
 29842  
 29843  // Header returns a http.Header that can be modified by the caller to add
 29844  // headers to the request.
 29845  func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Header() http.Header {
 29846  	if c.header_ == nil {
 29847  		c.header_ = make(http.Header)
 29848  	}
 29849  	return c.header_
 29850  }
 29851  
 29852  func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) doRequest(alt string) (*http.Response, error) {
 29853  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 29854  	if c.ifNoneMatch_ != "" {
 29855  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 29856  	}
 29857  	var body io.Reader = nil
 29858  	c.urlParams_.Set("alt", alt)
 29859  	c.urlParams_.Set("prettyPrint", "false")
 29860  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 29861  	urls += "?" + c.urlParams_.Encode()
 29862  	req, err := http.NewRequest("GET", urls, body)
 29863  	if err != nil {
 29864  		return nil, err
 29865  	}
 29866  	req.Header = reqHeaders
 29867  	googleapi.Expand(req.URL, map[string]string{
 29868  		"name": c.name,
 29869  	})
 29870  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 29871  }
 29872  
 29873  // Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.get" call.
 29874  // Any non-2xx status code is an error. Response headers are in either
 29875  // *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or (if a
 29876  // response was returned at all) in error.(*googleapi.Error).Header. Use
 29877  // googleapi.IsNotModified to check whether the returned error was because
 29878  // http.StatusNotModified was returned.
 29879  func (c *ProjectsLocationsAgentsSessionsEntityTypesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) {
 29880  	gensupport.SetOptions(c.urlParams_, opts...)
 29881  	res, err := c.doRequest("json")
 29882  	if res != nil && res.StatusCode == http.StatusNotModified {
 29883  		if res.Body != nil {
 29884  			res.Body.Close()
 29885  		}
 29886  		return nil, gensupport.WrapError(&googleapi.Error{
 29887  			Code:   res.StatusCode,
 29888  			Header: res.Header,
 29889  		})
 29890  	}
 29891  	if err != nil {
 29892  		return nil, err
 29893  	}
 29894  	defer googleapi.CloseBody(res)
 29895  	if err := googleapi.CheckResponse(res); err != nil {
 29896  		return nil, gensupport.WrapError(err)
 29897  	}
 29898  	ret := &GoogleCloudDialogflowCxV3SessionEntityType{
 29899  		ServerResponse: googleapi.ServerResponse{
 29900  			Header:         res.Header,
 29901  			HTTPStatusCode: res.StatusCode,
 29902  		},
 29903  	}
 29904  	target := &ret
 29905  	if err := gensupport.DecodeResponse(target, res); err != nil {
 29906  		return nil, err
 29907  	}
 29908  	return ret, nil
 29909  }
 29910  
 29911  type ProjectsLocationsAgentsSessionsEntityTypesListCall struct {
 29912  	s            *Service
 29913  	parent       string
 29914  	urlParams_   gensupport.URLParams
 29915  	ifNoneMatch_ string
 29916  	ctx_         context.Context
 29917  	header_      http.Header
 29918  }
 29919  
 29920  // List: Returns the list of all session entity types in the specified session.
 29921  //
 29922  //   - parent: The session to list all session entity types from. Format:
 29923  //     `projects//locations//agents//sessions/` or
 29924  //     `projects//locations//agents//environments//sessions/`. If `Environment
 29925  //     ID` is not specified, we assume default 'draft' environment.
 29926  func (r *ProjectsLocationsAgentsSessionsEntityTypesService) List(parent string) *ProjectsLocationsAgentsSessionsEntityTypesListCall {
 29927  	c := &ProjectsLocationsAgentsSessionsEntityTypesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 29928  	c.parent = parent
 29929  	return c
 29930  }
 29931  
 29932  // PageSize sets the optional parameter "pageSize": The maximum number of items
 29933  // to return in a single page. By default 100 and at most 1000.
 29934  func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsSessionsEntityTypesListCall {
 29935  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 29936  	return c
 29937  }
 29938  
 29939  // PageToken sets the optional parameter "pageToken": The next_page_token value
 29940  // returned from a previous list request.
 29941  func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsSessionsEntityTypesListCall {
 29942  	c.urlParams_.Set("pageToken", pageToken)
 29943  	return c
 29944  }
 29945  
 29946  // Fields allows partial responses to be retrieved. See
 29947  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 29948  // details.
 29949  func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesListCall {
 29950  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 29951  	return c
 29952  }
 29953  
 29954  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 29955  // object's ETag matches the given value. This is useful for getting updates
 29956  // only after the object has changed since the last request.
 29957  func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsSessionsEntityTypesListCall {
 29958  	c.ifNoneMatch_ = entityTag
 29959  	return c
 29960  }
 29961  
 29962  // Context sets the context to be used in this call's Do method.
 29963  func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesListCall {
 29964  	c.ctx_ = ctx
 29965  	return c
 29966  }
 29967  
 29968  // Header returns a http.Header that can be modified by the caller to add
 29969  // headers to the request.
 29970  func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Header() http.Header {
 29971  	if c.header_ == nil {
 29972  		c.header_ = make(http.Header)
 29973  	}
 29974  	return c.header_
 29975  }
 29976  
 29977  func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) doRequest(alt string) (*http.Response, error) {
 29978  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 29979  	if c.ifNoneMatch_ != "" {
 29980  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 29981  	}
 29982  	var body io.Reader = nil
 29983  	c.urlParams_.Set("alt", alt)
 29984  	c.urlParams_.Set("prettyPrint", "false")
 29985  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/entityTypes")
 29986  	urls += "?" + c.urlParams_.Encode()
 29987  	req, err := http.NewRequest("GET", urls, body)
 29988  	if err != nil {
 29989  		return nil, err
 29990  	}
 29991  	req.Header = reqHeaders
 29992  	googleapi.Expand(req.URL, map[string]string{
 29993  		"parent": c.parent,
 29994  	})
 29995  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 29996  }
 29997  
 29998  // Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.list" call.
 29999  // Any non-2xx status code is an error. Response headers are in either
 30000  // *GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse.ServerResponse.Heade
 30001  // r or (if a response was returned at all) in error.(*googleapi.Error).Header.
 30002  // Use googleapi.IsNotModified to check whether the returned error was because
 30003  // http.StatusNotModified was returned.
 30004  func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse, error) {
 30005  	gensupport.SetOptions(c.urlParams_, opts...)
 30006  	res, err := c.doRequest("json")
 30007  	if res != nil && res.StatusCode == http.StatusNotModified {
 30008  		if res.Body != nil {
 30009  			res.Body.Close()
 30010  		}
 30011  		return nil, gensupport.WrapError(&googleapi.Error{
 30012  			Code:   res.StatusCode,
 30013  			Header: res.Header,
 30014  		})
 30015  	}
 30016  	if err != nil {
 30017  		return nil, err
 30018  	}
 30019  	defer googleapi.CloseBody(res)
 30020  	if err := googleapi.CheckResponse(res); err != nil {
 30021  		return nil, gensupport.WrapError(err)
 30022  	}
 30023  	ret := &GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse{
 30024  		ServerResponse: googleapi.ServerResponse{
 30025  			Header:         res.Header,
 30026  			HTTPStatusCode: res.StatusCode,
 30027  		},
 30028  	}
 30029  	target := &ret
 30030  	if err := gensupport.DecodeResponse(target, res); err != nil {
 30031  		return nil, err
 30032  	}
 30033  	return ret, nil
 30034  }
 30035  
 30036  // Pages invokes f for each page of results.
 30037  // A non-nil error returned from f will halt the iteration.
 30038  // The provided context supersedes any context provided to the Context method.
 30039  func (c *ProjectsLocationsAgentsSessionsEntityTypesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListSessionEntityTypesResponse) error) error {
 30040  	c.ctx_ = ctx
 30041  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 30042  	for {
 30043  		x, err := c.Do()
 30044  		if err != nil {
 30045  			return err
 30046  		}
 30047  		if err := f(x); err != nil {
 30048  			return err
 30049  		}
 30050  		if x.NextPageToken == "" {
 30051  			return nil
 30052  		}
 30053  		c.PageToken(x.NextPageToken)
 30054  	}
 30055  }
 30056  
 30057  type ProjectsLocationsAgentsSessionsEntityTypesPatchCall struct {
 30058  	s                                          *Service
 30059  	nameid                                     string
 30060  	googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType
 30061  	urlParams_                                 gensupport.URLParams
 30062  	ctx_                                       context.Context
 30063  	header_                                    http.Header
 30064  }
 30065  
 30066  // Patch: Updates the specified session entity type.
 30067  //
 30068  //   - name: The unique identifier of the session entity type. Format:
 30069  //     `projects//locations//agents//sessions//entityTypes/` or
 30070  //     `projects//locations//agents//environments//sessions//entityTypes/`. If
 30071  //     `Environment ID` is not specified, we assume default 'draft' environment.
 30072  func (r *ProjectsLocationsAgentsSessionsEntityTypesService) Patch(nameid string, googleclouddialogflowcxv3sessionentitytype *GoogleCloudDialogflowCxV3SessionEntityType) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall {
 30073  	c := &ProjectsLocationsAgentsSessionsEntityTypesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 30074  	c.nameid = nameid
 30075  	c.googleclouddialogflowcxv3sessionentitytype = googleclouddialogflowcxv3sessionentitytype
 30076  	return c
 30077  }
 30078  
 30079  // UpdateMask sets the optional parameter "updateMask": The mask to control
 30080  // which fields get updated.
 30081  func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall {
 30082  	c.urlParams_.Set("updateMask", updateMask)
 30083  	return c
 30084  }
 30085  
 30086  // Fields allows partial responses to be retrieved. See
 30087  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 30088  // details.
 30089  func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall {
 30090  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 30091  	return c
 30092  }
 30093  
 30094  // Context sets the context to be used in this call's Do method.
 30095  func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsSessionsEntityTypesPatchCall {
 30096  	c.ctx_ = ctx
 30097  	return c
 30098  }
 30099  
 30100  // Header returns a http.Header that can be modified by the caller to add
 30101  // headers to the request.
 30102  func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Header() http.Header {
 30103  	if c.header_ == nil {
 30104  		c.header_ = make(http.Header)
 30105  	}
 30106  	return c.header_
 30107  }
 30108  
 30109  func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) doRequest(alt string) (*http.Response, error) {
 30110  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 30111  	var body io.Reader = nil
 30112  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3sessionentitytype)
 30113  	if err != nil {
 30114  		return nil, err
 30115  	}
 30116  	c.urlParams_.Set("alt", alt)
 30117  	c.urlParams_.Set("prettyPrint", "false")
 30118  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 30119  	urls += "?" + c.urlParams_.Encode()
 30120  	req, err := http.NewRequest("PATCH", urls, body)
 30121  	if err != nil {
 30122  		return nil, err
 30123  	}
 30124  	req.Header = reqHeaders
 30125  	googleapi.Expand(req.URL, map[string]string{
 30126  		"name": c.nameid,
 30127  	})
 30128  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 30129  }
 30130  
 30131  // Do executes the "dialogflow.projects.locations.agents.sessions.entityTypes.patch" call.
 30132  // Any non-2xx status code is an error. Response headers are in either
 30133  // *GoogleCloudDialogflowCxV3SessionEntityType.ServerResponse.Header or (if a
 30134  // response was returned at all) in error.(*googleapi.Error).Header. Use
 30135  // googleapi.IsNotModified to check whether the returned error was because
 30136  // http.StatusNotModified was returned.
 30137  func (c *ProjectsLocationsAgentsSessionsEntityTypesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SessionEntityType, error) {
 30138  	gensupport.SetOptions(c.urlParams_, opts...)
 30139  	res, err := c.doRequest("json")
 30140  	if res != nil && res.StatusCode == http.StatusNotModified {
 30141  		if res.Body != nil {
 30142  			res.Body.Close()
 30143  		}
 30144  		return nil, gensupport.WrapError(&googleapi.Error{
 30145  			Code:   res.StatusCode,
 30146  			Header: res.Header,
 30147  		})
 30148  	}
 30149  	if err != nil {
 30150  		return nil, err
 30151  	}
 30152  	defer googleapi.CloseBody(res)
 30153  	if err := googleapi.CheckResponse(res); err != nil {
 30154  		return nil, gensupport.WrapError(err)
 30155  	}
 30156  	ret := &GoogleCloudDialogflowCxV3SessionEntityType{
 30157  		ServerResponse: googleapi.ServerResponse{
 30158  			Header:         res.Header,
 30159  			HTTPStatusCode: res.StatusCode,
 30160  		},
 30161  	}
 30162  	target := &ret
 30163  	if err := gensupport.DecodeResponse(target, res); err != nil {
 30164  		return nil, err
 30165  	}
 30166  	return ret, nil
 30167  }
 30168  
 30169  type ProjectsLocationsAgentsTestCasesBatchDeleteCall struct {
 30170  	s                                                    *Service
 30171  	parent                                               string
 30172  	googleclouddialogflowcxv3batchdeletetestcasesrequest *GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest
 30173  	urlParams_                                           gensupport.URLParams
 30174  	ctx_                                                 context.Context
 30175  	header_                                              http.Header
 30176  }
 30177  
 30178  // BatchDelete: Batch deletes test cases.
 30179  //
 30180  //   - parent: The agent to delete test cases from. Format:
 30181  //     `projects//locations//agents/`.
 30182  func (r *ProjectsLocationsAgentsTestCasesService) BatchDelete(parent string, googleclouddialogflowcxv3batchdeletetestcasesrequest *GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest) *ProjectsLocationsAgentsTestCasesBatchDeleteCall {
 30183  	c := &ProjectsLocationsAgentsTestCasesBatchDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 30184  	c.parent = parent
 30185  	c.googleclouddialogflowcxv3batchdeletetestcasesrequest = googleclouddialogflowcxv3batchdeletetestcasesrequest
 30186  	return c
 30187  }
 30188  
 30189  // Fields allows partial responses to be retrieved. See
 30190  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 30191  // details.
 30192  func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesBatchDeleteCall {
 30193  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 30194  	return c
 30195  }
 30196  
 30197  // Context sets the context to be used in this call's Do method.
 30198  func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesBatchDeleteCall {
 30199  	c.ctx_ = ctx
 30200  	return c
 30201  }
 30202  
 30203  // Header returns a http.Header that can be modified by the caller to add
 30204  // headers to the request.
 30205  func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) Header() http.Header {
 30206  	if c.header_ == nil {
 30207  		c.header_ = make(http.Header)
 30208  	}
 30209  	return c.header_
 30210  }
 30211  
 30212  func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) doRequest(alt string) (*http.Response, error) {
 30213  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 30214  	var body io.Reader = nil
 30215  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3batchdeletetestcasesrequest)
 30216  	if err != nil {
 30217  		return nil, err
 30218  	}
 30219  	c.urlParams_.Set("alt", alt)
 30220  	c.urlParams_.Set("prettyPrint", "false")
 30221  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/testCases:batchDelete")
 30222  	urls += "?" + c.urlParams_.Encode()
 30223  	req, err := http.NewRequest("POST", urls, body)
 30224  	if err != nil {
 30225  		return nil, err
 30226  	}
 30227  	req.Header = reqHeaders
 30228  	googleapi.Expand(req.URL, map[string]string{
 30229  		"parent": c.parent,
 30230  	})
 30231  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 30232  }
 30233  
 30234  // Do executes the "dialogflow.projects.locations.agents.testCases.batchDelete" call.
 30235  // Any non-2xx status code is an error. Response headers are in either
 30236  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 30237  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 30238  // check whether the returned error was because http.StatusNotModified was
 30239  // returned.
 30240  func (c *ProjectsLocationsAgentsTestCasesBatchDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 30241  	gensupport.SetOptions(c.urlParams_, opts...)
 30242  	res, err := c.doRequest("json")
 30243  	if res != nil && res.StatusCode == http.StatusNotModified {
 30244  		if res.Body != nil {
 30245  			res.Body.Close()
 30246  		}
 30247  		return nil, gensupport.WrapError(&googleapi.Error{
 30248  			Code:   res.StatusCode,
 30249  			Header: res.Header,
 30250  		})
 30251  	}
 30252  	if err != nil {
 30253  		return nil, err
 30254  	}
 30255  	defer googleapi.CloseBody(res)
 30256  	if err := googleapi.CheckResponse(res); err != nil {
 30257  		return nil, gensupport.WrapError(err)
 30258  	}
 30259  	ret := &GoogleProtobufEmpty{
 30260  		ServerResponse: googleapi.ServerResponse{
 30261  			Header:         res.Header,
 30262  			HTTPStatusCode: res.StatusCode,
 30263  		},
 30264  	}
 30265  	target := &ret
 30266  	if err := gensupport.DecodeResponse(target, res); err != nil {
 30267  		return nil, err
 30268  	}
 30269  	return ret, nil
 30270  }
 30271  
 30272  type ProjectsLocationsAgentsTestCasesBatchRunCall struct {
 30273  	s                                                 *Service
 30274  	parent                                            string
 30275  	googleclouddialogflowcxv3batchruntestcasesrequest *GoogleCloudDialogflowCxV3BatchRunTestCasesRequest
 30276  	urlParams_                                        gensupport.URLParams
 30277  	ctx_                                              context.Context
 30278  	header_                                           http.Header
 30279  }
 30280  
 30281  // BatchRun: Kicks off a batch run of test cases. This method is a long-running
 30282  // operation
 30283  // (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
 30284  // The returned `Operation` type has the following method-specific fields: -
 30285  // `metadata`: BatchRunTestCasesMetadata - `response`:
 30286  // BatchRunTestCasesResponse
 30287  //
 30288  // - parent: Agent name. Format: `projects//locations//agents/ `.
 30289  func (r *ProjectsLocationsAgentsTestCasesService) BatchRun(parent string, googleclouddialogflowcxv3batchruntestcasesrequest *GoogleCloudDialogflowCxV3BatchRunTestCasesRequest) *ProjectsLocationsAgentsTestCasesBatchRunCall {
 30290  	c := &ProjectsLocationsAgentsTestCasesBatchRunCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 30291  	c.parent = parent
 30292  	c.googleclouddialogflowcxv3batchruntestcasesrequest = googleclouddialogflowcxv3batchruntestcasesrequest
 30293  	return c
 30294  }
 30295  
 30296  // Fields allows partial responses to be retrieved. See
 30297  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 30298  // details.
 30299  func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesBatchRunCall {
 30300  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 30301  	return c
 30302  }
 30303  
 30304  // Context sets the context to be used in this call's Do method.
 30305  func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesBatchRunCall {
 30306  	c.ctx_ = ctx
 30307  	return c
 30308  }
 30309  
 30310  // Header returns a http.Header that can be modified by the caller to add
 30311  // headers to the request.
 30312  func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) Header() http.Header {
 30313  	if c.header_ == nil {
 30314  		c.header_ = make(http.Header)
 30315  	}
 30316  	return c.header_
 30317  }
 30318  
 30319  func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) doRequest(alt string) (*http.Response, error) {
 30320  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 30321  	var body io.Reader = nil
 30322  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3batchruntestcasesrequest)
 30323  	if err != nil {
 30324  		return nil, err
 30325  	}
 30326  	c.urlParams_.Set("alt", alt)
 30327  	c.urlParams_.Set("prettyPrint", "false")
 30328  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/testCases:batchRun")
 30329  	urls += "?" + c.urlParams_.Encode()
 30330  	req, err := http.NewRequest("POST", urls, body)
 30331  	if err != nil {
 30332  		return nil, err
 30333  	}
 30334  	req.Header = reqHeaders
 30335  	googleapi.Expand(req.URL, map[string]string{
 30336  		"parent": c.parent,
 30337  	})
 30338  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 30339  }
 30340  
 30341  // Do executes the "dialogflow.projects.locations.agents.testCases.batchRun" call.
 30342  // Any non-2xx status code is an error. Response headers are in either
 30343  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 30344  // returned at all) in error.(*googleapi.Error).Header. Use
 30345  // googleapi.IsNotModified to check whether the returned error was because
 30346  // http.StatusNotModified was returned.
 30347  func (c *ProjectsLocationsAgentsTestCasesBatchRunCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 30348  	gensupport.SetOptions(c.urlParams_, opts...)
 30349  	res, err := c.doRequest("json")
 30350  	if res != nil && res.StatusCode == http.StatusNotModified {
 30351  		if res.Body != nil {
 30352  			res.Body.Close()
 30353  		}
 30354  		return nil, gensupport.WrapError(&googleapi.Error{
 30355  			Code:   res.StatusCode,
 30356  			Header: res.Header,
 30357  		})
 30358  	}
 30359  	if err != nil {
 30360  		return nil, err
 30361  	}
 30362  	defer googleapi.CloseBody(res)
 30363  	if err := googleapi.CheckResponse(res); err != nil {
 30364  		return nil, gensupport.WrapError(err)
 30365  	}
 30366  	ret := &GoogleLongrunningOperation{
 30367  		ServerResponse: googleapi.ServerResponse{
 30368  			Header:         res.Header,
 30369  			HTTPStatusCode: res.StatusCode,
 30370  		},
 30371  	}
 30372  	target := &ret
 30373  	if err := gensupport.DecodeResponse(target, res); err != nil {
 30374  		return nil, err
 30375  	}
 30376  	return ret, nil
 30377  }
 30378  
 30379  type ProjectsLocationsAgentsTestCasesCalculateCoverageCall struct {
 30380  	s            *Service
 30381  	agent        string
 30382  	urlParams_   gensupport.URLParams
 30383  	ifNoneMatch_ string
 30384  	ctx_         context.Context
 30385  	header_      http.Header
 30386  }
 30387  
 30388  // CalculateCoverage: Calculates the test coverage for an agent.
 30389  //
 30390  //   - agent: The agent to calculate coverage for. Format:
 30391  //     `projects//locations//agents/`.
 30392  func (r *ProjectsLocationsAgentsTestCasesService) CalculateCoverage(agent string) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall {
 30393  	c := &ProjectsLocationsAgentsTestCasesCalculateCoverageCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 30394  	c.agent = agent
 30395  	return c
 30396  }
 30397  
 30398  // Type sets the optional parameter "type": Required. The type of coverage
 30399  // requested.
 30400  //
 30401  // Possible values:
 30402  //
 30403  //	"COVERAGE_TYPE_UNSPECIFIED" - Should never be used.
 30404  //	"INTENT" - Intent coverage.
 30405  //	"PAGE_TRANSITION" - Page transition coverage.
 30406  //	"TRANSITION_ROUTE_GROUP" - Transition route group coverage.
 30407  func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Type(type_ string) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall {
 30408  	c.urlParams_.Set("type", type_)
 30409  	return c
 30410  }
 30411  
 30412  // Fields allows partial responses to be retrieved. See
 30413  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 30414  // details.
 30415  func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall {
 30416  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 30417  	return c
 30418  }
 30419  
 30420  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 30421  // object's ETag matches the given value. This is useful for getting updates
 30422  // only after the object has changed since the last request.
 30423  func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall {
 30424  	c.ifNoneMatch_ = entityTag
 30425  	return c
 30426  }
 30427  
 30428  // Context sets the context to be used in this call's Do method.
 30429  func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesCalculateCoverageCall {
 30430  	c.ctx_ = ctx
 30431  	return c
 30432  }
 30433  
 30434  // Header returns a http.Header that can be modified by the caller to add
 30435  // headers to the request.
 30436  func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Header() http.Header {
 30437  	if c.header_ == nil {
 30438  		c.header_ = make(http.Header)
 30439  	}
 30440  	return c.header_
 30441  }
 30442  
 30443  func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) doRequest(alt string) (*http.Response, error) {
 30444  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 30445  	if c.ifNoneMatch_ != "" {
 30446  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 30447  	}
 30448  	var body io.Reader = nil
 30449  	c.urlParams_.Set("alt", alt)
 30450  	c.urlParams_.Set("prettyPrint", "false")
 30451  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+agent}/testCases:calculateCoverage")
 30452  	urls += "?" + c.urlParams_.Encode()
 30453  	req, err := http.NewRequest("GET", urls, body)
 30454  	if err != nil {
 30455  		return nil, err
 30456  	}
 30457  	req.Header = reqHeaders
 30458  	googleapi.Expand(req.URL, map[string]string{
 30459  		"agent": c.agent,
 30460  	})
 30461  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 30462  }
 30463  
 30464  // Do executes the "dialogflow.projects.locations.agents.testCases.calculateCoverage" call.
 30465  // Any non-2xx status code is an error. Response headers are in either
 30466  // *GoogleCloudDialogflowCxV3CalculateCoverageResponse.ServerResponse.Header or
 30467  // (if a response was returned at all) in error.(*googleapi.Error).Header. Use
 30468  // googleapi.IsNotModified to check whether the returned error was because
 30469  // http.StatusNotModified was returned.
 30470  func (c *ProjectsLocationsAgentsTestCasesCalculateCoverageCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3CalculateCoverageResponse, error) {
 30471  	gensupport.SetOptions(c.urlParams_, opts...)
 30472  	res, err := c.doRequest("json")
 30473  	if res != nil && res.StatusCode == http.StatusNotModified {
 30474  		if res.Body != nil {
 30475  			res.Body.Close()
 30476  		}
 30477  		return nil, gensupport.WrapError(&googleapi.Error{
 30478  			Code:   res.StatusCode,
 30479  			Header: res.Header,
 30480  		})
 30481  	}
 30482  	if err != nil {
 30483  		return nil, err
 30484  	}
 30485  	defer googleapi.CloseBody(res)
 30486  	if err := googleapi.CheckResponse(res); err != nil {
 30487  		return nil, gensupport.WrapError(err)
 30488  	}
 30489  	ret := &GoogleCloudDialogflowCxV3CalculateCoverageResponse{
 30490  		ServerResponse: googleapi.ServerResponse{
 30491  			Header:         res.Header,
 30492  			HTTPStatusCode: res.StatusCode,
 30493  		},
 30494  	}
 30495  	target := &ret
 30496  	if err := gensupport.DecodeResponse(target, res); err != nil {
 30497  		return nil, err
 30498  	}
 30499  	return ret, nil
 30500  }
 30501  
 30502  type ProjectsLocationsAgentsTestCasesCreateCall struct {
 30503  	s                                 *Service
 30504  	parent                            string
 30505  	googleclouddialogflowcxv3testcase *GoogleCloudDialogflowCxV3TestCase
 30506  	urlParams_                        gensupport.URLParams
 30507  	ctx_                              context.Context
 30508  	header_                           http.Header
 30509  }
 30510  
 30511  // Create: Creates a test case for the given agent.
 30512  //
 30513  //   - parent: The agent to create the test case for. Format:
 30514  //     `projects//locations//agents/`.
 30515  func (r *ProjectsLocationsAgentsTestCasesService) Create(parent string, googleclouddialogflowcxv3testcase *GoogleCloudDialogflowCxV3TestCase) *ProjectsLocationsAgentsTestCasesCreateCall {
 30516  	c := &ProjectsLocationsAgentsTestCasesCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 30517  	c.parent = parent
 30518  	c.googleclouddialogflowcxv3testcase = googleclouddialogflowcxv3testcase
 30519  	return c
 30520  }
 30521  
 30522  // Fields allows partial responses to be retrieved. See
 30523  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 30524  // details.
 30525  func (c *ProjectsLocationsAgentsTestCasesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesCreateCall {
 30526  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 30527  	return c
 30528  }
 30529  
 30530  // Context sets the context to be used in this call's Do method.
 30531  func (c *ProjectsLocationsAgentsTestCasesCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesCreateCall {
 30532  	c.ctx_ = ctx
 30533  	return c
 30534  }
 30535  
 30536  // Header returns a http.Header that can be modified by the caller to add
 30537  // headers to the request.
 30538  func (c *ProjectsLocationsAgentsTestCasesCreateCall) Header() http.Header {
 30539  	if c.header_ == nil {
 30540  		c.header_ = make(http.Header)
 30541  	}
 30542  	return c.header_
 30543  }
 30544  
 30545  func (c *ProjectsLocationsAgentsTestCasesCreateCall) doRequest(alt string) (*http.Response, error) {
 30546  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 30547  	var body io.Reader = nil
 30548  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3testcase)
 30549  	if err != nil {
 30550  		return nil, err
 30551  	}
 30552  	c.urlParams_.Set("alt", alt)
 30553  	c.urlParams_.Set("prettyPrint", "false")
 30554  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/testCases")
 30555  	urls += "?" + c.urlParams_.Encode()
 30556  	req, err := http.NewRequest("POST", urls, body)
 30557  	if err != nil {
 30558  		return nil, err
 30559  	}
 30560  	req.Header = reqHeaders
 30561  	googleapi.Expand(req.URL, map[string]string{
 30562  		"parent": c.parent,
 30563  	})
 30564  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 30565  }
 30566  
 30567  // Do executes the "dialogflow.projects.locations.agents.testCases.create" call.
 30568  // Any non-2xx status code is an error. Response headers are in either
 30569  // *GoogleCloudDialogflowCxV3TestCase.ServerResponse.Header or (if a response
 30570  // was returned at all) in error.(*googleapi.Error).Header. Use
 30571  // googleapi.IsNotModified to check whether the returned error was because
 30572  // http.StatusNotModified was returned.
 30573  func (c *ProjectsLocationsAgentsTestCasesCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TestCase, error) {
 30574  	gensupport.SetOptions(c.urlParams_, opts...)
 30575  	res, err := c.doRequest("json")
 30576  	if res != nil && res.StatusCode == http.StatusNotModified {
 30577  		if res.Body != nil {
 30578  			res.Body.Close()
 30579  		}
 30580  		return nil, gensupport.WrapError(&googleapi.Error{
 30581  			Code:   res.StatusCode,
 30582  			Header: res.Header,
 30583  		})
 30584  	}
 30585  	if err != nil {
 30586  		return nil, err
 30587  	}
 30588  	defer googleapi.CloseBody(res)
 30589  	if err := googleapi.CheckResponse(res); err != nil {
 30590  		return nil, gensupport.WrapError(err)
 30591  	}
 30592  	ret := &GoogleCloudDialogflowCxV3TestCase{
 30593  		ServerResponse: googleapi.ServerResponse{
 30594  			Header:         res.Header,
 30595  			HTTPStatusCode: res.StatusCode,
 30596  		},
 30597  	}
 30598  	target := &ret
 30599  	if err := gensupport.DecodeResponse(target, res); err != nil {
 30600  		return nil, err
 30601  	}
 30602  	return ret, nil
 30603  }
 30604  
 30605  type ProjectsLocationsAgentsTestCasesExportCall struct {
 30606  	s                                               *Service
 30607  	parent                                          string
 30608  	googleclouddialogflowcxv3exporttestcasesrequest *GoogleCloudDialogflowCxV3ExportTestCasesRequest
 30609  	urlParams_                                      gensupport.URLParams
 30610  	ctx_                                            context.Context
 30611  	header_                                         http.Header
 30612  }
 30613  
 30614  // Export: Exports the test cases under the agent to a Cloud Storage bucket or
 30615  // a local file. Filter can be applied to export a subset of test cases. This
 30616  // method is a long-running operation
 30617  // (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
 30618  // The returned `Operation` type has the following method-specific fields: -
 30619  // `metadata`: ExportTestCasesMetadata - `response`: ExportTestCasesResponse
 30620  //
 30621  //   - parent: The agent where to export test cases from. Format:
 30622  //     `projects//locations//agents/`.
 30623  func (r *ProjectsLocationsAgentsTestCasesService) Export(parent string, googleclouddialogflowcxv3exporttestcasesrequest *GoogleCloudDialogflowCxV3ExportTestCasesRequest) *ProjectsLocationsAgentsTestCasesExportCall {
 30624  	c := &ProjectsLocationsAgentsTestCasesExportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 30625  	c.parent = parent
 30626  	c.googleclouddialogflowcxv3exporttestcasesrequest = googleclouddialogflowcxv3exporttestcasesrequest
 30627  	return c
 30628  }
 30629  
 30630  // Fields allows partial responses to be retrieved. See
 30631  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 30632  // details.
 30633  func (c *ProjectsLocationsAgentsTestCasesExportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesExportCall {
 30634  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 30635  	return c
 30636  }
 30637  
 30638  // Context sets the context to be used in this call's Do method.
 30639  func (c *ProjectsLocationsAgentsTestCasesExportCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesExportCall {
 30640  	c.ctx_ = ctx
 30641  	return c
 30642  }
 30643  
 30644  // Header returns a http.Header that can be modified by the caller to add
 30645  // headers to the request.
 30646  func (c *ProjectsLocationsAgentsTestCasesExportCall) Header() http.Header {
 30647  	if c.header_ == nil {
 30648  		c.header_ = make(http.Header)
 30649  	}
 30650  	return c.header_
 30651  }
 30652  
 30653  func (c *ProjectsLocationsAgentsTestCasesExportCall) doRequest(alt string) (*http.Response, error) {
 30654  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 30655  	var body io.Reader = nil
 30656  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3exporttestcasesrequest)
 30657  	if err != nil {
 30658  		return nil, err
 30659  	}
 30660  	c.urlParams_.Set("alt", alt)
 30661  	c.urlParams_.Set("prettyPrint", "false")
 30662  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/testCases:export")
 30663  	urls += "?" + c.urlParams_.Encode()
 30664  	req, err := http.NewRequest("POST", urls, body)
 30665  	if err != nil {
 30666  		return nil, err
 30667  	}
 30668  	req.Header = reqHeaders
 30669  	googleapi.Expand(req.URL, map[string]string{
 30670  		"parent": c.parent,
 30671  	})
 30672  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 30673  }
 30674  
 30675  // Do executes the "dialogflow.projects.locations.agents.testCases.export" call.
 30676  // Any non-2xx status code is an error. Response headers are in either
 30677  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 30678  // returned at all) in error.(*googleapi.Error).Header. Use
 30679  // googleapi.IsNotModified to check whether the returned error was because
 30680  // http.StatusNotModified was returned.
 30681  func (c *ProjectsLocationsAgentsTestCasesExportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 30682  	gensupport.SetOptions(c.urlParams_, opts...)
 30683  	res, err := c.doRequest("json")
 30684  	if res != nil && res.StatusCode == http.StatusNotModified {
 30685  		if res.Body != nil {
 30686  			res.Body.Close()
 30687  		}
 30688  		return nil, gensupport.WrapError(&googleapi.Error{
 30689  			Code:   res.StatusCode,
 30690  			Header: res.Header,
 30691  		})
 30692  	}
 30693  	if err != nil {
 30694  		return nil, err
 30695  	}
 30696  	defer googleapi.CloseBody(res)
 30697  	if err := googleapi.CheckResponse(res); err != nil {
 30698  		return nil, gensupport.WrapError(err)
 30699  	}
 30700  	ret := &GoogleLongrunningOperation{
 30701  		ServerResponse: googleapi.ServerResponse{
 30702  			Header:         res.Header,
 30703  			HTTPStatusCode: res.StatusCode,
 30704  		},
 30705  	}
 30706  	target := &ret
 30707  	if err := gensupport.DecodeResponse(target, res); err != nil {
 30708  		return nil, err
 30709  	}
 30710  	return ret, nil
 30711  }
 30712  
 30713  type ProjectsLocationsAgentsTestCasesGetCall struct {
 30714  	s            *Service
 30715  	name         string
 30716  	urlParams_   gensupport.URLParams
 30717  	ifNoneMatch_ string
 30718  	ctx_         context.Context
 30719  	header_      http.Header
 30720  }
 30721  
 30722  // Get: Gets a test case.
 30723  //
 30724  //   - name: The name of the testcase. Format:
 30725  //     `projects//locations//agents//testCases/`.
 30726  func (r *ProjectsLocationsAgentsTestCasesService) Get(name string) *ProjectsLocationsAgentsTestCasesGetCall {
 30727  	c := &ProjectsLocationsAgentsTestCasesGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 30728  	c.name = name
 30729  	return c
 30730  }
 30731  
 30732  // Fields allows partial responses to be retrieved. See
 30733  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 30734  // details.
 30735  func (c *ProjectsLocationsAgentsTestCasesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesGetCall {
 30736  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 30737  	return c
 30738  }
 30739  
 30740  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 30741  // object's ETag matches the given value. This is useful for getting updates
 30742  // only after the object has changed since the last request.
 30743  func (c *ProjectsLocationsAgentsTestCasesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesGetCall {
 30744  	c.ifNoneMatch_ = entityTag
 30745  	return c
 30746  }
 30747  
 30748  // Context sets the context to be used in this call's Do method.
 30749  func (c *ProjectsLocationsAgentsTestCasesGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesGetCall {
 30750  	c.ctx_ = ctx
 30751  	return c
 30752  }
 30753  
 30754  // Header returns a http.Header that can be modified by the caller to add
 30755  // headers to the request.
 30756  func (c *ProjectsLocationsAgentsTestCasesGetCall) Header() http.Header {
 30757  	if c.header_ == nil {
 30758  		c.header_ = make(http.Header)
 30759  	}
 30760  	return c.header_
 30761  }
 30762  
 30763  func (c *ProjectsLocationsAgentsTestCasesGetCall) doRequest(alt string) (*http.Response, error) {
 30764  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 30765  	if c.ifNoneMatch_ != "" {
 30766  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 30767  	}
 30768  	var body io.Reader = nil
 30769  	c.urlParams_.Set("alt", alt)
 30770  	c.urlParams_.Set("prettyPrint", "false")
 30771  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 30772  	urls += "?" + c.urlParams_.Encode()
 30773  	req, err := http.NewRequest("GET", urls, body)
 30774  	if err != nil {
 30775  		return nil, err
 30776  	}
 30777  	req.Header = reqHeaders
 30778  	googleapi.Expand(req.URL, map[string]string{
 30779  		"name": c.name,
 30780  	})
 30781  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 30782  }
 30783  
 30784  // Do executes the "dialogflow.projects.locations.agents.testCases.get" call.
 30785  // Any non-2xx status code is an error. Response headers are in either
 30786  // *GoogleCloudDialogflowCxV3TestCase.ServerResponse.Header or (if a response
 30787  // was returned at all) in error.(*googleapi.Error).Header. Use
 30788  // googleapi.IsNotModified to check whether the returned error was because
 30789  // http.StatusNotModified was returned.
 30790  func (c *ProjectsLocationsAgentsTestCasesGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TestCase, error) {
 30791  	gensupport.SetOptions(c.urlParams_, opts...)
 30792  	res, err := c.doRequest("json")
 30793  	if res != nil && res.StatusCode == http.StatusNotModified {
 30794  		if res.Body != nil {
 30795  			res.Body.Close()
 30796  		}
 30797  		return nil, gensupport.WrapError(&googleapi.Error{
 30798  			Code:   res.StatusCode,
 30799  			Header: res.Header,
 30800  		})
 30801  	}
 30802  	if err != nil {
 30803  		return nil, err
 30804  	}
 30805  	defer googleapi.CloseBody(res)
 30806  	if err := googleapi.CheckResponse(res); err != nil {
 30807  		return nil, gensupport.WrapError(err)
 30808  	}
 30809  	ret := &GoogleCloudDialogflowCxV3TestCase{
 30810  		ServerResponse: googleapi.ServerResponse{
 30811  			Header:         res.Header,
 30812  			HTTPStatusCode: res.StatusCode,
 30813  		},
 30814  	}
 30815  	target := &ret
 30816  	if err := gensupport.DecodeResponse(target, res); err != nil {
 30817  		return nil, err
 30818  	}
 30819  	return ret, nil
 30820  }
 30821  
 30822  type ProjectsLocationsAgentsTestCasesImportCall struct {
 30823  	s                                               *Service
 30824  	parent                                          string
 30825  	googleclouddialogflowcxv3importtestcasesrequest *GoogleCloudDialogflowCxV3ImportTestCasesRequest
 30826  	urlParams_                                      gensupport.URLParams
 30827  	ctx_                                            context.Context
 30828  	header_                                         http.Header
 30829  }
 30830  
 30831  // Import: Imports the test cases from a Cloud Storage bucket or a local file.
 30832  // It always creates new test cases and won't overwrite any existing ones. The
 30833  // provided ID in the imported test case is neglected. This method is a
 30834  // long-running operation
 30835  // (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
 30836  // The returned `Operation` type has the following method-specific fields: -
 30837  // `metadata`: ImportTestCasesMetadata - `response`: ImportTestCasesResponse
 30838  //
 30839  //   - parent: The agent to import test cases to. Format:
 30840  //     `projects//locations//agents/`.
 30841  func (r *ProjectsLocationsAgentsTestCasesService) Import(parent string, googleclouddialogflowcxv3importtestcasesrequest *GoogleCloudDialogflowCxV3ImportTestCasesRequest) *ProjectsLocationsAgentsTestCasesImportCall {
 30842  	c := &ProjectsLocationsAgentsTestCasesImportCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 30843  	c.parent = parent
 30844  	c.googleclouddialogflowcxv3importtestcasesrequest = googleclouddialogflowcxv3importtestcasesrequest
 30845  	return c
 30846  }
 30847  
 30848  // Fields allows partial responses to be retrieved. See
 30849  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 30850  // details.
 30851  func (c *ProjectsLocationsAgentsTestCasesImportCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesImportCall {
 30852  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 30853  	return c
 30854  }
 30855  
 30856  // Context sets the context to be used in this call's Do method.
 30857  func (c *ProjectsLocationsAgentsTestCasesImportCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesImportCall {
 30858  	c.ctx_ = ctx
 30859  	return c
 30860  }
 30861  
 30862  // Header returns a http.Header that can be modified by the caller to add
 30863  // headers to the request.
 30864  func (c *ProjectsLocationsAgentsTestCasesImportCall) Header() http.Header {
 30865  	if c.header_ == nil {
 30866  		c.header_ = make(http.Header)
 30867  	}
 30868  	return c.header_
 30869  }
 30870  
 30871  func (c *ProjectsLocationsAgentsTestCasesImportCall) doRequest(alt string) (*http.Response, error) {
 30872  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 30873  	var body io.Reader = nil
 30874  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3importtestcasesrequest)
 30875  	if err != nil {
 30876  		return nil, err
 30877  	}
 30878  	c.urlParams_.Set("alt", alt)
 30879  	c.urlParams_.Set("prettyPrint", "false")
 30880  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/testCases:import")
 30881  	urls += "?" + c.urlParams_.Encode()
 30882  	req, err := http.NewRequest("POST", urls, body)
 30883  	if err != nil {
 30884  		return nil, err
 30885  	}
 30886  	req.Header = reqHeaders
 30887  	googleapi.Expand(req.URL, map[string]string{
 30888  		"parent": c.parent,
 30889  	})
 30890  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 30891  }
 30892  
 30893  // Do executes the "dialogflow.projects.locations.agents.testCases.import" call.
 30894  // Any non-2xx status code is an error. Response headers are in either
 30895  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 30896  // returned at all) in error.(*googleapi.Error).Header. Use
 30897  // googleapi.IsNotModified to check whether the returned error was because
 30898  // http.StatusNotModified was returned.
 30899  func (c *ProjectsLocationsAgentsTestCasesImportCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 30900  	gensupport.SetOptions(c.urlParams_, opts...)
 30901  	res, err := c.doRequest("json")
 30902  	if res != nil && res.StatusCode == http.StatusNotModified {
 30903  		if res.Body != nil {
 30904  			res.Body.Close()
 30905  		}
 30906  		return nil, gensupport.WrapError(&googleapi.Error{
 30907  			Code:   res.StatusCode,
 30908  			Header: res.Header,
 30909  		})
 30910  	}
 30911  	if err != nil {
 30912  		return nil, err
 30913  	}
 30914  	defer googleapi.CloseBody(res)
 30915  	if err := googleapi.CheckResponse(res); err != nil {
 30916  		return nil, gensupport.WrapError(err)
 30917  	}
 30918  	ret := &GoogleLongrunningOperation{
 30919  		ServerResponse: googleapi.ServerResponse{
 30920  			Header:         res.Header,
 30921  			HTTPStatusCode: res.StatusCode,
 30922  		},
 30923  	}
 30924  	target := &ret
 30925  	if err := gensupport.DecodeResponse(target, res); err != nil {
 30926  		return nil, err
 30927  	}
 30928  	return ret, nil
 30929  }
 30930  
 30931  type ProjectsLocationsAgentsTestCasesListCall struct {
 30932  	s            *Service
 30933  	parent       string
 30934  	urlParams_   gensupport.URLParams
 30935  	ifNoneMatch_ string
 30936  	ctx_         context.Context
 30937  	header_      http.Header
 30938  }
 30939  
 30940  // List: Fetches a list of test cases for a given agent.
 30941  //
 30942  //   - parent: The agent to list all pages for. Format:
 30943  //     `projects//locations//agents/`.
 30944  func (r *ProjectsLocationsAgentsTestCasesService) List(parent string) *ProjectsLocationsAgentsTestCasesListCall {
 30945  	c := &ProjectsLocationsAgentsTestCasesListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 30946  	c.parent = parent
 30947  	return c
 30948  }
 30949  
 30950  // PageSize sets the optional parameter "pageSize": The maximum number of items
 30951  // to return in a single page. By default 20. Note that when TestCaseView =
 30952  // FULL, the maximum page size allowed is 20. When TestCaseView = BASIC, the
 30953  // maximum page size allowed is 500.
 30954  func (c *ProjectsLocationsAgentsTestCasesListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsTestCasesListCall {
 30955  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 30956  	return c
 30957  }
 30958  
 30959  // PageToken sets the optional parameter "pageToken": The next_page_token value
 30960  // returned from a previous list request.
 30961  func (c *ProjectsLocationsAgentsTestCasesListCall) PageToken(pageToken string) *ProjectsLocationsAgentsTestCasesListCall {
 30962  	c.urlParams_.Set("pageToken", pageToken)
 30963  	return c
 30964  }
 30965  
 30966  // View sets the optional parameter "view": Specifies whether response should
 30967  // include all fields or just the metadata.
 30968  //
 30969  // Possible values:
 30970  //
 30971  //	"TEST_CASE_VIEW_UNSPECIFIED" - The default / unset value. The API will
 30972  //
 30973  // default to the BASIC view.
 30974  //
 30975  //	"BASIC" - Include basic metadata about the test case, but not the
 30976  //
 30977  // conversation turns. This is the default value.
 30978  //
 30979  //	"FULL" - Include everything.
 30980  func (c *ProjectsLocationsAgentsTestCasesListCall) View(view string) *ProjectsLocationsAgentsTestCasesListCall {
 30981  	c.urlParams_.Set("view", view)
 30982  	return c
 30983  }
 30984  
 30985  // Fields allows partial responses to be retrieved. See
 30986  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 30987  // details.
 30988  func (c *ProjectsLocationsAgentsTestCasesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesListCall {
 30989  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 30990  	return c
 30991  }
 30992  
 30993  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 30994  // object's ETag matches the given value. This is useful for getting updates
 30995  // only after the object has changed since the last request.
 30996  func (c *ProjectsLocationsAgentsTestCasesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesListCall {
 30997  	c.ifNoneMatch_ = entityTag
 30998  	return c
 30999  }
 31000  
 31001  // Context sets the context to be used in this call's Do method.
 31002  func (c *ProjectsLocationsAgentsTestCasesListCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesListCall {
 31003  	c.ctx_ = ctx
 31004  	return c
 31005  }
 31006  
 31007  // Header returns a http.Header that can be modified by the caller to add
 31008  // headers to the request.
 31009  func (c *ProjectsLocationsAgentsTestCasesListCall) Header() http.Header {
 31010  	if c.header_ == nil {
 31011  		c.header_ = make(http.Header)
 31012  	}
 31013  	return c.header_
 31014  }
 31015  
 31016  func (c *ProjectsLocationsAgentsTestCasesListCall) doRequest(alt string) (*http.Response, error) {
 31017  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 31018  	if c.ifNoneMatch_ != "" {
 31019  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 31020  	}
 31021  	var body io.Reader = nil
 31022  	c.urlParams_.Set("alt", alt)
 31023  	c.urlParams_.Set("prettyPrint", "false")
 31024  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/testCases")
 31025  	urls += "?" + c.urlParams_.Encode()
 31026  	req, err := http.NewRequest("GET", urls, body)
 31027  	if err != nil {
 31028  		return nil, err
 31029  	}
 31030  	req.Header = reqHeaders
 31031  	googleapi.Expand(req.URL, map[string]string{
 31032  		"parent": c.parent,
 31033  	})
 31034  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 31035  }
 31036  
 31037  // Do executes the "dialogflow.projects.locations.agents.testCases.list" call.
 31038  // Any non-2xx status code is an error. Response headers are in either
 31039  // *GoogleCloudDialogflowCxV3ListTestCasesResponse.ServerResponse.Header or (if
 31040  // a response was returned at all) in error.(*googleapi.Error).Header. Use
 31041  // googleapi.IsNotModified to check whether the returned error was because
 31042  // http.StatusNotModified was returned.
 31043  func (c *ProjectsLocationsAgentsTestCasesListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListTestCasesResponse, error) {
 31044  	gensupport.SetOptions(c.urlParams_, opts...)
 31045  	res, err := c.doRequest("json")
 31046  	if res != nil && res.StatusCode == http.StatusNotModified {
 31047  		if res.Body != nil {
 31048  			res.Body.Close()
 31049  		}
 31050  		return nil, gensupport.WrapError(&googleapi.Error{
 31051  			Code:   res.StatusCode,
 31052  			Header: res.Header,
 31053  		})
 31054  	}
 31055  	if err != nil {
 31056  		return nil, err
 31057  	}
 31058  	defer googleapi.CloseBody(res)
 31059  	if err := googleapi.CheckResponse(res); err != nil {
 31060  		return nil, gensupport.WrapError(err)
 31061  	}
 31062  	ret := &GoogleCloudDialogflowCxV3ListTestCasesResponse{
 31063  		ServerResponse: googleapi.ServerResponse{
 31064  			Header:         res.Header,
 31065  			HTTPStatusCode: res.StatusCode,
 31066  		},
 31067  	}
 31068  	target := &ret
 31069  	if err := gensupport.DecodeResponse(target, res); err != nil {
 31070  		return nil, err
 31071  	}
 31072  	return ret, nil
 31073  }
 31074  
 31075  // Pages invokes f for each page of results.
 31076  // A non-nil error returned from f will halt the iteration.
 31077  // The provided context supersedes any context provided to the Context method.
 31078  func (c *ProjectsLocationsAgentsTestCasesListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListTestCasesResponse) error) error {
 31079  	c.ctx_ = ctx
 31080  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 31081  	for {
 31082  		x, err := c.Do()
 31083  		if err != nil {
 31084  			return err
 31085  		}
 31086  		if err := f(x); err != nil {
 31087  			return err
 31088  		}
 31089  		if x.NextPageToken == "" {
 31090  			return nil
 31091  		}
 31092  		c.PageToken(x.NextPageToken)
 31093  	}
 31094  }
 31095  
 31096  type ProjectsLocationsAgentsTestCasesPatchCall struct {
 31097  	s                                 *Service
 31098  	nameid                            string
 31099  	googleclouddialogflowcxv3testcase *GoogleCloudDialogflowCxV3TestCase
 31100  	urlParams_                        gensupport.URLParams
 31101  	ctx_                              context.Context
 31102  	header_                           http.Header
 31103  }
 31104  
 31105  // Patch: Updates the specified test case.
 31106  //
 31107  //   - name: The unique identifier of the test case. TestCases.CreateTestCase
 31108  //     will populate the name automatically. Otherwise use format:
 31109  //     `projects//locations//agents/ /testCases/`.
 31110  func (r *ProjectsLocationsAgentsTestCasesService) Patch(nameid string, googleclouddialogflowcxv3testcase *GoogleCloudDialogflowCxV3TestCase) *ProjectsLocationsAgentsTestCasesPatchCall {
 31111  	c := &ProjectsLocationsAgentsTestCasesPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 31112  	c.nameid = nameid
 31113  	c.googleclouddialogflowcxv3testcase = googleclouddialogflowcxv3testcase
 31114  	return c
 31115  }
 31116  
 31117  // UpdateMask sets the optional parameter "updateMask": Required. The mask to
 31118  // specify which fields should be updated. The `creationTime` and
 31119  // `lastTestResult` cannot be updated.
 31120  func (c *ProjectsLocationsAgentsTestCasesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsTestCasesPatchCall {
 31121  	c.urlParams_.Set("updateMask", updateMask)
 31122  	return c
 31123  }
 31124  
 31125  // Fields allows partial responses to be retrieved. See
 31126  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 31127  // details.
 31128  func (c *ProjectsLocationsAgentsTestCasesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesPatchCall {
 31129  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 31130  	return c
 31131  }
 31132  
 31133  // Context sets the context to be used in this call's Do method.
 31134  func (c *ProjectsLocationsAgentsTestCasesPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesPatchCall {
 31135  	c.ctx_ = ctx
 31136  	return c
 31137  }
 31138  
 31139  // Header returns a http.Header that can be modified by the caller to add
 31140  // headers to the request.
 31141  func (c *ProjectsLocationsAgentsTestCasesPatchCall) Header() http.Header {
 31142  	if c.header_ == nil {
 31143  		c.header_ = make(http.Header)
 31144  	}
 31145  	return c.header_
 31146  }
 31147  
 31148  func (c *ProjectsLocationsAgentsTestCasesPatchCall) doRequest(alt string) (*http.Response, error) {
 31149  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 31150  	var body io.Reader = nil
 31151  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3testcase)
 31152  	if err != nil {
 31153  		return nil, err
 31154  	}
 31155  	c.urlParams_.Set("alt", alt)
 31156  	c.urlParams_.Set("prettyPrint", "false")
 31157  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 31158  	urls += "?" + c.urlParams_.Encode()
 31159  	req, err := http.NewRequest("PATCH", urls, body)
 31160  	if err != nil {
 31161  		return nil, err
 31162  	}
 31163  	req.Header = reqHeaders
 31164  	googleapi.Expand(req.URL, map[string]string{
 31165  		"name": c.nameid,
 31166  	})
 31167  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 31168  }
 31169  
 31170  // Do executes the "dialogflow.projects.locations.agents.testCases.patch" call.
 31171  // Any non-2xx status code is an error. Response headers are in either
 31172  // *GoogleCloudDialogflowCxV3TestCase.ServerResponse.Header or (if a response
 31173  // was returned at all) in error.(*googleapi.Error).Header. Use
 31174  // googleapi.IsNotModified to check whether the returned error was because
 31175  // http.StatusNotModified was returned.
 31176  func (c *ProjectsLocationsAgentsTestCasesPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TestCase, error) {
 31177  	gensupport.SetOptions(c.urlParams_, opts...)
 31178  	res, err := c.doRequest("json")
 31179  	if res != nil && res.StatusCode == http.StatusNotModified {
 31180  		if res.Body != nil {
 31181  			res.Body.Close()
 31182  		}
 31183  		return nil, gensupport.WrapError(&googleapi.Error{
 31184  			Code:   res.StatusCode,
 31185  			Header: res.Header,
 31186  		})
 31187  	}
 31188  	if err != nil {
 31189  		return nil, err
 31190  	}
 31191  	defer googleapi.CloseBody(res)
 31192  	if err := googleapi.CheckResponse(res); err != nil {
 31193  		return nil, gensupport.WrapError(err)
 31194  	}
 31195  	ret := &GoogleCloudDialogflowCxV3TestCase{
 31196  		ServerResponse: googleapi.ServerResponse{
 31197  			Header:         res.Header,
 31198  			HTTPStatusCode: res.StatusCode,
 31199  		},
 31200  	}
 31201  	target := &ret
 31202  	if err := gensupport.DecodeResponse(target, res); err != nil {
 31203  		return nil, err
 31204  	}
 31205  	return ret, nil
 31206  }
 31207  
 31208  type ProjectsLocationsAgentsTestCasesRunCall struct {
 31209  	s                                           *Service
 31210  	name                                        string
 31211  	googleclouddialogflowcxv3runtestcaserequest *GoogleCloudDialogflowCxV3RunTestCaseRequest
 31212  	urlParams_                                  gensupport.URLParams
 31213  	ctx_                                        context.Context
 31214  	header_                                     http.Header
 31215  }
 31216  
 31217  // Run: Kicks off a test case run. This method is a long-running operation
 31218  // (https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation).
 31219  // The returned `Operation` type has the following method-specific fields: -
 31220  // `metadata`: RunTestCaseMetadata - `response`: RunTestCaseResponse
 31221  //
 31222  //   - name: Format of test case name to run: `projects//locations/
 31223  //     /agents//testCases/`.
 31224  func (r *ProjectsLocationsAgentsTestCasesService) Run(name string, googleclouddialogflowcxv3runtestcaserequest *GoogleCloudDialogflowCxV3RunTestCaseRequest) *ProjectsLocationsAgentsTestCasesRunCall {
 31225  	c := &ProjectsLocationsAgentsTestCasesRunCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 31226  	c.name = name
 31227  	c.googleclouddialogflowcxv3runtestcaserequest = googleclouddialogflowcxv3runtestcaserequest
 31228  	return c
 31229  }
 31230  
 31231  // Fields allows partial responses to be retrieved. See
 31232  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 31233  // details.
 31234  func (c *ProjectsLocationsAgentsTestCasesRunCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesRunCall {
 31235  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 31236  	return c
 31237  }
 31238  
 31239  // Context sets the context to be used in this call's Do method.
 31240  func (c *ProjectsLocationsAgentsTestCasesRunCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesRunCall {
 31241  	c.ctx_ = ctx
 31242  	return c
 31243  }
 31244  
 31245  // Header returns a http.Header that can be modified by the caller to add
 31246  // headers to the request.
 31247  func (c *ProjectsLocationsAgentsTestCasesRunCall) Header() http.Header {
 31248  	if c.header_ == nil {
 31249  		c.header_ = make(http.Header)
 31250  	}
 31251  	return c.header_
 31252  }
 31253  
 31254  func (c *ProjectsLocationsAgentsTestCasesRunCall) doRequest(alt string) (*http.Response, error) {
 31255  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 31256  	var body io.Reader = nil
 31257  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3runtestcaserequest)
 31258  	if err != nil {
 31259  		return nil, err
 31260  	}
 31261  	c.urlParams_.Set("alt", alt)
 31262  	c.urlParams_.Set("prettyPrint", "false")
 31263  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:run")
 31264  	urls += "?" + c.urlParams_.Encode()
 31265  	req, err := http.NewRequest("POST", urls, body)
 31266  	if err != nil {
 31267  		return nil, err
 31268  	}
 31269  	req.Header = reqHeaders
 31270  	googleapi.Expand(req.URL, map[string]string{
 31271  		"name": c.name,
 31272  	})
 31273  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 31274  }
 31275  
 31276  // Do executes the "dialogflow.projects.locations.agents.testCases.run" call.
 31277  // Any non-2xx status code is an error. Response headers are in either
 31278  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 31279  // returned at all) in error.(*googleapi.Error).Header. Use
 31280  // googleapi.IsNotModified to check whether the returned error was because
 31281  // http.StatusNotModified was returned.
 31282  func (c *ProjectsLocationsAgentsTestCasesRunCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 31283  	gensupport.SetOptions(c.urlParams_, opts...)
 31284  	res, err := c.doRequest("json")
 31285  	if res != nil && res.StatusCode == http.StatusNotModified {
 31286  		if res.Body != nil {
 31287  			res.Body.Close()
 31288  		}
 31289  		return nil, gensupport.WrapError(&googleapi.Error{
 31290  			Code:   res.StatusCode,
 31291  			Header: res.Header,
 31292  		})
 31293  	}
 31294  	if err != nil {
 31295  		return nil, err
 31296  	}
 31297  	defer googleapi.CloseBody(res)
 31298  	if err := googleapi.CheckResponse(res); err != nil {
 31299  		return nil, gensupport.WrapError(err)
 31300  	}
 31301  	ret := &GoogleLongrunningOperation{
 31302  		ServerResponse: googleapi.ServerResponse{
 31303  			Header:         res.Header,
 31304  			HTTPStatusCode: res.StatusCode,
 31305  		},
 31306  	}
 31307  	target := &ret
 31308  	if err := gensupport.DecodeResponse(target, res); err != nil {
 31309  		return nil, err
 31310  	}
 31311  	return ret, nil
 31312  }
 31313  
 31314  type ProjectsLocationsAgentsTestCasesResultsGetCall struct {
 31315  	s            *Service
 31316  	name         string
 31317  	urlParams_   gensupport.URLParams
 31318  	ifNoneMatch_ string
 31319  	ctx_         context.Context
 31320  	header_      http.Header
 31321  }
 31322  
 31323  // Get: Gets a test case result.
 31324  //
 31325  //   - name: The name of the testcase. Format:
 31326  //     `projects//locations//agents//testCases//results/`.
 31327  func (r *ProjectsLocationsAgentsTestCasesResultsService) Get(name string) *ProjectsLocationsAgentsTestCasesResultsGetCall {
 31328  	c := &ProjectsLocationsAgentsTestCasesResultsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 31329  	c.name = name
 31330  	return c
 31331  }
 31332  
 31333  // Fields allows partial responses to be retrieved. See
 31334  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 31335  // details.
 31336  func (c *ProjectsLocationsAgentsTestCasesResultsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesResultsGetCall {
 31337  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 31338  	return c
 31339  }
 31340  
 31341  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 31342  // object's ETag matches the given value. This is useful for getting updates
 31343  // only after the object has changed since the last request.
 31344  func (c *ProjectsLocationsAgentsTestCasesResultsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesResultsGetCall {
 31345  	c.ifNoneMatch_ = entityTag
 31346  	return c
 31347  }
 31348  
 31349  // Context sets the context to be used in this call's Do method.
 31350  func (c *ProjectsLocationsAgentsTestCasesResultsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesResultsGetCall {
 31351  	c.ctx_ = ctx
 31352  	return c
 31353  }
 31354  
 31355  // Header returns a http.Header that can be modified by the caller to add
 31356  // headers to the request.
 31357  func (c *ProjectsLocationsAgentsTestCasesResultsGetCall) Header() http.Header {
 31358  	if c.header_ == nil {
 31359  		c.header_ = make(http.Header)
 31360  	}
 31361  	return c.header_
 31362  }
 31363  
 31364  func (c *ProjectsLocationsAgentsTestCasesResultsGetCall) doRequest(alt string) (*http.Response, error) {
 31365  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 31366  	if c.ifNoneMatch_ != "" {
 31367  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 31368  	}
 31369  	var body io.Reader = nil
 31370  	c.urlParams_.Set("alt", alt)
 31371  	c.urlParams_.Set("prettyPrint", "false")
 31372  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 31373  	urls += "?" + c.urlParams_.Encode()
 31374  	req, err := http.NewRequest("GET", urls, body)
 31375  	if err != nil {
 31376  		return nil, err
 31377  	}
 31378  	req.Header = reqHeaders
 31379  	googleapi.Expand(req.URL, map[string]string{
 31380  		"name": c.name,
 31381  	})
 31382  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 31383  }
 31384  
 31385  // Do executes the "dialogflow.projects.locations.agents.testCases.results.get" call.
 31386  // Any non-2xx status code is an error. Response headers are in either
 31387  // *GoogleCloudDialogflowCxV3TestCaseResult.ServerResponse.Header or (if a
 31388  // response was returned at all) in error.(*googleapi.Error).Header. Use
 31389  // googleapi.IsNotModified to check whether the returned error was because
 31390  // http.StatusNotModified was returned.
 31391  func (c *ProjectsLocationsAgentsTestCasesResultsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TestCaseResult, error) {
 31392  	gensupport.SetOptions(c.urlParams_, opts...)
 31393  	res, err := c.doRequest("json")
 31394  	if res != nil && res.StatusCode == http.StatusNotModified {
 31395  		if res.Body != nil {
 31396  			res.Body.Close()
 31397  		}
 31398  		return nil, gensupport.WrapError(&googleapi.Error{
 31399  			Code:   res.StatusCode,
 31400  			Header: res.Header,
 31401  		})
 31402  	}
 31403  	if err != nil {
 31404  		return nil, err
 31405  	}
 31406  	defer googleapi.CloseBody(res)
 31407  	if err := googleapi.CheckResponse(res); err != nil {
 31408  		return nil, gensupport.WrapError(err)
 31409  	}
 31410  	ret := &GoogleCloudDialogflowCxV3TestCaseResult{
 31411  		ServerResponse: googleapi.ServerResponse{
 31412  			Header:         res.Header,
 31413  			HTTPStatusCode: res.StatusCode,
 31414  		},
 31415  	}
 31416  	target := &ret
 31417  	if err := gensupport.DecodeResponse(target, res); err != nil {
 31418  		return nil, err
 31419  	}
 31420  	return ret, nil
 31421  }
 31422  
 31423  type ProjectsLocationsAgentsTestCasesResultsListCall struct {
 31424  	s            *Service
 31425  	parent       string
 31426  	urlParams_   gensupport.URLParams
 31427  	ifNoneMatch_ string
 31428  	ctx_         context.Context
 31429  	header_      http.Header
 31430  }
 31431  
 31432  // List: Fetches the list of run results for the given test case. A maximum of
 31433  // 100 results are kept for each test case.
 31434  //
 31435  //   - parent: The test case to list results for. Format:
 31436  //     `projects//locations//agents// testCases/`. Specify a `-` as a wildcard
 31437  //     for TestCase ID to list results across multiple test cases.
 31438  func (r *ProjectsLocationsAgentsTestCasesResultsService) List(parent string) *ProjectsLocationsAgentsTestCasesResultsListCall {
 31439  	c := &ProjectsLocationsAgentsTestCasesResultsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 31440  	c.parent = parent
 31441  	return c
 31442  }
 31443  
 31444  // Filter sets the optional parameter "filter": The filter expression used to
 31445  // filter test case results. See API Filtering (https://aip.dev/160). The
 31446  // expression is case insensitive. Only 'AND' is supported for logical
 31447  // operators. The supported syntax is listed below in detail: [AND ] ... [AND
 31448  // latest] The supported fields and operators are: field operator `environment`
 31449  // `=`, `IN` (Use value `draft` for draft environment) `test_time` `>`, `<`
 31450  // `latest` only returns the latest test result in all results for each test
 31451  // case. Examples: * "environment=draft AND latest" matches the latest test
 31452  // result for each test case in the draft environment. * "environment IN
 31453  // (e1,e2)" matches any test case results with an environment resource name of
 31454  // either "e1" or "e2". * "test_time > 1602540713" matches any test case
 31455  // results with test time later than a unix timestamp in seconds 1602540713.
 31456  func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Filter(filter string) *ProjectsLocationsAgentsTestCasesResultsListCall {
 31457  	c.urlParams_.Set("filter", filter)
 31458  	return c
 31459  }
 31460  
 31461  // PageSize sets the optional parameter "pageSize": The maximum number of items
 31462  // to return in a single page. By default 100 and at most 1000.
 31463  func (c *ProjectsLocationsAgentsTestCasesResultsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsTestCasesResultsListCall {
 31464  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 31465  	return c
 31466  }
 31467  
 31468  // PageToken sets the optional parameter "pageToken": The next_page_token value
 31469  // returned from a previous list request.
 31470  func (c *ProjectsLocationsAgentsTestCasesResultsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsTestCasesResultsListCall {
 31471  	c.urlParams_.Set("pageToken", pageToken)
 31472  	return c
 31473  }
 31474  
 31475  // Fields allows partial responses to be retrieved. See
 31476  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 31477  // details.
 31478  func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTestCasesResultsListCall {
 31479  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 31480  	return c
 31481  }
 31482  
 31483  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 31484  // object's ETag matches the given value. This is useful for getting updates
 31485  // only after the object has changed since the last request.
 31486  func (c *ProjectsLocationsAgentsTestCasesResultsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTestCasesResultsListCall {
 31487  	c.ifNoneMatch_ = entityTag
 31488  	return c
 31489  }
 31490  
 31491  // Context sets the context to be used in this call's Do method.
 31492  func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsTestCasesResultsListCall {
 31493  	c.ctx_ = ctx
 31494  	return c
 31495  }
 31496  
 31497  // Header returns a http.Header that can be modified by the caller to add
 31498  // headers to the request.
 31499  func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Header() http.Header {
 31500  	if c.header_ == nil {
 31501  		c.header_ = make(http.Header)
 31502  	}
 31503  	return c.header_
 31504  }
 31505  
 31506  func (c *ProjectsLocationsAgentsTestCasesResultsListCall) doRequest(alt string) (*http.Response, error) {
 31507  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 31508  	if c.ifNoneMatch_ != "" {
 31509  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 31510  	}
 31511  	var body io.Reader = nil
 31512  	c.urlParams_.Set("alt", alt)
 31513  	c.urlParams_.Set("prettyPrint", "false")
 31514  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/results")
 31515  	urls += "?" + c.urlParams_.Encode()
 31516  	req, err := http.NewRequest("GET", urls, body)
 31517  	if err != nil {
 31518  		return nil, err
 31519  	}
 31520  	req.Header = reqHeaders
 31521  	googleapi.Expand(req.URL, map[string]string{
 31522  		"parent": c.parent,
 31523  	})
 31524  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 31525  }
 31526  
 31527  // Do executes the "dialogflow.projects.locations.agents.testCases.results.list" call.
 31528  // Any non-2xx status code is an error. Response headers are in either
 31529  // *GoogleCloudDialogflowCxV3ListTestCaseResultsResponse.ServerResponse.Header
 31530  // or (if a response was returned at all) in error.(*googleapi.Error).Header.
 31531  // Use googleapi.IsNotModified to check whether the returned error was because
 31532  // http.StatusNotModified was returned.
 31533  func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListTestCaseResultsResponse, error) {
 31534  	gensupport.SetOptions(c.urlParams_, opts...)
 31535  	res, err := c.doRequest("json")
 31536  	if res != nil && res.StatusCode == http.StatusNotModified {
 31537  		if res.Body != nil {
 31538  			res.Body.Close()
 31539  		}
 31540  		return nil, gensupport.WrapError(&googleapi.Error{
 31541  			Code:   res.StatusCode,
 31542  			Header: res.Header,
 31543  		})
 31544  	}
 31545  	if err != nil {
 31546  		return nil, err
 31547  	}
 31548  	defer googleapi.CloseBody(res)
 31549  	if err := googleapi.CheckResponse(res); err != nil {
 31550  		return nil, gensupport.WrapError(err)
 31551  	}
 31552  	ret := &GoogleCloudDialogflowCxV3ListTestCaseResultsResponse{
 31553  		ServerResponse: googleapi.ServerResponse{
 31554  			Header:         res.Header,
 31555  			HTTPStatusCode: res.StatusCode,
 31556  		},
 31557  	}
 31558  	target := &ret
 31559  	if err := gensupport.DecodeResponse(target, res); err != nil {
 31560  		return nil, err
 31561  	}
 31562  	return ret, nil
 31563  }
 31564  
 31565  // Pages invokes f for each page of results.
 31566  // A non-nil error returned from f will halt the iteration.
 31567  // The provided context supersedes any context provided to the Context method.
 31568  func (c *ProjectsLocationsAgentsTestCasesResultsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListTestCaseResultsResponse) error) error {
 31569  	c.ctx_ = ctx
 31570  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 31571  	for {
 31572  		x, err := c.Do()
 31573  		if err != nil {
 31574  			return err
 31575  		}
 31576  		if err := f(x); err != nil {
 31577  			return err
 31578  		}
 31579  		if x.NextPageToken == "" {
 31580  			return nil
 31581  		}
 31582  		c.PageToken(x.NextPageToken)
 31583  	}
 31584  }
 31585  
 31586  type ProjectsLocationsAgentsTransitionRouteGroupsCreateCall struct {
 31587  	s                                             *Service
 31588  	parent                                        string
 31589  	googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup
 31590  	urlParams_                                    gensupport.URLParams
 31591  	ctx_                                          context.Context
 31592  	header_                                       http.Header
 31593  }
 31594  
 31595  // Create: Creates an TransitionRouteGroup in the specified flow. Note: You
 31596  // should always train a flow prior to sending it queries. See the training
 31597  // documentation
 31598  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 31599  //
 31600  //   - parent: The flow to create an TransitionRouteGroup for. Format:
 31601  //     `projects//locations//agents//flows/` or `projects//locations//agents/`
 31602  //     for agent-level groups.
 31603  func (r *ProjectsLocationsAgentsTransitionRouteGroupsService) Create(parent string, googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup) *ProjectsLocationsAgentsTransitionRouteGroupsCreateCall {
 31604  	c := &ProjectsLocationsAgentsTransitionRouteGroupsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 31605  	c.parent = parent
 31606  	c.googleclouddialogflowcxv3transitionroutegroup = googleclouddialogflowcxv3transitionroutegroup
 31607  	return c
 31608  }
 31609  
 31610  // LanguageCode sets the optional parameter "languageCode": The language of the
 31611  // following fields in `TransitionRouteGroup`: *
 31612  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` *
 31613  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases
 31614  // ` If not specified, the agent's default language is used. Many languages
 31615  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 31616  // supported. Note: languages must be enabled in the agent before they can be
 31617  // used.
 31618  func (c *ProjectsLocationsAgentsTransitionRouteGroupsCreateCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsTransitionRouteGroupsCreateCall {
 31619  	c.urlParams_.Set("languageCode", languageCode)
 31620  	return c
 31621  }
 31622  
 31623  // Fields allows partial responses to be retrieved. See
 31624  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 31625  // details.
 31626  func (c *ProjectsLocationsAgentsTransitionRouteGroupsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTransitionRouteGroupsCreateCall {
 31627  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 31628  	return c
 31629  }
 31630  
 31631  // Context sets the context to be used in this call's Do method.
 31632  func (c *ProjectsLocationsAgentsTransitionRouteGroupsCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsTransitionRouteGroupsCreateCall {
 31633  	c.ctx_ = ctx
 31634  	return c
 31635  }
 31636  
 31637  // Header returns a http.Header that can be modified by the caller to add
 31638  // headers to the request.
 31639  func (c *ProjectsLocationsAgentsTransitionRouteGroupsCreateCall) Header() http.Header {
 31640  	if c.header_ == nil {
 31641  		c.header_ = make(http.Header)
 31642  	}
 31643  	return c.header_
 31644  }
 31645  
 31646  func (c *ProjectsLocationsAgentsTransitionRouteGroupsCreateCall) doRequest(alt string) (*http.Response, error) {
 31647  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 31648  	var body io.Reader = nil
 31649  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3transitionroutegroup)
 31650  	if err != nil {
 31651  		return nil, err
 31652  	}
 31653  	c.urlParams_.Set("alt", alt)
 31654  	c.urlParams_.Set("prettyPrint", "false")
 31655  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/transitionRouteGroups")
 31656  	urls += "?" + c.urlParams_.Encode()
 31657  	req, err := http.NewRequest("POST", urls, body)
 31658  	if err != nil {
 31659  		return nil, err
 31660  	}
 31661  	req.Header = reqHeaders
 31662  	googleapi.Expand(req.URL, map[string]string{
 31663  		"parent": c.parent,
 31664  	})
 31665  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 31666  }
 31667  
 31668  // Do executes the "dialogflow.projects.locations.agents.transitionRouteGroups.create" call.
 31669  // Any non-2xx status code is an error. Response headers are in either
 31670  // *GoogleCloudDialogflowCxV3TransitionRouteGroup.ServerResponse.Header or (if
 31671  // a response was returned at all) in error.(*googleapi.Error).Header. Use
 31672  // googleapi.IsNotModified to check whether the returned error was because
 31673  // http.StatusNotModified was returned.
 31674  func (c *ProjectsLocationsAgentsTransitionRouteGroupsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TransitionRouteGroup, error) {
 31675  	gensupport.SetOptions(c.urlParams_, opts...)
 31676  	res, err := c.doRequest("json")
 31677  	if res != nil && res.StatusCode == http.StatusNotModified {
 31678  		if res.Body != nil {
 31679  			res.Body.Close()
 31680  		}
 31681  		return nil, gensupport.WrapError(&googleapi.Error{
 31682  			Code:   res.StatusCode,
 31683  			Header: res.Header,
 31684  		})
 31685  	}
 31686  	if err != nil {
 31687  		return nil, err
 31688  	}
 31689  	defer googleapi.CloseBody(res)
 31690  	if err := googleapi.CheckResponse(res); err != nil {
 31691  		return nil, gensupport.WrapError(err)
 31692  	}
 31693  	ret := &GoogleCloudDialogflowCxV3TransitionRouteGroup{
 31694  		ServerResponse: googleapi.ServerResponse{
 31695  			Header:         res.Header,
 31696  			HTTPStatusCode: res.StatusCode,
 31697  		},
 31698  	}
 31699  	target := &ret
 31700  	if err := gensupport.DecodeResponse(target, res); err != nil {
 31701  		return nil, err
 31702  	}
 31703  	return ret, nil
 31704  }
 31705  
 31706  type ProjectsLocationsAgentsTransitionRouteGroupsDeleteCall struct {
 31707  	s          *Service
 31708  	name       string
 31709  	urlParams_ gensupport.URLParams
 31710  	ctx_       context.Context
 31711  	header_    http.Header
 31712  }
 31713  
 31714  // Delete: Deletes the specified TransitionRouteGroup. Note: You should always
 31715  // train a flow prior to sending it queries. See the training documentation
 31716  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 31717  //
 31718  //   - name: The name of the TransitionRouteGroup to delete. Format:
 31719  //     `projects//locations//agents//flows//transitionRouteGroups/` or
 31720  //     `projects//locations//agents//transitionRouteGroups/`.
 31721  func (r *ProjectsLocationsAgentsTransitionRouteGroupsService) Delete(name string) *ProjectsLocationsAgentsTransitionRouteGroupsDeleteCall {
 31722  	c := &ProjectsLocationsAgentsTransitionRouteGroupsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 31723  	c.name = name
 31724  	return c
 31725  }
 31726  
 31727  // Force sets the optional parameter "force": This field has no effect for
 31728  // transition route group that no page is using. If the transition route group
 31729  // is referenced by any page: * If `force` is set to false, an error will be
 31730  // returned with message indicating pages that reference the transition route
 31731  // group. * If `force` is set to true, Dialogflow will remove the transition
 31732  // route group, as well as any reference to it.
 31733  func (c *ProjectsLocationsAgentsTransitionRouteGroupsDeleteCall) Force(force bool) *ProjectsLocationsAgentsTransitionRouteGroupsDeleteCall {
 31734  	c.urlParams_.Set("force", fmt.Sprint(force))
 31735  	return c
 31736  }
 31737  
 31738  // Fields allows partial responses to be retrieved. See
 31739  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 31740  // details.
 31741  func (c *ProjectsLocationsAgentsTransitionRouteGroupsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTransitionRouteGroupsDeleteCall {
 31742  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 31743  	return c
 31744  }
 31745  
 31746  // Context sets the context to be used in this call's Do method.
 31747  func (c *ProjectsLocationsAgentsTransitionRouteGroupsDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsTransitionRouteGroupsDeleteCall {
 31748  	c.ctx_ = ctx
 31749  	return c
 31750  }
 31751  
 31752  // Header returns a http.Header that can be modified by the caller to add
 31753  // headers to the request.
 31754  func (c *ProjectsLocationsAgentsTransitionRouteGroupsDeleteCall) Header() http.Header {
 31755  	if c.header_ == nil {
 31756  		c.header_ = make(http.Header)
 31757  	}
 31758  	return c.header_
 31759  }
 31760  
 31761  func (c *ProjectsLocationsAgentsTransitionRouteGroupsDeleteCall) doRequest(alt string) (*http.Response, error) {
 31762  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 31763  	var body io.Reader = nil
 31764  	c.urlParams_.Set("alt", alt)
 31765  	c.urlParams_.Set("prettyPrint", "false")
 31766  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 31767  	urls += "?" + c.urlParams_.Encode()
 31768  	req, err := http.NewRequest("DELETE", urls, body)
 31769  	if err != nil {
 31770  		return nil, err
 31771  	}
 31772  	req.Header = reqHeaders
 31773  	googleapi.Expand(req.URL, map[string]string{
 31774  		"name": c.name,
 31775  	})
 31776  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 31777  }
 31778  
 31779  // Do executes the "dialogflow.projects.locations.agents.transitionRouteGroups.delete" call.
 31780  // Any non-2xx status code is an error. Response headers are in either
 31781  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 31782  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 31783  // check whether the returned error was because http.StatusNotModified was
 31784  // returned.
 31785  func (c *ProjectsLocationsAgentsTransitionRouteGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 31786  	gensupport.SetOptions(c.urlParams_, opts...)
 31787  	res, err := c.doRequest("json")
 31788  	if res != nil && res.StatusCode == http.StatusNotModified {
 31789  		if res.Body != nil {
 31790  			res.Body.Close()
 31791  		}
 31792  		return nil, gensupport.WrapError(&googleapi.Error{
 31793  			Code:   res.StatusCode,
 31794  			Header: res.Header,
 31795  		})
 31796  	}
 31797  	if err != nil {
 31798  		return nil, err
 31799  	}
 31800  	defer googleapi.CloseBody(res)
 31801  	if err := googleapi.CheckResponse(res); err != nil {
 31802  		return nil, gensupport.WrapError(err)
 31803  	}
 31804  	ret := &GoogleProtobufEmpty{
 31805  		ServerResponse: googleapi.ServerResponse{
 31806  			Header:         res.Header,
 31807  			HTTPStatusCode: res.StatusCode,
 31808  		},
 31809  	}
 31810  	target := &ret
 31811  	if err := gensupport.DecodeResponse(target, res); err != nil {
 31812  		return nil, err
 31813  	}
 31814  	return ret, nil
 31815  }
 31816  
 31817  type ProjectsLocationsAgentsTransitionRouteGroupsGetCall struct {
 31818  	s            *Service
 31819  	name         string
 31820  	urlParams_   gensupport.URLParams
 31821  	ifNoneMatch_ string
 31822  	ctx_         context.Context
 31823  	header_      http.Header
 31824  }
 31825  
 31826  // Get: Retrieves the specified TransitionRouteGroup.
 31827  //
 31828  //   - name: The name of the TransitionRouteGroup. Format:
 31829  //     `projects//locations//agents//flows//transitionRouteGroups/` or
 31830  //     `projects//locations//agents//transitionRouteGroups/`.
 31831  func (r *ProjectsLocationsAgentsTransitionRouteGroupsService) Get(name string) *ProjectsLocationsAgentsTransitionRouteGroupsGetCall {
 31832  	c := &ProjectsLocationsAgentsTransitionRouteGroupsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 31833  	c.name = name
 31834  	return c
 31835  }
 31836  
 31837  // LanguageCode sets the optional parameter "languageCode": The language to
 31838  // retrieve the transition route group for. The following fields are language
 31839  // dependent: *
 31840  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` *
 31841  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases
 31842  // ` If not specified, the agent's default language is used. Many languages
 31843  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 31844  // supported. Note: languages must be enabled in the agent before they can be
 31845  // used.
 31846  func (c *ProjectsLocationsAgentsTransitionRouteGroupsGetCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsTransitionRouteGroupsGetCall {
 31847  	c.urlParams_.Set("languageCode", languageCode)
 31848  	return c
 31849  }
 31850  
 31851  // Fields allows partial responses to be retrieved. See
 31852  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 31853  // details.
 31854  func (c *ProjectsLocationsAgentsTransitionRouteGroupsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTransitionRouteGroupsGetCall {
 31855  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 31856  	return c
 31857  }
 31858  
 31859  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 31860  // object's ETag matches the given value. This is useful for getting updates
 31861  // only after the object has changed since the last request.
 31862  func (c *ProjectsLocationsAgentsTransitionRouteGroupsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTransitionRouteGroupsGetCall {
 31863  	c.ifNoneMatch_ = entityTag
 31864  	return c
 31865  }
 31866  
 31867  // Context sets the context to be used in this call's Do method.
 31868  func (c *ProjectsLocationsAgentsTransitionRouteGroupsGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsTransitionRouteGroupsGetCall {
 31869  	c.ctx_ = ctx
 31870  	return c
 31871  }
 31872  
 31873  // Header returns a http.Header that can be modified by the caller to add
 31874  // headers to the request.
 31875  func (c *ProjectsLocationsAgentsTransitionRouteGroupsGetCall) Header() http.Header {
 31876  	if c.header_ == nil {
 31877  		c.header_ = make(http.Header)
 31878  	}
 31879  	return c.header_
 31880  }
 31881  
 31882  func (c *ProjectsLocationsAgentsTransitionRouteGroupsGetCall) doRequest(alt string) (*http.Response, error) {
 31883  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 31884  	if c.ifNoneMatch_ != "" {
 31885  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 31886  	}
 31887  	var body io.Reader = nil
 31888  	c.urlParams_.Set("alt", alt)
 31889  	c.urlParams_.Set("prettyPrint", "false")
 31890  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 31891  	urls += "?" + c.urlParams_.Encode()
 31892  	req, err := http.NewRequest("GET", urls, body)
 31893  	if err != nil {
 31894  		return nil, err
 31895  	}
 31896  	req.Header = reqHeaders
 31897  	googleapi.Expand(req.URL, map[string]string{
 31898  		"name": c.name,
 31899  	})
 31900  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 31901  }
 31902  
 31903  // Do executes the "dialogflow.projects.locations.agents.transitionRouteGroups.get" call.
 31904  // Any non-2xx status code is an error. Response headers are in either
 31905  // *GoogleCloudDialogflowCxV3TransitionRouteGroup.ServerResponse.Header or (if
 31906  // a response was returned at all) in error.(*googleapi.Error).Header. Use
 31907  // googleapi.IsNotModified to check whether the returned error was because
 31908  // http.StatusNotModified was returned.
 31909  func (c *ProjectsLocationsAgentsTransitionRouteGroupsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TransitionRouteGroup, error) {
 31910  	gensupport.SetOptions(c.urlParams_, opts...)
 31911  	res, err := c.doRequest("json")
 31912  	if res != nil && res.StatusCode == http.StatusNotModified {
 31913  		if res.Body != nil {
 31914  			res.Body.Close()
 31915  		}
 31916  		return nil, gensupport.WrapError(&googleapi.Error{
 31917  			Code:   res.StatusCode,
 31918  			Header: res.Header,
 31919  		})
 31920  	}
 31921  	if err != nil {
 31922  		return nil, err
 31923  	}
 31924  	defer googleapi.CloseBody(res)
 31925  	if err := googleapi.CheckResponse(res); err != nil {
 31926  		return nil, gensupport.WrapError(err)
 31927  	}
 31928  	ret := &GoogleCloudDialogflowCxV3TransitionRouteGroup{
 31929  		ServerResponse: googleapi.ServerResponse{
 31930  			Header:         res.Header,
 31931  			HTTPStatusCode: res.StatusCode,
 31932  		},
 31933  	}
 31934  	target := &ret
 31935  	if err := gensupport.DecodeResponse(target, res); err != nil {
 31936  		return nil, err
 31937  	}
 31938  	return ret, nil
 31939  }
 31940  
 31941  type ProjectsLocationsAgentsTransitionRouteGroupsListCall struct {
 31942  	s            *Service
 31943  	parent       string
 31944  	urlParams_   gensupport.URLParams
 31945  	ifNoneMatch_ string
 31946  	ctx_         context.Context
 31947  	header_      http.Header
 31948  }
 31949  
 31950  // List: Returns the list of all transition route groups in the specified flow.
 31951  //
 31952  //   - parent: The flow to list all transition route groups for. Format:
 31953  //     `projects//locations//agents//flows/` or `projects//locations//agents/.
 31954  func (r *ProjectsLocationsAgentsTransitionRouteGroupsService) List(parent string) *ProjectsLocationsAgentsTransitionRouteGroupsListCall {
 31955  	c := &ProjectsLocationsAgentsTransitionRouteGroupsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 31956  	c.parent = parent
 31957  	return c
 31958  }
 31959  
 31960  // LanguageCode sets the optional parameter "languageCode": The language to
 31961  // list transition route groups for. The following fields are language
 31962  // dependent: *
 31963  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` *
 31964  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases
 31965  // ` If not specified, the agent's default language is used. Many languages
 31966  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 31967  // supported. Note: languages must be enabled in the agent before they can be
 31968  // used.
 31969  func (c *ProjectsLocationsAgentsTransitionRouteGroupsListCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsTransitionRouteGroupsListCall {
 31970  	c.urlParams_.Set("languageCode", languageCode)
 31971  	return c
 31972  }
 31973  
 31974  // PageSize sets the optional parameter "pageSize": The maximum number of items
 31975  // to return in a single page. By default 100 and at most 1000.
 31976  func (c *ProjectsLocationsAgentsTransitionRouteGroupsListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsTransitionRouteGroupsListCall {
 31977  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 31978  	return c
 31979  }
 31980  
 31981  // PageToken sets the optional parameter "pageToken": The next_page_token value
 31982  // returned from a previous list request.
 31983  func (c *ProjectsLocationsAgentsTransitionRouteGroupsListCall) PageToken(pageToken string) *ProjectsLocationsAgentsTransitionRouteGroupsListCall {
 31984  	c.urlParams_.Set("pageToken", pageToken)
 31985  	return c
 31986  }
 31987  
 31988  // Fields allows partial responses to be retrieved. See
 31989  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 31990  // details.
 31991  func (c *ProjectsLocationsAgentsTransitionRouteGroupsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTransitionRouteGroupsListCall {
 31992  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 31993  	return c
 31994  }
 31995  
 31996  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 31997  // object's ETag matches the given value. This is useful for getting updates
 31998  // only after the object has changed since the last request.
 31999  func (c *ProjectsLocationsAgentsTransitionRouteGroupsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsTransitionRouteGroupsListCall {
 32000  	c.ifNoneMatch_ = entityTag
 32001  	return c
 32002  }
 32003  
 32004  // Context sets the context to be used in this call's Do method.
 32005  func (c *ProjectsLocationsAgentsTransitionRouteGroupsListCall) Context(ctx context.Context) *ProjectsLocationsAgentsTransitionRouteGroupsListCall {
 32006  	c.ctx_ = ctx
 32007  	return c
 32008  }
 32009  
 32010  // Header returns a http.Header that can be modified by the caller to add
 32011  // headers to the request.
 32012  func (c *ProjectsLocationsAgentsTransitionRouteGroupsListCall) Header() http.Header {
 32013  	if c.header_ == nil {
 32014  		c.header_ = make(http.Header)
 32015  	}
 32016  	return c.header_
 32017  }
 32018  
 32019  func (c *ProjectsLocationsAgentsTransitionRouteGroupsListCall) doRequest(alt string) (*http.Response, error) {
 32020  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 32021  	if c.ifNoneMatch_ != "" {
 32022  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 32023  	}
 32024  	var body io.Reader = nil
 32025  	c.urlParams_.Set("alt", alt)
 32026  	c.urlParams_.Set("prettyPrint", "false")
 32027  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/transitionRouteGroups")
 32028  	urls += "?" + c.urlParams_.Encode()
 32029  	req, err := http.NewRequest("GET", urls, body)
 32030  	if err != nil {
 32031  		return nil, err
 32032  	}
 32033  	req.Header = reqHeaders
 32034  	googleapi.Expand(req.URL, map[string]string{
 32035  		"parent": c.parent,
 32036  	})
 32037  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 32038  }
 32039  
 32040  // Do executes the "dialogflow.projects.locations.agents.transitionRouteGroups.list" call.
 32041  // Any non-2xx status code is an error. Response headers are in either
 32042  // *GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse.ServerResponse.He
 32043  // ader or (if a response was returned at all) in
 32044  // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check
 32045  // whether the returned error was because http.StatusNotModified was returned.
 32046  func (c *ProjectsLocationsAgentsTransitionRouteGroupsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse, error) {
 32047  	gensupport.SetOptions(c.urlParams_, opts...)
 32048  	res, err := c.doRequest("json")
 32049  	if res != nil && res.StatusCode == http.StatusNotModified {
 32050  		if res.Body != nil {
 32051  			res.Body.Close()
 32052  		}
 32053  		return nil, gensupport.WrapError(&googleapi.Error{
 32054  			Code:   res.StatusCode,
 32055  			Header: res.Header,
 32056  		})
 32057  	}
 32058  	if err != nil {
 32059  		return nil, err
 32060  	}
 32061  	defer googleapi.CloseBody(res)
 32062  	if err := googleapi.CheckResponse(res); err != nil {
 32063  		return nil, gensupport.WrapError(err)
 32064  	}
 32065  	ret := &GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse{
 32066  		ServerResponse: googleapi.ServerResponse{
 32067  			Header:         res.Header,
 32068  			HTTPStatusCode: res.StatusCode,
 32069  		},
 32070  	}
 32071  	target := &ret
 32072  	if err := gensupport.DecodeResponse(target, res); err != nil {
 32073  		return nil, err
 32074  	}
 32075  	return ret, nil
 32076  }
 32077  
 32078  // Pages invokes f for each page of results.
 32079  // A non-nil error returned from f will halt the iteration.
 32080  // The provided context supersedes any context provided to the Context method.
 32081  func (c *ProjectsLocationsAgentsTransitionRouteGroupsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListTransitionRouteGroupsResponse) error) error {
 32082  	c.ctx_ = ctx
 32083  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 32084  	for {
 32085  		x, err := c.Do()
 32086  		if err != nil {
 32087  			return err
 32088  		}
 32089  		if err := f(x); err != nil {
 32090  			return err
 32091  		}
 32092  		if x.NextPageToken == "" {
 32093  			return nil
 32094  		}
 32095  		c.PageToken(x.NextPageToken)
 32096  	}
 32097  }
 32098  
 32099  type ProjectsLocationsAgentsTransitionRouteGroupsPatchCall struct {
 32100  	s                                             *Service
 32101  	nameid                                        string
 32102  	googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup
 32103  	urlParams_                                    gensupport.URLParams
 32104  	ctx_                                          context.Context
 32105  	header_                                       http.Header
 32106  }
 32107  
 32108  // Patch: Updates the specified TransitionRouteGroup. Note: You should always
 32109  // train a flow prior to sending it queries. See the training documentation
 32110  // (https://cloud.google.com/dialogflow/cx/docs/concept/training).
 32111  //
 32112  //   - name: The unique identifier of the transition route group.
 32113  //     TransitionRouteGroups.CreateTransitionRouteGroup populates the name
 32114  //     automatically. Format:
 32115  //     `projects//locations//agents//flows//transitionRouteGroups/` .
 32116  func (r *ProjectsLocationsAgentsTransitionRouteGroupsService) Patch(nameid string, googleclouddialogflowcxv3transitionroutegroup *GoogleCloudDialogflowCxV3TransitionRouteGroup) *ProjectsLocationsAgentsTransitionRouteGroupsPatchCall {
 32117  	c := &ProjectsLocationsAgentsTransitionRouteGroupsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 32118  	c.nameid = nameid
 32119  	c.googleclouddialogflowcxv3transitionroutegroup = googleclouddialogflowcxv3transitionroutegroup
 32120  	return c
 32121  }
 32122  
 32123  // LanguageCode sets the optional parameter "languageCode": The language of the
 32124  // following fields in `TransitionRouteGroup`: *
 32125  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` *
 32126  // `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases
 32127  // ` If not specified, the agent's default language is used. Many languages
 32128  // (https://cloud.google.com/dialogflow/cx/docs/reference/language) are
 32129  // supported. Note: languages must be enabled in the agent before they can be
 32130  // used.
 32131  func (c *ProjectsLocationsAgentsTransitionRouteGroupsPatchCall) LanguageCode(languageCode string) *ProjectsLocationsAgentsTransitionRouteGroupsPatchCall {
 32132  	c.urlParams_.Set("languageCode", languageCode)
 32133  	return c
 32134  }
 32135  
 32136  // UpdateMask sets the optional parameter "updateMask": The mask to control
 32137  // which fields get updated.
 32138  func (c *ProjectsLocationsAgentsTransitionRouteGroupsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsTransitionRouteGroupsPatchCall {
 32139  	c.urlParams_.Set("updateMask", updateMask)
 32140  	return c
 32141  }
 32142  
 32143  // Fields allows partial responses to be retrieved. See
 32144  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 32145  // details.
 32146  func (c *ProjectsLocationsAgentsTransitionRouteGroupsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsTransitionRouteGroupsPatchCall {
 32147  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 32148  	return c
 32149  }
 32150  
 32151  // Context sets the context to be used in this call's Do method.
 32152  func (c *ProjectsLocationsAgentsTransitionRouteGroupsPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsTransitionRouteGroupsPatchCall {
 32153  	c.ctx_ = ctx
 32154  	return c
 32155  }
 32156  
 32157  // Header returns a http.Header that can be modified by the caller to add
 32158  // headers to the request.
 32159  func (c *ProjectsLocationsAgentsTransitionRouteGroupsPatchCall) Header() http.Header {
 32160  	if c.header_ == nil {
 32161  		c.header_ = make(http.Header)
 32162  	}
 32163  	return c.header_
 32164  }
 32165  
 32166  func (c *ProjectsLocationsAgentsTransitionRouteGroupsPatchCall) doRequest(alt string) (*http.Response, error) {
 32167  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 32168  	var body io.Reader = nil
 32169  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3transitionroutegroup)
 32170  	if err != nil {
 32171  		return nil, err
 32172  	}
 32173  	c.urlParams_.Set("alt", alt)
 32174  	c.urlParams_.Set("prettyPrint", "false")
 32175  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 32176  	urls += "?" + c.urlParams_.Encode()
 32177  	req, err := http.NewRequest("PATCH", urls, body)
 32178  	if err != nil {
 32179  		return nil, err
 32180  	}
 32181  	req.Header = reqHeaders
 32182  	googleapi.Expand(req.URL, map[string]string{
 32183  		"name": c.nameid,
 32184  	})
 32185  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 32186  }
 32187  
 32188  // Do executes the "dialogflow.projects.locations.agents.transitionRouteGroups.patch" call.
 32189  // Any non-2xx status code is an error. Response headers are in either
 32190  // *GoogleCloudDialogflowCxV3TransitionRouteGroup.ServerResponse.Header or (if
 32191  // a response was returned at all) in error.(*googleapi.Error).Header. Use
 32192  // googleapi.IsNotModified to check whether the returned error was because
 32193  // http.StatusNotModified was returned.
 32194  func (c *ProjectsLocationsAgentsTransitionRouteGroupsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3TransitionRouteGroup, error) {
 32195  	gensupport.SetOptions(c.urlParams_, opts...)
 32196  	res, err := c.doRequest("json")
 32197  	if res != nil && res.StatusCode == http.StatusNotModified {
 32198  		if res.Body != nil {
 32199  			res.Body.Close()
 32200  		}
 32201  		return nil, gensupport.WrapError(&googleapi.Error{
 32202  			Code:   res.StatusCode,
 32203  			Header: res.Header,
 32204  		})
 32205  	}
 32206  	if err != nil {
 32207  		return nil, err
 32208  	}
 32209  	defer googleapi.CloseBody(res)
 32210  	if err := googleapi.CheckResponse(res); err != nil {
 32211  		return nil, gensupport.WrapError(err)
 32212  	}
 32213  	ret := &GoogleCloudDialogflowCxV3TransitionRouteGroup{
 32214  		ServerResponse: googleapi.ServerResponse{
 32215  			Header:         res.Header,
 32216  			HTTPStatusCode: res.StatusCode,
 32217  		},
 32218  	}
 32219  	target := &ret
 32220  	if err := gensupport.DecodeResponse(target, res); err != nil {
 32221  		return nil, err
 32222  	}
 32223  	return ret, nil
 32224  }
 32225  
 32226  type ProjectsLocationsAgentsWebhooksCreateCall struct {
 32227  	s                                *Service
 32228  	parent                           string
 32229  	googleclouddialogflowcxv3webhook *GoogleCloudDialogflowCxV3Webhook
 32230  	urlParams_                       gensupport.URLParams
 32231  	ctx_                             context.Context
 32232  	header_                          http.Header
 32233  }
 32234  
 32235  // Create: Creates a webhook in the specified agent.
 32236  //
 32237  //   - parent: The agent to create a webhook for. Format:
 32238  //     `projects//locations//agents/`.
 32239  func (r *ProjectsLocationsAgentsWebhooksService) Create(parent string, googleclouddialogflowcxv3webhook *GoogleCloudDialogflowCxV3Webhook) *ProjectsLocationsAgentsWebhooksCreateCall {
 32240  	c := &ProjectsLocationsAgentsWebhooksCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 32241  	c.parent = parent
 32242  	c.googleclouddialogflowcxv3webhook = googleclouddialogflowcxv3webhook
 32243  	return c
 32244  }
 32245  
 32246  // Fields allows partial responses to be retrieved. See
 32247  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 32248  // details.
 32249  func (c *ProjectsLocationsAgentsWebhooksCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksCreateCall {
 32250  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 32251  	return c
 32252  }
 32253  
 32254  // Context sets the context to be used in this call's Do method.
 32255  func (c *ProjectsLocationsAgentsWebhooksCreateCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksCreateCall {
 32256  	c.ctx_ = ctx
 32257  	return c
 32258  }
 32259  
 32260  // Header returns a http.Header that can be modified by the caller to add
 32261  // headers to the request.
 32262  func (c *ProjectsLocationsAgentsWebhooksCreateCall) Header() http.Header {
 32263  	if c.header_ == nil {
 32264  		c.header_ = make(http.Header)
 32265  	}
 32266  	return c.header_
 32267  }
 32268  
 32269  func (c *ProjectsLocationsAgentsWebhooksCreateCall) doRequest(alt string) (*http.Response, error) {
 32270  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 32271  	var body io.Reader = nil
 32272  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3webhook)
 32273  	if err != nil {
 32274  		return nil, err
 32275  	}
 32276  	c.urlParams_.Set("alt", alt)
 32277  	c.urlParams_.Set("prettyPrint", "false")
 32278  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/webhooks")
 32279  	urls += "?" + c.urlParams_.Encode()
 32280  	req, err := http.NewRequest("POST", urls, body)
 32281  	if err != nil {
 32282  		return nil, err
 32283  	}
 32284  	req.Header = reqHeaders
 32285  	googleapi.Expand(req.URL, map[string]string{
 32286  		"parent": c.parent,
 32287  	})
 32288  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 32289  }
 32290  
 32291  // Do executes the "dialogflow.projects.locations.agents.webhooks.create" call.
 32292  // Any non-2xx status code is an error. Response headers are in either
 32293  // *GoogleCloudDialogflowCxV3Webhook.ServerResponse.Header or (if a response
 32294  // was returned at all) in error.(*googleapi.Error).Header. Use
 32295  // googleapi.IsNotModified to check whether the returned error was because
 32296  // http.StatusNotModified was returned.
 32297  func (c *ProjectsLocationsAgentsWebhooksCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Webhook, error) {
 32298  	gensupport.SetOptions(c.urlParams_, opts...)
 32299  	res, err := c.doRequest("json")
 32300  	if res != nil && res.StatusCode == http.StatusNotModified {
 32301  		if res.Body != nil {
 32302  			res.Body.Close()
 32303  		}
 32304  		return nil, gensupport.WrapError(&googleapi.Error{
 32305  			Code:   res.StatusCode,
 32306  			Header: res.Header,
 32307  		})
 32308  	}
 32309  	if err != nil {
 32310  		return nil, err
 32311  	}
 32312  	defer googleapi.CloseBody(res)
 32313  	if err := googleapi.CheckResponse(res); err != nil {
 32314  		return nil, gensupport.WrapError(err)
 32315  	}
 32316  	ret := &GoogleCloudDialogflowCxV3Webhook{
 32317  		ServerResponse: googleapi.ServerResponse{
 32318  			Header:         res.Header,
 32319  			HTTPStatusCode: res.StatusCode,
 32320  		},
 32321  	}
 32322  	target := &ret
 32323  	if err := gensupport.DecodeResponse(target, res); err != nil {
 32324  		return nil, err
 32325  	}
 32326  	return ret, nil
 32327  }
 32328  
 32329  type ProjectsLocationsAgentsWebhooksDeleteCall struct {
 32330  	s          *Service
 32331  	name       string
 32332  	urlParams_ gensupport.URLParams
 32333  	ctx_       context.Context
 32334  	header_    http.Header
 32335  }
 32336  
 32337  // Delete: Deletes the specified webhook.
 32338  //
 32339  //   - name: The name of the webhook to delete. Format:
 32340  //     `projects//locations//agents//webhooks/`.
 32341  func (r *ProjectsLocationsAgentsWebhooksService) Delete(name string) *ProjectsLocationsAgentsWebhooksDeleteCall {
 32342  	c := &ProjectsLocationsAgentsWebhooksDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 32343  	c.name = name
 32344  	return c
 32345  }
 32346  
 32347  // Force sets the optional parameter "force": This field has no effect for
 32348  // webhook not being used. For webhooks that are used by pages/flows/transition
 32349  // route groups: * If `force` is set to false, an error will be returned with
 32350  // message indicating the referenced resources. * If `force` is set to true,
 32351  // Dialogflow will remove the webhook, as well as any references to the webhook
 32352  // (i.e. Webhook and tagin fulfillments that point to this webhook will be
 32353  // removed).
 32354  func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Force(force bool) *ProjectsLocationsAgentsWebhooksDeleteCall {
 32355  	c.urlParams_.Set("force", fmt.Sprint(force))
 32356  	return c
 32357  }
 32358  
 32359  // Fields allows partial responses to be retrieved. See
 32360  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 32361  // details.
 32362  func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksDeleteCall {
 32363  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 32364  	return c
 32365  }
 32366  
 32367  // Context sets the context to be used in this call's Do method.
 32368  func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksDeleteCall {
 32369  	c.ctx_ = ctx
 32370  	return c
 32371  }
 32372  
 32373  // Header returns a http.Header that can be modified by the caller to add
 32374  // headers to the request.
 32375  func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Header() http.Header {
 32376  	if c.header_ == nil {
 32377  		c.header_ = make(http.Header)
 32378  	}
 32379  	return c.header_
 32380  }
 32381  
 32382  func (c *ProjectsLocationsAgentsWebhooksDeleteCall) doRequest(alt string) (*http.Response, error) {
 32383  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 32384  	var body io.Reader = nil
 32385  	c.urlParams_.Set("alt", alt)
 32386  	c.urlParams_.Set("prettyPrint", "false")
 32387  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 32388  	urls += "?" + c.urlParams_.Encode()
 32389  	req, err := http.NewRequest("DELETE", urls, body)
 32390  	if err != nil {
 32391  		return nil, err
 32392  	}
 32393  	req.Header = reqHeaders
 32394  	googleapi.Expand(req.URL, map[string]string{
 32395  		"name": c.name,
 32396  	})
 32397  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 32398  }
 32399  
 32400  // Do executes the "dialogflow.projects.locations.agents.webhooks.delete" call.
 32401  // Any non-2xx status code is an error. Response headers are in either
 32402  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 32403  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 32404  // check whether the returned error was because http.StatusNotModified was
 32405  // returned.
 32406  func (c *ProjectsLocationsAgentsWebhooksDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 32407  	gensupport.SetOptions(c.urlParams_, opts...)
 32408  	res, err := c.doRequest("json")
 32409  	if res != nil && res.StatusCode == http.StatusNotModified {
 32410  		if res.Body != nil {
 32411  			res.Body.Close()
 32412  		}
 32413  		return nil, gensupport.WrapError(&googleapi.Error{
 32414  			Code:   res.StatusCode,
 32415  			Header: res.Header,
 32416  		})
 32417  	}
 32418  	if err != nil {
 32419  		return nil, err
 32420  	}
 32421  	defer googleapi.CloseBody(res)
 32422  	if err := googleapi.CheckResponse(res); err != nil {
 32423  		return nil, gensupport.WrapError(err)
 32424  	}
 32425  	ret := &GoogleProtobufEmpty{
 32426  		ServerResponse: googleapi.ServerResponse{
 32427  			Header:         res.Header,
 32428  			HTTPStatusCode: res.StatusCode,
 32429  		},
 32430  	}
 32431  	target := &ret
 32432  	if err := gensupport.DecodeResponse(target, res); err != nil {
 32433  		return nil, err
 32434  	}
 32435  	return ret, nil
 32436  }
 32437  
 32438  type ProjectsLocationsAgentsWebhooksGetCall struct {
 32439  	s            *Service
 32440  	name         string
 32441  	urlParams_   gensupport.URLParams
 32442  	ifNoneMatch_ string
 32443  	ctx_         context.Context
 32444  	header_      http.Header
 32445  }
 32446  
 32447  // Get: Retrieves the specified webhook.
 32448  //
 32449  //   - name: The name of the webhook. Format:
 32450  //     `projects//locations//agents//webhooks/`.
 32451  func (r *ProjectsLocationsAgentsWebhooksService) Get(name string) *ProjectsLocationsAgentsWebhooksGetCall {
 32452  	c := &ProjectsLocationsAgentsWebhooksGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 32453  	c.name = name
 32454  	return c
 32455  }
 32456  
 32457  // Fields allows partial responses to be retrieved. See
 32458  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 32459  // details.
 32460  func (c *ProjectsLocationsAgentsWebhooksGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksGetCall {
 32461  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 32462  	return c
 32463  }
 32464  
 32465  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 32466  // object's ETag matches the given value. This is useful for getting updates
 32467  // only after the object has changed since the last request.
 32468  func (c *ProjectsLocationsAgentsWebhooksGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsWebhooksGetCall {
 32469  	c.ifNoneMatch_ = entityTag
 32470  	return c
 32471  }
 32472  
 32473  // Context sets the context to be used in this call's Do method.
 32474  func (c *ProjectsLocationsAgentsWebhooksGetCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksGetCall {
 32475  	c.ctx_ = ctx
 32476  	return c
 32477  }
 32478  
 32479  // Header returns a http.Header that can be modified by the caller to add
 32480  // headers to the request.
 32481  func (c *ProjectsLocationsAgentsWebhooksGetCall) Header() http.Header {
 32482  	if c.header_ == nil {
 32483  		c.header_ = make(http.Header)
 32484  	}
 32485  	return c.header_
 32486  }
 32487  
 32488  func (c *ProjectsLocationsAgentsWebhooksGetCall) doRequest(alt string) (*http.Response, error) {
 32489  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 32490  	if c.ifNoneMatch_ != "" {
 32491  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 32492  	}
 32493  	var body io.Reader = nil
 32494  	c.urlParams_.Set("alt", alt)
 32495  	c.urlParams_.Set("prettyPrint", "false")
 32496  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 32497  	urls += "?" + c.urlParams_.Encode()
 32498  	req, err := http.NewRequest("GET", urls, body)
 32499  	if err != nil {
 32500  		return nil, err
 32501  	}
 32502  	req.Header = reqHeaders
 32503  	googleapi.Expand(req.URL, map[string]string{
 32504  		"name": c.name,
 32505  	})
 32506  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 32507  }
 32508  
 32509  // Do executes the "dialogflow.projects.locations.agents.webhooks.get" call.
 32510  // Any non-2xx status code is an error. Response headers are in either
 32511  // *GoogleCloudDialogflowCxV3Webhook.ServerResponse.Header or (if a response
 32512  // was returned at all) in error.(*googleapi.Error).Header. Use
 32513  // googleapi.IsNotModified to check whether the returned error was because
 32514  // http.StatusNotModified was returned.
 32515  func (c *ProjectsLocationsAgentsWebhooksGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Webhook, error) {
 32516  	gensupport.SetOptions(c.urlParams_, opts...)
 32517  	res, err := c.doRequest("json")
 32518  	if res != nil && res.StatusCode == http.StatusNotModified {
 32519  		if res.Body != nil {
 32520  			res.Body.Close()
 32521  		}
 32522  		return nil, gensupport.WrapError(&googleapi.Error{
 32523  			Code:   res.StatusCode,
 32524  			Header: res.Header,
 32525  		})
 32526  	}
 32527  	if err != nil {
 32528  		return nil, err
 32529  	}
 32530  	defer googleapi.CloseBody(res)
 32531  	if err := googleapi.CheckResponse(res); err != nil {
 32532  		return nil, gensupport.WrapError(err)
 32533  	}
 32534  	ret := &GoogleCloudDialogflowCxV3Webhook{
 32535  		ServerResponse: googleapi.ServerResponse{
 32536  			Header:         res.Header,
 32537  			HTTPStatusCode: res.StatusCode,
 32538  		},
 32539  	}
 32540  	target := &ret
 32541  	if err := gensupport.DecodeResponse(target, res); err != nil {
 32542  		return nil, err
 32543  	}
 32544  	return ret, nil
 32545  }
 32546  
 32547  type ProjectsLocationsAgentsWebhooksListCall struct {
 32548  	s            *Service
 32549  	parent       string
 32550  	urlParams_   gensupport.URLParams
 32551  	ifNoneMatch_ string
 32552  	ctx_         context.Context
 32553  	header_      http.Header
 32554  }
 32555  
 32556  // List: Returns the list of all webhooks in the specified agent.
 32557  //
 32558  //   - parent: The agent to list all webhooks for. Format:
 32559  //     `projects//locations//agents/`.
 32560  func (r *ProjectsLocationsAgentsWebhooksService) List(parent string) *ProjectsLocationsAgentsWebhooksListCall {
 32561  	c := &ProjectsLocationsAgentsWebhooksListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 32562  	c.parent = parent
 32563  	return c
 32564  }
 32565  
 32566  // PageSize sets the optional parameter "pageSize": The maximum number of items
 32567  // to return in a single page. By default 100 and at most 1000.
 32568  func (c *ProjectsLocationsAgentsWebhooksListCall) PageSize(pageSize int64) *ProjectsLocationsAgentsWebhooksListCall {
 32569  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 32570  	return c
 32571  }
 32572  
 32573  // PageToken sets the optional parameter "pageToken": The next_page_token value
 32574  // returned from a previous list request.
 32575  func (c *ProjectsLocationsAgentsWebhooksListCall) PageToken(pageToken string) *ProjectsLocationsAgentsWebhooksListCall {
 32576  	c.urlParams_.Set("pageToken", pageToken)
 32577  	return c
 32578  }
 32579  
 32580  // Fields allows partial responses to be retrieved. See
 32581  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 32582  // details.
 32583  func (c *ProjectsLocationsAgentsWebhooksListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksListCall {
 32584  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 32585  	return c
 32586  }
 32587  
 32588  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 32589  // object's ETag matches the given value. This is useful for getting updates
 32590  // only after the object has changed since the last request.
 32591  func (c *ProjectsLocationsAgentsWebhooksListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAgentsWebhooksListCall {
 32592  	c.ifNoneMatch_ = entityTag
 32593  	return c
 32594  }
 32595  
 32596  // Context sets the context to be used in this call's Do method.
 32597  func (c *ProjectsLocationsAgentsWebhooksListCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksListCall {
 32598  	c.ctx_ = ctx
 32599  	return c
 32600  }
 32601  
 32602  // Header returns a http.Header that can be modified by the caller to add
 32603  // headers to the request.
 32604  func (c *ProjectsLocationsAgentsWebhooksListCall) Header() http.Header {
 32605  	if c.header_ == nil {
 32606  		c.header_ = make(http.Header)
 32607  	}
 32608  	return c.header_
 32609  }
 32610  
 32611  func (c *ProjectsLocationsAgentsWebhooksListCall) doRequest(alt string) (*http.Response, error) {
 32612  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 32613  	if c.ifNoneMatch_ != "" {
 32614  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 32615  	}
 32616  	var body io.Reader = nil
 32617  	c.urlParams_.Set("alt", alt)
 32618  	c.urlParams_.Set("prettyPrint", "false")
 32619  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/webhooks")
 32620  	urls += "?" + c.urlParams_.Encode()
 32621  	req, err := http.NewRequest("GET", urls, body)
 32622  	if err != nil {
 32623  		return nil, err
 32624  	}
 32625  	req.Header = reqHeaders
 32626  	googleapi.Expand(req.URL, map[string]string{
 32627  		"parent": c.parent,
 32628  	})
 32629  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 32630  }
 32631  
 32632  // Do executes the "dialogflow.projects.locations.agents.webhooks.list" call.
 32633  // Any non-2xx status code is an error. Response headers are in either
 32634  // *GoogleCloudDialogflowCxV3ListWebhooksResponse.ServerResponse.Header or (if
 32635  // a response was returned at all) in error.(*googleapi.Error).Header. Use
 32636  // googleapi.IsNotModified to check whether the returned error was because
 32637  // http.StatusNotModified was returned.
 32638  func (c *ProjectsLocationsAgentsWebhooksListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListWebhooksResponse, error) {
 32639  	gensupport.SetOptions(c.urlParams_, opts...)
 32640  	res, err := c.doRequest("json")
 32641  	if res != nil && res.StatusCode == http.StatusNotModified {
 32642  		if res.Body != nil {
 32643  			res.Body.Close()
 32644  		}
 32645  		return nil, gensupport.WrapError(&googleapi.Error{
 32646  			Code:   res.StatusCode,
 32647  			Header: res.Header,
 32648  		})
 32649  	}
 32650  	if err != nil {
 32651  		return nil, err
 32652  	}
 32653  	defer googleapi.CloseBody(res)
 32654  	if err := googleapi.CheckResponse(res); err != nil {
 32655  		return nil, gensupport.WrapError(err)
 32656  	}
 32657  	ret := &GoogleCloudDialogflowCxV3ListWebhooksResponse{
 32658  		ServerResponse: googleapi.ServerResponse{
 32659  			Header:         res.Header,
 32660  			HTTPStatusCode: res.StatusCode,
 32661  		},
 32662  	}
 32663  	target := &ret
 32664  	if err := gensupport.DecodeResponse(target, res); err != nil {
 32665  		return nil, err
 32666  	}
 32667  	return ret, nil
 32668  }
 32669  
 32670  // Pages invokes f for each page of results.
 32671  // A non-nil error returned from f will halt the iteration.
 32672  // The provided context supersedes any context provided to the Context method.
 32673  func (c *ProjectsLocationsAgentsWebhooksListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListWebhooksResponse) error) error {
 32674  	c.ctx_ = ctx
 32675  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 32676  	for {
 32677  		x, err := c.Do()
 32678  		if err != nil {
 32679  			return err
 32680  		}
 32681  		if err := f(x); err != nil {
 32682  			return err
 32683  		}
 32684  		if x.NextPageToken == "" {
 32685  			return nil
 32686  		}
 32687  		c.PageToken(x.NextPageToken)
 32688  	}
 32689  }
 32690  
 32691  type ProjectsLocationsAgentsWebhooksPatchCall struct {
 32692  	s                                *Service
 32693  	nameid                           string
 32694  	googleclouddialogflowcxv3webhook *GoogleCloudDialogflowCxV3Webhook
 32695  	urlParams_                       gensupport.URLParams
 32696  	ctx_                             context.Context
 32697  	header_                          http.Header
 32698  }
 32699  
 32700  // Patch: Updates the specified webhook.
 32701  //
 32702  //   - name: The unique identifier of the webhook. Required for the
 32703  //     Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name
 32704  //     automatically. Format: `projects//locations//agents//webhooks/`.
 32705  func (r *ProjectsLocationsAgentsWebhooksService) Patch(nameid string, googleclouddialogflowcxv3webhook *GoogleCloudDialogflowCxV3Webhook) *ProjectsLocationsAgentsWebhooksPatchCall {
 32706  	c := &ProjectsLocationsAgentsWebhooksPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 32707  	c.nameid = nameid
 32708  	c.googleclouddialogflowcxv3webhook = googleclouddialogflowcxv3webhook
 32709  	return c
 32710  }
 32711  
 32712  // UpdateMask sets the optional parameter "updateMask": The mask to control
 32713  // which fields get updated. If the mask is not present, all fields will be
 32714  // updated.
 32715  func (c *ProjectsLocationsAgentsWebhooksPatchCall) UpdateMask(updateMask string) *ProjectsLocationsAgentsWebhooksPatchCall {
 32716  	c.urlParams_.Set("updateMask", updateMask)
 32717  	return c
 32718  }
 32719  
 32720  // Fields allows partial responses to be retrieved. See
 32721  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 32722  // details.
 32723  func (c *ProjectsLocationsAgentsWebhooksPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsAgentsWebhooksPatchCall {
 32724  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 32725  	return c
 32726  }
 32727  
 32728  // Context sets the context to be used in this call's Do method.
 32729  func (c *ProjectsLocationsAgentsWebhooksPatchCall) Context(ctx context.Context) *ProjectsLocationsAgentsWebhooksPatchCall {
 32730  	c.ctx_ = ctx
 32731  	return c
 32732  }
 32733  
 32734  // Header returns a http.Header that can be modified by the caller to add
 32735  // headers to the request.
 32736  func (c *ProjectsLocationsAgentsWebhooksPatchCall) Header() http.Header {
 32737  	if c.header_ == nil {
 32738  		c.header_ = make(http.Header)
 32739  	}
 32740  	return c.header_
 32741  }
 32742  
 32743  func (c *ProjectsLocationsAgentsWebhooksPatchCall) doRequest(alt string) (*http.Response, error) {
 32744  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 32745  	var body io.Reader = nil
 32746  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3webhook)
 32747  	if err != nil {
 32748  		return nil, err
 32749  	}
 32750  	c.urlParams_.Set("alt", alt)
 32751  	c.urlParams_.Set("prettyPrint", "false")
 32752  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 32753  	urls += "?" + c.urlParams_.Encode()
 32754  	req, err := http.NewRequest("PATCH", urls, body)
 32755  	if err != nil {
 32756  		return nil, err
 32757  	}
 32758  	req.Header = reqHeaders
 32759  	googleapi.Expand(req.URL, map[string]string{
 32760  		"name": c.nameid,
 32761  	})
 32762  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 32763  }
 32764  
 32765  // Do executes the "dialogflow.projects.locations.agents.webhooks.patch" call.
 32766  // Any non-2xx status code is an error. Response headers are in either
 32767  // *GoogleCloudDialogflowCxV3Webhook.ServerResponse.Header or (if a response
 32768  // was returned at all) in error.(*googleapi.Error).Header. Use
 32769  // googleapi.IsNotModified to check whether the returned error was because
 32770  // http.StatusNotModified was returned.
 32771  func (c *ProjectsLocationsAgentsWebhooksPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3Webhook, error) {
 32772  	gensupport.SetOptions(c.urlParams_, opts...)
 32773  	res, err := c.doRequest("json")
 32774  	if res != nil && res.StatusCode == http.StatusNotModified {
 32775  		if res.Body != nil {
 32776  			res.Body.Close()
 32777  		}
 32778  		return nil, gensupport.WrapError(&googleapi.Error{
 32779  			Code:   res.StatusCode,
 32780  			Header: res.Header,
 32781  		})
 32782  	}
 32783  	if err != nil {
 32784  		return nil, err
 32785  	}
 32786  	defer googleapi.CloseBody(res)
 32787  	if err := googleapi.CheckResponse(res); err != nil {
 32788  		return nil, gensupport.WrapError(err)
 32789  	}
 32790  	ret := &GoogleCloudDialogflowCxV3Webhook{
 32791  		ServerResponse: googleapi.ServerResponse{
 32792  			Header:         res.Header,
 32793  			HTTPStatusCode: res.StatusCode,
 32794  		},
 32795  	}
 32796  	target := &ret
 32797  	if err := gensupport.DecodeResponse(target, res); err != nil {
 32798  		return nil, err
 32799  	}
 32800  	return ret, nil
 32801  }
 32802  
 32803  type ProjectsLocationsOperationsCancelCall struct {
 32804  	s          *Service
 32805  	name       string
 32806  	urlParams_ gensupport.URLParams
 32807  	ctx_       context.Context
 32808  	header_    http.Header
 32809  }
 32810  
 32811  // Cancel: Starts asynchronous cancellation on a long-running operation. The
 32812  // server makes a best effort to cancel the operation, but success is not
 32813  // guaranteed. If the server doesn't support this method, it returns
 32814  // `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
 32815  // other methods to check whether the cancellation succeeded or whether the
 32816  // operation completed despite cancellation. On successful cancellation, the
 32817  // operation is not deleted; instead, it becomes an operation with an
 32818  // Operation.error value with a google.rpc.Status.code of 1, corresponding to
 32819  // `Code.CANCELLED`.
 32820  //
 32821  // - name: The name of the operation resource to be cancelled.
 32822  func (r *ProjectsLocationsOperationsService) Cancel(name string) *ProjectsLocationsOperationsCancelCall {
 32823  	c := &ProjectsLocationsOperationsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 32824  	c.name = name
 32825  	return c
 32826  }
 32827  
 32828  // Fields allows partial responses to be retrieved. See
 32829  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 32830  // details.
 32831  func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall {
 32832  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 32833  	return c
 32834  }
 32835  
 32836  // Context sets the context to be used in this call's Do method.
 32837  func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall {
 32838  	c.ctx_ = ctx
 32839  	return c
 32840  }
 32841  
 32842  // Header returns a http.Header that can be modified by the caller to add
 32843  // headers to the request.
 32844  func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header {
 32845  	if c.header_ == nil {
 32846  		c.header_ = make(http.Header)
 32847  	}
 32848  	return c.header_
 32849  }
 32850  
 32851  func (c *ProjectsLocationsOperationsCancelCall) doRequest(alt string) (*http.Response, error) {
 32852  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 32853  	var body io.Reader = nil
 32854  	c.urlParams_.Set("alt", alt)
 32855  	c.urlParams_.Set("prettyPrint", "false")
 32856  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:cancel")
 32857  	urls += "?" + c.urlParams_.Encode()
 32858  	req, err := http.NewRequest("POST", urls, body)
 32859  	if err != nil {
 32860  		return nil, err
 32861  	}
 32862  	req.Header = reqHeaders
 32863  	googleapi.Expand(req.URL, map[string]string{
 32864  		"name": c.name,
 32865  	})
 32866  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 32867  }
 32868  
 32869  // Do executes the "dialogflow.projects.locations.operations.cancel" call.
 32870  // Any non-2xx status code is an error. Response headers are in either
 32871  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 32872  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 32873  // check whether the returned error was because http.StatusNotModified was
 32874  // returned.
 32875  func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 32876  	gensupport.SetOptions(c.urlParams_, opts...)
 32877  	res, err := c.doRequest("json")
 32878  	if res != nil && res.StatusCode == http.StatusNotModified {
 32879  		if res.Body != nil {
 32880  			res.Body.Close()
 32881  		}
 32882  		return nil, gensupport.WrapError(&googleapi.Error{
 32883  			Code:   res.StatusCode,
 32884  			Header: res.Header,
 32885  		})
 32886  	}
 32887  	if err != nil {
 32888  		return nil, err
 32889  	}
 32890  	defer googleapi.CloseBody(res)
 32891  	if err := googleapi.CheckResponse(res); err != nil {
 32892  		return nil, gensupport.WrapError(err)
 32893  	}
 32894  	ret := &GoogleProtobufEmpty{
 32895  		ServerResponse: googleapi.ServerResponse{
 32896  			Header:         res.Header,
 32897  			HTTPStatusCode: res.StatusCode,
 32898  		},
 32899  	}
 32900  	target := &ret
 32901  	if err := gensupport.DecodeResponse(target, res); err != nil {
 32902  		return nil, err
 32903  	}
 32904  	return ret, nil
 32905  }
 32906  
 32907  type ProjectsLocationsOperationsGetCall struct {
 32908  	s            *Service
 32909  	name         string
 32910  	urlParams_   gensupport.URLParams
 32911  	ifNoneMatch_ string
 32912  	ctx_         context.Context
 32913  	header_      http.Header
 32914  }
 32915  
 32916  // Get: Gets the latest state of a long-running operation. Clients can use this
 32917  // method to poll the operation result at intervals as recommended by the API
 32918  // service.
 32919  //
 32920  // - name: The name of the operation resource.
 32921  func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall {
 32922  	c := &ProjectsLocationsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 32923  	c.name = name
 32924  	return c
 32925  }
 32926  
 32927  // Fields allows partial responses to be retrieved. See
 32928  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 32929  // details.
 32930  func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall {
 32931  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 32932  	return c
 32933  }
 32934  
 32935  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 32936  // object's ETag matches the given value. This is useful for getting updates
 32937  // only after the object has changed since the last request.
 32938  func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall {
 32939  	c.ifNoneMatch_ = entityTag
 32940  	return c
 32941  }
 32942  
 32943  // Context sets the context to be used in this call's Do method.
 32944  func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall {
 32945  	c.ctx_ = ctx
 32946  	return c
 32947  }
 32948  
 32949  // Header returns a http.Header that can be modified by the caller to add
 32950  // headers to the request.
 32951  func (c *ProjectsLocationsOperationsGetCall) Header() http.Header {
 32952  	if c.header_ == nil {
 32953  		c.header_ = make(http.Header)
 32954  	}
 32955  	return c.header_
 32956  }
 32957  
 32958  func (c *ProjectsLocationsOperationsGetCall) doRequest(alt string) (*http.Response, error) {
 32959  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 32960  	if c.ifNoneMatch_ != "" {
 32961  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 32962  	}
 32963  	var body io.Reader = nil
 32964  	c.urlParams_.Set("alt", alt)
 32965  	c.urlParams_.Set("prettyPrint", "false")
 32966  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 32967  	urls += "?" + c.urlParams_.Encode()
 32968  	req, err := http.NewRequest("GET", urls, body)
 32969  	if err != nil {
 32970  		return nil, err
 32971  	}
 32972  	req.Header = reqHeaders
 32973  	googleapi.Expand(req.URL, map[string]string{
 32974  		"name": c.name,
 32975  	})
 32976  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 32977  }
 32978  
 32979  // Do executes the "dialogflow.projects.locations.operations.get" call.
 32980  // Any non-2xx status code is an error. Response headers are in either
 32981  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 32982  // returned at all) in error.(*googleapi.Error).Header. Use
 32983  // googleapi.IsNotModified to check whether the returned error was because
 32984  // http.StatusNotModified was returned.
 32985  func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 32986  	gensupport.SetOptions(c.urlParams_, opts...)
 32987  	res, err := c.doRequest("json")
 32988  	if res != nil && res.StatusCode == http.StatusNotModified {
 32989  		if res.Body != nil {
 32990  			res.Body.Close()
 32991  		}
 32992  		return nil, gensupport.WrapError(&googleapi.Error{
 32993  			Code:   res.StatusCode,
 32994  			Header: res.Header,
 32995  		})
 32996  	}
 32997  	if err != nil {
 32998  		return nil, err
 32999  	}
 33000  	defer googleapi.CloseBody(res)
 33001  	if err := googleapi.CheckResponse(res); err != nil {
 33002  		return nil, gensupport.WrapError(err)
 33003  	}
 33004  	ret := &GoogleLongrunningOperation{
 33005  		ServerResponse: googleapi.ServerResponse{
 33006  			Header:         res.Header,
 33007  			HTTPStatusCode: res.StatusCode,
 33008  		},
 33009  	}
 33010  	target := &ret
 33011  	if err := gensupport.DecodeResponse(target, res); err != nil {
 33012  		return nil, err
 33013  	}
 33014  	return ret, nil
 33015  }
 33016  
 33017  type ProjectsLocationsOperationsListCall struct {
 33018  	s            *Service
 33019  	name         string
 33020  	urlParams_   gensupport.URLParams
 33021  	ifNoneMatch_ string
 33022  	ctx_         context.Context
 33023  	header_      http.Header
 33024  }
 33025  
 33026  // List: Lists operations that match the specified filter in the request. If
 33027  // the server doesn't support this method, it returns `UNIMPLEMENTED`.
 33028  //
 33029  // - name: The name of the operation's parent resource.
 33030  func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall {
 33031  	c := &ProjectsLocationsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 33032  	c.name = name
 33033  	return c
 33034  }
 33035  
 33036  // Filter sets the optional parameter "filter": The standard list filter.
 33037  func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall {
 33038  	c.urlParams_.Set("filter", filter)
 33039  	return c
 33040  }
 33041  
 33042  // PageSize sets the optional parameter "pageSize": The standard list page
 33043  // size.
 33044  func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall {
 33045  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 33046  	return c
 33047  }
 33048  
 33049  // PageToken sets the optional parameter "pageToken": The standard list page
 33050  // token.
 33051  func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall {
 33052  	c.urlParams_.Set("pageToken", pageToken)
 33053  	return c
 33054  }
 33055  
 33056  // Fields allows partial responses to be retrieved. See
 33057  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 33058  // details.
 33059  func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall {
 33060  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 33061  	return c
 33062  }
 33063  
 33064  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 33065  // object's ETag matches the given value. This is useful for getting updates
 33066  // only after the object has changed since the last request.
 33067  func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall {
 33068  	c.ifNoneMatch_ = entityTag
 33069  	return c
 33070  }
 33071  
 33072  // Context sets the context to be used in this call's Do method.
 33073  func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall {
 33074  	c.ctx_ = ctx
 33075  	return c
 33076  }
 33077  
 33078  // Header returns a http.Header that can be modified by the caller to add
 33079  // headers to the request.
 33080  func (c *ProjectsLocationsOperationsListCall) Header() http.Header {
 33081  	if c.header_ == nil {
 33082  		c.header_ = make(http.Header)
 33083  	}
 33084  	return c.header_
 33085  }
 33086  
 33087  func (c *ProjectsLocationsOperationsListCall) doRequest(alt string) (*http.Response, error) {
 33088  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 33089  	if c.ifNoneMatch_ != "" {
 33090  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 33091  	}
 33092  	var body io.Reader = nil
 33093  	c.urlParams_.Set("alt", alt)
 33094  	c.urlParams_.Set("prettyPrint", "false")
 33095  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}/operations")
 33096  	urls += "?" + c.urlParams_.Encode()
 33097  	req, err := http.NewRequest("GET", urls, body)
 33098  	if err != nil {
 33099  		return nil, err
 33100  	}
 33101  	req.Header = reqHeaders
 33102  	googleapi.Expand(req.URL, map[string]string{
 33103  		"name": c.name,
 33104  	})
 33105  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 33106  }
 33107  
 33108  // Do executes the "dialogflow.projects.locations.operations.list" call.
 33109  // Any non-2xx status code is an error. Response headers are in either
 33110  // *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a
 33111  // response was returned at all) in error.(*googleapi.Error).Header. Use
 33112  // googleapi.IsNotModified to check whether the returned error was because
 33113  // http.StatusNotModified was returned.
 33114  func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error) {
 33115  	gensupport.SetOptions(c.urlParams_, opts...)
 33116  	res, err := c.doRequest("json")
 33117  	if res != nil && res.StatusCode == http.StatusNotModified {
 33118  		if res.Body != nil {
 33119  			res.Body.Close()
 33120  		}
 33121  		return nil, gensupport.WrapError(&googleapi.Error{
 33122  			Code:   res.StatusCode,
 33123  			Header: res.Header,
 33124  		})
 33125  	}
 33126  	if err != nil {
 33127  		return nil, err
 33128  	}
 33129  	defer googleapi.CloseBody(res)
 33130  	if err := googleapi.CheckResponse(res); err != nil {
 33131  		return nil, gensupport.WrapError(err)
 33132  	}
 33133  	ret := &GoogleLongrunningListOperationsResponse{
 33134  		ServerResponse: googleapi.ServerResponse{
 33135  			Header:         res.Header,
 33136  			HTTPStatusCode: res.StatusCode,
 33137  		},
 33138  	}
 33139  	target := &ret
 33140  	if err := gensupport.DecodeResponse(target, res); err != nil {
 33141  		return nil, err
 33142  	}
 33143  	return ret, nil
 33144  }
 33145  
 33146  // Pages invokes f for each page of results.
 33147  // A non-nil error returned from f will halt the iteration.
 33148  // The provided context supersedes any context provided to the Context method.
 33149  func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error {
 33150  	c.ctx_ = ctx
 33151  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 33152  	for {
 33153  		x, err := c.Do()
 33154  		if err != nil {
 33155  			return err
 33156  		}
 33157  		if err := f(x); err != nil {
 33158  			return err
 33159  		}
 33160  		if x.NextPageToken == "" {
 33161  			return nil
 33162  		}
 33163  		c.PageToken(x.NextPageToken)
 33164  	}
 33165  }
 33166  
 33167  type ProjectsLocationsSecuritySettingsCreateCall struct {
 33168  	s                                         *Service
 33169  	parent                                    string
 33170  	googleclouddialogflowcxv3securitysettings *GoogleCloudDialogflowCxV3SecuritySettings
 33171  	urlParams_                                gensupport.URLParams
 33172  	ctx_                                      context.Context
 33173  	header_                                   http.Header
 33174  }
 33175  
 33176  // Create: Create security settings in the specified location.
 33177  //
 33178  //   - parent: The location to create an SecuritySettings for. Format:
 33179  //     `projects//locations/`.
 33180  func (r *ProjectsLocationsSecuritySettingsService) Create(parent string, googleclouddialogflowcxv3securitysettings *GoogleCloudDialogflowCxV3SecuritySettings) *ProjectsLocationsSecuritySettingsCreateCall {
 33181  	c := &ProjectsLocationsSecuritySettingsCreateCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 33182  	c.parent = parent
 33183  	c.googleclouddialogflowcxv3securitysettings = googleclouddialogflowcxv3securitysettings
 33184  	return c
 33185  }
 33186  
 33187  // Fields allows partial responses to be retrieved. See
 33188  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 33189  // details.
 33190  func (c *ProjectsLocationsSecuritySettingsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsCreateCall {
 33191  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 33192  	return c
 33193  }
 33194  
 33195  // Context sets the context to be used in this call's Do method.
 33196  func (c *ProjectsLocationsSecuritySettingsCreateCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsCreateCall {
 33197  	c.ctx_ = ctx
 33198  	return c
 33199  }
 33200  
 33201  // Header returns a http.Header that can be modified by the caller to add
 33202  // headers to the request.
 33203  func (c *ProjectsLocationsSecuritySettingsCreateCall) Header() http.Header {
 33204  	if c.header_ == nil {
 33205  		c.header_ = make(http.Header)
 33206  	}
 33207  	return c.header_
 33208  }
 33209  
 33210  func (c *ProjectsLocationsSecuritySettingsCreateCall) doRequest(alt string) (*http.Response, error) {
 33211  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 33212  	var body io.Reader = nil
 33213  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3securitysettings)
 33214  	if err != nil {
 33215  		return nil, err
 33216  	}
 33217  	c.urlParams_.Set("alt", alt)
 33218  	c.urlParams_.Set("prettyPrint", "false")
 33219  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/securitySettings")
 33220  	urls += "?" + c.urlParams_.Encode()
 33221  	req, err := http.NewRequest("POST", urls, body)
 33222  	if err != nil {
 33223  		return nil, err
 33224  	}
 33225  	req.Header = reqHeaders
 33226  	googleapi.Expand(req.URL, map[string]string{
 33227  		"parent": c.parent,
 33228  	})
 33229  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 33230  }
 33231  
 33232  // Do executes the "dialogflow.projects.locations.securitySettings.create" call.
 33233  // Any non-2xx status code is an error. Response headers are in either
 33234  // *GoogleCloudDialogflowCxV3SecuritySettings.ServerResponse.Header or (if a
 33235  // response was returned at all) in error.(*googleapi.Error).Header. Use
 33236  // googleapi.IsNotModified to check whether the returned error was because
 33237  // http.StatusNotModified was returned.
 33238  func (c *ProjectsLocationsSecuritySettingsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SecuritySettings, error) {
 33239  	gensupport.SetOptions(c.urlParams_, opts...)
 33240  	res, err := c.doRequest("json")
 33241  	if res != nil && res.StatusCode == http.StatusNotModified {
 33242  		if res.Body != nil {
 33243  			res.Body.Close()
 33244  		}
 33245  		return nil, gensupport.WrapError(&googleapi.Error{
 33246  			Code:   res.StatusCode,
 33247  			Header: res.Header,
 33248  		})
 33249  	}
 33250  	if err != nil {
 33251  		return nil, err
 33252  	}
 33253  	defer googleapi.CloseBody(res)
 33254  	if err := googleapi.CheckResponse(res); err != nil {
 33255  		return nil, gensupport.WrapError(err)
 33256  	}
 33257  	ret := &GoogleCloudDialogflowCxV3SecuritySettings{
 33258  		ServerResponse: googleapi.ServerResponse{
 33259  			Header:         res.Header,
 33260  			HTTPStatusCode: res.StatusCode,
 33261  		},
 33262  	}
 33263  	target := &ret
 33264  	if err := gensupport.DecodeResponse(target, res); err != nil {
 33265  		return nil, err
 33266  	}
 33267  	return ret, nil
 33268  }
 33269  
 33270  type ProjectsLocationsSecuritySettingsDeleteCall struct {
 33271  	s          *Service
 33272  	name       string
 33273  	urlParams_ gensupport.URLParams
 33274  	ctx_       context.Context
 33275  	header_    http.Header
 33276  }
 33277  
 33278  // Delete: Deletes the specified SecuritySettings.
 33279  //
 33280  //   - name: The name of the SecuritySettings to delete. Format:
 33281  //     `projects//locations//securitySettings/`.
 33282  func (r *ProjectsLocationsSecuritySettingsService) Delete(name string) *ProjectsLocationsSecuritySettingsDeleteCall {
 33283  	c := &ProjectsLocationsSecuritySettingsDeleteCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 33284  	c.name = name
 33285  	return c
 33286  }
 33287  
 33288  // Fields allows partial responses to be retrieved. See
 33289  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 33290  // details.
 33291  func (c *ProjectsLocationsSecuritySettingsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsDeleteCall {
 33292  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 33293  	return c
 33294  }
 33295  
 33296  // Context sets the context to be used in this call's Do method.
 33297  func (c *ProjectsLocationsSecuritySettingsDeleteCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsDeleteCall {
 33298  	c.ctx_ = ctx
 33299  	return c
 33300  }
 33301  
 33302  // Header returns a http.Header that can be modified by the caller to add
 33303  // headers to the request.
 33304  func (c *ProjectsLocationsSecuritySettingsDeleteCall) Header() http.Header {
 33305  	if c.header_ == nil {
 33306  		c.header_ = make(http.Header)
 33307  	}
 33308  	return c.header_
 33309  }
 33310  
 33311  func (c *ProjectsLocationsSecuritySettingsDeleteCall) doRequest(alt string) (*http.Response, error) {
 33312  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 33313  	var body io.Reader = nil
 33314  	c.urlParams_.Set("alt", alt)
 33315  	c.urlParams_.Set("prettyPrint", "false")
 33316  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 33317  	urls += "?" + c.urlParams_.Encode()
 33318  	req, err := http.NewRequest("DELETE", urls, body)
 33319  	if err != nil {
 33320  		return nil, err
 33321  	}
 33322  	req.Header = reqHeaders
 33323  	googleapi.Expand(req.URL, map[string]string{
 33324  		"name": c.name,
 33325  	})
 33326  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 33327  }
 33328  
 33329  // Do executes the "dialogflow.projects.locations.securitySettings.delete" call.
 33330  // Any non-2xx status code is an error. Response headers are in either
 33331  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 33332  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 33333  // check whether the returned error was because http.StatusNotModified was
 33334  // returned.
 33335  func (c *ProjectsLocationsSecuritySettingsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 33336  	gensupport.SetOptions(c.urlParams_, opts...)
 33337  	res, err := c.doRequest("json")
 33338  	if res != nil && res.StatusCode == http.StatusNotModified {
 33339  		if res.Body != nil {
 33340  			res.Body.Close()
 33341  		}
 33342  		return nil, gensupport.WrapError(&googleapi.Error{
 33343  			Code:   res.StatusCode,
 33344  			Header: res.Header,
 33345  		})
 33346  	}
 33347  	if err != nil {
 33348  		return nil, err
 33349  	}
 33350  	defer googleapi.CloseBody(res)
 33351  	if err := googleapi.CheckResponse(res); err != nil {
 33352  		return nil, gensupport.WrapError(err)
 33353  	}
 33354  	ret := &GoogleProtobufEmpty{
 33355  		ServerResponse: googleapi.ServerResponse{
 33356  			Header:         res.Header,
 33357  			HTTPStatusCode: res.StatusCode,
 33358  		},
 33359  	}
 33360  	target := &ret
 33361  	if err := gensupport.DecodeResponse(target, res); err != nil {
 33362  		return nil, err
 33363  	}
 33364  	return ret, nil
 33365  }
 33366  
 33367  type ProjectsLocationsSecuritySettingsGetCall struct {
 33368  	s            *Service
 33369  	name         string
 33370  	urlParams_   gensupport.URLParams
 33371  	ifNoneMatch_ string
 33372  	ctx_         context.Context
 33373  	header_      http.Header
 33374  }
 33375  
 33376  // Get: Retrieves the specified SecuritySettings. The returned settings may be
 33377  // stale by up to 1 minute.
 33378  //
 33379  //   - name: Resource name of the settings. Format:
 33380  //     `projects//locations//securitySettings/`.
 33381  func (r *ProjectsLocationsSecuritySettingsService) Get(name string) *ProjectsLocationsSecuritySettingsGetCall {
 33382  	c := &ProjectsLocationsSecuritySettingsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 33383  	c.name = name
 33384  	return c
 33385  }
 33386  
 33387  // Fields allows partial responses to be retrieved. See
 33388  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 33389  // details.
 33390  func (c *ProjectsLocationsSecuritySettingsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsGetCall {
 33391  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 33392  	return c
 33393  }
 33394  
 33395  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 33396  // object's ETag matches the given value. This is useful for getting updates
 33397  // only after the object has changed since the last request.
 33398  func (c *ProjectsLocationsSecuritySettingsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsSecuritySettingsGetCall {
 33399  	c.ifNoneMatch_ = entityTag
 33400  	return c
 33401  }
 33402  
 33403  // Context sets the context to be used in this call's Do method.
 33404  func (c *ProjectsLocationsSecuritySettingsGetCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsGetCall {
 33405  	c.ctx_ = ctx
 33406  	return c
 33407  }
 33408  
 33409  // Header returns a http.Header that can be modified by the caller to add
 33410  // headers to the request.
 33411  func (c *ProjectsLocationsSecuritySettingsGetCall) Header() http.Header {
 33412  	if c.header_ == nil {
 33413  		c.header_ = make(http.Header)
 33414  	}
 33415  	return c.header_
 33416  }
 33417  
 33418  func (c *ProjectsLocationsSecuritySettingsGetCall) doRequest(alt string) (*http.Response, error) {
 33419  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 33420  	if c.ifNoneMatch_ != "" {
 33421  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 33422  	}
 33423  	var body io.Reader = nil
 33424  	c.urlParams_.Set("alt", alt)
 33425  	c.urlParams_.Set("prettyPrint", "false")
 33426  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 33427  	urls += "?" + c.urlParams_.Encode()
 33428  	req, err := http.NewRequest("GET", urls, body)
 33429  	if err != nil {
 33430  		return nil, err
 33431  	}
 33432  	req.Header = reqHeaders
 33433  	googleapi.Expand(req.URL, map[string]string{
 33434  		"name": c.name,
 33435  	})
 33436  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 33437  }
 33438  
 33439  // Do executes the "dialogflow.projects.locations.securitySettings.get" call.
 33440  // Any non-2xx status code is an error. Response headers are in either
 33441  // *GoogleCloudDialogflowCxV3SecuritySettings.ServerResponse.Header or (if a
 33442  // response was returned at all) in error.(*googleapi.Error).Header. Use
 33443  // googleapi.IsNotModified to check whether the returned error was because
 33444  // http.StatusNotModified was returned.
 33445  func (c *ProjectsLocationsSecuritySettingsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SecuritySettings, error) {
 33446  	gensupport.SetOptions(c.urlParams_, opts...)
 33447  	res, err := c.doRequest("json")
 33448  	if res != nil && res.StatusCode == http.StatusNotModified {
 33449  		if res.Body != nil {
 33450  			res.Body.Close()
 33451  		}
 33452  		return nil, gensupport.WrapError(&googleapi.Error{
 33453  			Code:   res.StatusCode,
 33454  			Header: res.Header,
 33455  		})
 33456  	}
 33457  	if err != nil {
 33458  		return nil, err
 33459  	}
 33460  	defer googleapi.CloseBody(res)
 33461  	if err := googleapi.CheckResponse(res); err != nil {
 33462  		return nil, gensupport.WrapError(err)
 33463  	}
 33464  	ret := &GoogleCloudDialogflowCxV3SecuritySettings{
 33465  		ServerResponse: googleapi.ServerResponse{
 33466  			Header:         res.Header,
 33467  			HTTPStatusCode: res.StatusCode,
 33468  		},
 33469  	}
 33470  	target := &ret
 33471  	if err := gensupport.DecodeResponse(target, res); err != nil {
 33472  		return nil, err
 33473  	}
 33474  	return ret, nil
 33475  }
 33476  
 33477  type ProjectsLocationsSecuritySettingsListCall struct {
 33478  	s            *Service
 33479  	parent       string
 33480  	urlParams_   gensupport.URLParams
 33481  	ifNoneMatch_ string
 33482  	ctx_         context.Context
 33483  	header_      http.Header
 33484  }
 33485  
 33486  // List: Returns the list of all security settings in the specified location.
 33487  //
 33488  //   - parent: The location to list all security settings for. Format:
 33489  //     `projects//locations/`.
 33490  func (r *ProjectsLocationsSecuritySettingsService) List(parent string) *ProjectsLocationsSecuritySettingsListCall {
 33491  	c := &ProjectsLocationsSecuritySettingsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 33492  	c.parent = parent
 33493  	return c
 33494  }
 33495  
 33496  // PageSize sets the optional parameter "pageSize": The maximum number of items
 33497  // to return in a single page. By default 20 and at most 100.
 33498  func (c *ProjectsLocationsSecuritySettingsListCall) PageSize(pageSize int64) *ProjectsLocationsSecuritySettingsListCall {
 33499  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 33500  	return c
 33501  }
 33502  
 33503  // PageToken sets the optional parameter "pageToken": The next_page_token value
 33504  // returned from a previous list request.
 33505  func (c *ProjectsLocationsSecuritySettingsListCall) PageToken(pageToken string) *ProjectsLocationsSecuritySettingsListCall {
 33506  	c.urlParams_.Set("pageToken", pageToken)
 33507  	return c
 33508  }
 33509  
 33510  // Fields allows partial responses to be retrieved. See
 33511  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 33512  // details.
 33513  func (c *ProjectsLocationsSecuritySettingsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsListCall {
 33514  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 33515  	return c
 33516  }
 33517  
 33518  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 33519  // object's ETag matches the given value. This is useful for getting updates
 33520  // only after the object has changed since the last request.
 33521  func (c *ProjectsLocationsSecuritySettingsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsSecuritySettingsListCall {
 33522  	c.ifNoneMatch_ = entityTag
 33523  	return c
 33524  }
 33525  
 33526  // Context sets the context to be used in this call's Do method.
 33527  func (c *ProjectsLocationsSecuritySettingsListCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsListCall {
 33528  	c.ctx_ = ctx
 33529  	return c
 33530  }
 33531  
 33532  // Header returns a http.Header that can be modified by the caller to add
 33533  // headers to the request.
 33534  func (c *ProjectsLocationsSecuritySettingsListCall) Header() http.Header {
 33535  	if c.header_ == nil {
 33536  		c.header_ = make(http.Header)
 33537  	}
 33538  	return c.header_
 33539  }
 33540  
 33541  func (c *ProjectsLocationsSecuritySettingsListCall) doRequest(alt string) (*http.Response, error) {
 33542  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 33543  	if c.ifNoneMatch_ != "" {
 33544  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 33545  	}
 33546  	var body io.Reader = nil
 33547  	c.urlParams_.Set("alt", alt)
 33548  	c.urlParams_.Set("prettyPrint", "false")
 33549  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+parent}/securitySettings")
 33550  	urls += "?" + c.urlParams_.Encode()
 33551  	req, err := http.NewRequest("GET", urls, body)
 33552  	if err != nil {
 33553  		return nil, err
 33554  	}
 33555  	req.Header = reqHeaders
 33556  	googleapi.Expand(req.URL, map[string]string{
 33557  		"parent": c.parent,
 33558  	})
 33559  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 33560  }
 33561  
 33562  // Do executes the "dialogflow.projects.locations.securitySettings.list" call.
 33563  // Any non-2xx status code is an error. Response headers are in either
 33564  // *GoogleCloudDialogflowCxV3ListSecuritySettingsResponse.ServerResponse.Header
 33565  // or (if a response was returned at all) in error.(*googleapi.Error).Header.
 33566  // Use googleapi.IsNotModified to check whether the returned error was because
 33567  // http.StatusNotModified was returned.
 33568  func (c *ProjectsLocationsSecuritySettingsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3ListSecuritySettingsResponse, error) {
 33569  	gensupport.SetOptions(c.urlParams_, opts...)
 33570  	res, err := c.doRequest("json")
 33571  	if res != nil && res.StatusCode == http.StatusNotModified {
 33572  		if res.Body != nil {
 33573  			res.Body.Close()
 33574  		}
 33575  		return nil, gensupport.WrapError(&googleapi.Error{
 33576  			Code:   res.StatusCode,
 33577  			Header: res.Header,
 33578  		})
 33579  	}
 33580  	if err != nil {
 33581  		return nil, err
 33582  	}
 33583  	defer googleapi.CloseBody(res)
 33584  	if err := googleapi.CheckResponse(res); err != nil {
 33585  		return nil, gensupport.WrapError(err)
 33586  	}
 33587  	ret := &GoogleCloudDialogflowCxV3ListSecuritySettingsResponse{
 33588  		ServerResponse: googleapi.ServerResponse{
 33589  			Header:         res.Header,
 33590  			HTTPStatusCode: res.StatusCode,
 33591  		},
 33592  	}
 33593  	target := &ret
 33594  	if err := gensupport.DecodeResponse(target, res); err != nil {
 33595  		return nil, err
 33596  	}
 33597  	return ret, nil
 33598  }
 33599  
 33600  // Pages invokes f for each page of results.
 33601  // A non-nil error returned from f will halt the iteration.
 33602  // The provided context supersedes any context provided to the Context method.
 33603  func (c *ProjectsLocationsSecuritySettingsListCall) Pages(ctx context.Context, f func(*GoogleCloudDialogflowCxV3ListSecuritySettingsResponse) error) error {
 33604  	c.ctx_ = ctx
 33605  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 33606  	for {
 33607  		x, err := c.Do()
 33608  		if err != nil {
 33609  			return err
 33610  		}
 33611  		if err := f(x); err != nil {
 33612  			return err
 33613  		}
 33614  		if x.NextPageToken == "" {
 33615  			return nil
 33616  		}
 33617  		c.PageToken(x.NextPageToken)
 33618  	}
 33619  }
 33620  
 33621  type ProjectsLocationsSecuritySettingsPatchCall struct {
 33622  	s                                         *Service
 33623  	name                                      string
 33624  	googleclouddialogflowcxv3securitysettings *GoogleCloudDialogflowCxV3SecuritySettings
 33625  	urlParams_                                gensupport.URLParams
 33626  	ctx_                                      context.Context
 33627  	header_                                   http.Header
 33628  }
 33629  
 33630  // Patch: Updates the specified SecuritySettings.
 33631  //
 33632  //   - name: Resource name of the settings. Required for the
 33633  //     SecuritySettingsService.UpdateSecuritySettings method.
 33634  //     SecuritySettingsService.CreateSecuritySettings populates the name
 33635  //     automatically. Format: `projects//locations//securitySettings/`.
 33636  func (r *ProjectsLocationsSecuritySettingsService) Patch(name string, googleclouddialogflowcxv3securitysettings *GoogleCloudDialogflowCxV3SecuritySettings) *ProjectsLocationsSecuritySettingsPatchCall {
 33637  	c := &ProjectsLocationsSecuritySettingsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 33638  	c.name = name
 33639  	c.googleclouddialogflowcxv3securitysettings = googleclouddialogflowcxv3securitysettings
 33640  	return c
 33641  }
 33642  
 33643  // UpdateMask sets the optional parameter "updateMask": Required. The mask to
 33644  // control which fields get updated. If the mask is not present, all fields
 33645  // will be updated.
 33646  func (c *ProjectsLocationsSecuritySettingsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsSecuritySettingsPatchCall {
 33647  	c.urlParams_.Set("updateMask", updateMask)
 33648  	return c
 33649  }
 33650  
 33651  // Fields allows partial responses to be retrieved. See
 33652  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 33653  // details.
 33654  func (c *ProjectsLocationsSecuritySettingsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsSecuritySettingsPatchCall {
 33655  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 33656  	return c
 33657  }
 33658  
 33659  // Context sets the context to be used in this call's Do method.
 33660  func (c *ProjectsLocationsSecuritySettingsPatchCall) Context(ctx context.Context) *ProjectsLocationsSecuritySettingsPatchCall {
 33661  	c.ctx_ = ctx
 33662  	return c
 33663  }
 33664  
 33665  // Header returns a http.Header that can be modified by the caller to add
 33666  // headers to the request.
 33667  func (c *ProjectsLocationsSecuritySettingsPatchCall) Header() http.Header {
 33668  	if c.header_ == nil {
 33669  		c.header_ = make(http.Header)
 33670  	}
 33671  	return c.header_
 33672  }
 33673  
 33674  func (c *ProjectsLocationsSecuritySettingsPatchCall) doRequest(alt string) (*http.Response, error) {
 33675  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "application/json", c.header_)
 33676  	var body io.Reader = nil
 33677  	body, err := googleapi.WithoutDataWrapper.JSONReader(c.googleclouddialogflowcxv3securitysettings)
 33678  	if err != nil {
 33679  		return nil, err
 33680  	}
 33681  	c.urlParams_.Set("alt", alt)
 33682  	c.urlParams_.Set("prettyPrint", "false")
 33683  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 33684  	urls += "?" + c.urlParams_.Encode()
 33685  	req, err := http.NewRequest("PATCH", urls, body)
 33686  	if err != nil {
 33687  		return nil, err
 33688  	}
 33689  	req.Header = reqHeaders
 33690  	googleapi.Expand(req.URL, map[string]string{
 33691  		"name": c.name,
 33692  	})
 33693  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 33694  }
 33695  
 33696  // Do executes the "dialogflow.projects.locations.securitySettings.patch" call.
 33697  // Any non-2xx status code is an error. Response headers are in either
 33698  // *GoogleCloudDialogflowCxV3SecuritySettings.ServerResponse.Header or (if a
 33699  // response was returned at all) in error.(*googleapi.Error).Header. Use
 33700  // googleapi.IsNotModified to check whether the returned error was because
 33701  // http.StatusNotModified was returned.
 33702  func (c *ProjectsLocationsSecuritySettingsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudDialogflowCxV3SecuritySettings, error) {
 33703  	gensupport.SetOptions(c.urlParams_, opts...)
 33704  	res, err := c.doRequest("json")
 33705  	if res != nil && res.StatusCode == http.StatusNotModified {
 33706  		if res.Body != nil {
 33707  			res.Body.Close()
 33708  		}
 33709  		return nil, gensupport.WrapError(&googleapi.Error{
 33710  			Code:   res.StatusCode,
 33711  			Header: res.Header,
 33712  		})
 33713  	}
 33714  	if err != nil {
 33715  		return nil, err
 33716  	}
 33717  	defer googleapi.CloseBody(res)
 33718  	if err := googleapi.CheckResponse(res); err != nil {
 33719  		return nil, gensupport.WrapError(err)
 33720  	}
 33721  	ret := &GoogleCloudDialogflowCxV3SecuritySettings{
 33722  		ServerResponse: googleapi.ServerResponse{
 33723  			Header:         res.Header,
 33724  			HTTPStatusCode: res.StatusCode,
 33725  		},
 33726  	}
 33727  	target := &ret
 33728  	if err := gensupport.DecodeResponse(target, res); err != nil {
 33729  		return nil, err
 33730  	}
 33731  	return ret, nil
 33732  }
 33733  
 33734  type ProjectsOperationsCancelCall struct {
 33735  	s          *Service
 33736  	name       string
 33737  	urlParams_ gensupport.URLParams
 33738  	ctx_       context.Context
 33739  	header_    http.Header
 33740  }
 33741  
 33742  // Cancel: Starts asynchronous cancellation on a long-running operation. The
 33743  // server makes a best effort to cancel the operation, but success is not
 33744  // guaranteed. If the server doesn't support this method, it returns
 33745  // `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or
 33746  // other methods to check whether the cancellation succeeded or whether the
 33747  // operation completed despite cancellation. On successful cancellation, the
 33748  // operation is not deleted; instead, it becomes an operation with an
 33749  // Operation.error value with a google.rpc.Status.code of 1, corresponding to
 33750  // `Code.CANCELLED`.
 33751  //
 33752  // - name: The name of the operation resource to be cancelled.
 33753  func (r *ProjectsOperationsService) Cancel(name string) *ProjectsOperationsCancelCall {
 33754  	c := &ProjectsOperationsCancelCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 33755  	c.name = name
 33756  	return c
 33757  }
 33758  
 33759  // Fields allows partial responses to be retrieved. See
 33760  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 33761  // details.
 33762  func (c *ProjectsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsOperationsCancelCall {
 33763  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 33764  	return c
 33765  }
 33766  
 33767  // Context sets the context to be used in this call's Do method.
 33768  func (c *ProjectsOperationsCancelCall) Context(ctx context.Context) *ProjectsOperationsCancelCall {
 33769  	c.ctx_ = ctx
 33770  	return c
 33771  }
 33772  
 33773  // Header returns a http.Header that can be modified by the caller to add
 33774  // headers to the request.
 33775  func (c *ProjectsOperationsCancelCall) Header() http.Header {
 33776  	if c.header_ == nil {
 33777  		c.header_ = make(http.Header)
 33778  	}
 33779  	return c.header_
 33780  }
 33781  
 33782  func (c *ProjectsOperationsCancelCall) doRequest(alt string) (*http.Response, error) {
 33783  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 33784  	var body io.Reader = nil
 33785  	c.urlParams_.Set("alt", alt)
 33786  	c.urlParams_.Set("prettyPrint", "false")
 33787  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}:cancel")
 33788  	urls += "?" + c.urlParams_.Encode()
 33789  	req, err := http.NewRequest("POST", urls, body)
 33790  	if err != nil {
 33791  		return nil, err
 33792  	}
 33793  	req.Header = reqHeaders
 33794  	googleapi.Expand(req.URL, map[string]string{
 33795  		"name": c.name,
 33796  	})
 33797  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 33798  }
 33799  
 33800  // Do executes the "dialogflow.projects.operations.cancel" call.
 33801  // Any non-2xx status code is an error. Response headers are in either
 33802  // *GoogleProtobufEmpty.ServerResponse.Header or (if a response was returned at
 33803  // all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to
 33804  // check whether the returned error was because http.StatusNotModified was
 33805  // returned.
 33806  func (c *ProjectsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) {
 33807  	gensupport.SetOptions(c.urlParams_, opts...)
 33808  	res, err := c.doRequest("json")
 33809  	if res != nil && res.StatusCode == http.StatusNotModified {
 33810  		if res.Body != nil {
 33811  			res.Body.Close()
 33812  		}
 33813  		return nil, gensupport.WrapError(&googleapi.Error{
 33814  			Code:   res.StatusCode,
 33815  			Header: res.Header,
 33816  		})
 33817  	}
 33818  	if err != nil {
 33819  		return nil, err
 33820  	}
 33821  	defer googleapi.CloseBody(res)
 33822  	if err := googleapi.CheckResponse(res); err != nil {
 33823  		return nil, gensupport.WrapError(err)
 33824  	}
 33825  	ret := &GoogleProtobufEmpty{
 33826  		ServerResponse: googleapi.ServerResponse{
 33827  			Header:         res.Header,
 33828  			HTTPStatusCode: res.StatusCode,
 33829  		},
 33830  	}
 33831  	target := &ret
 33832  	if err := gensupport.DecodeResponse(target, res); err != nil {
 33833  		return nil, err
 33834  	}
 33835  	return ret, nil
 33836  }
 33837  
 33838  type ProjectsOperationsGetCall struct {
 33839  	s            *Service
 33840  	name         string
 33841  	urlParams_   gensupport.URLParams
 33842  	ifNoneMatch_ string
 33843  	ctx_         context.Context
 33844  	header_      http.Header
 33845  }
 33846  
 33847  // Get: Gets the latest state of a long-running operation. Clients can use this
 33848  // method to poll the operation result at intervals as recommended by the API
 33849  // service.
 33850  //
 33851  // - name: The name of the operation resource.
 33852  func (r *ProjectsOperationsService) Get(name string) *ProjectsOperationsGetCall {
 33853  	c := &ProjectsOperationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 33854  	c.name = name
 33855  	return c
 33856  }
 33857  
 33858  // Fields allows partial responses to be retrieved. See
 33859  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 33860  // details.
 33861  func (c *ProjectsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsOperationsGetCall {
 33862  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 33863  	return c
 33864  }
 33865  
 33866  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 33867  // object's ETag matches the given value. This is useful for getting updates
 33868  // only after the object has changed since the last request.
 33869  func (c *ProjectsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsOperationsGetCall {
 33870  	c.ifNoneMatch_ = entityTag
 33871  	return c
 33872  }
 33873  
 33874  // Context sets the context to be used in this call's Do method.
 33875  func (c *ProjectsOperationsGetCall) Context(ctx context.Context) *ProjectsOperationsGetCall {
 33876  	c.ctx_ = ctx
 33877  	return c
 33878  }
 33879  
 33880  // Header returns a http.Header that can be modified by the caller to add
 33881  // headers to the request.
 33882  func (c *ProjectsOperationsGetCall) Header() http.Header {
 33883  	if c.header_ == nil {
 33884  		c.header_ = make(http.Header)
 33885  	}
 33886  	return c.header_
 33887  }
 33888  
 33889  func (c *ProjectsOperationsGetCall) doRequest(alt string) (*http.Response, error) {
 33890  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 33891  	if c.ifNoneMatch_ != "" {
 33892  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 33893  	}
 33894  	var body io.Reader = nil
 33895  	c.urlParams_.Set("alt", alt)
 33896  	c.urlParams_.Set("prettyPrint", "false")
 33897  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}")
 33898  	urls += "?" + c.urlParams_.Encode()
 33899  	req, err := http.NewRequest("GET", urls, body)
 33900  	if err != nil {
 33901  		return nil, err
 33902  	}
 33903  	req.Header = reqHeaders
 33904  	googleapi.Expand(req.URL, map[string]string{
 33905  		"name": c.name,
 33906  	})
 33907  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 33908  }
 33909  
 33910  // Do executes the "dialogflow.projects.operations.get" call.
 33911  // Any non-2xx status code is an error. Response headers are in either
 33912  // *GoogleLongrunningOperation.ServerResponse.Header or (if a response was
 33913  // returned at all) in error.(*googleapi.Error).Header. Use
 33914  // googleapi.IsNotModified to check whether the returned error was because
 33915  // http.StatusNotModified was returned.
 33916  func (c *ProjectsOperationsGetCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningOperation, error) {
 33917  	gensupport.SetOptions(c.urlParams_, opts...)
 33918  	res, err := c.doRequest("json")
 33919  	if res != nil && res.StatusCode == http.StatusNotModified {
 33920  		if res.Body != nil {
 33921  			res.Body.Close()
 33922  		}
 33923  		return nil, gensupport.WrapError(&googleapi.Error{
 33924  			Code:   res.StatusCode,
 33925  			Header: res.Header,
 33926  		})
 33927  	}
 33928  	if err != nil {
 33929  		return nil, err
 33930  	}
 33931  	defer googleapi.CloseBody(res)
 33932  	if err := googleapi.CheckResponse(res); err != nil {
 33933  		return nil, gensupport.WrapError(err)
 33934  	}
 33935  	ret := &GoogleLongrunningOperation{
 33936  		ServerResponse: googleapi.ServerResponse{
 33937  			Header:         res.Header,
 33938  			HTTPStatusCode: res.StatusCode,
 33939  		},
 33940  	}
 33941  	target := &ret
 33942  	if err := gensupport.DecodeResponse(target, res); err != nil {
 33943  		return nil, err
 33944  	}
 33945  	return ret, nil
 33946  }
 33947  
 33948  type ProjectsOperationsListCall struct {
 33949  	s            *Service
 33950  	name         string
 33951  	urlParams_   gensupport.URLParams
 33952  	ifNoneMatch_ string
 33953  	ctx_         context.Context
 33954  	header_      http.Header
 33955  }
 33956  
 33957  // List: Lists operations that match the specified filter in the request. If
 33958  // the server doesn't support this method, it returns `UNIMPLEMENTED`.
 33959  //
 33960  // - name: The name of the operation's parent resource.
 33961  func (r *ProjectsOperationsService) List(name string) *ProjectsOperationsListCall {
 33962  	c := &ProjectsOperationsListCall{s: r.s, urlParams_: make(gensupport.URLParams)}
 33963  	c.name = name
 33964  	return c
 33965  }
 33966  
 33967  // Filter sets the optional parameter "filter": The standard list filter.
 33968  func (c *ProjectsOperationsListCall) Filter(filter string) *ProjectsOperationsListCall {
 33969  	c.urlParams_.Set("filter", filter)
 33970  	return c
 33971  }
 33972  
 33973  // PageSize sets the optional parameter "pageSize": The standard list page
 33974  // size.
 33975  func (c *ProjectsOperationsListCall) PageSize(pageSize int64) *ProjectsOperationsListCall {
 33976  	c.urlParams_.Set("pageSize", fmt.Sprint(pageSize))
 33977  	return c
 33978  }
 33979  
 33980  // PageToken sets the optional parameter "pageToken": The standard list page
 33981  // token.
 33982  func (c *ProjectsOperationsListCall) PageToken(pageToken string) *ProjectsOperationsListCall {
 33983  	c.urlParams_.Set("pageToken", pageToken)
 33984  	return c
 33985  }
 33986  
 33987  // Fields allows partial responses to be retrieved. See
 33988  // https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more
 33989  // details.
 33990  func (c *ProjectsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsOperationsListCall {
 33991  	c.urlParams_.Set("fields", googleapi.CombineFields(s))
 33992  	return c
 33993  }
 33994  
 33995  // IfNoneMatch sets an optional parameter which makes the operation fail if the
 33996  // object's ETag matches the given value. This is useful for getting updates
 33997  // only after the object has changed since the last request.
 33998  func (c *ProjectsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsOperationsListCall {
 33999  	c.ifNoneMatch_ = entityTag
 34000  	return c
 34001  }
 34002  
 34003  // Context sets the context to be used in this call's Do method.
 34004  func (c *ProjectsOperationsListCall) Context(ctx context.Context) *ProjectsOperationsListCall {
 34005  	c.ctx_ = ctx
 34006  	return c
 34007  }
 34008  
 34009  // Header returns a http.Header that can be modified by the caller to add
 34010  // headers to the request.
 34011  func (c *ProjectsOperationsListCall) Header() http.Header {
 34012  	if c.header_ == nil {
 34013  		c.header_ = make(http.Header)
 34014  	}
 34015  	return c.header_
 34016  }
 34017  
 34018  func (c *ProjectsOperationsListCall) doRequest(alt string) (*http.Response, error) {
 34019  	reqHeaders := gensupport.SetHeaders(c.s.userAgent(), "", c.header_)
 34020  	if c.ifNoneMatch_ != "" {
 34021  		reqHeaders.Set("If-None-Match", c.ifNoneMatch_)
 34022  	}
 34023  	var body io.Reader = nil
 34024  	c.urlParams_.Set("alt", alt)
 34025  	c.urlParams_.Set("prettyPrint", "false")
 34026  	urls := googleapi.ResolveRelative(c.s.BasePath, "v3/{+name}/operations")
 34027  	urls += "?" + c.urlParams_.Encode()
 34028  	req, err := http.NewRequest("GET", urls, body)
 34029  	if err != nil {
 34030  		return nil, err
 34031  	}
 34032  	req.Header = reqHeaders
 34033  	googleapi.Expand(req.URL, map[string]string{
 34034  		"name": c.name,
 34035  	})
 34036  	return gensupport.SendRequest(c.ctx_, c.s.client, req)
 34037  }
 34038  
 34039  // Do executes the "dialogflow.projects.operations.list" call.
 34040  // Any non-2xx status code is an error. Response headers are in either
 34041  // *GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if a
 34042  // response was returned at all) in error.(*googleapi.Error).Header. Use
 34043  // googleapi.IsNotModified to check whether the returned error was because
 34044  // http.StatusNotModified was returned.
 34045  func (c *ProjectsOperationsListCall) Do(opts ...googleapi.CallOption) (*GoogleLongrunningListOperationsResponse, error) {
 34046  	gensupport.SetOptions(c.urlParams_, opts...)
 34047  	res, err := c.doRequest("json")
 34048  	if res != nil && res.StatusCode == http.StatusNotModified {
 34049  		if res.Body != nil {
 34050  			res.Body.Close()
 34051  		}
 34052  		return nil, gensupport.WrapError(&googleapi.Error{
 34053  			Code:   res.StatusCode,
 34054  			Header: res.Header,
 34055  		})
 34056  	}
 34057  	if err != nil {
 34058  		return nil, err
 34059  	}
 34060  	defer googleapi.CloseBody(res)
 34061  	if err := googleapi.CheckResponse(res); err != nil {
 34062  		return nil, gensupport.WrapError(err)
 34063  	}
 34064  	ret := &GoogleLongrunningListOperationsResponse{
 34065  		ServerResponse: googleapi.ServerResponse{
 34066  			Header:         res.Header,
 34067  			HTTPStatusCode: res.StatusCode,
 34068  		},
 34069  	}
 34070  	target := &ret
 34071  	if err := gensupport.DecodeResponse(target, res); err != nil {
 34072  		return nil, err
 34073  	}
 34074  	return ret, nil
 34075  }
 34076  
 34077  // Pages invokes f for each page of results.
 34078  // A non-nil error returned from f will halt the iteration.
 34079  // The provided context supersedes any context provided to the Context method.
 34080  func (c *ProjectsOperationsListCall) Pages(ctx context.Context, f func(*GoogleLongrunningListOperationsResponse) error) error {
 34081  	c.ctx_ = ctx
 34082  	defer c.PageToken(c.urlParams_.Get("pageToken"))
 34083  	for {
 34084  		x, err := c.Do()
 34085  		if err != nil {
 34086  			return err
 34087  		}
 34088  		if err := f(x); err != nil {
 34089  			return err
 34090  		}
 34091  		if x.NextPageToken == "" {
 34092  			return nil
 34093  		}
 34094  		c.PageToken(x.NextPageToken)
 34095  	}
 34096  }
 34097  

View as plain text