google-apis-discoveryengine_v1alpha 0.84.0 → 0.85.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: 2aad08dcb301c5b01f6d16b75e53c0af92b0c865c58036691f82037e1fafb21b
4
+ data.tar.gz: 00eb91799fe72ff6f6991ad6bbc4e6a5a1bc73d50151e6a5c979901733c1eecd
5
5
  SHA512:
6
- metadata.gz: dcd8a1fa2bdc76d49074638761d4b53b99beeaab4857f4e31e9539ee994f586c0b88ca6f46708d27c86351829b9104ebded307a31daa4aa6aaed9412b126a0df
7
- data.tar.gz: 6f50cb2a60c97bd6e51208235d85a6af77000b77e33e30717c6bd498612fb06e671f807a61edda65d33dfe6c28e1354ca15cad8dc5626713a8396d051150b1eb
6
+ metadata.gz: 0d6f58fc0bd61c34b4be1d4cff5119eedcae2820bf4b91f3fcde885e3a2a0cca38da4fb86cbbd003c2be34d2592f0eab55cc98c8cbdfcd47a1e253183a526ef1
7
+ data.tar.gz: b28e634aa3e0872e0107ee5c708c652b2c1515382d425b12f80b3a65ec13fca23fafdc39827d3b2ec38515b0af71c86101b441cf73cd2d8eacb3a2a81550dfe3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1alpha
2
2
 
3
+ ### v0.85.0 (2025-12-07)
4
+
5
+ * Regenerated from discovery document revision 20251203
6
+
3
7
  ### v0.84.0 (2025-11-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20251116
@@ -3846,6 +3846,14 @@ module Google
3846
3846
  class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig
3847
3847
  include Google::Apis::Core::Hashable
3848
3848
 
3849
+ # Optional. The required subscription tier of this engine. They cannot be
3850
+ # modified after engine creation. If the required subscription tier is search,
3851
+ # user with higher license tier like assist can still access the standalone app
3852
+ # associated with this engine.
3853
+ # Corresponds to the JSON property `requiredSubscriptionTier`
3854
+ # @return [String]
3855
+ attr_accessor :required_subscription_tier
3856
+
3849
3857
  # The add-on that this search engine enables.
3850
3858
  # Corresponds to the JSON property `searchAddOns`
3851
3859
  # @return [Array<String>]
@@ -3864,6 +3872,7 @@ module Google
3864
3872
 
3865
3873
  # Update properties of this object
3866
3874
  def update!(**args)
3875
+ @required_subscription_tier = args[:required_subscription_tier] if args.key?(:required_subscription_tier)
3867
3876
  @search_add_ons = args[:search_add_ons] if args.key?(:search_add_ons)
3868
3877
  @search_tier = args[:search_tier] if args.key?(:search_tier)
3869
3878
  end
@@ -9323,6 +9332,13 @@ module Google
9323
9332
  # @return [String]
9324
9333
  attr_accessor :description
9325
9334
 
9335
+ # Optional. Indicates whether to disable user location context. By default, user
9336
+ # location context is enabled.
9337
+ # Corresponds to the JSON property `disableLocationContext`
9338
+ # @return [Boolean]
9339
+ attr_accessor :disable_location_context
9340
+ alias_method :disable_location_context?, :disable_location_context
9341
+
9326
9342
  # Required. The assistant display name. It must be a UTF-8 encoded string with a
9327
9343
  # length limit of 128 characters.
9328
9344
  # Corresponds to the JSON property `displayName`
@@ -9367,6 +9383,7 @@ module Google
9367
9383
  def update!(**args)
9368
9384
  @customer_policy = args[:customer_policy] if args.key?(:customer_policy)
9369
9385
  @description = args[:description] if args.key?(:description)
9386
+ @disable_location_context = args[:disable_location_context] if args.key?(:disable_location_context)
9370
9387
  @display_name = args[:display_name] if args.key?(:display_name)
9371
9388
  @enabled_tools = args[:enabled_tools] if args.key?(:enabled_tools)
9372
9389
  @generation_config = args[:generation_config] if args.key?(:generation_config)
@@ -15506,6 +15523,14 @@ module Google
15506
15523
  class GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig
15507
15524
  include Google::Apis::Core::Hashable
15508
15525
 
15526
+ # Optional. The required subscription tier of this engine. They cannot be
15527
+ # modified after engine creation. If the required subscription tier is search,
15528
+ # user with higher license tier like assist can still access the standalone app
15529
+ # associated with this engine.
15530
+ # Corresponds to the JSON property `requiredSubscriptionTier`
15531
+ # @return [String]
15532
+ attr_accessor :required_subscription_tier
15533
+
15509
15534
  # The add-on that this search engine enables.
15510
15535
  # Corresponds to the JSON property `searchAddOns`
15511
15536
  # @return [Array<String>]
@@ -15524,6 +15549,7 @@ module Google
15524
15549
 
15525
15550
  # Update properties of this object
15526
15551
  def update!(**args)
15552
+ @required_subscription_tier = args[:required_subscription_tier] if args.key?(:required_subscription_tier)
15527
15553
  @search_add_ons = args[:search_add_ons] if args.key?(:search_add_ons)
15528
15554
  @search_tier = args[:search_tier] if args.key?(:search_tier)
15529
15555
  end
@@ -16688,6 +16714,11 @@ module Google
16688
16714
  # @return [String]
16689
16715
  attr_accessor :external_identity
16690
16716
 
16717
+ # Optional. The name of the external identity.
16718
+ # Corresponds to the JSON property `externalIdentityName`
16719
+ # @return [String]
16720
+ attr_accessor :external_identity_name
16721
+
16691
16722
  # Group identifier. For Google Workspace user account, group_id should be the
16692
16723
  # google workspace group email. For non-google identity provider, group_id is
16693
16724
  # the mapped group identifier configured during the workforcepool config.
@@ -16709,6 +16740,7 @@ module Google
16709
16740
  # Update properties of this object
16710
16741
  def update!(**args)
16711
16742
  @external_identity = args[:external_identity] if args.key?(:external_identity)
16743
+ @external_identity_name = args[:external_identity_name] if args.key?(:external_identity_name)
16712
16744
  @group_id = args[:group_id] if args.key?(:group_id)
16713
16745
  @user_id = args[:user_id] if args.key?(:user_id)
16714
16746
  end
@@ -23046,6 +23078,11 @@ module Google
23046
23078
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion>]
23047
23079
  attr_accessor :search_link_promotions
23048
23080
 
23081
+ # Output only. Indicates the semantic state of the search response.
23082
+ # Corresponds to the JSON property `semanticState`
23083
+ # @return [String]
23084
+ attr_accessor :semantic_state
23085
+
23049
23086
  # Information about the session.
23050
23087
  # Corresponds to the JSON property `sessionInfo`
23051
23088
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo]
@@ -23091,6 +23128,7 @@ module Google
23091
23128
  @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
23092
23129
  @results = args[:results] if args.key?(:results)
23093
23130
  @search_link_promotions = args[:search_link_promotions] if args.key?(:search_link_promotions)
23131
+ @semantic_state = args[:semantic_state] if args.key?(:semantic_state)
23094
23132
  @session_info = args[:session_info] if args.key?(:session_info)
23095
23133
  @suggested_query = args[:suggested_query] if args.key?(:suggested_query)
23096
23134
  @summary = args[:summary] if args.key?(:summary)
@@ -29253,6 +29291,14 @@ module Google
29253
29291
  class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig
29254
29292
  include Google::Apis::Core::Hashable
29255
29293
 
29294
+ # Optional. The required subscription tier of this engine. They cannot be
29295
+ # modified after engine creation. If the required subscription tier is search,
29296
+ # user with higher license tier like assist can still access the standalone app
29297
+ # associated with this engine.
29298
+ # Corresponds to the JSON property `requiredSubscriptionTier`
29299
+ # @return [String]
29300
+ attr_accessor :required_subscription_tier
29301
+
29256
29302
  # The add-on that this search engine enables.
29257
29303
  # Corresponds to the JSON property `searchAddOns`
29258
29304
  # @return [Array<String>]
@@ -29271,6 +29317,7 @@ module Google
29271
29317
 
29272
29318
  # Update properties of this object
29273
29319
  def update!(**args)
29320
+ @required_subscription_tier = args[:required_subscription_tier] if args.key?(:required_subscription_tier)
29274
29321
  @search_add_ons = args[:search_add_ons] if args.key?(:search_add_ons)
29275
29322
  @search_tier = args[:search_tier] if args.key?(:search_tier)
29276
29323
  end
@@ -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.85.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 = "20251203"
26
26
  end
27
27
  end
28
28
  end
@@ -6522,6 +6522,7 @@ module Google
6522
6522
  class GoogleCloudDiscoveryengineV1EngineSearchEngineConfig
6523
6523
  # @private
6524
6524
  class Representation < Google::Apis::Core::JsonRepresentation
6525
+ property :required_subscription_tier, as: 'requiredSubscriptionTier'
6525
6526
  collection :search_add_ons, as: 'searchAddOns'
6526
6527
  property :search_tier, as: 'searchTier'
6527
6528
  end
@@ -8018,6 +8019,7 @@ module Google
8018
8019
  property :customer_policy, as: 'customerPolicy', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy::Representation
8019
8020
 
8020
8021
  property :description, as: 'description'
8022
+ property :disable_location_context, as: 'disableLocationContext'
8021
8023
  property :display_name, as: 'displayName'
8022
8024
  hash :enabled_tools, as: 'enabledTools', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantToolList, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantToolList::Representation
8023
8025
 
@@ -9679,6 +9681,7 @@ module Google
9679
9681
  class GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig
9680
9682
  # @private
9681
9683
  class Representation < Google::Apis::Core::JsonRepresentation
9684
+ property :required_subscription_tier, as: 'requiredSubscriptionTier'
9682
9685
  collection :search_add_ons, as: 'searchAddOns'
9683
9686
  property :search_tier, as: 'searchTier'
9684
9687
  end
@@ -9991,6 +9994,7 @@ module Google
9991
9994
  # @private
9992
9995
  class Representation < Google::Apis::Core::JsonRepresentation
9993
9996
  property :external_identity, as: 'externalIdentity'
9997
+ property :external_identity_name, as: 'externalIdentityName'
9994
9998
  property :group_id, as: 'groupId'
9995
9999
  property :user_id, as: 'userId'
9996
10000
  end
@@ -11744,6 +11748,7 @@ module Google
11744
11748
 
11745
11749
  collection :search_link_promotions, as: 'searchLinkPromotions', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion::Representation
11746
11750
 
11751
+ property :semantic_state, as: 'semanticState'
11747
11752
  property :session_info, as: 'sessionInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo::Representation
11748
11753
 
11749
11754
  property :suggested_query, as: 'suggestedQuery'
@@ -13392,6 +13397,7 @@ module Google
13392
13397
  class GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig
13393
13398
  # @private
13394
13399
  class Representation < Google::Apis::Core::JsonRepresentation
13400
+ property :required_subscription_tier, as: 'requiredSubscriptionTier'
13395
13401
  collection :search_add_ons, as: 'searchAddOns'
13396
13402
  property :search_tier, as: 'searchTier'
13397
13403
  end
@@ -5735,6 +5735,11 @@ module Google
5735
5735
  # @param [String] parent
5736
5736
  # Required. The parent resource name. Format: `projects/`project`/locations/`
5737
5737
  # location`/collections/`collection`/engines/`engine`/assistants/`assistant``
5738
+ # @param [Boolean] admin_view
5739
+ # Optional. Indicates whether to consider if the caller is an admin. If set, and
5740
+ # the caller is an admin, the response will consider admin-only permissions.
5741
+ # Otherwise, a caller with admin permissions will get a response as an
5742
+ # unprivileged user.
5738
5743
  # @param [String] agent_origin
5739
5744
  # Optional. The origin of the Agent.
5740
5745
  # @param [String] filter
@@ -5781,11 +5786,12 @@ module Google
5781
5786
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5782
5787
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5783
5788
  # @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)
5789
+ 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
5790
  command = make_simple_command(:post, 'v1alpha/{+parent}:listAvailableAgentViews', options)
5786
5791
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse::Representation
5787
5792
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListAvailableAgentViewsResponse
5788
5793
  command.params['parent'] = parent unless parent.nil?
5794
+ command.query['adminView'] = admin_view unless admin_view.nil?
5789
5795
  command.query['agentOrigin'] = agent_origin unless agent_origin.nil?
5790
5796
  command.query['filter'] = filter unless filter.nil?
5791
5797
  command.query['languageCode'] = language_code unless language_code.nil?
@@ -6046,6 +6052,11 @@ module Google
6046
6052
  # Required. The name of the Agent to get. Format: `projects/`project`/locations/`
6047
6053
  # location`/collections/`collection`/engines/`engine`/assistants/`assistant`/
6048
6054
  # agents/`agent``
6055
+ # @param [Boolean] admin_view
6056
+ # Optional. Indicates whether to consider if the caller is an admin. If set, and
6057
+ # the caller is an admin, the response will consider admin-only permissions.
6058
+ # Otherwise, a caller with admin permissions will get a response as an
6059
+ # unprivileged user.
6049
6060
  # @param [String] language_code
6050
6061
  # Optional. The UI language currently shown to the user. Specifying this field
6051
6062
  # request that the texts in the AgentView in the response should be translated
@@ -6069,11 +6080,12 @@ module Google
6069
6080
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6070
6081
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6071
6082
  # @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)
6083
+ 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
6084
  command = make_simple_command(:get, 'v1alpha/{+name}:getAgentView', options)
6074
6085
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse::Representation
6075
6086
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGetAgentViewResponse
6076
6087
  command.params['name'] = name unless name.nil?
6088
+ command.query['adminView'] = admin_view unless admin_view.nil?
6077
6089
  command.query['languageCode'] = language_code unless language_code.nil?
6078
6090
  command.query['maxSuggestedPrompts'] = max_suggested_prompts unless max_suggested_prompts.nil?
6079
6091
  command.query['fields'] = fields unless fields.nil?
@@ -7635,6 +7647,37 @@ module Google
7635
7647
  execute_or_queue_command(command, &block)
7636
7648
  end
7637
7649
 
7650
+ # Gets the latest state of a long-running operation. Clients can use this method
7651
+ # to poll the operation result at intervals as recommended by the API service.
7652
+ # @param [String] name
7653
+ # The name of the operation resource.
7654
+ # @param [String] fields
7655
+ # Selector specifying which fields to include in a partial response.
7656
+ # @param [String] quota_user
7657
+ # Available to use for quota purposes for server-side applications. Can be any
7658
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7659
+ # @param [Google::Apis::RequestOptions] options
7660
+ # Request-specific options
7661
+ #
7662
+ # @yield [result, err] Result & error if block supplied
7663
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
7664
+ # @yieldparam err [StandardError] error object if request failed
7665
+ #
7666
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
7667
+ #
7668
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7669
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7670
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7671
+ def get_project_location_collection_engine_session_alpha_evolve_experiment_operation(name, fields: nil, quota_user: nil, options: nil, &block)
7672
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
7673
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
7674
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
7675
+ command.params['name'] = name unless name.nil?
7676
+ command.query['fields'] = fields unless fields.nil?
7677
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7678
+ execute_or_queue_command(command, &block)
7679
+ end
7680
+
7638
7681
  # Gets a Answer.
7639
7682
  # @param [String] name
7640
7683
  # Required. The resource name of the Answer to get. Format: `projects/`project`/
@@ -7736,6 +7779,37 @@ module Google
7736
7779
  execute_or_queue_command(command, &block)
7737
7780
  end
7738
7781
 
7782
+ # Gets the latest state of a long-running operation. Clients can use this method
7783
+ # to poll the operation result at intervals as recommended by the API service.
7784
+ # @param [String] name
7785
+ # The name of the operation resource.
7786
+ # @param [String] fields
7787
+ # Selector specifying which fields to include in a partial response.
7788
+ # @param [String] quota_user
7789
+ # Available to use for quota purposes for server-side applications. Can be any
7790
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7791
+ # @param [Google::Apis::RequestOptions] options
7792
+ # Request-specific options
7793
+ #
7794
+ # @yield [result, err] Result & error if block supplied
7795
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
7796
+ # @yieldparam err [StandardError] error object if request failed
7797
+ #
7798
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
7799
+ #
7800
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7801
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7802
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7803
+ def get_project_location_collection_engine_session_operation(name, fields: nil, quota_user: nil, options: nil, &block)
7804
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
7805
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
7806
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
7807
+ command.params['name'] = name unless name.nil?
7808
+ command.query['fields'] = fields unless fields.nil?
7809
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7810
+ execute_or_queue_command(command, &block)
7811
+ end
7812
+
7739
7813
  # Gets a WidgetConfig.
7740
7814
  # @param [String] name
7741
7815
  # Required. Full WidgetConfig resource name. Format: `projects/`project`/
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.85.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.85.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: