google-apis-discoveryengine_v1alpha 0.76.0 → 0.78.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 +8 -0
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +1475 -68
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +542 -2
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +375 -18
- metadata +2 -2
@@ -59,6 +59,13 @@ module Google
|
|
59
59
|
# @return [String]
|
60
60
|
attr_accessor :notification_type
|
61
61
|
|
62
|
+
# The physical headers provided by RequestReceivedParameters in Scotty request.
|
63
|
+
# type is uploader_service.KeyValuePairs.
|
64
|
+
# Corresponds to the JSON property `physicalHeaders`
|
65
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
66
|
+
# @return [String]
|
67
|
+
attr_accessor :physical_headers
|
68
|
+
|
62
69
|
# The Scotty request ID.
|
63
70
|
# Corresponds to the JSON property `requestId`
|
64
71
|
# @return [String]
|
@@ -94,6 +101,7 @@ module Google
|
|
94
101
|
@diff_object_version = args[:diff_object_version] if args.key?(:diff_object_version)
|
95
102
|
@final_status = args[:final_status] if args.key?(:final_status)
|
96
103
|
@notification_type = args[:notification_type] if args.key?(:notification_type)
|
104
|
+
@physical_headers = args[:physical_headers] if args.key?(:physical_headers)
|
97
105
|
@request_id = args[:request_id] if args.key?(:request_id)
|
98
106
|
@request_received_params_serving_info = args[:request_received_params_serving_info] if args.key?(:request_received_params_serving_info)
|
99
107
|
@total_bytes = args[:total_bytes] if args.key?(:total_bytes)
|
@@ -1665,6 +1673,56 @@ module Google
|
|
1665
1673
|
end
|
1666
1674
|
end
|
1667
1675
|
|
1676
|
+
# Informations to support actions on the connector.
|
1677
|
+
class GoogleCloudDiscoveryengineV1ActionConfig
|
1678
|
+
include Google::Apis::Core::Hashable
|
1679
|
+
|
1680
|
+
# Optional. Action parameters in structured json format.
|
1681
|
+
# Corresponds to the JSON property `actionParams`
|
1682
|
+
# @return [Hash<String,Object>]
|
1683
|
+
attr_accessor :action_params
|
1684
|
+
|
1685
|
+
# Output only. The connector contains the necessary parameters and is configured
|
1686
|
+
# to support actions.
|
1687
|
+
# Corresponds to the JSON property `isActionConfigured`
|
1688
|
+
# @return [Boolean]
|
1689
|
+
attr_accessor :is_action_configured
|
1690
|
+
alias_method :is_action_configured?, :is_action_configured
|
1691
|
+
|
1692
|
+
# Optional. Action parameters in json string format.
|
1693
|
+
# Corresponds to the JSON property `jsonActionParams`
|
1694
|
+
# @return [String]
|
1695
|
+
attr_accessor :json_action_params
|
1696
|
+
|
1697
|
+
# Optional. The Service Directory resource name (projects/*/locations/*/
|
1698
|
+
# namespaces/*/services/*) representing a VPC network endpoint used to connect
|
1699
|
+
# to the data source's `instance_uri`, defined in DataConnector.params. Required
|
1700
|
+
# when VPC Service Controls are enabled.
|
1701
|
+
# Corresponds to the JSON property `serviceName`
|
1702
|
+
# @return [String]
|
1703
|
+
attr_accessor :service_name
|
1704
|
+
|
1705
|
+
# Optional. Whether to use static secrets for the connector. If true, the
|
1706
|
+
# secrets provided in the action_params will be ignored.
|
1707
|
+
# Corresponds to the JSON property `useStaticSecrets`
|
1708
|
+
# @return [Boolean]
|
1709
|
+
attr_accessor :use_static_secrets
|
1710
|
+
alias_method :use_static_secrets?, :use_static_secrets
|
1711
|
+
|
1712
|
+
def initialize(**args)
|
1713
|
+
update!(**args)
|
1714
|
+
end
|
1715
|
+
|
1716
|
+
# Update properties of this object
|
1717
|
+
def update!(**args)
|
1718
|
+
@action_params = args[:action_params] if args.key?(:action_params)
|
1719
|
+
@is_action_configured = args[:is_action_configured] if args.key?(:is_action_configured)
|
1720
|
+
@json_action_params = args[:json_action_params] if args.key?(:json_action_params)
|
1721
|
+
@service_name = args[:service_name] if args.key?(:service_name)
|
1722
|
+
@use_static_secrets = args[:use_static_secrets] if args.key?(:use_static_secrets)
|
1723
|
+
end
|
1724
|
+
end
|
1725
|
+
|
1668
1726
|
# Configuration data for advance site search.
|
1669
1727
|
class GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig
|
1670
1728
|
include Google::Apis::Core::Hashable
|
@@ -1692,6 +1750,56 @@ module Google
|
|
1692
1750
|
end
|
1693
1751
|
end
|
1694
1752
|
|
1753
|
+
# The connector level alert config.
|
1754
|
+
class GoogleCloudDiscoveryengineV1AlertPolicyConfig
|
1755
|
+
include Google::Apis::Core::Hashable
|
1756
|
+
|
1757
|
+
# Optional. The enrollment states of each alert.
|
1758
|
+
# Corresponds to the JSON property `alertEnrollments`
|
1759
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment>]
|
1760
|
+
attr_accessor :alert_enrollments
|
1761
|
+
|
1762
|
+
# Immutable. The fully qualified resource name of the AlertPolicy.
|
1763
|
+
# Corresponds to the JSON property `alertPolicyName`
|
1764
|
+
# @return [String]
|
1765
|
+
attr_accessor :alert_policy_name
|
1766
|
+
|
1767
|
+
def initialize(**args)
|
1768
|
+
update!(**args)
|
1769
|
+
end
|
1770
|
+
|
1771
|
+
# Update properties of this object
|
1772
|
+
def update!(**args)
|
1773
|
+
@alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
|
1774
|
+
@alert_policy_name = args[:alert_policy_name] if args.key?(:alert_policy_name)
|
1775
|
+
end
|
1776
|
+
end
|
1777
|
+
|
1778
|
+
# The alert enrollment status.
|
1779
|
+
class GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment
|
1780
|
+
include Google::Apis::Core::Hashable
|
1781
|
+
|
1782
|
+
# Immutable. The id of an alert.
|
1783
|
+
# Corresponds to the JSON property `alertId`
|
1784
|
+
# @return [String]
|
1785
|
+
attr_accessor :alert_id
|
1786
|
+
|
1787
|
+
# Required. The enrollment status of a customer.
|
1788
|
+
# Corresponds to the JSON property `enrollState`
|
1789
|
+
# @return [String]
|
1790
|
+
attr_accessor :enroll_state
|
1791
|
+
|
1792
|
+
def initialize(**args)
|
1793
|
+
update!(**args)
|
1794
|
+
end
|
1795
|
+
|
1796
|
+
# Update properties of this object
|
1797
|
+
def update!(**args)
|
1798
|
+
@alert_id = args[:alert_id] if args.key?(:alert_id)
|
1799
|
+
@enroll_state = args[:enroll_state] if args.key?(:enroll_state)
|
1800
|
+
end
|
1801
|
+
end
|
1802
|
+
|
1695
1803
|
# The specification for answer generation.
|
1696
1804
|
class GoogleCloudDiscoveryengineV1AnswerGenerationSpec
|
1697
1805
|
include Google::Apis::Core::Hashable
|
@@ -2018,6 +2126,31 @@ module Google
|
|
2018
2126
|
end
|
2019
2127
|
end
|
2020
2128
|
|
2129
|
+
# The configuration for the BAP connector.
|
2130
|
+
class GoogleCloudDiscoveryengineV1BapConfig
|
2131
|
+
include Google::Apis::Core::Hashable
|
2132
|
+
|
2133
|
+
# Optional. The actions enabled on the associated BAP connection.
|
2134
|
+
# Corresponds to the JSON property `enabledActions`
|
2135
|
+
# @return [Array<String>]
|
2136
|
+
attr_accessor :enabled_actions
|
2137
|
+
|
2138
|
+
# Required. The supported connector modes for the associated BAP connection.
|
2139
|
+
# Corresponds to the JSON property `supportedConnectorModes`
|
2140
|
+
# @return [Array<String>]
|
2141
|
+
attr_accessor :supported_connector_modes
|
2142
|
+
|
2143
|
+
def initialize(**args)
|
2144
|
+
update!(**args)
|
2145
|
+
end
|
2146
|
+
|
2147
|
+
# Update properties of this object
|
2148
|
+
def update!(**args)
|
2149
|
+
@enabled_actions = args[:enabled_actions] if args.key?(:enabled_actions)
|
2150
|
+
@supported_connector_modes = args[:supported_connector_modes] if args.key?(:supported_connector_modes)
|
2151
|
+
end
|
2152
|
+
end
|
2153
|
+
|
2021
2154
|
# Metadata related to the progress of the SiteSearchEngineService.
|
2022
2155
|
# BatchCreateTargetSites operation. This will be returned by the google.
|
2023
2156
|
# longrunning.Operation.metadata field.
|
@@ -2196,6 +2329,42 @@ module Google
|
|
2196
2329
|
end
|
2197
2330
|
end
|
2198
2331
|
|
2332
|
+
# Collection is a container for configuring resources and access to a set of
|
2333
|
+
# DataStores.
|
2334
|
+
class GoogleCloudDiscoveryengineV1Collection
|
2335
|
+
include Google::Apis::Core::Hashable
|
2336
|
+
|
2337
|
+
# Output only. Timestamp the Collection was created at.
|
2338
|
+
# Corresponds to the JSON property `createTime`
|
2339
|
+
# @return [String]
|
2340
|
+
attr_accessor :create_time
|
2341
|
+
|
2342
|
+
# Required. The Collection display name. This field must be a UTF-8 encoded
|
2343
|
+
# string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT
|
2344
|
+
# error is returned.
|
2345
|
+
# Corresponds to the JSON property `displayName`
|
2346
|
+
# @return [String]
|
2347
|
+
attr_accessor :display_name
|
2348
|
+
|
2349
|
+
# Immutable. The full resource name of the Collection. Format: `projects/`
|
2350
|
+
# project`/locations/`location`/collections/`collection_id``. This field must be
|
2351
|
+
# a UTF-8 encoded string with a length limit of 1024 characters.
|
2352
|
+
# Corresponds to the JSON property `name`
|
2353
|
+
# @return [String]
|
2354
|
+
attr_accessor :name
|
2355
|
+
|
2356
|
+
def initialize(**args)
|
2357
|
+
update!(**args)
|
2358
|
+
end
|
2359
|
+
|
2360
|
+
# Update properties of this object
|
2361
|
+
def update!(**args)
|
2362
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2363
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2364
|
+
@name = args[:name] if args.key?(:name)
|
2365
|
+
end
|
2366
|
+
end
|
2367
|
+
|
2199
2368
|
# Defines circumstances to be checked before allowing a behavior
|
2200
2369
|
class GoogleCloudDiscoveryengineV1Condition
|
2201
2370
|
include Google::Apis::Core::Hashable
|
@@ -2729,11 +2898,523 @@ module Google
|
|
2729
2898
|
# @return [String]
|
2730
2899
|
attr_accessor :create_time
|
2731
2900
|
|
2732
|
-
# Operation last update time. If the operation is done, this is also the finish
|
2733
|
-
# time.
|
2734
|
-
# Corresponds to the JSON property `updateTime`
|
2735
|
-
# @return [String]
|
2736
|
-
attr_accessor :update_time
|
2901
|
+
# Operation last update time. If the operation is done, this is also the finish
|
2902
|
+
# time.
|
2903
|
+
# Corresponds to the JSON property `updateTime`
|
2904
|
+
# @return [String]
|
2905
|
+
attr_accessor :update_time
|
2906
|
+
|
2907
|
+
def initialize(**args)
|
2908
|
+
update!(**args)
|
2909
|
+
end
|
2910
|
+
|
2911
|
+
# Update properties of this object
|
2912
|
+
def update!(**args)
|
2913
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2914
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2915
|
+
end
|
2916
|
+
end
|
2917
|
+
|
2918
|
+
# Manages the connection to external data sources for all data stores grouped
|
2919
|
+
# under a Collection. It's a singleton resource of Collection. The
|
2920
|
+
# initialization is only supported through DataConnectorService.
|
2921
|
+
# SetUpDataConnector method, which will create a new Collection and initialize
|
2922
|
+
# its DataConnector.
|
2923
|
+
class GoogleCloudDiscoveryengineV1DataConnector
|
2924
|
+
include Google::Apis::Core::Hashable
|
2925
|
+
|
2926
|
+
# Optional. Whether the connector will be created with an ACL config. Currently
|
2927
|
+
# this field only affects Cloud Storage and BigQuery connectors.
|
2928
|
+
# Corresponds to the JSON property `aclEnabled`
|
2929
|
+
# @return [Boolean]
|
2930
|
+
attr_accessor :acl_enabled
|
2931
|
+
alias_method :acl_enabled?, :acl_enabled
|
2932
|
+
|
2933
|
+
# Informations to support actions on the connector.
|
2934
|
+
# Corresponds to the JSON property `actionConfig`
|
2935
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1ActionConfig]
|
2936
|
+
attr_accessor :action_config
|
2937
|
+
|
2938
|
+
# Output only. State of the action connector. This reflects whether the action
|
2939
|
+
# connector is initializing, active or has encountered errors.
|
2940
|
+
# Corresponds to the JSON property `actionState`
|
2941
|
+
# @return [String]
|
2942
|
+
attr_accessor :action_state
|
2943
|
+
|
2944
|
+
# Optional. The connector level alert config.
|
2945
|
+
# Corresponds to the JSON property `alertPolicyConfigs`
|
2946
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AlertPolicyConfig>]
|
2947
|
+
attr_accessor :alert_policy_configs
|
2948
|
+
|
2949
|
+
# Optional. Indicates whether the connector is disabled for auto run. It can be
|
2950
|
+
# used to pause periodical and real time sync. Update: with the introduction of
|
2951
|
+
# incremental_sync_disabled, auto_run_disabled is used to pause/disable only
|
2952
|
+
# full syncs
|
2953
|
+
# Corresponds to the JSON property `autoRunDisabled`
|
2954
|
+
# @return [Boolean]
|
2955
|
+
attr_accessor :auto_run_disabled
|
2956
|
+
alias_method :auto_run_disabled?, :auto_run_disabled
|
2957
|
+
|
2958
|
+
# The configuration for the BAP connector.
|
2959
|
+
# Corresponds to the JSON property `bapConfig`
|
2960
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1BapConfig]
|
2961
|
+
attr_accessor :bap_config
|
2962
|
+
|
2963
|
+
# Output only. User actions that must be completed before the connector can
|
2964
|
+
# start syncing data.
|
2965
|
+
# Corresponds to the JSON property `blockingReasons`
|
2966
|
+
# @return [Array<String>]
|
2967
|
+
attr_accessor :blocking_reasons
|
2968
|
+
|
2969
|
+
# Optional. The modes enabled for this connector. Default state is
|
2970
|
+
# CONNECTOR_MODE_UNSPECIFIED.
|
2971
|
+
# Corresponds to the JSON property `connectorModes`
|
2972
|
+
# @return [Array<String>]
|
2973
|
+
attr_accessor :connector_modes
|
2974
|
+
|
2975
|
+
# Output only. The type of connector. Each source can only map to one type. For
|
2976
|
+
# example, salesforce, confluence and jira have THIRD_PARTY connector type. It
|
2977
|
+
# is not mutable once set by system.
|
2978
|
+
# Corresponds to the JSON property `connectorType`
|
2979
|
+
# @return [String]
|
2980
|
+
attr_accessor :connector_type
|
2981
|
+
|
2982
|
+
# Optional. Whether the END USER AUTHENTICATION connector is created in SaaS.
|
2983
|
+
# Corresponds to the JSON property `createEuaSaas`
|
2984
|
+
# @return [Boolean]
|
2985
|
+
attr_accessor :create_eua_saas
|
2986
|
+
alias_method :create_eua_saas?, :create_eua_saas
|
2987
|
+
|
2988
|
+
# Output only. Timestamp the DataConnector was created at.
|
2989
|
+
# Corresponds to the JSON property `createTime`
|
2990
|
+
# @return [String]
|
2991
|
+
attr_accessor :create_time
|
2992
|
+
|
2993
|
+
# Required. The name of the data source. Supported values: `salesforce`, `jira`,
|
2994
|
+
# `confluence`, `bigquery`.
|
2995
|
+
# Corresponds to the JSON property `dataSource`
|
2996
|
+
# @return [String]
|
2997
|
+
attr_accessor :data_source
|
2998
|
+
|
2999
|
+
# Optional. Any target destinations used to connect to third-party services.
|
3000
|
+
# Corresponds to the JSON property `destinationConfigs`
|
3001
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DestinationConfig>]
|
3002
|
+
attr_accessor :destination_configs
|
3003
|
+
|
3004
|
+
# Any params and credentials used specifically for EUA connectors.
|
3005
|
+
# Corresponds to the JSON property `endUserConfig`
|
3006
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig]
|
3007
|
+
attr_accessor :end_user_config
|
3008
|
+
|
3009
|
+
# List of entities from the connected data source to ingest.
|
3010
|
+
# Corresponds to the JSON property `entities`
|
3011
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataConnectorSourceEntity>]
|
3012
|
+
attr_accessor :entities
|
3013
|
+
|
3014
|
+
# Output only. The errors from initialization or from the latest connector run.
|
3015
|
+
# Corresponds to the JSON property `errors`
|
3016
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus>]
|
3017
|
+
attr_accessor :errors
|
3018
|
+
|
3019
|
+
# Any params and credentials used specifically for hybrid connectors supporting
|
3020
|
+
# FEDERATED mode.
|
3021
|
+
# Corresponds to the JSON property `federatedConfig`
|
3022
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig]
|
3023
|
+
attr_accessor :federated_config
|
3024
|
+
|
3025
|
+
# Optional. If the connector is a hybrid connector, determines whether ingestion
|
3026
|
+
# is enabled and appropriate resources are provisioned during connector creation.
|
3027
|
+
# If the connector is not a hybrid connector, this field is ignored.
|
3028
|
+
# Corresponds to the JSON property `hybridIngestionDisabled`
|
3029
|
+
# @return [Boolean]
|
3030
|
+
attr_accessor :hybrid_ingestion_disabled
|
3031
|
+
alias_method :hybrid_ingestion_disabled?, :hybrid_ingestion_disabled
|
3032
|
+
|
3033
|
+
# The refresh interval to sync the Access Control List information for the
|
3034
|
+
# documents ingested by this connector. If not set, the access control list will
|
3035
|
+
# be refreshed at the default interval of 30 minutes. The identity refresh
|
3036
|
+
# interval can be at least 30 minutes and at most 7 days.
|
3037
|
+
# Corresponds to the JSON property `identityRefreshInterval`
|
3038
|
+
# @return [String]
|
3039
|
+
attr_accessor :identity_refresh_interval
|
3040
|
+
|
3041
|
+
# The configuration for the identity data synchronization runs.
|
3042
|
+
# Corresponds to the JSON property `identityScheduleConfig`
|
3043
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1IdentityScheduleConfig]
|
3044
|
+
attr_accessor :identity_schedule_config
|
3045
|
+
|
3046
|
+
# Optional. The refresh interval specifically for incremental data syncs. If
|
3047
|
+
# unset, incremental syncs will use the default from env, set to 3hrs. The
|
3048
|
+
# minimum is 30 minutes and maximum is 7 days. Applicable to only 3P connectors.
|
3049
|
+
# When the refresh interval is set to the same value as the incremental refresh
|
3050
|
+
# interval, incremental sync will be disabled.
|
3051
|
+
# Corresponds to the JSON property `incrementalRefreshInterval`
|
3052
|
+
# @return [String]
|
3053
|
+
attr_accessor :incremental_refresh_interval
|
3054
|
+
|
3055
|
+
# Optional. Indicates whether incremental syncs are paused for this connector.
|
3056
|
+
# This is independent of auto_run_disabled. Applicable to only 3P connectors.
|
3057
|
+
# When the refresh interval is set to the same value as the incremental refresh
|
3058
|
+
# interval, incremental sync will be disabled, i.e. set to true.
|
3059
|
+
# Corresponds to the JSON property `incrementalSyncDisabled`
|
3060
|
+
# @return [Boolean]
|
3061
|
+
attr_accessor :incremental_sync_disabled
|
3062
|
+
alias_method :incremental_sync_disabled?, :incremental_sync_disabled
|
3063
|
+
|
3064
|
+
# Required data connector parameters in json string format.
|
3065
|
+
# Corresponds to the JSON property `jsonParams`
|
3066
|
+
# @return [String]
|
3067
|
+
attr_accessor :json_params
|
3068
|
+
|
3069
|
+
# Input only. The KMS key to be used to protect the DataStores managed by this
|
3070
|
+
# connector. Must be set for requests that need to comply with CMEK Org Policy
|
3071
|
+
# protections. If this field is set and processed successfully, the DataStores
|
3072
|
+
# created by this connector will be protected by the KMS key.
|
3073
|
+
# Corresponds to the JSON property `kmsKeyName`
|
3074
|
+
# @return [String]
|
3075
|
+
attr_accessor :kms_key_name
|
3076
|
+
|
3077
|
+
# Output only. For periodic connectors only, the last time a data sync was
|
3078
|
+
# completed.
|
3079
|
+
# Corresponds to the JSON property `lastSyncTime`
|
3080
|
+
# @return [String]
|
3081
|
+
attr_accessor :last_sync_time
|
3082
|
+
|
3083
|
+
# Output only. The most recent timestamp when this DataConnector was paused,
|
3084
|
+
# affecting all functionalities such as data synchronization. Pausing a
|
3085
|
+
# connector has the following effects: - All functionalities, including data
|
3086
|
+
# synchronization, are halted. - Any ongoing data synchronization job will be
|
3087
|
+
# canceled. - No future data synchronization runs will be scheduled nor can be
|
3088
|
+
# triggered.
|
3089
|
+
# Corresponds to the JSON property `latestPauseTime`
|
3090
|
+
# @return [String]
|
3091
|
+
attr_accessor :latest_pause_time
|
3092
|
+
|
3093
|
+
# Output only. The full resource name of the Data Connector. Format: `projects/*/
|
3094
|
+
# locations/*/collections/*/dataConnector`.
|
3095
|
+
# Corresponds to the JSON property `name`
|
3096
|
+
# @return [String]
|
3097
|
+
attr_accessor :name
|
3098
|
+
|
3099
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
3100
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
3101
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
3102
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
3103
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
3104
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
3105
|
+
# relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
|
3106
|
+
# the DateTime is considered not to have a specific year, month, or day
|
3107
|
+
# respectively. This type may also be used to represent a physical time if all
|
3108
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
3109
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
3110
|
+
# case also would like to store the user's timezone, that can be done in another
|
3111
|
+
# field. This type is more flexible than some applications may want. Make sure
|
3112
|
+
# to document and validate your application's limitations.
|
3113
|
+
# Corresponds to the JSON property `nextSyncTime`
|
3114
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleTypeDateTime]
|
3115
|
+
attr_accessor :next_sync_time
|
3116
|
+
|
3117
|
+
# Required data connector parameters in structured json format.
|
3118
|
+
# Corresponds to the JSON property `params`
|
3119
|
+
# @return [Hash<String,Object>]
|
3120
|
+
attr_accessor :params
|
3121
|
+
|
3122
|
+
# Output only. The tenant project ID associated with private connectivity
|
3123
|
+
# connectors. This project must be allowlisted by in order for the connector to
|
3124
|
+
# function.
|
3125
|
+
# Corresponds to the JSON property `privateConnectivityProjectId`
|
3126
|
+
# @return [String]
|
3127
|
+
attr_accessor :private_connectivity_project_id
|
3128
|
+
|
3129
|
+
# Output only. real-time sync state
|
3130
|
+
# Corresponds to the JSON property `realtimeState`
|
3131
|
+
# @return [String]
|
3132
|
+
attr_accessor :realtime_state
|
3133
|
+
|
3134
|
+
# The configuration for realtime sync to store additional params for realtime
|
3135
|
+
# sync.
|
3136
|
+
# Corresponds to the JSON property `realtimeSyncConfig`
|
3137
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig]
|
3138
|
+
attr_accessor :realtime_sync_config
|
3139
|
+
|
3140
|
+
# Required. The refresh interval for data sync. If duration is set to 0, the
|
3141
|
+
# data will be synced in real time. The streaming feature is not supported yet.
|
3142
|
+
# The minimum is 30 minutes and maximum is 7 days. When the refresh interval is
|
3143
|
+
# set to the same value as the incremental refresh interval, incremental sync
|
3144
|
+
# will be disabled.
|
3145
|
+
# Corresponds to the JSON property `refreshInterval`
|
3146
|
+
# @return [String]
|
3147
|
+
attr_accessor :refresh_interval
|
3148
|
+
|
3149
|
+
# Optional. Specifies keys to be removed from the 'params' field. This is only
|
3150
|
+
# active when 'params' is included in the 'update_mask' in an
|
3151
|
+
# UpdateDataConnectorRequest. Deletion takes precedence if a key is both in '
|
3152
|
+
# remove_param_keys' and present in the 'params' field of the request.
|
3153
|
+
# Corresponds to the JSON property `removeParamKeys`
|
3154
|
+
# @return [Array<String>]
|
3155
|
+
attr_accessor :remove_param_keys
|
3156
|
+
|
3157
|
+
# Output only. State of the connector.
|
3158
|
+
# Corresponds to the JSON property `state`
|
3159
|
+
# @return [String]
|
3160
|
+
attr_accessor :state
|
3161
|
+
|
3162
|
+
# Output only. The static IP addresses used by this connector.
|
3163
|
+
# Corresponds to the JSON property `staticIpAddresses`
|
3164
|
+
# @return [Array<String>]
|
3165
|
+
attr_accessor :static_ip_addresses
|
3166
|
+
|
3167
|
+
# Optional. Whether customer has enabled static IP addresses for this connector.
|
3168
|
+
# Corresponds to the JSON property `staticIpEnabled`
|
3169
|
+
# @return [Boolean]
|
3170
|
+
attr_accessor :static_ip_enabled
|
3171
|
+
alias_method :static_ip_enabled?, :static_ip_enabled
|
3172
|
+
|
3173
|
+
# The data synchronization mode supported by the data connector.
|
3174
|
+
# Corresponds to the JSON property `syncMode`
|
3175
|
+
# @return [String]
|
3176
|
+
attr_accessor :sync_mode
|
3177
|
+
|
3178
|
+
# Output only. Timestamp the DataConnector was last updated.
|
3179
|
+
# Corresponds to the JSON property `updateTime`
|
3180
|
+
# @return [String]
|
3181
|
+
attr_accessor :update_time
|
3182
|
+
|
3183
|
+
def initialize(**args)
|
3184
|
+
update!(**args)
|
3185
|
+
end
|
3186
|
+
|
3187
|
+
# Update properties of this object
|
3188
|
+
def update!(**args)
|
3189
|
+
@acl_enabled = args[:acl_enabled] if args.key?(:acl_enabled)
|
3190
|
+
@action_config = args[:action_config] if args.key?(:action_config)
|
3191
|
+
@action_state = args[:action_state] if args.key?(:action_state)
|
3192
|
+
@alert_policy_configs = args[:alert_policy_configs] if args.key?(:alert_policy_configs)
|
3193
|
+
@auto_run_disabled = args[:auto_run_disabled] if args.key?(:auto_run_disabled)
|
3194
|
+
@bap_config = args[:bap_config] if args.key?(:bap_config)
|
3195
|
+
@blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
|
3196
|
+
@connector_modes = args[:connector_modes] if args.key?(:connector_modes)
|
3197
|
+
@connector_type = args[:connector_type] if args.key?(:connector_type)
|
3198
|
+
@create_eua_saas = args[:create_eua_saas] if args.key?(:create_eua_saas)
|
3199
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3200
|
+
@data_source = args[:data_source] if args.key?(:data_source)
|
3201
|
+
@destination_configs = args[:destination_configs] if args.key?(:destination_configs)
|
3202
|
+
@end_user_config = args[:end_user_config] if args.key?(:end_user_config)
|
3203
|
+
@entities = args[:entities] if args.key?(:entities)
|
3204
|
+
@errors = args[:errors] if args.key?(:errors)
|
3205
|
+
@federated_config = args[:federated_config] if args.key?(:federated_config)
|
3206
|
+
@hybrid_ingestion_disabled = args[:hybrid_ingestion_disabled] if args.key?(:hybrid_ingestion_disabled)
|
3207
|
+
@identity_refresh_interval = args[:identity_refresh_interval] if args.key?(:identity_refresh_interval)
|
3208
|
+
@identity_schedule_config = args[:identity_schedule_config] if args.key?(:identity_schedule_config)
|
3209
|
+
@incremental_refresh_interval = args[:incremental_refresh_interval] if args.key?(:incremental_refresh_interval)
|
3210
|
+
@incremental_sync_disabled = args[:incremental_sync_disabled] if args.key?(:incremental_sync_disabled)
|
3211
|
+
@json_params = args[:json_params] if args.key?(:json_params)
|
3212
|
+
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
3213
|
+
@last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time)
|
3214
|
+
@latest_pause_time = args[:latest_pause_time] if args.key?(:latest_pause_time)
|
3215
|
+
@name = args[:name] if args.key?(:name)
|
3216
|
+
@next_sync_time = args[:next_sync_time] if args.key?(:next_sync_time)
|
3217
|
+
@params = args[:params] if args.key?(:params)
|
3218
|
+
@private_connectivity_project_id = args[:private_connectivity_project_id] if args.key?(:private_connectivity_project_id)
|
3219
|
+
@realtime_state = args[:realtime_state] if args.key?(:realtime_state)
|
3220
|
+
@realtime_sync_config = args[:realtime_sync_config] if args.key?(:realtime_sync_config)
|
3221
|
+
@refresh_interval = args[:refresh_interval] if args.key?(:refresh_interval)
|
3222
|
+
@remove_param_keys = args[:remove_param_keys] if args.key?(:remove_param_keys)
|
3223
|
+
@state = args[:state] if args.key?(:state)
|
3224
|
+
@static_ip_addresses = args[:static_ip_addresses] if args.key?(:static_ip_addresses)
|
3225
|
+
@static_ip_enabled = args[:static_ip_enabled] if args.key?(:static_ip_enabled)
|
3226
|
+
@sync_mode = args[:sync_mode] if args.key?(:sync_mode)
|
3227
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
3228
|
+
end
|
3229
|
+
end
|
3230
|
+
|
3231
|
+
# Any params and credentials used specifically for EUA connectors.
|
3232
|
+
class GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig
|
3233
|
+
include Google::Apis::Core::Hashable
|
3234
|
+
|
3235
|
+
# Optional. Any additional parameters needed for EUA.
|
3236
|
+
# Corresponds to the JSON property `additionalParams`
|
3237
|
+
# @return [Hash<String,Object>]
|
3238
|
+
attr_accessor :additional_params
|
3239
|
+
|
3240
|
+
# Optional. Any authentication parameters specific to EUA connectors.
|
3241
|
+
# Corresponds to the JSON property `authParams`
|
3242
|
+
# @return [Hash<String,Object>]
|
3243
|
+
attr_accessor :auth_params
|
3244
|
+
|
3245
|
+
# Optional. Any authentication parameters specific to EUA connectors in json
|
3246
|
+
# string format.
|
3247
|
+
# Corresponds to the JSON property `jsonAuthParams`
|
3248
|
+
# @return [String]
|
3249
|
+
attr_accessor :json_auth_params
|
3250
|
+
|
3251
|
+
# Tenant information for a connector source. This includes some of the same
|
3252
|
+
# information stored in the Credential message, but is limited to only what is
|
3253
|
+
# needed to provide a list of accessible tenants to the user.
|
3254
|
+
# Corresponds to the JSON property `tenant`
|
3255
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1Tenant]
|
3256
|
+
attr_accessor :tenant
|
3257
|
+
|
3258
|
+
def initialize(**args)
|
3259
|
+
update!(**args)
|
3260
|
+
end
|
3261
|
+
|
3262
|
+
# Update properties of this object
|
3263
|
+
def update!(**args)
|
3264
|
+
@additional_params = args[:additional_params] if args.key?(:additional_params)
|
3265
|
+
@auth_params = args[:auth_params] if args.key?(:auth_params)
|
3266
|
+
@json_auth_params = args[:json_auth_params] if args.key?(:json_auth_params)
|
3267
|
+
@tenant = args[:tenant] if args.key?(:tenant)
|
3268
|
+
end
|
3269
|
+
end
|
3270
|
+
|
3271
|
+
# Any params and credentials used specifically for hybrid connectors supporting
|
3272
|
+
# FEDERATED mode.
|
3273
|
+
class GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig
|
3274
|
+
include Google::Apis::Core::Hashable
|
3275
|
+
|
3276
|
+
# Optional. Any additional parameters needed for FEDERATED.
|
3277
|
+
# Corresponds to the JSON property `additionalParams`
|
3278
|
+
# @return [Hash<String,Object>]
|
3279
|
+
attr_accessor :additional_params
|
3280
|
+
|
3281
|
+
# Optional. Any authentication parameters specific to FEDERATED connectors.
|
3282
|
+
# Corresponds to the JSON property `authParams`
|
3283
|
+
# @return [Hash<String,Object>]
|
3284
|
+
attr_accessor :auth_params
|
3285
|
+
|
3286
|
+
# Optional. Any authentication parameters specific to FEDERATED connectors in
|
3287
|
+
# json string format.
|
3288
|
+
# Corresponds to the JSON property `jsonAuthParams`
|
3289
|
+
# @return [String]
|
3290
|
+
attr_accessor :json_auth_params
|
3291
|
+
|
3292
|
+
def initialize(**args)
|
3293
|
+
update!(**args)
|
3294
|
+
end
|
3295
|
+
|
3296
|
+
# Update properties of this object
|
3297
|
+
def update!(**args)
|
3298
|
+
@additional_params = args[:additional_params] if args.key?(:additional_params)
|
3299
|
+
@auth_params = args[:auth_params] if args.key?(:auth_params)
|
3300
|
+
@json_auth_params = args[:json_auth_params] if args.key?(:json_auth_params)
|
3301
|
+
end
|
3302
|
+
end
|
3303
|
+
|
3304
|
+
# The configuration for realtime sync to store additional params for realtime
|
3305
|
+
# sync.
|
3306
|
+
class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig
|
3307
|
+
include Google::Apis::Core::Hashable
|
3308
|
+
|
3309
|
+
# Optional. The ID of the Secret Manager secret used for webhook secret.
|
3310
|
+
# Corresponds to the JSON property `realtimeSyncSecret`
|
3311
|
+
# @return [String]
|
3312
|
+
attr_accessor :realtime_sync_secret
|
3313
|
+
|
3314
|
+
# Streaming error details.
|
3315
|
+
# Corresponds to the JSON property `streamingError`
|
3316
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError]
|
3317
|
+
attr_accessor :streaming_error
|
3318
|
+
|
3319
|
+
# Optional. Webhook url for the connector to specify additional params for
|
3320
|
+
# realtime sync.
|
3321
|
+
# Corresponds to the JSON property `webhookUri`
|
3322
|
+
# @return [String]
|
3323
|
+
attr_accessor :webhook_uri
|
3324
|
+
|
3325
|
+
def initialize(**args)
|
3326
|
+
update!(**args)
|
3327
|
+
end
|
3328
|
+
|
3329
|
+
# Update properties of this object
|
3330
|
+
def update!(**args)
|
3331
|
+
@realtime_sync_secret = args[:realtime_sync_secret] if args.key?(:realtime_sync_secret)
|
3332
|
+
@streaming_error = args[:streaming_error] if args.key?(:streaming_error)
|
3333
|
+
@webhook_uri = args[:webhook_uri] if args.key?(:webhook_uri)
|
3334
|
+
end
|
3335
|
+
end
|
3336
|
+
|
3337
|
+
# Streaming error details.
|
3338
|
+
class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError
|
3339
|
+
include Google::Apis::Core::Hashable
|
3340
|
+
|
3341
|
+
# The `Status` type defines a logical error model that is suitable for different
|
3342
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
3343
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
3344
|
+
# data: error code, error message, and error details. You can find out more
|
3345
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
3346
|
+
# //cloud.google.com/apis/design/errors).
|
3347
|
+
# Corresponds to the JSON property `error`
|
3348
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus]
|
3349
|
+
attr_accessor :error
|
3350
|
+
|
3351
|
+
# Optional. Streaming error.
|
3352
|
+
# Corresponds to the JSON property `streamingErrorReason`
|
3353
|
+
# @return [String]
|
3354
|
+
attr_accessor :streaming_error_reason
|
3355
|
+
|
3356
|
+
def initialize(**args)
|
3357
|
+
update!(**args)
|
3358
|
+
end
|
3359
|
+
|
3360
|
+
# Update properties of this object
|
3361
|
+
def update!(**args)
|
3362
|
+
@error = args[:error] if args.key?(:error)
|
3363
|
+
@streaming_error_reason = args[:streaming_error_reason] if args.key?(:streaming_error_reason)
|
3364
|
+
end
|
3365
|
+
end
|
3366
|
+
|
3367
|
+
# Represents an entity in the data source. For example, the `Account` object in
|
3368
|
+
# Salesforce.
|
3369
|
+
class GoogleCloudDiscoveryengineV1DataConnectorSourceEntity
|
3370
|
+
include Google::Apis::Core::Hashable
|
3371
|
+
|
3372
|
+
# Output only. The full resource name of the associated data store for the
|
3373
|
+
# source entity. Format: `projects/*/locations/*/collections/*/dataStores/*`.
|
3374
|
+
# When the connector is initialized by the DataConnectorService.
|
3375
|
+
# SetUpDataConnector method, a DataStore is automatically created for each
|
3376
|
+
# source entity.
|
3377
|
+
# Corresponds to the JSON property `dataStore`
|
3378
|
+
# @return [String]
|
3379
|
+
attr_accessor :data_store
|
3380
|
+
|
3381
|
+
# The name of the entity. Supported values by data source: * Salesforce: `Lead`,
|
3382
|
+
# `Opportunity`, `Contact`, `Account`, `Case`, `Contract`, `Campaign` * Jira: `
|
3383
|
+
# Issue` * Confluence: `Content`, `Space`
|
3384
|
+
# Corresponds to the JSON property `entityName`
|
3385
|
+
# @return [String]
|
3386
|
+
attr_accessor :entity_name
|
3387
|
+
|
3388
|
+
# Config to data store for `HEALTHCARE_FHIR` vertical.
|
3389
|
+
# Corresponds to the JSON property `healthcareFhirConfig`
|
3390
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1HealthcareFhirConfig]
|
3391
|
+
attr_accessor :healthcare_fhir_config
|
3392
|
+
|
3393
|
+
# The parameters for the entity to facilitate data ingestion in json string
|
3394
|
+
# format.
|
3395
|
+
# Corresponds to the JSON property `jsonParams`
|
3396
|
+
# @return [String]
|
3397
|
+
attr_accessor :json_params
|
3398
|
+
|
3399
|
+
# Attributes for indexing. Key: Field name. Value: The key property to map a
|
3400
|
+
# field to, such as `title`, and `description`. Supported key properties: * `
|
3401
|
+
# title`: The title for data record. This would be displayed on search results. *
|
3402
|
+
# `description`: The description for data record. This would be displayed on
|
3403
|
+
# search results.
|
3404
|
+
# Corresponds to the JSON property `keyPropertyMappings`
|
3405
|
+
# @return [Hash<String,String>]
|
3406
|
+
attr_accessor :key_property_mappings
|
3407
|
+
|
3408
|
+
# The parameters for the entity to facilitate data ingestion in structured json
|
3409
|
+
# format.
|
3410
|
+
# Corresponds to the JSON property `params`
|
3411
|
+
# @return [Hash<String,Object>]
|
3412
|
+
attr_accessor :params
|
3413
|
+
|
3414
|
+
# Defines the structure and layout of a type of document data.
|
3415
|
+
# Corresponds to the JSON property `startingSchema`
|
3416
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1Schema]
|
3417
|
+
attr_accessor :starting_schema
|
2737
3418
|
|
2738
3419
|
def initialize(**args)
|
2739
3420
|
update!(**args)
|
@@ -2741,8 +3422,13 @@ module Google
|
|
2741
3422
|
|
2742
3423
|
# Update properties of this object
|
2743
3424
|
def update!(**args)
|
2744
|
-
@
|
2745
|
-
@
|
3425
|
+
@data_store = args[:data_store] if args.key?(:data_store)
|
3426
|
+
@entity_name = args[:entity_name] if args.key?(:entity_name)
|
3427
|
+
@healthcare_fhir_config = args[:healthcare_fhir_config] if args.key?(:healthcare_fhir_config)
|
3428
|
+
@json_params = args[:json_params] if args.key?(:json_params)
|
3429
|
+
@key_property_mappings = args[:key_property_mappings] if args.key?(:key_property_mappings)
|
3430
|
+
@params = args[:params] if args.key?(:params)
|
3431
|
+
@starting_schema = args[:starting_schema] if args.key?(:starting_schema)
|
2746
3432
|
end
|
2747
3433
|
end
|
2748
3434
|
|
@@ -2776,6 +3462,12 @@ module Google
|
|
2776
3462
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1CmekConfig]
|
2777
3463
|
attr_accessor :cmek_config
|
2778
3464
|
|
3465
|
+
# Optional. Configuration for configurable billing approach. See go/vais-
|
3466
|
+
# repricing-billing-dd for more details, only apply to non-Spark UCS Search.
|
3467
|
+
# Corresponds to the JSON property `configurableBillingApproach`
|
3468
|
+
# @return [String]
|
3469
|
+
attr_accessor :configurable_billing_approach
|
3470
|
+
|
2779
3471
|
# Immutable. The content config of the data store. If this field is unset, the
|
2780
3472
|
# server behavior defaults to ContentConfig.NO_CONTENT.
|
2781
3473
|
# Corresponds to the JSON property `contentConfig`
|
@@ -2879,6 +3571,7 @@ module Google
|
|
2879
3571
|
@advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
|
2880
3572
|
@billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
|
2881
3573
|
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
3574
|
+
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
2882
3575
|
@content_config = args[:content_config] if args.key?(:content_config)
|
2883
3576
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2884
3577
|
@default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
|
@@ -2995,6 +3688,34 @@ module Google
|
|
2995
3688
|
end
|
2996
3689
|
end
|
2997
3690
|
|
3691
|
+
# Metadata related to the progress of the CollectionService.UpdateCollection
|
3692
|
+
# operation. This will be returned by the google.longrunning.Operation.metadata
|
3693
|
+
# field.
|
3694
|
+
class GoogleCloudDiscoveryengineV1DeleteCollectionMetadata
|
3695
|
+
include Google::Apis::Core::Hashable
|
3696
|
+
|
3697
|
+
# Operation create time.
|
3698
|
+
# Corresponds to the JSON property `createTime`
|
3699
|
+
# @return [String]
|
3700
|
+
attr_accessor :create_time
|
3701
|
+
|
3702
|
+
# Operation last update time. If the operation is done, this is also the finish
|
3703
|
+
# time.
|
3704
|
+
# Corresponds to the JSON property `updateTime`
|
3705
|
+
# @return [String]
|
3706
|
+
attr_accessor :update_time
|
3707
|
+
|
3708
|
+
def initialize(**args)
|
3709
|
+
update!(**args)
|
3710
|
+
end
|
3711
|
+
|
3712
|
+
# Update properties of this object
|
3713
|
+
def update!(**args)
|
3714
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3715
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
3716
|
+
end
|
3717
|
+
end
|
3718
|
+
|
2998
3719
|
# Metadata related to the progress of the DataStoreService.DeleteDataStore
|
2999
3720
|
# operation. This will be returned by the google.longrunning.Operation.metadata
|
3000
3721
|
# field.
|
@@ -3160,6 +3881,69 @@ module Google
|
|
3160
3881
|
end
|
3161
3882
|
end
|
3162
3883
|
|
3884
|
+
# Defines target endpoints used to connect to third-party sources.
|
3885
|
+
class GoogleCloudDiscoveryengineV1DestinationConfig
|
3886
|
+
include Google::Apis::Core::Hashable
|
3887
|
+
|
3888
|
+
# Optional. The destinations for the corresponding key.
|
3889
|
+
# Corresponds to the JSON property `destinations`
|
3890
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DestinationConfigDestination>]
|
3891
|
+
attr_accessor :destinations
|
3892
|
+
|
3893
|
+
# Additional parameters for this destination config in json string format.
|
3894
|
+
# Corresponds to the JSON property `jsonParams`
|
3895
|
+
# @return [String]
|
3896
|
+
attr_accessor :json_params
|
3897
|
+
|
3898
|
+
# Optional. Unique destination identifier that is supported by the connector.
|
3899
|
+
# Corresponds to the JSON property `key`
|
3900
|
+
# @return [String]
|
3901
|
+
attr_accessor :key
|
3902
|
+
|
3903
|
+
# Optional. Additional parameters for this destination config in structured json
|
3904
|
+
# format.
|
3905
|
+
# Corresponds to the JSON property `params`
|
3906
|
+
# @return [Hash<String,Object>]
|
3907
|
+
attr_accessor :params
|
3908
|
+
|
3909
|
+
def initialize(**args)
|
3910
|
+
update!(**args)
|
3911
|
+
end
|
3912
|
+
|
3913
|
+
# Update properties of this object
|
3914
|
+
def update!(**args)
|
3915
|
+
@destinations = args[:destinations] if args.key?(:destinations)
|
3916
|
+
@json_params = args[:json_params] if args.key?(:json_params)
|
3917
|
+
@key = args[:key] if args.key?(:key)
|
3918
|
+
@params = args[:params] if args.key?(:params)
|
3919
|
+
end
|
3920
|
+
end
|
3921
|
+
|
3922
|
+
# Defines a target endpoint
|
3923
|
+
class GoogleCloudDiscoveryengineV1DestinationConfigDestination
|
3924
|
+
include Google::Apis::Core::Hashable
|
3925
|
+
|
3926
|
+
# Publicly routable host.
|
3927
|
+
# Corresponds to the JSON property `host`
|
3928
|
+
# @return [String]
|
3929
|
+
attr_accessor :host
|
3930
|
+
|
3931
|
+
# Optional. Target port number accepted by the destination.
|
3932
|
+
# Corresponds to the JSON property `port`
|
3933
|
+
# @return [Fixnum]
|
3934
|
+
attr_accessor :port
|
3935
|
+
|
3936
|
+
def initialize(**args)
|
3937
|
+
update!(**args)
|
3938
|
+
end
|
3939
|
+
|
3940
|
+
# Update properties of this object
|
3941
|
+
def update!(**args)
|
3942
|
+
@host = args[:host] if args.key?(:host)
|
3943
|
+
@port = args[:port] if args.key?(:port)
|
3944
|
+
end
|
3945
|
+
end
|
3946
|
+
|
3163
3947
|
# Metadata related to the progress of the SiteSearchEngineService.
|
3164
3948
|
# DisableAdvancedSiteSearch operation. This will be returned by the google.
|
3165
3949
|
# longrunning.Operation.metadata field.
|
@@ -3499,6 +4283,12 @@ module Google
|
|
3499
4283
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1EngineCommonConfig]
|
3500
4284
|
attr_accessor :common_config
|
3501
4285
|
|
4286
|
+
# Optional. Configuration for configurable billing approach. See go/vais-
|
4287
|
+
# repricing-billing-dd for more details.
|
4288
|
+
# Corresponds to the JSON property `configurableBillingApproach`
|
4289
|
+
# @return [String]
|
4290
|
+
attr_accessor :configurable_billing_approach
|
4291
|
+
|
3502
4292
|
# Output only. Timestamp the Recommendation Engine was created at.
|
3503
4293
|
# Corresponds to the JSON property `createTime`
|
3504
4294
|
# @return [String]
|
@@ -3531,7 +4321,8 @@ module Google
|
|
3531
4321
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
3532
4322
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
3533
4323
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
3534
|
-
# personalization-memory` -
|
4324
|
+
# personalization-memory` * `disable-image-generation` * `disable-video-
|
4325
|
+
# generation` * `disable-onedrive-upload`
|
3535
4326
|
# Corresponds to the JSON property `features`
|
3536
4327
|
# @return [Hash<String,String>]
|
3537
4328
|
attr_accessor :features
|
@@ -3582,6 +4373,7 @@ module Google
|
|
3582
4373
|
@chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
|
3583
4374
|
@chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
|
3584
4375
|
@common_config = args[:common_config] if args.key?(:common_config)
|
4376
|
+
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
3585
4377
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3586
4378
|
@data_store_ids = args[:data_store_ids] if args.key?(:data_store_ids)
|
3587
4379
|
@disable_analytics = args[:disable_analytics] if args.key?(:disable_analytics)
|
@@ -3972,6 +4764,47 @@ module Google
|
|
3972
4764
|
end
|
3973
4765
|
end
|
3974
4766
|
|
4767
|
+
# The configuration for the identity data synchronization runs.
|
4768
|
+
class GoogleCloudDiscoveryengineV1IdentityScheduleConfig
|
4769
|
+
include Google::Apis::Core::Hashable
|
4770
|
+
|
4771
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
4772
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
4773
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
4774
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
4775
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
4776
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
4777
|
+
# relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
|
4778
|
+
# the DateTime is considered not to have a specific year, month, or day
|
4779
|
+
# respectively. This type may also be used to represent a physical time if all
|
4780
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
4781
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
4782
|
+
# case also would like to store the user's timezone, that can be done in another
|
4783
|
+
# field. This type is more flexible than some applications may want. Make sure
|
4784
|
+
# to document and validate your application's limitations.
|
4785
|
+
# Corresponds to the JSON property `nextSyncTime`
|
4786
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleTypeDateTime]
|
4787
|
+
attr_accessor :next_sync_time
|
4788
|
+
|
4789
|
+
# Optional. The refresh interval to sync the Access Control List information for
|
4790
|
+
# the documents ingested by this connector. If not set, the access control list
|
4791
|
+
# will be refreshed at the default interval of 30 minutes. The identity refresh
|
4792
|
+
# interval can be at least 30 minutes and at most 7 days.
|
4793
|
+
# Corresponds to the JSON property `refreshInterval`
|
4794
|
+
# @return [String]
|
4795
|
+
attr_accessor :refresh_interval
|
4796
|
+
|
4797
|
+
def initialize(**args)
|
4798
|
+
update!(**args)
|
4799
|
+
end
|
4800
|
+
|
4801
|
+
# Update properties of this object
|
4802
|
+
def update!(**args)
|
4803
|
+
@next_sync_time = args[:next_sync_time] if args.key?(:next_sync_time)
|
4804
|
+
@refresh_interval = args[:refresh_interval] if args.key?(:refresh_interval)
|
4805
|
+
end
|
4806
|
+
end
|
4807
|
+
|
3975
4808
|
# Identity Provider Config.
|
3976
4809
|
class GoogleCloudDiscoveryengineV1IdpConfig
|
3977
4810
|
include Google::Apis::Core::Hashable
|
@@ -4340,6 +5173,11 @@ module Google
|
|
4340
5173
|
# @return [String]
|
4341
5174
|
attr_accessor :create_time
|
4342
5175
|
|
5176
|
+
# Customer provided configurations.
|
5177
|
+
# Corresponds to the JSON property `customerProvidedConfig`
|
5178
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig]
|
5179
|
+
attr_accessor :customer_provided_config
|
5180
|
+
|
4343
5181
|
# Output only. Full resource name of the project, for example `projects/`project`
|
4344
5182
|
# `. Note that when making requests, project number and project id are both
|
4345
5183
|
# acceptable, but the server will always respond in project number.
|
@@ -4365,12 +5203,84 @@ module Google
|
|
4365
5203
|
# Update properties of this object
|
4366
5204
|
def update!(**args)
|
4367
5205
|
@create_time = args[:create_time] if args.key?(:create_time)
|
5206
|
+
@customer_provided_config = args[:customer_provided_config] if args.key?(:customer_provided_config)
|
4368
5207
|
@name = args[:name] if args.key?(:name)
|
4369
5208
|
@provision_completion_time = args[:provision_completion_time] if args.key?(:provision_completion_time)
|
4370
5209
|
@service_terms_map = args[:service_terms_map] if args.key?(:service_terms_map)
|
4371
5210
|
end
|
4372
5211
|
end
|
4373
5212
|
|
5213
|
+
# Customer provided configurations.
|
5214
|
+
class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig
|
5215
|
+
include Google::Apis::Core::Hashable
|
5216
|
+
|
5217
|
+
# Configuration for NotebookLM.
|
5218
|
+
# Corresponds to the JSON property `notebooklmConfig`
|
5219
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig]
|
5220
|
+
attr_accessor :notebooklm_config
|
5221
|
+
|
5222
|
+
def initialize(**args)
|
5223
|
+
update!(**args)
|
5224
|
+
end
|
5225
|
+
|
5226
|
+
# Update properties of this object
|
5227
|
+
def update!(**args)
|
5228
|
+
@notebooklm_config = args[:notebooklm_config] if args.key?(:notebooklm_config)
|
5229
|
+
end
|
5230
|
+
end
|
5231
|
+
|
5232
|
+
# Configuration for NotebookLM.
|
5233
|
+
class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig
|
5234
|
+
include Google::Apis::Core::Hashable
|
5235
|
+
|
5236
|
+
# Configuration for customer defined Model Armor templates to be used for
|
5237
|
+
# sanitizing user prompts and LLM responses.
|
5238
|
+
# Corresponds to the JSON property `modelArmorConfig`
|
5239
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
|
5240
|
+
attr_accessor :model_armor_config
|
5241
|
+
|
5242
|
+
def initialize(**args)
|
5243
|
+
update!(**args)
|
5244
|
+
end
|
5245
|
+
|
5246
|
+
# Update properties of this object
|
5247
|
+
def update!(**args)
|
5248
|
+
@model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
|
5249
|
+
end
|
5250
|
+
end
|
5251
|
+
|
5252
|
+
# Configuration for customer defined Model Armor templates to be used for
|
5253
|
+
# sanitizing user prompts and LLM responses.
|
5254
|
+
class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig
|
5255
|
+
include Google::Apis::Core::Hashable
|
5256
|
+
|
5257
|
+
# Optional. The resource name of the Model Armor Template for sanitizing LLM
|
5258
|
+
# responses. Format: projects/`project`/locations/`location`/templates/`
|
5259
|
+
# template_id` If not specified, no sanitization will be applied to the LLM
|
5260
|
+
# response.
|
5261
|
+
# Corresponds to the JSON property `responseTemplate`
|
5262
|
+
# @return [String]
|
5263
|
+
attr_accessor :response_template
|
5264
|
+
|
5265
|
+
# Optional. The resource name of the Model Armor Template for sanitizing user
|
5266
|
+
# prompts. Format: projects/`project`/locations/`location`/templates/`
|
5267
|
+
# template_id` If not specified, no sanitization will be applied to the user
|
5268
|
+
# prompt.
|
5269
|
+
# Corresponds to the JSON property `userPromptTemplate`
|
5270
|
+
# @return [String]
|
5271
|
+
attr_accessor :user_prompt_template
|
5272
|
+
|
5273
|
+
def initialize(**args)
|
5274
|
+
update!(**args)
|
5275
|
+
end
|
5276
|
+
|
5277
|
+
# Update properties of this object
|
5278
|
+
def update!(**args)
|
5279
|
+
@response_template = args[:response_template] if args.key?(:response_template)
|
5280
|
+
@user_prompt_template = args[:user_prompt_template] if args.key?(:user_prompt_template)
|
5281
|
+
end
|
5282
|
+
end
|
5283
|
+
|
4374
5284
|
# Metadata about the terms of service.
|
4375
5285
|
class GoogleCloudDiscoveryengineV1ProjectServiceTerms
|
4376
5286
|
include Google::Apis::Core::Hashable
|
@@ -5311,6 +6221,19 @@ module Google
|
|
5311
6221
|
end
|
5312
6222
|
end
|
5313
6223
|
|
6224
|
+
# Metadata for DataConnectorService.SetUpDataConnector method.
|
6225
|
+
class GoogleCloudDiscoveryengineV1SetUpDataConnectorMetadata
|
6226
|
+
include Google::Apis::Core::Hashable
|
6227
|
+
|
6228
|
+
def initialize(**args)
|
6229
|
+
update!(**args)
|
6230
|
+
end
|
6231
|
+
|
6232
|
+
# Update properties of this object
|
6233
|
+
def update!(**args)
|
6234
|
+
end
|
6235
|
+
end
|
6236
|
+
|
5314
6237
|
# Metadata for single-regional CMEKs.
|
5315
6238
|
class GoogleCloudDiscoveryengineV1SingleRegionKey
|
5316
6239
|
include Google::Apis::Core::Hashable
|
@@ -5513,6 +6436,42 @@ module Google
|
|
5513
6436
|
end
|
5514
6437
|
end
|
5515
6438
|
|
6439
|
+
# Tenant information for a connector source. This includes some of the same
|
6440
|
+
# information stored in the Credential message, but is limited to only what is
|
6441
|
+
# needed to provide a list of accessible tenants to the user.
|
6442
|
+
class GoogleCloudDiscoveryengineV1Tenant
|
6443
|
+
include Google::Apis::Core::Hashable
|
6444
|
+
|
6445
|
+
# Optional display name for the tenant, e.g. "My Slack Team".
|
6446
|
+
# Corresponds to the JSON property `displayName`
|
6447
|
+
# @return [String]
|
6448
|
+
attr_accessor :display_name
|
6449
|
+
|
6450
|
+
# The tenant's instance ID. Examples: Jira ("8594f221-9797-5f78-1fa4-
|
6451
|
+
# 485e198d7cd0"), Slack ("T123456").
|
6452
|
+
# Corresponds to the JSON property `id`
|
6453
|
+
# @return [String]
|
6454
|
+
attr_accessor :id
|
6455
|
+
|
6456
|
+
# The URI of the tenant, if applicable. For example, the URI of a Jira instance
|
6457
|
+
# is https://my-jira-instance.atlassian.net, and a Slack tenant does not have a
|
6458
|
+
# URI.
|
6459
|
+
# Corresponds to the JSON property `uri`
|
6460
|
+
# @return [String]
|
6461
|
+
attr_accessor :uri
|
6462
|
+
|
6463
|
+
def initialize(**args)
|
6464
|
+
update!(**args)
|
6465
|
+
end
|
6466
|
+
|
6467
|
+
# Update properties of this object
|
6468
|
+
def update!(**args)
|
6469
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
6470
|
+
@id = args[:id] if args.key?(:id)
|
6471
|
+
@uri = args[:uri] if args.key?(:uri)
|
6472
|
+
end
|
6473
|
+
end
|
6474
|
+
|
5516
6475
|
# Metadata related to the progress of the TrainCustomModel operation. This is
|
5517
6476
|
# returned by the google.longrunning.Operation.metadata field.
|
5518
6477
|
class GoogleCloudDiscoveryengineV1TrainCustomModelMetadata
|
@@ -5844,12 +6803,7 @@ module Google
|
|
5844
6803
|
class GoogleCloudDiscoveryengineV1alphaActionConfig
|
5845
6804
|
include Google::Apis::Core::Hashable
|
5846
6805
|
|
5847
|
-
#
|
5848
|
-
# Required parameters for sources that support OAUTH, i.e. `gmail`, `
|
5849
|
-
# google_calendar`, `jira`, `workday`, `salesforce`, `confluence`: * Key: `
|
5850
|
-
# client_id` * Value: type STRING. The client ID for the service provider to
|
5851
|
-
# identify your application. * Key: `client_secret` * Value:type STRING. The
|
5852
|
-
# client secret generated by the application's authorization server.
|
6806
|
+
# Optional. Action parameters in structured json format.
|
5853
6807
|
# Corresponds to the JSON property `actionParams`
|
5854
6808
|
# @return [Hash<String,Object>]
|
5855
6809
|
attr_accessor :action_params
|
@@ -5861,6 +6815,11 @@ module Google
|
|
5861
6815
|
attr_accessor :is_action_configured
|
5862
6816
|
alias_method :is_action_configured?, :is_action_configured
|
5863
6817
|
|
6818
|
+
# Optional. Action parameters in json string format.
|
6819
|
+
# Corresponds to the JSON property `jsonActionParams`
|
6820
|
+
# @return [String]
|
6821
|
+
attr_accessor :json_action_params
|
6822
|
+
|
5864
6823
|
# Optional. The Service Directory resource name (projects/*/locations/*/
|
5865
6824
|
# namespaces/*/services/*) representing a VPC network endpoint used to connect
|
5866
6825
|
# to the data source's `instance_uri`, defined in DataConnector.params. Required
|
@@ -5884,6 +6843,7 @@ module Google
|
|
5884
6843
|
def update!(**args)
|
5885
6844
|
@action_params = args[:action_params] if args.key?(:action_params)
|
5886
6845
|
@is_action_configured = args[:is_action_configured] if args.key?(:is_action_configured)
|
6846
|
+
@json_action_params = args[:json_action_params] if args.key?(:json_action_params)
|
5887
6847
|
@service_name = args[:service_name] if args.key?(:service_name)
|
5888
6848
|
@use_static_secrets = args[:use_static_secrets] if args.key?(:use_static_secrets)
|
5889
6849
|
end
|
@@ -8361,6 +9321,15 @@ module Google
|
|
8361
9321
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent]
|
8362
9322
|
attr_accessor :grounded_content
|
8363
9323
|
|
9324
|
+
# Output only. When set, uniquely identifies a reply within the `AssistAnswer`
|
9325
|
+
# resource. During an AssistantService.StreamAssist call, multiple `Reply`
|
9326
|
+
# messages with the same ID can occur within the response stream (across
|
9327
|
+
# multiple AssistantService.StreamAssistResponse messages). These represent
|
9328
|
+
# parts of a single `Reply` message in the final `AssistAnswer` resource.
|
9329
|
+
# Corresponds to the JSON property `replyId`
|
9330
|
+
# @return [String]
|
9331
|
+
attr_accessor :reply_id
|
9332
|
+
|
8364
9333
|
def initialize(**args)
|
8365
9334
|
update!(**args)
|
8366
9335
|
end
|
@@ -8368,6 +9337,7 @@ module Google
|
|
8368
9337
|
# Update properties of this object
|
8369
9338
|
def update!(**args)
|
8370
9339
|
@grounded_content = args[:grounded_content] if args.key?(:grounded_content)
|
9340
|
+
@reply_id = args[:reply_id] if args.key?(:reply_id)
|
8371
9341
|
end
|
8372
9342
|
end
|
8373
9343
|
|
@@ -8842,6 +9812,12 @@ module Google
|
|
8842
9812
|
# @return [String]
|
8843
9813
|
attr_accessor :domain
|
8844
9814
|
|
9815
|
+
# The mime type of the document. https://www.iana.org/assignments/media-types/
|
9816
|
+
# media-types.xhtml.
|
9817
|
+
# Corresponds to the JSON property `mimeType`
|
9818
|
+
# @return [String]
|
9819
|
+
attr_accessor :mime_type
|
9820
|
+
|
8845
9821
|
# Page identifier.
|
8846
9822
|
# Corresponds to the JSON property `pageIdentifier`
|
8847
9823
|
# @return [String]
|
@@ -8866,6 +9842,7 @@ module Google
|
|
8866
9842
|
def update!(**args)
|
8867
9843
|
@document = args[:document] if args.key?(:document)
|
8868
9844
|
@domain = args[:domain] if args.key?(:domain)
|
9845
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
8869
9846
|
@page_identifier = args[:page_identifier] if args.key?(:page_identifier)
|
8870
9847
|
@title = args[:title] if args.key?(:title)
|
8871
9848
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -8967,6 +9944,11 @@ module Google
|
|
8967
9944
|
class GoogleCloudDiscoveryengineV1alphaBapConfig
|
8968
9945
|
include Google::Apis::Core::Hashable
|
8969
9946
|
|
9947
|
+
# Optional. The actions enabled on the associated BAP connection.
|
9948
|
+
# Corresponds to the JSON property `enabledActions`
|
9949
|
+
# @return [Array<String>]
|
9950
|
+
attr_accessor :enabled_actions
|
9951
|
+
|
8970
9952
|
# Required. The supported connector modes for the associated BAP connection.
|
8971
9953
|
# Corresponds to the JSON property `supportedConnectorModes`
|
8972
9954
|
# @return [Array<String>]
|
@@ -8978,6 +9960,7 @@ module Google
|
|
8978
9960
|
|
8979
9961
|
# Update properties of this object
|
8980
9962
|
def update!(**args)
|
9963
|
+
@enabled_actions = args[:enabled_actions] if args.key?(:enabled_actions)
|
8981
9964
|
@supported_connector_modes = args[:supported_connector_modes] if args.key?(:supported_connector_modes)
|
8982
9965
|
end
|
8983
9966
|
end
|
@@ -9519,6 +10502,74 @@ module Google
|
|
9519
10502
|
end
|
9520
10503
|
end
|
9521
10504
|
|
10505
|
+
# A data branch that stores Documents.
|
10506
|
+
class GoogleCloudDiscoveryengineV1alphaBranch
|
10507
|
+
include Google::Apis::Core::Hashable
|
10508
|
+
|
10509
|
+
# Statistics describing a branch.
|
10510
|
+
# Corresponds to the JSON property `branchStats`
|
10511
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBranchBranchStats]
|
10512
|
+
attr_accessor :branch_stats
|
10513
|
+
|
10514
|
+
# Output only. Human readable name of the branch to display in the UI.
|
10515
|
+
# Corresponds to the JSON property `displayName`
|
10516
|
+
# @return [String]
|
10517
|
+
attr_accessor :display_name
|
10518
|
+
|
10519
|
+
# Output only. Indicates whether this branch is set as the default branch of its
|
10520
|
+
# parent data store.
|
10521
|
+
# Corresponds to the JSON property `isDefault`
|
10522
|
+
# @return [Boolean]
|
10523
|
+
attr_accessor :is_default
|
10524
|
+
alias_method :is_default?, :is_default
|
10525
|
+
|
10526
|
+
# Output only. Timestamp of last import through DocumentService.ImportDocuments.
|
10527
|
+
# Empty value means no import has been made to this branch.
|
10528
|
+
# Corresponds to the JSON property `lastDocumentImportTime`
|
10529
|
+
# @return [String]
|
10530
|
+
attr_accessor :last_document_import_time
|
10531
|
+
|
10532
|
+
# Immutable. Full resource name of the branch, such as `projects/*/locations/
|
10533
|
+
# global/dataStores/data_store/branches/branch_id`.
|
10534
|
+
# Corresponds to the JSON property `name`
|
10535
|
+
# @return [String]
|
10536
|
+
attr_accessor :name
|
10537
|
+
|
10538
|
+
def initialize(**args)
|
10539
|
+
update!(**args)
|
10540
|
+
end
|
10541
|
+
|
10542
|
+
# Update properties of this object
|
10543
|
+
def update!(**args)
|
10544
|
+
@branch_stats = args[:branch_stats] if args.key?(:branch_stats)
|
10545
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
10546
|
+
@is_default = args[:is_default] if args.key?(:is_default)
|
10547
|
+
@last_document_import_time = args[:last_document_import_time] if args.key?(:last_document_import_time)
|
10548
|
+
@name = args[:name] if args.key?(:name)
|
10549
|
+
end
|
10550
|
+
end
|
10551
|
+
|
10552
|
+
# Statistics describing a branch.
|
10553
|
+
class GoogleCloudDiscoveryengineV1alphaBranchBranchStats
|
10554
|
+
include Google::Apis::Core::Hashable
|
10555
|
+
|
10556
|
+
# The number of documents in a given branch. The key is a group representing a
|
10557
|
+
# set of documents, and the value is the number of document in that group. Note:
|
10558
|
+
# keys in this map may change over time. Supported keys: ['all'].
|
10559
|
+
# Corresponds to the JSON property `documentCounts`
|
10560
|
+
# @return [Hash<String,Fixnum>]
|
10561
|
+
attr_accessor :document_counts
|
10562
|
+
|
10563
|
+
def initialize(**args)
|
10564
|
+
update!(**args)
|
10565
|
+
end
|
10566
|
+
|
10567
|
+
# Update properties of this object
|
10568
|
+
def update!(**args)
|
10569
|
+
@document_counts = args[:document_counts] if args.key?(:document_counts)
|
10570
|
+
end
|
10571
|
+
end
|
10572
|
+
|
9522
10573
|
# Request message for GroundedGenerationService.CheckGrounding method.
|
9523
10574
|
class GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest
|
9524
10575
|
include Google::Apis::Core::Hashable
|
@@ -11728,6 +12779,11 @@ module Google
|
|
11728
12779
|
attr_accessor :incremental_sync_disabled
|
11729
12780
|
alias_method :incremental_sync_disabled?, :incremental_sync_disabled
|
11730
12781
|
|
12782
|
+
# Required data connector parameters in json string format.
|
12783
|
+
# Corresponds to the JSON property `jsonParams`
|
12784
|
+
# @return [String]
|
12785
|
+
attr_accessor :json_params
|
12786
|
+
|
11731
12787
|
# Input only. The KMS key to be used to protect the DataStores managed by this
|
11732
12788
|
# connector. Must be set for requests that need to comply with CMEK Org Policy
|
11733
12789
|
# protections. If this field is set and processed successfully, the DataStores
|
@@ -11776,27 +12832,7 @@ module Google
|
|
11776
12832
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleTypeDateTime]
|
11777
12833
|
attr_accessor :next_sync_time
|
11778
12834
|
|
11779
|
-
# Required
|
11780
|
-
# pairs. Required parameters for all data sources: * Key: `instance_uri` * Value:
|
11781
|
-
# type STRING. The uri to access the data source. Required parameters for
|
11782
|
-
# sources that support OAUTH, i.e. `salesforce`: * Key: `client_id` * Value:
|
11783
|
-
# type STRING. The client ID for the third party service provider to identify
|
11784
|
-
# your application. * Key: `client_secret` * Value:type STRING. The client
|
11785
|
-
# secret generated by the third party authorization server. * Key: `access_token`
|
11786
|
-
# * Value: type STRING. OAuth token for UCS to access to the protected resource.
|
11787
|
-
# * Key: `refresh_token` * Value: type STRING. OAuth refresh token for UCS to
|
11788
|
-
# obtain a new access token without user interaction. Required parameters for
|
11789
|
-
# sources that support basic API token auth, i.e. `jira`, `confluence`: * Key: `
|
11790
|
-
# user_account` * Value: type STRING. The username or email with the source. *
|
11791
|
-
# Key: `api_token` * Value: type STRING. The API token generated for the source
|
11792
|
-
# account, that is used for authenticating anywhere where you would have used a
|
11793
|
-
# password. Example: ```json ` "instance_uri": "https://xxx.atlassian.net", "
|
11794
|
-
# user_account": "xxxx.xxx@xxx.com", "api_token": "test-token" ` ``` Optional
|
11795
|
-
# parameter to specify the authorization type to use for multiple authorization
|
11796
|
-
# types support: * Key: `auth_type` * Value: type STRING. The authorization type
|
11797
|
-
# for the data source. Supported values: `BASIC_AUTH`, `OAUTH`, `
|
11798
|
-
# OAUTH_ACCESS_TOKEN`, `OAUTH_TWO_LEGGED`, `OAUTH_JWT_BEARER`, `
|
11799
|
-
# OAUTH_PASSWORD_GRANT`, `JWT`, `API_TOKEN`, `FEDERATED_CREDENTIAL`.
|
12835
|
+
# Required data connector parameters in structured json format.
|
11800
12836
|
# Corresponds to the JSON property `params`
|
11801
12837
|
# @return [Hash<String,Object>]
|
11802
12838
|
attr_accessor :params
|
@@ -11890,6 +12926,7 @@ module Google
|
|
11890
12926
|
@identity_schedule_config = args[:identity_schedule_config] if args.key?(:identity_schedule_config)
|
11891
12927
|
@incremental_refresh_interval = args[:incremental_refresh_interval] if args.key?(:incremental_refresh_interval)
|
11892
12928
|
@incremental_sync_disabled = args[:incremental_sync_disabled] if args.key?(:incremental_sync_disabled)
|
12929
|
+
@json_params = args[:json_params] if args.key?(:json_params)
|
11893
12930
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
11894
12931
|
@last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time)
|
11895
12932
|
@latest_pause_time = args[:latest_pause_time] if args.key?(:latest_pause_time)
|
@@ -11923,6 +12960,12 @@ module Google
|
|
11923
12960
|
# @return [Hash<String,Object>]
|
11924
12961
|
attr_accessor :auth_params
|
11925
12962
|
|
12963
|
+
# Optional. Any authentication parameters specific to EUA connectors in json
|
12964
|
+
# string format.
|
12965
|
+
# Corresponds to the JSON property `jsonAuthParams`
|
12966
|
+
# @return [String]
|
12967
|
+
attr_accessor :json_auth_params
|
12968
|
+
|
11926
12969
|
# Tenant information for a connector source. This includes some of the same
|
11927
12970
|
# information stored in the Credential message, but is limited to only what is
|
11928
12971
|
# needed to provide a list of accessible tenants to the user.
|
@@ -11938,6 +12981,7 @@ module Google
|
|
11938
12981
|
def update!(**args)
|
11939
12982
|
@additional_params = args[:additional_params] if args.key?(:additional_params)
|
11940
12983
|
@auth_params = args[:auth_params] if args.key?(:auth_params)
|
12984
|
+
@json_auth_params = args[:json_auth_params] if args.key?(:json_auth_params)
|
11941
12985
|
@tenant = args[:tenant] if args.key?(:tenant)
|
11942
12986
|
end
|
11943
12987
|
end
|
@@ -11952,11 +12996,17 @@ module Google
|
|
11952
12996
|
# @return [Hash<String,Object>]
|
11953
12997
|
attr_accessor :additional_params
|
11954
12998
|
|
11955
|
-
# Optional. Any authentication parameters specific to FEDERATED.
|
12999
|
+
# Optional. Any authentication parameters specific to FEDERATED connectors.
|
11956
13000
|
# Corresponds to the JSON property `authParams`
|
11957
13001
|
# @return [Hash<String,Object>]
|
11958
13002
|
attr_accessor :auth_params
|
11959
13003
|
|
13004
|
+
# Optional. Any authentication parameters specific to FEDERATED connectors in
|
13005
|
+
# json string format.
|
13006
|
+
# Corresponds to the JSON property `jsonAuthParams`
|
13007
|
+
# @return [String]
|
13008
|
+
attr_accessor :json_auth_params
|
13009
|
+
|
11960
13010
|
def initialize(**args)
|
11961
13011
|
update!(**args)
|
11962
13012
|
end
|
@@ -11965,6 +13015,7 @@ module Google
|
|
11965
13015
|
def update!(**args)
|
11966
13016
|
@additional_params = args[:additional_params] if args.key?(:additional_params)
|
11967
13017
|
@auth_params = args[:auth_params] if args.key?(:auth_params)
|
13018
|
+
@json_auth_params = args[:json_auth_params] if args.key?(:json_auth_params)
|
11968
13019
|
end
|
11969
13020
|
end
|
11970
13021
|
|
@@ -12057,6 +13108,12 @@ module Google
|
|
12057
13108
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig]
|
12058
13109
|
attr_accessor :healthcare_fhir_config
|
12059
13110
|
|
13111
|
+
# The parameters for the entity to facilitate data ingestion in json string
|
13112
|
+
# format.
|
13113
|
+
# Corresponds to the JSON property `jsonParams`
|
13114
|
+
# @return [String]
|
13115
|
+
attr_accessor :json_params
|
13116
|
+
|
12060
13117
|
# Attributes for indexing. Key: Field name. Value: The key property to map a
|
12061
13118
|
# field to, such as `title`, and `description`. Supported key properties: * `
|
12062
13119
|
# title`: The title for data record. This would be displayed on search results. *
|
@@ -12066,9 +13123,8 @@ module Google
|
|
12066
13123
|
# @return [Hash<String,String>]
|
12067
13124
|
attr_accessor :key_property_mappings
|
12068
13125
|
|
12069
|
-
# The parameters for the entity to facilitate data ingestion
|
12070
|
-
#
|
12071
|
-
# column ID.
|
13126
|
+
# The parameters for the entity to facilitate data ingestion in structured json
|
13127
|
+
# format.
|
12072
13128
|
# Corresponds to the JSON property `params`
|
12073
13129
|
# @return [Hash<String,Object>]
|
12074
13130
|
attr_accessor :params
|
@@ -12087,6 +13143,7 @@ module Google
|
|
12087
13143
|
@data_store = args[:data_store] if args.key?(:data_store)
|
12088
13144
|
@entity_name = args[:entity_name] if args.key?(:entity_name)
|
12089
13145
|
@healthcare_fhir_config = args[:healthcare_fhir_config] if args.key?(:healthcare_fhir_config)
|
13146
|
+
@json_params = args[:json_params] if args.key?(:json_params)
|
12090
13147
|
@key_property_mappings = args[:key_property_mappings] if args.key?(:key_property_mappings)
|
12091
13148
|
@params = args[:params] if args.key?(:params)
|
12092
13149
|
@starting_schema = args[:starting_schema] if args.key?(:starting_schema)
|
@@ -12123,6 +13180,12 @@ module Google
|
|
12123
13180
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCmekConfig]
|
12124
13181
|
attr_accessor :cmek_config
|
12125
13182
|
|
13183
|
+
# Optional. Configuration for configurable billing approach. See go/vais-
|
13184
|
+
# repricing-billing-dd for more details, only apply to non-Spark UCS Search.
|
13185
|
+
# Corresponds to the JSON property `configurableBillingApproach`
|
13186
|
+
# @return [String]
|
13187
|
+
attr_accessor :configurable_billing_approach
|
13188
|
+
|
12126
13189
|
# Immutable. The content config of the data store. If this field is unset, the
|
12127
13190
|
# server behavior defaults to ContentConfig.NO_CONTENT.
|
12128
13191
|
# Corresponds to the JSON property `contentConfig`
|
@@ -12241,6 +13304,7 @@ module Google
|
|
12241
13304
|
@advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
|
12242
13305
|
@billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
|
12243
13306
|
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
13307
|
+
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
12244
13308
|
@content_config = args[:content_config] if args.key?(:content_config)
|
12245
13309
|
@create_time = args[:create_time] if args.key?(:create_time)
|
12246
13310
|
@default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
|
@@ -12622,12 +13686,18 @@ module Google
|
|
12622
13686
|
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination>]
|
12623
13687
|
attr_accessor :destinations
|
12624
13688
|
|
13689
|
+
# Additional parameters for this destination config in json string format.
|
13690
|
+
# Corresponds to the JSON property `jsonParams`
|
13691
|
+
# @return [String]
|
13692
|
+
attr_accessor :json_params
|
13693
|
+
|
12625
13694
|
# Optional. Unique destination identifier that is supported by the connector.
|
12626
13695
|
# Corresponds to the JSON property `key`
|
12627
13696
|
# @return [String]
|
12628
13697
|
attr_accessor :key
|
12629
13698
|
|
12630
|
-
# Optional. Additional parameters for this destination config
|
13699
|
+
# Optional. Additional parameters for this destination config in structured json
|
13700
|
+
# format.
|
12631
13701
|
# Corresponds to the JSON property `params`
|
12632
13702
|
# @return [Hash<String,Object>]
|
12633
13703
|
attr_accessor :params
|
@@ -12639,6 +13709,7 @@ module Google
|
|
12639
13709
|
# Update properties of this object
|
12640
13710
|
def update!(**args)
|
12641
13711
|
@destinations = args[:destinations] if args.key?(:destinations)
|
13712
|
+
@json_params = args[:json_params] if args.key?(:json_params)
|
12642
13713
|
@key = args[:key] if args.key?(:key)
|
12643
13714
|
@params = args[:params] if args.key?(:params)
|
12644
13715
|
end
|
@@ -13365,6 +14436,12 @@ module Google
|
|
13365
14436
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineCommonConfig]
|
13366
14437
|
attr_accessor :common_config
|
13367
14438
|
|
14439
|
+
# Optional. Configuration for configurable billing approach. See go/vais-
|
14440
|
+
# repricing-billing-dd for more details.
|
14441
|
+
# Corresponds to the JSON property `configurableBillingApproach`
|
14442
|
+
# @return [String]
|
14443
|
+
attr_accessor :configurable_billing_approach
|
14444
|
+
|
13368
14445
|
# Output only. Timestamp the Recommendation Engine was created at.
|
13369
14446
|
# Corresponds to the JSON property `createTime`
|
13370
14447
|
# @return [String]
|
@@ -13397,7 +14474,8 @@ module Google
|
|
13397
14474
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
13398
14475
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
13399
14476
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
13400
|
-
# personalization-memory` -
|
14477
|
+
# personalization-memory` * `disable-image-generation` * `disable-video-
|
14478
|
+
# generation` * `disable-onedrive-upload`
|
13401
14479
|
# Corresponds to the JSON property `features`
|
13402
14480
|
# @return [Hash<String,String>]
|
13403
14481
|
attr_accessor :features
|
@@ -13458,6 +14536,7 @@ module Google
|
|
13458
14536
|
@chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
|
13459
14537
|
@chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
|
13460
14538
|
@common_config = args[:common_config] if args.key?(:common_config)
|
14539
|
+
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
13461
14540
|
@create_time = args[:create_time] if args.key?(:create_time)
|
13462
14541
|
@data_store_ids = args[:data_store_ids] if args.key?(:data_store_ids)
|
13463
14542
|
@disable_analytics = args[:disable_analytics] if args.key?(:disable_analytics)
|
@@ -16072,6 +17151,25 @@ module Google
|
|
16072
17151
|
end
|
16073
17152
|
end
|
16074
17153
|
|
17154
|
+
# Response for BranchService.ListBranches method.
|
17155
|
+
class GoogleCloudDiscoveryengineV1alphaListBranchesResponse
|
17156
|
+
include Google::Apis::Core::Hashable
|
17157
|
+
|
17158
|
+
# The Branches.
|
17159
|
+
# Corresponds to the JSON property `branches`
|
17160
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBranch>]
|
17161
|
+
attr_accessor :branches
|
17162
|
+
|
17163
|
+
def initialize(**args)
|
17164
|
+
update!(**args)
|
17165
|
+
end
|
17166
|
+
|
17167
|
+
# Update properties of this object
|
17168
|
+
def update!(**args)
|
17169
|
+
@branches = args[:branches] if args.key?(:branches)
|
17170
|
+
end
|
17171
|
+
end
|
17172
|
+
|
16075
17173
|
# Response message for ChunkService.ListChunks method.
|
16076
17174
|
class GoogleCloudDiscoveryengineV1alphaListChunksResponse
|
16077
17175
|
include Google::Apis::Core::Hashable
|
@@ -17069,6 +18167,11 @@ module Google
|
|
17069
18167
|
# @return [String]
|
17070
18168
|
attr_accessor :create_time
|
17071
18169
|
|
18170
|
+
# Customer provided configurations.
|
18171
|
+
# Corresponds to the JSON property `customerProvidedConfig`
|
18172
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig]
|
18173
|
+
attr_accessor :customer_provided_config
|
18174
|
+
|
17072
18175
|
# Output only. Full resource name of the project, for example `projects/`project`
|
17073
18176
|
# `. Note that when making requests, project number and project id are both
|
17074
18177
|
# acceptable, but the server will always respond in project number.
|
@@ -17094,12 +18197,84 @@ module Google
|
|
17094
18197
|
# Update properties of this object
|
17095
18198
|
def update!(**args)
|
17096
18199
|
@create_time = args[:create_time] if args.key?(:create_time)
|
18200
|
+
@customer_provided_config = args[:customer_provided_config] if args.key?(:customer_provided_config)
|
17097
18201
|
@name = args[:name] if args.key?(:name)
|
17098
18202
|
@provision_completion_time = args[:provision_completion_time] if args.key?(:provision_completion_time)
|
17099
18203
|
@service_terms_map = args[:service_terms_map] if args.key?(:service_terms_map)
|
17100
18204
|
end
|
17101
18205
|
end
|
17102
18206
|
|
18207
|
+
# Customer provided configurations.
|
18208
|
+
class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig
|
18209
|
+
include Google::Apis::Core::Hashable
|
18210
|
+
|
18211
|
+
# Configuration for NotebookLM.
|
18212
|
+
# Corresponds to the JSON property `notebooklmConfig`
|
18213
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig]
|
18214
|
+
attr_accessor :notebooklm_config
|
18215
|
+
|
18216
|
+
def initialize(**args)
|
18217
|
+
update!(**args)
|
18218
|
+
end
|
18219
|
+
|
18220
|
+
# Update properties of this object
|
18221
|
+
def update!(**args)
|
18222
|
+
@notebooklm_config = args[:notebooklm_config] if args.key?(:notebooklm_config)
|
18223
|
+
end
|
18224
|
+
end
|
18225
|
+
|
18226
|
+
# Configuration for NotebookLM.
|
18227
|
+
class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig
|
18228
|
+
include Google::Apis::Core::Hashable
|
18229
|
+
|
18230
|
+
# Configuration for customer defined Model Armor templates to be used for
|
18231
|
+
# sanitizing user prompts and LLM responses.
|
18232
|
+
# Corresponds to the JSON property `modelArmorConfig`
|
18233
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
|
18234
|
+
attr_accessor :model_armor_config
|
18235
|
+
|
18236
|
+
def initialize(**args)
|
18237
|
+
update!(**args)
|
18238
|
+
end
|
18239
|
+
|
18240
|
+
# Update properties of this object
|
18241
|
+
def update!(**args)
|
18242
|
+
@model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
|
18243
|
+
end
|
18244
|
+
end
|
18245
|
+
|
18246
|
+
# Configuration for customer defined Model Armor templates to be used for
|
18247
|
+
# sanitizing user prompts and LLM responses.
|
18248
|
+
class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig
|
18249
|
+
include Google::Apis::Core::Hashable
|
18250
|
+
|
18251
|
+
# Optional. The resource name of the Model Armor Template for sanitizing LLM
|
18252
|
+
# responses. Format: projects/`project`/locations/`location`/templates/`
|
18253
|
+
# template_id` If not specified, no sanitization will be applied to the LLM
|
18254
|
+
# response.
|
18255
|
+
# Corresponds to the JSON property `responseTemplate`
|
18256
|
+
# @return [String]
|
18257
|
+
attr_accessor :response_template
|
18258
|
+
|
18259
|
+
# Optional. The resource name of the Model Armor Template for sanitizing user
|
18260
|
+
# prompts. Format: projects/`project`/locations/`location`/templates/`
|
18261
|
+
# template_id` If not specified, no sanitization will be applied to the user
|
18262
|
+
# prompt.
|
18263
|
+
# Corresponds to the JSON property `userPromptTemplate`
|
18264
|
+
# @return [String]
|
18265
|
+
attr_accessor :user_prompt_template
|
18266
|
+
|
18267
|
+
def initialize(**args)
|
18268
|
+
update!(**args)
|
18269
|
+
end
|
18270
|
+
|
18271
|
+
# Update properties of this object
|
18272
|
+
def update!(**args)
|
18273
|
+
@response_template = args[:response_template] if args.key?(:response_template)
|
18274
|
+
@user_prompt_template = args[:user_prompt_template] if args.key?(:user_prompt_template)
|
18275
|
+
end
|
18276
|
+
end
|
18277
|
+
|
17103
18278
|
# Metadata about the terms of service.
|
17104
18279
|
class GoogleCloudDiscoveryengineV1alphaProjectServiceTerms
|
17105
18280
|
include Google::Apis::Core::Hashable
|
@@ -17209,6 +18384,13 @@ module Google
|
|
17209
18384
|
attr_accessor :accept_biz_qos
|
17210
18385
|
alias_method :accept_biz_qos?, :accept_biz_qos
|
17211
18386
|
|
18387
|
+
# Optional. Indicates if the current request is for Biz edition (= true) or not (
|
18388
|
+
# = false).
|
18389
|
+
# Corresponds to the JSON property `isBiz`
|
18390
|
+
# @return [Boolean]
|
18391
|
+
attr_accessor :is_biz
|
18392
|
+
alias_method :is_biz?, :is_biz
|
18393
|
+
|
17212
18394
|
def initialize(**args)
|
17213
18395
|
update!(**args)
|
17214
18396
|
end
|
@@ -17216,6 +18398,7 @@ module Google
|
|
17216
18398
|
# Update properties of this object
|
17217
18399
|
def update!(**args)
|
17218
18400
|
@accept_biz_qos = args[:accept_biz_qos] if args.key?(:accept_biz_qos)
|
18401
|
+
@is_biz = args[:is_biz] if args.key?(:is_biz)
|
17219
18402
|
end
|
17220
18403
|
end
|
17221
18404
|
|
@@ -19208,7 +20391,8 @@ module Google
|
|
19208
20391
|
# A 0-indexed integer that specifies the current offset (that is, starting
|
19209
20392
|
# result location, amongst the Documents deemed by the API as relevant) in
|
19210
20393
|
# search results. This field is only considered if page_token is unset. If this
|
19211
|
-
# field is negative, an `INVALID_ARGUMENT` is returned.
|
20394
|
+
# field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be
|
20395
|
+
# capped to a reasonable threshold.
|
19212
20396
|
# Corresponds to the JSON property `offset`
|
19213
20397
|
# @return [Fixnum]
|
19214
20398
|
attr_accessor :offset
|
@@ -19361,6 +20545,13 @@ module Google
|
|
19361
20545
|
attr_accessor :safe_search
|
19362
20546
|
alias_method :safe_search?, :safe_search
|
19363
20547
|
|
20548
|
+
# SearchAddonSpec is used to disable add-ons for search as per new repricing
|
20549
|
+
# model. By default if the SearchAddonSpec is not specified, we consider that
|
20550
|
+
# the customer wants to enable them wherever applicable.
|
20551
|
+
# Corresponds to the JSON property `searchAddonSpec`
|
20552
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec]
|
20553
|
+
attr_accessor :search_addon_spec
|
20554
|
+
|
19364
20555
|
# Specification for search as you type in search requests.
|
19365
20556
|
# Corresponds to the JSON property `searchAsYouTypeSpec`
|
19366
20557
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec]
|
@@ -19480,6 +20671,7 @@ module Google
|
|
19480
20671
|
@relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
|
19481
20672
|
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
|
19482
20673
|
@safe_search = args[:safe_search] if args.key?(:safe_search)
|
20674
|
+
@search_addon_spec = args[:search_addon_spec] if args.key?(:search_addon_spec)
|
19483
20675
|
@search_as_you_type_spec = args[:search_as_you_type_spec] if args.key?(:search_as_you_type_spec)
|
19484
20676
|
@serving_config = args[:serving_config] if args.key?(:serving_config)
|
19485
20677
|
@session = args[:session] if args.key?(:session)
|
@@ -20292,6 +21484,17 @@ module Google
|
|
20292
21484
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec
|
20293
21485
|
include Google::Apis::Core::Hashable
|
20294
21486
|
|
21487
|
+
# Optional. Allowlist of fields that can be used for natural language filter
|
21488
|
+
# extraction. By default, if this is unspecified, all indexable fields are
|
21489
|
+
# eligible for natural language filter extraction (but are not guaranteed to be
|
21490
|
+
# used). If any fields are specified in allowed_field_names, only the fields
|
21491
|
+
# that are both marked as indexable in the schema and specified in the allowlist
|
21492
|
+
# will be eligible for natural language filter extraction. Note: for multi-
|
21493
|
+
# datastore search, this is not yet supported, and will be ignored.
|
21494
|
+
# Corresponds to the JSON property `allowedFieldNames`
|
21495
|
+
# @return [Array<String>]
|
21496
|
+
attr_accessor :allowed_field_names
|
21497
|
+
|
20295
21498
|
# Optional. Controls behavior of how extracted filters are applied to the search.
|
20296
21499
|
# The default behavior depends on the request. For single datastore structured
|
20297
21500
|
# search, the default is `HARD_FILTER`. For multi-datastore search, the default
|
@@ -20324,6 +21527,7 @@ module Google
|
|
20324
21527
|
|
20325
21528
|
# Update properties of this object
|
20326
21529
|
def update!(**args)
|
21530
|
+
@allowed_field_names = args[:allowed_field_names] if args.key?(:allowed_field_names)
|
20327
21531
|
@extracted_filter_behavior = args[:extracted_filter_behavior] if args.key?(:extracted_filter_behavior)
|
20328
21532
|
@filter_extraction_condition = args[:filter_extraction_condition] if args.key?(:filter_extraction_condition)
|
20329
21533
|
@geo_search_query_detection_field_names = args[:geo_search_query_detection_field_names] if args.key?(:geo_search_query_detection_field_names)
|
@@ -20399,6 +21603,45 @@ module Google
|
|
20399
21603
|
end
|
20400
21604
|
end
|
20401
21605
|
|
21606
|
+
# SearchAddonSpec is used to disable add-ons for search as per new repricing
|
21607
|
+
# model. By default if the SearchAddonSpec is not specified, we consider that
|
21608
|
+
# the customer wants to enable them wherever applicable.
|
21609
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec
|
21610
|
+
include Google::Apis::Core::Hashable
|
21611
|
+
|
21612
|
+
# Optional. If true, generative answer add-on is disabled. Generative answer add-
|
21613
|
+
# on includes natural language to filters and simple answers.
|
21614
|
+
# Corresponds to the JSON property `disableGenerativeAnswerAddOn`
|
21615
|
+
# @return [Boolean]
|
21616
|
+
attr_accessor :disable_generative_answer_add_on
|
21617
|
+
alias_method :disable_generative_answer_add_on?, :disable_generative_answer_add_on
|
21618
|
+
|
21619
|
+
# Optional. If true, disables event re-ranking and personalization to optimize
|
21620
|
+
# KPIs & personalize results.
|
21621
|
+
# Corresponds to the JSON property `disableKpiPersonalizationAddOn`
|
21622
|
+
# @return [Boolean]
|
21623
|
+
attr_accessor :disable_kpi_personalization_add_on
|
21624
|
+
alias_method :disable_kpi_personalization_add_on?, :disable_kpi_personalization_add_on
|
21625
|
+
|
21626
|
+
# Optional. If true, semantic add-on is disabled. Semantic add-on includes
|
21627
|
+
# embeddings and jetstream.
|
21628
|
+
# Corresponds to the JSON property `disableSemanticAddOn`
|
21629
|
+
# @return [Boolean]
|
21630
|
+
attr_accessor :disable_semantic_add_on
|
21631
|
+
alias_method :disable_semantic_add_on?, :disable_semantic_add_on
|
21632
|
+
|
21633
|
+
def initialize(**args)
|
21634
|
+
update!(**args)
|
21635
|
+
end
|
21636
|
+
|
21637
|
+
# Update properties of this object
|
21638
|
+
def update!(**args)
|
21639
|
+
@disable_generative_answer_add_on = args[:disable_generative_answer_add_on] if args.key?(:disable_generative_answer_add_on)
|
21640
|
+
@disable_kpi_personalization_add_on = args[:disable_kpi_personalization_add_on] if args.key?(:disable_kpi_personalization_add_on)
|
21641
|
+
@disable_semantic_add_on = args[:disable_semantic_add_on] if args.key?(:disable_semantic_add_on)
|
21642
|
+
end
|
21643
|
+
end
|
21644
|
+
|
20402
21645
|
# Specification for search as you type in search requests.
|
20403
21646
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec
|
20404
21647
|
include Google::Apis::Core::Hashable
|
@@ -23384,12 +24627,11 @@ module Google
|
|
23384
24627
|
# Search for Documents. * `view-item`: Detailed page view of a Document. * `view-
|
23385
24628
|
# item-list`: View of a panel or ordered list of Documents. * `view-home-page`:
|
23386
24629
|
# View of the home page. * `view-category-page`: View of a category page, e.g.
|
23387
|
-
# Home > Men > Jeans * `add-
|
23388
|
-
#
|
23389
|
-
#
|
23390
|
-
#
|
23391
|
-
#
|
23392
|
-
# * `conversion`: Customer defined conversion event.
|
24630
|
+
# Home > Men > Jeans Retail-related values: * `add-to-cart`: Add an item(s) to
|
24631
|
+
# cart, e.g. in Retail online shopping * `purchase`: Purchase an item(s) Media-
|
24632
|
+
# related values: * `media-play`: Start/resume watching a video, playing a song,
|
24633
|
+
# etc. * `media-complete`: Finished or stopped midway through a video, song, etc.
|
24634
|
+
# Custom conversion value: * `conversion`: Customer defined conversion event.
|
23393
24635
|
# Corresponds to the JSON property `eventType`
|
23394
24636
|
# @return [String]
|
23395
24637
|
attr_accessor :event_type
|
@@ -24410,6 +25652,12 @@ module Google
|
|
24410
25652
|
attr_accessor :enable_autocomplete
|
24411
25653
|
alias_method :enable_autocomplete?, :enable_autocomplete
|
24412
25654
|
|
25655
|
+
# Optional. If set to true, the widget will enable the create agent button.
|
25656
|
+
# Corresponds to the JSON property `enableCreateAgentButton`
|
25657
|
+
# @return [Boolean]
|
25658
|
+
attr_accessor :enable_create_agent_button
|
25659
|
+
alias_method :enable_create_agent_button?, :enable_create_agent_button
|
25660
|
+
|
24413
25661
|
# Optional. If set to true, the widget will enable people search.
|
24414
25662
|
# Corresponds to the JSON property `enablePeopleSearch`
|
24415
25663
|
# @return [Boolean]
|
@@ -24445,7 +25693,8 @@ module Google
|
|
24445
25693
|
# Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery`
|
24446
25694
|
# * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-
|
24447
25695
|
# chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
24448
|
-
# personalization-memory` -
|
25696
|
+
# personalization-memory` * `disable-image-generation` * `disable-video-
|
25697
|
+
# generation` * `disable-onedrive-upload`
|
24449
25698
|
# Corresponds to the JSON property `features`
|
24450
25699
|
# @return [Hash<String,String>]
|
24451
25700
|
attr_accessor :features
|
@@ -24476,6 +25725,7 @@ module Google
|
|
24476
25725
|
@default_search_request_order_by = args[:default_search_request_order_by] if args.key?(:default_search_request_order_by)
|
24477
25726
|
@disable_user_events_collection = args[:disable_user_events_collection] if args.key?(:disable_user_events_collection)
|
24478
25727
|
@enable_autocomplete = args[:enable_autocomplete] if args.key?(:enable_autocomplete)
|
25728
|
+
@enable_create_agent_button = args[:enable_create_agent_button] if args.key?(:enable_create_agent_button)
|
24479
25729
|
@enable_people_search = args[:enable_people_search] if args.key?(:enable_people_search)
|
24480
25730
|
@enable_quality_feedback = args[:enable_quality_feedback] if args.key?(:enable_quality_feedback)
|
24481
25731
|
@enable_safe_search = args[:enable_safe_search] if args.key?(:enable_safe_search)
|
@@ -25461,6 +26711,12 @@ module Google
|
|
25461
26711
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaCmekConfig]
|
25462
26712
|
attr_accessor :cmek_config
|
25463
26713
|
|
26714
|
+
# Optional. Configuration for configurable billing approach. See go/vais-
|
26715
|
+
# repricing-billing-dd for more details, only apply to non-Spark UCS Search.
|
26716
|
+
# Corresponds to the JSON property `configurableBillingApproach`
|
26717
|
+
# @return [String]
|
26718
|
+
attr_accessor :configurable_billing_approach
|
26719
|
+
|
25464
26720
|
# Immutable. The content config of the data store. If this field is unset, the
|
25465
26721
|
# server behavior defaults to ContentConfig.NO_CONTENT.
|
25466
26722
|
# Corresponds to the JSON property `contentConfig`
|
@@ -25574,6 +26830,7 @@ module Google
|
|
25574
26830
|
@advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
|
25575
26831
|
@billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
|
25576
26832
|
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
26833
|
+
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
25577
26834
|
@content_config = args[:content_config] if args.key?(:content_config)
|
25578
26835
|
@create_time = args[:create_time] if args.key?(:create_time)
|
25579
26836
|
@default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
|
@@ -26207,6 +27464,12 @@ module Google
|
|
26207
27464
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaEngineCommonConfig]
|
26208
27465
|
attr_accessor :common_config
|
26209
27466
|
|
27467
|
+
# Optional. Configuration for configurable billing approach. See go/vais-
|
27468
|
+
# repricing-billing-dd for more details.
|
27469
|
+
# Corresponds to the JSON property `configurableBillingApproach`
|
27470
|
+
# @return [String]
|
27471
|
+
attr_accessor :configurable_billing_approach
|
27472
|
+
|
26210
27473
|
# Output only. Timestamp the Recommendation Engine was created at.
|
26211
27474
|
# Corresponds to the JSON property `createTime`
|
26212
27475
|
# @return [String]
|
@@ -26239,7 +27502,8 @@ module Google
|
|
26239
27502
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
26240
27503
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
26241
27504
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
26242
|
-
# personalization-memory` -
|
27505
|
+
# personalization-memory` * `disable-image-generation` * `disable-video-
|
27506
|
+
# generation` * `disable-onedrive-upload`
|
26243
27507
|
# Corresponds to the JSON property `features`
|
26244
27508
|
# @return [Hash<String,String>]
|
26245
27509
|
attr_accessor :features
|
@@ -26290,6 +27554,7 @@ module Google
|
|
26290
27554
|
@chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
|
26291
27555
|
@chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
|
26292
27556
|
@common_config = args[:common_config] if args.key?(:common_config)
|
27557
|
+
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
26293
27558
|
@create_time = args[:create_time] if args.key?(:create_time)
|
26294
27559
|
@data_store_ids = args[:data_store_ids] if args.key?(:data_store_ids)
|
26295
27560
|
@disable_analytics = args[:disable_analytics] if args.key?(:disable_analytics)
|
@@ -27410,6 +28675,11 @@ module Google
|
|
27410
28675
|
# @return [String]
|
27411
28676
|
attr_accessor :create_time
|
27412
28677
|
|
28678
|
+
# Customer provided configurations.
|
28679
|
+
# Corresponds to the JSON property `customerProvidedConfig`
|
28680
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig]
|
28681
|
+
attr_accessor :customer_provided_config
|
28682
|
+
|
27413
28683
|
# Output only. Full resource name of the project, for example `projects/`project`
|
27414
28684
|
# `. Note that when making requests, project number and project id are both
|
27415
28685
|
# acceptable, but the server will always respond in project number.
|
@@ -27435,12 +28705,84 @@ module Google
|
|
27435
28705
|
# Update properties of this object
|
27436
28706
|
def update!(**args)
|
27437
28707
|
@create_time = args[:create_time] if args.key?(:create_time)
|
28708
|
+
@customer_provided_config = args[:customer_provided_config] if args.key?(:customer_provided_config)
|
27438
28709
|
@name = args[:name] if args.key?(:name)
|
27439
28710
|
@provision_completion_time = args[:provision_completion_time] if args.key?(:provision_completion_time)
|
27440
28711
|
@service_terms_map = args[:service_terms_map] if args.key?(:service_terms_map)
|
27441
28712
|
end
|
27442
28713
|
end
|
27443
28714
|
|
28715
|
+
# Customer provided configurations.
|
28716
|
+
class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig
|
28717
|
+
include Google::Apis::Core::Hashable
|
28718
|
+
|
28719
|
+
# Configuration for NotebookLM.
|
28720
|
+
# Corresponds to the JSON property `notebooklmConfig`
|
28721
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig]
|
28722
|
+
attr_accessor :notebooklm_config
|
28723
|
+
|
28724
|
+
def initialize(**args)
|
28725
|
+
update!(**args)
|
28726
|
+
end
|
28727
|
+
|
28728
|
+
# Update properties of this object
|
28729
|
+
def update!(**args)
|
28730
|
+
@notebooklm_config = args[:notebooklm_config] if args.key?(:notebooklm_config)
|
28731
|
+
end
|
28732
|
+
end
|
28733
|
+
|
28734
|
+
# Configuration for NotebookLM.
|
28735
|
+
class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig
|
28736
|
+
include Google::Apis::Core::Hashable
|
28737
|
+
|
28738
|
+
# Configuration for customer defined Model Armor templates to be used for
|
28739
|
+
# sanitizing user prompts and LLM responses.
|
28740
|
+
# Corresponds to the JSON property `modelArmorConfig`
|
28741
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
|
28742
|
+
attr_accessor :model_armor_config
|
28743
|
+
|
28744
|
+
def initialize(**args)
|
28745
|
+
update!(**args)
|
28746
|
+
end
|
28747
|
+
|
28748
|
+
# Update properties of this object
|
28749
|
+
def update!(**args)
|
28750
|
+
@model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
|
28751
|
+
end
|
28752
|
+
end
|
28753
|
+
|
28754
|
+
# Configuration for customer defined Model Armor templates to be used for
|
28755
|
+
# sanitizing user prompts and LLM responses.
|
28756
|
+
class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig
|
28757
|
+
include Google::Apis::Core::Hashable
|
28758
|
+
|
28759
|
+
# Optional. The resource name of the Model Armor Template for sanitizing LLM
|
28760
|
+
# responses. Format: projects/`project`/locations/`location`/templates/`
|
28761
|
+
# template_id` If not specified, no sanitization will be applied to the LLM
|
28762
|
+
# response.
|
28763
|
+
# Corresponds to the JSON property `responseTemplate`
|
28764
|
+
# @return [String]
|
28765
|
+
attr_accessor :response_template
|
28766
|
+
|
28767
|
+
# Optional. The resource name of the Model Armor Template for sanitizing user
|
28768
|
+
# prompts. Format: projects/`project`/locations/`location`/templates/`
|
28769
|
+
# template_id` If not specified, no sanitization will be applied to the user
|
28770
|
+
# prompt.
|
28771
|
+
# Corresponds to the JSON property `userPromptTemplate`
|
28772
|
+
# @return [String]
|
28773
|
+
attr_accessor :user_prompt_template
|
28774
|
+
|
28775
|
+
def initialize(**args)
|
28776
|
+
update!(**args)
|
28777
|
+
end
|
28778
|
+
|
28779
|
+
# Update properties of this object
|
28780
|
+
def update!(**args)
|
28781
|
+
@response_template = args[:response_template] if args.key?(:response_template)
|
28782
|
+
@user_prompt_template = args[:user_prompt_template] if args.key?(:user_prompt_template)
|
28783
|
+
end
|
28784
|
+
end
|
28785
|
+
|
27444
28786
|
# Metadata about the terms of service.
|
27445
28787
|
class GoogleCloudDiscoveryengineV1betaProjectServiceTerms
|
27446
28788
|
include Google::Apis::Core::Hashable
|
@@ -27955,7 +29297,8 @@ module Google
|
|
27955
29297
|
# A 0-indexed integer that specifies the current offset (that is, starting
|
27956
29298
|
# result location, amongst the Documents deemed by the API as relevant) in
|
27957
29299
|
# search results. This field is only considered if page_token is unset. If this
|
27958
|
-
# field is negative, an `INVALID_ARGUMENT` is returned.
|
29300
|
+
# field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be
|
29301
|
+
# capped to a reasonable threshold.
|
27959
29302
|
# Corresponds to the JSON property `offset`
|
27960
29303
|
# @return [Fixnum]
|
27961
29304
|
attr_accessor :offset
|
@@ -28108,6 +29451,13 @@ module Google
|
|
28108
29451
|
attr_accessor :safe_search
|
28109
29452
|
alias_method :safe_search?, :safe_search
|
28110
29453
|
|
29454
|
+
# SearchAddonSpec is used to disable add-ons for search as per new repricing
|
29455
|
+
# model. By default if the SearchAddonSpec is not specified, we consider that
|
29456
|
+
# the customer wants to enable them wherever applicable.
|
29457
|
+
# Corresponds to the JSON property `searchAddonSpec`
|
29458
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec]
|
29459
|
+
attr_accessor :search_addon_spec
|
29460
|
+
|
28111
29461
|
# Specification for search as you type in search requests.
|
28112
29462
|
# Corresponds to the JSON property `searchAsYouTypeSpec`
|
28113
29463
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec]
|
@@ -28217,6 +29567,7 @@ module Google
|
|
28217
29567
|
@relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
|
28218
29568
|
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
|
28219
29569
|
@safe_search = args[:safe_search] if args.key?(:safe_search)
|
29570
|
+
@search_addon_spec = args[:search_addon_spec] if args.key?(:search_addon_spec)
|
28220
29571
|
@search_as_you_type_spec = args[:search_as_you_type_spec] if args.key?(:search_as_you_type_spec)
|
28221
29572
|
@serving_config = args[:serving_config] if args.key?(:serving_config)
|
28222
29573
|
@session = args[:session] if args.key?(:session)
|
@@ -29028,6 +30379,17 @@ module Google
|
|
29028
30379
|
class GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec
|
29029
30380
|
include Google::Apis::Core::Hashable
|
29030
30381
|
|
30382
|
+
# Optional. Allowlist of fields that can be used for natural language filter
|
30383
|
+
# extraction. By default, if this is unspecified, all indexable fields are
|
30384
|
+
# eligible for natural language filter extraction (but are not guaranteed to be
|
30385
|
+
# used). If any fields are specified in allowed_field_names, only the fields
|
30386
|
+
# that are both marked as indexable in the schema and specified in the allowlist
|
30387
|
+
# will be eligible for natural language filter extraction. Note: for multi-
|
30388
|
+
# datastore search, this is not yet supported, and will be ignored.
|
30389
|
+
# Corresponds to the JSON property `allowedFieldNames`
|
30390
|
+
# @return [Array<String>]
|
30391
|
+
attr_accessor :allowed_field_names
|
30392
|
+
|
29031
30393
|
# Optional. Controls behavior of how extracted filters are applied to the search.
|
29032
30394
|
# The default behavior depends on the request. For single datastore structured
|
29033
30395
|
# search, the default is `HARD_FILTER`. For multi-datastore search, the default
|
@@ -29060,6 +30422,7 @@ module Google
|
|
29060
30422
|
|
29061
30423
|
# Update properties of this object
|
29062
30424
|
def update!(**args)
|
30425
|
+
@allowed_field_names = args[:allowed_field_names] if args.key?(:allowed_field_names)
|
29063
30426
|
@extracted_filter_behavior = args[:extracted_filter_behavior] if args.key?(:extracted_filter_behavior)
|
29064
30427
|
@filter_extraction_condition = args[:filter_extraction_condition] if args.key?(:filter_extraction_condition)
|
29065
30428
|
@geo_search_query_detection_field_names = args[:geo_search_query_detection_field_names] if args.key?(:geo_search_query_detection_field_names)
|
@@ -29135,6 +30498,45 @@ module Google
|
|
29135
30498
|
end
|
29136
30499
|
end
|
29137
30500
|
|
30501
|
+
# SearchAddonSpec is used to disable add-ons for search as per new repricing
|
30502
|
+
# model. By default if the SearchAddonSpec is not specified, we consider that
|
30503
|
+
# the customer wants to enable them wherever applicable.
|
30504
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec
|
30505
|
+
include Google::Apis::Core::Hashable
|
30506
|
+
|
30507
|
+
# Optional. If true, generative answer add-on is disabled. Generative answer add-
|
30508
|
+
# on includes natural language to filters and simple answers.
|
30509
|
+
# Corresponds to the JSON property `disableGenerativeAnswerAddOn`
|
30510
|
+
# @return [Boolean]
|
30511
|
+
attr_accessor :disable_generative_answer_add_on
|
30512
|
+
alias_method :disable_generative_answer_add_on?, :disable_generative_answer_add_on
|
30513
|
+
|
30514
|
+
# Optional. If true, disables event re-ranking and personalization to optimize
|
30515
|
+
# KPIs & personalize results.
|
30516
|
+
# Corresponds to the JSON property `disableKpiPersonalizationAddOn`
|
30517
|
+
# @return [Boolean]
|
30518
|
+
attr_accessor :disable_kpi_personalization_add_on
|
30519
|
+
alias_method :disable_kpi_personalization_add_on?, :disable_kpi_personalization_add_on
|
30520
|
+
|
30521
|
+
# Optional. If true, semantic add-on is disabled. Semantic add-on includes
|
30522
|
+
# embeddings and jetstream.
|
30523
|
+
# Corresponds to the JSON property `disableSemanticAddOn`
|
30524
|
+
# @return [Boolean]
|
30525
|
+
attr_accessor :disable_semantic_add_on
|
30526
|
+
alias_method :disable_semantic_add_on?, :disable_semantic_add_on
|
30527
|
+
|
30528
|
+
def initialize(**args)
|
30529
|
+
update!(**args)
|
30530
|
+
end
|
30531
|
+
|
30532
|
+
# Update properties of this object
|
30533
|
+
def update!(**args)
|
30534
|
+
@disable_generative_answer_add_on = args[:disable_generative_answer_add_on] if args.key?(:disable_generative_answer_add_on)
|
30535
|
+
@disable_kpi_personalization_add_on = args[:disable_kpi_personalization_add_on] if args.key?(:disable_kpi_personalization_add_on)
|
30536
|
+
@disable_semantic_add_on = args[:disable_semantic_add_on] if args.key?(:disable_semantic_add_on)
|
30537
|
+
end
|
30538
|
+
end
|
30539
|
+
|
29138
30540
|
# Specification for search as you type in search requests.
|
29139
30541
|
class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec
|
29140
30542
|
include Google::Apis::Core::Hashable
|
@@ -29840,18 +31242,16 @@ module Google
|
|
29840
31242
|
class GoogleCloudNotebooklmV1alphaAudioOverview
|
29841
31243
|
include Google::Apis::Core::Hashable
|
29842
31244
|
|
29843
|
-
# The audio overview in wav format. This is only present if the status is
|
29844
|
-
# AUDIO_OVERVIEW_STATUS_COMPLETE.
|
29845
|
-
# Corresponds to the JSON property `audio`
|
29846
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
29847
|
-
# @return [String]
|
29848
|
-
attr_accessor :audio
|
29849
|
-
|
29850
31245
|
# Output only. Unique ID of the audio overview.
|
29851
31246
|
# Corresponds to the JSON property `audioOverviewId`
|
29852
31247
|
# @return [String]
|
29853
31248
|
attr_accessor :audio_overview_id
|
29854
31249
|
|
31250
|
+
# Options used during audio overview generation.
|
31251
|
+
# Corresponds to the JSON property `generationOptions`
|
31252
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaAudioOverviewGenerationOptions]
|
31253
|
+
attr_accessor :generation_options
|
31254
|
+
|
29855
31255
|
# The language code of the generated audio overview. Use the BCP 47 language
|
29856
31256
|
# code (e.g. "en", "es", "hi", etc.).
|
29857
31257
|
# Corresponds to the JSON property `languageCode`
|
@@ -29871,11 +31271,6 @@ module Google
|
|
29871
31271
|
# @return [String]
|
29872
31272
|
attr_accessor :name
|
29873
31273
|
|
29874
|
-
# The url used to play the audio overview.
|
29875
|
-
# Corresponds to the JSON property `playbackUrl`
|
29876
|
-
# @return [String]
|
29877
|
-
attr_accessor :playback_url
|
29878
|
-
|
29879
31274
|
# The status of the audio overview.
|
29880
31275
|
# Corresponds to the JSON property `status`
|
29881
31276
|
# @return [String]
|
@@ -29887,12 +31282,11 @@ module Google
|
|
29887
31282
|
|
29888
31283
|
# Update properties of this object
|
29889
31284
|
def update!(**args)
|
29890
|
-
@audio = args[:audio] if args.key?(:audio)
|
29891
31285
|
@audio_overview_id = args[:audio_overview_id] if args.key?(:audio_overview_id)
|
31286
|
+
@generation_options = args[:generation_options] if args.key?(:generation_options)
|
29892
31287
|
@language_code = args[:language_code] if args.key?(:language_code)
|
29893
31288
|
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
29894
31289
|
@name = args[:name] if args.key?(:name)
|
29895
|
-
@playback_url = args[:playback_url] if args.key?(:playback_url)
|
29896
31290
|
@status = args[:status] if args.key?(:status)
|
29897
31291
|
end
|
29898
31292
|
end
|
@@ -30841,17 +32235,22 @@ module Google
|
|
30841
32235
|
class GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent
|
30842
32236
|
include Google::Apis::Core::Hashable
|
30843
32237
|
|
30844
|
-
# Optional. The full
|
32238
|
+
# Optional. The full resource name of the Agentspace document. Format: `projects/
|
32239
|
+
# `project`/locations/`location`/collections/`collection`/dataStores/`data_store`
|
32240
|
+
# /branches/`branch`/documents/`document_id``.
|
30845
32241
|
# Corresponds to the JSON property `documentName`
|
30846
32242
|
# @return [String]
|
30847
32243
|
attr_accessor :document_name
|
30848
32244
|
|
30849
|
-
# Optional. Engine to verify the permission of the document.
|
32245
|
+
# Optional. Engine to verify the permission of the document. Format: `projects/`
|
32246
|
+
# project`/locations/`location`/collections/`collection`/engines/`engine``.
|
30850
32247
|
# Corresponds to the JSON property `engineName`
|
30851
32248
|
# @return [String]
|
30852
32249
|
attr_accessor :engine_name
|
30853
32250
|
|
30854
|
-
# Optional.
|
32251
|
+
# Optional. Resource name of the idea forge instance. Format: `projects/`project`
|
32252
|
+
# /locations/`location`/collections/`collection`/engines/`engine`/sessions/`
|
32253
|
+
# session`/ideaForgeInstances/`instance``
|
30855
32254
|
# Corresponds to the JSON property `ideaforgeIdeaName`
|
30856
32255
|
# @return [String]
|
30857
32256
|
attr_accessor :ideaforge_idea_name
|
@@ -31023,6 +32422,13 @@ module Google
|
|
31023
32422
|
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation>]
|
31024
32423
|
attr_accessor :operations
|
31025
32424
|
|
32425
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
32426
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
32427
|
+
# when attempting to list all resources across all supported locations.
|
32428
|
+
# Corresponds to the JSON property `unreachable`
|
32429
|
+
# @return [Array<String>]
|
32430
|
+
attr_accessor :unreachable
|
32431
|
+
|
31026
32432
|
def initialize(**args)
|
31027
32433
|
update!(**args)
|
31028
32434
|
end
|
@@ -31031,6 +32437,7 @@ module Google
|
|
31031
32437
|
def update!(**args)
|
31032
32438
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
31033
32439
|
@operations = args[:operations] if args.key?(:operations)
|
32440
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
31034
32441
|
end
|
31035
32442
|
end
|
31036
32443
|
|