google-apis-dialogflow_v2beta1 0.97.0 → 0.99.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/dialogflow_v2beta1/classes.rb +816 -5
- data/lib/google/apis/dialogflow_v2beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2beta1/representations.rb +399 -0
- data/lib/google/apis/dialogflow_v2beta1/service.rb +113 -1
- metadata +3 -3
| @@ -4121,6 +4121,43 @@ module Google | |
| 4121 4121 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 4122 4122 | 
             
                    end
         | 
| 4123 4123 |  | 
| 4124 | 
            +
                    # Generates all the suggestions using generators configured in the conversation
         | 
| 4125 | 
            +
                    # profile. A generator is used only if its trigger event is matched.
         | 
| 4126 | 
            +
                    # @param [String] conversation
         | 
| 4127 | 
            +
                    #   Required. The conversation for which the suggestions are generated. Format: `
         | 
| 4128 | 
            +
                    #   projects//locations//conversations/`. The conversation must be created with a
         | 
| 4129 | 
            +
                    #   conversation profile which has generators configured in it to be able to get
         | 
| 4130 | 
            +
                    #   suggestions.
         | 
| 4131 | 
            +
                    # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest] google_cloud_dialogflow_v2beta1_generate_suggestions_request_object
         | 
| 4132 | 
            +
                    # @param [String] fields
         | 
| 4133 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 4134 | 
            +
                    # @param [String] quota_user
         | 
| 4135 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 4136 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 4137 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 4138 | 
            +
                    #   Request-specific options
         | 
| 4139 | 
            +
                    #
         | 
| 4140 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 4141 | 
            +
                    # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse] parsed result object
         | 
| 4142 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 4143 | 
            +
                    #
         | 
| 4144 | 
            +
                    # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse]
         | 
| 4145 | 
            +
                    #
         | 
| 4146 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 4147 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4148 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4149 | 
            +
                    def generate_project_conversation_suggestion(conversation, google_cloud_dialogflow_v2beta1_generate_suggestions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4150 | 
            +
                      command = make_simple_command(:post, 'v2beta1/{+conversation}/suggestions:generate', options)
         | 
| 4151 | 
            +
                      command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest::Representation
         | 
| 4152 | 
            +
                      command.request_object = google_cloud_dialogflow_v2beta1_generate_suggestions_request_object
         | 
| 4153 | 
            +
                      command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse::Representation
         | 
| 4154 | 
            +
                      command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse
         | 
| 4155 | 
            +
                      command.params['conversation'] = conversation unless conversation.nil?
         | 
| 4156 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 4157 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 4158 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 4159 | 
            +
                    end
         | 
| 4160 | 
            +
                    
         | 
| 4124 4161 | 
             
                    # Get answers for the given query based on knowledge documents.
         | 
| 4125 4162 | 
             
                    # @param [String] conversation
         | 
| 4126 4163 | 
             
                    #   Optional. The conversation (between human agent and end user) where the search
         | 
| @@ -4885,6 +4922,9 @@ module Google | |
| 4885 4922 | 
             
                    # Lists information about the supported locations for this service.
         | 
| 4886 4923 | 
             
                    # @param [String] name
         | 
| 4887 4924 | 
             
                    #   The resource that owns the locations collection, if applicable.
         | 
| 4925 | 
            +
                    # @param [Array<String>, String] extra_location_types
         | 
| 4926 | 
            +
                    #   Optional. A list of extra location types that should be used as conditions for
         | 
| 4927 | 
            +
                    #   controlling the visibility of the locations.
         | 
| 4888 4928 | 
             
                    # @param [String] filter
         | 
| 4889 4929 | 
             
                    #   A filter to narrow down results to a preferred subset. The filtering language
         | 
| 4890 4930 | 
             
                    #   accepts strings like `"displayName=tokyo"`, and is documented in more detail
         | 
| @@ -4912,11 +4952,12 @@ module Google | |
| 4912 4952 | 
             
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 4913 4953 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4914 4954 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4915 | 
            -
                    def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4955 | 
            +
                    def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4916 4956 | 
             
                      command = make_simple_command(:get, 'v2beta1/{+name}/locations', options)
         | 
| 4917 4957 | 
             
                      command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudLocationListLocationsResponse::Representation
         | 
| 4918 4958 | 
             
                      command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudLocationListLocationsResponse
         | 
| 4919 4959 | 
             
                      command.params['name'] = name unless name.nil?
         | 
| 4960 | 
            +
                      command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
         | 
| 4920 4961 | 
             
                      command.query['filter'] = filter unless filter.nil?
         | 
| 4921 4962 | 
             
                      command.query['pageSize'] = page_size unless page_size.nil?
         | 
| 4922 4963 | 
             
                      command.query['pageToken'] = page_token unless page_token.nil?
         | 
| @@ -7943,6 +7984,40 @@ module Google | |
| 7943 7984 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 7944 7985 | 
             
                    end
         | 
| 7945 7986 |  | 
| 7987 | 
            +
                    # Data ingestion API. Ingests context references for an existing conversation.
         | 
| 7988 | 
            +
                    # @param [String] conversation
         | 
| 7989 | 
            +
                    #   Required. Resource identifier of the conversation to ingest context
         | 
| 7990 | 
            +
                    #   information for. Format: `projects//locations//conversations/`.
         | 
| 7991 | 
            +
                    # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IngestContextReferencesRequest] google_cloud_dialogflow_v2beta1_ingest_context_references_request_object
         | 
| 7992 | 
            +
                    # @param [String] fields
         | 
| 7993 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 7994 | 
            +
                    # @param [String] quota_user
         | 
| 7995 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 7996 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 7997 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 7998 | 
            +
                    #   Request-specific options
         | 
| 7999 | 
            +
                    #
         | 
| 8000 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 8001 | 
            +
                    # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IngestContextReferencesResponse] parsed result object
         | 
| 8002 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 8003 | 
            +
                    #
         | 
| 8004 | 
            +
                    # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IngestContextReferencesResponse]
         | 
| 8005 | 
            +
                    #
         | 
| 8006 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 8007 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 8008 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 8009 | 
            +
                    def ingest_project_location_conversation_context_references(conversation, google_cloud_dialogflow_v2beta1_ingest_context_references_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 8010 | 
            +
                      command = make_simple_command(:post, 'v2beta1/{+conversation}:ingestContextReferences', options)
         | 
| 8011 | 
            +
                      command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IngestContextReferencesRequest::Representation
         | 
| 8012 | 
            +
                      command.request_object = google_cloud_dialogflow_v2beta1_ingest_context_references_request_object
         | 
| 8013 | 
            +
                      command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IngestContextReferencesResponse::Representation
         | 
| 8014 | 
            +
                      command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IngestContextReferencesResponse
         | 
| 8015 | 
            +
                      command.params['conversation'] = conversation unless conversation.nil?
         | 
| 8016 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 8017 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 8018 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 8019 | 
            +
                    end
         | 
| 8020 | 
            +
                    
         | 
| 7946 8021 | 
             
                    # Returns the list of all conversations in the specified project.
         | 
| 7947 8022 | 
             
                    # @param [String] parent
         | 
| 7948 8023 | 
             
                    #   Required. The project from which to list all conversation. Format: `projects//
         | 
| @@ -8388,6 +8463,43 @@ module Google | |
| 8388 8463 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 8389 8464 | 
             
                    end
         | 
| 8390 8465 |  | 
| 8466 | 
            +
                    # Generates all the suggestions using generators configured in the conversation
         | 
| 8467 | 
            +
                    # profile. A generator is used only if its trigger event is matched.
         | 
| 8468 | 
            +
                    # @param [String] conversation
         | 
| 8469 | 
            +
                    #   Required. The conversation for which the suggestions are generated. Format: `
         | 
| 8470 | 
            +
                    #   projects//locations//conversations/`. The conversation must be created with a
         | 
| 8471 | 
            +
                    #   conversation profile which has generators configured in it to be able to get
         | 
| 8472 | 
            +
                    #   suggestions.
         | 
| 8473 | 
            +
                    # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest] google_cloud_dialogflow_v2beta1_generate_suggestions_request_object
         | 
| 8474 | 
            +
                    # @param [String] fields
         | 
| 8475 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 8476 | 
            +
                    # @param [String] quota_user
         | 
| 8477 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 8478 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 8479 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 8480 | 
            +
                    #   Request-specific options
         | 
| 8481 | 
            +
                    #
         | 
| 8482 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 8483 | 
            +
                    # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse] parsed result object
         | 
| 8484 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 8485 | 
            +
                    #
         | 
| 8486 | 
            +
                    # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse]
         | 
| 8487 | 
            +
                    #
         | 
| 8488 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 8489 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 8490 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 8491 | 
            +
                    def generate_project_location_conversation_suggestion(conversation, google_cloud_dialogflow_v2beta1_generate_suggestions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 8492 | 
            +
                      command = make_simple_command(:post, 'v2beta1/{+conversation}/suggestions:generate', options)
         | 
| 8493 | 
            +
                      command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsRequest::Representation
         | 
| 8494 | 
            +
                      command.request_object = google_cloud_dialogflow_v2beta1_generate_suggestions_request_object
         | 
| 8495 | 
            +
                      command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse::Representation
         | 
| 8496 | 
            +
                      command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse
         | 
| 8497 | 
            +
                      command.params['conversation'] = conversation unless conversation.nil?
         | 
| 8498 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 8499 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 8500 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 8501 | 
            +
                    end
         | 
| 8502 | 
            +
                    
         | 
| 8391 8503 | 
             
                    # Get answers for the given query based on knowledge documents.
         | 
| 8392 8504 | 
             
                    # @param [String] conversation
         | 
| 8393 8505 | 
             
                    #   Optional. The conversation (between human agent and end user) where the search
         | 
    
        metadata
    CHANGED
    
    | @@ -1,13 +1,13 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-apis-dialogflow_v2beta1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.99.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Google LLC
         | 
| 8 8 | 
             
            bindir: bin
         | 
| 9 9 | 
             
            cert_chain: []
         | 
| 10 | 
            -
            date: 2025-03- | 
| 10 | 
            +
            date: 2025-03-30 00:00:00.000000000 Z
         | 
| 11 11 | 
             
            dependencies:
         | 
| 12 12 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 13 13 | 
             
              name: google-apis-core
         | 
| @@ -57,7 +57,7 @@ licenses: | |
| 57 57 | 
             
            metadata:
         | 
| 58 58 | 
             
              bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
         | 
| 59 59 | 
             
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md
         | 
| 60 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0. | 
| 60 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.99.0
         | 
| 61 61 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
         | 
| 62 62 | 
             
            rdoc_options: []
         | 
| 63 63 | 
             
            require_paths:
         |