google-apis-discoveryengine_v1beta 0.102.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +1195 -91
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +3 -3
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +457 -5
- data/lib/google/apis/discoveryengine_v1beta/service.rb +202 -113
- data/lib/google/apis/discoveryengine_v1beta.rb +3 -0
- metadata +3 -3
|
@@ -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)
|
|
@@ -889,6 +896,47 @@ module Google
|
|
|
889
896
|
end
|
|
890
897
|
end
|
|
891
898
|
|
|
899
|
+
# Agent Gateway setting, which may be attached to Gemini Enterprise resources
|
|
900
|
+
# for egress control of Gemini Enterprise agents to agents and tools outside of
|
|
901
|
+
# Gemini Enterprise.
|
|
902
|
+
class GoogleCloudDiscoveryengineV1AgentGatewaySetting
|
|
903
|
+
include Google::Apis::Core::Hashable
|
|
904
|
+
|
|
905
|
+
# Reference to an Agent Gateway resource.
|
|
906
|
+
# Corresponds to the JSON property `defaultEgressAgentGateway`
|
|
907
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AgentGatewaySettingAgentGatewayReference]
|
|
908
|
+
attr_accessor :default_egress_agent_gateway
|
|
909
|
+
|
|
910
|
+
def initialize(**args)
|
|
911
|
+
update!(**args)
|
|
912
|
+
end
|
|
913
|
+
|
|
914
|
+
# Update properties of this object
|
|
915
|
+
def update!(**args)
|
|
916
|
+
@default_egress_agent_gateway = args[:default_egress_agent_gateway] if args.key?(:default_egress_agent_gateway)
|
|
917
|
+
end
|
|
918
|
+
end
|
|
919
|
+
|
|
920
|
+
# Reference to an Agent Gateway resource.
|
|
921
|
+
class GoogleCloudDiscoveryengineV1AgentGatewaySettingAgentGatewayReference
|
|
922
|
+
include Google::Apis::Core::Hashable
|
|
923
|
+
|
|
924
|
+
# Required. Immutable. The resource name of the agent gateway. Expected format: `
|
|
925
|
+
# projects/`project_number`/locations/`location`/agentGateways/`agent_gateway``.
|
|
926
|
+
# Corresponds to the JSON property `name`
|
|
927
|
+
# @return [String]
|
|
928
|
+
attr_accessor :name
|
|
929
|
+
|
|
930
|
+
def initialize(**args)
|
|
931
|
+
update!(**args)
|
|
932
|
+
end
|
|
933
|
+
|
|
934
|
+
# Update properties of this object
|
|
935
|
+
def update!(**args)
|
|
936
|
+
@name = args[:name] if args.key?(:name)
|
|
937
|
+
end
|
|
938
|
+
end
|
|
939
|
+
|
|
892
940
|
# The connector level alert config.
|
|
893
941
|
class GoogleCloudDiscoveryengineV1AlertPolicyConfig
|
|
894
942
|
include Google::Apis::Core::Hashable
|
|
@@ -1024,6 +1072,11 @@ module Google
|
|
|
1024
1072
|
class GoogleCloudDiscoveryengineV1Assistant
|
|
1025
1073
|
include Google::Apis::Core::Hashable
|
|
1026
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
|
+
|
|
1027
1080
|
# Customer-defined policy for the assistant.
|
|
1028
1081
|
# Corresponds to the JSON property `customerPolicy`
|
|
1029
1082
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicy]
|
|
@@ -1079,6 +1132,11 @@ module Google
|
|
|
1079
1132
|
# @return [String]
|
|
1080
1133
|
attr_accessor :name
|
|
1081
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
|
+
|
|
1082
1140
|
# Optional. The type of web grounding to use.
|
|
1083
1141
|
# Corresponds to the JSON property `webGroundingType`
|
|
1084
1142
|
# @return [String]
|
|
@@ -1090,6 +1148,7 @@ module Google
|
|
|
1090
1148
|
|
|
1091
1149
|
# Update properties of this object
|
|
1092
1150
|
def update!(**args)
|
|
1151
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1093
1152
|
@customer_policy = args[:customer_policy] if args.key?(:customer_policy)
|
|
1094
1153
|
@default_web_grounding_toggle_off = args[:default_web_grounding_toggle_off] if args.key?(:default_web_grounding_toggle_off)
|
|
1095
1154
|
@description = args[:description] if args.key?(:description)
|
|
@@ -1097,6 +1156,7 @@ module Google
|
|
|
1097
1156
|
@enabled_tools = args[:enabled_tools] if args.key?(:enabled_tools)
|
|
1098
1157
|
@generation_config = args[:generation_config] if args.key?(:generation_config)
|
|
1099
1158
|
@name = args[:name] if args.key?(:name)
|
|
1159
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
1100
1160
|
@web_grounding_type = args[:web_grounding_type] if args.key?(:web_grounding_type)
|
|
1101
1161
|
end
|
|
1102
1162
|
end
|
|
@@ -1319,6 +1379,18 @@ module Google
|
|
|
1319
1379
|
# @return [Array<String>]
|
|
1320
1380
|
attr_accessor :supported_connector_modes
|
|
1321
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
|
+
|
|
1322
1394
|
def initialize(**args)
|
|
1323
1395
|
update!(**args)
|
|
1324
1396
|
end
|
|
@@ -1327,6 +1399,45 @@ module Google
|
|
|
1327
1399
|
def update!(**args)
|
|
1328
1400
|
@enabled_actions = args[:enabled_actions] if args.key?(:enabled_actions)
|
|
1329
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)
|
|
1330
1441
|
end
|
|
1331
1442
|
end
|
|
1332
1443
|
|
|
@@ -1442,6 +1553,25 @@ module Google
|
|
|
1442
1553
|
end
|
|
1443
1554
|
end
|
|
1444
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
|
+
|
|
1445
1575
|
# Configurations used to enable CMEK data encryption with Cloud KMS keys.
|
|
1446
1576
|
class GoogleCloudDiscoveryengineV1CmekConfig
|
|
1447
1577
|
include Google::Apis::Core::Hashable
|
|
@@ -2145,12 +2275,23 @@ module Google
|
|
|
2145
2275
|
# @return [Array<String>]
|
|
2146
2276
|
attr_accessor :blocking_reasons
|
|
2147
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
|
+
|
|
2148
2283
|
# Optional. The modes enabled for this connector. Default state is
|
|
2149
2284
|
# CONNECTOR_MODE_UNSPECIFIED.
|
|
2150
2285
|
# Corresponds to the JSON property `connectorModes`
|
|
2151
2286
|
# @return [Array<String>]
|
|
2152
2287
|
attr_accessor :connector_modes
|
|
2153
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
|
+
|
|
2154
2295
|
# Output only. The type of connector. Each source can only map to one type. For
|
|
2155
2296
|
# example, salesforce, confluence and jira have THIRD_PARTY connector type. It
|
|
2156
2297
|
# is not mutable once set by system.
|
|
@@ -2191,11 +2332,14 @@ module Google
|
|
|
2191
2332
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DestinationConfig>]
|
|
2192
2333
|
attr_accessor :destination_configs
|
|
2193
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
|
+
|
|
2194
2340
|
# Output only. The list of FQDNs of the data connector can egress to. This
|
|
2195
2341
|
# includes both FQDN derived from the customer provided instance URL and default
|
|
2196
|
-
# per connector type FQDNs.
|
|
2197
|
-
# DataConnector.params, and connector source spec. It should only be used for
|
|
2198
|
-
# CAIS and Org Policy evaluation purposes.
|
|
2342
|
+
# per connector type FQDNs.
|
|
2199
2343
|
# Corresponds to the JSON property `egressFqdns`
|
|
2200
2344
|
# @return [Array<String>]
|
|
2201
2345
|
attr_accessor :egress_fqdns
|
|
@@ -2289,7 +2433,7 @@ module Google
|
|
|
2289
2433
|
# @return [String]
|
|
2290
2434
|
attr_accessor :latest_pause_time
|
|
2291
2435
|
|
|
2292
|
-
#
|
|
2436
|
+
# Identifier. The full resource name of the Data Connector. Format: `projects/*/
|
|
2293
2437
|
# locations/*/collections/*/dataConnector`.
|
|
2294
2438
|
# Corresponds to the JSON property `name`
|
|
2295
2439
|
# @return [String]
|
|
@@ -2379,8 +2523,7 @@ module Google
|
|
|
2379
2523
|
# @return [String]
|
|
2380
2524
|
attr_accessor :update_time
|
|
2381
2525
|
|
|
2382
|
-
# Output only. Whether the connector is created with VPC-SC enabled.
|
|
2383
|
-
# only used for CuOP evaluation purpose.
|
|
2526
|
+
# Output only. Whether the connector is created with VPC-SC enabled.
|
|
2384
2527
|
# Corresponds to the JSON property `vpcscEnabled`
|
|
2385
2528
|
# @return [Boolean]
|
|
2386
2529
|
attr_accessor :vpcsc_enabled
|
|
@@ -2399,12 +2542,15 @@ module Google
|
|
|
2399
2542
|
@auto_run_disabled = args[:auto_run_disabled] if args.key?(:auto_run_disabled)
|
|
2400
2543
|
@bap_config = args[:bap_config] if args.key?(:bap_config)
|
|
2401
2544
|
@blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
|
|
2545
|
+
@cli_config = args[:cli_config] if args.key?(:cli_config)
|
|
2402
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)
|
|
2403
2548
|
@connector_type = args[:connector_type] if args.key?(:connector_type)
|
|
2404
2549
|
@create_eua_saas = args[:create_eua_saas] if args.key?(:create_eua_saas)
|
|
2405
2550
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
2406
2551
|
@data_source = args[:data_source] if args.key?(:data_source)
|
|
2407
2552
|
@destination_configs = args[:destination_configs] if args.key?(:destination_configs)
|
|
2553
|
+
@dynamic_tools = args[:dynamic_tools] if args.key?(:dynamic_tools)
|
|
2408
2554
|
@egress_fqdns = args[:egress_fqdns] if args.key?(:egress_fqdns)
|
|
2409
2555
|
@end_user_config = args[:end_user_config] if args.key?(:end_user_config)
|
|
2410
2556
|
@entities = args[:entities] if args.key?(:entities)
|
|
@@ -3631,6 +3777,44 @@ module Google
|
|
|
3631
3777
|
end
|
|
3632
3778
|
end
|
|
3633
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
|
+
|
|
3634
3818
|
# Metadata related to the progress of the SiteSearchEngineService.
|
|
3635
3819
|
# EnableAdvancedSiteSearch operation. This will be returned by the google.
|
|
3636
3820
|
# longrunning.Operation.metadata field.
|
|
@@ -3676,6 +3860,13 @@ module Google
|
|
|
3676
3860
|
class GoogleCloudDiscoveryengineV1Engine
|
|
3677
3861
|
include Google::Apis::Core::Hashable
|
|
3678
3862
|
|
|
3863
|
+
# Agent Gateway setting, which may be attached to Gemini Enterprise resources
|
|
3864
|
+
# for egress control of Gemini Enterprise agents to agents and tools outside of
|
|
3865
|
+
# Gemini Enterprise.
|
|
3866
|
+
# Corresponds to the JSON property `agentGatewaySetting`
|
|
3867
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AgentGatewaySetting]
|
|
3868
|
+
attr_accessor :agent_gateway_setting
|
|
3869
|
+
|
|
3679
3870
|
# Optional. Immutable. This the application type which this engine resource
|
|
3680
3871
|
# represents. NOTE: this is a new concept independ of existing industry vertical
|
|
3681
3872
|
# or solution type.
|
|
@@ -3749,9 +3940,12 @@ module Google
|
|
|
3749
3940
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
|
3750
3941
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
|
3751
3942
|
# personalization-memory` * `personalization-suggested-highlights` * `disable-
|
|
3752
|
-
#
|
|
3753
|
-
# disable-
|
|
3754
|
-
# 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`
|
|
3755
3949
|
# Corresponds to the JSON property `features`
|
|
3756
3950
|
# @return [Hash<String,String>]
|
|
3757
3951
|
attr_accessor :features
|
|
@@ -3803,10 +3997,10 @@ module Google
|
|
|
3803
3997
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1ObservabilityConfig]
|
|
3804
3998
|
attr_accessor :observability_config
|
|
3805
3999
|
|
|
3806
|
-
# Optional. The
|
|
3807
|
-
# Corresponds to the JSON property `
|
|
3808
|
-
# @return [String]
|
|
3809
|
-
attr_accessor :
|
|
4000
|
+
# Optional. The emails of the procurement contacts.
|
|
4001
|
+
# Corresponds to the JSON property `procurementContactEmails`
|
|
4002
|
+
# @return [Array<String>]
|
|
4003
|
+
attr_accessor :procurement_contact_emails
|
|
3810
4004
|
|
|
3811
4005
|
# Configurations for a Search Engine.
|
|
3812
4006
|
# Corresponds to the JSON property `searchEngineConfig`
|
|
@@ -3829,6 +4023,7 @@ module Google
|
|
|
3829
4023
|
|
|
3830
4024
|
# Update properties of this object
|
|
3831
4025
|
def update!(**args)
|
|
4026
|
+
@agent_gateway_setting = args[:agent_gateway_setting] if args.key?(:agent_gateway_setting)
|
|
3832
4027
|
@app_type = args[:app_type] if args.key?(:app_type)
|
|
3833
4028
|
@chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
|
|
3834
4029
|
@chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
|
|
@@ -3848,7 +4043,7 @@ module Google
|
|
|
3848
4043
|
@model_configs = args[:model_configs] if args.key?(:model_configs)
|
|
3849
4044
|
@name = args[:name] if args.key?(:name)
|
|
3850
4045
|
@observability_config = args[:observability_config] if args.key?(:observability_config)
|
|
3851
|
-
@
|
|
4046
|
+
@procurement_contact_emails = args[:procurement_contact_emails] if args.key?(:procurement_contact_emails)
|
|
3852
4047
|
@search_engine_config = args[:search_engine_config] if args.key?(:search_engine_config)
|
|
3853
4048
|
@solution_type = args[:solution_type] if args.key?(:solution_type)
|
|
3854
4049
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
@@ -4684,8 +4879,8 @@ module Google
|
|
|
4684
4879
|
# @return [Fixnum]
|
|
4685
4880
|
attr_accessor :success_count
|
|
4686
4881
|
|
|
4687
|
-
# Operation last update time. If the operation is done, this is
|
|
4688
|
-
# time.
|
|
4882
|
+
# Output only. Operation last update time. If the operation is done, this is
|
|
4883
|
+
# also the finish time.
|
|
4689
4884
|
# Corresponds to the JSON property `updateTime`
|
|
4690
4885
|
# @return [String]
|
|
4691
4886
|
attr_accessor :update_time
|
|
@@ -4882,14 +5077,14 @@ module Google
|
|
|
4882
5077
|
class GoogleCloudDiscoveryengineV1ObservabilityConfig
|
|
4883
5078
|
include Google::Apis::Core::Hashable
|
|
4884
5079
|
|
|
4885
|
-
# Optional. Enables observability. If false
|
|
5080
|
+
# Optional. Enables observability. If `false`, all other flags are ignored.
|
|
4886
5081
|
# Corresponds to the JSON property `observabilityEnabled`
|
|
4887
5082
|
# @return [Boolean]
|
|
4888
5083
|
attr_accessor :observability_enabled
|
|
4889
5084
|
alias_method :observability_enabled?, :observability_enabled
|
|
4890
5085
|
|
|
4891
5086
|
# Optional. Enables sensitive logging. Sensitive logging includes customer core
|
|
4892
|
-
# content (e.g. prompts, responses). If false
|
|
5087
|
+
# content (e.g. prompts, responses). If `false`, will sanitize all sensitive
|
|
4893
5088
|
# fields.
|
|
4894
5089
|
# Corresponds to the JSON property `sensitiveLoggingEnabled`
|
|
4895
5090
|
# @return [Boolean]
|
|
@@ -4916,7 +5111,9 @@ module Google
|
|
|
4916
5111
|
# and reflect the thresholds actively being used for billing purposes at the
|
|
4917
5112
|
# time of the GetProject call. This includes the start_time of the subscription
|
|
4918
5113
|
# and may differ from the values in `customer_provided_config` due to billing
|
|
4919
|
-
# 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.
|
|
4920
5117
|
# Corresponds to the JSON property `configurableBillingStatus`
|
|
4921
5118
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus]
|
|
4922
5119
|
attr_accessor :configurable_billing_status
|
|
@@ -4969,7 +5166,9 @@ module Google
|
|
|
4969
5166
|
# and reflect the thresholds actively being used for billing purposes at the
|
|
4970
5167
|
# time of the GetProject call. This includes the start_time of the subscription
|
|
4971
5168
|
# and may differ from the values in `customer_provided_config` due to billing
|
|
4972
|
-
# 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.
|
|
4973
5172
|
class GoogleCloudDiscoveryengineV1ProjectConfigurableBillingStatus
|
|
4974
5173
|
include Google::Apis::Core::Hashable
|
|
4975
5174
|
|
|
@@ -5014,6 +5213,12 @@ module Google
|
|
|
5014
5213
|
# @return [String]
|
|
5015
5214
|
attr_accessor :terminate_time
|
|
5016
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
|
+
|
|
5017
5222
|
def initialize(**args)
|
|
5018
5223
|
update!(**args)
|
|
5019
5224
|
end
|
|
@@ -5026,6 +5231,7 @@ module Google
|
|
|
5026
5231
|
@search_qpm_threshold_next_update_time = args[:search_qpm_threshold_next_update_time] if args.key?(:search_qpm_threshold_next_update_time)
|
|
5027
5232
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
5028
5233
|
@terminate_time = args[:terminate_time] if args.key?(:terminate_time)
|
|
5234
|
+
@update_type = args[:update_type] if args.key?(:update_type)
|
|
5029
5235
|
end
|
|
5030
5236
|
end
|
|
5031
5237
|
|
|
@@ -6632,7 +6838,9 @@ module Google
|
|
|
6632
6838
|
class GoogleCloudDiscoveryengineV1WorkspaceConfig
|
|
6633
6839
|
include Google::Apis::Core::Hashable
|
|
6634
6840
|
|
|
6635
|
-
# 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.
|
|
6636
6844
|
# Corresponds to the JSON property `dasherCustomerId`
|
|
6637
6845
|
# @return [String]
|
|
6638
6846
|
attr_accessor :dasher_customer_id
|
|
@@ -6705,6 +6913,12 @@ module Google
|
|
|
6705
6913
|
# @return [Hash<String,Object>]
|
|
6706
6914
|
attr_accessor :action_params
|
|
6707
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
|
+
|
|
6708
6922
|
# Output only. The connector contains the necessary parameters and is configured
|
|
6709
6923
|
# to support actions.
|
|
6710
6924
|
# Corresponds to the JSON property `isActionConfigured`
|
|
@@ -6745,6 +6959,7 @@ module Google
|
|
|
6745
6959
|
# Update properties of this object
|
|
6746
6960
|
def update!(**args)
|
|
6747
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)
|
|
6748
6963
|
@is_action_configured = args[:is_action_configured] if args.key?(:is_action_configured)
|
|
6749
6964
|
@json_action_params = args[:json_action_params] if args.key?(:json_action_params)
|
|
6750
6965
|
@service_name = args[:service_name] if args.key?(:service_name)
|
|
@@ -6840,6 +7055,47 @@ module Google
|
|
|
6840
7055
|
end
|
|
6841
7056
|
end
|
|
6842
7057
|
|
|
7058
|
+
# Agent Gateway setting, which may be attached to Gemini Enterprise resources
|
|
7059
|
+
# for egress control of Gemini Enterprise agents to agents and tools outside of
|
|
7060
|
+
# Gemini Enterprise.
|
|
7061
|
+
class GoogleCloudDiscoveryengineV1alphaAgentGatewaySetting
|
|
7062
|
+
include Google::Apis::Core::Hashable
|
|
7063
|
+
|
|
7064
|
+
# Reference to an Agent Gateway resource.
|
|
7065
|
+
# Corresponds to the JSON property `defaultEgressAgentGateway`
|
|
7066
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAgentGatewaySettingAgentGatewayReference]
|
|
7067
|
+
attr_accessor :default_egress_agent_gateway
|
|
7068
|
+
|
|
7069
|
+
def initialize(**args)
|
|
7070
|
+
update!(**args)
|
|
7071
|
+
end
|
|
7072
|
+
|
|
7073
|
+
# Update properties of this object
|
|
7074
|
+
def update!(**args)
|
|
7075
|
+
@default_egress_agent_gateway = args[:default_egress_agent_gateway] if args.key?(:default_egress_agent_gateway)
|
|
7076
|
+
end
|
|
7077
|
+
end
|
|
7078
|
+
|
|
7079
|
+
# Reference to an Agent Gateway resource.
|
|
7080
|
+
class GoogleCloudDiscoveryengineV1alphaAgentGatewaySettingAgentGatewayReference
|
|
7081
|
+
include Google::Apis::Core::Hashable
|
|
7082
|
+
|
|
7083
|
+
# Required. Immutable. The resource name of the agent gateway. Expected format: `
|
|
7084
|
+
# projects/`project_number`/locations/`location`/agentGateways/`agent_gateway``.
|
|
7085
|
+
# Corresponds to the JSON property `name`
|
|
7086
|
+
# @return [String]
|
|
7087
|
+
attr_accessor :name
|
|
7088
|
+
|
|
7089
|
+
def initialize(**args)
|
|
7090
|
+
update!(**args)
|
|
7091
|
+
end
|
|
7092
|
+
|
|
7093
|
+
# Update properties of this object
|
|
7094
|
+
def update!(**args)
|
|
7095
|
+
@name = args[:name] if args.key?(:name)
|
|
7096
|
+
end
|
|
7097
|
+
end
|
|
7098
|
+
|
|
6843
7099
|
# The connector level alert config.
|
|
6844
7100
|
class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig
|
|
6845
7101
|
include Google::Apis::Core::Hashable
|
|
@@ -6982,7 +7238,7 @@ module Google
|
|
|
6982
7238
|
# @return [String]
|
|
6983
7239
|
attr_accessor :answer_text
|
|
6984
7240
|
|
|
6985
|
-
# List of blob attachments in the answer.
|
|
7241
|
+
# Output only. List of blob attachments in the answer.
|
|
6986
7242
|
# Corresponds to the JSON property `blobAttachments`
|
|
6987
7243
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment>]
|
|
6988
7244
|
attr_accessor :blob_attachments
|
|
@@ -7282,11 +7538,6 @@ module Google
|
|
|
7282
7538
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo]
|
|
7283
7539
|
attr_accessor :chunk_info
|
|
7284
7540
|
|
|
7285
|
-
# Output only. The search queries that produced this reference.
|
|
7286
|
-
# Corresponds to the JSON property `queries`
|
|
7287
|
-
# @return [Array<String>]
|
|
7288
|
-
attr_accessor :queries
|
|
7289
|
-
|
|
7290
7541
|
# Structured search information.
|
|
7291
7542
|
# Corresponds to the JSON property `structuredDocumentInfo`
|
|
7292
7543
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo]
|
|
@@ -7304,7 +7555,6 @@ module Google
|
|
|
7304
7555
|
# Update properties of this object
|
|
7305
7556
|
def update!(**args)
|
|
7306
7557
|
@chunk_info = args[:chunk_info] if args.key?(:chunk_info)
|
|
7307
|
-
@queries = args[:queries] if args.key?(:queries)
|
|
7308
7558
|
@structured_document_info = args[:structured_document_info] if args.key?(:structured_document_info)
|
|
7309
7559
|
@unstructured_document_info = args[:unstructured_document_info] if args.key?(:unstructured_document_info)
|
|
7310
7560
|
end
|
|
@@ -7886,6 +8136,11 @@ module Google
|
|
|
7886
8136
|
class GoogleCloudDiscoveryengineV1alphaAssistAnswerReply
|
|
7887
8137
|
include Google::Apis::Core::Hashable
|
|
7888
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
|
+
|
|
7889
8144
|
# A piece of content and possibly its grounding information. Not all content
|
|
7890
8145
|
# needs grounding. Phrases like "Of course, I will gladly search it for you." do
|
|
7891
8146
|
# not need grounding.
|
|
@@ -7908,6 +8163,7 @@ module Google
|
|
|
7908
8163
|
|
|
7909
8164
|
# Update properties of this object
|
|
7910
8165
|
def update!(**args)
|
|
8166
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
7911
8167
|
@grounded_content = args[:grounded_content] if args.key?(:grounded_content)
|
|
7912
8168
|
@reply_id = args[:reply_id] if args.key?(:reply_id)
|
|
7913
8169
|
end
|
|
@@ -8112,6 +8368,11 @@ module Google
|
|
|
8112
8368
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment>]
|
|
8113
8369
|
attr_accessor :segments
|
|
8114
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
|
+
|
|
8115
8376
|
def initialize(**args)
|
|
8116
8377
|
update!(**args)
|
|
8117
8378
|
end
|
|
@@ -8120,6 +8381,7 @@ module Google
|
|
|
8120
8381
|
def update!(**args)
|
|
8121
8382
|
@references = args[:references] if args.key?(:references)
|
|
8122
8383
|
@segments = args[:segments] if args.key?(:segments)
|
|
8384
|
+
@visual_segments = args[:visual_segments] if args.key?(:visual_segments)
|
|
8123
8385
|
end
|
|
8124
8386
|
end
|
|
8125
8387
|
|
|
@@ -8127,6 +8389,11 @@ module Google
|
|
|
8127
8389
|
class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference
|
|
8128
8390
|
include Google::Apis::Core::Hashable
|
|
8129
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
|
+
|
|
8130
8397
|
# Referenced text content.
|
|
8131
8398
|
# Corresponds to the JSON property `content`
|
|
8132
8399
|
# @return [String]
|
|
@@ -8143,6 +8410,7 @@ module Google
|
|
|
8143
8410
|
|
|
8144
8411
|
# Update properties of this object
|
|
8145
8412
|
def update!(**args)
|
|
8413
|
+
@code_snippet = args[:code_snippet] if args.key?(:code_snippet)
|
|
8146
8414
|
@content = args[:content] if args.key?(:content)
|
|
8147
8415
|
@document_metadata = args[:document_metadata] if args.key?(:document_metadata)
|
|
8148
8416
|
end
|
|
@@ -8164,6 +8432,11 @@ module Google
|
|
|
8164
8432
|
# @return [String]
|
|
8165
8433
|
attr_accessor :domain
|
|
8166
8434
|
|
|
8435
|
+
#
|
|
8436
|
+
# Corresponds to the JSON property `language`
|
|
8437
|
+
# @return [String]
|
|
8438
|
+
attr_accessor :language
|
|
8439
|
+
|
|
8167
8440
|
# The mime type of the document. https://www.iana.org/assignments/media-types/
|
|
8168
8441
|
# media-types.xhtml.
|
|
8169
8442
|
# Corresponds to the JSON property `mimeType`
|
|
@@ -8194,6 +8467,7 @@ module Google
|
|
|
8194
8467
|
def update!(**args)
|
|
8195
8468
|
@document = args[:document] if args.key?(:document)
|
|
8196
8469
|
@domain = args[:domain] if args.key?(:domain)
|
|
8470
|
+
@language = args[:language] if args.key?(:language)
|
|
8197
8471
|
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
8198
8472
|
@page_identifier = args[:page_identifier] if args.key?(:page_identifier)
|
|
8199
8473
|
@title = args[:title] if args.key?(:title)
|
|
@@ -8246,6 +8520,33 @@ module Google
|
|
|
8246
8520
|
end
|
|
8247
8521
|
end
|
|
8248
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
|
+
|
|
8249
8550
|
# The configuration for the BAP connector.
|
|
8250
8551
|
class GoogleCloudDiscoveryengineV1alphaBapConfig
|
|
8251
8552
|
include Google::Apis::Core::Hashable
|
|
@@ -8260,6 +8561,18 @@ module Google
|
|
|
8260
8561
|
# @return [Array<String>]
|
|
8261
8562
|
attr_accessor :supported_connector_modes
|
|
8262
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
|
+
|
|
8263
8576
|
def initialize(**args)
|
|
8264
8577
|
update!(**args)
|
|
8265
8578
|
end
|
|
@@ -8268,6 +8581,45 @@ module Google
|
|
|
8268
8581
|
def update!(**args)
|
|
8269
8582
|
@enabled_actions = args[:enabled_actions] if args.key?(:enabled_actions)
|
|
8270
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)
|
|
8271
8623
|
end
|
|
8272
8624
|
end
|
|
8273
8625
|
|
|
@@ -8458,6 +8810,25 @@ module Google
|
|
|
8458
8810
|
end
|
|
8459
8811
|
end
|
|
8460
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
|
+
|
|
8461
8832
|
# Configurations used to enable CMEK data encryption with Cloud KMS keys.
|
|
8462
8833
|
class GoogleCloudDiscoveryengineV1alphaCmekConfig
|
|
8463
8834
|
include Google::Apis::Core::Hashable
|
|
@@ -9449,12 +9820,23 @@ module Google
|
|
|
9449
9820
|
# @return [Array<String>]
|
|
9450
9821
|
attr_accessor :blocking_reasons
|
|
9451
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
|
+
|
|
9452
9828
|
# Optional. The modes enabled for this connector. Default state is
|
|
9453
9829
|
# CONNECTOR_MODE_UNSPECIFIED.
|
|
9454
9830
|
# Corresponds to the JSON property `connectorModes`
|
|
9455
9831
|
# @return [Array<String>]
|
|
9456
9832
|
attr_accessor :connector_modes
|
|
9457
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
|
+
|
|
9458
9840
|
# Output only. The type of connector. Each source can only map to one type. For
|
|
9459
9841
|
# example, salesforce, confluence and jira have THIRD_PARTY connector type. It
|
|
9460
9842
|
# is not mutable once set by system.
|
|
@@ -9473,7 +9855,7 @@ module Google
|
|
|
9473
9855
|
# @return [String]
|
|
9474
9856
|
attr_accessor :create_time
|
|
9475
9857
|
|
|
9476
|
-
#
|
|
9858
|
+
# Contains the data protection policy config for a DataStore or a connector.
|
|
9477
9859
|
# Corresponds to the JSON property `dataProtectionPolicy`
|
|
9478
9860
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy]
|
|
9479
9861
|
attr_accessor :data_protection_policy
|
|
@@ -9500,11 +9882,14 @@ module Google
|
|
|
9500
9882
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDestinationConfig>]
|
|
9501
9883
|
attr_accessor :destination_configs
|
|
9502
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
|
+
|
|
9503
9890
|
# Output only. The list of FQDNs of the data connector can egress to. This
|
|
9504
9891
|
# includes both FQDN derived from the customer provided instance URL and default
|
|
9505
|
-
# per connector type FQDNs.
|
|
9506
|
-
# DataConnector.params, and connector source spec. It should only be used for
|
|
9507
|
-
# CAIS and Org Policy evaluation purposes.
|
|
9892
|
+
# per connector type FQDNs.
|
|
9508
9893
|
# Corresponds to the JSON property `egressFqdns`
|
|
9509
9894
|
# @return [Array<String>]
|
|
9510
9895
|
attr_accessor :egress_fqdns
|
|
@@ -9598,7 +9983,7 @@ module Google
|
|
|
9598
9983
|
# @return [String]
|
|
9599
9984
|
attr_accessor :latest_pause_time
|
|
9600
9985
|
|
|
9601
|
-
#
|
|
9986
|
+
# Identifier. The full resource name of the Data Connector. Format: `projects/*/
|
|
9602
9987
|
# locations/*/collections/*/dataConnector`.
|
|
9603
9988
|
# Corresponds to the JSON property `name`
|
|
9604
9989
|
# @return [String]
|
|
@@ -9688,8 +10073,7 @@ module Google
|
|
|
9688
10073
|
# @return [String]
|
|
9689
10074
|
attr_accessor :update_time
|
|
9690
10075
|
|
|
9691
|
-
# Output only. Whether the connector is created with VPC-SC enabled.
|
|
9692
|
-
# only used for CuOP evaluation purpose.
|
|
10076
|
+
# Output only. Whether the connector is created with VPC-SC enabled.
|
|
9693
10077
|
# Corresponds to the JSON property `vpcscEnabled`
|
|
9694
10078
|
# @return [Boolean]
|
|
9695
10079
|
attr_accessor :vpcsc_enabled
|
|
@@ -9708,13 +10092,16 @@ module Google
|
|
|
9708
10092
|
@auto_run_disabled = args[:auto_run_disabled] if args.key?(:auto_run_disabled)
|
|
9709
10093
|
@bap_config = args[:bap_config] if args.key?(:bap_config)
|
|
9710
10094
|
@blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
|
|
10095
|
+
@cli_config = args[:cli_config] if args.key?(:cli_config)
|
|
9711
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)
|
|
9712
10098
|
@connector_type = args[:connector_type] if args.key?(:connector_type)
|
|
9713
10099
|
@create_eua_saas = args[:create_eua_saas] if args.key?(:create_eua_saas)
|
|
9714
10100
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
9715
10101
|
@data_protection_policy = args[:data_protection_policy] if args.key?(:data_protection_policy)
|
|
9716
10102
|
@data_source = args[:data_source] if args.key?(:data_source)
|
|
9717
10103
|
@destination_configs = args[:destination_configs] if args.key?(:destination_configs)
|
|
10104
|
+
@dynamic_tools = args[:dynamic_tools] if args.key?(:dynamic_tools)
|
|
9718
10105
|
@egress_fqdns = args[:egress_fqdns] if args.key?(:egress_fqdns)
|
|
9719
10106
|
@end_user_config = args[:end_user_config] if args.key?(:end_user_config)
|
|
9720
10107
|
@entities = args[:entities] if args.key?(:entities)
|
|
@@ -9950,7 +10337,7 @@ module Google
|
|
|
9950
10337
|
end
|
|
9951
10338
|
end
|
|
9952
10339
|
|
|
9953
|
-
#
|
|
10340
|
+
# Contains the data protection policy config for a DataStore or a connector.
|
|
9954
10341
|
class GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy
|
|
9955
10342
|
include Google::Apis::Core::Hashable
|
|
9956
10343
|
|
|
@@ -9975,7 +10362,8 @@ module Google
|
|
|
9975
10362
|
class GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy
|
|
9976
10363
|
include Google::Apis::Core::Hashable
|
|
9977
10364
|
|
|
9978
|
-
# Optional.
|
|
10365
|
+
# Optional. Specifies the resource name of the Sensitive Data Protection content
|
|
10366
|
+
# policy.
|
|
9979
10367
|
# Corresponds to the JSON property `policy`
|
|
9980
10368
|
# @return [String]
|
|
9981
10369
|
attr_accessor :policy
|
|
@@ -10041,6 +10429,11 @@ module Google
|
|
|
10041
10429
|
# @return [String]
|
|
10042
10430
|
attr_accessor :create_time
|
|
10043
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
|
+
|
|
10044
10437
|
# Output only. The id of the default Schema associated to this data store.
|
|
10045
10438
|
# Corresponds to the JSON property `defaultSchemaId`
|
|
10046
10439
|
# @return [String]
|
|
@@ -10157,6 +10550,7 @@ module Google
|
|
|
10157
10550
|
@configurable_billing_approach_update_time = args[:configurable_billing_approach_update_time] if args.key?(:configurable_billing_approach_update_time)
|
|
10158
10551
|
@content_config = args[:content_config] if args.key?(:content_config)
|
|
10159
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)
|
|
10160
10554
|
@default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
|
|
10161
10555
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
10162
10556
|
@document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
|
|
@@ -11134,6 +11528,44 @@ module Google
|
|
|
11134
11528
|
end
|
|
11135
11529
|
end
|
|
11136
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
|
+
|
|
11137
11569
|
# Metadata related to the progress of the SiteSearchEngineService.
|
|
11138
11570
|
# EnableAdvancedSiteSearch operation. This will be returned by the google.
|
|
11139
11571
|
# longrunning.Operation.metadata field.
|
|
@@ -11179,6 +11611,13 @@ module Google
|
|
|
11179
11611
|
class GoogleCloudDiscoveryengineV1alphaEngine
|
|
11180
11612
|
include Google::Apis::Core::Hashable
|
|
11181
11613
|
|
|
11614
|
+
# Agent Gateway setting, which may be attached to Gemini Enterprise resources
|
|
11615
|
+
# for egress control of Gemini Enterprise agents to agents and tools outside of
|
|
11616
|
+
# Gemini Enterprise.
|
|
11617
|
+
# Corresponds to the JSON property `agentGatewaySetting`
|
|
11618
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAgentGatewaySetting]
|
|
11619
|
+
attr_accessor :agent_gateway_setting
|
|
11620
|
+
|
|
11182
11621
|
# Optional. Immutable. This the application type which this engine resource
|
|
11183
11622
|
# represents. NOTE: this is a new concept independ of existing industry vertical
|
|
11184
11623
|
# or solution type.
|
|
@@ -11252,9 +11691,12 @@ module Google
|
|
|
11252
11691
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
|
11253
11692
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
|
11254
11693
|
# personalization-memory` * `personalization-suggested-highlights` * `disable-
|
|
11255
|
-
#
|
|
11256
|
-
# disable-
|
|
11257
|
-
# 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`
|
|
11258
11700
|
# Corresponds to the JSON property `features`
|
|
11259
11701
|
# @return [Hash<String,String>]
|
|
11260
11702
|
attr_accessor :features
|
|
@@ -11306,10 +11748,10 @@ module Google
|
|
|
11306
11748
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaObservabilityConfig]
|
|
11307
11749
|
attr_accessor :observability_config
|
|
11308
11750
|
|
|
11309
|
-
# Optional. The
|
|
11310
|
-
# Corresponds to the JSON property `
|
|
11311
|
-
# @return [String]
|
|
11312
|
-
attr_accessor :
|
|
11751
|
+
# Optional. The emails of the procurement contacts.
|
|
11752
|
+
# Corresponds to the JSON property `procurementContactEmails`
|
|
11753
|
+
# @return [Array<String>]
|
|
11754
|
+
attr_accessor :procurement_contact_emails
|
|
11313
11755
|
|
|
11314
11756
|
# Additional information of a recommendation engine.
|
|
11315
11757
|
# Corresponds to the JSON property `recommendationMetadata`
|
|
@@ -11342,6 +11784,7 @@ module Google
|
|
|
11342
11784
|
|
|
11343
11785
|
# Update properties of this object
|
|
11344
11786
|
def update!(**args)
|
|
11787
|
+
@agent_gateway_setting = args[:agent_gateway_setting] if args.key?(:agent_gateway_setting)
|
|
11345
11788
|
@app_type = args[:app_type] if args.key?(:app_type)
|
|
11346
11789
|
@chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
|
|
11347
11790
|
@chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
|
|
@@ -11361,7 +11804,7 @@ module Google
|
|
|
11361
11804
|
@model_configs = args[:model_configs] if args.key?(:model_configs)
|
|
11362
11805
|
@name = args[:name] if args.key?(:name)
|
|
11363
11806
|
@observability_config = args[:observability_config] if args.key?(:observability_config)
|
|
11364
|
-
@
|
|
11807
|
+
@procurement_contact_emails = args[:procurement_contact_emails] if args.key?(:procurement_contact_emails)
|
|
11365
11808
|
@recommendation_metadata = args[:recommendation_metadata] if args.key?(:recommendation_metadata)
|
|
11366
11809
|
@search_engine_config = args[:search_engine_config] if args.key?(:search_engine_config)
|
|
11367
11810
|
@similar_documents_config = args[:similar_documents_config] if args.key?(:similar_documents_config)
|
|
@@ -12167,6 +12610,16 @@ module Google
|
|
|
12167
12610
|
# @return [Array<String>]
|
|
12168
12611
|
attr_accessor :schema_org_paths
|
|
12169
12612
|
|
|
12613
|
+
# Optional. Specifies the importance of the field when `searchable_option` is `
|
|
12614
|
+
# SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this
|
|
12615
|
+
# field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `
|
|
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).
|
|
12619
|
+
# Corresponds to the JSON property `searchableFieldImportance`
|
|
12620
|
+
# @return [String]
|
|
12621
|
+
attr_accessor :searchable_field_importance
|
|
12622
|
+
|
|
12170
12623
|
# If searchable_option is SEARCHABLE_ENABLED, field values are searchable by
|
|
12171
12624
|
# text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type is
|
|
12172
12625
|
# numerical, field values will not be searchable by text queries in
|
|
@@ -12198,6 +12651,7 @@ module Google
|
|
|
12198
12651
|
@recs_filterable_option = args[:recs_filterable_option] if args.key?(:recs_filterable_option)
|
|
12199
12652
|
@retrievable_option = args[:retrievable_option] if args.key?(:retrievable_option)
|
|
12200
12653
|
@schema_org_paths = args[:schema_org_paths] if args.key?(:schema_org_paths)
|
|
12654
|
+
@searchable_field_importance = args[:searchable_field_importance] if args.key?(:searchable_field_importance)
|
|
12201
12655
|
@searchable_option = args[:searchable_option] if args.key?(:searchable_option)
|
|
12202
12656
|
end
|
|
12203
12657
|
end
|
|
@@ -12740,8 +13194,8 @@ module Google
|
|
|
12740
13194
|
# @return [Fixnum]
|
|
12741
13195
|
attr_accessor :success_count
|
|
12742
13196
|
|
|
12743
|
-
# Operation last update time. If the operation is done, this is
|
|
12744
|
-
# time.
|
|
13197
|
+
# Output only. Operation last update time. If the operation is done, this is
|
|
13198
|
+
# also the finish time.
|
|
12745
13199
|
# Corresponds to the JSON property `updateTime`
|
|
12746
13200
|
# @return [String]
|
|
12747
13201
|
attr_accessor :update_time
|
|
@@ -13017,9 +13471,9 @@ module Google
|
|
|
13017
13471
|
|
|
13018
13472
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
|
13019
13473
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
|
13020
|
-
# create_time` * `session_name` * `is_pinned`
|
|
13021
|
-
# create_time` * `is_pinned desc,update_time desc`: list
|
|
13022
|
-
# 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.
|
|
13023
13477
|
# Corresponds to the JSON property `orderBy`
|
|
13024
13478
|
# @return [String]
|
|
13025
13479
|
attr_accessor :order_by
|
|
@@ -13105,14 +13559,14 @@ module Google
|
|
|
13105
13559
|
class GoogleCloudDiscoveryengineV1alphaObservabilityConfig
|
|
13106
13560
|
include Google::Apis::Core::Hashable
|
|
13107
13561
|
|
|
13108
|
-
# Optional. Enables observability. If false
|
|
13562
|
+
# Optional. Enables observability. If `false`, all other flags are ignored.
|
|
13109
13563
|
# Corresponds to the JSON property `observabilityEnabled`
|
|
13110
13564
|
# @return [Boolean]
|
|
13111
13565
|
attr_accessor :observability_enabled
|
|
13112
13566
|
alias_method :observability_enabled?, :observability_enabled
|
|
13113
13567
|
|
|
13114
13568
|
# Optional. Enables sensitive logging. Sensitive logging includes customer core
|
|
13115
|
-
# content (e.g. prompts, responses). If false
|
|
13569
|
+
# content (e.g. prompts, responses). If `false`, will sanitize all sensitive
|
|
13116
13570
|
# fields.
|
|
13117
13571
|
# Corresponds to the JSON property `sensitiveLoggingEnabled`
|
|
13118
13572
|
# @return [Boolean]
|
|
@@ -13255,7 +13709,9 @@ module Google
|
|
|
13255
13709
|
# and reflect the thresholds actively being used for billing purposes at the
|
|
13256
13710
|
# time of the GetProject call. This includes the start_time of the subscription
|
|
13257
13711
|
# and may differ from the values in `customer_provided_config` due to billing
|
|
13258
|
-
# 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.
|
|
13259
13715
|
# Corresponds to the JSON property `configurableBillingStatus`
|
|
13260
13716
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus]
|
|
13261
13717
|
attr_accessor :configurable_billing_status
|
|
@@ -13308,7 +13764,9 @@ module Google
|
|
|
13308
13764
|
# and reflect the thresholds actively being used for billing purposes at the
|
|
13309
13765
|
# time of the GetProject call. This includes the start_time of the subscription
|
|
13310
13766
|
# and may differ from the values in `customer_provided_config` due to billing
|
|
13311
|
-
# 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.
|
|
13312
13770
|
class GoogleCloudDiscoveryengineV1alphaProjectConfigurableBillingStatus
|
|
13313
13771
|
include Google::Apis::Core::Hashable
|
|
13314
13772
|
|
|
@@ -13353,6 +13811,12 @@ module Google
|
|
|
13353
13811
|
# @return [String]
|
|
13354
13812
|
attr_accessor :terminate_time
|
|
13355
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
|
+
|
|
13356
13820
|
def initialize(**args)
|
|
13357
13821
|
update!(**args)
|
|
13358
13822
|
end
|
|
@@ -13365,6 +13829,7 @@ module Google
|
|
|
13365
13829
|
@search_qpm_threshold_next_update_time = args[:search_qpm_threshold_next_update_time] if args.key?(:search_qpm_threshold_next_update_time)
|
|
13366
13830
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
13367
13831
|
@terminate_time = args[:terminate_time] if args.key?(:terminate_time)
|
|
13832
|
+
@update_type = args[:update_type] if args.key?(:update_type)
|
|
13368
13833
|
end
|
|
13369
13834
|
end
|
|
13370
13835
|
|
|
@@ -13884,6 +14349,11 @@ module Google
|
|
|
13884
14349
|
class GoogleCloudDiscoveryengineV1alphaQuery
|
|
13885
14350
|
include Google::Apis::Core::Hashable
|
|
13886
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
|
+
|
|
13887
14357
|
# Query content parts.
|
|
13888
14358
|
# Corresponds to the JSON property `parts`
|
|
13889
14359
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQueryPart>]
|
|
@@ -13905,6 +14375,7 @@ module Google
|
|
|
13905
14375
|
|
|
13906
14376
|
# Update properties of this object
|
|
13907
14377
|
def update!(**args)
|
|
14378
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
13908
14379
|
@parts = args[:parts] if args.key?(:parts)
|
|
13909
14380
|
@query_id = args[:query_id] if args.key?(:query_id)
|
|
13910
14381
|
@text = args[:text] if args.key?(:text)
|
|
@@ -14630,6 +15101,11 @@ module Google
|
|
|
14630
15101
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec]
|
|
14631
15102
|
attr_accessor :custom_fine_tuning_spec
|
|
14632
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
|
+
|
|
14633
15109
|
# Specifications that define the specific DataStores to be searched, along with
|
|
14634
15110
|
# configurations for those data stores. This is only considered for Engines with
|
|
14635
15111
|
# multiple data stores. For engines with a single data store, the specs directly
|
|
@@ -14649,6 +15125,14 @@ module Google
|
|
|
14649
15125
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestEmbeddingSpec]
|
|
14650
15126
|
attr_accessor :embedding_spec
|
|
14651
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
|
+
|
|
14652
15136
|
# Facet specifications for faceted search. If empty, no facets are returned. A
|
|
14653
15137
|
# maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is
|
|
14654
15138
|
# returned.
|
|
@@ -14832,7 +15316,14 @@ module Google
|
|
|
14832
15316
|
# since the document was last updated, a floating-point number (e.g., 0.25 means
|
|
14833
15317
|
# 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses
|
|
14834
15318
|
# proprietary Google model to determine the keyword-based overlap between the
|
|
14835
|
-
# 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
|
|
14836
15327
|
# Corresponds to the JSON property `rankingExpression`
|
|
14837
15328
|
# @return [String]
|
|
14838
15329
|
attr_accessor :ranking_expression
|
|
@@ -14975,9 +15466,11 @@ module Google
|
|
|
14975
15466
|
@content_search_spec = args[:content_search_spec] if args.key?(:content_search_spec)
|
|
14976
15467
|
@crowding_specs = args[:crowding_specs] if args.key?(:crowding_specs)
|
|
14977
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)
|
|
14978
15470
|
@data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
|
|
14979
15471
|
@display_spec = args[:display_spec] if args.key?(:display_spec)
|
|
14980
15472
|
@embedding_spec = args[:embedding_spec] if args.key?(:embedding_spec)
|
|
15473
|
+
@entity = args[:entity] if args.key?(:entity)
|
|
14981
15474
|
@facet_specs = args[:facet_specs] if args.key?(:facet_specs)
|
|
14982
15475
|
@filter = args[:filter] if args.key?(:filter)
|
|
14983
15476
|
@image_query = args[:image_query] if args.key?(:image_query)
|
|
@@ -15568,6 +16061,27 @@ module Google
|
|
|
15568
16061
|
end
|
|
15569
16062
|
end
|
|
15570
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
|
+
|
|
15571
16085
|
# A struct to define data stores to filter on in a search call and
|
|
15572
16086
|
# configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error
|
|
15573
16087
|
# is returned.
|
|
@@ -15892,9 +16406,7 @@ module Google
|
|
|
15892
16406
|
|
|
15893
16407
|
# Field names used for location-based filtering, where geolocation filters are
|
|
15894
16408
|
# detected in natural language search queries. Only valid when the
|
|
15895
|
-
# FilterExtractionCondition is set to `ENABLED`.
|
|
15896
|
-
# overrides the field names set in ServingConfig.
|
|
15897
|
-
# geo_search_query_detection_field_names.
|
|
16409
|
+
# FilterExtractionCondition is set to `ENABLED`.
|
|
15898
16410
|
# Corresponds to the JSON property `geoSearchQueryDetectionFieldNames`
|
|
15899
16411
|
# @return [Array<String>]
|
|
15900
16412
|
attr_accessor :geo_search_query_detection_field_names
|
|
@@ -16183,6 +16695,13 @@ module Google
|
|
|
16183
16695
|
# @return [String]
|
|
16184
16696
|
attr_accessor :name
|
|
16185
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
|
+
|
|
16186
16705
|
# Output only. The time the session started.
|
|
16187
16706
|
# Corresponds to the JSON property `startTime`
|
|
16188
16707
|
# @return [String]
|
|
@@ -16214,6 +16733,7 @@ module Google
|
|
|
16214
16733
|
@is_pinned = args[:is_pinned] if args.key?(:is_pinned)
|
|
16215
16734
|
@labels = args[:labels] if args.key?(:labels)
|
|
16216
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)
|
|
16217
16737
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
16218
16738
|
@state = args[:state] if args.key?(:state)
|
|
16219
16739
|
@turns = args[:turns] if args.key?(:turns)
|
|
@@ -16241,6 +16761,12 @@ module Google
|
|
|
16241
16761
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistAnswer]
|
|
16242
16762
|
attr_accessor :detailed_assist_answer
|
|
16243
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
|
+
|
|
16244
16770
|
# Defines a user inputed query.
|
|
16245
16771
|
# Corresponds to the JSON property `query`
|
|
16246
16772
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaQuery]
|
|
@@ -16262,6 +16788,7 @@ module Google
|
|
|
16262
16788
|
@answer = args[:answer] if args.key?(:answer)
|
|
16263
16789
|
@detailed_answer = args[:detailed_answer] if args.key?(:detailed_answer)
|
|
16264
16790
|
@detailed_assist_answer = args[:detailed_assist_answer] if args.key?(:detailed_assist_answer)
|
|
16791
|
+
@live = args[:live] if args.key?(:live)
|
|
16265
16792
|
@query = args[:query] if args.key?(:query)
|
|
16266
16793
|
@query_config = args[:query_config] if args.key?(:query_config)
|
|
16267
16794
|
end
|
|
@@ -16870,6 +17397,12 @@ module Google
|
|
|
16870
17397
|
class GoogleCloudDiscoveryengineV1alphaUserInfo
|
|
16871
17398
|
include Google::Apis::Core::Hashable
|
|
16872
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
|
+
|
|
16873
17406
|
# Optional. IANA time zone, e.g. Europe/Budapest.
|
|
16874
17407
|
# Corresponds to the JSON property `timeZone`
|
|
16875
17408
|
# @return [String]
|
|
@@ -16903,12 +17436,43 @@ module Google
|
|
|
16903
17436
|
|
|
16904
17437
|
# Update properties of this object
|
|
16905
17438
|
def update!(**args)
|
|
17439
|
+
@precise_location = args[:precise_location] if args.key?(:precise_location)
|
|
16906
17440
|
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
|
16907
17441
|
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
|
16908
17442
|
@user_id = args[:user_id] if args.key?(:user_id)
|
|
16909
17443
|
end
|
|
16910
17444
|
end
|
|
16911
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
|
+
|
|
16912
17476
|
# User License information assigned by the admin.
|
|
16913
17477
|
class GoogleCloudDiscoveryengineV1alphaUserLicense
|
|
16914
17478
|
include Google::Apis::Core::Hashable
|
|
@@ -16976,7 +17540,9 @@ module Google
|
|
|
16976
17540
|
class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig
|
|
16977
17541
|
include Google::Apis::Core::Hashable
|
|
16978
17542
|
|
|
16979
|
-
# 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.
|
|
16980
17546
|
# Corresponds to the JSON property `dasherCustomerId`
|
|
16981
17547
|
# @return [String]
|
|
16982
17548
|
attr_accessor :dasher_customer_id
|
|
@@ -17472,6 +18038,47 @@ module Google
|
|
|
17472
18038
|
end
|
|
17473
18039
|
end
|
|
17474
18040
|
|
|
18041
|
+
# Agent Gateway setting, which may be attached to Gemini Enterprise resources
|
|
18042
|
+
# for egress control of Gemini Enterprise agents to agents and tools outside of
|
|
18043
|
+
# Gemini Enterprise.
|
|
18044
|
+
class GoogleCloudDiscoveryengineV1betaAgentGatewaySetting
|
|
18045
|
+
include Google::Apis::Core::Hashable
|
|
18046
|
+
|
|
18047
|
+
# Reference to an Agent Gateway resource.
|
|
18048
|
+
# Corresponds to the JSON property `defaultEgressAgentGateway`
|
|
18049
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAgentGatewaySettingAgentGatewayReference]
|
|
18050
|
+
attr_accessor :default_egress_agent_gateway
|
|
18051
|
+
|
|
18052
|
+
def initialize(**args)
|
|
18053
|
+
update!(**args)
|
|
18054
|
+
end
|
|
18055
|
+
|
|
18056
|
+
# Update properties of this object
|
|
18057
|
+
def update!(**args)
|
|
18058
|
+
@default_egress_agent_gateway = args[:default_egress_agent_gateway] if args.key?(:default_egress_agent_gateway)
|
|
18059
|
+
end
|
|
18060
|
+
end
|
|
18061
|
+
|
|
18062
|
+
# Reference to an Agent Gateway resource.
|
|
18063
|
+
class GoogleCloudDiscoveryengineV1betaAgentGatewaySettingAgentGatewayReference
|
|
18064
|
+
include Google::Apis::Core::Hashable
|
|
18065
|
+
|
|
18066
|
+
# Required. Immutable. The resource name of the agent gateway. Expected format: `
|
|
18067
|
+
# projects/`project_number`/locations/`location`/agentGateways/`agent_gateway``.
|
|
18068
|
+
# Corresponds to the JSON property `name`
|
|
18069
|
+
# @return [String]
|
|
18070
|
+
attr_accessor :name
|
|
18071
|
+
|
|
18072
|
+
def initialize(**args)
|
|
18073
|
+
update!(**args)
|
|
18074
|
+
end
|
|
18075
|
+
|
|
18076
|
+
# Update properties of this object
|
|
18077
|
+
def update!(**args)
|
|
18078
|
+
@name = args[:name] if args.key?(:name)
|
|
18079
|
+
end
|
|
18080
|
+
end
|
|
18081
|
+
|
|
17475
18082
|
# AlloyDB source import data from.
|
|
17476
18083
|
class GoogleCloudDiscoveryengineV1betaAlloyDbSource
|
|
17477
18084
|
include Google::Apis::Core::Hashable
|
|
@@ -17545,7 +18152,7 @@ module Google
|
|
|
17545
18152
|
# @return [String]
|
|
17546
18153
|
attr_accessor :answer_text
|
|
17547
18154
|
|
|
17548
|
-
# List of blob attachments in the answer.
|
|
18155
|
+
# Output only. List of blob attachments in the answer.
|
|
17549
18156
|
# Corresponds to the JSON property `blobAttachments`
|
|
17550
18157
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerBlobAttachment>]
|
|
17551
18158
|
attr_accessor :blob_attachments
|
|
@@ -18851,11 +19458,6 @@ module Google
|
|
|
18851
19458
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo]
|
|
18852
19459
|
attr_accessor :chunk_info
|
|
18853
19460
|
|
|
18854
|
-
# Output only. The search queries that produced this reference.
|
|
18855
|
-
# Corresponds to the JSON property `queries`
|
|
18856
|
-
# @return [Array<String>]
|
|
18857
|
-
attr_accessor :queries
|
|
18858
|
-
|
|
18859
19461
|
# Structured search information.
|
|
18860
19462
|
# Corresponds to the JSON property `structuredDocumentInfo`
|
|
18861
19463
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo]
|
|
@@ -18873,7 +19475,6 @@ module Google
|
|
|
18873
19475
|
# Update properties of this object
|
|
18874
19476
|
def update!(**args)
|
|
18875
19477
|
@chunk_info = args[:chunk_info] if args.key?(:chunk_info)
|
|
18876
|
-
@queries = args[:queries] if args.key?(:queries)
|
|
18877
19478
|
@structured_document_info = args[:structured_document_info] if args.key?(:structured_document_info)
|
|
18878
19479
|
@unstructured_document_info = args[:unstructured_document_info] if args.key?(:unstructured_document_info)
|
|
18879
19480
|
end
|
|
@@ -19455,6 +20056,11 @@ module Google
|
|
|
19455
20056
|
class GoogleCloudDiscoveryengineV1betaAssistAnswerReply
|
|
19456
20057
|
include Google::Apis::Core::Hashable
|
|
19457
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
|
+
|
|
19458
20064
|
# A piece of content and possibly its grounding information. Not all content
|
|
19459
20065
|
# needs grounding. Phrases like "Of course, I will gladly search it for you." do
|
|
19460
20066
|
# not need grounding.
|
|
@@ -19468,6 +20074,7 @@ module Google
|
|
|
19468
20074
|
|
|
19469
20075
|
# Update properties of this object
|
|
19470
20076
|
def update!(**args)
|
|
20077
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
19471
20078
|
@grounded_content = args[:grounded_content] if args.key?(:grounded_content)
|
|
19472
20079
|
end
|
|
19473
20080
|
end
|
|
@@ -19503,6 +20110,11 @@ module Google
|
|
|
19503
20110
|
class GoogleCloudDiscoveryengineV1betaAssistant
|
|
19504
20111
|
include Google::Apis::Core::Hashable
|
|
19505
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
|
+
|
|
19506
20118
|
# Customer-defined policy for the assistant.
|
|
19507
20119
|
# Corresponds to the JSON property `customerPolicy`
|
|
19508
20120
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy]
|
|
@@ -19558,6 +20170,11 @@ module Google
|
|
|
19558
20170
|
# @return [String]
|
|
19559
20171
|
attr_accessor :name
|
|
19560
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
|
+
|
|
19561
20178
|
# Optional. The type of web grounding to use.
|
|
19562
20179
|
# Corresponds to the JSON property `webGroundingType`
|
|
19563
20180
|
# @return [String]
|
|
@@ -19569,6 +20186,7 @@ module Google
|
|
|
19569
20186
|
|
|
19570
20187
|
# Update properties of this object
|
|
19571
20188
|
def update!(**args)
|
|
20189
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
19572
20190
|
@customer_policy = args[:customer_policy] if args.key?(:customer_policy)
|
|
19573
20191
|
@default_web_grounding_toggle_off = args[:default_web_grounding_toggle_off] if args.key?(:default_web_grounding_toggle_off)
|
|
19574
20192
|
@description = args[:description] if args.key?(:description)
|
|
@@ -19576,6 +20194,7 @@ module Google
|
|
|
19576
20194
|
@enabled_tools = args[:enabled_tools] if args.key?(:enabled_tools)
|
|
19577
20195
|
@generation_config = args[:generation_config] if args.key?(:generation_config)
|
|
19578
20196
|
@name = args[:name] if args.key?(:name)
|
|
20197
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
19579
20198
|
@web_grounding_type = args[:web_grounding_type] if args.key?(:web_grounding_type)
|
|
19580
20199
|
end
|
|
19581
20200
|
end
|
|
@@ -19937,6 +20556,11 @@ module Google
|
|
|
19937
20556
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataSegment>]
|
|
19938
20557
|
attr_accessor :segments
|
|
19939
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
|
+
|
|
19940
20564
|
def initialize(**args)
|
|
19941
20565
|
update!(**args)
|
|
19942
20566
|
end
|
|
@@ -19945,6 +20569,7 @@ module Google
|
|
|
19945
20569
|
def update!(**args)
|
|
19946
20570
|
@references = args[:references] if args.key?(:references)
|
|
19947
20571
|
@segments = args[:segments] if args.key?(:segments)
|
|
20572
|
+
@visual_segments = args[:visual_segments] if args.key?(:visual_segments)
|
|
19948
20573
|
end
|
|
19949
20574
|
end
|
|
19950
20575
|
|
|
@@ -19952,6 +20577,11 @@ module Google
|
|
|
19952
20577
|
class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference
|
|
19953
20578
|
include Google::Apis::Core::Hashable
|
|
19954
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
|
+
|
|
19955
20585
|
# Referenced text content.
|
|
19956
20586
|
# Corresponds to the JSON property `content`
|
|
19957
20587
|
# @return [String]
|
|
@@ -19968,6 +20598,7 @@ module Google
|
|
|
19968
20598
|
|
|
19969
20599
|
# Update properties of this object
|
|
19970
20600
|
def update!(**args)
|
|
20601
|
+
@code_snippet = args[:code_snippet] if args.key?(:code_snippet)
|
|
19971
20602
|
@content = args[:content] if args.key?(:content)
|
|
19972
20603
|
@document_metadata = args[:document_metadata] if args.key?(:document_metadata)
|
|
19973
20604
|
end
|
|
@@ -19989,6 +20620,11 @@ module Google
|
|
|
19989
20620
|
# @return [String]
|
|
19990
20621
|
attr_accessor :domain
|
|
19991
20622
|
|
|
20623
|
+
#
|
|
20624
|
+
# Corresponds to the JSON property `language`
|
|
20625
|
+
# @return [String]
|
|
20626
|
+
attr_accessor :language
|
|
20627
|
+
|
|
19992
20628
|
# The mime type of the document. https://www.iana.org/assignments/media-types/
|
|
19993
20629
|
# media-types.xhtml.
|
|
19994
20630
|
# Corresponds to the JSON property `mimeType`
|
|
@@ -20019,6 +20655,7 @@ module Google
|
|
|
20019
20655
|
def update!(**args)
|
|
20020
20656
|
@document = args[:document] if args.key?(:document)
|
|
20021
20657
|
@domain = args[:domain] if args.key?(:domain)
|
|
20658
|
+
@language = args[:language] if args.key?(:language)
|
|
20022
20659
|
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
20023
20660
|
@page_identifier = args[:page_identifier] if args.key?(:page_identifier)
|
|
20024
20661
|
@title = args[:title] if args.key?(:title)
|
|
@@ -20071,6 +20708,33 @@ module Google
|
|
|
20071
20708
|
end
|
|
20072
20709
|
end
|
|
20073
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
|
+
|
|
20074
20738
|
# Information to identify a tool.
|
|
20075
20739
|
class GoogleCloudDiscoveryengineV1betaAssistantToolInfo
|
|
20076
20740
|
include Google::Apis::Core::Hashable
|
|
@@ -23050,6 +23714,64 @@ module Google
|
|
|
23050
23714
|
end
|
|
23051
23715
|
end
|
|
23052
23716
|
|
|
23717
|
+
# Request message for LicenseConfigService.DistributeLicenseConfig method.
|
|
23718
|
+
class GoogleCloudDiscoveryengineV1betaDistributeLicenseConfigRequest
|
|
23719
|
+
include Google::Apis::Core::Hashable
|
|
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
|
+
|
|
23743
|
+
def initialize(**args)
|
|
23744
|
+
update!(**args)
|
|
23745
|
+
end
|
|
23746
|
+
|
|
23747
|
+
# Update properties of this object
|
|
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)
|
|
23753
|
+
end
|
|
23754
|
+
end
|
|
23755
|
+
|
|
23756
|
+
# Response message for LicenseConfigService.DistributeLicenseConfig method.
|
|
23757
|
+
class GoogleCloudDiscoveryengineV1betaDistributeLicenseConfigResponse
|
|
23758
|
+
include Google::Apis::Core::Hashable
|
|
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
|
+
|
|
23765
|
+
def initialize(**args)
|
|
23766
|
+
update!(**args)
|
|
23767
|
+
end
|
|
23768
|
+
|
|
23769
|
+
# Update properties of this object
|
|
23770
|
+
def update!(**args)
|
|
23771
|
+
@license_config = args[:license_config] if args.key?(:license_config)
|
|
23772
|
+
end
|
|
23773
|
+
end
|
|
23774
|
+
|
|
23053
23775
|
# Document captures all raw metadata information of items to be recommended or
|
|
23054
23776
|
# searched.
|
|
23055
23777
|
class GoogleCloudDiscoveryengineV1betaDocument
|
|
@@ -23083,9 +23805,11 @@ module Google
|
|
|
23083
23805
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentIndexStatus]
|
|
23084
23806
|
attr_accessor :index_status
|
|
23085
23807
|
|
|
23086
|
-
# Output only. The
|
|
23087
|
-
#
|
|
23088
|
-
#
|
|
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.
|
|
23089
23813
|
# Corresponds to the JSON property `indexTime`
|
|
23090
23814
|
# @return [String]
|
|
23091
23815
|
attr_accessor :index_time
|
|
@@ -23255,7 +23979,8 @@ module Google
|
|
|
23255
23979
|
attr_accessor :error_samples
|
|
23256
23980
|
|
|
23257
23981
|
# The time when the document was indexed. If this field is populated, it means
|
|
23258
|
-
# 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.
|
|
23259
23984
|
# Corresponds to the JSON property `indexTime`
|
|
23260
23985
|
# @return [String]
|
|
23261
23986
|
attr_accessor :index_time
|
|
@@ -23676,6 +24401,13 @@ module Google
|
|
|
23676
24401
|
class GoogleCloudDiscoveryengineV1betaEngine
|
|
23677
24402
|
include Google::Apis::Core::Hashable
|
|
23678
24403
|
|
|
24404
|
+
# Agent Gateway setting, which may be attached to Gemini Enterprise resources
|
|
24405
|
+
# for egress control of Gemini Enterprise agents to agents and tools outside of
|
|
24406
|
+
# Gemini Enterprise.
|
|
24407
|
+
# Corresponds to the JSON property `agentGatewaySetting`
|
|
24408
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAgentGatewaySetting]
|
|
24409
|
+
attr_accessor :agent_gateway_setting
|
|
24410
|
+
|
|
23679
24411
|
# Optional. Immutable. This the application type which this engine resource
|
|
23680
24412
|
# represents. NOTE: this is a new concept independ of existing industry vertical
|
|
23681
24413
|
# or solution type.
|
|
@@ -23749,9 +24481,12 @@ module Google
|
|
|
23749
24481
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
|
23750
24482
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
|
23751
24483
|
# personalization-memory` * `personalization-suggested-highlights` * `disable-
|
|
23752
|
-
#
|
|
23753
|
-
# disable-
|
|
23754
|
-
# 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`
|
|
23755
24490
|
# Corresponds to the JSON property `features`
|
|
23756
24491
|
# @return [Hash<String,String>]
|
|
23757
24492
|
attr_accessor :features
|
|
@@ -23803,10 +24538,10 @@ module Google
|
|
|
23803
24538
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaObservabilityConfig]
|
|
23804
24539
|
attr_accessor :observability_config
|
|
23805
24540
|
|
|
23806
|
-
# Optional. The
|
|
23807
|
-
# Corresponds to the JSON property `
|
|
23808
|
-
# @return [String]
|
|
23809
|
-
attr_accessor :
|
|
24541
|
+
# Optional. The emails of the procurement contacts.
|
|
24542
|
+
# Corresponds to the JSON property `procurementContactEmails`
|
|
24543
|
+
# @return [Array<String>]
|
|
24544
|
+
attr_accessor :procurement_contact_emails
|
|
23810
24545
|
|
|
23811
24546
|
# Configurations for a Search Engine.
|
|
23812
24547
|
# Corresponds to the JSON property `searchEngineConfig`
|
|
@@ -23829,6 +24564,7 @@ module Google
|
|
|
23829
24564
|
|
|
23830
24565
|
# Update properties of this object
|
|
23831
24566
|
def update!(**args)
|
|
24567
|
+
@agent_gateway_setting = args[:agent_gateway_setting] if args.key?(:agent_gateway_setting)
|
|
23832
24568
|
@app_type = args[:app_type] if args.key?(:app_type)
|
|
23833
24569
|
@chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
|
|
23834
24570
|
@chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
|
|
@@ -23848,7 +24584,7 @@ module Google
|
|
|
23848
24584
|
@model_configs = args[:model_configs] if args.key?(:model_configs)
|
|
23849
24585
|
@name = args[:name] if args.key?(:name)
|
|
23850
24586
|
@observability_config = args[:observability_config] if args.key?(:observability_config)
|
|
23851
|
-
@
|
|
24587
|
+
@procurement_contact_emails = args[:procurement_contact_emails] if args.key?(:procurement_contact_emails)
|
|
23852
24588
|
@search_engine_config = args[:search_engine_config] if args.key?(:search_engine_config)
|
|
23853
24589
|
@solution_type = args[:solution_type] if args.key?(:solution_type)
|
|
23854
24590
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
@@ -24440,6 +25176,115 @@ module Google
|
|
|
24440
25176
|
end
|
|
24441
25177
|
end
|
|
24442
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
|
+
|
|
24443
25288
|
# Response message for SiteSearchEngineService.FetchDomainVerificationStatus
|
|
24444
25289
|
# method.
|
|
24445
25290
|
class GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse
|
|
@@ -25546,8 +26391,8 @@ module Google
|
|
|
25546
26391
|
# @return [Fixnum]
|
|
25547
26392
|
attr_accessor :success_count
|
|
25548
26393
|
|
|
25549
|
-
# Operation last update time. If the operation is done, this is
|
|
25550
|
-
# time.
|
|
26394
|
+
# Output only. Operation last update time. If the operation is done, this is
|
|
26395
|
+
# also the finish time.
|
|
25551
26396
|
# Corresponds to the JSON property `updateTime`
|
|
25552
26397
|
# @return [String]
|
|
25553
26398
|
attr_accessor :update_time
|
|
@@ -26200,6 +27045,31 @@ module Google
|
|
|
26200
27045
|
end
|
|
26201
27046
|
end
|
|
26202
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
|
+
|
|
26203
27073
|
# Response message for UserLicenseService.ListLicenseConfigsUsageStats method.
|
|
26204
27074
|
class GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse
|
|
26205
27075
|
include Google::Apis::Core::Hashable
|
|
@@ -26460,14 +27330,14 @@ module Google
|
|
|
26460
27330
|
class GoogleCloudDiscoveryengineV1betaObservabilityConfig
|
|
26461
27331
|
include Google::Apis::Core::Hashable
|
|
26462
27332
|
|
|
26463
|
-
# Optional. Enables observability. If false
|
|
27333
|
+
# Optional. Enables observability. If `false`, all other flags are ignored.
|
|
26464
27334
|
# Corresponds to the JSON property `observabilityEnabled`
|
|
26465
27335
|
# @return [Boolean]
|
|
26466
27336
|
attr_accessor :observability_enabled
|
|
26467
27337
|
alias_method :observability_enabled?, :observability_enabled
|
|
26468
27338
|
|
|
26469
27339
|
# Optional. Enables sensitive logging. Sensitive logging includes customer core
|
|
26470
|
-
# content (e.g. prompts, responses). If false
|
|
27340
|
+
# content (e.g. prompts, responses). If `false`, will sanitize all sensitive
|
|
26471
27341
|
# fields.
|
|
26472
27342
|
# Corresponds to the JSON property `sensitiveLoggingEnabled`
|
|
26473
27343
|
# @return [Boolean]
|
|
@@ -26744,7 +27614,9 @@ module Google
|
|
|
26744
27614
|
# and reflect the thresholds actively being used for billing purposes at the
|
|
26745
27615
|
# time of the GetProject call. This includes the start_time of the subscription
|
|
26746
27616
|
# and may differ from the values in `customer_provided_config` due to billing
|
|
26747
|
-
# 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.
|
|
26748
27620
|
# Corresponds to the JSON property `configurableBillingStatus`
|
|
26749
27621
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus]
|
|
26750
27622
|
attr_accessor :configurable_billing_status
|
|
@@ -26797,7 +27669,9 @@ module Google
|
|
|
26797
27669
|
# and reflect the thresholds actively being used for billing purposes at the
|
|
26798
27670
|
# time of the GetProject call. This includes the start_time of the subscription
|
|
26799
27671
|
# and may differ from the values in `customer_provided_config` due to billing
|
|
26800
|
-
# 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.
|
|
26801
27675
|
class GoogleCloudDiscoveryengineV1betaProjectConfigurableBillingStatus
|
|
26802
27676
|
include Google::Apis::Core::Hashable
|
|
26803
27677
|
|
|
@@ -26842,6 +27716,12 @@ module Google
|
|
|
26842
27716
|
# @return [String]
|
|
26843
27717
|
attr_accessor :terminate_time
|
|
26844
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
|
+
|
|
26845
27725
|
def initialize(**args)
|
|
26846
27726
|
update!(**args)
|
|
26847
27727
|
end
|
|
@@ -26854,6 +27734,7 @@ module Google
|
|
|
26854
27734
|
@search_qpm_threshold_next_update_time = args[:search_qpm_threshold_next_update_time] if args.key?(:search_qpm_threshold_next_update_time)
|
|
26855
27735
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
26856
27736
|
@terminate_time = args[:terminate_time] if args.key?(:terminate_time)
|
|
27737
|
+
@update_type = args[:update_type] if args.key?(:update_type)
|
|
26857
27738
|
end
|
|
26858
27739
|
end
|
|
26859
27740
|
|
|
@@ -27665,8 +28546,8 @@ module Google
|
|
|
27665
28546
|
attr_accessor :id
|
|
27666
28547
|
|
|
27667
28548
|
# The score of this record based on the given query and selected model. The
|
|
27668
|
-
# score will be rounded to
|
|
27669
|
-
# be rounded to 0.
|
|
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.
|
|
27670
28551
|
# Corresponds to the JSON property `score`
|
|
27671
28552
|
# @return [Float]
|
|
27672
28553
|
attr_accessor :score
|
|
@@ -28115,6 +28996,60 @@ module Google
|
|
|
28115
28996
|
end
|
|
28116
28997
|
end
|
|
28117
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
|
+
|
|
28118
29053
|
# Safety rating corresponding to the generated content.
|
|
28119
29054
|
class GoogleCloudDiscoveryengineV1betaSafetyRating
|
|
28120
29055
|
include Google::Apis::Core::Hashable
|
|
@@ -28480,6 +29415,11 @@ module Google
|
|
|
28480
29415
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec>]
|
|
28481
29416
|
attr_accessor :crowding_specs
|
|
28482
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
|
+
|
|
28483
29423
|
# Specifications that define the specific DataStores to be searched, along with
|
|
28484
29424
|
# configurations for those data stores. This is only considered for Engines with
|
|
28485
29425
|
# multiple data stores. For engines with a single data store, the specs directly
|
|
@@ -28499,6 +29439,14 @@ module Google
|
|
|
28499
29439
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec]
|
|
28500
29440
|
attr_accessor :embedding_spec
|
|
28501
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
|
+
|
|
28502
29450
|
# Facet specifications for faceted search. If empty, no facets are returned. A
|
|
28503
29451
|
# maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is
|
|
28504
29452
|
# returned.
|
|
@@ -28682,7 +29630,14 @@ module Google
|
|
|
28682
29630
|
# since the document was last updated, a floating-point number (e.g., 0.25 means
|
|
28683
29631
|
# 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses
|
|
28684
29632
|
# proprietary Google model to determine the keyword-based overlap between the
|
|
28685
|
-
# 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
|
|
28686
29641
|
# Corresponds to the JSON property `rankingExpression`
|
|
28687
29642
|
# @return [String]
|
|
28688
29643
|
attr_accessor :ranking_expression
|
|
@@ -28815,9 +29770,11 @@ module Google
|
|
|
28815
29770
|
@canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
|
|
28816
29771
|
@content_search_spec = args[:content_search_spec] if args.key?(:content_search_spec)
|
|
28817
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)
|
|
28818
29774
|
@data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
|
|
28819
29775
|
@display_spec = args[:display_spec] if args.key?(:display_spec)
|
|
28820
29776
|
@embedding_spec = args[:embedding_spec] if args.key?(:embedding_spec)
|
|
29777
|
+
@entity = args[:entity] if args.key?(:entity)
|
|
28821
29778
|
@facet_specs = args[:facet_specs] if args.key?(:facet_specs)
|
|
28822
29779
|
@filter = args[:filter] if args.key?(:filter)
|
|
28823
29780
|
@image_query = args[:image_query] if args.key?(:image_query)
|
|
@@ -29407,6 +30364,27 @@ module Google
|
|
|
29407
30364
|
end
|
|
29408
30365
|
end
|
|
29409
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
|
+
|
|
29410
30388
|
# A struct to define data stores to filter on in a search call and
|
|
29411
30389
|
# configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error
|
|
29412
30390
|
# is returned.
|
|
@@ -29731,9 +30709,7 @@ module Google
|
|
|
29731
30709
|
|
|
29732
30710
|
# Field names used for location-based filtering, where geolocation filters are
|
|
29733
30711
|
# detected in natural language search queries. Only valid when the
|
|
29734
|
-
# FilterExtractionCondition is set to `ENABLED`.
|
|
29735
|
-
# overrides the field names set in ServingConfig.
|
|
29736
|
-
# geo_search_query_detection_field_names.
|
|
30712
|
+
# FilterExtractionCondition is set to `ENABLED`.
|
|
29737
30713
|
# Corresponds to the JSON property `geoSearchQueryDetectionFieldNames`
|
|
29738
30714
|
# @return [Array<String>]
|
|
29739
30715
|
attr_accessor :geo_search_query_detection_field_names
|
|
@@ -30658,6 +31634,13 @@ module Google
|
|
|
30658
31634
|
# @return [Float]
|
|
30659
31635
|
attr_accessor :pctr_rank
|
|
30660
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
|
+
|
|
30661
31644
|
# Optional. Semantic relevance adjustment.
|
|
30662
31645
|
# Corresponds to the JSON property `relevanceScore`
|
|
30663
31646
|
# @return [Float]
|
|
@@ -30685,6 +31668,7 @@ module Google
|
|
|
30685
31668
|
@document_age = args[:document_age] if args.key?(:document_age)
|
|
30686
31669
|
@keyword_similarity_score = args[:keyword_similarity_score] if args.key?(:keyword_similarity_score)
|
|
30687
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)
|
|
30688
31672
|
@relevance_score = args[:relevance_score] if args.key?(:relevance_score)
|
|
30689
31673
|
@semantic_similarity_score = args[:semantic_similarity_score] if args.key?(:semantic_similarity_score)
|
|
30690
31674
|
@topicality_rank = args[:topicality_rank] if args.key?(:topicality_rank)
|
|
@@ -31355,6 +32339,13 @@ module Google
|
|
|
31355
32339
|
# @return [String]
|
|
31356
32340
|
attr_accessor :name
|
|
31357
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
|
+
|
|
31358
32349
|
# Output only. The time the session started.
|
|
31359
32350
|
# Corresponds to the JSON property `startTime`
|
|
31360
32351
|
# @return [String]
|
|
@@ -31386,6 +32377,7 @@ module Google
|
|
|
31386
32377
|
@is_pinned = args[:is_pinned] if args.key?(:is_pinned)
|
|
31387
32378
|
@labels = args[:labels] if args.key?(:labels)
|
|
31388
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)
|
|
31389
32381
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
31390
32382
|
@state = args[:state] if args.key?(:state)
|
|
31391
32383
|
@turns = args[:turns] if args.key?(:turns)
|
|
@@ -31413,6 +32405,12 @@ module Google
|
|
|
31413
32405
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswer]
|
|
31414
32406
|
attr_accessor :detailed_assist_answer
|
|
31415
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
|
+
|
|
31416
32414
|
# Defines a user inputed query.
|
|
31417
32415
|
# Corresponds to the JSON property `query`
|
|
31418
32416
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQuery]
|
|
@@ -31434,6 +32432,7 @@ module Google
|
|
|
31434
32432
|
@answer = args[:answer] if args.key?(:answer)
|
|
31435
32433
|
@detailed_answer = args[:detailed_answer] if args.key?(:detailed_answer)
|
|
31436
32434
|
@detailed_assist_answer = args[:detailed_assist_answer] if args.key?(:detailed_assist_answer)
|
|
32435
|
+
@live = args[:live] if args.key?(:live)
|
|
31437
32436
|
@query = args[:query] if args.key?(:query)
|
|
31438
32437
|
@query_config = args[:query_config] if args.key?(:query_config)
|
|
31439
32438
|
end
|
|
@@ -31896,6 +32895,11 @@ module Google
|
|
|
31896
32895
|
# @return [Array<String>]
|
|
31897
32896
|
attr_accessor :invocation_tools
|
|
31898
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
|
+
|
|
31899
32903
|
# Information about the session.
|
|
31900
32904
|
# Corresponds to the JSON property `sessionInfo`
|
|
31901
32905
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo]
|
|
@@ -31910,10 +32914,36 @@ module Google
|
|
|
31910
32914
|
@answer = args[:answer] if args.key?(:answer)
|
|
31911
32915
|
@assist_token = args[:assist_token] if args.key?(:assist_token)
|
|
31912
32916
|
@invocation_tools = args[:invocation_tools] if args.key?(:invocation_tools)
|
|
32917
|
+
@invoked_skills = args[:invoked_skills] if args.key?(:invoked_skills)
|
|
31913
32918
|
@session_info = args[:session_info] if args.key?(:session_info)
|
|
31914
32919
|
end
|
|
31915
32920
|
end
|
|
31916
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
|
+
|
|
31917
32947
|
# Information about the session.
|
|
31918
32948
|
class GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo
|
|
31919
32949
|
include Google::Apis::Core::Hashable
|
|
@@ -32559,6 +33589,12 @@ module Google
|
|
|
32559
33589
|
# @return [String]
|
|
32560
33590
|
attr_accessor :event_type
|
|
32561
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
|
+
|
|
32562
33598
|
# Optional. The filter syntax consists of an expression language for
|
|
32563
33599
|
# constructing a predicate from one or more fields of the documents being
|
|
32564
33600
|
# filtered. One example is for `search` events, the associated SearchRequest may
|
|
@@ -32662,6 +33698,7 @@ module Google
|
|
|
32662
33698
|
@entity = args[:entity] if args.key?(:entity)
|
|
32663
33699
|
@event_time = args[:event_time] if args.key?(:event_time)
|
|
32664
33700
|
@event_type = args[:event_type] if args.key?(:event_type)
|
|
33701
|
+
@feedback = args[:feedback] if args.key?(:feedback)
|
|
32665
33702
|
@filter = args[:filter] if args.key?(:filter)
|
|
32666
33703
|
@media_info = args[:media_info] if args.key?(:media_info)
|
|
32667
33704
|
@page_info = args[:page_info] if args.key?(:page_info)
|
|
@@ -32681,6 +33718,12 @@ module Google
|
|
|
32681
33718
|
class GoogleCloudDiscoveryengineV1betaUserInfo
|
|
32682
33719
|
include Google::Apis::Core::Hashable
|
|
32683
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
|
+
|
|
32684
33727
|
# Optional. IANA time zone, e.g. Europe/Budapest.
|
|
32685
33728
|
# Corresponds to the JSON property `timeZone`
|
|
32686
33729
|
# @return [String]
|
|
@@ -32714,12 +33757,43 @@ module Google
|
|
|
32714
33757
|
|
|
32715
33758
|
# Update properties of this object
|
|
32716
33759
|
def update!(**args)
|
|
33760
|
+
@precise_location = args[:precise_location] if args.key?(:precise_location)
|
|
32717
33761
|
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
|
32718
33762
|
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
|
32719
33763
|
@user_id = args[:user_id] if args.key?(:user_id)
|
|
32720
33764
|
end
|
|
32721
33765
|
end
|
|
32722
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
|
+
|
|
32723
33797
|
# User License information assigned by the admin.
|
|
32724
33798
|
class GoogleCloudDiscoveryengineV1betaUserLicense
|
|
32725
33799
|
include Google::Apis::Core::Hashable
|
|
@@ -32843,7 +33917,9 @@ module Google
|
|
|
32843
33917
|
class GoogleCloudDiscoveryengineV1betaWorkspaceConfig
|
|
32844
33918
|
include Google::Apis::Core::Hashable
|
|
32845
33919
|
|
|
32846
|
-
# 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.
|
|
32847
33923
|
# Corresponds to the JSON property `dasherCustomerId`
|
|
32848
33924
|
# @return [String]
|
|
32849
33925
|
attr_accessor :dasher_customer_id
|
|
@@ -33671,6 +34747,34 @@ module Google
|
|
|
33671
34747
|
end
|
|
33672
34748
|
end
|
|
33673
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
|
+
|
|
33674
34778
|
# Represents a time zone from the [IANA Time Zone Database](https://www.iana.org/
|
|
33675
34779
|
# time-zones).
|
|
33676
34780
|
class GoogleTypeTimeZone
|