google-apis-discoveryengine_v1alpha 0.27.0 → 0.28.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: ab1684c3cb5359758af86622dd69fbe21e97befe37486ee697c0c67a907cc80a
4
- data.tar.gz: b1d2ce81e9517dc9869a57df8fd646471d0af46298f7a8c294528fbcd965ad97
3
+ metadata.gz: 93e7fbde1650e01e4ec7c2d189af03d7fad06162c86f9b02115e2f359b97a7cb
4
+ data.tar.gz: 45fec082dd8087b5140581b0efedd56e54cdaa4f6b8c7b792b1fc18c55380881
5
5
  SHA512:
6
- metadata.gz: 25cac6fc1b775d5d8de22f8ee08cd46d07502363ac50a3d891faaddaff4af231a6a3274b549635016008b928451446f260f058ca0ff00c6f1af82a97d658ef6f
7
- data.tar.gz: 1f69a2bcbcc98cf8a830e74c6000a3828850a6c3d36e0074c112a714d0eefd637acae74d1a28f99680206d9a3a7b17a8cb67abefe0ac05fdfe89038ce56f903c
6
+ metadata.gz: b700adf161cf5a47b2d9943bc7f423915e54d44247d8ad23785db7121aa6fcffb49a9fa72e42c19fc4f19db25daedd4462a52fa096777ea98ccbc2fb40cc21ee
7
+ data.tar.gz: f2aead65d4df0a71b408fdeb8e79e7fe1a3e6e4112cdcbf8040da632828e97cb4d304c67be0ee6f163b2b45fe80dc429fb0432cd171cbe3745d6696a3af460fd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1alpha
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
@@ -1559,6 +1559,14 @@ module Google
1559
1559
  # @return [String]
1560
1560
  attr_accessor :display_name
1561
1561
 
1562
+ # The industry vertical that the engine registers. The restriction of the Engine
1563
+ # industry vertical is based on DataStore: If unspecified, default to `GENERIC`.
1564
+ # Vertical on Engine has to match vertical of the DataStore liniked to the
1565
+ # engine.
1566
+ # Corresponds to the JSON property `industryVertical`
1567
+ # @return [String]
1568
+ attr_accessor :industry_vertical
1569
+
1562
1570
  # Additional config specs for a Media Recommendation engine.
1563
1571
  # Corresponds to the JSON property `mediaRecommendationEngineConfig`
1564
1572
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig]
@@ -1610,6 +1618,7 @@ module Google
1610
1618
  @create_time = args[:create_time] if args.key?(:create_time)
1611
1619
  @data_store_ids = args[:data_store_ids] if args.key?(:data_store_ids)
1612
1620
  @display_name = args[:display_name] if args.key?(:display_name)
1621
+ @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
1613
1622
  @media_recommendation_engine_config = args[:media_recommendation_engine_config] if args.key?(:media_recommendation_engine_config)
1614
1623
  @name = args[:name] if args.key?(:name)
1615
1624
  @recommendation_metadata = args[:recommendation_metadata] if args.key?(:recommendation_metadata)
@@ -1626,8 +1635,8 @@ module Google
1626
1635
 
1627
1636
  # Configurations for generating a Dialogflow agent. Note that these
1628
1637
  # configurations are one-time consumed by and passed to Dialogflow service. It
1629
- # means they cannot be retrieved using GetEngine or ListEngine API after engine
1630
- # creation.
1638
+ # means they cannot be retrieved using EngineService.GetEngine or EngineService.
1639
+ # ListEngines API after engine creation.
1631
1640
  # Corresponds to the JSON property `agentCreationConfig`
1632
1641
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig]
1633
1642
  attr_accessor :agent_creation_config
@@ -1637,9 +1646,9 @@ module Google
1637
1646
  # provide an agent name that links the agent with the Chat engine. Format: `
1638
1647
  # projects//locations//agents/`. Note that the `dialogflow_agent_to_link` are
1639
1648
  # one-time consumed by and passed to Dialogflow service. It means they cannot be
1640
- # retrieved using GetEngine or ListEngine API after engine creation. Please use
1641
- # Engine.chat_engine_metadata.dialogflow_agent for actual agent association
1642
- # after Engine is created.
1649
+ # retrieved using EngineService.GetEngine or EngineService.ListEngines API after
1650
+ # engine creation. Please use chat_engine_metadata.dialogflow_agent for actual
1651
+ # agent association after Engine is created.
1643
1652
  # Corresponds to the JSON property `dialogflowAgentToLink`
1644
1653
  # @return [String]
1645
1654
  attr_accessor :dialogflow_agent_to_link
@@ -1657,8 +1666,8 @@ module Google
1657
1666
 
1658
1667
  # Configurations for generating a Dialogflow agent. Note that these
1659
1668
  # configurations are one-time consumed by and passed to Dialogflow service. It
1660
- # means they cannot be retrieved using GetEngine or ListEngine API after engine
1661
- # creation.
1669
+ # means they cannot be retrieved using EngineService.GetEngine or EngineService.
1670
+ # ListEngines API after engine creation.
1662
1671
  class GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfigAgentCreationConfig
1663
1672
  include Google::Apis::Core::Hashable
1664
1673
 
@@ -3420,6 +3429,18 @@ module Google
3420
3429
  # @return [String]
3421
3430
  attr_accessor :branch
3422
3431
 
3432
+ # The default filter that is applied when a user performs a search without
3433
+ # checking any filters on the search page. The filter applied to every search
3434
+ # request when quality improvement such as query expansion is needed. In the
3435
+ # case a query does not have a sufficient amount of results this filter will be
3436
+ # used to determine whether or not to enable the query expansion flow. The
3437
+ # original filter will still be used for the query expanded search. This field
3438
+ # is strongly recommended to achieve high search quality. For more information
3439
+ # about filter syntax, see SearchRequest.filter.
3440
+ # Corresponds to the JSON property `canonicalFilter`
3441
+ # @return [String]
3442
+ attr_accessor :canonical_filter
3443
+
3423
3444
  # A specification for configuring the behavior of content search.
3424
3445
  # Corresponds to the JSON property `contentSearchSpec`
3425
3446
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec]
@@ -3588,6 +3609,7 @@ module Google
3588
3609
  def update!(**args)
3589
3610
  @boost_spec = args[:boost_spec] if args.key?(:boost_spec)
3590
3611
  @branch = args[:branch] if args.key?(:branch)
3612
+ @canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
3591
3613
  @content_search_spec = args[:content_search_spec] if args.key?(:content_search_spec)
3592
3614
  @embedding_spec = args[:embedding_spec] if args.key?(:embedding_spec)
3593
3615
  @facet_specs = args[:facet_specs] if args.key?(:facet_specs)
@@ -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.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
@@ -1360,6 +1360,7 @@ module Google
1360
1360
  property :create_time, as: 'createTime'
1361
1361
  collection :data_store_ids, as: 'dataStoreIds'
1362
1362
  property :display_name, as: 'displayName'
1363
+ property :industry_vertical, as: 'industryVertical'
1363
1364
  property :media_recommendation_engine_config, as: 'mediaRecommendationEngineConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig::Representation
1364
1365
 
1365
1366
  property :name, as: 'name'
@@ -1856,6 +1857,7 @@ module Google
1856
1857
  property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec::Representation
1857
1858
 
1858
1859
  property :branch, as: 'branch'
1860
+ property :canonical_filter, as: 'canonicalFilter'
1859
1861
  property :content_search_spec, as: 'contentSearchSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec::Representation
1860
1862
 
1861
1863
  property :embedding_spec, as: 'embeddingSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec::Representation
@@ -190,6 +190,77 @@ module Google
190
190
  execute_or_queue_command(command, &block)
191
191
  end
192
192
 
193
+ # Gets the latest state of a long-running operation. Clients can use this method
194
+ # to poll the operation result at intervals as recommended by the API service.
195
+ # @param [String] name
196
+ # The name of the operation resource.
197
+ # @param [String] fields
198
+ # Selector specifying which fields to include in a partial response.
199
+ # @param [String] quota_user
200
+ # Available to use for quota purposes for server-side applications. Can be any
201
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
202
+ # @param [Google::Apis::RequestOptions] options
203
+ # Request-specific options
204
+ #
205
+ # @yield [result, err] Result & error if block supplied
206
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
207
+ # @yieldparam err [StandardError] error object if request failed
208
+ #
209
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
210
+ #
211
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
212
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
213
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
214
+ def get_project_location_collection_data_connector_operation(name, fields: nil, quota_user: nil, options: nil, &block)
215
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
216
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
217
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
218
+ command.params['name'] = name unless name.nil?
219
+ command.query['fields'] = fields unless fields.nil?
220
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
221
+ execute_or_queue_command(command, &block)
222
+ end
223
+
224
+ # Lists operations that match the specified filter in the request. If the server
225
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
226
+ # @param [String] name
227
+ # The name of the operation's parent resource.
228
+ # @param [String] filter
229
+ # The standard list filter.
230
+ # @param [Fixnum] page_size
231
+ # The standard list page size.
232
+ # @param [String] page_token
233
+ # The standard list page token.
234
+ # @param [String] fields
235
+ # Selector specifying which fields to include in a partial response.
236
+ # @param [String] quota_user
237
+ # Available to use for quota purposes for server-side applications. Can be any
238
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
239
+ # @param [Google::Apis::RequestOptions] options
240
+ # Request-specific options
241
+ #
242
+ # @yield [result, err] Result & error if block supplied
243
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse] parsed result object
244
+ # @yieldparam err [StandardError] error object if request failed
245
+ #
246
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse]
247
+ #
248
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
249
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
250
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
251
+ 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)
252
+ command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
253
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
254
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse
255
+ command.params['name'] = name unless name.nil?
256
+ command.query['filter'] = filter unless filter.nil?
257
+ command.query['pageSize'] = page_size unless page_size.nil?
258
+ command.query['pageToken'] = page_token unless page_token.nil?
259
+ command.query['fields'] = fields unless fields.nil?
260
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
261
+ execute_or_queue_command(command, &block)
262
+ end
263
+
193
264
  # Completes the specified user input with keyword suggestions.
194
265
  # @param [String] data_store
195
266
  # Required. The parent data store resource name for which the completion is
@@ -1899,18 +1970,18 @@ module Google
1899
1970
  # Request-specific options
1900
1971
  #
1901
1972
  # @yield [result, err] Result & error if block supplied
1902
- # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty] parsed result object
1973
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
1903
1974
  # @yieldparam err [StandardError] error object if request failed
1904
1975
  #
1905
- # @return [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty]
1976
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
1906
1977
  #
1907
1978
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1908
1979
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1909
1980
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1910
1981
  def delete_project_location_collection_engine(name, fields: nil, quota_user: nil, options: nil, &block)
1911
1982
  command = make_simple_command(:delete, 'v1alpha/{+name}', options)
1912
- command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty::Representation
1913
- command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty
1983
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
1984
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
1914
1985
  command.params['name'] = name unless name.nil?
1915
1986
  command.query['fields'] = fields unless fields.nil?
1916
1987
  command.query['quotaUser'] = quota_user unless quota_user.nil?
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.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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.27.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.28.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: []