Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse

Returns a new instance of GoogleCloudDialogflowCxV3WebhookResponseFulfillmentResponse.



3369
3370
3371
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 3369

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#merge_behaviorString

Corresponds to the JSON property mergeBehavior

Returns:

  • (String)


3362
3363
3364
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 3362

def merge_behavior
  @merge_behavior
end

#messagesArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage>

Corresponds to the JSON property messages



3367
3368
3369
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 3367

def messages
  @messages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3374
3375
3376
3377
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 3374

def update!(**args)
  @merge_behavior = args[:merge_behavior] if args.key?(:merge_behavior)
  @messages = args[:messages] if args.key?(:messages)
end