google-apis-discoveryengine_v1beta 0.27.0 → 0.28.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 873c42659dc8bb3d09db30f5be699980866051fd7ab13d0739f8ca3da99a12d4
4
- data.tar.gz: f0ebb0c73892777067cdd771d4af653ad882bb29f30dbd40afd420bae5d957f9
3
+ metadata.gz: 8a3a7f905a2cf4a974dba5d83c9aca64a5401ecc1748c9c9573ba62e581bbcbf
4
+ data.tar.gz: 5efd43e1df5a8f74727fd533a1a8c8f9f206054849e934bcd958063ef2ec9ec4
5
5
  SHA512:
6
- metadata.gz: 8681f059acb830c9c52a203d9753e02019d832fb200b8d55278c9112bb7b8e9a1b2f5131f60ffd872381ccee6d23f6277fb0bee438a0b5ac564ec8d3928bae33
7
- data.tar.gz: e49c7d2070ffcdfeaefdfa71051e3869f5d19cdb8fc4e232cc29d210c9716b5c0e303804aefefca878ba2ac47cd3f7796093db6aa1aa3a29bb83e1d90945a012
6
+ metadata.gz: d8df7bc261909195ca8ee25290dd3c39e73a6e405657d950021511206c4e73120c3c41048a43153ebd4ccd7b5fda495e1691b9f1dcb8a10c1d522327e1ef806c
7
+ data.tar.gz: 11134bf7d0c095eeb7370831e78c2636ac387a6e62015f3b92c5061a21ef980e72d477d7866eae0e0b651cddad4a251b2f3861ac0e35cc17281cc64d4e4c126c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1beta
2
2
 
3
+ ### v0.28.0 (2023-11-19)
4
+
5
+ * Regenerated from discovery document revision 20231110
6
+
3
7
  ### v0.27.0 (2023-11-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20231102
@@ -889,6 +889,14 @@ module Google
889
889
  # @return [String]
890
890
  attr_accessor :display_name
891
891
 
892
+ # The industry vertical that the engine registers. The restriction of the Engine
893
+ # industry vertical is based on DataStore: If unspecified, default to `GENERIC`.
894
+ # Vertical on Engine has to match vertical of the DataStore liniked to the
895
+ # engine.
896
+ # Corresponds to the JSON property `industryVertical`
897
+ # @return [String]
898
+ attr_accessor :industry_vertical
899
+
892
900
  # Additional config specs for a Media Recommendation engine.
893
901
  # Corresponds to the JSON property `mediaRecommendationEngineConfig`
894
902
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig]
@@ -940,6 +948,7 @@ module Google
940
948
  @create_time = args[:create_time] if args.key?(:create_time)
941
949
  @data_store_ids = args[:data_store_ids] if args.key?(:data_store_ids)
942
950
  @display_name = args[:display_name] if args.key?(:display_name)
951
+ @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
943
952
  @media_recommendation_engine_config = args[:media_recommendation_engine_config] if args.key?(:media_recommendation_engine_config)
944
953
  @name = args[:name] if args.key?(:name)
945
954
  @recommendation_metadata = args[:recommendation_metadata] if args.key?(:recommendation_metadata)
@@ -956,8 +965,8 @@ module Google
956
965
 
957
966
  # Configurations for generating a Dialogflow agent. Note that these
958
967
  # configurations are one-time consumed by and passed to Dialogflow service. It
959
- # means they cannot be retrieved using GetEngine or ListEngine API after engine
960
- # creation.
968
+ # means they cannot be retrieved using EngineService.GetEngine or EngineService.
969
+ # ListEngines API after engine creation.
961
970
  # Corresponds to the JSON property `agentCreationConfig`
962
971
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig]
963
972
  attr_accessor :agent_creation_config
@@ -967,9 +976,9 @@ module Google
967
976
  # provide an agent name that links the agent with the Chat engine. Format: `
968
977
  # projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are
969
978
  # one-time consumed by and passed to Dialogflow service. It means they cannot be
970
- # retrieved using GetEngine or ListEngine API after engine creation. Please use
971
- # Engine.chat_engine_metadata.dialogflow_agent for actual agent association
972
- # after Engine is created.
979
+ # retrieved using EngineService.GetEngine or EngineService.ListEngines API after
980
+ # engine creation. Please use chat_engine_metadata.dialogflow_agent for actual
981
+ # agent association after Engine is created.
973
982
  # Corresponds to the JSON property `dialogflowAgentToLink`
974
983
  # @return [String]
975
984
  attr_accessor :dialogflow_agent_to_link
@@ -987,8 +996,8 @@ module Google
987
996
 
988
997
  # Configurations for generating a Dialogflow agent. Note that these
989
998
  # configurations are one-time consumed by and passed to Dialogflow service. It
990
- # means they cannot be retrieved using GetEngine or ListEngine API after engine
991
- # creation.
999
+ # means they cannot be retrieved using EngineService.GetEngine or EngineService.
1000
+ # ListEngines API after engine creation.
992
1001
  class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig
993
1002
  include Google::Apis::Core::Hashable
994
1003
 
@@ -3664,6 +3673,18 @@ module Google
3664
3673
  # @return [String]
3665
3674
  attr_accessor :branch
3666
3675
 
3676
+ # The default filter that is applied when a user performs a search without
3677
+ # checking any filters on the search page. The filter applied to every search
3678
+ # request when quality improvement such as query expansion is needed. In the
3679
+ # case a query does not have a sufficient amount of results this filter will be
3680
+ # used to determine whether or not to enable the query expansion flow. The
3681
+ # original filter will still be used for the query expanded search. This field
3682
+ # is strongly recommended to achieve high search quality. For more information
3683
+ # about filter syntax, see SearchRequest.filter.
3684
+ # Corresponds to the JSON property `canonicalFilter`
3685
+ # @return [String]
3686
+ attr_accessor :canonical_filter
3687
+
3667
3688
  # A specification for configuring the behavior of content search.
3668
3689
  # Corresponds to the JSON property `contentSearchSpec`
3669
3690
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec]
@@ -3822,6 +3843,7 @@ module Google
3822
3843
  def update!(**args)
3823
3844
  @boost_spec = args[:boost_spec] if args.key?(:boost_spec)
3824
3845
  @branch = args[:branch] if args.key?(:branch)
3846
+ @canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
3825
3847
  @content_search_spec = args[:content_search_spec] if args.key?(:content_search_spec)
3826
3848
  @embedding_spec = args[:embedding_spec] if args.key?(:embedding_spec)
3827
3849
  @facet_specs = args[:facet_specs] if args.key?(:facet_specs)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1beta
18
18
  # Version of the google-apis-discoveryengine_v1beta gem
19
- GEM_VERSION = "0.27.0"
19
+ GEM_VERSION = "0.28.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 = "20231102"
25
+ REVISION = "20231110"
26
26
  end
27
27
  end
28
28
  end
@@ -1067,6 +1067,7 @@ module Google
1067
1067
  property :create_time, as: 'createTime'
1068
1068
  collection :data_store_ids, as: 'dataStoreIds'
1069
1069
  property :display_name, as: 'displayName'
1070
+ property :industry_vertical, as: 'industryVertical'
1070
1071
  property :media_recommendation_engine_config, as: 'mediaRecommendationEngineConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig::Representation
1071
1072
 
1072
1073
  property :name, as: 'name'
@@ -1803,6 +1804,7 @@ module Google
1803
1804
  property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec::Representation
1804
1805
 
1805
1806
  property :branch, as: 'branch'
1807
+ property :canonical_filter, as: 'canonicalFilter'
1806
1808
  property :content_search_spec, as: 'contentSearchSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec::Representation
1807
1809
 
1808
1810
  property :embedding_spec, as: 'embeddingSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec::Representation
@@ -49,6 +49,77 @@ module Google
49
49
  @batch_path = 'batch'
50
50
  end
51
51
 
52
+ # Gets the latest state of a long-running operation. Clients can use this method
53
+ # to poll the operation result at intervals as recommended by the API service.
54
+ # @param [String] name
55
+ # The name of the operation resource.
56
+ # @param [String] fields
57
+ # Selector specifying which fields to include in a partial response.
58
+ # @param [String] quota_user
59
+ # Available to use for quota purposes for server-side applications. Can be any
60
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
61
+ # @param [Google::Apis::RequestOptions] options
62
+ # Request-specific options
63
+ #
64
+ # @yield [result, err] Result & error if block supplied
65
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation] parsed result object
66
+ # @yieldparam err [StandardError] error object if request failed
67
+ #
68
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation]
69
+ #
70
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
71
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
72
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
73
+ def get_project_location_collection_data_connector_operation(name, fields: nil, quota_user: nil, options: nil, &block)
74
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
75
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
76
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation
77
+ command.params['name'] = name unless name.nil?
78
+ command.query['fields'] = fields unless fields.nil?
79
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
80
+ execute_or_queue_command(command, &block)
81
+ end
82
+
83
+ # Lists operations that match the specified filter in the request. If the server
84
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
85
+ # @param [String] name
86
+ # The name of the operation's parent resource.
87
+ # @param [String] filter
88
+ # The standard list filter.
89
+ # @param [Fixnum] page_size
90
+ # The standard list page size.
91
+ # @param [String] page_token
92
+ # The standard list page token.
93
+ # @param [String] fields
94
+ # Selector specifying which fields to include in a partial response.
95
+ # @param [String] quota_user
96
+ # Available to use for quota purposes for server-side applications. Can be any
97
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
98
+ # @param [Google::Apis::RequestOptions] options
99
+ # Request-specific options
100
+ #
101
+ # @yield [result, err] Result & error if block supplied
102
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse] parsed result object
103
+ # @yieldparam err [StandardError] error object if request failed
104
+ #
105
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse]
106
+ #
107
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
108
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
109
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
110
+ def list_project_location_collection_data_connector_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
111
+ command = make_simple_command(:get, 'v1beta/{+name}/operations', options)
112
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse::Representation
113
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse
114
+ command.params['name'] = name unless name.nil?
115
+ command.query['filter'] = filter unless filter.nil?
116
+ command.query['pageSize'] = page_size unless page_size.nil?
117
+ command.query['pageToken'] = page_token unless page_token.nil?
118
+ command.query['fields'] = fields unless fields.nil?
119
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
120
+ execute_or_queue_command(command, &block)
121
+ end
122
+
52
123
  # Completes the specified user input with keyword suggestions.
53
124
  # @param [String] data_store
54
125
  # Required. The parent data store resource name for which the completion is
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.0
4
+ version: 0.28.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-11-12 00:00:00.000000000 Z
11
+ date: 2023-11-19 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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.28.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []