diff --git a/api_names_out.yaml b/api_names_out.yaml index 999c82cfe..852928c9c 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -88847,8 +88847,11 @@ "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1InputAudioConfig/sampleRateHertz": sample_rate_hertz "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1InputAudioConfig/singleUtterance": single_utterance "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Intent": google_cloud_dialogflow_cx_v3beta1_intent +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Intent/description": description "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Intent/displayName": display_name "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Intent/isFallback": is_fallback +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Intent/labels": labels +"/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Intent/labels/label": label "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Intent/name": name "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Intent/parameters": parameters "/dialogflow:v3beta1/GoogleCloudDialogflowCxV3beta1Intent/parameters/parameter": parameter @@ -89798,6 +89801,12 @@ "/dialogflow:v3beta1/GoogleCloudDialogflowV3alpha1ImportTestCasesResponse/names": names "/dialogflow:v3beta1/GoogleCloudDialogflowV3alpha1ImportTestCasesResponse/names/name": name "/dialogflow:v3beta1/GoogleCloudDialogflowV3alpha1RunTestCaseMetadata": google_cloud_dialogflow_v3alpha1_run_test_case_metadata +"/dialogflow:v3beta1/GoogleCloudKnowledgeV1alpha1OperationMetadata": google_cloud_knowledge_v1alpha1_operation_metadata +"/dialogflow:v3beta1/GoogleCloudKnowledgeV1alpha1OperationMetadata/errorCode": error_code +"/dialogflow:v3beta1/GoogleCloudKnowledgeV1alpha1OperationMetadata/errorCode/error_code": error_code +"/dialogflow:v3beta1/GoogleCloudKnowledgeV1alpha1OperationMetadata/message": message +"/dialogflow:v3beta1/GoogleCloudKnowledgeV1alpha1OperationMetadata/message/message": message +"/dialogflow:v3beta1/GoogleCloudKnowledgeV1alpha1OperationMetadata/state": state "/dialogflow:v3beta1/GoogleLongrunningListOperationsResponse": google_longrunning_list_operations_response "/dialogflow:v3beta1/GoogleLongrunningListOperationsResponse/nextPageToken": next_page_token "/dialogflow:v3beta1/GoogleLongrunningListOperationsResponse/operations": operations diff --git a/generated/google/apis/dialogflow_v3beta1.rb b/generated/google/apis/dialogflow_v3beta1.rb index 96cc5c029..7dfc6ac77 100644 --- a/generated/google/apis/dialogflow_v3beta1.rb +++ b/generated/google/apis/dialogflow_v3beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/dialogflow/ module DialogflowV3beta1 VERSION = 'V3beta1' - REVISION = '20201017' + REVISION = '20201028' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/dialogflow_v3beta1/classes.rb b/generated/google/apis/dialogflow_v3beta1/classes.rb index e7237e46e..21e650327 100644 --- a/generated/google/apis/dialogflow_v3beta1/classes.rb +++ b/generated/google/apis/dialogflow_v3beta1/classes.rb @@ -1774,6 +1774,12 @@ module Google class GoogleCloudDialogflowCxV3beta1Intent include Google::Apis::Core::Hashable + # Optional. Human readable description for better understanding an intent like + # its scope, content, result etc. Maximum character limit: 140 characters. + # Corresponds to the JSON property `description` + # @return [String] + attr_accessor :description + # Required. The human-readable name of the intent, unique within the agent. # Corresponds to the JSON property `displayName` # @return [String] @@ -1789,6 +1795,18 @@ module Google attr_accessor :is_fallback alias_method :is_fallback?, :is_fallback + # 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. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + # The unique identifier of the intent. Required for the Intents.UpdateIntent # method. Intents.CreateIntent populates the name automatically. Format: ` # projects//locations//agents//intents/`. @@ -1822,8 +1840,10 @@ module Google # Update properties of this object def update!(**args) + @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @is_fallback = args[:is_fallback] if args.key?(:is_fallback) + @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @parameters = args[:parameters] if args.key?(:parameters) @priority = args[:priority] if args.key?(:priority) @@ -8590,16 +8610,34 @@ module Google end end - # Metadata returned for the TestCases.RunTestCase long running operation. - class GoogleCloudDialogflowV3alpha1RunTestCaseMetadata + # Metadata in google::longrunning::Operation. + class GoogleCloudKnowledgeV1alpha1OperationMetadata include Google::Apis::Core::Hashable + # The error codes from Manifold endpoints' last failures. + # Corresponds to the JSON property `errorCode` + # @return [Array] + attr_accessor :error_code + + # The failure messages from Manifold endpoints' last failures. + # Corresponds to the JSON property `message` + # @return [Array] + attr_accessor :message + + # Required. The current state of this operation. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) + @error_code = args[:error_code] if args.key?(:error_code) + @message = args[:message] if args.key?(:message) + @state = args[:state] if args.key?(:state) end end diff --git a/generated/google/apis/dialogflow_v3beta1/representations.rb b/generated/google/apis/dialogflow_v3beta1/representations.rb index 3ce968636..2d5085068 100644 --- a/generated/google/apis/dialogflow_v3beta1/representations.rb +++ b/generated/google/apis/dialogflow_v3beta1/representations.rb @@ -1336,7 +1336,7 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GoogleCloudDialogflowV3alpha1RunTestCaseMetadata + class GoogleCloudKnowledgeV1alpha1OperationMetadata class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport @@ -1841,8 +1841,10 @@ module Google class GoogleCloudDialogflowCxV3beta1Intent # @private class Representation < Google::Apis::Core::JsonRepresentation + property :description, as: 'description' property :display_name, as: 'displayName' property :is_fallback, as: 'isFallback' + hash :labels, as: 'labels' property :name, as: 'name' collection :parameters, as: 'parameters', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentParameter, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentParameter::Representation @@ -3666,9 +3668,12 @@ module Google end end - class GoogleCloudDialogflowV3alpha1RunTestCaseMetadata + class GoogleCloudKnowledgeV1alpha1OperationMetadata # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :error_code, as: 'errorCode' + collection :message, as: 'message' + property :state, as: 'state' end end diff --git a/generated/google/apis/dialogflow_v3beta1/synth.metadata b/generated/google/apis/dialogflow_v3beta1/synth.metadata index 8ba18e27d..88a73b724 100644 --- a/generated/google/apis/dialogflow_v3beta1/synth.metadata +++ b/generated/google/apis/dialogflow_v3beta1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "cb0c5bf94e2b1c915107eec83041d4409c900155" + "sha": "768d3937e6c487b755846b65267c20674e52a10c" } } ]