google-apis-discoveryengine_v1alpha 0.84.0 → 0.86.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: 1c8f470f3d66b327221425ce5144c40ea78933223fc6fe5267b96c3bccac6b28
4
- data.tar.gz: a10fdc7232d00508f6ce17d85b6a85479051f20facb6d7e136eaeb7b12d1d391
3
+ metadata.gz: '080c6e4e60acd0cc97d4f16ac99c7017f40aa6b77de57f2f78b7a110a71ff475'
4
+ data.tar.gz: f80d74d1896674d68196fe420a740a7592afe68eea514fbc01137c91dba0482f
5
5
  SHA512:
6
- metadata.gz: dcd8a1fa2bdc76d49074638761d4b53b99beeaab4857f4e31e9539ee994f586c0b88ca6f46708d27c86351829b9104ebded307a31daa4aa6aaed9412b126a0df
7
- data.tar.gz: 6f50cb2a60c97bd6e51208235d85a6af77000b77e33e30717c6bd498612fb06e671f807a61edda65d33dfe6c28e1354ca15cad8dc5626713a8396d051150b1eb
6
+ metadata.gz: 2e66fe4a8e7a84fdd8325f3190dbfbb915889f43fa421e0ab6719fb0051c65c893303e004f0e23f0fa5ba4e79132c77b142986610a1792d4b6461a2886d1118d
7
+ data.tar.gz: de5860950d2e3d1b2ae9e7987b30e3c6e038bb4fdd2ffc72fb77fdd7b1714ad02c4c3e7b15c66da6f5660f95407e98f0e79d051a4492fe1035ffe0e63a55c6ba
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-discoveryengine_v1alpha
2
2
 
3
+ ### v0.86.0 (2025-12-14)
4
+
5
+ * Regenerated from discovery document revision 20251209
6
+
7
+ ### v0.85.0 (2025-12-07)
8
+
9
+ * Regenerated from discovery document revision 20251203
10
+
3
11
  ### v0.84.0 (2025-11-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20251116
@@ -2681,6 +2681,11 @@ module Google
2681
2681
  # @return [String]
2682
2682
  attr_accessor :name
2683
2683
 
2684
+ # Configuration for Natural Language Query Understanding.
2685
+ # Corresponds to the JSON property `naturalLanguageQueryUnderstandingConfig`
2686
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig]
2687
+ attr_accessor :natural_language_query_understanding_config
2688
+
2684
2689
  # Stores information regarding the serving configurations at DataStore level.
2685
2690
  # Corresponds to the JSON property `servingConfigDataStore`
2686
2691
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore]
@@ -2727,6 +2732,7 @@ module Google
2727
2732
  @is_infobot_faq_data_store = args[:is_infobot_faq_data_store] if args.key?(:is_infobot_faq_data_store)
2728
2733
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
2729
2734
  @name = args[:name] if args.key?(:name)
2735
+ @natural_language_query_understanding_config = args[:natural_language_query_understanding_config] if args.key?(:natural_language_query_understanding_config)
2730
2736
  @serving_config_data_store = args[:serving_config_data_store] if args.key?(:serving_config_data_store)
2731
2737
  @solution_types = args[:solution_types] if args.key?(:solution_types)
2732
2738
  @starting_schema = args[:starting_schema] if args.key?(:starting_schema)
@@ -3846,6 +3852,14 @@ module Google
3846
3852
  class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig
3847
3853
  include Google::Apis::Core::Hashable
3848
3854
 
3855
+ # Optional. The required subscription tier of this engine. They cannot be
3856
+ # modified after engine creation. If the required subscription tier is search,
3857
+ # user with higher license tier like assist can still access the standalone app
3858
+ # associated with this engine.
3859
+ # Corresponds to the JSON property `requiredSubscriptionTier`
3860
+ # @return [String]
3861
+ attr_accessor :required_subscription_tier
3862
+
3849
3863
  # The add-on that this search engine enables.
3850
3864
  # Corresponds to the JSON property `searchAddOns`
3851
3865
  # @return [Array<String>]
@@ -3864,6 +3878,7 @@ module Google
3864
3878
 
3865
3879
  # Update properties of this object
3866
3880
  def update!(**args)
3881
+ @required_subscription_tier = args[:required_subscription_tier] if args.key?(:required_subscription_tier)
3867
3882
  @search_add_ons = args[:search_add_ons] if args.key?(:search_add_ons)
3868
3883
  @search_tier = args[:search_tier] if args.key?(:search_tier)
3869
3884
  end
@@ -4426,6 +4441,26 @@ module Google
4426
4441
  end
4427
4442
  end
4428
4443
 
4444
+ # Configuration for Natural Language Query Understanding.
4445
+ class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig
4446
+ include Google::Apis::Core::Hashable
4447
+
4448
+ # Mode of Natural Language Query Understanding. If this field is unset, the
4449
+ # behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.
4450
+ # Corresponds to the JSON property `mode`
4451
+ # @return [String]
4452
+ attr_accessor :mode
4453
+
4454
+ def initialize(**args)
4455
+ update!(**args)
4456
+ end
4457
+
4458
+ # Update properties of this object
4459
+ def update!(**args)
4460
+ @mode = args[:mode] if args.key?(:mode)
4461
+ end
4462
+ end
4463
+
4429
4464
  # Metadata and configurations for a Google Cloud project in the service.
4430
4465
  class GoogleCloudDiscoveryengineV1Project
4431
4466
  include Google::Apis::Core::Hashable
@@ -6788,6 +6823,11 @@ module Google
6788
6823
  # @return [String]
6789
6824
  attr_accessor :language_code
6790
6825
 
6826
+ # Stores the definition of a Google managed agent.
6827
+ # Corresponds to the JSON property `managedAgentDefinition`
6828
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition]
6829
+ attr_accessor :managed_agent_definition
6830
+
6791
6831
  # Identifier. Resource name of the agent. Format: `projects/`project`/locations/`
6792
6832
  # location`/collections/`collection`/engines/`engine`/assistants/`assistant`/
6793
6833
  # agents/`agent``
@@ -6845,6 +6885,7 @@ module Google
6845
6885
  @display_name = args[:display_name] if args.key?(:display_name)
6846
6886
  @icon = args[:icon] if args.key?(:icon)
6847
6887
  @language_code = args[:language_code] if args.key?(:language_code)
6888
+ @managed_agent_definition = args[:managed_agent_definition] if args.key?(:managed_agent_definition)
6848
6889
  @name = args[:name] if args.key?(:name)
6849
6890
  @rejection_reason = args[:rejection_reason] if args.key?(:rejection_reason)
6850
6891
  @sharing_config = args[:sharing_config] if args.key?(:sharing_config)
@@ -9323,6 +9364,13 @@ module Google
9323
9364
  # @return [String]
9324
9365
  attr_accessor :description
9325
9366
 
9367
+ # Optional. Indicates whether to disable user location context. By default, user
9368
+ # location context is enabled.
9369
+ # Corresponds to the JSON property `disableLocationContext`
9370
+ # @return [Boolean]
9371
+ attr_accessor :disable_location_context
9372
+ alias_method :disable_location_context?, :disable_location_context
9373
+
9326
9374
  # Required. The assistant display name. It must be a UTF-8 encoded string with a
9327
9375
  # length limit of 128 characters.
9328
9376
  # Corresponds to the JSON property `displayName`
@@ -9367,6 +9415,7 @@ module Google
9367
9415
  def update!(**args)
9368
9416
  @customer_policy = args[:customer_policy] if args.key?(:customer_policy)
9369
9417
  @description = args[:description] if args.key?(:description)
9418
+ @disable_location_context = args[:disable_location_context] if args.key?(:disable_location_context)
9370
9419
  @display_name = args[:display_name] if args.key?(:display_name)
9371
9420
  @enabled_tools = args[:enabled_tools] if args.key?(:enabled_tools)
9372
9421
  @generation_config = args[:generation_config] if args.key?(:generation_config)
@@ -15506,6 +15555,14 @@ module Google
15506
15555
  class GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig
15507
15556
  include Google::Apis::Core::Hashable
15508
15557
 
15558
+ # Optional. The required subscription tier of this engine. They cannot be
15559
+ # modified after engine creation. If the required subscription tier is search,
15560
+ # user with higher license tier like assist can still access the standalone app
15561
+ # associated with this engine.
15562
+ # Corresponds to the JSON property `requiredSubscriptionTier`
15563
+ # @return [String]
15564
+ attr_accessor :required_subscription_tier
15565
+
15509
15566
  # The add-on that this search engine enables.
15510
15567
  # Corresponds to the JSON property `searchAddOns`
15511
15568
  # @return [Array<String>]
@@ -15524,6 +15581,7 @@ module Google
15524
15581
 
15525
15582
  # Update properties of this object
15526
15583
  def update!(**args)
15584
+ @required_subscription_tier = args[:required_subscription_tier] if args.key?(:required_subscription_tier)
15527
15585
  @search_add_ons = args[:search_add_ons] if args.key?(:search_add_ons)
15528
15586
  @search_tier = args[:search_tier] if args.key?(:search_tier)
15529
15587
  end
@@ -16688,6 +16746,11 @@ module Google
16688
16746
  # @return [String]
16689
16747
  attr_accessor :external_identity
16690
16748
 
16749
+ # Optional. The name of the external identity.
16750
+ # Corresponds to the JSON property `externalIdentityName`
16751
+ # @return [String]
16752
+ attr_accessor :external_identity_name
16753
+
16691
16754
  # Group identifier. For Google Workspace user account, group_id should be the
16692
16755
  # google workspace group email. For non-google identity provider, group_id is
16693
16756
  # the mapped group identifier configured during the workforcepool config.
@@ -16709,6 +16772,7 @@ module Google
16709
16772
  # Update properties of this object
16710
16773
  def update!(**args)
16711
16774
  @external_identity = args[:external_identity] if args.key?(:external_identity)
16775
+ @external_identity_name = args[:external_identity_name] if args.key?(:external_identity_name)
16712
16776
  @group_id = args[:group_id] if args.key?(:group_id)
16713
16777
  @user_id = args[:user_id] if args.key?(:user_id)
16714
16778
  end
@@ -18790,6 +18854,19 @@ module Google
18790
18854
  end
18791
18855
  end
18792
18856
 
18857
+ # Stores the definition of a Google managed agent.
18858
+ class GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition
18859
+ include Google::Apis::Core::Hashable
18860
+
18861
+ def initialize(**args)
18862
+ update!(**args)
18863
+ end
18864
+
18865
+ # Update properties of this object
18866
+ def update!(**args)
18867
+ end
18868
+ end
18869
+
18793
18870
  # Media-specific user event information.
18794
18871
  class GoogleCloudDiscoveryengineV1alphaMediaInfo
18795
18872
  include Google::Apis::Core::Hashable
@@ -21608,11 +21685,12 @@ module Google
21608
21685
  # be the same as UserEvent.PageInfo.page_category. This field is the equivalent
21609
21686
  # of the query for browse (navigation) queries. It's used by the browse model
21610
21687
  # when the query is empty. If the field is empty, it will not be used by the
21611
- # browse model. To represent full path of a category, use '>' character to
21612
- # separate different hierarchies. If '>' is part of the category name, replace
21613
- # it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders
21614
- # Edition` where "RTX > 4090" represents one level, can be rewritten as `
21615
- # Graphics Cards > RTX_4090 > Founders Edition`
21688
+ # browse model. If the field contains more than one element, only the first
21689
+ # element will be used. To represent full path of a category, use '>' character
21690
+ # to separate different hierarchies. If '>' is part of the category name,
21691
+ # replace it with other character(s). For example, `Graphics Cards > RTX>4090 >
21692
+ # Founders Edition` where "RTX > 4090" represents one level, can be rewritten as
21693
+ # `Graphics Cards > RTX_4090 > Founders Edition`
21616
21694
  # Corresponds to the JSON property `pageCategories`
21617
21695
  # @return [Array<String>]
21618
21696
  attr_accessor :page_categories
@@ -23046,6 +23124,11 @@ module Google
23046
23124
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion>]
23047
23125
  attr_accessor :search_link_promotions
23048
23126
 
23127
+ # Output only. Indicates the semantic state of the search response.
23128
+ # Corresponds to the JSON property `semanticState`
23129
+ # @return [String]
23130
+ attr_accessor :semantic_state
23131
+
23049
23132
  # Information about the session.
23050
23133
  # Corresponds to the JSON property `sessionInfo`
23051
23134
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo]
@@ -23091,6 +23174,7 @@ module Google
23091
23174
  @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
23092
23175
  @results = args[:results] if args.key?(:results)
23093
23176
  @search_link_promotions = args[:search_link_promotions] if args.key?(:search_link_promotions)
23177
+ @semantic_state = args[:semantic_state] if args.key?(:semantic_state)
23094
23178
  @session_info = args[:session_info] if args.key?(:session_info)
23095
23179
  @suggested_query = args[:suggested_query] if args.key?(:suggested_query)
23096
23180
  @summary = args[:summary] if args.key?(:summary)
@@ -25869,15 +25953,15 @@ module Google
25869
25953
  # @return [String]
25870
25954
  attr_accessor :event_type
25871
25955
 
25872
- # The filter syntax consists of an expression language for constructing a
25873
- # predicate from one or more fields of the documents being filtered. One example
25874
- # is for `search` events, the associated SearchRequest may contain a filter
25875
- # expression in SearchRequest.filter conforming to https://google.aip.dev/160#
25876
- # filtering. Similarly, for `view-item-list` events that are generated from a
25877
- # RecommendRequest, this field may be populated directly from RecommendRequest.
25878
- # filter conforming to https://google.aip.dev/160#filtering. The value must be a
25879
- # UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `
25880
- # INVALID_ARGUMENT` error is returned.
25956
+ # Optional. The filter syntax consists of an expression language for
25957
+ # constructing a predicate from one or more fields of the documents being
25958
+ # filtered. One example is for `search` events, the associated SearchRequest may
25959
+ # contain a filter expression in SearchRequest.filter conforming to https://
25960
+ # google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are
25961
+ # generated from a RecommendRequest, this field may be populated directly from
25962
+ # RecommendRequest.filter conforming to https://google.aip.dev/160#filtering.
25963
+ # The value must be a UTF-8 encoded string with a length limit of 1,000
25964
+ # characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
25881
25965
  # Corresponds to the JSON property `filter`
25882
25966
  # @return [String]
25883
25967
  attr_accessor :filter
@@ -29253,6 +29337,14 @@ module Google
29253
29337
  class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig
29254
29338
  include Google::Apis::Core::Hashable
29255
29339
 
29340
+ # Optional. The required subscription tier of this engine. They cannot be
29341
+ # modified after engine creation. If the required subscription tier is search,
29342
+ # user with higher license tier like assist can still access the standalone app
29343
+ # associated with this engine.
29344
+ # Corresponds to the JSON property `requiredSubscriptionTier`
29345
+ # @return [String]
29346
+ attr_accessor :required_subscription_tier
29347
+
29256
29348
  # The add-on that this search engine enables.
29257
29349
  # Corresponds to the JSON property `searchAddOns`
29258
29350
  # @return [Array<String>]
@@ -29271,6 +29363,7 @@ module Google
29271
29363
 
29272
29364
  # Update properties of this object
29273
29365
  def update!(**args)
29366
+ @required_subscription_tier = args[:required_subscription_tier] if args.key?(:required_subscription_tier)
29274
29367
  @search_add_ons = args[:search_add_ons] if args.key?(:search_add_ons)
29275
29368
  @search_tier = args[:search_tier] if args.key?(:search_tier)
29276
29369
  end
@@ -30885,11 +30978,12 @@ module Google
30885
30978
  # be the same as UserEvent.PageInfo.page_category. This field is the equivalent
30886
30979
  # of the query for browse (navigation) queries. It's used by the browse model
30887
30980
  # when the query is empty. If the field is empty, it will not be used by the
30888
- # browse model. To represent full path of a category, use '>' character to
30889
- # separate different hierarchies. If '>' is part of the category name, replace
30890
- # it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders
30891
- # Edition` where "RTX > 4090" represents one level, can be rewritten as `
30892
- # Graphics Cards > RTX_4090 > Founders Edition`
30981
+ # browse model. If the field contains more than one element, only the first
30982
+ # element will be used. To represent full path of a category, use '>' character
30983
+ # to separate different hierarchies. If '>' is part of the category name,
30984
+ # replace it with other character(s). For example, `Graphics Cards > RTX>4090 >
30985
+ # Founders Edition` where "RTX > 4090" represents one level, can be rewritten as
30986
+ # `Graphics Cards > RTX_4090 > Founders Edition`
30893
30987
  # Corresponds to the JSON property `pageCategories`
30894
30988
  # @return [Array<String>]
30895
30989
  attr_accessor :page_categories
@@ -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.84.0"
19
+ GEM_VERSION = "0.86.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251116"
25
+ REVISION = "20251209"
26
26
  end
27
27
  end
28
28
  end
@@ -700,6 +700,12 @@ module Google
700
700
  include Google::Apis::Core::JsonObjectSupport
701
701
  end
702
702
 
703
+ class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
703
709
  class GoogleCloudDiscoveryengineV1Project
704
710
  class Representation < Google::Apis::Core::JsonRepresentation; end
705
711
 
@@ -3034,6 +3040,12 @@ module Google
3034
3040
  include Google::Apis::Core::JsonObjectSupport
3035
3041
  end
3036
3042
 
3043
+ class GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition
3044
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3045
+
3046
+ include Google::Apis::Core::JsonObjectSupport
3047
+ end
3048
+
3037
3049
  class GoogleCloudDiscoveryengineV1alphaMediaInfo
3038
3050
  class Representation < Google::Apis::Core::JsonRepresentation; end
3039
3051
 
@@ -6201,6 +6213,8 @@ module Google
6201
6213
  property :is_infobot_faq_data_store, as: 'isInfobotFaqDataStore'
6202
6214
  property :kms_key_name, as: 'kmsKeyName'
6203
6215
  property :name, as: 'name'
6216
+ property :natural_language_query_understanding_config, as: 'naturalLanguageQueryUnderstandingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig::Representation
6217
+
6204
6218
  property :serving_config_data_store, as: 'servingConfigDataStore', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore::Representation
6205
6219
 
6206
6220
  collection :solution_types, as: 'solutionTypes'
@@ -6522,6 +6536,7 @@ module Google
6522
6536
  class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig
6523
6537
  # @private
6524
6538
  class Representation < Google::Apis::Core::JsonRepresentation
6539
+ property :required_subscription_tier, as: 'requiredSubscriptionTier'
6525
6540
  collection :search_add_ons, as: 'searchAddOns'
6526
6541
  property :search_tier, as: 'searchTier'
6527
6542
  end
@@ -6683,6 +6698,13 @@ module Google
6683
6698
  end
6684
6699
  end
6685
6700
 
6701
+ class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig
6702
+ # @private
6703
+ class Representation < Google::Apis::Core::JsonRepresentation
6704
+ property :mode, as: 'mode'
6705
+ end
6706
+ end
6707
+
6686
6708
  class GoogleCloudDiscoveryengineV1Project
6687
6709
  # @private
6688
6710
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7285,6 +7307,8 @@ module Google
7285
7307
  property :icon, as: 'icon', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentImage, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentImage::Representation
7286
7308
 
7287
7309
  property :language_code, as: 'languageCode'
7310
+ property :managed_agent_definition, as: 'managedAgentDefinition', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition::Representation
7311
+
7288
7312
  property :name, as: 'name'
7289
7313
  property :rejection_reason, as: 'rejectionReason'
7290
7314
  property :sharing_config, as: 'sharingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentSharingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentSharingConfig::Representation
@@ -8018,6 +8042,7 @@ module Google
8018
8042
  property :customer_policy, as: 'customerPolicy', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy::Representation
8019
8043
 
8020
8044
  property :description, as: 'description'
8045
+ property :disable_location_context, as: 'disableLocationContext'
8021
8046
  property :display_name, as: 'displayName'
8022
8047
  hash :enabled_tools, as: 'enabledTools', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantToolList, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantToolList::Representation
8023
8048
 
@@ -9679,6 +9704,7 @@ module Google
9679
9704
  class GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig
9680
9705
  # @private
9681
9706
  class Representation < Google::Apis::Core::JsonRepresentation
9707
+ property :required_subscription_tier, as: 'requiredSubscriptionTier'
9682
9708
  collection :search_add_ons, as: 'searchAddOns'
9683
9709
  property :search_tier, as: 'searchTier'
9684
9710
  end
@@ -9991,6 +10017,7 @@ module Google
9991
10017
  # @private
9992
10018
  class Representation < Google::Apis::Core::JsonRepresentation
9993
10019
  property :external_identity, as: 'externalIdentity'
10020
+ property :external_identity_name, as: 'externalIdentityName'
9994
10021
  property :group_id, as: 'groupId'
9995
10022
  property :user_id, as: 'userId'
9996
10023
  end
@@ -10660,6 +10687,12 @@ module Google
10660
10687
  end
10661
10688
  end
10662
10689
 
10690
+ class GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition
10691
+ # @private
10692
+ class Representation < Google::Apis::Core::JsonRepresentation
10693
+ end
10694
+ end
10695
+
10663
10696
  class GoogleCloudDiscoveryengineV1alphaMediaInfo
10664
10697
  # @private
10665
10698
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -11744,6 +11777,7 @@ module Google
11744
11777
 
11745
11778
  collection :search_link_promotions, as: 'searchLinkPromotions', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion::Representation
11746
11779
 
11780
+ property :semantic_state, as: 'semanticState'
11747
11781
  property :session_info, as: 'sessionInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo::Representation
11748
11782
 
11749
11783
  property :suggested_query, as: 'suggestedQuery'
@@ -13392,6 +13426,7 @@ module Google
13392
13426
  class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig
13393
13427
  # @private
13394
13428
  class Representation < Google::Apis::Core::JsonRepresentation
13429
+ property :required_subscription_tier, as: 'requiredSubscriptionTier'
13395
13430
  collection :search_add_ons, as: 'searchAddOns'
13396
13431
  property :search_tier, as: 'searchTier'
13397
13432
  end
@@ -3663,6 +3663,39 @@ module Google
3663
3663
  execute_or_queue_command(command, &block)
3664
3664
  end
3665
3665
 
3666
+ # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
3667
+ # not exist.
3668
+ # @param [String] name
3669
+ # Required. The resource name of the ServingConfig to delete. Format: `projects/`
3670
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
3671
+ # servingConfigs/`serving_config_id``
3672
+ # @param [String] fields
3673
+ # Selector specifying which fields to include in a partial response.
3674
+ # @param [String] quota_user
3675
+ # Available to use for quota purposes for server-side applications. Can be any
3676
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3677
+ # @param [Google::Apis::RequestOptions] options
3678
+ # Request-specific options
3679
+ #
3680
+ # @yield [result, err] Result & error if block supplied
3681
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty] parsed result object
3682
+ # @yieldparam err [StandardError] error object if request failed
3683
+ #
3684
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty]
3685
+ #
3686
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3687
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3688
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3689
+ def delete_project_location_collection_data_store_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
3690
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
3691
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty::Representation
3692
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty
3693
+ command.params['name'] = name unless name.nil?
3694
+ command.query['fields'] = fields unless fields.nil?
3695
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3696
+ execute_or_queue_command(command, &block)
3697
+ end
3698
+
3666
3699
  # Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
3667
3700
  # exist.
3668
3701
  # @param [String] name
@@ -5735,6 +5768,11 @@ module Google
5735
5768
  # @param [String] parent
5736
5769
  # Required. The parent resource name. Format: `projects/`project`/locations/`
5737
5770
  # location`/collections/`collection`/engines/`engine`/assistants/`assistant``
5771
+ # @param [Boolean] admin_view
5772
+ # Optional. Indicates whether to consider if the caller is an admin. If set, and
5773
+ # the caller is an admin, the response will consider admin-only permissions.
5774
+ # Otherwise, a caller with admin permissions will get a response as an
5775
+ # unprivileged user.
5738
5776
  # @param [String] agent_origin
5739
5777
  # Optional. The origin of the Agent.
5740
5778
  # @param [String] filter
@@ -5781,11 +5819,12 @@ module Google
5781
5819
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5782
5820
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5783
5821
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5784
- def list_project_location_collection_engine_assistant_available_agent_views(parent, agent_origin: nil, filter: nil, language_code: nil, max_suggested_prompts: nil, page_size: nil, page_token: nil, sort_by: nil, fields: nil, quota_user: nil, options: nil, &block)
5822
+ def list_project_location_collection_engine_assistant_available_agent_views(parent, admin_view: nil, agent_origin: nil, filter: nil, language_code: nil, max_suggested_prompts: nil, page_size: nil, page_token: nil, sort_by: nil, fields: nil, quota_user: nil, options: nil, &block)
5785
5823
  command = make_simple_command(:post, 'v1alpha/{+parent}:listAvailableAgentViews', options)
5786
5824
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse::Representation
5787
5825
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse
5788
5826
  command.params['parent'] = parent unless parent.nil?
5827
+ command.query['adminView'] = admin_view unless admin_view.nil?
5789
5828
  command.query['agentOrigin'] = agent_origin unless agent_origin.nil?
5790
5829
  command.query['filter'] = filter unless filter.nil?
5791
5830
  command.query['languageCode'] = language_code unless language_code.nil?
@@ -6046,6 +6085,11 @@ module Google
6046
6085
  # Required. The name of the Agent to get. Format: `projects/`project`/locations/`
6047
6086
  # location`/collections/`collection`/engines/`engine`/assistants/`assistant`/
6048
6087
  # agents/`agent``
6088
+ # @param [Boolean] admin_view
6089
+ # Optional. Indicates whether to consider if the caller is an admin. If set, and
6090
+ # the caller is an admin, the response will consider admin-only permissions.
6091
+ # Otherwise, a caller with admin permissions will get a response as an
6092
+ # unprivileged user.
6049
6093
  # @param [String] language_code
6050
6094
  # Optional. The UI language currently shown to the user. Specifying this field
6051
6095
  # request that the texts in the AgentView in the response should be translated
@@ -6069,11 +6113,12 @@ module Google
6069
6113
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6070
6114
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6071
6115
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6072
- def get_project_location_collection_engine_assistant_agent_agent_view(name, language_code: nil, max_suggested_prompts: nil, fields: nil, quota_user: nil, options: nil, &block)
6116
+ def get_project_location_collection_engine_assistant_agent_agent_view(name, admin_view: nil, language_code: nil, max_suggested_prompts: nil, fields: nil, quota_user: nil, options: nil, &block)
6073
6117
  command = make_simple_command(:get, 'v1alpha/{+name}:getAgentView', options)
6074
6118
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse::Representation
6075
6119
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse
6076
6120
  command.params['name'] = name unless name.nil?
6121
+ command.query['adminView'] = admin_view unless admin_view.nil?
6077
6122
  command.query['languageCode'] = language_code unless language_code.nil?
6078
6123
  command.query['maxSuggestedPrompts'] = max_suggested_prompts unless max_suggested_prompts.nil?
6079
6124
  command.query['fields'] = fields unless fields.nil?
@@ -7162,6 +7207,39 @@ module Google
7162
7207
  execute_or_queue_command(command, &block)
7163
7208
  end
7164
7209
 
7210
+ # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
7211
+ # not exist.
7212
+ # @param [String] name
7213
+ # Required. The resource name of the ServingConfig to delete. Format: `projects/`
7214
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
7215
+ # servingConfigs/`serving_config_id``
7216
+ # @param [String] fields
7217
+ # Selector specifying which fields to include in a partial response.
7218
+ # @param [String] quota_user
7219
+ # Available to use for quota purposes for server-side applications. Can be any
7220
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7221
+ # @param [Google::Apis::RequestOptions] options
7222
+ # Request-specific options
7223
+ #
7224
+ # @yield [result, err] Result & error if block supplied
7225
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty] parsed result object
7226
+ # @yieldparam err [StandardError] error object if request failed
7227
+ #
7228
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty]
7229
+ #
7230
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7231
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7232
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7233
+ def delete_project_location_collection_engine_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
7234
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
7235
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty::Representation
7236
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty
7237
+ command.params['name'] = name unless name.nil?
7238
+ command.query['fields'] = fields unless fields.nil?
7239
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7240
+ execute_or_queue_command(command, &block)
7241
+ end
7242
+
7165
7243
  # Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
7166
7244
  # exist.
7167
7245
  # @param [String] name
@@ -7635,6 +7713,37 @@ module Google
7635
7713
  execute_or_queue_command(command, &block)
7636
7714
  end
7637
7715
 
7716
+ # Gets the latest state of a long-running operation. Clients can use this method
7717
+ # to poll the operation result at intervals as recommended by the API service.
7718
+ # @param [String] name
7719
+ # The name of the operation resource.
7720
+ # @param [String] fields
7721
+ # Selector specifying which fields to include in a partial response.
7722
+ # @param [String] quota_user
7723
+ # Available to use for quota purposes for server-side applications. Can be any
7724
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7725
+ # @param [Google::Apis::RequestOptions] options
7726
+ # Request-specific options
7727
+ #
7728
+ # @yield [result, err] Result & error if block supplied
7729
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
7730
+ # @yieldparam err [StandardError] error object if request failed
7731
+ #
7732
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
7733
+ #
7734
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7735
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7736
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7737
+ def get_project_location_collection_engine_session_alpha_evolve_experiment_operation(name, fields: nil, quota_user: nil, options: nil, &block)
7738
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
7739
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
7740
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
7741
+ command.params['name'] = name unless name.nil?
7742
+ command.query['fields'] = fields unless fields.nil?
7743
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7744
+ execute_or_queue_command(command, &block)
7745
+ end
7746
+
7638
7747
  # Gets a Answer.
7639
7748
  # @param [String] name
7640
7749
  # Required. The resource name of the Answer to get. Format: `projects/`project`/
@@ -7736,6 +7845,37 @@ module Google
7736
7845
  execute_or_queue_command(command, &block)
7737
7846
  end
7738
7847
 
7848
+ # Gets the latest state of a long-running operation. Clients can use this method
7849
+ # to poll the operation result at intervals as recommended by the API service.
7850
+ # @param [String] name
7851
+ # The name of the operation resource.
7852
+ # @param [String] fields
7853
+ # Selector specifying which fields to include in a partial response.
7854
+ # @param [String] quota_user
7855
+ # Available to use for quota purposes for server-side applications. Can be any
7856
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7857
+ # @param [Google::Apis::RequestOptions] options
7858
+ # Request-specific options
7859
+ #
7860
+ # @yield [result, err] Result & error if block supplied
7861
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
7862
+ # @yieldparam err [StandardError] error object if request failed
7863
+ #
7864
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
7865
+ #
7866
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7867
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7868
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7869
+ def get_project_location_collection_engine_session_operation(name, fields: nil, quota_user: nil, options: nil, &block)
7870
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
7871
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
7872
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
7873
+ command.params['name'] = name unless name.nil?
7874
+ command.query['fields'] = fields unless fields.nil?
7875
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7876
+ execute_or_queue_command(command, &block)
7877
+ end
7878
+
7739
7879
  # Gets a WidgetConfig.
7740
7880
  # @param [String] name
7741
7881
  # Required. Full WidgetConfig resource name. Format: `projects/`project`/
@@ -9836,6 +9976,39 @@ module Google
9836
9976
  execute_or_queue_command(command, &block)
9837
9977
  end
9838
9978
 
9979
+ # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
9980
+ # not exist.
9981
+ # @param [String] name
9982
+ # Required. The resource name of the ServingConfig to delete. Format: `projects/`
9983
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
9984
+ # servingConfigs/`serving_config_id``
9985
+ # @param [String] fields
9986
+ # Selector specifying which fields to include in a partial response.
9987
+ # @param [String] quota_user
9988
+ # Available to use for quota purposes for server-side applications. Can be any
9989
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9990
+ # @param [Google::Apis::RequestOptions] options
9991
+ # Request-specific options
9992
+ #
9993
+ # @yield [result, err] Result & error if block supplied
9994
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty] parsed result object
9995
+ # @yieldparam err [StandardError] error object if request failed
9996
+ #
9997
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty]
9998
+ #
9999
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10000
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10001
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10002
+ def delete_project_location_data_store_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
10003
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
10004
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty::Representation
10005
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty
10006
+ command.params['name'] = name unless name.nil?
10007
+ command.query['fields'] = fields unless fields.nil?
10008
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10009
+ execute_or_queue_command(command, &block)
10010
+ end
10011
+
9839
10012
  # Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
9840
10013
  # exist.
9841
10014
  # @param [String] name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.84.0
4
+ version: 0.86.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -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-discoveryengine_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.84.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.86.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths: