class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest

The request message for Intents.BatchUpdateIntents.

Attributes

intent_batch_inline[RW]

This message is a wrapper around a collection of intents. Corresponds to the JSON property `intentBatchInline` @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentBatch]

intent_batch_uri[RW]

The URI to a Google Cloud Storage file containing intents to update or create. The file format can either be a serialized proto (of IntentBatch type) or JSON object. Note: The URI must start with “gs://”. Corresponds to the JSON property `intentBatchUri` @return [String]

intent_view[RW]

Optional. The resource view to apply to the returned intent. Corresponds to the JSON property `intentView` @return [String]

language_code[RW]

Optional. The language used to access language-specific data. If not specified, the agent's default language is used. For more information, see [Multilingual intent and entity data](cloud.google.com/dialogflow/docs/agents- multilingual#intent-entity). Corresponds to the JSON property `languageCode` @return [String]

update_mask[RW]

Optional. The mask to control which fields get updated. Corresponds to the JSON property `updateMask` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 8367
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 8372
def update!(**args)
  @intent_batch_inline = args[:intent_batch_inline] if args.key?(:intent_batch_inline)
  @intent_batch_uri = args[:intent_batch_uri] if args.key?(:intent_batch_uri)
  @intent_view = args[:intent_view] if args.key?(:intent_view)
  @language_code = args[:language_code] if args.key?(:language_code)
  @update_mask = args[:update_mask] if args.key?(:update_mask)
end