Skip to content

Commit

Permalink
feat: Automated regeneration of dialogflow v2 client (googleapis#14424)
Browse files Browse the repository at this point in the history
Auto-created at 2023-04-02 10:20:57 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Apr 2, 2023
1 parent 6fd7142 commit 09a8120
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 4 deletions.
2 changes: 2 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147499,6 +147499,7 @@
"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebService/username": username
"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookRequest": google_cloud_dialogflow_cx_v3_webhook_request
"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookRequest/detectIntentResponseId": detect_intent_response_id
"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookRequest/dtmfDigits": dtmf_digits
"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookRequest/fulfillmentInfo": fulfillment_info
"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookRequest/intentInfo": intent_info
"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookRequest/languageCode": language_code
Expand Down Expand Up @@ -147883,6 +147884,7 @@
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/username": username
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookRequest": google_cloud_dialogflow_cx_v3beta1_webhook_request
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookRequest/detectIntentResponseId": detect_intent_response_id
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookRequest/dtmfDigits": dtmf_digits
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookRequest/fulfillmentInfo": fulfillment_info
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookRequest/intentInfo": intent_info
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookRequest/languageCode": language_code
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-dialogflow_v2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-dialogflow_v2

### v0.57.0 (2023-04-02)

* Regenerated from discovery document revision 20230331

### v0.56.0 (2023-03-26)

* Regenerated from discovery document revision 20230316
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput
# 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.
# intent. Next ID: 15
# Corresponds to the JSON property `triggeredIntent`
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Intent]
attr_accessor :triggered_intent
Expand Down Expand Up @@ -1260,7 +1260,7 @@ def update!(**args)
# 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.
# intent. Next ID: 15
class GoogleCloudDialogflowCxV3Intent
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -2742,6 +2742,11 @@ class GoogleCloudDialogflowCxV3WebhookRequest
# @return [String]
attr_accessor :detect_intent_response_id

# If DTMF was provided as input, this field will contain the DTMF digits.
# Corresponds to the JSON property `dtmfDigits`
# @return [String]
attr_accessor :dtmf_digits

# Represents fulfillment information communicated to the webhook.
# Corresponds to the JSON property `fulfillmentInfo`
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo]
Expand Down Expand Up @@ -2814,6 +2819,7 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
@dtmf_digits = args[:dtmf_digits] if args.key?(:dtmf_digits)
@fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
@intent_info = args[:intent_info] if args.key?(:intent_info)
@language_code = args[:language_code] if args.key?(:language_code)
Expand Down Expand Up @@ -4437,6 +4443,7 @@ def update!(**args)
end

# Represents an example that the agent is trained on to identify the intent.
# Next ID: 15
class GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -5770,6 +5777,11 @@ class GoogleCloudDialogflowCxV3beta1WebhookRequest
# @return [String]
attr_accessor :detect_intent_response_id

# If DTMF was provided as input, this field will contain the DTMF digits.
# Corresponds to the JSON property `dtmfDigits`
# @return [String]
attr_accessor :dtmf_digits

# Represents fulfillment information communicated to the webhook.
# Corresponds to the JSON property `fulfillmentInfo`
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo]
Expand Down Expand Up @@ -5842,6 +5854,7 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
@dtmf_digits = args[:dtmf_digits] if args.key?(:dtmf_digits)
@fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
@intent_info = args[:intent_info] if args.key?(:intent_info)
@language_code = args[:language_code] if args.key?(:language_code)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module DialogflowV2
# Version of the google-apis-dialogflow_v2 gem
GEM_VERSION = "0.56.0"
GEM_VERSION = "0.57.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.12.0"

# Revision of the discovery document this client was generated from
REVISION = "20230316"
REVISION = "20230331"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -3543,6 +3543,7 @@ class GoogleCloudDialogflowCxV3WebhookRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :detect_intent_response_id, as: 'detectIntentResponseId'
property :dtmf_digits, as: 'dtmfDigits'
property :fulfillment_info, as: 'fulfillmentInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestFulfillmentInfo::Representation

property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo::Representation
Expand Down Expand Up @@ -4380,6 +4381,7 @@ class GoogleCloudDialogflowCxV3beta1WebhookRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :detect_intent_response_id, as: 'detectIntentResponseId'
property :dtmf_digits, as: 'dtmfDigits'
property :fulfillment_info, as: 'fulfillmentInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo::Representation

property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo::Representation
Expand Down

0 comments on commit 09a8120

Please sign in to comment.