Documentation

Overview

Package dialogflow provides access to the Dialogflow API.

This package is DEPRECATED. Use package cloud.google.com/go/dialogflow/apiv2 instead.

For product documentation, see: https://cloud.google.com/dialogflow/

Creating a client

Usage example:

import "google.golang.org/api/dialogflow/v3"
...
ctx := context.Background()
dialogflowService, err := dialogflow.NewService(ctx)

In this example, Google Application Default Credentials are used for authentication.

For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:

dialogflowService, err := dialogflow.NewService(ctx, option.WithScopes(dialogflow.DialogflowScope))

To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:

dialogflowService, err := dialogflow.NewService(ctx, option.WithAPIKey("AIza..."))

To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:

config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
dialogflowService, err := dialogflow.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

See https://godoc.org/google.golang.org/api/option/ for details on options.

Index

Constants

View Source
const (
	// View and manage your data across Google Cloud Platform services
	CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"

	// View, manage and query your Dialogflow agents
	DialogflowScope = "https://www.googleapis.com/auth/dialogflow"
)

    OAuth2 scopes used by this API.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type GoogleCloudDialogflowCxV3Agent

    type GoogleCloudDialogflowCxV3Agent struct {
    	// AvatarUri: The URI of the agent's avatar. Avatars are used throughout
    	// the Dialogflow console and in the self-hosted [Web
    	// Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo)
    	// integration.
    	AvatarUri string `json:"avatarUri,omitempty"`
    
    	// DefaultLanguageCode: Immutable. The default language of the agent as
    	// a language tag. See [Language
    	// Support](https://cloud.google.com/dialogflow/docs/reference/language)
    	// for a list of the currently supported language codes. This field
    	// cannot be set by the Agents.UpdateAgent method.
    	DefaultLanguageCode string `json:"defaultLanguageCode,omitempty"`
    
    	// Description: The description of the agent. The maximum length is 500
    	// characters. If exceeded, the request is rejected.
    	Description string `json:"description,omitempty"`
    
    	// DisplayName: Required. The human-readable name of the agent, unique
    	// within the location.
    	DisplayName string `json:"displayName,omitempty"`
    
    	// EnableSpellCorrection: Indicates if automatic spell correction is
    	// enabled in detect intent requests.
    	EnableSpellCorrection bool `json:"enableSpellCorrection,omitempty"`
    
    	// EnableStackdriverLogging: Indicates if stackdriver logging is enabled
    	// for the agent.
    	EnableStackdriverLogging bool `json:"enableStackdriverLogging,omitempty"`
    
    	// Name: The unique identifier of the agent. Required for the
    	// Agents.UpdateAgent method. Agents.CreateAgent populates the name
    	// automatically. Format: `projects//locations//agents/`.
    	Name string `json:"name,omitempty"`
    
    	// SpeechToTextSettings: Speech recognition related settings.
    	SpeechToTextSettings *GoogleCloudDialogflowCxV3SpeechToTextSettings `json:"speechToTextSettings,omitempty"`
    
    	// StartFlow: Immutable. Name of the start flow in this agent. A start
    	// flow will be automatically created when the agent is created, and can
    	// only be deleted by deleting the agent. Format:
    	// `projects//locations//agents//flows/`.
    	StartFlow string `json:"startFlow,omitempty"`
    
    	// TimeZone: Required. The time zone of the agent from the [time zone
    	// database](https://www.iana.org/time-zones), e.g., America/New_York,
    	// Europe/Paris.
    	TimeZone string `json:"timeZone,omitempty"`
    
    	// ServerResponse contains the HTTP response code and headers from the
    	// server.
    	googleapi.ServerResponse `json:"-"`
    
    	// ForceSendFields is a list of field names (e.g. "AvatarUri") to
    	// unconditionally include in API requests. By default, fields with
    	// empty values are omitted from API requests. However, any non-pointer,
    	// non-interface field appearing in ForceSendFields will be sent to the
    	// server regardless of whether the field is empty or not. This may be
    	// used to include empty fields in Patch requests.
    	ForceSendFields []string `json:"-"`
    
    	// NullFields is a list of field names (e.g. "AvatarUri") to include in
    	// API requests with the JSON null value. By default, fields with empty
    	// values are omitted from API requests. However, any field with an
    	// empty value appearing in NullFields will be sent to the server as
    	// null. It is an error if a field in this list has a non-empty value.
    	// This may be used to include null fields in Patch requests.
    	NullFields []string `json:"-"`
    }

      GoogleCloudDialogflowCxV3Agent: Agents are best described as Natural Language Understanding (NLU) modules that transform user requests into actionable data. You can include agents in your app, product, or service to determine user intent and respond to the user in a natural way. After you create an agent, you can add Intents, Entity Types, Flows, Fulfillments, Webhooks, and so on to manage the conversation flows..

      func (*GoogleCloudDialogflowCxV3Agent) MarshalJSON

      func (s *GoogleCloudDialogflowCxV3Agent) MarshalJSON() ([]byte, error)

      type GoogleCloudDialogflowCxV3AudioInput

      type GoogleCloudDialogflowCxV3AudioInput struct {
      	// Audio: The natural language speech audio to be processed. A single
      	// request can contain up to 1 minute of speech audio data. The
      	// transcribed text cannot contain more than 256 bytes. For
      	// non-streaming audio detect intent, both `config` and `audio` must be
      	// provided. For streaming audio detect intent, `config` must be
      	// provided in the first request and `audio` must be provided in all
      	// following requests.
      	Audio string `json:"audio,omitempty"`
      
      	// Config: Required. Instructs the speech recognizer how to process the
      	// speech audio.
      	Config *GoogleCloudDialogflowCxV3InputAudioConfig `json:"config,omitempty"`
      
      	// ForceSendFields is a list of field names (e.g. "Audio") to
      	// unconditionally include in API requests. By default, fields with
      	// empty values are omitted from API requests. However, any non-pointer,
      	// non-interface field appearing in ForceSendFields will be sent to the
      	// server regardless of whether the field is empty or not. This may be
      	// used to include empty fields in Patch requests.
      	ForceSendFields []string `json:"-"`
      
      	// NullFields is a list of field names (e.g. "Audio") to include in API
      	// requests with the JSON null value. By default, fields with empty
      	// values are omitted from API requests. However, any field with an
      	// empty value appearing in NullFields will be sent to the server as
      	// null. It is an error if a field in this list has a non-empty value.
      	// This may be used to include null fields in Patch requests.
      	NullFields []string `json:"-"`
      }

        GoogleCloudDialogflowCxV3AudioInput: Represents the natural speech audio to be processed.

        func (*GoogleCloudDialogflowCxV3AudioInput) MarshalJSON

        func (s *GoogleCloudDialogflowCxV3AudioInput) MarshalJSON() ([]byte, error)

        type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata

        type GoogleCloudDialogflowCxV3CreateVersionOperationMetadata struct {
        	// Version: Name of the created version. Format:
        	// `projects//locations//agents//flows//versions/`.
        	Version string `json:"version,omitempty"`
        
        	// ForceSendFields is a list of field names (e.g. "Version") to
        	// unconditionally include in API requests. By default, fields with
        	// empty values are omitted from API requests. However, any non-pointer,
        	// non-interface field appearing in ForceSendFields will be sent to the
        	// server regardless of whether the field is empty or not. This may be
        	// used to include empty fields in Patch requests.
        	ForceSendFields []string `json:"-"`
        
        	// NullFields is a list of field names (e.g. "Version") to include in
        	// API requests with the JSON null value. By default, fields with empty
        	// values are omitted from API requests. However, any field with an
        	// empty value appearing in NullFields will be sent to the server as
        	// null. It is an error if a field in this list has a non-empty value.
        	// This may be used to include null fields in Patch requests.
        	NullFields []string `json:"-"`
        }

          GoogleCloudDialogflowCxV3CreateVersionOperationMetadata: Metadata associated with the long running operation for Versions.CreateVersion.

          func (*GoogleCloudDialogflowCxV3CreateVersionOperationMetadata) MarshalJSON

          type GoogleCloudDialogflowCxV3DetectIntentRequest

          type GoogleCloudDialogflowCxV3DetectIntentRequest struct {
          	// OutputAudioConfig: Instructs the speech synthesizer how to generate
          	// the output audio.
          	OutputAudioConfig *GoogleCloudDialogflowCxV3OutputAudioConfig `json:"outputAudioConfig,omitempty"`
          
          	// QueryInput: Required. The input specification.
          	QueryInput *GoogleCloudDialogflowCxV3QueryInput `json:"queryInput,omitempty"`
          
          	// QueryParams: The parameters of this query.
          	QueryParams *GoogleCloudDialogflowCxV3QueryParameters `json:"queryParams,omitempty"`
          
          	// ForceSendFields is a list of field names (e.g. "OutputAudioConfig")
          	// to unconditionally include in API requests. By default, fields with
          	// empty values are omitted from API requests. However, any non-pointer,
          	// non-interface field appearing in ForceSendFields will be sent to the
          	// server regardless of whether the field is empty or not. This may be
          	// used to include empty fields in Patch requests.
          	ForceSendFields []string `json:"-"`
          
          	// NullFields is a list of field names (e.g. "OutputAudioConfig") to
          	// include in API requests with the JSON null value. By default, fields
          	// with empty values are omitted from API requests. However, any field
          	// with an empty value appearing in NullFields will be sent to the
          	// server as null. It is an error if a field in this list has a
          	// non-empty value. This may be used to include null fields in Patch
          	// requests.
          	NullFields []string `json:"-"`
          }

            GoogleCloudDialogflowCxV3DetectIntentRequest: The request to detect user's intent.

            func (*GoogleCloudDialogflowCxV3DetectIntentRequest) MarshalJSON

            type GoogleCloudDialogflowCxV3DetectIntentResponse

            type GoogleCloudDialogflowCxV3DetectIntentResponse struct {
            	// OutputAudio: The audio data bytes encoded as specified in the
            	// request. Note: The output audio is generated based on the values of
            	// default platform text responses found in the
            	// `query_result.response_messages` field. If multiple default text
            	// responses exist, they will be concatenated when generating audio. If
            	// no default platform text responses exist, the generated audio content
            	// will be empty. In some scenarios, multiple output audio fields may be
            	// present in the response structure. In these cases, only the
            	// top-most-level audio output has content.
            	OutputAudio string `json:"outputAudio,omitempty"`
            
            	// OutputAudioConfig: The config used by the speech synthesizer to
            	// generate the output audio.
            	OutputAudioConfig *GoogleCloudDialogflowCxV3OutputAudioConfig `json:"outputAudioConfig,omitempty"`
            
            	// QueryResult: The result of the conversational query.
            	QueryResult *GoogleCloudDialogflowCxV3QueryResult `json:"queryResult,omitempty"`
            
            	// ResponseId: Output only. The unique identifier of the response. It
            	// can be used to locate a response in the training example set or for
            	// reporting issues.
            	ResponseId string `json:"responseId,omitempty"`
            
            	// ServerResponse contains the HTTP response code and headers from the
            	// server.
            	googleapi.ServerResponse `json:"-"`
            
            	// ForceSendFields is a list of field names (e.g. "OutputAudio") to
            	// unconditionally include in API requests. By default, fields with
            	// empty values are omitted from API requests. However, any non-pointer,
            	// non-interface field appearing in ForceSendFields will be sent to the
            	// server regardless of whether the field is empty or not. This may be
            	// used to include empty fields in Patch requests.
            	ForceSendFields []string `json:"-"`
            
            	// NullFields is a list of field names (e.g. "OutputAudio") to include
            	// in API requests with the JSON null value. By default, fields with
            	// empty values are omitted from API requests. However, any field with
            	// an empty value appearing in NullFields will be sent to the server as
            	// null. It is an error if a field in this list has a non-empty value.
            	// This may be used to include null fields in Patch requests.
            	NullFields []string `json:"-"`
            }

              GoogleCloudDialogflowCxV3DetectIntentResponse: The message returned from the DetectIntent method.

              func (*GoogleCloudDialogflowCxV3DetectIntentResponse) MarshalJSON

              type GoogleCloudDialogflowCxV3DtmfInput

              type GoogleCloudDialogflowCxV3DtmfInput struct {
              	// Digits: The dtmf digits.
              	Digits string `json:"digits,omitempty"`
              
              	// FinishDigit: The finish digit (if any).
              	FinishDigit string `json:"finishDigit,omitempty"`
              
              	// ForceSendFields is a list of field names (e.g. "Digits") to
              	// unconditionally include in API requests. By default, fields with
              	// empty values are omitted from API requests. However, any non-pointer,
              	// non-interface field appearing in ForceSendFields will be sent to the
              	// server regardless of whether the field is empty or not. This may be
              	// used to include empty fields in Patch requests.
              	ForceSendFields []string `json:"-"`
              
              	// NullFields is a list of field names (e.g. "Digits") to include in API
              	// requests with the JSON null value. By default, fields with empty
              	// values are omitted from API requests. However, any field with an
              	// empty value appearing in NullFields will be sent to the server as
              	// null. It is an error if a field in this list has a non-empty value.
              	// This may be used to include null fields in Patch requests.
              	NullFields []string `json:"-"`
              }

                GoogleCloudDialogflowCxV3DtmfInput: Represents the input for dtmf event.

                func (*GoogleCloudDialogflowCxV3DtmfInput) MarshalJSON

                func (s *GoogleCloudDialogflowCxV3DtmfInput) MarshalJSON() ([]byte, error)

                type GoogleCloudDialogflowCxV3EntityType

                type GoogleCloudDialogflowCxV3EntityType struct {
                	// AutoExpansionMode: Indicates whether the entity type can be
                	// automatically expanded.
                	//
                	// Possible values:
                	//   "AUTO_EXPANSION_MODE_UNSPECIFIED" - Auto expansion disabled for the
                	// entity.
                	//   "AUTO_EXPANSION_MODE_DEFAULT" - Allows an agent to recognize values
                	// that have not been explicitly listed in the entity.
                	AutoExpansionMode string `json:"autoExpansionMode,omitempty"`
                
                	// DisplayName: Required. The human-readable name of the entity type,
                	// unique within the agent.
                	DisplayName string `json:"displayName,omitempty"`
                
                	// EnableFuzzyExtraction: Enables fuzzy entity extraction during
                	// classification.
                	EnableFuzzyExtraction bool `json:"enableFuzzyExtraction,omitempty"`
                
                	// Entities: The collection of entity entries associated with the entity
                	// type.
                	Entities []*GoogleCloudDialogflowCxV3EntityTypeEntity `json:"entities,omitempty"`
                
                	// ExcludedPhrases: Collection of exceptional words and phrases that
                	// shouldn't be matched. For example, if you have a size entity type
                	// with entry `giant`(an adjective), you might consider adding
                	// `giants`(a noun) as an exclusion. If the kind of entity type is
                	// `KIND_MAP`, then the phrases specified by entities and excluded
                	// phrases should be mutually exclusive.
                	ExcludedPhrases []*GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase `json:"excludedPhrases,omitempty"`
                
                	// Kind: Required. Indicates the kind of entity type.
                	//
                	// Possible values:
                	//   "KIND_UNSPECIFIED" - Not specified. This value should be never
                	// used.
                	//   "KIND_MAP" - Map entity types allow mapping of a group of synonyms
                	// to a canonical value.
                	//   "KIND_LIST" - List entity types contain a set of entries that do
                	// not map to canonical values. However, list entity types can contain
                	// references to other entity types (with or without aliases).
                	//   "KIND_REGEXP" - Regexp entity types allow to specify regular
                	// expressions in entries values.
                	Kind string `json:"kind,omitempty"`
                
                	// Name: The unique identifier of the entity type. Required for
                	// EntityTypes.UpdateEntityType. Format:
                	// `projects//locations//agents//entityTypes/`.
                	Name string `json:"name,omitempty"`
                
                	// ServerResponse contains the HTTP response code and headers from the
                	// server.
                	googleapi.ServerResponse `json:"-"`
                
                	// ForceSendFields is a list of field names (e.g. "AutoExpansionMode")
                	// to unconditionally include in API requests. By default, fields with
                	// empty values are omitted from API requests. However, any non-pointer,
                	// non-interface field appearing in ForceSendFields will be sent to the
                	// server regardless of whether the field is empty or not. This may be
                	// used to include empty fields in Patch requests.
                	ForceSendFields []string `json:"-"`
                
                	// NullFields is a list of field names (e.g. "AutoExpansionMode") to
                	// include in API requests with the JSON null value. By default, fields
                	// with empty values are omitted from API requests. However, any field
                	// with an empty value appearing in NullFields will be sent to the
                	// server as null. It is an error if a field in this list has a
                	// non-empty value. This may be used to include null fields in Patch
                	// requests.
                	NullFields []string `json:"-"`
                }

                  GoogleCloudDialogflowCxV3EntityType: Entities are extracted from user input and represent parameters that are meaningful to your application. For example, a date range, a proper name such as a geographic location or landmark, and so on. Entities represent actionable data for your application. When you define an entity, you can also include synonyms that all map to that entity. For example, "soft drink", "soda", "pop", and so on. There are three types of entities: * **System** - entities that are defined by the Dialogflow API for common data types such as date, time, currency, and so on. A system entity is represented by the `EntityType` type. * **Custom** - entities that are defined by you that represent actionable data that is meaningful to your application. For example, you could define a `pizza.sauce` entity for red or white pizza sauce, a `pizza.cheese` entity for the different types of cheese on a pizza, a `pizza.topping` entity for different toppings, and so on. A custom entity is represented by the `EntityType` type. * **User** - entities that are built for an individual user such as favorites, preferences, playlists, and so on. A user entity is represented by the SessionEntityType type. For more information about entity types, see the [Dialogflow documentation](https://cloud.google.com/dialogflow/docs/entities-overv iew).

                  func (*GoogleCloudDialogflowCxV3EntityType) MarshalJSON

                  func (s *GoogleCloudDialogflowCxV3EntityType) MarshalJSON() ([]byte, error)

                  type GoogleCloudDialogflowCxV3EntityTypeEntity

                  type GoogleCloudDialogflowCxV3EntityTypeEntity struct {
                  	// Synonyms: Required. A collection of value synonyms. For example, if
                  	// the entity type is *vegetable*, and `value` is *scallions*, a synonym
                  	// could be *green onions*. For `KIND_LIST` entity types: * This
                  	// collection must contain exactly one synonym equal to `value`.
                  	Synonyms []string `json:"synonyms,omitempty"`
                  
                  	// Value: Required. The primary value associated with this entity entry.
                  	// For example, if the entity type is *vegetable*, the value could be
                  	// *scallions*. For `KIND_MAP` entity types: * A canonical value to be
                  	// used in place of synonyms. For `KIND_LIST` entity types: * A string
                  	// that can contain references to other entity types (with or without
                  	// aliases).
                  	Value string `json:"value,omitempty"`
                  
                  	// ForceSendFields is a list of field names (e.g. "Synonyms") to
                  	// unconditionally include in API requests. By default, fields with
                  	// empty values are omitted from API requests. However, any non-pointer,
                  	// non-interface field appearing in ForceSendFields will be sent to the
                  	// server regardless of whether the field is empty or not. This may be
                  	// used to include empty fields in Patch requests.
                  	ForceSendFields []string `json:"-"`
                  
                  	// NullFields is a list of field names (e.g. "Synonyms") to include in
                  	// API requests with the JSON null value. By default, fields with empty
                  	// values are omitted from API requests. However, any field with an
                  	// empty value appearing in NullFields will be sent to the server as
                  	// null. It is an error if a field in this list has a non-empty value.
                  	// This may be used to include null fields in Patch requests.
                  	NullFields []string `json:"-"`
                  }

                    GoogleCloudDialogflowCxV3EntityTypeEntity: An **entity entry** for an associated entity type. Next Id = 8

                    func (*GoogleCloudDialogflowCxV3EntityTypeEntity) MarshalJSON

                    type GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase

                    type GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase struct {
                    	// Value: Required. The word or phrase to be excluded.
                    	Value string `json:"value,omitempty"`
                    
                    	// ForceSendFields is a list of field names (e.g. "Value") to
                    	// unconditionally include in API requests. By default, fields with
                    	// empty values are omitted from API requests. However, any non-pointer,
                    	// non-interface field appearing in ForceSendFields will be sent to the
                    	// server regardless of whether the field is empty or not. This may be
                    	// used to include empty fields in Patch requests.
                    	ForceSendFields []string `json:"-"`
                    
                    	// NullFields is a list of field names (e.g. "Value") to include in API
                    	// requests with the JSON null value. By default, fields with empty
                    	// values are omitted from API requests. However, any field with an
                    	// empty value appearing in NullFields will be sent to the server as
                    	// null. It is an error if a field in this list has a non-empty value.
                    	// This may be used to include null fields in Patch requests.
                    	NullFields []string `json:"-"`
                    }

                      GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase: An excluded entity phrase that should not be matched.

                      func (*GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase) MarshalJSON

                      type GoogleCloudDialogflowCxV3Environment

                      type GoogleCloudDialogflowCxV3Environment struct {
                      	// Description: The human-readable description of the environment. The
                      	// maximum length is 500 characters. If exceeded, the request is
                      	// rejected.
                      	Description string `json:"description,omitempty"`
                      
                      	// DisplayName: Required. The human-readable name of the environment
                      	// (unique in an agent). Limit of 64 characters.
                      	DisplayName string `json:"displayName,omitempty"`
                      
                      	// Name: The name of the environment. Format:
                      	// `projects//locations//agents//environments/`.
                      	Name string `json:"name,omitempty"`
                      
                      	// UpdateTime: Output only. Update time of this environment.
                      	UpdateTime string `json:"updateTime,omitempty"`
                      
                      	// VersionConfigs: Required. A list of configurations for flow versions.
                      	// You should include version configs for all flows that are reachable
                      	// from `Start Flow` in the agent. Otherwise, an error will be returned.
                      	VersionConfigs []*GoogleCloudDialogflowCxV3EnvironmentVersionConfig `json:"versionConfigs,omitempty"`
                      
                      	// ServerResponse contains the HTTP response code and headers from the
                      	// server.
                      	googleapi.ServerResponse `json:"-"`
                      
                      	// ForceSendFields is a list of field names (e.g. "Description") to
                      	// unconditionally include in API requests. By default, fields with
                      	// empty values are omitted from API requests. However, any non-pointer,
                      	// non-interface field appearing in ForceSendFields will be sent to the
                      	// server regardless of whether the field is empty or not. This may be
                      	// used to include empty fields in Patch requests.
                      	ForceSendFields []string `json:"-"`
                      
                      	// NullFields is a list of field names (e.g. "Description") to include
                      	// in API requests with the JSON null value. By default, fields with
                      	// empty values are omitted from API requests. However, any field with
                      	// an empty value appearing in NullFields will be sent to the server as
                      	// null. It is an error if a field in this list has a non-empty value.
                      	// This may be used to include null fields in Patch requests.
                      	NullFields []string `json:"-"`
                      }

                        GoogleCloudDialogflowCxV3Environment: Represents an environment for an agent. You can create multiple versions of your agent and publish them to separate environments. When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent. When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for testing, development, production, etc.

                        func (*GoogleCloudDialogflowCxV3Environment) MarshalJSON

                        func (s *GoogleCloudDialogflowCxV3Environment) MarshalJSON() ([]byte, error)

                        type GoogleCloudDialogflowCxV3EnvironmentVersionConfig

                        type GoogleCloudDialogflowCxV3EnvironmentVersionConfig struct {
                        	// Version: Required. Format:
                        	// projects//locations//agents//flows//versions/.
                        	Version string `json:"version,omitempty"`
                        
                        	// ForceSendFields is a list of field names (e.g. "Version") to
                        	// unconditionally include in API requests. By default, fields with
                        	// empty values are omitted from API requests. However, any non-pointer,
                        	// non-interface field appearing in ForceSendFields will be sent to the
                        	// server regardless of whether the field is empty or not. This may be
                        	// used to include empty fields in Patch requests.
                        	ForceSendFields []string `json:"-"`
                        
                        	// NullFields is a list of field names (e.g. "Version") to include in
                        	// API requests with the JSON null value. By default, fields with empty
                        	// values are omitted from API requests. However, any field with an
                        	// empty value appearing in NullFields will be sent to the server as
                        	// null. It is an error if a field in this list has a non-empty value.
                        	// This may be used to include null fields in Patch requests.
                        	NullFields []string `json:"-"`
                        }

                          GoogleCloudDialogflowCxV3EnvironmentVersionConfig: Configuration for the version.

                          func (*GoogleCloudDialogflowCxV3EnvironmentVersionConfig) MarshalJSON

                          type GoogleCloudDialogflowCxV3EventHandler

                          type GoogleCloudDialogflowCxV3EventHandler struct {
                          	// Event: Required. The name of the event to handle.
                          	Event string `json:"event,omitempty"`
                          
                          	// Name: Output only. The unique identifier of this event handler.
                          	Name string `json:"name,omitempty"`
                          
                          	// TargetFlow: The target flow to transition to. Format:
                          	// `projects//locations//agents//flows/`.
                          	TargetFlow string `json:"targetFlow,omitempty"`
                          
                          	// TargetPage: The target page to transition to. Format:
                          	// `projects//locations//agents//flows//pages/`.
                          	TargetPage string `json:"targetPage,omitempty"`
                          
                          	// TriggerFulfillment: The fulfillment to call when the event occurs.
                          	// Handling webhook errors with a fulfillment enabled with webhook could
                          	// cause infinite loop. It is invalid to specify such fulfillment for a
                          	// handler handling webhooks.
                          	TriggerFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"triggerFulfillment,omitempty"`
                          
                          	// ForceSendFields is a list of field names (e.g. "Event") to
                          	// unconditionally include in API requests. By default, fields with
                          	// empty values are omitted from API requests. However, any non-pointer,
                          	// non-interface field appearing in ForceSendFields will be sent to the
                          	// server regardless of whether the field is empty or not. This may be
                          	// used to include empty fields in Patch requests.
                          	ForceSendFields []string `json:"-"`
                          
                          	// NullFields is a list of field names (e.g. "Event") to include in API
                          	// requests with the JSON null value. By default, fields with empty
                          	// values are omitted from API requests. However, any field with an
                          	// empty value appearing in NullFields will be sent to the server as
                          	// null. It is an error if a field in this list has a non-empty value.
                          	// This may be used to include null fields in Patch requests.
                          	NullFields []string `json:"-"`
                          }

                            GoogleCloudDialogflowCxV3EventHandler: An event handler specifies an event that can be handled during a session. When the specified event happens, the following actions are taken in order: * If there is a `trigger_fulfillment` associated with the event, it will be called. * If there is a `target_page` associated with the event, the session will transition into the specified page. * If there is a `target_flow` associated with the event, the session will transition into the specified flow.

                            func (*GoogleCloudDialogflowCxV3EventHandler) MarshalJSON

                            func (s *GoogleCloudDialogflowCxV3EventHandler) MarshalJSON() ([]byte, error)

                            type GoogleCloudDialogflowCxV3EventInput

                            type GoogleCloudDialogflowCxV3EventInput struct {
                            	// Event: Name of the event.
                            	Event string `json:"event,omitempty"`
                            
                            	// ForceSendFields is a list of field names (e.g. "Event") to
                            	// unconditionally include in API requests. By default, fields with
                            	// empty values are omitted from API requests. However, any non-pointer,
                            	// non-interface field appearing in ForceSendFields will be sent to the
                            	// server regardless of whether the field is empty or not. This may be
                            	// used to include empty fields in Patch requests.
                            	ForceSendFields []string `json:"-"`
                            
                            	// NullFields is a list of field names (e.g. "Event") to include in API
                            	// requests with the JSON null value. By default, fields with empty
                            	// values are omitted from API requests. However, any field with an
                            	// empty value appearing in NullFields will be sent to the server as
                            	// null. It is an error if a field in this list has a non-empty value.
                            	// This may be used to include null fields in Patch requests.
                            	NullFields []string `json:"-"`
                            }

                              GoogleCloudDialogflowCxV3EventInput: Represents the event to trigger.

                              func (*GoogleCloudDialogflowCxV3EventInput) MarshalJSON

                              func (s *GoogleCloudDialogflowCxV3EventInput) MarshalJSON() ([]byte, error)

                              type GoogleCloudDialogflowCxV3ExportAgentRequest

                              type GoogleCloudDialogflowCxV3ExportAgentRequest struct {
                              	// AgentUri: Optional. The [Google Cloud
                              	// Storage](https://cloud.google.com/storage/docs/) URI to export the
                              	// agent to. The format of this URI must be `gs:///`. If left
                              	// unspecified, the serialized agent is returned inline.
                              	AgentUri string `json:"agentUri,omitempty"`
                              
                              	// ForceSendFields is a list of field names (e.g. "AgentUri") to
                              	// unconditionally include in API requests. By default, fields with
                              	// empty values are omitted from API requests. However, any non-pointer,
                              	// non-interface field appearing in ForceSendFields will be sent to the
                              	// server regardless of whether the field is empty or not. This may be
                              	// used to include empty fields in Patch requests.
                              	ForceSendFields []string `json:"-"`
                              
                              	// NullFields is a list of field names (e.g. "AgentUri") to include in
                              	// API requests with the JSON null value. By default, fields with empty
                              	// values are omitted from API requests. However, any field with an
                              	// empty value appearing in NullFields will be sent to the server as
                              	// null. It is an error if a field in this list has a non-empty value.
                              	// This may be used to include null fields in Patch requests.
                              	NullFields []string `json:"-"`
                              }

                                GoogleCloudDialogflowCxV3ExportAgentRequest: The request message for Agents.ExportAgent.

                                func (*GoogleCloudDialogflowCxV3ExportAgentRequest) MarshalJSON

                                type GoogleCloudDialogflowCxV3ExportAgentResponse

                                type GoogleCloudDialogflowCxV3ExportAgentResponse struct {
                                	// AgentContent: Uncompressed raw byte content for agent.
                                	AgentContent string `json:"agentContent,omitempty"`
                                
                                	// AgentUri: The URI to a file containing the exported agent. This field
                                	// is populated only if `agent_uri` is specified in ExportAgentRequest.
                                	AgentUri string `json:"agentUri,omitempty"`
                                
                                	// ForceSendFields is a list of field names (e.g. "AgentContent") to
                                	// unconditionally include in API requests. By default, fields with
                                	// empty values are omitted from API requests. However, any non-pointer,
                                	// non-interface field appearing in ForceSendFields will be sent to the
                                	// server regardless of whether the field is empty or not. This may be
                                	// used to include empty fields in Patch requests.
                                	ForceSendFields []string `json:"-"`
                                
                                	// NullFields is a list of field names (e.g. "AgentContent") to include
                                	// in API requests with the JSON null value. By default, fields with
                                	// empty values are omitted from API requests. However, any field with
                                	// an empty value appearing in NullFields will be sent to the server as
                                	// null. It is an error if a field in this list has a non-empty value.
                                	// This may be used to include null fields in Patch requests.
                                	NullFields []string `json:"-"`
                                }

                                  GoogleCloudDialogflowCxV3ExportAgentResponse: The response message for Agents.ExportAgent.

                                  func (*GoogleCloudDialogflowCxV3ExportAgentResponse) MarshalJSON

                                  type GoogleCloudDialogflowCxV3Flow

                                  type GoogleCloudDialogflowCxV3Flow struct {
                                  	// Description: The description of the flow. The maximum length is 500
                                  	// characters. If exceeded, the request is rejected.
                                  	Description string `json:"description,omitempty"`
                                  
                                  	// DisplayName: Required. The human-readable name of the flow.
                                  	DisplayName string `json:"displayName,omitempty"`
                                  
                                  	// EventHandlers: A flow's event handlers serve two purposes: * They are
                                  	// responsible for handling events (e.g. no match, webhook errors) in
                                  	// the flow. * They are inherited by every page's event handlers, which
                                  	// can be used to handle common events regardless of the current page.
                                  	// Event handlers defined in the page have higher priority than those
                                  	// defined in the flow. Unlike transition_routes, these handlers are
                                  	// evaluated on a first-match basis. The first one that matches the
                                  	// event get executed, with the rest being ignored.
                                  	EventHandlers []*GoogleCloudDialogflowCxV3EventHandler `json:"eventHandlers,omitempty"`
                                  
                                  	// Name: The unique identifier of the flow. Format:
                                  	// `projects//locations//agents//flows/`.
                                  	Name string `json:"name,omitempty"`
                                  
                                  	// NluSettings: NLU related settings of the flow.
                                  	NluSettings *GoogleCloudDialogflowCxV3NluSettings `json:"nluSettings,omitempty"`
                                  
                                  	// TransitionRoutes: A flow's transition routes serve two purposes: *
                                  	// They are responsible for matching the user's first utterances in the
                                  	// flow. * They are inherited by every page's transition routes and can
                                  	// support use cases such as the user saying "help" or "can I talk to a
                                  	// human?", which can be handled in a common way regardless of the
                                  	// current page. Transition routes defined in the page have higher
                                  	// priority than those defined in the flow. TransitionRoutes are
                                  	// evalauted in the following order: * TransitionRoutes with intent
                                  	// specified.. * TransitionRoutes with only condition specified.
                                  	// TransitionRoutes with intent specified are inherited by pages in the
                                  	// flow.
                                  	TransitionRoutes []*GoogleCloudDialogflowCxV3TransitionRoute `json:"transitionRoutes,omitempty"`
                                  
                                  	// ServerResponse contains the HTTP response code and headers from the
                                  	// server.
                                  	googleapi.ServerResponse `json:"-"`
                                  
                                  	// ForceSendFields is a list of field names (e.g. "Description") to
                                  	// unconditionally include in API requests. By default, fields with
                                  	// empty values are omitted from API requests. However, any non-pointer,
                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                  	// server regardless of whether the field is empty or not. This may be
                                  	// used to include empty fields in Patch requests.
                                  	ForceSendFields []string `json:"-"`
                                  
                                  	// NullFields is a list of field names (e.g. "Description") to include
                                  	// in API requests with the JSON null value. By default, fields with
                                  	// empty values are omitted from API requests. However, any field with
                                  	// an empty value appearing in NullFields will be sent to the server as
                                  	// null. It is an error if a field in this list has a non-empty value.
                                  	// This may be used to include null fields in Patch requests.
                                  	NullFields []string `json:"-"`
                                  }

                                    GoogleCloudDialogflowCxV3Flow: Flows represents the conversation flows when you build your chatbot agent. A flow consists of many pages connected by the transition routes. Conversations always start with the built-in Start Flow (with an all-0 ID). Transition routes can direct the conversation session from the current flow (parent flow) to another flow (sub flow). When the sub flow is finished, Dialogflow will bring the session back to the parent flow, where the sub flow is started. Usually, when a transition route is followed by a matched intent, the intent will be "consumed". This means the intent won't activate more transition routes. However, when the followed transition route moves the conversation session into a different flow, the matched intent can be carried over and to be consumed in the target flow.

                                    func (*GoogleCloudDialogflowCxV3Flow) MarshalJSON

                                    func (s *GoogleCloudDialogflowCxV3Flow) MarshalJSON() ([]byte, error)

                                    type GoogleCloudDialogflowCxV3Form

                                    type GoogleCloudDialogflowCxV3Form struct {
                                    	// Parameters: Parameters to collect from the user.
                                    	Parameters []*GoogleCloudDialogflowCxV3FormParameter `json:"parameters,omitempty"`
                                    
                                    	// ForceSendFields is a list of field names (e.g. "Parameters") to
                                    	// unconditionally include in API requests. By default, fields with
                                    	// empty values are omitted from API requests. However, any non-pointer,
                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                    	// server regardless of whether the field is empty or not. This may be
                                    	// used to include empty fields in Patch requests.
                                    	ForceSendFields []string `json:"-"`
                                    
                                    	// NullFields is a list of field names (e.g. "Parameters") to include in
                                    	// API requests with the JSON null value. By default, fields with empty
                                    	// values are omitted from API requests. However, any field with an
                                    	// empty value appearing in NullFields will be sent to the server as
                                    	// null. It is an error if a field in this list has a non-empty value.
                                    	// This may be used to include null fields in Patch requests.
                                    	NullFields []string `json:"-"`
                                    }

                                      GoogleCloudDialogflowCxV3Form: A form is a data model that groups related parameters that can be collected from the user. The process in which the agent prompts the user and collects parameter values from the user is called form filling. A form can be added to a page. When form filling is done, the filled parameters will be written to the session.

                                      func (*GoogleCloudDialogflowCxV3Form) MarshalJSON

                                      func (s *GoogleCloudDialogflowCxV3Form) MarshalJSON() ([]byte, error)

                                      type GoogleCloudDialogflowCxV3FormParameter

                                      type GoogleCloudDialogflowCxV3FormParameter struct {
                                      	// DefaultValue: The default value of an optional parameter. If the
                                      	// parameter is required, the default value will be ignored.
                                      	DefaultValue interface{} `json:"defaultValue,omitempty"`
                                      
                                      	// DisplayName: Required. The human-readable name of the parameter,
                                      	// unique within the form.
                                      	DisplayName string `json:"displayName,omitempty"`
                                      
                                      	// EntityType: Required. The entity type of the parameter. Format:
                                      	// `projects/-/locations/-/agents/-/entityTypes/` for system entity
                                      	// types (for example,
                                      	// `projects/-/locations/-/agents/-/entityTypes/sys.date`), or
                                      	// `projects//locations//agents//entityTypes/` for developer entity
                                      	// types.
                                      	EntityType string `json:"entityType,omitempty"`
                                      
                                      	// FillBehavior: Required. Defines fill behavior for the parameter.
                                      	FillBehavior *GoogleCloudDialogflowCxV3FormParameterFillBehavior `json:"fillBehavior,omitempty"`
                                      
                                      	// IsList: Indicates whether the parameter represents a list of values.
                                      	IsList bool `json:"isList,omitempty"`
                                      
                                      	// Redact: Indicates whether the parameter content is logged in text and
                                      	// audio. If it is set to true, the parameter content will be replaced
                                      	// to parameter name in both request and response. The default value is
                                      	// false.
                                      	Redact bool `json:"redact,omitempty"`
                                      
                                      	// Required: Indicates whether the parameter is required. Optional
                                      	// parameters will not trigger prompts; however, they are filled if the
                                      	// user specifies them. Required parameters must be filled before form
                                      	// filling concludes.
                                      	Required bool `json:"required,omitempty"`
                                      
                                      	// ForceSendFields is a list of field names (e.g. "DefaultValue") to
                                      	// unconditionally include in API requests. By default, fields with
                                      	// empty values are omitted from API requests. However, any non-pointer,
                                      	// non-interface field appearing in ForceSendFields will be sent to the
                                      	// server regardless of whether the field is empty or not. This may be
                                      	// used to include empty fields in Patch requests.
                                      	ForceSendFields []string `json:"-"`
                                      
                                      	// NullFields is a list of field names (e.g. "DefaultValue") to include
                                      	// in API requests with the JSON null value. By default, fields with
                                      	// empty values are omitted from API requests. However, any field with
                                      	// an empty value appearing in NullFields will be sent to the server as
                                      	// null. It is an error if a field in this list has a non-empty value.
                                      	// This may be used to include null fields in Patch requests.
                                      	NullFields []string `json:"-"`
                                      }

                                        GoogleCloudDialogflowCxV3FormParameter: Represents a form parameter.

                                        func (*GoogleCloudDialogflowCxV3FormParameter) MarshalJSON

                                        func (s *GoogleCloudDialogflowCxV3FormParameter) MarshalJSON() ([]byte, error)

                                        type GoogleCloudDialogflowCxV3FormParameterFillBehavior

                                        type GoogleCloudDialogflowCxV3FormParameterFillBehavior struct {
                                        	// InitialPromptFulfillment: Required. The fulfillment to provide the
                                        	// initial prompt that the agent can present to the user in order to
                                        	// fill the parameter.
                                        	InitialPromptFulfillment *GoogleCloudDialogflowCxV3Fulfillment `json:"initialPromptFulfillment,omitempty"`
                                        
                                        	// RepromptEventHandlers: The handlers for parameter-level events, used
                                        	// to provide reprompt for the parameter or transition to a different
                                        	// page/flow. The supported events are: * `sys.no-match-`, where N can
                                        	// be from 1 to 6 * `sys.no-match-default` * `sys.no-input-`, where N
                                        	// can be from 1 to 6 * `sys.no-input-default` * `sys.invalid-parameter`
                                        	// `initial_prompt_fulfillment` provides the first prompt for the
                                        	// parameter. If the user's response does not fill the parameter, a
                                        	// no-match/no-input event will be triggered, and the fulfillment
                                        	// associated with the `sys.no-match-1`/`sys.no-input-1` handler (if
                                        	// defined) will be called to provide a prompt. The
                                        	// `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond
                                        	// to the next no-match/no-input event, and so on. A
                                        	// `sys.no-match-default` or `sys.no-input-default` handler will be used
                                        	// to handle all following no-match/no-input events after all numbered
                                        	// no-match/no-input handlers for the parameter are consumed. A
                                        	// `sys.invalid-parameter` handler can be defined to handle the case
                                        	// where the parameter values have been `invalidated` by webhook. For
                                        	// example, if the user's response fill the parameter, however the
                                        	// parameter was invalidated by webhook, the fulfillment associated with
                                        	// the `sys.invalid-parameter` handler (if defined) will be called to
                                        	// provide a prompt. If the event handler for the corresponding event
                                        	// can't be found on the parameter, `initial_prompt_fulfillment` will be
                                        	// re-prompted.
                                        	RepromptEventHandlers []*GoogleCloudDialogflowCxV3EventHandler `json:"repromptEventHandlers,omitempty"`
                                        
                                        	// ForceSendFields is a list of field names (e.g.
                                        	// "InitialPromptFulfillment") to unconditionally include in API
                                        	// requests. By default, fields with empty values are omitted from API
                                        	// requests. However, any non-pointer, non-interface field appearing in
                                        	// ForceSendFields will be sent to the server regardless of whether the
                                        	// field is empty or not. This may be used to include empty fields in
                                        	// Patch requests.
                                        	ForceSendFields []string `json:"-"`
                                        
                                        	// NullFields is a list of field names (e.g. "InitialPromptFulfillment")
                                        	// to include in API requests with the JSON null value. By default,
                                        	// fields with empty values are omitted from API requests. However, any
                                        	// field with an empty value appearing in NullFields will be sent to the
                                        	// server as null. It is an error if a field in this list has a
                                        	// non-empty value. This may be used to include null fields in Patch
                                        	// requests.
                                        	NullFields []string `json:"-"`
                                        }

                                          GoogleCloudDialogflowCxV3FormParameterFillBehavior: Configuration for how the filling of a parameter should be handled.

                                          func (*GoogleCloudDialogflowCxV3FormParameterFillBehavior) MarshalJSON

                                          type GoogleCloudDialogflowCxV3FulfillIntentRequest

                                          type GoogleCloudDialogflowCxV3FulfillIntentRequest struct {
                                          	// Match: The matched intent/event to fulfill.
                                          	Match *GoogleCloudDialogflowCxV3Match `json:"match,omitempty"`
                                          
                                          	// MatchIntentRequest: Must be same as the corresponding MatchIntent
                                          	// request, otherwise the behavior is undefined.
                                          	MatchIntentRequest *GoogleCloudDialogflowCxV3MatchIntentRequest `json:"matchIntentRequest,omitempty"`
                                          
                                          	// OutputAudioConfig: Instructs the speech synthesizer how to generate
                                          	// output audio.
                                          	OutputAudioConfig *GoogleCloudDialogflowCxV3OutputAudioConfig `json:"outputAudioConfig,omitempty"`
                                          
                                          	// ForceSendFields is a list of field names (e.g. "Match") to
                                          	// unconditionally include in API requests. By default, fields with
                                          	// empty values are omitted from API requests. However, any non-pointer,
                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                          	// server regardless of whether the field is empty or not. This may be
                                          	// used to include empty fields in Patch requests.
                                          	ForceSendFields []string `json:"-"`
                                          
                                          	// NullFields is a list of field names (e.g. "Match") to include in API
                                          	// requests with the JSON null value. By default, fields with empty
                                          	// values are omitted from API requests. However, any field with an
                                          	// empty value appearing in NullFields will be sent to the server as
                                          	// null. It is an error if a field in this list has a non-empty value.
                                          	// This may be used to include null fields in Patch requests.
                                          	NullFields []string `json:"-"`
                                          }

                                            GoogleCloudDialogflowCxV3FulfillIntentRequest: Request of FulfillIntent

                                            func (*GoogleCloudDialogflowCxV3FulfillIntentRequest) MarshalJSON

                                            type GoogleCloudDialogflowCxV3FulfillIntentResponse

                                            type GoogleCloudDialogflowCxV3FulfillIntentResponse struct {
                                            	// OutputAudio: The audio data bytes encoded as specified in the
                                            	// request. Note: The output audio is generated based on the values of
                                            	// default platform text responses found in the
                                            	// `query_result.response_messages` field. If multiple default text
                                            	// responses exist, they will be concatenated when generating audio. If
                                            	// no default platform text responses exist, the generated audio content
                                            	// will be empty. In some scenarios, multiple output audio fields may be
                                            	// present in the response structure. In these cases, only the
                                            	// top-most-level audio output has content.
                                            	OutputAudio string `json:"outputAudio,omitempty"`
                                            
                                            	// OutputAudioConfig: The config used by the speech synthesizer to
                                            	// generate the output audio.
                                            	OutputAudioConfig *GoogleCloudDialogflowCxV3OutputAudioConfig `json:"outputAudioConfig,omitempty"`
                                            
                                            	// QueryResult: The result of the conversational query.
                                            	QueryResult *GoogleCloudDialogflowCxV3QueryResult `json:"queryResult,omitempty"`
                                            
                                            	// ResponseId: Output only. The unique identifier of the response. It
                                            	// can be used to locate a response in the training example set or for
                                            	// reporting issues.
                                            	ResponseId string `json:"responseId,omitempty"`
                                            
                                            	// ServerResponse contains the HTTP response code and headers from the
                                            	// server.
                                            	googleapi.ServerResponse `json:"-"`
                                            
                                            	// ForceSendFields is a list of field names (e.g. "OutputAudio") to
                                            	// unconditionally include in API requests. By default, fields with
                                            	// empty values are omitted from API requests. However, any non-pointer,
                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                            	// server regardless of whether the field is empty or not. This may be
                                            	// used to include empty fields in Patch requests.
                                            	ForceSendFields []string `json:"-"`
                                            
                                            	// NullFields is a list of field names (e.g. "OutputAudio") to include
                                            	// in API requests with the JSON null value. By default, fields with
                                            	// empty values are omitted from API requests. However, any field with
                                            	// an empty value appearing in NullFields will be sent to the server as
                                            	// null. It is an error if a field in this list has a non-empty value.
                                            	// This may be used to include null fields in Patch requests.
                                            	NullFields []string `json:"-"`
                                            }

                                              GoogleCloudDialogflowCxV3FulfillIntentResponse: Response of FulfillIntent

                                              func (*GoogleCloudDialogflowCxV3FulfillIntentResponse) MarshalJSON

                                              type GoogleCloudDialogflowCxV3Fulfillment

                                              type GoogleCloudDialogflowCxV3Fulfillment struct {
                                              	// ConditionalCases: Conditional cases for this fulfillment.
                                              	ConditionalCases []*GoogleCloudDialogflowCxV3FulfillmentConditionalCases `json:"conditionalCases,omitempty"`
                                              
                                              	// Messages: The list of rich message responses to present to the user.
                                              	Messages []*GoogleCloudDialogflowCxV3ResponseMessage `json:"messages,omitempty"`
                                              
                                              	// SetParameterActions: Set parameter values before executing the
                                              	// webhook.
                                              	SetParameterActions []*GoogleCloudDialogflowCxV3FulfillmentSetParameterAction `json:"setParameterActions,omitempty"`
                                              
                                              	// Tag: The tag used by the webhook to identify which fulfillment is
                                              	// being called. This field is required if `webhook` is specified.
                                              	Tag string `json:"tag,omitempty"`
                                              
                                              	// Webhook: The webhook to call. Format:
                                              	// `projects//locations//agents//webhooks/`.
                                              	Webhook string `json:"webhook,omitempty"`
                                              
                                              	// ForceSendFields is a list of field names (e.g. "ConditionalCases") to
                                              	// unconditionally include in API requests. By default, fields with
                                              	// empty values are omitted from API requests. However, any non-pointer,
                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                              	// server regardless of whether the field is empty or not. This may be
                                              	// used to include empty fields in Patch requests.
                                              	ForceSendFields []string `json:"-"`
                                              
                                              	// NullFields is a list of field names (e.g. "ConditionalCases") to
                                              	// include in API requests with the JSON null value. By default, fields
                                              	// with empty values are omitted from API requests. However, any field
                                              	// with an empty value appearing in NullFields will be sent to the
                                              	// server as null. It is an error if a field in this list has a
                                              	// non-empty value. This may be used to include null fields in Patch
                                              	// requests.
                                              	NullFields []string `json:"-"`
                                              }

                                                GoogleCloudDialogflowCxV3Fulfillment: A fulfillment can do one or more of the following actions at the same time: * Generate rich message responses. * Set parameter values. * Call the webhook. Fulfillments can be called at various stages in the Page or Form lifecycle. For example, when a DetectIntentRequest drives a session to enter a new page, the page's entry fulfillment can add a static response to the QueryResult in the returning DetectIntentResponse, call the webhook (for example, to load user data from a database), or both.

                                                func (*GoogleCloudDialogflowCxV3Fulfillment) MarshalJSON

                                                func (s *GoogleCloudDialogflowCxV3Fulfillment) MarshalJSON() ([]byte, error)

                                                type GoogleCloudDialogflowCxV3FulfillmentConditionalCases

                                                type GoogleCloudDialogflowCxV3FulfillmentConditionalCases struct {
                                                	// Cases: A list of cascading if-else conditions.
                                                	Cases []*GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase `json:"cases,omitempty"`
                                                
                                                	// ForceSendFields is a list of field names (e.g. "Cases") to
                                                	// unconditionally include in API requests. By default, fields with
                                                	// empty values are omitted from API requests. However, any non-pointer,
                                                	// non-interface field appearing in ForceSendFields will be sent to the
                                                	// server regardless of whether the field is empty or not. This may be
                                                	// used to include empty fields in Patch requests.
                                                	ForceSendFields []string `json:"-"`
                                                
                                                	// NullFields is a list of field names (e.g. "Cases") to include in API
                                                	// requests with the JSON null value. By default, fields with empty
                                                	// values are omitted from API requests. However, any field with an
                                                	// empty value appearing in NullFields will be sent to the server as
                                                	// null. It is an error if a field in this list has a non-empty value.
                                                	// This may be used to include null fields in Patch requests.
                                                	NullFields []string `json:"-"`
                                                }

                                                  GoogleCloudDialogflowCxV3FulfillmentConditionalCases: A list of cascading if-else conditions. Cases are mutually exclusive. The first one with a matching condition is selected, all the rest ignored.

                                                  func (*GoogleCloudDialogflowCxV3FulfillmentConditionalCases) MarshalJSON

                                                  type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase

                                                  type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase struct {
                                                  	// CaseContent: A list of case content.
                                                  	CaseContent []*GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent `json:"caseContent,omitempty"`
                                                  
                                                  	// Condition: The condition to activate and select this case. Empty
                                                  	// means the condition is always true. The condition is evaluated
                                                  	// against form parameters or session parameters. See the [conditions
                                                  	// reference](https://cloud.google.com/dialogflow/cx/docs/reference/condi
                                                  	// tion).
                                                  	Condition string `json:"condition,omitempty"`
                                                  
                                                  	// ForceSendFields is a list of field names (e.g. "CaseContent") to
                                                  	// unconditionally include in API requests. By default, fields with
                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                  	// server regardless of whether the field is empty or not. This may be
                                                  	// used to include empty fields in Patch requests.
                                                  	ForceSendFields []string `json:"-"`
                                                  
                                                  	// NullFields is a list of field names (e.g. "CaseContent") to include
                                                  	// in API requests with the JSON null value. By default, fields with
                                                  	// empty values are omitted from API requests. However, any field with
                                                  	// an empty value appearing in NullFields will be sent to the server as
                                                  	// null. It is an error if a field in this list has a non-empty value.
                                                  	// This may be used to include null fields in Patch requests.
                                                  	NullFields []string `json:"-"`
                                                  }

                                                    GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase: Each case has a Boolean condition. When it is evaluated to be True, the corresponding messages will be selected and evaluated recursively.

                                                    func (*GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase) MarshalJSON

                                                    type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent

                                                    type GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent struct {
                                                    	// AdditionalCases: Additional cases to be evaluated.
                                                    	AdditionalCases *GoogleCloudDialogflowCxV3FulfillmentConditionalCases `json:"additionalCases,omitempty"`
                                                    
                                                    	// Message: Returned message.
                                                    	Message *GoogleCloudDialogflowCxV3ResponseMessage `json:"message,omitempty"`
                                                    
                                                    	// ForceSendFields is a list of field names (e.g. "AdditionalCases") to
                                                    	// unconditionally include in API requests. By default, fields with
                                                    	// empty values are omitted from API requests. However, any non-pointer,
                                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                                    	// server regardless of whether the field is empty or not. This may be
                                                    	// used to include empty fields in Patch requests.
                                                    	ForceSendFields []string `json:"-"`
                                                    
                                                    	// NullFields is a list of field names (e.g. "AdditionalCases") to
                                                    	// include in API requests with the JSON null value. By default, fields
                                                    	// with empty values are omitted from API requests. However, any field
                                                    	// with an empty value appearing in NullFields will be sent to the
                                                    	// server as null. It is an error if a field in this list has a
                                                    	// non-empty value. This may be used to include null fields in Patch
                                                    	// requests.
                                                    	NullFields []string `json:"-"`
                                                    }

                                                      GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent: The list of messages or conditional cases to activate for this case.

                                                      func (*GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent) MarshalJSON

                                                      type GoogleCloudDialogflowCxV3FulfillmentSetParameterAction

                                                      type GoogleCloudDialogflowCxV3FulfillmentSetParameterAction struct {
                                                      	// Parameter: Display name of the parameter.
                                                      	Parameter string `json:"parameter,omitempty"`
                                                      
                                                      	// Value: The new value of the parameter. A null value clears the
                                                      	// parameter.
                                                      	Value interface{} `json:"value,omitempty"`
                                                      
                                                      	// ForceSendFields is a list of field names (e.g. "Parameter") to
                                                      	// unconditionally include in API requests. By default, fields with
                                                      	// empty values are omitted from API requests. However, any non-pointer,
                                                      	// non-interface field appearing in ForceSendFields will be sent to the
                                                      	// server regardless of whether the field is empty or not. This may be
                                                      	// used to include empty fields in Patch requests.
                                                      	ForceSendFields []string `json:"-"`
                                                      
                                                      	// NullFields is a list of field names (e.g. "Parameter") to include in
                                                      	// API requests with the JSON null value. By default, fields with empty
                                                      	// values are omitted from API requests. However, any field with an
                                                      	// empty value appearing in NullFields will be sent to the server as
                                                      	// null. It is an error if a field in this list has a non-empty value.
                                                      	// This may be used to include null fields in Patch requests.
                                                      	NullFields []string `json:"-"`
                                                      }

                                                        GoogleCloudDialogflowCxV3FulfillmentSetParameterAction: Setting a parameter value.

                                                        func (*GoogleCloudDialogflowCxV3FulfillmentSetParameterAction) MarshalJSON

                                                        type GoogleCloudDialogflowCxV3InputAudioConfig

                                                        type GoogleCloudDialogflowCxV3InputAudioConfig struct {
                                                        	// AudioEncoding: Required. Audio encoding of the audio content to
                                                        	// process.
                                                        	//
                                                        	// Possible values:
                                                        	//   "AUDIO_ENCODING_UNSPECIFIED" - Not specified.
                                                        	//   "AUDIO_ENCODING_LINEAR_16" - Uncompressed 16-bit signed
                                                        	// little-endian samples (Linear PCM).
                                                        	//   "AUDIO_ENCODING_FLAC" -
                                                        	// [`FLAC`](https://xiph.org/flac/documentation.html) (Free Lossless
                                                        	// Audio Codec) is the recommended encoding because it is lossless
                                                        	// (therefore recognition is not compromised) and requires only about
                                                        	// half the bandwidth of `LINEAR16`. `FLAC` stream encoding supports
                                                        	// 16-bit and 24-bit samples, however, not all fields in `STREAMINFO`
                                                        	// are supported.
                                                        	//   "AUDIO_ENCODING_MULAW" - 8-bit samples that compand 14-bit audio
                                                        	// samples using G.711 PCMU/mu-law.
                                                        	//   "AUDIO_ENCODING_AMR" - Adaptive Multi-Rate Narrowband codec.
                                                        	// `sample_rate_hertz` must be 8000.
                                                        	//   "AUDIO_ENCODING_AMR_WB" - Adaptive Multi-Rate Wideband codec.
                                                        	// `sample_rate_hertz` must be 16000.
                                                        	//   "AUDIO_ENCODING_OGG_OPUS" - Opus encoded audio frames in Ogg
                                                        	// container ([OggOpus](https://wiki.xiph.org/OggOpus)).
                                                        	// `sample_rate_hertz` must be 16000.
                                                        	//   "AUDIO_ENCODING_SPEEX_WITH_HEADER_BYTE" - Although the use of lossy
                                                        	// encodings is not recommended, if a very low bitrate encoding is
                                                        	// required, `OGG_OPUS` is highly preferred over Speex encoding. The
                                                        	// [Speex](https://speex.org/) encoding supported by Dialogflow API has
                                                        	// a header byte in each block, as in MIME type
                                                        	// `audio/x-speex-with-header-byte`. It is a variant of the RTP Speex
                                                        	// encoding defined in [RFC 5574](https://tools.ietf.org/html/rfc5574).
                                                        	// The stream is a sequence of blocks, one block per RTP packet. Each
                                                        	// block starts with a byte containing the length of the block, in
                                                        	// bytes, followed by one or more frames of Speex data, padded to an
                                                        	// integral number of bytes (octets) as specified in RFC 5574. In other
                                                        	// words, each RTP header is replaced with a single byte containing the
                                                        	// block length. Only Speex wideband is supported. `sample_rate_hertz`
                                                        	// must be 16000.
                                                        	AudioEncoding string `json:"audioEncoding,omitempty"`
                                                        
                                                        	// EnableWordInfo: Optional. If `true`, Dialogflow returns
                                                        	// SpeechWordInfo in StreamingRecognitionResult with information about
                                                        	// the recognized speech words, e.g. start and end time offsets. If
                                                        	// false or unspecified, Speech doesn't return any word-level
                                                        	// information.
                                                        	EnableWordInfo bool `json:"enableWordInfo,omitempty"`
                                                        
                                                        	// Model: Optional. Which Speech model to select for the given request.
                                                        	// Select the model best suited to your domain to get best results. If a
                                                        	// model is not explicitly specified, then we auto-select a model based
                                                        	// on the parameters in the InputAudioConfig. If enhanced speech model
                                                        	// is enabled for the agent and an enhanced version of the specified
                                                        	// model for the language does not exist, then the speech is recognized
                                                        	// using the standard version of the specified model. Refer to [Cloud
                                                        	// Speech API
                                                        	// documentation](https://cloud.google.com/speech-to-text/docs/basics#sel
                                                        	// ect-model) for more details.
                                                        	Model string `json:"model,omitempty"`
                                                        
                                                        	// ModelVariant: Optional. Which variant of the Speech model to use.
                                                        	//
                                                        	// Possible values:
                                                        	//   "SPEECH_MODEL_VARIANT_UNSPECIFIED" - No model variant specified. In
                                                        	// this case Dialogflow defaults to USE_BEST_AVAILABLE.
                                                        	//   "USE_BEST_AVAILABLE" - Use the best available variant of the Speech
                                                        	// model that the caller is eligible for. Please see the [Dialogflow
                                                        	// docs](https://cloud.google.com/dialogflow/docs/data-logging) for how
                                                        	// to make your project eligible for enhanced models.
                                                        	//   "USE_STANDARD" - Use standard model variant even if an enhanced
                                                        	// model is available. See the [Cloud Speech
                                                        	// documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m
                                                        	// odels) for details about enhanced models.
                                                        	//   "USE_ENHANCED" - Use an enhanced model variant: * If an enhanced
                                                        	// variant does not exist for the given model and request language,
                                                        	// Dialogflow falls back to the standard variant. The [Cloud Speech
                                                        	// documentation](https://cloud.google.com/speech-to-text/docs/enhanced-m
                                                        	// odels) describes which models have enhanced variants. * If the API
                                                        	// caller isn't eligible for enhanced models, Dialogflow returns an
                                                        	// error. Please see the [Dialogflow
                                                        	// docs](https://cloud.google.com/dialogflow/docs/data-logging) for how
                                                        	// to make your project eligible.
                                                        	ModelVariant string `json:"modelVariant,omitempty"`
                                                        
                                                        	// PhraseHints: Optional. A list of strings containing words and phrases
                                                        	// that the speech recognizer should recognize with higher likelihood.
                                                        	// See [the Cloud Speech
                                                        	// documentation](https://cloud.google.com/speech-to-text/docs/basics#phr
                                                        	// ase-hints) for more details.
                                                        	PhraseHints []string `json:"phraseHints,omitempty"`
                                                        
                                                        	// SampleRateHertz: Sample rate (in Hertz) of the audio content sent in
                                                        	// the query. Refer to [Cloud Speech API
                                                        	// documentation](https://cloud.google.com/speech-to-text/docs/basics)
                                                        	// for more details.
                                                        	SampleRateHertz int64 `json:"sampleRateHertz,omitempty"`
                                                        
                                                        	// SingleUtterance: Optional. If `false` (default), recognition does not
                                                        	// cease until the client closes the stream. If `true`, the recognizer
                                                        	// will detect a single spoken utterance in input audio. Recognition
                                                        	// ceases when it detects the audio's voice has stopped or paused. In
                                                        	// this case, once a detected intent is received, the client should
                                                        	// close the stream and start a new request with a new stream as needed.
                                                        	// Note: This setting is relevant only for streaming methods.
                                                        	SingleUtterance bool `json:"singleUtterance,omitempty"`
                                                        
                                                        	// ForceSendFields is a list of field names (e.g. "AudioEncoding") to
                                                        	// unconditionally include in API requests. By default, fields with
                                                        	// empty values are omitted from API requests. However, any non-pointer,
                                                        	// non-interface field appearing in ForceSendFields will be sent to the
                                                        	// server regardless of whether the field is empty or not. This may be
                                                        	// used to include empty fields in Patch requests.
                                                        	ForceSendFields []string `json:"-"`
                                                        
                                                        	// NullFields is a list of field names (e.g. "AudioEncoding") to include
                                                        	// in API requests with the JSON null value. By default, fields with
                                                        	// empty values are omitted from API requests. However, any field with
                                                        	// an empty value appearing in NullFields will be sent to the server as
                                                        	// null. It is an error if a field in this list has a non-empty value.
                                                        	// This may be used to include null fields in Patch requests.
                                                        	NullFields []string `json:"-"`
                                                        }

                                                          GoogleCloudDialogflowCxV3InputAudioConfig: Instructs the speech recognizer on how to process the audio content.

                                                          func (*GoogleCloudDialogflowCxV3InputAudioConfig) MarshalJSON

                                                          type GoogleCloudDialogflowCxV3Intent

                                                          type GoogleCloudDialogflowCxV3Intent struct {
                                                          	// Description: Optional. Human readable description for better
                                                          	// understanding an intent like its scope, content, result etc. Maximum
                                                          	// character limit: 140 characters.
                                                          	Description string `json:"description,omitempty"`
                                                          
                                                          	// DisplayName: Required. The human-readable name of the intent, unique
                                                          	// within the agent.
                                                          	DisplayName string `json:"displayName,omitempty"`
                                                          
                                                          	// IsFallback: Indicates whether this is a fallback intent. Currently
                                                          	// only default fallback intent is allowed in the agent, which is added
                                                          	// upon agent creation. Adding training phrases to fallback intent is
                                                          	// useful in the case of requests that are mistakenly matched, since
                                                          	// training phrases assigned to fallback intents act as negative
                                                          	// examples that triggers no-match event.
                                                          	IsFallback bool `json:"isFallback,omitempty"`
                                                          
                                                          	// Labels: Optional. The key/value metadata to label an intent. Labels
                                                          	// can contain lowercase letters, digits and the symbols '-' and '_'.
                                                          	// International characters are allowed, including letters from unicase
                                                          	// alphabets. Keys must start with a letter. Keys and values can be no
                                                          	// longer than 63 characters and no more than 128 bytes. Prefix "sys."
                                                          	// is reserved for Dialogflow defined labels. Currently allowed
                                                          	// Dialogflow defined labels include: * sys.head * sys.contextual The
                                                          	// above labels do not require value. "sys.head" means the intent is a
                                                          	// head intent. "sys.contextual" means the intent is a contextual
                                                          	// intent.
                                                          	Labels map[string]string `json:"labels,omitempty"`
                                                          
                                                          	// Name: The unique identifier of the intent. Required for the
                                                          	// Intents.UpdateIntent method. Intents.CreateIntent populates the name
                                                          	// automatically. Format: `projects//locations//agents//intents/`.
                                                          	Name string `json:"name,omitempty"`
                                                          
                                                          	// Parameters: The collection of parameters associated with the intent.
                                                          	Parameters []*GoogleCloudDialogflowCxV3IntentParameter `json:"parameters,omitempty"`
                                                          
                                                          	// Priority: The priority of this intent. Higher numbers represent
                                                          	// higher priorities. - If the supplied value is unspecified or 0, the
                                                          	// service translates the value to 500,000, which corresponds to the
                                                          	// `Normal` priority in the console. - If the supplied value is
                                                          	// negative, the intent is ignored in runtime detect intent requests.
                                                          	Priority int64 `json:"priority,omitempty"`
                                                          
                                                          	// TrainingPhrases: The collection of training phrases the agent is
                                                          	// trained on to identify the intent.
                                                          	TrainingPhrases []*GoogleCloudDialogflowCxV3IntentTrainingPhrase `json:"trainingPhrases,omitempty"`
                                                          
                                                          	// ServerResponse contains the HTTP response code and headers from the
                                                          	// server.
                                                          	googleapi.ServerResponse `json:"-"`
                                                          
                                                          	// ForceSendFields is a list of field names (e.g. "Description") to
                                                          	// unconditionally include in API requests. By default, fields with
                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                          	// server regardless of whether the field is empty or not. This may be
                                                          	// used to include empty fields in Patch requests.
                                                          	ForceSendFields []string `json:"-"`
                                                          
                                                          	// NullFields is a list of field names (e.g. "Description") to include
                                                          	// in API requests with the JSON null value. By default, fields with
                                                          	// empty values are omitted from API requests. However, any field with
                                                          	// an empty value appearing in NullFields will be sent to the server as
                                                          	// null. It is an error if a field in this list has a non-empty value.
                                                          	// This may be used to include null fields in Patch requests.
                                                          	NullFields []string `json:"-"`
                                                          }

                                                            GoogleCloudDialogflowCxV3Intent: An intent represents a user's intent to interact with a conversational agent. You can provide information for the Dialogflow API to use to match user input to an intent by adding training phrases (i.e., examples of user input) to your intent.

                                                            func (*GoogleCloudDialogflowCxV3Intent) MarshalJSON

                                                            func (s *GoogleCloudDialogflowCxV3Intent) MarshalJSON() ([]byte, error)

                                                            type GoogleCloudDialogflowCxV3IntentInput

                                                            type GoogleCloudDialogflowCxV3IntentInput struct {
                                                            	// Intent: Required. The unique identifier of the intent. Format:
                                                            	// `projects//locations//agents//intents/`.
                                                            	Intent string `json:"intent,omitempty"`
                                                            
                                                            	// ForceSendFields is a list of field names (e.g. "Intent") to
                                                            	// unconditionally include in API requests. By default, fields with
                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                            	// server regardless of whether the field is empty or not. This may be
                                                            	// used to include empty fields in Patch requests.
                                                            	ForceSendFields []string `json:"-"`
                                                            
                                                            	// NullFields is a list of field names (e.g. "Intent") to include in API
                                                            	// requests with the JSON null value. By default, fields with empty
                                                            	// values are omitted from API requests. However, any field with an
                                                            	// empty value appearing in NullFields will be sent to the server as
                                                            	// null. It is an error if a field in this list has a non-empty value.
                                                            	// This may be used to include null fields in Patch requests.
                                                            	NullFields []string `json:"-"`
                                                            }

                                                              GoogleCloudDialogflowCxV3IntentInput: Represents the intent to trigger programmatically rather than as a result of natural language processing.

                                                              func (*GoogleCloudDialogflowCxV3IntentInput) MarshalJSON

                                                              func (s *GoogleCloudDialogflowCxV3IntentInput) MarshalJSON() ([]byte, error)

                                                              type GoogleCloudDialogflowCxV3IntentParameter

                                                              type GoogleCloudDialogflowCxV3IntentParameter struct {
                                                              	// EntityType: Required. The entity type of the parameter. Format:
                                                              	// `projects/-/locations/-/agents/-/entityTypes/` for system entity
                                                              	// types (for example,
                                                              	// `projects/-/locations/-/agents/-/entityTypes/sys.date`), or
                                                              	// `projects//locations//agents//entityTypes/` for developer entity
                                                              	// types.
                                                              	EntityType string `json:"entityType,omitempty"`
                                                              
                                                              	// Id: Required. The unique identifier of the parameter. This field is
                                                              	// used by training phrases to annotate their parts.
                                                              	Id string `json:"id,omitempty"`
                                                              
                                                              	// IsList: Indicates whether the parameter represents a list of values.
                                                              	IsList bool `json:"isList,omitempty"`
                                                              
                                                              	// Redact: Indicates whether the parameter content is logged in text and
                                                              	// audio. If it is set to true, the parameter content will be replaced
                                                              	// to parameter id in both request and response. The default value is
                                                              	// false.
                                                              	Redact bool `json:"redact,omitempty"`
                                                              
                                                              	// ForceSendFields is a list of field names (e.g. "EntityType") to
                                                              	// unconditionally include in API requests. By default, fields with
                                                              	// empty values are omitted from API requests. However, any non-pointer,
                                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                                              	// server regardless of whether the field is empty or not. This may be
                                                              	// used to include empty fields in Patch requests.
                                                              	ForceSendFields []string `json:"-"`
                                                              
                                                              	// NullFields is a list of field names (e.g. "EntityType") to include in
                                                              	// API requests with the JSON null value. By default, fields with empty
                                                              	// values are omitted from API requests. However, any field with an
                                                              	// empty value appearing in NullFields will be sent to the server as
                                                              	// null. It is an error if a field in this list has a non-empty value.
                                                              	// This may be used to include null fields in Patch requests.
                                                              	NullFields []string `json:"-"`
                                                              }

                                                                GoogleCloudDialogflowCxV3IntentParameter: Represents an intent parameter.

                                                                func (*GoogleCloudDialogflowCxV3IntentParameter) MarshalJSON

                                                                func (s *GoogleCloudDialogflowCxV3IntentParameter) MarshalJSON() ([]byte, error)

                                                                type GoogleCloudDialogflowCxV3IntentTrainingPhrase

                                                                type GoogleCloudDialogflowCxV3IntentTrainingPhrase struct {
                                                                	// Id: Output only. The unique identifier of the training phrase.
                                                                	Id string `json:"id,omitempty"`
                                                                
                                                                	// Parts: Required. The ordered list of training phrase parts. The parts
                                                                	// are concatenated in order to form the training phrase. Note: The API
                                                                	// does not automatically annotate training phrases like the Dialogflow
                                                                	// Console does. Note: Do not forget to include whitespace at part
                                                                	// boundaries, so the training phrase is well formatted when the parts
                                                                	// are concatenated. If the training phrase does not need to be
                                                                	// annotated with parameters, you just need a single part with only the
                                                                	// Part.text field set. If you want to annotate the training phrase, you
                                                                	// must create multiple parts, where the fields of each part are
                                                                	// populated in one of two ways: - `Part.text` is set to a part of the
                                                                	// phrase that has no parameters. - `Part.text` is set to a part of the
                                                                	// phrase that you want to annotate, and the `parameter_id` field is
                                                                	// set.
                                                                	Parts []*GoogleCloudDialogflowCxV3IntentTrainingPhrasePart `json:"parts,omitempty"`
                                                                
                                                                	// RepeatCount: Indicates how many times this example was added to the
                                                                	// intent.
                                                                	RepeatCount int64 `json:"repeatCount,omitempty"`
                                                                
                                                                	// ForceSendFields is a list of field names (e.g. "Id") to
                                                                	// unconditionally include in API requests. By default, fields with
                                                                	// empty values are omitted from API requests. However, any non-pointer,
                                                                	// non-interface field appearing in ForceSendFields will be sent to the
                                                                	// server regardless of whether the field is empty or not. This may be
                                                                	// used to include empty fields in Patch requests.
                                                                	ForceSendFields []string `json:"-"`
                                                                
                                                                	// NullFields is a list of field names (e.g. "Id") to include in API
                                                                	// requests with the JSON null value. By default, fields with empty
                                                                	// values are omitted from API requests. However, any field with an
                                                                	// empty value appearing in NullFields will be sent to the server as
                                                                	// null. It is an error if a field in this list has a non-empty value.
                                                                	// This may be used to include null fields in Patch requests.
                                                                	NullFields []string `json:"-"`
                                                                }

                                                                  GoogleCloudDialogflowCxV3IntentTrainingPhrase: Represents an example that the agent is trained on to identify the intent.

                                                                  func (*GoogleCloudDialogflowCxV3IntentTrainingPhrase) MarshalJSON

                                                                  type GoogleCloudDialogflowCxV3IntentTrainingPhrasePart

                                                                  type GoogleCloudDialogflowCxV3IntentTrainingPhrasePart struct {
                                                                  	// ParameterId: The parameter used to annotate this part of the training
                                                                  	// phrase. This field is required for annotated parts of the training
                                                                  	// phrase.
                                                                  	ParameterId string `json:"parameterId,omitempty"`
                                                                  
                                                                  	// Text: Required. The text for this part.
                                                                  	Text string `json:"text,omitempty"`
                                                                  
                                                                  	// ForceSendFields is a list of field names (e.g. "ParameterId") to
                                                                  	// unconditionally include in API requests. By default, fields with
                                                                  	// empty values are omitted from API requests. However, any non-pointer,
                                                                  	// non-interface field appearing in ForceSendFields will be sent to the
                                                                  	// server regardless of whether the field is empty or not. This may be
                                                                  	// used to include empty fields in Patch requests.
                                                                  	ForceSendFields []string `json:"-"`
                                                                  
                                                                  	// NullFields is a list of field names (e.g. "ParameterId") to include
                                                                  	// in API requests with the JSON null value. By default, fields with
                                                                  	// empty values are omitted from API requests. However, any field with
                                                                  	// an empty value appearing in NullFields will be sent to the server as
                                                                  	// null. It is an error if a field in this list has a non-empty value.
                                                                  	// This may be used to include null fields in Patch requests.
                                                                  	NullFields []string `json:"-"`
                                                                  }

                                                                    GoogleCloudDialogflowCxV3IntentTrainingPhrasePart: Represents a part of a training phrase.

                                                                    func (*GoogleCloudDialogflowCxV3IntentTrainingPhrasePart) MarshalJSON

                                                                    type GoogleCloudDialogflowCxV3ListAgentsResponse

                                                                    type GoogleCloudDialogflowCxV3ListAgentsResponse struct {
                                                                    	// Agents: The list of agents. There will be a maximum number of items
                                                                    	// returned based on the page_size field in the request.
                                                                    	Agents []*GoogleCloudDialogflowCxV3Agent `json:"agents,omitempty"`
                                                                    
                                                                    	// NextPageToken: Token to retrieve the next page of results, or empty
                                                                    	// if there are no more results in the list.
                                                                    	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                    
                                                                    	// ServerResponse contains the HTTP response code and headers from the
                                                                    	// server.
                                                                    	googleapi.ServerResponse `json:"-"`
                                                                    
                                                                    	// ForceSendFields is a list of field names (e.g. "Agents") to
                                                                    	// unconditionally include in API requests. By default, fields with
                                                                    	// empty values are omitted from API requests. However, any non-pointer,
                                                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                                                    	// server regardless of whether the field is empty or not. This may be
                                                                    	// used to include empty fields in Patch requests.
                                                                    	ForceSendFields []string `json:"-"`
                                                                    
                                                                    	// NullFields is a list of field names (e.g. "Agents") to include in API
                                                                    	// requests with the JSON null value. By default, fields with empty
                                                                    	// values are omitted from API requests. However, any field with an
                                                                    	// empty value appearing in NullFields will be sent to the server as
                                                                    	// null. It is an error if a field in this list has a non-empty value.
                                                                    	// This may be used to include null fields in Patch requests.
                                                                    	NullFields []string `json:"-"`
                                                                    }

                                                                      GoogleCloudDialogflowCxV3ListAgentsResponse: The response message for Agents.ListAgents.

                                                                      func (*GoogleCloudDialogflowCxV3ListAgentsResponse) MarshalJSON

                                                                      type GoogleCloudDialogflowCxV3ListEntityTypesResponse

                                                                      type GoogleCloudDialogflowCxV3ListEntityTypesResponse struct {
                                                                      	// EntityTypes: The list of entity types. There will be a maximum number
                                                                      	// of items returned based on the page_size field in the request.
                                                                      	EntityTypes []*GoogleCloudDialogflowCxV3EntityType `json:"entityTypes,omitempty"`
                                                                      
                                                                      	// NextPageToken: Token to retrieve the next page of results, or empty
                                                                      	// if there are no more results in the list.
                                                                      	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                      
                                                                      	// ServerResponse contains the HTTP response code and headers from the
                                                                      	// server.
                                                                      	googleapi.ServerResponse `json:"-"`
                                                                      
                                                                      	// ForceSendFields is a list of field names (e.g. "EntityTypes") to
                                                                      	// unconditionally include in API requests. By default, fields with
                                                                      	// empty values are omitted from AP