google-apis-discoveryengine_v1alpha 0.23.0 → 0.24.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ae48a74fb91e4016f1f14a099b5ab249637a087bb27d5d2cf8ac24bcf7365e0
4
- data.tar.gz: 2b44374f6a13ff1b3535ff54ab6bef4efb510105354b98bd68f0f89efbcc58c9
3
+ metadata.gz: e8491e62c4d2ba6efede0bd3af9f48fa11e0449b1419558a5f5f77e874b4dc92
4
+ data.tar.gz: 2c4abb841cfc3214d3f951abbfe53857b11d222f20fafa9e24d4a98795bb0b72
5
5
  SHA512:
6
- metadata.gz: f6382e55ea8efc6c7c6e061042c23a6aad15e8fbb9bd818788c64fe8d75733e19b65831bb88646a7effe3389024e4e920e456af03199ff343b8d59836aa48fa3
7
- data.tar.gz: 8a2a5b4ddbf21154375bec7a712997c6a3ecc7ab5a07354f2a8318810d13fded4c49b540c689f1bca3d649bb682227bd6714216269b4635163b1ddbe3b8c13aa
6
+ metadata.gz: 01f2da54e8a0351473587e41d5a80d7fd149a8b117555e265186ecef2d83f8960b5099c67ae7ba73f67f9052225ad36fbc5d263b63c336ab7ea48809e1a8db28
7
+ data.tar.gz: 2aacb8f70bc7926c229192a2e5fb328af26783bdc3323c64f4cdb1042bf7f0d319415de9fa4322c2a9b06b4771289554cc3a37b6f6c177cf1fc2c80b0d278c5b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1alpha
2
2
 
3
+ ### v0.24.0 (2023-10-15)
4
+
5
+ * Regenerated from discovery document revision 20231003
6
+
3
7
  ### v0.23.0 (2023-10-08)
4
8
 
5
9
  * Regenerated from discovery document revision 20230928
@@ -4510,6 +4510,12 @@ module Google
4510
4510
  attr_accessor :llm_enabled
4511
4511
  alias_method :llm_enabled?, :llm_enabled
4512
4512
 
4513
+ # Output only. Whether the customer accepted data use terms.
4514
+ # Corresponds to the JSON property `minimumDataTermAccepted`
4515
+ # @return [Boolean]
4516
+ attr_accessor :minimum_data_term_accepted
4517
+ alias_method :minimum_data_term_accepted?, :minimum_data_term_accepted
4518
+
4513
4519
  # Immutable. The full resource name of the widget config. Format: `projects/`
4514
4520
  # project`/locations/`location`/collections/`collection_id`/dataStores/`
4515
4521
  # data_store_id`/widgetConfigs/`widget_config_id``. This field must be a UTF-8
@@ -4559,6 +4565,7 @@ module Google
4559
4565
  @facet_field = args[:facet_field] if args.key?(:facet_field)
4560
4566
  @fields_ui_components_map = args[:fields_ui_components_map] if args.key?(:fields_ui_components_map)
4561
4567
  @llm_enabled = args[:llm_enabled] if args.key?(:llm_enabled)
4568
+ @minimum_data_term_accepted = args[:minimum_data_term_accepted] if args.key?(:minimum_data_term_accepted)
4562
4569
  @name = args[:name] if args.key?(:name)
4563
4570
  @result_display_type = args[:result_display_type] if args.key?(:result_display_type)
4564
4571
  @solution_type = args[:solution_type] if args.key?(:solution_type)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1alpha
18
18
  # Version of the google-apis-discoveryengine_v1alpha gem
19
- GEM_VERSION = "0.23.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230928"
25
+ REVISION = "20231003"
26
26
  end
27
27
  end
28
28
  end
@@ -1977,6 +1977,7 @@ module Google
1977
1977
  hash :fields_ui_components_map, as: 'fieldsUiComponentsMap', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigUiComponentField, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigUiComponentField::Representation
1978
1978
 
1979
1979
  property :llm_enabled, as: 'llmEnabled'
1980
+ property :minimum_data_term_accepted, as: 'minimumDataTermAccepted'
1980
1981
  property :name, as: 'name'
1981
1982
  property :result_display_type, as: 'resultDisplayType'
1982
1983
  property :solution_type, as: 'solutionType'
@@ -1703,6 +1703,78 @@ module Google
1703
1703
  execute_or_queue_command(command, &block)
1704
1704
  end
1705
1705
 
1706
+ # Makes a recommendation, which requires a contextual user event.
1707
+ # @param [String] serving_config
1708
+ # Required. Full resource name of the format: `projects/*/locations/global/
1709
+ # collections/*/dataStores/*/servingConfigs/*` Before you can request
1710
+ # recommendations from your model, you must create at least one serving config
1711
+ # for it.
1712
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecommendRequest] google_cloud_discoveryengine_v1alpha_recommend_request_object
1713
+ # @param [String] fields
1714
+ # Selector specifying which fields to include in a partial response.
1715
+ # @param [String] quota_user
1716
+ # Available to use for quota purposes for server-side applications. Can be any
1717
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1718
+ # @param [Google::Apis::RequestOptions] options
1719
+ # Request-specific options
1720
+ #
1721
+ # @yield [result, err] Result & error if block supplied
1722
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecommendResponse] parsed result object
1723
+ # @yieldparam err [StandardError] error object if request failed
1724
+ #
1725
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecommendResponse]
1726
+ #
1727
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1728
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1729
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1730
+ def recommend_project_location_collection_engine_serving_config(serving_config, google_cloud_discoveryengine_v1alpha_recommend_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1731
+ command = make_simple_command(:post, 'v1alpha/{+servingConfig}:recommend', options)
1732
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecommendRequest::Representation
1733
+ command.request_object = google_cloud_discoveryengine_v1alpha_recommend_request_object
1734
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecommendResponse::Representation
1735
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRecommendResponse
1736
+ command.params['servingConfig'] = serving_config unless serving_config.nil?
1737
+ command.query['fields'] = fields unless fields.nil?
1738
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1739
+ execute_or_queue_command(command, &block)
1740
+ end
1741
+
1742
+ # Performs a search.
1743
+ # @param [String] serving_config
1744
+ # Required. The resource name of the Search serving config, such as `projects/*/
1745
+ # locations/global/collections/default_collection/dataStores/default_data_store/
1746
+ # servingConfigs/default_serving_config`. This field is used to identify the
1747
+ # serving configuration name, set of models used to make the search.
1748
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequest] google_cloud_discoveryengine_v1alpha_search_request_object
1749
+ # @param [String] fields
1750
+ # Selector specifying which fields to include in a partial response.
1751
+ # @param [String] quota_user
1752
+ # Available to use for quota purposes for server-side applications. Can be any
1753
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1754
+ # @param [Google::Apis::RequestOptions] options
1755
+ # Request-specific options
1756
+ #
1757
+ # @yield [result, err] Result & error if block supplied
1758
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponse] parsed result object
1759
+ # @yieldparam err [StandardError] error object if request failed
1760
+ #
1761
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponse]
1762
+ #
1763
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1764
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1765
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1766
+ def search_project_location_collection_engine_serving_configs(serving_config, google_cloud_discoveryengine_v1alpha_search_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1767
+ command = make_simple_command(:post, 'v1alpha/{+servingConfig}:search', options)
1768
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequest::Representation
1769
+ command.request_object = google_cloud_discoveryengine_v1alpha_search_request_object
1770
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponse::Representation
1771
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponse
1772
+ command.params['servingConfig'] = serving_config unless serving_config.nil?
1773
+ command.query['fields'] = fields unless fields.nil?
1774
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1775
+ execute_or_queue_command(command, &block)
1776
+ end
1777
+
1706
1778
  # Gets the latest state of a long-running operation. Clients can use this method
1707
1779
  # to poll the operation result at intervals as recommended by the API service.
1708
1780
  # @param [String] name
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-08 00:00:00.000000000 Z
11
+ date: 2023-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.24.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []