google-apis-discoveryengine_v1beta 0.103.0 → 0.104.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.
@@ -795,6 +795,12 @@ module Google
795
795
  # @return [Hash<String,Object>]
796
796
  attr_accessor :action_params
797
797
 
798
+ # Optional. Whether to create a BAP connection for the connector.
799
+ # Corresponds to the JSON property `createBapConnection`
800
+ # @return [Boolean]
801
+ attr_accessor :create_bap_connection
802
+ alias_method :create_bap_connection?, :create_bap_connection
803
+
798
804
  # Output only. The connector contains the necessary parameters and is configured
799
805
  # to support actions.
800
806
  # Corresponds to the JSON property `isActionConfigured`
@@ -835,6 +841,7 @@ module Google
835
841
  # Update properties of this object
836
842
  def update!(**args)
837
843
  @action_params = args[:action_params] if args.key?(:action_params)
844
+ @create_bap_connection = args[:create_bap_connection] if args.key?(:create_bap_connection)
838
845
  @is_action_configured = args[:is_action_configured] if args.key?(:is_action_configured)
839
846
  @json_action_params = args[:json_action_params] if args.key?(:json_action_params)
840
847
  @service_name = args[:service_name] if args.key?(:service_name)
@@ -1065,6 +1072,11 @@ module Google
1065
1072
  class GoogleCloudDiscoveryengineV1Assistant
1066
1073
  include Google::Apis::Core::Hashable
1067
1074
 
1075
+ # Output only. Represents the time when this Assistant was created.
1076
+ # Corresponds to the JSON property `createTime`
1077
+ # @return [String]
1078
+ attr_accessor :create_time
1079
+
1068
1080
  # Customer-defined policy for the assistant.
1069
1081
  # Corresponds to the JSON property `customerPolicy`
1070
1082
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicy]
@@ -1120,6 +1132,11 @@ module Google
1120
1132
  # @return [String]
1121
1133
  attr_accessor :name
1122
1134
 
1135
+ # Output only. Represents the time when this Assistant was most recently updated.
1136
+ # Corresponds to the JSON property `updateTime`
1137
+ # @return [String]
1138
+ attr_accessor :update_time
1139
+
1123
1140
  # Optional. The type of web grounding to use.
1124
1141
  # Corresponds to the JSON property `webGroundingType`
1125
1142
  # @return [String]
@@ -1131,6 +1148,7 @@ module Google
1131
1148
 
1132
1149
  # Update properties of this object
1133
1150
  def update!(**args)
1151
+ @create_time = args[:create_time] if args.key?(:create_time)
1134
1152
  @customer_policy = args[:customer_policy] if args.key?(:customer_policy)
1135
1153
  @default_web_grounding_toggle_off = args[:default_web_grounding_toggle_off] if args.key?(:default_web_grounding_toggle_off)
1136
1154
  @description = args[:description] if args.key?(:description)
@@ -1138,6 +1156,7 @@ module Google
1138
1156
  @enabled_tools = args[:enabled_tools] if args.key?(:enabled_tools)
1139
1157
  @generation_config = args[:generation_config] if args.key?(:generation_config)
1140
1158
  @name = args[:name] if args.key?(:name)
1159
+ @update_time = args[:update_time] if args.key?(:update_time)
1141
1160
  @web_grounding_type = args[:web_grounding_type] if args.key?(:web_grounding_type)
1142
1161
  end
1143
1162
  end
@@ -1360,6 +1379,18 @@ module Google
1360
1379
  # @return [Array<String>]
1361
1380
  attr_accessor :supported_connector_modes
1362
1381
 
1382
+ # Customer-facing view of the admin-curated toolspec for a BAP connection. Holds
1383
+ # the (simplified) per-tool definitions surfaced to and editable by the admin in
1384
+ # the Discovery Engine UI. Mirrors the shape of the backend `google.cloud.
1385
+ # connectorexecution.v1.ToolspecOverride` message, but is intentionally kept as
1386
+ # a separate public type so the Discovery Engine API surface can evolve
1387
+ # independently of the fed-API surface (AIP-215). Handlers convert between the
1388
+ # two via helpers in //cloud/ml/discoveryengine/external_service/v1main/
1389
+ # data_connector_service/lib:bap_custom_tool_util.
1390
+ # Corresponds to the JSON property `toolspecOverride`
1391
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1BapConfigToolspecOverride]
1392
+ attr_accessor :toolspec_override
1393
+
1363
1394
  def initialize(**args)
1364
1395
  update!(**args)
1365
1396
  end
@@ -1368,6 +1399,45 @@ module Google
1368
1399
  def update!(**args)
1369
1400
  @enabled_actions = args[:enabled_actions] if args.key?(:enabled_actions)
1370
1401
  @supported_connector_modes = args[:supported_connector_modes] if args.key?(:supported_connector_modes)
1402
+ @toolspec_override = args[:toolspec_override] if args.key?(:toolspec_override)
1403
+ end
1404
+ end
1405
+
1406
+ # Customer-facing view of the admin-curated toolspec for a BAP connection. Holds
1407
+ # the (simplified) per-tool definitions surfaced to and editable by the admin in
1408
+ # the Discovery Engine UI. Mirrors the shape of the backend `google.cloud.
1409
+ # connectorexecution.v1.ToolspecOverride` message, but is intentionally kept as
1410
+ # a separate public type so the Discovery Engine API surface can evolve
1411
+ # independently of the fed-API surface (AIP-215). Handlers convert between the
1412
+ # two via helpers in //cloud/ml/discoveryengine/external_service/v1main/
1413
+ # data_connector_service/lib:bap_custom_tool_util.
1414
+ class GoogleCloudDiscoveryengineV1BapConfigToolspecOverride
1415
+ include Google::Apis::Core::Hashable
1416
+
1417
+ # Required. Base toolspec version against which `tools` were authored. On Update,
1418
+ # MUST match the server's current stable toolspec version for the connection;
1419
+ # mismatch is rejected with a user-facing error directing the admin to re-
1420
+ # download the latest tools first.
1421
+ # Corresponds to the JSON property `baseVersion`
1422
+ # @return [String]
1423
+ attr_accessor :base_version
1424
+
1425
+ # Required. Tool definitions (one Struct per tool) that the admin has customised
1426
+ # on top of the base toolspec returned by the fed API. REQUIRED because it is
1427
+ # the only user-editable field in the modify API; the request must carry at
1428
+ # least one tool.
1429
+ # Corresponds to the JSON property `tools`
1430
+ # @return [Array<Hash<String,Object>>]
1431
+ attr_accessor :tools
1432
+
1433
+ def initialize(**args)
1434
+ update!(**args)
1435
+ end
1436
+
1437
+ # Update properties of this object
1438
+ def update!(**args)
1439
+ @base_version = args[:base_version] if args.key?(:base_version)
1440
+ @tools = args[:tools] if args.key?(:tools)
1371
1441
  end
1372
1442
  end
1373
1443
 
@@ -1483,6 +1553,25 @@ module Google
1483
1553
  end
1484
1554
  end
1485
1555
 
1556
+ # The configuration for the CLI execution based connectors.
1557
+ class GoogleCloudDiscoveryengineV1CliConfig
1558
+ include Google::Apis::Core::Hashable
1559
+
1560
+ # Optional. The actions enabled on the associated CLI connection.
1561
+ # Corresponds to the JSON property `enabledActions`
1562
+ # @return [Array<String>]
1563
+ attr_accessor :enabled_actions
1564
+
1565
+ def initialize(**args)
1566
+ update!(**args)
1567
+ end
1568
+
1569
+ # Update properties of this object
1570
+ def update!(**args)
1571
+ @enabled_actions = args[:enabled_actions] if args.key?(:enabled_actions)
1572
+ end
1573
+ end
1574
+
1486
1575
  # Configurations used to enable CMEK data encryption with Cloud KMS keys.
1487
1576
  class GoogleCloudDiscoveryengineV1CmekConfig
1488
1577
  include Google::Apis::Core::Hashable
@@ -2186,12 +2275,23 @@ module Google
2186
2275
  # @return [Array<String>]
2187
2276
  attr_accessor :blocking_reasons
2188
2277
 
2278
+ # The configuration for the CLI execution based connectors.
2279
+ # Corresponds to the JSON property `cliConfig`
2280
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1CliConfig]
2281
+ attr_accessor :cli_config
2282
+
2189
2283
  # Optional. The modes enabled for this connector. Default state is
2190
2284
  # CONNECTOR_MODE_UNSPECIFIED.
2191
2285
  # Corresponds to the JSON property `connectorModes`
2192
2286
  # @return [Array<String>]
2193
2287
  attr_accessor :connector_modes
2194
2288
 
2289
+ # Optional. If set, this value instead of `data_source` is used to fetch the
2290
+ # corresponding connector source.
2291
+ # Corresponds to the JSON property `connectorSourceId`
2292
+ # @return [String]
2293
+ attr_accessor :connector_source_id
2294
+
2195
2295
  # Output only. The type of connector. Each source can only map to one type. For
2196
2296
  # example, salesforce, confluence and jira have THIRD_PARTY connector type. It
2197
2297
  # is not mutable once set by system.
@@ -2232,11 +2332,14 @@ module Google
2232
2332
  # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DestinationConfig>]
2233
2333
  attr_accessor :destination_configs
2234
2334
 
2335
+ # Output only. The dynamic tools fetched for this connector.
2336
+ # Corresponds to the JSON property `dynamicTools`
2337
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DynamicTool>]
2338
+ attr_accessor :dynamic_tools
2339
+
2235
2340
  # Output only. The list of FQDNs of the data connector can egress to. This
2236
2341
  # includes both FQDN derived from the customer provided instance URL and default
2237
- # per connector type FQDNs. Note: This field is derived from both the
2238
- # DataConnector.params, and connector source spec. It should only be used for
2239
- # CAIS and Org Policy evaluation purposes.
2342
+ # per connector type FQDNs.
2240
2343
  # Corresponds to the JSON property `egressFqdns`
2241
2344
  # @return [Array<String>]
2242
2345
  attr_accessor :egress_fqdns
@@ -2330,7 +2433,7 @@ module Google
2330
2433
  # @return [String]
2331
2434
  attr_accessor :latest_pause_time
2332
2435
 
2333
- # Output only. The full resource name of the Data Connector. Format: `projects/*/
2436
+ # Identifier. The full resource name of the Data Connector. Format: `projects/*/
2334
2437
  # locations/*/collections/*/dataConnector`.
2335
2438
  # Corresponds to the JSON property `name`
2336
2439
  # @return [String]
@@ -2420,8 +2523,7 @@ module Google
2420
2523
  # @return [String]
2421
2524
  attr_accessor :update_time
2422
2525
 
2423
- # Output only. Whether the connector is created with VPC-SC enabled. This is
2424
- # only used for CuOP evaluation purpose.
2526
+ # Output only. Whether the connector is created with VPC-SC enabled.
2425
2527
  # Corresponds to the JSON property `vpcscEnabled`
2426
2528
  # @return [Boolean]
2427
2529
  attr_accessor :vpcsc_enabled
@@ -2440,12 +2542,15 @@ module Google
2440
2542
  @auto_run_disabled = args[:auto_run_disabled] if args.key?(:auto_run_disabled)
2441
2543
  @bap_config = args[:bap_config] if args.key?(:bap_config)
2442
2544
  @blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
2545
+ @cli_config = args[:cli_config] if args.key?(:cli_config)
2443
2546
  @connector_modes = args[:connector_modes] if args.key?(:connector_modes)
2547
+ @connector_source_id = args[:connector_source_id] if args.key?(:connector_source_id)
2444
2548
  @connector_type = args[:connector_type] if args.key?(:connector_type)
2445
2549
  @create_eua_saas = args[:create_eua_saas] if args.key?(:create_eua_saas)
2446
2550
  @create_time = args[:create_time] if args.key?(:create_time)
2447
2551
  @data_source = args[:data_source] if args.key?(:data_source)
2448
2552
  @destination_configs = args[:destination_configs] if args.key?(:destination_configs)
2553
+ @dynamic_tools = args[:dynamic_tools] if args.key?(:dynamic_tools)
2449
2554
  @egress_fqdns = args[:egress_fqdns] if args.key?(:egress_fqdns)
2450
2555
  @end_user_config = args[:end_user_config] if args.key?(:end_user_config)
2451
2556
  @entities = args[:entities] if args.key?(:entities)
@@ -3672,6 +3777,44 @@ module Google
3672
3777
  end
3673
3778
  end
3674
3779
 
3780
+ # Configuration for dynamic tools.
3781
+ class GoogleCloudDiscoveryengineV1DynamicTool
3782
+ include Google::Apis::Core::Hashable
3783
+
3784
+ # Optional. The description of the tool.
3785
+ # Corresponds to the JSON property `description`
3786
+ # @return [String]
3787
+ attr_accessor :description
3788
+
3789
+ # Optional. The display name of the tool.
3790
+ # Corresponds to the JSON property `displayName`
3791
+ # @return [String]
3792
+ attr_accessor :display_name
3793
+
3794
+ # Optional. Whether the tool is enabled.
3795
+ # Corresponds to the JSON property `enabled`
3796
+ # @return [Boolean]
3797
+ attr_accessor :enabled
3798
+ alias_method :enabled?, :enabled
3799
+
3800
+ # Required. The name of the tool.
3801
+ # Corresponds to the JSON property `name`
3802
+ # @return [String]
3803
+ attr_accessor :name
3804
+
3805
+ def initialize(**args)
3806
+ update!(**args)
3807
+ end
3808
+
3809
+ # Update properties of this object
3810
+ def update!(**args)
3811
+ @description = args[:description] if args.key?(:description)
3812
+ @display_name = args[:display_name] if args.key?(:display_name)
3813
+ @enabled = args[:enabled] if args.key?(:enabled)
3814
+ @name = args[:name] if args.key?(:name)
3815
+ end
3816
+ end
3817
+
3675
3818
  # Metadata related to the progress of the SiteSearchEngineService.
3676
3819
  # EnableAdvancedSiteSearch operation. This will be returned by the google.
3677
3820
  # longrunning.Operation.metadata field.
@@ -3797,9 +3940,12 @@ module Google
3797
3940
  # gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
3798
3941
  # org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
3799
3942
  # personalization-memory` * `personalization-suggested-highlights` * `disable-
3800
- # agent-sharing` * `disable-image-generation` * `disable-video-generation` * `
3801
- # disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-
3802
- # upload` * `disable-welcome-emails`
3943
+ # mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `
3944
+ # disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
3945
+ # content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-
3946
+ # canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-
3947
+ # sharing-with-groups` * `single-agent-orchestration` * `multi-agent-
3948
+ # orchestration` * `cross-product-intelligence`
3803
3949
  # Corresponds to the JSON property `features`
3804
3950
  # @return [Hash<String,String>]
3805
3951
  attr_accessor :features
@@ -4733,8 +4879,8 @@ module Google
4733
4879
  # @return [Fixnum]
4734
4880
  attr_accessor :success_count
4735
4881
 
4736
- # Operation last update time. If the operation is done, this is also the finish
4737
- # time.
4882
+ # Output only. Operation last update time. If the operation is done, this is
4883
+ # also the finish time.
4738
4884
  # Corresponds to the JSON property `updateTime`
4739
4885
  # @return [String]
4740
4886
  attr_accessor :update_time
@@ -4965,7 +5111,9 @@ module Google
4965
5111
  # and reflect the thresholds actively being used for billing purposes at the
4966
5112
  # time of the GetProject call. This includes the start_time of the subscription
4967
5113
  # and may differ from the values in `customer_provided_config` due to billing
4968
- # rules (e.g., scale-downs taking effect only at the start of a new month).
5114
+ # rules (e.g., scale-downs taking effect only at the start of a new month). We
5115
+ # also include the update type to indicate the type of update performed on the
5116
+ # configurable billing configuration in the UpdateProject operation.
4969
5117
  # Corresponds to the JSON property `configurableBillingStatus`
4970
5118
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus]
4971
5119
  attr_accessor :configurable_billing_status
@@ -5018,7 +5166,9 @@ module Google
5018
5166
  # and reflect the thresholds actively being used for billing purposes at the
5019
5167
  # time of the GetProject call. This includes the start_time of the subscription
5020
5168
  # and may differ from the values in `customer_provided_config` due to billing
5021
- # rules (e.g., scale-downs taking effect only at the start of a new month).
5169
+ # rules (e.g., scale-downs taking effect only at the start of a new month). We
5170
+ # also include the update type to indicate the type of update performed on the
5171
+ # configurable billing configuration in the UpdateProject operation.
5022
5172
  class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus
5023
5173
  include Google::Apis::Core::Hashable
5024
5174
 
@@ -5063,6 +5213,12 @@ module Google
5063
5213
  # @return [String]
5064
5214
  attr_accessor :terminate_time
5065
5215
 
5216
+ # Output only. The type of update performed in this operation. This field is
5217
+ # populated in the response of UpdateProject.
5218
+ # Corresponds to the JSON property `updateType`
5219
+ # @return [String]
5220
+ attr_accessor :update_type
5221
+
5066
5222
  def initialize(**args)
5067
5223
  update!(**args)
5068
5224
  end
@@ -5075,6 +5231,7 @@ module Google
5075
5231
  @search_qpm_threshold_next_update_time = args[:search_qpm_threshold_next_update_time] if args.key?(:search_qpm_threshold_next_update_time)
5076
5232
  @start_time = args[:start_time] if args.key?(:start_time)
5077
5233
  @terminate_time = args[:terminate_time] if args.key?(:terminate_time)
5234
+ @update_type = args[:update_type] if args.key?(:update_type)
5078
5235
  end
5079
5236
  end
5080
5237
 
@@ -6681,7 +6838,9 @@ module Google
6681
6838
  class GoogleCloudDiscoveryengineV1WorkspaceConfig
6682
6839
  include Google::Apis::Core::Hashable
6683
6840
 
6684
- # Obfuscated Dasher customer ID.
6841
+ # Output only. Obfuscated Dasher customer ID. Derived by the server from the
6842
+ # project's GCP organization at data store creation time; any value supplied in
6843
+ # the request payload is ignored.
6685
6844
  # Corresponds to the JSON property `dasherCustomerId`
6686
6845
  # @return [String]
6687
6846
  attr_accessor :dasher_customer_id
@@ -6754,6 +6913,12 @@ module Google
6754
6913
  # @return [Hash<String,Object>]
6755
6914
  attr_accessor :action_params
6756
6915
 
6916
+ # Optional. Whether to create a BAP connection for the connector.
6917
+ # Corresponds to the JSON property `createBapConnection`
6918
+ # @return [Boolean]
6919
+ attr_accessor :create_bap_connection
6920
+ alias_method :create_bap_connection?, :create_bap_connection
6921
+
6757
6922
  # Output only. The connector contains the necessary parameters and is configured
6758
6923
  # to support actions.
6759
6924
  # Corresponds to the JSON property `isActionConfigured`
@@ -6794,6 +6959,7 @@ module Google
6794
6959
  # Update properties of this object
6795
6960
  def update!(**args)
6796
6961
  @action_params = args[:action_params] if args.key?(:action_params)
6962
+ @create_bap_connection = args[:create_bap_connection] if args.key?(:create_bap_connection)
6797
6963
  @is_action_configured = args[:is_action_configured] if args.key?(:is_action_configured)
6798
6964
  @json_action_params = args[:json_action_params] if args.key?(:json_action_params)
6799
6965
  @service_name = args[:service_name] if args.key?(:service_name)
@@ -7072,7 +7238,7 @@ module Google
7072
7238
  # @return [String]
7073
7239
  attr_accessor :answer_text
7074
7240
 
7075
- # List of blob attachments in the answer.
7241
+ # Output only. List of blob attachments in the answer.
7076
7242
  # Corresponds to the JSON property `blobAttachments`
7077
7243
  # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment>]
7078
7244
  attr_accessor :blob_attachments
@@ -7372,11 +7538,6 @@ module Google
7372
7538
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo]
7373
7539
  attr_accessor :chunk_info
7374
7540
 
7375
- # Output only. The search queries that produced this reference.
7376
- # Corresponds to the JSON property `queries`
7377
- # @return [Array<String>]
7378
- attr_accessor :queries
7379
-
7380
7541
  # Structured search information.
7381
7542
  # Corresponds to the JSON property `structuredDocumentInfo`
7382
7543
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo]
@@ -7394,7 +7555,6 @@ module Google
7394
7555
  # Update properties of this object
7395
7556
  def update!(**args)
7396
7557
  @chunk_info = args[:chunk_info] if args.key?(:chunk_info)
7397
- @queries = args[:queries] if args.key?(:queries)
7398
7558
  @structured_document_info = args[:structured_document_info] if args.key?(:structured_document_info)
7399
7559
  @unstructured_document_info = args[:unstructured_document_info] if args.key?(:unstructured_document_info)
7400
7560
  end
@@ -7976,6 +8136,11 @@ module Google
7976
8136
  class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply
7977
8137
  include Google::Apis::Core::Hashable
7978
8138
 
8139
+ # The time when the reply was created.
8140
+ # Corresponds to the JSON property `createTime`
8141
+ # @return [String]
8142
+ attr_accessor :create_time
8143
+
7979
8144
  # A piece of content and possibly its grounding information. Not all content
7980
8145
  # needs grounding. Phrases like "Of course, I will gladly search it for you." do
7981
8146
  # not need grounding.
@@ -7998,6 +8163,7 @@ module Google
7998
8163
 
7999
8164
  # Update properties of this object
8000
8165
  def update!(**args)
8166
+ @create_time = args[:create_time] if args.key?(:create_time)
8001
8167
  @grounded_content = args[:grounded_content] if args.key?(:grounded_content)
8002
8168
  @reply_id = args[:reply_id] if args.key?(:reply_id)
8003
8169
  end
@@ -8202,6 +8368,11 @@ module Google
8202
8368
  # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment>]
8203
8369
  attr_accessor :segments
8204
8370
 
8371
+ # Grounding information for parts of the visual content.
8372
+ # Corresponds to the JSON property `visualSegments`
8373
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment>]
8374
+ attr_accessor :visual_segments
8375
+
8205
8376
  def initialize(**args)
8206
8377
  update!(**args)
8207
8378
  end
@@ -8210,6 +8381,7 @@ module Google
8210
8381
  def update!(**args)
8211
8382
  @references = args[:references] if args.key?(:references)
8212
8383
  @segments = args[:segments] if args.key?(:segments)
8384
+ @visual_segments = args[:visual_segments] if args.key?(:visual_segments)
8213
8385
  end
8214
8386
  end
8215
8387
 
@@ -8217,6 +8389,11 @@ module Google
8217
8389
  class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference
8218
8390
  include Google::Apis::Core::Hashable
8219
8391
 
8392
+ # Chunk of code snippet from the referenced document.
8393
+ # Corresponds to the JSON property `codeSnippet`
8394
+ # @return [String]
8395
+ attr_accessor :code_snippet
8396
+
8220
8397
  # Referenced text content.
8221
8398
  # Corresponds to the JSON property `content`
8222
8399
  # @return [String]
@@ -8233,6 +8410,7 @@ module Google
8233
8410
 
8234
8411
  # Update properties of this object
8235
8412
  def update!(**args)
8413
+ @code_snippet = args[:code_snippet] if args.key?(:code_snippet)
8236
8414
  @content = args[:content] if args.key?(:content)
8237
8415
  @document_metadata = args[:document_metadata] if args.key?(:document_metadata)
8238
8416
  end
@@ -8254,6 +8432,11 @@ module Google
8254
8432
  # @return [String]
8255
8433
  attr_accessor :domain
8256
8434
 
8435
+ #
8436
+ # Corresponds to the JSON property `language`
8437
+ # @return [String]
8438
+ attr_accessor :language
8439
+
8257
8440
  # The mime type of the document. https://www.iana.org/assignments/media-types/
8258
8441
  # media-types.xhtml.
8259
8442
  # Corresponds to the JSON property `mimeType`
@@ -8284,6 +8467,7 @@ module Google
8284
8467
  def update!(**args)
8285
8468
  @document = args[:document] if args.key?(:document)
8286
8469
  @domain = args[:domain] if args.key?(:domain)
8470
+ @language = args[:language] if args.key?(:language)
8287
8471
  @mime_type = args[:mime_type] if args.key?(:mime_type)
8288
8472
  @page_identifier = args[:page_identifier] if args.key?(:page_identifier)
8289
8473
  @title = args[:title] if args.key?(:title)
@@ -8336,6 +8520,33 @@ module Google
8336
8520
  end
8337
8521
  end
8338
8522
 
8523
+ # Grounding information for a visual segment.
8524
+ class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment
8525
+ include Google::Apis::Core::Hashable
8526
+
8527
+ # The content id of the visual segment. In order to display the citation of the
8528
+ # visual element, this content_id needs to match with the `grounded_content.
8529
+ # content_metadata.content_id` field.
8530
+ # Corresponds to the JSON property `contentId`
8531
+ # @return [String]
8532
+ attr_accessor :content_id
8533
+
8534
+ # References for the visual segment.
8535
+ # Corresponds to the JSON property `referenceIndices`
8536
+ # @return [Array<Fixnum>]
8537
+ attr_accessor :reference_indices
8538
+
8539
+ def initialize(**args)
8540
+ update!(**args)
8541
+ end
8542
+
8543
+ # Update properties of this object
8544
+ def update!(**args)
8545
+ @content_id = args[:content_id] if args.key?(:content_id)
8546
+ @reference_indices = args[:reference_indices] if args.key?(:reference_indices)
8547
+ end
8548
+ end
8549
+
8339
8550
  # The configuration for the BAP connector.
8340
8551
  class GoogleCloudDiscoveryengineV1alphaBapConfig
8341
8552
  include Google::Apis::Core::Hashable
@@ -8350,6 +8561,18 @@ module Google
8350
8561
  # @return [Array<String>]
8351
8562
  attr_accessor :supported_connector_modes
8352
8563
 
8564
+ # Customer-facing view of the admin-curated toolspec for a BAP connection. Holds
8565
+ # the (simplified) per-tool definitions surfaced to and editable by the admin in
8566
+ # the Discovery Engine UI. Mirrors the shape of the backend `google.cloud.
8567
+ # connectorexecution.v1.ToolspecOverride` message, but is intentionally kept as
8568
+ # a separate public type so the Discovery Engine API surface can evolve
8569
+ # independently of the fed-API surface (AIP-215). Handlers convert between the
8570
+ # two via helpers in //cloud/ml/discoveryengine/external_service/v1main/
8571
+ # data_connector_service/lib:bap_custom_tool_util.
8572
+ # Corresponds to the JSON property `toolspecOverride`
8573
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaBapConfigToolspecOverride]
8574
+ attr_accessor :toolspec_override
8575
+
8353
8576
  def initialize(**args)
8354
8577
  update!(**args)
8355
8578
  end
@@ -8358,6 +8581,45 @@ module Google
8358
8581
  def update!(**args)
8359
8582
  @enabled_actions = args[:enabled_actions] if args.key?(:enabled_actions)
8360
8583
  @supported_connector_modes = args[:supported_connector_modes] if args.key?(:supported_connector_modes)
8584
+ @toolspec_override = args[:toolspec_override] if args.key?(:toolspec_override)
8585
+ end
8586
+ end
8587
+
8588
+ # Customer-facing view of the admin-curated toolspec for a BAP connection. Holds
8589
+ # the (simplified) per-tool definitions surfaced to and editable by the admin in
8590
+ # the Discovery Engine UI. Mirrors the shape of the backend `google.cloud.
8591
+ # connectorexecution.v1.ToolspecOverride` message, but is intentionally kept as
8592
+ # a separate public type so the Discovery Engine API surface can evolve
8593
+ # independently of the fed-API surface (AIP-215). Handlers convert between the
8594
+ # two via helpers in //cloud/ml/discoveryengine/external_service/v1main/
8595
+ # data_connector_service/lib:bap_custom_tool_util.
8596
+ class GoogleCloudDiscoveryengineV1alphaBapConfigToolspecOverride
8597
+ include Google::Apis::Core::Hashable
8598
+
8599
+ # Required. Base toolspec version against which `tools` were authored. On Update,
8600
+ # MUST match the server's current stable toolspec version for the connection;
8601
+ # mismatch is rejected with a user-facing error directing the admin to re-
8602
+ # download the latest tools first.
8603
+ # Corresponds to the JSON property `baseVersion`
8604
+ # @return [String]
8605
+ attr_accessor :base_version
8606
+
8607
+ # Required. Tool definitions (one Struct per tool) that the admin has customised
8608
+ # on top of the base toolspec returned by the fed API. REQUIRED because it is
8609
+ # the only user-editable field in the modify API; the request must carry at
8610
+ # least one tool.
8611
+ # Corresponds to the JSON property `tools`
8612
+ # @return [Array<Hash<String,Object>>]
8613
+ attr_accessor :tools
8614
+
8615
+ def initialize(**args)
8616
+ update!(**args)
8617
+ end
8618
+
8619
+ # Update properties of this object
8620
+ def update!(**args)
8621
+ @base_version = args[:base_version] if args.key?(:base_version)
8622
+ @tools = args[:tools] if args.key?(:tools)
8361
8623
  end
8362
8624
  end
8363
8625
 
@@ -8548,6 +8810,25 @@ module Google
8548
8810
  end
8549
8811
  end
8550
8812
 
8813
+ # The configuration for the CLI execution based connectors.
8814
+ class GoogleCloudDiscoveryengineV1alphaCliConfig
8815
+ include Google::Apis::Core::Hashable
8816
+
8817
+ # Optional. The actions enabled on the associated CLI connection.
8818
+ # Corresponds to the JSON property `enabledActions`
8819
+ # @return [Array<String>]
8820
+ attr_accessor :enabled_actions
8821
+
8822
+ def initialize(**args)
8823
+ update!(**args)
8824
+ end
8825
+
8826
+ # Update properties of this object
8827
+ def update!(**args)
8828
+ @enabled_actions = args[:enabled_actions] if args.key?(:enabled_actions)
8829
+ end
8830
+ end
8831
+
8551
8832
  # Configurations used to enable CMEK data encryption with Cloud KMS keys.
8552
8833
  class GoogleCloudDiscoveryengineV1alphaCmekConfig
8553
8834
  include Google::Apis::Core::Hashable
@@ -9539,12 +9820,23 @@ module Google
9539
9820
  # @return [Array<String>]
9540
9821
  attr_accessor :blocking_reasons
9541
9822
 
9823
+ # The configuration for the CLI execution based connectors.
9824
+ # Corresponds to the JSON property `cliConfig`
9825
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCliConfig]
9826
+ attr_accessor :cli_config
9827
+
9542
9828
  # Optional. The modes enabled for this connector. Default state is
9543
9829
  # CONNECTOR_MODE_UNSPECIFIED.
9544
9830
  # Corresponds to the JSON property `connectorModes`
9545
9831
  # @return [Array<String>]
9546
9832
  attr_accessor :connector_modes
9547
9833
 
9834
+ # Optional. If set, this value instead of `data_source` is used to fetch the
9835
+ # corresponding connector source.
9836
+ # Corresponds to the JSON property `connectorSourceId`
9837
+ # @return [String]
9838
+ attr_accessor :connector_source_id
9839
+
9548
9840
  # Output only. The type of connector. Each source can only map to one type. For
9549
9841
  # example, salesforce, confluence and jira have THIRD_PARTY connector type. It
9550
9842
  # is not mutable once set by system.
@@ -9590,11 +9882,14 @@ module Google
9590
9882
  # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDestinationConfig>]
9591
9883
  attr_accessor :destination_configs
9592
9884
 
9885
+ # Output only. The dynamic tools fetched for this connector.
9886
+ # Corresponds to the JSON property `dynamicTools`
9887
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDynamicTool>]
9888
+ attr_accessor :dynamic_tools
9889
+
9593
9890
  # Output only. The list of FQDNs of the data connector can egress to. This
9594
9891
  # includes both FQDN derived from the customer provided instance URL and default
9595
- # per connector type FQDNs. Note: This field is derived from both the
9596
- # DataConnector.params, and connector source spec. It should only be used for
9597
- # CAIS and Org Policy evaluation purposes.
9892
+ # per connector type FQDNs.
9598
9893
  # Corresponds to the JSON property `egressFqdns`
9599
9894
  # @return [Array<String>]
9600
9895
  attr_accessor :egress_fqdns
@@ -9688,7 +9983,7 @@ module Google
9688
9983
  # @return [String]
9689
9984
  attr_accessor :latest_pause_time
9690
9985
 
9691
- # Output only. The full resource name of the Data Connector. Format: `projects/*/
9986
+ # Identifier. The full resource name of the Data Connector. Format: `projects/*/
9692
9987
  # locations/*/collections/*/dataConnector`.
9693
9988
  # Corresponds to the JSON property `name`
9694
9989
  # @return [String]
@@ -9778,8 +10073,7 @@ module Google
9778
10073
  # @return [String]
9779
10074
  attr_accessor :update_time
9780
10075
 
9781
- # Output only. Whether the connector is created with VPC-SC enabled. This is
9782
- # only used for CuOP evaluation purpose.
10076
+ # Output only. Whether the connector is created with VPC-SC enabled.
9783
10077
  # Corresponds to the JSON property `vpcscEnabled`
9784
10078
  # @return [Boolean]
9785
10079
  attr_accessor :vpcsc_enabled
@@ -9798,13 +10092,16 @@ module Google
9798
10092
  @auto_run_disabled = args[:auto_run_disabled] if args.key?(:auto_run_disabled)
9799
10093
  @bap_config = args[:bap_config] if args.key?(:bap_config)
9800
10094
  @blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
10095
+ @cli_config = args[:cli_config] if args.key?(:cli_config)
9801
10096
  @connector_modes = args[:connector_modes] if args.key?(:connector_modes)
10097
+ @connector_source_id = args[:connector_source_id] if args.key?(:connector_source_id)
9802
10098
  @connector_type = args[:connector_type] if args.key?(:connector_type)
9803
10099
  @create_eua_saas = args[:create_eua_saas] if args.key?(:create_eua_saas)
9804
10100
  @create_time = args[:create_time] if args.key?(:create_time)
9805
10101
  @data_protection_policy = args[:data_protection_policy] if args.key?(:data_protection_policy)
9806
10102
  @data_source = args[:data_source] if args.key?(:data_source)
9807
10103
  @destination_configs = args[:destination_configs] if args.key?(:destination_configs)
10104
+ @dynamic_tools = args[:dynamic_tools] if args.key?(:dynamic_tools)
9808
10105
  @egress_fqdns = args[:egress_fqdns] if args.key?(:egress_fqdns)
9809
10106
  @end_user_config = args[:end_user_config] if args.key?(:end_user_config)
9810
10107
  @entities = args[:entities] if args.key?(:entities)
@@ -10132,6 +10429,11 @@ module Google
10132
10429
  # @return [String]
10133
10430
  attr_accessor :create_time
10134
10431
 
10432
+ # Contains the data protection policy config for a DataStore or a connector.
10433
+ # Corresponds to the JSON property `dataProtectionPolicy`
10434
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy]
10435
+ attr_accessor :data_protection_policy
10436
+
10135
10437
  # Output only. The id of the default Schema associated to this data store.
10136
10438
  # Corresponds to the JSON property `defaultSchemaId`
10137
10439
  # @return [String]
@@ -10248,6 +10550,7 @@ module Google
10248
10550
  @configurable_billing_approach_update_time = args[:configurable_billing_approach_update_time] if args.key?(:configurable_billing_approach_update_time)
10249
10551
  @content_config = args[:content_config] if args.key?(:content_config)
10250
10552
  @create_time = args[:create_time] if args.key?(:create_time)
10553
+ @data_protection_policy = args[:data_protection_policy] if args.key?(:data_protection_policy)
10251
10554
  @default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
10252
10555
  @display_name = args[:display_name] if args.key?(:display_name)
10253
10556
  @document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
@@ -11225,6 +11528,44 @@ module Google
11225
11528
  end
11226
11529
  end
11227
11530
 
11531
+ # Configuration for dynamic tools.
11532
+ class GoogleCloudDiscoveryengineV1alphaDynamicTool
11533
+ include Google::Apis::Core::Hashable
11534
+
11535
+ # Optional. The description of the tool.
11536
+ # Corresponds to the JSON property `description`
11537
+ # @return [String]
11538
+ attr_accessor :description
11539
+
11540
+ # Optional. The display name of the tool.
11541
+ # Corresponds to the JSON property `displayName`
11542
+ # @return [String]
11543
+ attr_accessor :display_name
11544
+
11545
+ # Optional. Whether the tool is enabled.
11546
+ # Corresponds to the JSON property `enabled`
11547
+ # @return [Boolean]
11548
+ attr_accessor :enabled
11549
+ alias_method :enabled?, :enabled
11550
+
11551
+ # Required. The name of the tool.
11552
+ # Corresponds to the JSON property `name`
11553
+ # @return [String]
11554
+ attr_accessor :name
11555
+
11556
+ def initialize(**args)
11557
+ update!(**args)
11558
+ end
11559
+
11560
+ # Update properties of this object
11561
+ def update!(**args)
11562
+ @description = args[:description] if args.key?(:description)
11563
+ @display_name = args[:display_name] if args.key?(:display_name)
11564
+ @enabled = args[:enabled] if args.key?(:enabled)
11565
+ @name = args[:name] if args.key?(:name)
11566
+ end
11567
+ end
11568
+
11228
11569
  # Metadata related to the progress of the SiteSearchEngineService.
11229
11570
  # EnableAdvancedSiteSearch operation. This will be returned by the google.
11230
11571
  # longrunning.Operation.metadata field.
@@ -11350,9 +11691,12 @@ module Google
11350
11691
  # gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
11351
11692
  # org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
11352
11693
  # personalization-memory` * `personalization-suggested-highlights` * `disable-
11353
- # agent-sharing` * `disable-image-generation` * `disable-video-generation` * `
11354
- # disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-
11355
- # upload` * `disable-welcome-emails`
11694
+ # mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `
11695
+ # disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
11696
+ # content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-
11697
+ # canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-
11698
+ # sharing-with-groups` * `single-agent-orchestration` * `multi-agent-
11699
+ # orchestration` * `cross-product-intelligence`
11356
11700
  # Corresponds to the JSON property `features`
11357
11701
  # @return [Hash<String,String>]
11358
11702
  attr_accessor :features
@@ -12270,6 +12614,8 @@ module Google
12270
12614
  # SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this
12271
12615
  # field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `
12272
12616
  # SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`.
12617
+ # For more information, see [Weight searchable fields](https://cloud.google.com/
12618
+ # generative-ai-app-builder/docs/configure-field-settings#weight-search).
12273
12619
  # Corresponds to the JSON property `searchableFieldImportance`
12274
12620
  # @return [String]
12275
12621
  attr_accessor :searchable_field_importance
@@ -12848,8 +13194,8 @@ module Google
12848
13194
  # @return [Fixnum]
12849
13195
  attr_accessor :success_count
12850
13196
 
12851
- # Operation last update time. If the operation is done, this is also the finish
12852
- # time.
13197
+ # Output only. Operation last update time. If the operation is done, this is
13198
+ # also the finish time.
12853
13199
  # Corresponds to the JSON property `updateTime`
12854
13200
  # @return [String]
12855
13201
  attr_accessor :update_time
@@ -13125,9 +13471,9 @@ module Google
13125
13471
 
13126
13472
  # A comma-separated list of fields to order by, sorted in ascending order. Use "
13127
13473
  # desc" after a field name for descending. Supported fields: * `update_time` * `
13128
- # create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `
13129
- # create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned
13130
- # first, then by update_time.
13474
+ # create_time` * `session_name` * `is_pinned` * `display_name` Example: * `
13475
+ # update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list
13476
+ # sessions by is_pinned first, then by update_time.
13131
13477
  # Corresponds to the JSON property `orderBy`
13132
13478
  # @return [String]
13133
13479
  attr_accessor :order_by
@@ -13363,7 +13709,9 @@ module Google
13363
13709
  # and reflect the thresholds actively being used for billing purposes at the
13364
13710
  # time of the GetProject call. This includes the start_time of the subscription
13365
13711
  # and may differ from the values in `customer_provided_config` due to billing
13366
- # rules (e.g., scale-downs taking effect only at the start of a new month).
13712
+ # rules (e.g., scale-downs taking effect only at the start of a new month). We
13713
+ # also include the update type to indicate the type of update performed on the
13714
+ # configurable billing configuration in the UpdateProject operation.
13367
13715
  # Corresponds to the JSON property `configurableBillingStatus`
13368
13716
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus]
13369
13717
  attr_accessor :configurable_billing_status
@@ -13416,7 +13764,9 @@ module Google
13416
13764
  # and reflect the thresholds actively being used for billing purposes at the
13417
13765
  # time of the GetProject call. This includes the start_time of the subscription
13418
13766
  # and may differ from the values in `customer_provided_config` due to billing
13419
- # rules (e.g., scale-downs taking effect only at the start of a new month).
13767
+ # rules (e.g., scale-downs taking effect only at the start of a new month). We
13768
+ # also include the update type to indicate the type of update performed on the
13769
+ # configurable billing configuration in the UpdateProject operation.
13420
13770
  class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus
13421
13771
  include Google::Apis::Core::Hashable
13422
13772
 
@@ -13461,6 +13811,12 @@ module Google
13461
13811
  # @return [String]
13462
13812
  attr_accessor :terminate_time
13463
13813
 
13814
+ # Output only. The type of update performed in this operation. This field is
13815
+ # populated in the response of UpdateProject.
13816
+ # Corresponds to the JSON property `updateType`
13817
+ # @return [String]
13818
+ attr_accessor :update_type
13819
+
13464
13820
  def initialize(**args)
13465
13821
  update!(**args)
13466
13822
  end
@@ -13473,6 +13829,7 @@ module Google
13473
13829
  @search_qpm_threshold_next_update_time = args[:search_qpm_threshold_next_update_time] if args.key?(:search_qpm_threshold_next_update_time)
13474
13830
  @start_time = args[:start_time] if args.key?(:start_time)
13475
13831
  @terminate_time = args[:terminate_time] if args.key?(:terminate_time)
13832
+ @update_type = args[:update_type] if args.key?(:update_type)
13476
13833
  end
13477
13834
  end
13478
13835
 
@@ -13992,6 +14349,11 @@ module Google
13992
14349
  class GoogleCloudDiscoveryengineV1alphaQuery
13993
14350
  include Google::Apis::Core::Hashable
13994
14351
 
14352
+ # Output only. The time at which the server accepted this query.
14353
+ # Corresponds to the JSON property `createTime`
14354
+ # @return [String]
14355
+ attr_accessor :create_time
14356
+
13995
14357
  # Query content parts.
13996
14358
  # Corresponds to the JSON property `parts`
13997
14359
  # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQueryPart>]
@@ -14013,6 +14375,7 @@ module Google
14013
14375
 
14014
14376
  # Update properties of this object
14015
14377
  def update!(**args)
14378
+ @create_time = args[:create_time] if args.key?(:create_time)
14016
14379
  @parts = args[:parts] if args.key?(:parts)
14017
14380
  @query_id = args[:query_id] if args.key?(:query_id)
14018
14381
  @text = args[:text] if args.key?(:text)
@@ -14738,6 +15101,11 @@ module Google
14738
15101
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec]
14739
15102
  attr_accessor :custom_fine_tuning_spec
14740
15103
 
15104
+ # Configuration parameters for the Custom Ranking feature.
15105
+ # Corresponds to the JSON property `customRankingParams`
15106
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestCustomRankingParams]
15107
+ attr_accessor :custom_ranking_params
15108
+
14741
15109
  # Specifications that define the specific DataStores to be searched, along with
14742
15110
  # configurations for those data stores. This is only considered for Engines with
14743
15111
  # multiple data stores. For engines with a single data store, the specs directly
@@ -14757,6 +15125,14 @@ module Google
14757
15125
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec]
14758
15126
  attr_accessor :embedding_spec
14759
15127
 
15128
+ # Optional. The entity for customers that may run multiple different entities,
15129
+ # domains, sites or regions, for example, "Google US", "Google Ads", "Waymo", "
15130
+ # google.com", "youtube.com", etc. If this is set, it should be exactly matched
15131
+ # with UserEvent.entity to get search results boosted by entity.
15132
+ # Corresponds to the JSON property `entity`
15133
+ # @return [String]
15134
+ attr_accessor :entity
15135
+
14760
15136
  # Facet specifications for faceted search. If empty, no facets are returned. A
14761
15137
  # maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is
14762
15138
  # returned.
@@ -14940,7 +15316,14 @@ module Google
14940
15316
  # since the document was last updated, a floating-point number (e.g., 0.25 means
14941
15317
  # 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses
14942
15318
  # proprietary Google model to determine the keyword-based overlap between the
14943
- # query and the document. * `base_rank`: the default rank of the result
15319
+ # query and the document. * `base_rank`: the default rank of the result * `
15320
+ # media_actor_match`: whether the media actor matches the query * `
15321
+ # media_director_match`: whether the media director matches the query * `
15322
+ # media_genre_match`: whether the media genre matches the query * `
15323
+ # media_language_match`: whether the media language matches the query * `
15324
+ # media_title_match`: whether the media title matches the query * `
15325
+ # media_prefix_similarity_rank`: prefix similarity rank for media results * `
15326
+ # media_semantic_similarity_rank`: semantic similarity rank for media results
14944
15327
  # Corresponds to the JSON property `rankingExpression`
14945
15328
  # @return [String]
14946
15329
  attr_accessor :ranking_expression
@@ -15083,9 +15466,11 @@ module Google
15083
15466
  @content_search_spec = args[:content_search_spec] if args.key?(:content_search_spec)
15084
15467
  @crowding_specs = args[:crowding_specs] if args.key?(:crowding_specs)
15085
15468
  @custom_fine_tuning_spec = args[:custom_fine_tuning_spec] if args.key?(:custom_fine_tuning_spec)
15469
+ @custom_ranking_params = args[:custom_ranking_params] if args.key?(:custom_ranking_params)
15086
15470
  @data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
15087
15471
  @display_spec = args[:display_spec] if args.key?(:display_spec)
15088
15472
  @embedding_spec = args[:embedding_spec] if args.key?(:embedding_spec)
15473
+ @entity = args[:entity] if args.key?(:entity)
15089
15474
  @facet_specs = args[:facet_specs] if args.key?(:facet_specs)
15090
15475
  @filter = args[:filter] if args.key?(:filter)
15091
15476
  @image_query = args[:image_query] if args.key?(:image_query)
@@ -15676,6 +16061,27 @@ module Google
15676
16061
  end
15677
16062
  end
15678
16063
 
16064
+ # Configuration parameters for the Custom Ranking feature.
16065
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestCustomRankingParams
16066
+ include Google::Apis::Core::Hashable
16067
+
16068
+ # Optional. A list of ranking expressions (see `ranking_expression` for the
16069
+ # syntax documentation) to evaluate. The evaluation results will be returned in `
16070
+ # SearchResponse.SearchResult.rank_signals.precomputed_expression_values` field.
16071
+ # Corresponds to the JSON property `expressionsToPrecompute`
16072
+ # @return [Array<String>]
16073
+ attr_accessor :expressions_to_precompute
16074
+
16075
+ def initialize(**args)
16076
+ update!(**args)
16077
+ end
16078
+
16079
+ # Update properties of this object
16080
+ def update!(**args)
16081
+ @expressions_to_precompute = args[:expressions_to_precompute] if args.key?(:expressions_to_precompute)
16082
+ end
16083
+ end
16084
+
15679
16085
  # A struct to define data stores to filter on in a search call and
15680
16086
  # configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error
15681
16087
  # is returned.
@@ -16000,9 +16406,7 @@ module Google
16000
16406
 
16001
16407
  # Field names used for location-based filtering, where geolocation filters are
16002
16408
  # detected in natural language search queries. Only valid when the
16003
- # FilterExtractionCondition is set to `ENABLED`. If this field is set, it
16004
- # overrides the field names set in ServingConfig.
16005
- # geo_search_query_detection_field_names.
16409
+ # FilterExtractionCondition is set to `ENABLED`.
16006
16410
  # Corresponds to the JSON property `geoSearchQueryDetectionFieldNames`
16007
16411
  # @return [Array<String>]
16008
16412
  attr_accessor :geo_search_query_detection_field_names
@@ -16291,6 +16695,13 @@ module Google
16291
16695
  # @return [String]
16292
16696
  attr_accessor :name
16293
16697
 
16698
+ # Output only. Full resource name of an in-progress AsyncAssist operation for
16699
+ # this session, e.g. `projects/*/locations/*/collections/*/engines/*/sessions/*/
16700
+ # operations/*`. Set when the operation starts and cleared when it finishes.
16701
+ # Corresponds to the JSON property `pendingAsyncAssistOperationId`
16702
+ # @return [String]
16703
+ attr_accessor :pending_async_assist_operation_id
16704
+
16294
16705
  # Output only. The time the session started.
16295
16706
  # Corresponds to the JSON property `startTime`
16296
16707
  # @return [String]
@@ -16322,6 +16733,7 @@ module Google
16322
16733
  @is_pinned = args[:is_pinned] if args.key?(:is_pinned)
16323
16734
  @labels = args[:labels] if args.key?(:labels)
16324
16735
  @name = args[:name] if args.key?(:name)
16736
+ @pending_async_assist_operation_id = args[:pending_async_assist_operation_id] if args.key?(:pending_async_assist_operation_id)
16325
16737
  @start_time = args[:start_time] if args.key?(:start_time)
16326
16738
  @state = args[:state] if args.key?(:state)
16327
16739
  @turns = args[:turns] if args.key?(:turns)
@@ -16349,6 +16761,12 @@ module Google
16349
16761
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswer]
16350
16762
  attr_accessor :detailed_assist_answer
16351
16763
 
16764
+ # Optional. Indicates whether this turn is a live turn.
16765
+ # Corresponds to the JSON property `live`
16766
+ # @return [Boolean]
16767
+ attr_accessor :live
16768
+ alias_method :live?, :live
16769
+
16352
16770
  # Defines a user inputed query.
16353
16771
  # Corresponds to the JSON property `query`
16354
16772
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQuery]
@@ -16370,6 +16788,7 @@ module Google
16370
16788
  @answer = args[:answer] if args.key?(:answer)
16371
16789
  @detailed_answer = args[:detailed_answer] if args.key?(:detailed_answer)
16372
16790
  @detailed_assist_answer = args[:detailed_assist_answer] if args.key?(:detailed_assist_answer)
16791
+ @live = args[:live] if args.key?(:live)
16373
16792
  @query = args[:query] if args.key?(:query)
16374
16793
  @query_config = args[:query_config] if args.key?(:query_config)
16375
16794
  end
@@ -16978,6 +17397,12 @@ module Google
16978
17397
  class GoogleCloudDiscoveryengineV1alphaUserInfo
16979
17398
  include Google::Apis::Core::Hashable
16980
17399
 
17400
+ # Precise location info with multiple representation options. Currently only
17401
+ # latitude and longitude point is supported.
17402
+ # Corresponds to the JSON property `preciseLocation`
17403
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaUserInfoPreciseLocation]
17404
+ attr_accessor :precise_location
17405
+
16981
17406
  # Optional. IANA time zone, e.g. Europe/Budapest.
16982
17407
  # Corresponds to the JSON property `timeZone`
16983
17408
  # @return [String]
@@ -17011,12 +17436,43 @@ module Google
17011
17436
 
17012
17437
  # Update properties of this object
17013
17438
  def update!(**args)
17439
+ @precise_location = args[:precise_location] if args.key?(:precise_location)
17014
17440
  @time_zone = args[:time_zone] if args.key?(:time_zone)
17015
17441
  @user_agent = args[:user_agent] if args.key?(:user_agent)
17016
17442
  @user_id = args[:user_id] if args.key?(:user_id)
17017
17443
  end
17018
17444
  end
17019
17445
 
17446
+ # Precise location info with multiple representation options. Currently only
17447
+ # latitude and longitude point is supported.
17448
+ class GoogleCloudDiscoveryengineV1alphaUserInfoPreciseLocation
17449
+ include Google::Apis::Core::Hashable
17450
+
17451
+ # Optional. Location represented by a natural language address. Will later be
17452
+ # geocoded and converted to either a point or a polygon.
17453
+ # Corresponds to the JSON property `address`
17454
+ # @return [String]
17455
+ attr_accessor :address
17456
+
17457
+ # An object that represents a latitude/longitude pair. This is expressed as a
17458
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
17459
+ # specified otherwise, this object must conform to the WGS84 standard. Values
17460
+ # must be within normalized ranges.
17461
+ # Corresponds to the JSON property `point`
17462
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeLatLng]
17463
+ attr_accessor :point
17464
+
17465
+ def initialize(**args)
17466
+ update!(**args)
17467
+ end
17468
+
17469
+ # Update properties of this object
17470
+ def update!(**args)
17471
+ @address = args[:address] if args.key?(:address)
17472
+ @point = args[:point] if args.key?(:point)
17473
+ end
17474
+ end
17475
+
17020
17476
  # User License information assigned by the admin.
17021
17477
  class GoogleCloudDiscoveryengineV1alphaUserLicense
17022
17478
  include Google::Apis::Core::Hashable
@@ -17084,7 +17540,9 @@ module Google
17084
17540
  class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig
17085
17541
  include Google::Apis::Core::Hashable
17086
17542
 
17087
- # Obfuscated Dasher customer ID.
17543
+ # Output only. Obfuscated Dasher customer ID. Derived by the server from the
17544
+ # project's GCP organization at data store creation time; any value supplied in
17545
+ # the request payload is ignored.
17088
17546
  # Corresponds to the JSON property `dasherCustomerId`
17089
17547
  # @return [String]
17090
17548
  attr_accessor :dasher_customer_id
@@ -17694,7 +18152,7 @@ module Google
17694
18152
  # @return [String]
17695
18153
  attr_accessor :answer_text
17696
18154
 
17697
- # List of blob attachments in the answer.
18155
+ # Output only. List of blob attachments in the answer.
17698
18156
  # Corresponds to the JSON property `blobAttachments`
17699
18157
  # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerBlobAttachment>]
17700
18158
  attr_accessor :blob_attachments
@@ -19000,11 +19458,6 @@ module Google
19000
19458
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo]
19001
19459
  attr_accessor :chunk_info
19002
19460
 
19003
- # Output only. The search queries that produced this reference.
19004
- # Corresponds to the JSON property `queries`
19005
- # @return [Array<String>]
19006
- attr_accessor :queries
19007
-
19008
19461
  # Structured search information.
19009
19462
  # Corresponds to the JSON property `structuredDocumentInfo`
19010
19463
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo]
@@ -19022,7 +19475,6 @@ module Google
19022
19475
  # Update properties of this object
19023
19476
  def update!(**args)
19024
19477
  @chunk_info = args[:chunk_info] if args.key?(:chunk_info)
19025
- @queries = args[:queries] if args.key?(:queries)
19026
19478
  @structured_document_info = args[:structured_document_info] if args.key?(:structured_document_info)
19027
19479
  @unstructured_document_info = args[:unstructured_document_info] if args.key?(:unstructured_document_info)
19028
19480
  end
@@ -19604,6 +20056,11 @@ module Google
19604
20056
  class GoogleCloudDiscoveryengineV1betaAssistAnswerReply
19605
20057
  include Google::Apis::Core::Hashable
19606
20058
 
20059
+ # The time when the reply was created.
20060
+ # Corresponds to the JSON property `createTime`
20061
+ # @return [String]
20062
+ attr_accessor :create_time
20063
+
19607
20064
  # A piece of content and possibly its grounding information. Not all content
19608
20065
  # needs grounding. Phrases like "Of course, I will gladly search it for you." do
19609
20066
  # not need grounding.
@@ -19617,6 +20074,7 @@ module Google
19617
20074
 
19618
20075
  # Update properties of this object
19619
20076
  def update!(**args)
20077
+ @create_time = args[:create_time] if args.key?(:create_time)
19620
20078
  @grounded_content = args[:grounded_content] if args.key?(:grounded_content)
19621
20079
  end
19622
20080
  end
@@ -19652,6 +20110,11 @@ module Google
19652
20110
  class GoogleCloudDiscoveryengineV1betaAssistant
19653
20111
  include Google::Apis::Core::Hashable
19654
20112
 
20113
+ # Output only. Represents the time when this Assistant was created.
20114
+ # Corresponds to the JSON property `createTime`
20115
+ # @return [String]
20116
+ attr_accessor :create_time
20117
+
19655
20118
  # Customer-defined policy for the assistant.
19656
20119
  # Corresponds to the JSON property `customerPolicy`
19657
20120
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy]
@@ -19707,6 +20170,11 @@ module Google
19707
20170
  # @return [String]
19708
20171
  attr_accessor :name
19709
20172
 
20173
+ # Output only. Represents the time when this Assistant was most recently updated.
20174
+ # Corresponds to the JSON property `updateTime`
20175
+ # @return [String]
20176
+ attr_accessor :update_time
20177
+
19710
20178
  # Optional. The type of web grounding to use.
19711
20179
  # Corresponds to the JSON property `webGroundingType`
19712
20180
  # @return [String]
@@ -19718,6 +20186,7 @@ module Google
19718
20186
 
19719
20187
  # Update properties of this object
19720
20188
  def update!(**args)
20189
+ @create_time = args[:create_time] if args.key?(:create_time)
19721
20190
  @customer_policy = args[:customer_policy] if args.key?(:customer_policy)
19722
20191
  @default_web_grounding_toggle_off = args[:default_web_grounding_toggle_off] if args.key?(:default_web_grounding_toggle_off)
19723
20192
  @description = args[:description] if args.key?(:description)
@@ -19725,6 +20194,7 @@ module Google
19725
20194
  @enabled_tools = args[:enabled_tools] if args.key?(:enabled_tools)
19726
20195
  @generation_config = args[:generation_config] if args.key?(:generation_config)
19727
20196
  @name = args[:name] if args.key?(:name)
20197
+ @update_time = args[:update_time] if args.key?(:update_time)
19728
20198
  @web_grounding_type = args[:web_grounding_type] if args.key?(:web_grounding_type)
19729
20199
  end
19730
20200
  end
@@ -20086,6 +20556,11 @@ module Google
20086
20556
  # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataSegment>]
20087
20557
  attr_accessor :segments
20088
20558
 
20559
+ # Grounding information for parts of the visual content.
20560
+ # Corresponds to the JSON property `visualSegments`
20561
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataVisualSegment>]
20562
+ attr_accessor :visual_segments
20563
+
20089
20564
  def initialize(**args)
20090
20565
  update!(**args)
20091
20566
  end
@@ -20094,6 +20569,7 @@ module Google
20094
20569
  def update!(**args)
20095
20570
  @references = args[:references] if args.key?(:references)
20096
20571
  @segments = args[:segments] if args.key?(:segments)
20572
+ @visual_segments = args[:visual_segments] if args.key?(:visual_segments)
20097
20573
  end
20098
20574
  end
20099
20575
 
@@ -20101,6 +20577,11 @@ module Google
20101
20577
  class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference
20102
20578
  include Google::Apis::Core::Hashable
20103
20579
 
20580
+ # Chunk of code snippet from the referenced document.
20581
+ # Corresponds to the JSON property `codeSnippet`
20582
+ # @return [String]
20583
+ attr_accessor :code_snippet
20584
+
20104
20585
  # Referenced text content.
20105
20586
  # Corresponds to the JSON property `content`
20106
20587
  # @return [String]
@@ -20117,6 +20598,7 @@ module Google
20117
20598
 
20118
20599
  # Update properties of this object
20119
20600
  def update!(**args)
20601
+ @code_snippet = args[:code_snippet] if args.key?(:code_snippet)
20120
20602
  @content = args[:content] if args.key?(:content)
20121
20603
  @document_metadata = args[:document_metadata] if args.key?(:document_metadata)
20122
20604
  end
@@ -20138,6 +20620,11 @@ module Google
20138
20620
  # @return [String]
20139
20621
  attr_accessor :domain
20140
20622
 
20623
+ #
20624
+ # Corresponds to the JSON property `language`
20625
+ # @return [String]
20626
+ attr_accessor :language
20627
+
20141
20628
  # The mime type of the document. https://www.iana.org/assignments/media-types/
20142
20629
  # media-types.xhtml.
20143
20630
  # Corresponds to the JSON property `mimeType`
@@ -20168,6 +20655,7 @@ module Google
20168
20655
  def update!(**args)
20169
20656
  @document = args[:document] if args.key?(:document)
20170
20657
  @domain = args[:domain] if args.key?(:domain)
20658
+ @language = args[:language] if args.key?(:language)
20171
20659
  @mime_type = args[:mime_type] if args.key?(:mime_type)
20172
20660
  @page_identifier = args[:page_identifier] if args.key?(:page_identifier)
20173
20661
  @title = args[:title] if args.key?(:title)
@@ -20220,6 +20708,33 @@ module Google
20220
20708
  end
20221
20709
  end
20222
20710
 
20711
+ # Grounding information for a visual segment.
20712
+ class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataVisualSegment
20713
+ include Google::Apis::Core::Hashable
20714
+
20715
+ # The content id of the visual segment. In order to display the citation of the
20716
+ # visual element, this content_id needs to match with the `grounded_content.
20717
+ # content_metadata.content_id` field.
20718
+ # Corresponds to the JSON property `contentId`
20719
+ # @return [String]
20720
+ attr_accessor :content_id
20721
+
20722
+ # References for the visual segment.
20723
+ # Corresponds to the JSON property `referenceIndices`
20724
+ # @return [Array<Fixnum>]
20725
+ attr_accessor :reference_indices
20726
+
20727
+ def initialize(**args)
20728
+ update!(**args)
20729
+ end
20730
+
20731
+ # Update properties of this object
20732
+ def update!(**args)
20733
+ @content_id = args[:content_id] if args.key?(:content_id)
20734
+ @reference_indices = args[:reference_indices] if args.key?(:reference_indices)
20735
+ end
20736
+ end
20737
+
20223
20738
  # Information to identify a tool.
20224
20739
  class GoogleCloudDiscoveryengineV1betaAssistantToolInfo
20225
20740
  include Google::Apis::Core::Hashable
@@ -23145,22 +23660,50 @@ module Google
23145
23660
  end
23146
23661
  end
23147
23662
 
23148
- # Metadata related to the progress of the SiteSearchEngineService.
23149
- # DisableAdvancedSiteSearch operation. This will be returned by the google.
23150
- # longrunning.Operation.metadata field.
23151
- class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata
23663
+ # Metadata related to the progress of the SiteSearchEngineService.
23664
+ # DisableAdvancedSiteSearch operation. This will be returned by the google.
23665
+ # longrunning.Operation.metadata field.
23666
+ class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchMetadata
23667
+ include Google::Apis::Core::Hashable
23668
+
23669
+ # Operation create time.
23670
+ # Corresponds to the JSON property `createTime`
23671
+ # @return [String]
23672
+ attr_accessor :create_time
23673
+
23674
+ # Operation last update time. If the operation is done, this is also the finish
23675
+ # time.
23676
+ # Corresponds to the JSON property `updateTime`
23677
+ # @return [String]
23678
+ attr_accessor :update_time
23679
+
23680
+ def initialize(**args)
23681
+ update!(**args)
23682
+ end
23683
+
23684
+ # Update properties of this object
23685
+ def update!(**args)
23686
+ @create_time = args[:create_time] if args.key?(:create_time)
23687
+ @update_time = args[:update_time] if args.key?(:update_time)
23688
+ end
23689
+ end
23690
+
23691
+ # Request message for SiteSearchEngineService.DisableAdvancedSiteSearch method.
23692
+ class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchRequest
23152
23693
  include Google::Apis::Core::Hashable
23153
23694
 
23154
- # Operation create time.
23155
- # Corresponds to the JSON property `createTime`
23156
- # @return [String]
23157
- attr_accessor :create_time
23695
+ def initialize(**args)
23696
+ update!(**args)
23697
+ end
23158
23698
 
23159
- # Operation last update time. If the operation is done, this is also the finish
23160
- # time.
23161
- # Corresponds to the JSON property `updateTime`
23162
- # @return [String]
23163
- attr_accessor :update_time
23699
+ # Update properties of this object
23700
+ def update!(**args)
23701
+ end
23702
+ end
23703
+
23704
+ # Response message for SiteSearchEngineService.DisableAdvancedSiteSearch method.
23705
+ class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse
23706
+ include Google::Apis::Core::Hashable
23164
23707
 
23165
23708
  def initialize(**args)
23166
23709
  update!(**args)
@@ -23168,34 +23711,64 @@ module Google
23168
23711
 
23169
23712
  # Update properties of this object
23170
23713
  def update!(**args)
23171
- @create_time = args[:create_time] if args.key?(:create_time)
23172
- @update_time = args[:update_time] if args.key?(:update_time)
23173
23714
  end
23174
23715
  end
23175
23716
 
23176
- # Request message for SiteSearchEngineService.DisableAdvancedSiteSearch method.
23177
- class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchRequest
23717
+ # Request message for LicenseConfigService.DistributeLicenseConfig method.
23718
+ class GoogleCloudDiscoveryengineV1betaDistributeLicenseConfigRequest
23178
23719
  include Google::Apis::Core::Hashable
23179
23720
 
23721
+ # Optional. Distribute seats to this license config instead of creating a new
23722
+ # one. If not specified, a new license config will be created from the billing
23723
+ # account license config.
23724
+ # Corresponds to the JSON property `licenseConfigId`
23725
+ # @return [String]
23726
+ attr_accessor :license_config_id
23727
+
23728
+ # Required. The number of licenses to distribute.
23729
+ # Corresponds to the JSON property `licenseCount`
23730
+ # @return [Fixnum]
23731
+ attr_accessor :license_count
23732
+
23733
+ # Required. The target GCP project region to distribute the license config to.
23734
+ # Corresponds to the JSON property `location`
23735
+ # @return [String]
23736
+ attr_accessor :location
23737
+
23738
+ # Required. The target GCP project number to distribute the license config to.
23739
+ # Corresponds to the JSON property `projectNumber`
23740
+ # @return [Fixnum]
23741
+ attr_accessor :project_number
23742
+
23180
23743
  def initialize(**args)
23181
23744
  update!(**args)
23182
23745
  end
23183
23746
 
23184
23747
  # Update properties of this object
23185
23748
  def update!(**args)
23749
+ @license_config_id = args[:license_config_id] if args.key?(:license_config_id)
23750
+ @license_count = args[:license_count] if args.key?(:license_count)
23751
+ @location = args[:location] if args.key?(:location)
23752
+ @project_number = args[:project_number] if args.key?(:project_number)
23186
23753
  end
23187
23754
  end
23188
23755
 
23189
- # Response message for SiteSearchEngineService.DisableAdvancedSiteSearch method.
23190
- class GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse
23756
+ # Response message for LicenseConfigService.DistributeLicenseConfig method.
23757
+ class GoogleCloudDiscoveryengineV1betaDistributeLicenseConfigResponse
23191
23758
  include Google::Apis::Core::Hashable
23192
23759
 
23760
+ # Information about users' licenses.
23761
+ # Corresponds to the JSON property `licenseConfig`
23762
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig]
23763
+ attr_accessor :license_config
23764
+
23193
23765
  def initialize(**args)
23194
23766
  update!(**args)
23195
23767
  end
23196
23768
 
23197
23769
  # Update properties of this object
23198
23770
  def update!(**args)
23771
+ @license_config = args[:license_config] if args.key?(:license_config)
23199
23772
  end
23200
23773
  end
23201
23774
 
@@ -23232,9 +23805,11 @@ module Google
23232
23805
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentIndexStatus]
23233
23806
  attr_accessor :index_status
23234
23807
 
23235
- # Output only. The last time the document was indexed. If this field is set, the
23236
- # document could be returned in search results. This field is OUTPUT_ONLY. If
23237
- # this field is not populated, it means the document has never been indexed.
23808
+ # Output only. The time when the document was last indexed. If this field is
23809
+ # populated, it means the document has been indexed. While documents typically
23810
+ # become searchable within seconds of indexing, it can sometimes take up to a
23811
+ # few hours. If this field is not populated, it means the document has never
23812
+ # been indexed.
23238
23813
  # Corresponds to the JSON property `indexTime`
23239
23814
  # @return [String]
23240
23815
  attr_accessor :index_time
@@ -23404,7 +23979,8 @@ module Google
23404
23979
  attr_accessor :error_samples
23405
23980
 
23406
23981
  # The time when the document was indexed. If this field is populated, it means
23407
- # the document has been indexed.
23982
+ # the document has been indexed. While documents typically become searchable
23983
+ # within seconds of indexing, it can sometimes take up to a few hours.
23408
23984
  # Corresponds to the JSON property `indexTime`
23409
23985
  # @return [String]
23410
23986
  attr_accessor :index_time
@@ -23905,9 +24481,12 @@ module Google
23905
24481
  # gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
23906
24482
  # org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
23907
24483
  # personalization-memory` * `personalization-suggested-highlights` * `disable-
23908
- # agent-sharing` * `disable-image-generation` * `disable-video-generation` * `
23909
- # disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-
23910
- # upload` * `disable-welcome-emails`
24484
+ # mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `
24485
+ # disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
24486
+ # content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-
24487
+ # canvas` * `disable-canvas-workspace` * `disable-skills` * `enable-end-user-
24488
+ # sharing-with-groups` * `single-agent-orchestration` * `multi-agent-
24489
+ # orchestration` * `cross-product-intelligence`
23911
24490
  # Corresponds to the JSON property `features`
23912
24491
  # @return [Hash<String,String>]
23913
24492
  attr_accessor :features
@@ -24597,6 +25176,115 @@ module Google
24597
25176
  end
24598
25177
  end
24599
25178
 
25179
+ # Information about the user feedback. This information will be used for logging
25180
+ # and metrics purpose.
25181
+ class GoogleCloudDiscoveryengineV1betaFeedback
25182
+ include Google::Apis::Core::Hashable
25183
+
25184
+ # Optional. The additional user comment of the feedback if user gives a thumb
25185
+ # down.
25186
+ # Corresponds to the JSON property `comment`
25187
+ # @return [String]
25188
+ attr_accessor :comment
25189
+
25190
+ # Optional. The version of the component that this report is being sent from.
25191
+ # Corresponds to the JSON property `componentVersion`
25192
+ # @return [String]
25193
+ attr_accessor :component_version
25194
+
25195
+ # The conversation information such as the question index and session name.
25196
+ # Corresponds to the JSON property `conversationInfo`
25197
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo]
25198
+ attr_accessor :conversation_info
25199
+
25200
+ # Optional. Whether the customer accepted data use terms.
25201
+ # Corresponds to the JSON property `dataTermsAccepted`
25202
+ # @return [Boolean]
25203
+ attr_accessor :data_terms_accepted
25204
+ alias_method :data_terms_accepted?, :data_terms_accepted
25205
+
25206
+ # Optional. The UI component the user feedback comes from, which could be
25207
+ # GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP.
25208
+ # Corresponds to the JSON property `feedbackSource`
25209
+ # @return [String]
25210
+ attr_accessor :feedback_source
25211
+
25212
+ # Required. Indicate whether the user gives a positive or negative feedback. If
25213
+ # the user gives a negative feedback, there might be more feedback details.
25214
+ # Corresponds to the JSON property `feedbackType`
25215
+ # @return [String]
25216
+ attr_accessor :feedback_type
25217
+
25218
+ # The version of the LLM model that was used to generate the response.
25219
+ # Corresponds to the JSON property `llmModelVersion`
25220
+ # @return [String]
25221
+ attr_accessor :llm_model_version
25222
+
25223
+ # Optional. The reason if user gives a thumb down.
25224
+ # Corresponds to the JSON property `reasons`
25225
+ # @return [Array<String>]
25226
+ attr_accessor :reasons
25227
+
25228
+ def initialize(**args)
25229
+ update!(**args)
25230
+ end
25231
+
25232
+ # Update properties of this object
25233
+ def update!(**args)
25234
+ @comment = args[:comment] if args.key?(:comment)
25235
+ @component_version = args[:component_version] if args.key?(:component_version)
25236
+ @conversation_info = args[:conversation_info] if args.key?(:conversation_info)
25237
+ @data_terms_accepted = args[:data_terms_accepted] if args.key?(:data_terms_accepted)
25238
+ @feedback_source = args[:feedback_source] if args.key?(:feedback_source)
25239
+ @feedback_type = args[:feedback_type] if args.key?(:feedback_type)
25240
+ @llm_model_version = args[:llm_model_version] if args.key?(:llm_model_version)
25241
+ @reasons = args[:reasons] if args.key?(:reasons)
25242
+ end
25243
+ end
25244
+
25245
+ # The conversation information such as the question index and session name.
25246
+ class GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo
25247
+ include Google::Apis::Core::Hashable
25248
+
25249
+ # Optional. The token which could be used to fetch the answer log.
25250
+ # Corresponds to the JSON property `answerQueryToken`
25251
+ # @return [String]
25252
+ attr_accessor :answer_query_token
25253
+
25254
+ # Optional. The token which could be used to fetch the assistant log.
25255
+ # Corresponds to the JSON property `assistToken`
25256
+ # @return [String]
25257
+ attr_accessor :assist_token
25258
+
25259
+ # Defines a user inputed query.
25260
+ # Corresponds to the JSON property `query`
25261
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQuery]
25262
+ attr_accessor :query
25263
+
25264
+ # The index of the user input within the conversation messages.
25265
+ # Corresponds to the JSON property `questionIndex`
25266
+ # @return [Fixnum]
25267
+ attr_accessor :question_index
25268
+
25269
+ # Name of the newly generated or continued session.
25270
+ # Corresponds to the JSON property `session`
25271
+ # @return [String]
25272
+ attr_accessor :session
25273
+
25274
+ def initialize(**args)
25275
+ update!(**args)
25276
+ end
25277
+
25278
+ # Update properties of this object
25279
+ def update!(**args)
25280
+ @answer_query_token = args[:answer_query_token] if args.key?(:answer_query_token)
25281
+ @assist_token = args[:assist_token] if args.key?(:assist_token)
25282
+ @query = args[:query] if args.key?(:query)
25283
+ @question_index = args[:question_index] if args.key?(:question_index)
25284
+ @session = args[:session] if args.key?(:session)
25285
+ end
25286
+ end
25287
+
24600
25288
  # Response message for SiteSearchEngineService.FetchDomainVerificationStatus
24601
25289
  # method.
24602
25290
  class GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse
@@ -25703,8 +26391,8 @@ module Google
25703
26391
  # @return [Fixnum]
25704
26392
  attr_accessor :success_count
25705
26393
 
25706
- # Operation last update time. If the operation is done, this is also the finish
25707
- # time.
26394
+ # Output only. Operation last update time. If the operation is done, this is
26395
+ # also the finish time.
25708
26396
  # Corresponds to the JSON property `updateTime`
25709
26397
  # @return [String]
25710
26398
  attr_accessor :update_time
@@ -26357,6 +27045,31 @@ module Google
26357
27045
  end
26358
27046
  end
26359
27047
 
27048
+ # Response message for LicenseConfigService.ListLicenseConfigs method.
27049
+ class GoogleCloudDiscoveryengineV1betaListLicenseConfigsResponse
27050
+ include Google::Apis::Core::Hashable
27051
+
27052
+ # All the customer's LicenseConfigs.
27053
+ # Corresponds to the JSON property `licenseConfigs`
27054
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig>]
27055
+ attr_accessor :license_configs
27056
+
27057
+ # Not supported.
27058
+ # Corresponds to the JSON property `nextPageToken`
27059
+ # @return [String]
27060
+ attr_accessor :next_page_token
27061
+
27062
+ def initialize(**args)
27063
+ update!(**args)
27064
+ end
27065
+
27066
+ # Update properties of this object
27067
+ def update!(**args)
27068
+ @license_configs = args[:license_configs] if args.key?(:license_configs)
27069
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
27070
+ end
27071
+ end
27072
+
26360
27073
  # Response message for UserLicenseService.ListLicenseConfigsUsageStats method.
26361
27074
  class GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse
26362
27075
  include Google::Apis::Core::Hashable
@@ -26901,7 +27614,9 @@ module Google
26901
27614
  # and reflect the thresholds actively being used for billing purposes at the
26902
27615
  # time of the GetProject call. This includes the start_time of the subscription
26903
27616
  # and may differ from the values in `customer_provided_config` due to billing
26904
- # rules (e.g., scale-downs taking effect only at the start of a new month).
27617
+ # rules (e.g., scale-downs taking effect only at the start of a new month). We
27618
+ # also include the update type to indicate the type of update performed on the
27619
+ # configurable billing configuration in the UpdateProject operation.
26905
27620
  # Corresponds to the JSON property `configurableBillingStatus`
26906
27621
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus]
26907
27622
  attr_accessor :configurable_billing_status
@@ -26954,7 +27669,9 @@ module Google
26954
27669
  # and reflect the thresholds actively being used for billing purposes at the
26955
27670
  # time of the GetProject call. This includes the start_time of the subscription
26956
27671
  # and may differ from the values in `customer_provided_config` due to billing
26957
- # rules (e.g., scale-downs taking effect only at the start of a new month).
27672
+ # rules (e.g., scale-downs taking effect only at the start of a new month). We
27673
+ # also include the update type to indicate the type of update performed on the
27674
+ # configurable billing configuration in the UpdateProject operation.
26958
27675
  class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus
26959
27676
  include Google::Apis::Core::Hashable
26960
27677
 
@@ -26999,6 +27716,12 @@ module Google
26999
27716
  # @return [String]
27000
27717
  attr_accessor :terminate_time
27001
27718
 
27719
+ # Output only. The type of update performed in this operation. This field is
27720
+ # populated in the response of UpdateProject.
27721
+ # Corresponds to the JSON property `updateType`
27722
+ # @return [String]
27723
+ attr_accessor :update_type
27724
+
27002
27725
  def initialize(**args)
27003
27726
  update!(**args)
27004
27727
  end
@@ -27011,6 +27734,7 @@ module Google
27011
27734
  @search_qpm_threshold_next_update_time = args[:search_qpm_threshold_next_update_time] if args.key?(:search_qpm_threshold_next_update_time)
27012
27735
  @start_time = args[:start_time] if args.key?(:start_time)
27013
27736
  @terminate_time = args[:terminate_time] if args.key?(:terminate_time)
27737
+ @update_type = args[:update_type] if args.key?(:update_type)
27014
27738
  end
27015
27739
  end
27016
27740
 
@@ -27822,8 +28546,8 @@ module Google
27822
28546
  attr_accessor :id
27823
28547
 
27824
28548
  # The score of this record based on the given query and selected model. The
27825
- # score will be rounded to 2 decimal places. If the score is close to 0, it will
27826
- # be rounded to 0.0001 to avoid returning unset.
28549
+ # score will be rounded to 4 decimal places. If the score is close to 0, it will
28550
+ # be rounded to 0.00001 to avoid returning unset.
27827
28551
  # Corresponds to the JSON property `score`
27828
28552
  # @return [Float]
27829
28553
  attr_accessor :score
@@ -28272,6 +28996,60 @@ module Google
28272
28996
  end
28273
28997
  end
28274
28998
 
28999
+ # Request message for LicenseConfigService.RetractLicenseConfig method.
29000
+ class GoogleCloudDiscoveryengineV1betaRetractLicenseConfigRequest
29001
+ include Google::Apis::Core::Hashable
29002
+
29003
+ # Optional. If set to true, retract the entire license config. Otherwise,
29004
+ # retract the specified license count.
29005
+ # Corresponds to the JSON property `fullRetract`
29006
+ # @return [Boolean]
29007
+ attr_accessor :full_retract
29008
+ alias_method :full_retract?, :full_retract
29009
+
29010
+ # Required. Full resource name of LicenseConfig. Format: `projects/`project`/
29011
+ # locations/`location`/licenseConfigs/`license_config_id``.
29012
+ # Corresponds to the JSON property `licenseConfig`
29013
+ # @return [String]
29014
+ attr_accessor :license_config
29015
+
29016
+ # Optional. The number of licenses to retract. Only used when full_retract is
29017
+ # false.
29018
+ # Corresponds to the JSON property `licenseCount`
29019
+ # @return [Fixnum]
29020
+ attr_accessor :license_count
29021
+
29022
+ def initialize(**args)
29023
+ update!(**args)
29024
+ end
29025
+
29026
+ # Update properties of this object
29027
+ def update!(**args)
29028
+ @full_retract = args[:full_retract] if args.key?(:full_retract)
29029
+ @license_config = args[:license_config] if args.key?(:license_config)
29030
+ @license_count = args[:license_count] if args.key?(:license_count)
29031
+ end
29032
+ end
29033
+
29034
+ # Response message for LicenseConfigService.RetractLicenseConfig method.
29035
+ class GoogleCloudDiscoveryengineV1betaRetractLicenseConfigResponse
29036
+ include Google::Apis::Core::Hashable
29037
+
29038
+ # Information about users' licenses.
29039
+ # Corresponds to the JSON property `licenseConfig`
29040
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfig]
29041
+ attr_accessor :license_config
29042
+
29043
+ def initialize(**args)
29044
+ update!(**args)
29045
+ end
29046
+
29047
+ # Update properties of this object
29048
+ def update!(**args)
29049
+ @license_config = args[:license_config] if args.key?(:license_config)
29050
+ end
29051
+ end
29052
+
28275
29053
  # Safety rating corresponding to the generated content.
28276
29054
  class GoogleCloudDiscoveryengineV1betaSafetyRating
28277
29055
  include Google::Apis::Core::Hashable
@@ -28637,6 +29415,11 @@ module Google
28637
29415
  # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec>]
28638
29416
  attr_accessor :crowding_specs
28639
29417
 
29418
+ # Configuration parameters for the Custom Ranking feature.
29419
+ # Corresponds to the JSON property `customRankingParams`
29420
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestCustomRankingParams]
29421
+ attr_accessor :custom_ranking_params
29422
+
28640
29423
  # Specifications that define the specific DataStores to be searched, along with
28641
29424
  # configurations for those data stores. This is only considered for Engines with
28642
29425
  # multiple data stores. For engines with a single data store, the specs directly
@@ -28656,6 +29439,14 @@ module Google
28656
29439
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec]
28657
29440
  attr_accessor :embedding_spec
28658
29441
 
29442
+ # Optional. The entity for customers that may run multiple different entities,
29443
+ # domains, sites or regions, for example, "Google US", "Google Ads", "Waymo", "
29444
+ # google.com", "youtube.com", etc. If this is set, it should be exactly matched
29445
+ # with UserEvent.entity to get search results boosted by entity.
29446
+ # Corresponds to the JSON property `entity`
29447
+ # @return [String]
29448
+ attr_accessor :entity
29449
+
28659
29450
  # Facet specifications for faceted search. If empty, no facets are returned. A
28660
29451
  # maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is
28661
29452
  # returned.
@@ -28839,7 +29630,14 @@ module Google
28839
29630
  # since the document was last updated, a floating-point number (e.g., 0.25 means
28840
29631
  # 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses
28841
29632
  # proprietary Google model to determine the keyword-based overlap between the
28842
- # query and the document. * `base_rank`: the default rank of the result
29633
+ # query and the document. * `base_rank`: the default rank of the result * `
29634
+ # media_actor_match`: whether the media actor matches the query * `
29635
+ # media_director_match`: whether the media director matches the query * `
29636
+ # media_genre_match`: whether the media genre matches the query * `
29637
+ # media_language_match`: whether the media language matches the query * `
29638
+ # media_title_match`: whether the media title matches the query * `
29639
+ # media_prefix_similarity_rank`: prefix similarity rank for media results * `
29640
+ # media_semantic_similarity_rank`: semantic similarity rank for media results
28843
29641
  # Corresponds to the JSON property `rankingExpression`
28844
29642
  # @return [String]
28845
29643
  attr_accessor :ranking_expression
@@ -28972,9 +29770,11 @@ module Google
28972
29770
  @canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
28973
29771
  @content_search_spec = args[:content_search_spec] if args.key?(:content_search_spec)
28974
29772
  @crowding_specs = args[:crowding_specs] if args.key?(:crowding_specs)
29773
+ @custom_ranking_params = args[:custom_ranking_params] if args.key?(:custom_ranking_params)
28975
29774
  @data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
28976
29775
  @display_spec = args[:display_spec] if args.key?(:display_spec)
28977
29776
  @embedding_spec = args[:embedding_spec] if args.key?(:embedding_spec)
29777
+ @entity = args[:entity] if args.key?(:entity)
28978
29778
  @facet_specs = args[:facet_specs] if args.key?(:facet_specs)
28979
29779
  @filter = args[:filter] if args.key?(:filter)
28980
29780
  @image_query = args[:image_query] if args.key?(:image_query)
@@ -29564,6 +30364,27 @@ module Google
29564
30364
  end
29565
30365
  end
29566
30366
 
30367
+ # Configuration parameters for the Custom Ranking feature.
30368
+ class GoogleCloudDiscoveryengineV1betaSearchRequestCustomRankingParams
30369
+ include Google::Apis::Core::Hashable
30370
+
30371
+ # Optional. A list of ranking expressions (see `ranking_expression` for the
30372
+ # syntax documentation) to evaluate. The evaluation results will be returned in `
30373
+ # SearchResponse.SearchResult.rank_signals.precomputed_expression_values` field.
30374
+ # Corresponds to the JSON property `expressionsToPrecompute`
30375
+ # @return [Array<String>]
30376
+ attr_accessor :expressions_to_precompute
30377
+
30378
+ def initialize(**args)
30379
+ update!(**args)
30380
+ end
30381
+
30382
+ # Update properties of this object
30383
+ def update!(**args)
30384
+ @expressions_to_precompute = args[:expressions_to_precompute] if args.key?(:expressions_to_precompute)
30385
+ end
30386
+ end
30387
+
29567
30388
  # A struct to define data stores to filter on in a search call and
29568
30389
  # configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error
29569
30390
  # is returned.
@@ -29888,9 +30709,7 @@ module Google
29888
30709
 
29889
30710
  # Field names used for location-based filtering, where geolocation filters are
29890
30711
  # detected in natural language search queries. Only valid when the
29891
- # FilterExtractionCondition is set to `ENABLED`. If this field is set, it
29892
- # overrides the field names set in ServingConfig.
29893
- # geo_search_query_detection_field_names.
30712
+ # FilterExtractionCondition is set to `ENABLED`.
29894
30713
  # Corresponds to the JSON property `geoSearchQueryDetectionFieldNames`
29895
30714
  # @return [Array<String>]
29896
30715
  attr_accessor :geo_search_query_detection_field_names
@@ -30815,6 +31634,13 @@ module Google
30815
31634
  # @return [Float]
30816
31635
  attr_accessor :pctr_rank
30817
31636
 
31637
+ # Optional. A list of precomputed expression results for a given document, in
31638
+ # the same order as requested in `SearchRequest.custom_ranking_params.
31639
+ # expressions_to_precompute`.
31640
+ # Corresponds to the JSON property `precomputedExpressionValues`
31641
+ # @return [Array<Float>]
31642
+ attr_accessor :precomputed_expression_values
31643
+
30818
31644
  # Optional. Semantic relevance adjustment.
30819
31645
  # Corresponds to the JSON property `relevanceScore`
30820
31646
  # @return [Float]
@@ -30842,6 +31668,7 @@ module Google
30842
31668
  @document_age = args[:document_age] if args.key?(:document_age)
30843
31669
  @keyword_similarity_score = args[:keyword_similarity_score] if args.key?(:keyword_similarity_score)
30844
31670
  @pctr_rank = args[:pctr_rank] if args.key?(:pctr_rank)
31671
+ @precomputed_expression_values = args[:precomputed_expression_values] if args.key?(:precomputed_expression_values)
30845
31672
  @relevance_score = args[:relevance_score] if args.key?(:relevance_score)
30846
31673
  @semantic_similarity_score = args[:semantic_similarity_score] if args.key?(:semantic_similarity_score)
30847
31674
  @topicality_rank = args[:topicality_rank] if args.key?(:topicality_rank)
@@ -31512,6 +32339,13 @@ module Google
31512
32339
  # @return [String]
31513
32340
  attr_accessor :name
31514
32341
 
32342
+ # Output only. Full resource name of an in-progress AsyncAssist operation for
32343
+ # this session, e.g. `projects/*/locations/*/collections/*/engines/*/sessions/*/
32344
+ # operations/*`. Set when the operation starts and cleared when it finishes.
32345
+ # Corresponds to the JSON property `pendingAsyncAssistOperationId`
32346
+ # @return [String]
32347
+ attr_accessor :pending_async_assist_operation_id
32348
+
31515
32349
  # Output only. The time the session started.
31516
32350
  # Corresponds to the JSON property `startTime`
31517
32351
  # @return [String]
@@ -31543,6 +32377,7 @@ module Google
31543
32377
  @is_pinned = args[:is_pinned] if args.key?(:is_pinned)
31544
32378
  @labels = args[:labels] if args.key?(:labels)
31545
32379
  @name = args[:name] if args.key?(:name)
32380
+ @pending_async_assist_operation_id = args[:pending_async_assist_operation_id] if args.key?(:pending_async_assist_operation_id)
31546
32381
  @start_time = args[:start_time] if args.key?(:start_time)
31547
32382
  @state = args[:state] if args.key?(:state)
31548
32383
  @turns = args[:turns] if args.key?(:turns)
@@ -31570,6 +32405,12 @@ module Google
31570
32405
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswer]
31571
32406
  attr_accessor :detailed_assist_answer
31572
32407
 
32408
+ # Optional. Indicates whether this turn is a live turn.
32409
+ # Corresponds to the JSON property `live`
32410
+ # @return [Boolean]
32411
+ attr_accessor :live
32412
+ alias_method :live?, :live
32413
+
31573
32414
  # Defines a user inputed query.
31574
32415
  # Corresponds to the JSON property `query`
31575
32416
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQuery]
@@ -31591,6 +32432,7 @@ module Google
31591
32432
  @answer = args[:answer] if args.key?(:answer)
31592
32433
  @detailed_answer = args[:detailed_answer] if args.key?(:detailed_answer)
31593
32434
  @detailed_assist_answer = args[:detailed_assist_answer] if args.key?(:detailed_assist_answer)
32435
+ @live = args[:live] if args.key?(:live)
31594
32436
  @query = args[:query] if args.key?(:query)
31595
32437
  @query_config = args[:query_config] if args.key?(:query_config)
31596
32438
  end
@@ -32053,6 +32895,11 @@ module Google
32053
32895
  # @return [Array<String>]
32054
32896
  attr_accessor :invocation_tools
32055
32897
 
32898
+ # The skills executed during the turn.
32899
+ # Corresponds to the JSON property `invokedSkills`
32900
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill>]
32901
+ attr_accessor :invoked_skills
32902
+
32056
32903
  # Information about the session.
32057
32904
  # Corresponds to the JSON property `sessionInfo`
32058
32905
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo]
@@ -32067,10 +32914,36 @@ module Google
32067
32914
  @answer = args[:answer] if args.key?(:answer)
32068
32915
  @assist_token = args[:assist_token] if args.key?(:assist_token)
32069
32916
  @invocation_tools = args[:invocation_tools] if args.key?(:invocation_tools)
32917
+ @invoked_skills = args[:invoked_skills] if args.key?(:invoked_skills)
32070
32918
  @session_info = args[:session_info] if args.key?(:session_info)
32071
32919
  end
32072
32920
  end
32073
32921
 
32922
+ # Represents a skill used during the assist call.
32923
+ class GoogleCloudDiscoveryengineV1betaStreamAssistResponseInvokedSkill
32924
+ include Google::Apis::Core::Hashable
32925
+
32926
+ # The display name of the skill.
32927
+ # Corresponds to the JSON property `displayName`
32928
+ # @return [String]
32929
+ attr_accessor :display_name
32930
+
32931
+ # The resource name of the skill.
32932
+ # Corresponds to the JSON property `name`
32933
+ # @return [String]
32934
+ attr_accessor :name
32935
+
32936
+ def initialize(**args)
32937
+ update!(**args)
32938
+ end
32939
+
32940
+ # Update properties of this object
32941
+ def update!(**args)
32942
+ @display_name = args[:display_name] if args.key?(:display_name)
32943
+ @name = args[:name] if args.key?(:name)
32944
+ end
32945
+ end
32946
+
32074
32947
  # Information about the session.
32075
32948
  class GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo
32076
32949
  include Google::Apis::Core::Hashable
@@ -32716,6 +33589,12 @@ module Google
32716
33589
  # @return [String]
32717
33590
  attr_accessor :event_type
32718
33591
 
33592
+ # Information about the user feedback. This information will be used for logging
33593
+ # and metrics purpose.
33594
+ # Corresponds to the JSON property `feedback`
33595
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaFeedback]
33596
+ attr_accessor :feedback
33597
+
32719
33598
  # Optional. The filter syntax consists of an expression language for
32720
33599
  # constructing a predicate from one or more fields of the documents being
32721
33600
  # filtered. One example is for `search` events, the associated SearchRequest may
@@ -32819,6 +33698,7 @@ module Google
32819
33698
  @entity = args[:entity] if args.key?(:entity)
32820
33699
  @event_time = args[:event_time] if args.key?(:event_time)
32821
33700
  @event_type = args[:event_type] if args.key?(:event_type)
33701
+ @feedback = args[:feedback] if args.key?(:feedback)
32822
33702
  @filter = args[:filter] if args.key?(:filter)
32823
33703
  @media_info = args[:media_info] if args.key?(:media_info)
32824
33704
  @page_info = args[:page_info] if args.key?(:page_info)
@@ -32838,6 +33718,12 @@ module Google
32838
33718
  class GoogleCloudDiscoveryengineV1betaUserInfo
32839
33719
  include Google::Apis::Core::Hashable
32840
33720
 
33721
+ # Precise location info with multiple representation options. Currently only
33722
+ # latitude and longitude point is supported.
33723
+ # Corresponds to the JSON property `preciseLocation`
33724
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserInfoPreciseLocation]
33725
+ attr_accessor :precise_location
33726
+
32841
33727
  # Optional. IANA time zone, e.g. Europe/Budapest.
32842
33728
  # Corresponds to the JSON property `timeZone`
32843
33729
  # @return [String]
@@ -32871,12 +33757,43 @@ module Google
32871
33757
 
32872
33758
  # Update properties of this object
32873
33759
  def update!(**args)
33760
+ @precise_location = args[:precise_location] if args.key?(:precise_location)
32874
33761
  @time_zone = args[:time_zone] if args.key?(:time_zone)
32875
33762
  @user_agent = args[:user_agent] if args.key?(:user_agent)
32876
33763
  @user_id = args[:user_id] if args.key?(:user_id)
32877
33764
  end
32878
33765
  end
32879
33766
 
33767
+ # Precise location info with multiple representation options. Currently only
33768
+ # latitude and longitude point is supported.
33769
+ class GoogleCloudDiscoveryengineV1betaUserInfoPreciseLocation
33770
+ include Google::Apis::Core::Hashable
33771
+
33772
+ # Optional. Location represented by a natural language address. Will later be
33773
+ # geocoded and converted to either a point or a polygon.
33774
+ # Corresponds to the JSON property `address`
33775
+ # @return [String]
33776
+ attr_accessor :address
33777
+
33778
+ # An object that represents a latitude/longitude pair. This is expressed as a
33779
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
33780
+ # specified otherwise, this object must conform to the WGS84 standard. Values
33781
+ # must be within normalized ranges.
33782
+ # Corresponds to the JSON property `point`
33783
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleTypeLatLng]
33784
+ attr_accessor :point
33785
+
33786
+ def initialize(**args)
33787
+ update!(**args)
33788
+ end
33789
+
33790
+ # Update properties of this object
33791
+ def update!(**args)
33792
+ @address = args[:address] if args.key?(:address)
33793
+ @point = args[:point] if args.key?(:point)
33794
+ end
33795
+ end
33796
+
32880
33797
  # User License information assigned by the admin.
32881
33798
  class GoogleCloudDiscoveryengineV1betaUserLicense
32882
33799
  include Google::Apis::Core::Hashable
@@ -33000,7 +33917,9 @@ module Google
33000
33917
  class GoogleCloudDiscoveryengineV1betaWorkspaceConfig
33001
33918
  include Google::Apis::Core::Hashable
33002
33919
 
33003
- # Obfuscated Dasher customer ID.
33920
+ # Output only. Obfuscated Dasher customer ID. Derived by the server from the
33921
+ # project's GCP organization at data store creation time; any value supplied in
33922
+ # the request payload is ignored.
33004
33923
  # Corresponds to the JSON property `dasherCustomerId`
33005
33924
  # @return [String]
33006
33925
  attr_accessor :dasher_customer_id
@@ -33828,6 +34747,34 @@ module Google
33828
34747
  end
33829
34748
  end
33830
34749
 
34750
+ # An object that represents a latitude/longitude pair. This is expressed as a
34751
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
34752
+ # specified otherwise, this object must conform to the WGS84 standard. Values
34753
+ # must be within normalized ranges.
34754
+ class GoogleTypeLatLng
34755
+ include Google::Apis::Core::Hashable
34756
+
34757
+ # The latitude in degrees. It must be in the range [-90.0, +90.0].
34758
+ # Corresponds to the JSON property `latitude`
34759
+ # @return [Float]
34760
+ attr_accessor :latitude
34761
+
34762
+ # The longitude in degrees. It must be in the range [-180.0, +180.0].
34763
+ # Corresponds to the JSON property `longitude`
34764
+ # @return [Float]
34765
+ attr_accessor :longitude
34766
+
34767
+ def initialize(**args)
34768
+ update!(**args)
34769
+ end
34770
+
34771
+ # Update properties of this object
34772
+ def update!(**args)
34773
+ @latitude = args[:latitude] if args.key?(:latitude)
34774
+ @longitude = args[:longitude] if args.key?(:longitude)
34775
+ end
34776
+ end
34777
+
33831
34778
  # Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
33832
34779
  # time-zones).
33833
34780
  class GoogleTypeTimeZone