google-apis-discoveryengine_v1alpha 0.76.0 → 0.77.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 +4 -0
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +1336 -97
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +484 -2
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +87 -0
- 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,55 @@ 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
|
+
# Required. Params needed to support actions in the format of (Key, Value) pairs.
|
1681
|
+
# Required parameters for sources that support OAUTH, i.e. `gmail`, `
|
1682
|
+
# google_calendar`, `jira`, `workday`, `salesforce`, `confluence`: * Key: `
|
1683
|
+
# client_id` * Value: type STRING. The client ID for the service provider to
|
1684
|
+
# identify your application. * Key: `client_secret` * Value:type STRING. The
|
1685
|
+
# client secret generated by the application's authorization server.
|
1686
|
+
# Corresponds to the JSON property `actionParams`
|
1687
|
+
# @return [Hash<String,Object>]
|
1688
|
+
attr_accessor :action_params
|
1689
|
+
|
1690
|
+
# Output only. The connector contains the necessary parameters and is configured
|
1691
|
+
# to support actions.
|
1692
|
+
# Corresponds to the JSON property `isActionConfigured`
|
1693
|
+
# @return [Boolean]
|
1694
|
+
attr_accessor :is_action_configured
|
1695
|
+
alias_method :is_action_configured?, :is_action_configured
|
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
|
+
@service_name = args[:service_name] if args.key?(:service_name)
|
1721
|
+
@use_static_secrets = args[:use_static_secrets] if args.key?(:use_static_secrets)
|
1722
|
+
end
|
1723
|
+
end
|
1724
|
+
|
1668
1725
|
# Configuration data for advance site search.
|
1669
1726
|
class GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig
|
1670
1727
|
include Google::Apis::Core::Hashable
|
@@ -1692,6 +1749,56 @@ module Google
|
|
1692
1749
|
end
|
1693
1750
|
end
|
1694
1751
|
|
1752
|
+
# The connector level alert config.
|
1753
|
+
class GoogleCloudDiscoveryengineV1AlertPolicyConfig
|
1754
|
+
include Google::Apis::Core::Hashable
|
1755
|
+
|
1756
|
+
# Optional. The enrollment states of each alert.
|
1757
|
+
# Corresponds to the JSON property `alertEnrollments`
|
1758
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment>]
|
1759
|
+
attr_accessor :alert_enrollments
|
1760
|
+
|
1761
|
+
# Immutable. The fully qualified resource name of the AlertPolicy.
|
1762
|
+
# Corresponds to the JSON property `alertPolicyName`
|
1763
|
+
# @return [String]
|
1764
|
+
attr_accessor :alert_policy_name
|
1765
|
+
|
1766
|
+
def initialize(**args)
|
1767
|
+
update!(**args)
|
1768
|
+
end
|
1769
|
+
|
1770
|
+
# Update properties of this object
|
1771
|
+
def update!(**args)
|
1772
|
+
@alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
|
1773
|
+
@alert_policy_name = args[:alert_policy_name] if args.key?(:alert_policy_name)
|
1774
|
+
end
|
1775
|
+
end
|
1776
|
+
|
1777
|
+
# The alert enrollment status.
|
1778
|
+
class GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment
|
1779
|
+
include Google::Apis::Core::Hashable
|
1780
|
+
|
1781
|
+
# Immutable. The id of an alert.
|
1782
|
+
# Corresponds to the JSON property `alertId`
|
1783
|
+
# @return [String]
|
1784
|
+
attr_accessor :alert_id
|
1785
|
+
|
1786
|
+
# Required. The enrollment status of a customer.
|
1787
|
+
# Corresponds to the JSON property `enrollState`
|
1788
|
+
# @return [String]
|
1789
|
+
attr_accessor :enroll_state
|
1790
|
+
|
1791
|
+
def initialize(**args)
|
1792
|
+
update!(**args)
|
1793
|
+
end
|
1794
|
+
|
1795
|
+
# Update properties of this object
|
1796
|
+
def update!(**args)
|
1797
|
+
@alert_id = args[:alert_id] if args.key?(:alert_id)
|
1798
|
+
@enroll_state = args[:enroll_state] if args.key?(:enroll_state)
|
1799
|
+
end
|
1800
|
+
end
|
1801
|
+
|
1695
1802
|
# The specification for answer generation.
|
1696
1803
|
class GoogleCloudDiscoveryengineV1AnswerGenerationSpec
|
1697
1804
|
include Google::Apis::Core::Hashable
|
@@ -2018,6 +2125,25 @@ module Google
|
|
2018
2125
|
end
|
2019
2126
|
end
|
2020
2127
|
|
2128
|
+
# The configuration for the BAP connector.
|
2129
|
+
class GoogleCloudDiscoveryengineV1BapConfig
|
2130
|
+
include Google::Apis::Core::Hashable
|
2131
|
+
|
2132
|
+
# Required. The supported connector modes for the associated BAP connection.
|
2133
|
+
# Corresponds to the JSON property `supportedConnectorModes`
|
2134
|
+
# @return [Array<String>]
|
2135
|
+
attr_accessor :supported_connector_modes
|
2136
|
+
|
2137
|
+
def initialize(**args)
|
2138
|
+
update!(**args)
|
2139
|
+
end
|
2140
|
+
|
2141
|
+
# Update properties of this object
|
2142
|
+
def update!(**args)
|
2143
|
+
@supported_connector_modes = args[:supported_connector_modes] if args.key?(:supported_connector_modes)
|
2144
|
+
end
|
2145
|
+
end
|
2146
|
+
|
2021
2147
|
# Metadata related to the progress of the SiteSearchEngineService.
|
2022
2148
|
# BatchCreateTargetSites operation. This will be returned by the google.
|
2023
2149
|
# longrunning.Operation.metadata field.
|
@@ -2196,6 +2322,42 @@ module Google
|
|
2196
2322
|
end
|
2197
2323
|
end
|
2198
2324
|
|
2325
|
+
# Collection is a container for configuring resources and access to a set of
|
2326
|
+
# DataStores.
|
2327
|
+
class GoogleCloudDiscoveryengineV1Collection
|
2328
|
+
include Google::Apis::Core::Hashable
|
2329
|
+
|
2330
|
+
# Output only. Timestamp the Collection was created at.
|
2331
|
+
# Corresponds to the JSON property `createTime`
|
2332
|
+
# @return [String]
|
2333
|
+
attr_accessor :create_time
|
2334
|
+
|
2335
|
+
# Required. The Collection display name. This field must be a UTF-8 encoded
|
2336
|
+
# string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT
|
2337
|
+
# error is returned.
|
2338
|
+
# Corresponds to the JSON property `displayName`
|
2339
|
+
# @return [String]
|
2340
|
+
attr_accessor :display_name
|
2341
|
+
|
2342
|
+
# Immutable. The full resource name of the Collection. Format: `projects/`
|
2343
|
+
# project`/locations/`location`/collections/`collection_id``. This field must be
|
2344
|
+
# a UTF-8 encoded string with a length limit of 1024 characters.
|
2345
|
+
# Corresponds to the JSON property `name`
|
2346
|
+
# @return [String]
|
2347
|
+
attr_accessor :name
|
2348
|
+
|
2349
|
+
def initialize(**args)
|
2350
|
+
update!(**args)
|
2351
|
+
end
|
2352
|
+
|
2353
|
+
# Update properties of this object
|
2354
|
+
def update!(**args)
|
2355
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2356
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
2357
|
+
@name = args[:name] if args.key?(:name)
|
2358
|
+
end
|
2359
|
+
end
|
2360
|
+
|
2199
2361
|
# Defines circumstances to be checked before allowing a behavior
|
2200
2362
|
class GoogleCloudDiscoveryengineV1Condition
|
2201
2363
|
include Google::Apis::Core::Hashable
|
@@ -2746,65 +2908,568 @@ module Google
|
|
2746
2908
|
end
|
2747
2909
|
end
|
2748
2910
|
|
2749
|
-
#
|
2750
|
-
|
2911
|
+
# Manages the connection to external data sources for all data stores grouped
|
2912
|
+
# under a Collection. It's a singleton resource of Collection. The
|
2913
|
+
# initialization is only supported through DataConnectorService.
|
2914
|
+
# SetUpDataConnector method, which will create a new Collection and initialize
|
2915
|
+
# its DataConnector.
|
2916
|
+
class GoogleCloudDiscoveryengineV1DataConnector
|
2751
2917
|
include Google::Apis::Core::Hashable
|
2752
2918
|
|
2753
|
-
#
|
2754
|
-
#
|
2755
|
-
# DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore,
|
2756
|
-
# Document can't be accessed by calling DocumentService.GetDocument or
|
2757
|
-
# DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC`
|
2758
|
-
# industry vertical with non-`PUBLIC_WEBSITE` content config.
|
2919
|
+
# Optional. Whether the connector will be created with an ACL config. Currently
|
2920
|
+
# this field only affects Cloud Storage and BigQuery connectors.
|
2759
2921
|
# Corresponds to the JSON property `aclEnabled`
|
2760
2922
|
# @return [Boolean]
|
2761
2923
|
attr_accessor :acl_enabled
|
2762
2924
|
alias_method :acl_enabled?, :acl_enabled
|
2763
2925
|
|
2764
|
-
#
|
2765
|
-
# Corresponds to the JSON property `
|
2766
|
-
# @return [Google::Apis::DiscoveryengineV1alpha::
|
2767
|
-
attr_accessor :
|
2926
|
+
# Informations to support actions on the connector.
|
2927
|
+
# Corresponds to the JSON property `actionConfig`
|
2928
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1ActionConfig]
|
2929
|
+
attr_accessor :action_config
|
2768
2930
|
|
2769
|
-
#
|
2770
|
-
#
|
2771
|
-
#
|
2772
|
-
|
2931
|
+
# Output only. State of the action connector. This reflects whether the action
|
2932
|
+
# connector is initializing, active or has encountered errors.
|
2933
|
+
# Corresponds to the JSON property `actionState`
|
2934
|
+
# @return [String]
|
2935
|
+
attr_accessor :action_state
|
2773
2936
|
|
2774
|
-
#
|
2775
|
-
# Corresponds to the JSON property `
|
2776
|
-
# @return [Google::Apis::DiscoveryengineV1alpha::
|
2777
|
-
attr_accessor :
|
2937
|
+
# Optional. The connector level alert config.
|
2938
|
+
# Corresponds to the JSON property `alertPolicyConfigs`
|
2939
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AlertPolicyConfig>]
|
2940
|
+
attr_accessor :alert_policy_configs
|
2778
2941
|
|
2779
|
-
#
|
2780
|
-
#
|
2781
|
-
#
|
2942
|
+
# Optional. Indicates whether the connector is disabled for auto run. It can be
|
2943
|
+
# used to pause periodical and real time sync. Update: with the introduction of
|
2944
|
+
# incremental_sync_disabled, auto_run_disabled is used to pause/disable only
|
2945
|
+
# full syncs
|
2946
|
+
# Corresponds to the JSON property `autoRunDisabled`
|
2947
|
+
# @return [Boolean]
|
2948
|
+
attr_accessor :auto_run_disabled
|
2949
|
+
alias_method :auto_run_disabled?, :auto_run_disabled
|
2950
|
+
|
2951
|
+
# The configuration for the BAP connector.
|
2952
|
+
# Corresponds to the JSON property `bapConfig`
|
2953
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1BapConfig]
|
2954
|
+
attr_accessor :bap_config
|
2955
|
+
|
2956
|
+
# Output only. User actions that must be completed before the connector can
|
2957
|
+
# start syncing data.
|
2958
|
+
# Corresponds to the JSON property `blockingReasons`
|
2959
|
+
# @return [Array<String>]
|
2960
|
+
attr_accessor :blocking_reasons
|
2961
|
+
|
2962
|
+
# Optional. The modes enabled for this connector. Default state is
|
2963
|
+
# CONNECTOR_MODE_UNSPECIFIED.
|
2964
|
+
# Corresponds to the JSON property `connectorModes`
|
2965
|
+
# @return [Array<String>]
|
2966
|
+
attr_accessor :connector_modes
|
2967
|
+
|
2968
|
+
# Output only. The type of connector. Each source can only map to one type. For
|
2969
|
+
# example, salesforce, confluence and jira have THIRD_PARTY connector type. It
|
2970
|
+
# is not mutable once set by system.
|
2971
|
+
# Corresponds to the JSON property `connectorType`
|
2782
2972
|
# @return [String]
|
2783
|
-
attr_accessor :
|
2973
|
+
attr_accessor :connector_type
|
2784
2974
|
|
2785
|
-
#
|
2975
|
+
# Optional. Whether the END USER AUTHENTICATION connector is created in SaaS.
|
2976
|
+
# Corresponds to the JSON property `createEuaSaas`
|
2977
|
+
# @return [Boolean]
|
2978
|
+
attr_accessor :create_eua_saas
|
2979
|
+
alias_method :create_eua_saas?, :create_eua_saas
|
2980
|
+
|
2981
|
+
# Output only. Timestamp the DataConnector was created at.
|
2786
2982
|
# Corresponds to the JSON property `createTime`
|
2787
2983
|
# @return [String]
|
2788
2984
|
attr_accessor :create_time
|
2789
2985
|
|
2790
|
-
#
|
2791
|
-
#
|
2986
|
+
# Required. The name of the data source. Supported values: `salesforce`, `jira`,
|
2987
|
+
# `confluence`, `bigquery`.
|
2988
|
+
# Corresponds to the JSON property `dataSource`
|
2792
2989
|
# @return [String]
|
2793
|
-
attr_accessor :
|
2990
|
+
attr_accessor :data_source
|
2794
2991
|
|
2795
|
-
#
|
2796
|
-
#
|
2797
|
-
#
|
2798
|
-
|
2799
|
-
# @return [String]
|
2800
|
-
attr_accessor :display_name
|
2992
|
+
# Optional. Any target destinations used to connect to third-party services.
|
2993
|
+
# Corresponds to the JSON property `destinationConfigs`
|
2994
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DestinationConfig>]
|
2995
|
+
attr_accessor :destination_configs
|
2801
2996
|
|
2802
|
-
#
|
2803
|
-
#
|
2804
|
-
#
|
2805
|
-
|
2806
|
-
|
2807
|
-
|
2997
|
+
# Any params and credentials used specifically for EUA connectors.
|
2998
|
+
# Corresponds to the JSON property `endUserConfig`
|
2999
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig]
|
3000
|
+
attr_accessor :end_user_config
|
3001
|
+
|
3002
|
+
# List of entities from the connected data source to ingest.
|
3003
|
+
# Corresponds to the JSON property `entities`
|
3004
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataConnectorSourceEntity>]
|
3005
|
+
attr_accessor :entities
|
3006
|
+
|
3007
|
+
# Output only. The errors from initialization or from the latest connector run.
|
3008
|
+
# Corresponds to the JSON property `errors`
|
3009
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus>]
|
3010
|
+
attr_accessor :errors
|
3011
|
+
|
3012
|
+
# Any params and credentials used specifically for hybrid connectors supporting
|
3013
|
+
# FEDERATED mode.
|
3014
|
+
# Corresponds to the JSON property `federatedConfig`
|
3015
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig]
|
3016
|
+
attr_accessor :federated_config
|
3017
|
+
|
3018
|
+
# Optional. If the connector is a hybrid connector, determines whether ingestion
|
3019
|
+
# is enabled and appropriate resources are provisioned during connector creation.
|
3020
|
+
# If the connector is not a hybrid connector, this field is ignored.
|
3021
|
+
# Corresponds to the JSON property `hybridIngestionDisabled`
|
3022
|
+
# @return [Boolean]
|
3023
|
+
attr_accessor :hybrid_ingestion_disabled
|
3024
|
+
alias_method :hybrid_ingestion_disabled?, :hybrid_ingestion_disabled
|
3025
|
+
|
3026
|
+
# The refresh interval to sync the Access Control List information for the
|
3027
|
+
# documents ingested by this connector. If not set, the access control list will
|
3028
|
+
# be refreshed at the default interval of 30 minutes. The identity refresh
|
3029
|
+
# interval can be at least 30 minutes and at most 7 days.
|
3030
|
+
# Corresponds to the JSON property `identityRefreshInterval`
|
3031
|
+
# @return [String]
|
3032
|
+
attr_accessor :identity_refresh_interval
|
3033
|
+
|
3034
|
+
# The configuration for the identity data synchronization runs.
|
3035
|
+
# Corresponds to the JSON property `identityScheduleConfig`
|
3036
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1IdentityScheduleConfig]
|
3037
|
+
attr_accessor :identity_schedule_config
|
3038
|
+
|
3039
|
+
# Optional. The refresh interval specifically for incremental data syncs. If
|
3040
|
+
# unset, incremental syncs will use the default from env, set to 3hrs. The
|
3041
|
+
# minimum is 30 minutes and maximum is 7 days. Applicable to only 3P connectors.
|
3042
|
+
# When the refresh interval is set to the same value as the incremental refresh
|
3043
|
+
# interval, incremental sync will be disabled.
|
3044
|
+
# Corresponds to the JSON property `incrementalRefreshInterval`
|
3045
|
+
# @return [String]
|
3046
|
+
attr_accessor :incremental_refresh_interval
|
3047
|
+
|
3048
|
+
# Optional. Indicates whether incremental syncs are paused for this connector.
|
3049
|
+
# This is independent of auto_run_disabled. Applicable to only 3P connectors.
|
3050
|
+
# When the refresh interval is set to the same value as the incremental refresh
|
3051
|
+
# interval, incremental sync will be disabled, i.e. set to true.
|
3052
|
+
# Corresponds to the JSON property `incrementalSyncDisabled`
|
3053
|
+
# @return [Boolean]
|
3054
|
+
attr_accessor :incremental_sync_disabled
|
3055
|
+
alias_method :incremental_sync_disabled?, :incremental_sync_disabled
|
3056
|
+
|
3057
|
+
# Required data connector parameters in json string format.
|
3058
|
+
# Corresponds to the JSON property `jsonParams`
|
3059
|
+
# @return [String]
|
3060
|
+
attr_accessor :json_params
|
3061
|
+
|
3062
|
+
# Input only. The KMS key to be used to protect the DataStores managed by this
|
3063
|
+
# connector. Must be set for requests that need to comply with CMEK Org Policy
|
3064
|
+
# protections. If this field is set and processed successfully, the DataStores
|
3065
|
+
# created by this connector will be protected by the KMS key.
|
3066
|
+
# Corresponds to the JSON property `kmsKeyName`
|
3067
|
+
# @return [String]
|
3068
|
+
attr_accessor :kms_key_name
|
3069
|
+
|
3070
|
+
# Output only. For periodic connectors only, the last time a data sync was
|
3071
|
+
# completed.
|
3072
|
+
# Corresponds to the JSON property `lastSyncTime`
|
3073
|
+
# @return [String]
|
3074
|
+
attr_accessor :last_sync_time
|
3075
|
+
|
3076
|
+
# Output only. The most recent timestamp when this DataConnector was paused,
|
3077
|
+
# affecting all functionalities such as data synchronization. Pausing a
|
3078
|
+
# connector has the following effects: - All functionalities, including data
|
3079
|
+
# synchronization, are halted. - Any ongoing data synchronization job will be
|
3080
|
+
# canceled. - No future data synchronization runs will be scheduled nor can be
|
3081
|
+
# triggered.
|
3082
|
+
# Corresponds to the JSON property `latestPauseTime`
|
3083
|
+
# @return [String]
|
3084
|
+
attr_accessor :latest_pause_time
|
3085
|
+
|
3086
|
+
# Output only. The full resource name of the Data Connector. Format: `projects/*/
|
3087
|
+
# locations/*/collections/*/dataConnector`.
|
3088
|
+
# Corresponds to the JSON property `name`
|
3089
|
+
# @return [String]
|
3090
|
+
attr_accessor :name
|
3091
|
+
|
3092
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
3093
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
3094
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
3095
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
3096
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
3097
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
3098
|
+
# relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
|
3099
|
+
# the DateTime is considered not to have a specific year, month, or day
|
3100
|
+
# respectively. This type may also be used to represent a physical time if all
|
3101
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
3102
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
3103
|
+
# case also would like to store the user's timezone, that can be done in another
|
3104
|
+
# field. This type is more flexible than some applications may want. Make sure
|
3105
|
+
# to document and validate your application's limitations.
|
3106
|
+
# Corresponds to the JSON property `nextSyncTime`
|
3107
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleTypeDateTime]
|
3108
|
+
attr_accessor :next_sync_time
|
3109
|
+
|
3110
|
+
# Required data connector parameters in structured json format.
|
3111
|
+
# Corresponds to the JSON property `params`
|
3112
|
+
# @return [Hash<String,Object>]
|
3113
|
+
attr_accessor :params
|
3114
|
+
|
3115
|
+
# Output only. The tenant project ID associated with private connectivity
|
3116
|
+
# connectors. This project must be allowlisted by in order for the connector to
|
3117
|
+
# function.
|
3118
|
+
# Corresponds to the JSON property `privateConnectivityProjectId`
|
3119
|
+
# @return [String]
|
3120
|
+
attr_accessor :private_connectivity_project_id
|
3121
|
+
|
3122
|
+
# Output only. real-time sync state
|
3123
|
+
# Corresponds to the JSON property `realtimeState`
|
3124
|
+
# @return [String]
|
3125
|
+
attr_accessor :realtime_state
|
3126
|
+
|
3127
|
+
# The configuration for realtime sync to store additional params for realtime
|
3128
|
+
# sync.
|
3129
|
+
# Corresponds to the JSON property `realtimeSyncConfig`
|
3130
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig]
|
3131
|
+
attr_accessor :realtime_sync_config
|
3132
|
+
|
3133
|
+
# Required. The refresh interval for data sync. If duration is set to 0, the
|
3134
|
+
# data will be synced in real time. The streaming feature is not supported yet.
|
3135
|
+
# The minimum is 30 minutes and maximum is 7 days. When the refresh interval is
|
3136
|
+
# set to the same value as the incremental refresh interval, incremental sync
|
3137
|
+
# will be disabled.
|
3138
|
+
# Corresponds to the JSON property `refreshInterval`
|
3139
|
+
# @return [String]
|
3140
|
+
attr_accessor :refresh_interval
|
3141
|
+
|
3142
|
+
# Optional. Specifies keys to be removed from the 'params' field. This is only
|
3143
|
+
# active when 'params' is included in the 'update_mask' in an
|
3144
|
+
# UpdateDataConnectorRequest. Deletion takes precedence if a key is both in '
|
3145
|
+
# remove_param_keys' and present in the 'params' field of the request.
|
3146
|
+
# Corresponds to the JSON property `removeParamKeys`
|
3147
|
+
# @return [Array<String>]
|
3148
|
+
attr_accessor :remove_param_keys
|
3149
|
+
|
3150
|
+
# Output only. State of the connector.
|
3151
|
+
# Corresponds to the JSON property `state`
|
3152
|
+
# @return [String]
|
3153
|
+
attr_accessor :state
|
3154
|
+
|
3155
|
+
# Output only. The static IP addresses used by this connector.
|
3156
|
+
# Corresponds to the JSON property `staticIpAddresses`
|
3157
|
+
# @return [Array<String>]
|
3158
|
+
attr_accessor :static_ip_addresses
|
3159
|
+
|
3160
|
+
# Optional. Whether customer has enabled static IP addresses for this connector.
|
3161
|
+
# Corresponds to the JSON property `staticIpEnabled`
|
3162
|
+
# @return [Boolean]
|
3163
|
+
attr_accessor :static_ip_enabled
|
3164
|
+
alias_method :static_ip_enabled?, :static_ip_enabled
|
3165
|
+
|
3166
|
+
# The data synchronization mode supported by the data connector.
|
3167
|
+
# Corresponds to the JSON property `syncMode`
|
3168
|
+
# @return [String]
|
3169
|
+
attr_accessor :sync_mode
|
3170
|
+
|
3171
|
+
# Output only. Timestamp the DataConnector was last updated.
|
3172
|
+
# Corresponds to the JSON property `updateTime`
|
3173
|
+
# @return [String]
|
3174
|
+
attr_accessor :update_time
|
3175
|
+
|
3176
|
+
def initialize(**args)
|
3177
|
+
update!(**args)
|
3178
|
+
end
|
3179
|
+
|
3180
|
+
# Update properties of this object
|
3181
|
+
def update!(**args)
|
3182
|
+
@acl_enabled = args[:acl_enabled] if args.key?(:acl_enabled)
|
3183
|
+
@action_config = args[:action_config] if args.key?(:action_config)
|
3184
|
+
@action_state = args[:action_state] if args.key?(:action_state)
|
3185
|
+
@alert_policy_configs = args[:alert_policy_configs] if args.key?(:alert_policy_configs)
|
3186
|
+
@auto_run_disabled = args[:auto_run_disabled] if args.key?(:auto_run_disabled)
|
3187
|
+
@bap_config = args[:bap_config] if args.key?(:bap_config)
|
3188
|
+
@blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
|
3189
|
+
@connector_modes = args[:connector_modes] if args.key?(:connector_modes)
|
3190
|
+
@connector_type = args[:connector_type] if args.key?(:connector_type)
|
3191
|
+
@create_eua_saas = args[:create_eua_saas] if args.key?(:create_eua_saas)
|
3192
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3193
|
+
@data_source = args[:data_source] if args.key?(:data_source)
|
3194
|
+
@destination_configs = args[:destination_configs] if args.key?(:destination_configs)
|
3195
|
+
@end_user_config = args[:end_user_config] if args.key?(:end_user_config)
|
3196
|
+
@entities = args[:entities] if args.key?(:entities)
|
3197
|
+
@errors = args[:errors] if args.key?(:errors)
|
3198
|
+
@federated_config = args[:federated_config] if args.key?(:federated_config)
|
3199
|
+
@hybrid_ingestion_disabled = args[:hybrid_ingestion_disabled] if args.key?(:hybrid_ingestion_disabled)
|
3200
|
+
@identity_refresh_interval = args[:identity_refresh_interval] if args.key?(:identity_refresh_interval)
|
3201
|
+
@identity_schedule_config = args[:identity_schedule_config] if args.key?(:identity_schedule_config)
|
3202
|
+
@incremental_refresh_interval = args[:incremental_refresh_interval] if args.key?(:incremental_refresh_interval)
|
3203
|
+
@incremental_sync_disabled = args[:incremental_sync_disabled] if args.key?(:incremental_sync_disabled)
|
3204
|
+
@json_params = args[:json_params] if args.key?(:json_params)
|
3205
|
+
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
3206
|
+
@last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time)
|
3207
|
+
@latest_pause_time = args[:latest_pause_time] if args.key?(:latest_pause_time)
|
3208
|
+
@name = args[:name] if args.key?(:name)
|
3209
|
+
@next_sync_time = args[:next_sync_time] if args.key?(:next_sync_time)
|
3210
|
+
@params = args[:params] if args.key?(:params)
|
3211
|
+
@private_connectivity_project_id = args[:private_connectivity_project_id] if args.key?(:private_connectivity_project_id)
|
3212
|
+
@realtime_state = args[:realtime_state] if args.key?(:realtime_state)
|
3213
|
+
@realtime_sync_config = args[:realtime_sync_config] if args.key?(:realtime_sync_config)
|
3214
|
+
@refresh_interval = args[:refresh_interval] if args.key?(:refresh_interval)
|
3215
|
+
@remove_param_keys = args[:remove_param_keys] if args.key?(:remove_param_keys)
|
3216
|
+
@state = args[:state] if args.key?(:state)
|
3217
|
+
@static_ip_addresses = args[:static_ip_addresses] if args.key?(:static_ip_addresses)
|
3218
|
+
@static_ip_enabled = args[:static_ip_enabled] if args.key?(:static_ip_enabled)
|
3219
|
+
@sync_mode = args[:sync_mode] if args.key?(:sync_mode)
|
3220
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
3221
|
+
end
|
3222
|
+
end
|
3223
|
+
|
3224
|
+
# Any params and credentials used specifically for EUA connectors.
|
3225
|
+
class GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig
|
3226
|
+
include Google::Apis::Core::Hashable
|
3227
|
+
|
3228
|
+
# Optional. Any additional parameters needed for EUA.
|
3229
|
+
# Corresponds to the JSON property `additionalParams`
|
3230
|
+
# @return [Hash<String,Object>]
|
3231
|
+
attr_accessor :additional_params
|
3232
|
+
|
3233
|
+
# Optional. Any authentication parameters specific to EUA connectors.
|
3234
|
+
# Corresponds to the JSON property `authParams`
|
3235
|
+
# @return [Hash<String,Object>]
|
3236
|
+
attr_accessor :auth_params
|
3237
|
+
|
3238
|
+
# Tenant information for a connector source. This includes some of the same
|
3239
|
+
# information stored in the Credential message, but is limited to only what is
|
3240
|
+
# needed to provide a list of accessible tenants to the user.
|
3241
|
+
# Corresponds to the JSON property `tenant`
|
3242
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1Tenant]
|
3243
|
+
attr_accessor :tenant
|
3244
|
+
|
3245
|
+
def initialize(**args)
|
3246
|
+
update!(**args)
|
3247
|
+
end
|
3248
|
+
|
3249
|
+
# Update properties of this object
|
3250
|
+
def update!(**args)
|
3251
|
+
@additional_params = args[:additional_params] if args.key?(:additional_params)
|
3252
|
+
@auth_params = args[:auth_params] if args.key?(:auth_params)
|
3253
|
+
@tenant = args[:tenant] if args.key?(:tenant)
|
3254
|
+
end
|
3255
|
+
end
|
3256
|
+
|
3257
|
+
# Any params and credentials used specifically for hybrid connectors supporting
|
3258
|
+
# FEDERATED mode.
|
3259
|
+
class GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig
|
3260
|
+
include Google::Apis::Core::Hashable
|
3261
|
+
|
3262
|
+
# Optional. Any additional parameters needed for FEDERATED.
|
3263
|
+
# Corresponds to the JSON property `additionalParams`
|
3264
|
+
# @return [Hash<String,Object>]
|
3265
|
+
attr_accessor :additional_params
|
3266
|
+
|
3267
|
+
# Optional. Any authentication parameters specific to FEDERATED.
|
3268
|
+
# Corresponds to the JSON property `authParams`
|
3269
|
+
# @return [Hash<String,Object>]
|
3270
|
+
attr_accessor :auth_params
|
3271
|
+
|
3272
|
+
def initialize(**args)
|
3273
|
+
update!(**args)
|
3274
|
+
end
|
3275
|
+
|
3276
|
+
# Update properties of this object
|
3277
|
+
def update!(**args)
|
3278
|
+
@additional_params = args[:additional_params] if args.key?(:additional_params)
|
3279
|
+
@auth_params = args[:auth_params] if args.key?(:auth_params)
|
3280
|
+
end
|
3281
|
+
end
|
3282
|
+
|
3283
|
+
# The configuration for realtime sync to store additional params for realtime
|
3284
|
+
# sync.
|
3285
|
+
class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig
|
3286
|
+
include Google::Apis::Core::Hashable
|
3287
|
+
|
3288
|
+
# Optional. The ID of the Secret Manager secret used for webhook secret.
|
3289
|
+
# Corresponds to the JSON property `realtimeSyncSecret`
|
3290
|
+
# @return [String]
|
3291
|
+
attr_accessor :realtime_sync_secret
|
3292
|
+
|
3293
|
+
# Streaming error details.
|
3294
|
+
# Corresponds to the JSON property `streamingError`
|
3295
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError]
|
3296
|
+
attr_accessor :streaming_error
|
3297
|
+
|
3298
|
+
# Optional. Webhook url for the connector to specify additional params for
|
3299
|
+
# realtime sync.
|
3300
|
+
# Corresponds to the JSON property `webhookUri`
|
3301
|
+
# @return [String]
|
3302
|
+
attr_accessor :webhook_uri
|
3303
|
+
|
3304
|
+
def initialize(**args)
|
3305
|
+
update!(**args)
|
3306
|
+
end
|
3307
|
+
|
3308
|
+
# Update properties of this object
|
3309
|
+
def update!(**args)
|
3310
|
+
@realtime_sync_secret = args[:realtime_sync_secret] if args.key?(:realtime_sync_secret)
|
3311
|
+
@streaming_error = args[:streaming_error] if args.key?(:streaming_error)
|
3312
|
+
@webhook_uri = args[:webhook_uri] if args.key?(:webhook_uri)
|
3313
|
+
end
|
3314
|
+
end
|
3315
|
+
|
3316
|
+
# Streaming error details.
|
3317
|
+
class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError
|
3318
|
+
include Google::Apis::Core::Hashable
|
3319
|
+
|
3320
|
+
# The `Status` type defines a logical error model that is suitable for different
|
3321
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
3322
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
3323
|
+
# data: error code, error message, and error details. You can find out more
|
3324
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
3325
|
+
# //cloud.google.com/apis/design/errors).
|
3326
|
+
# Corresponds to the JSON property `error`
|
3327
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus]
|
3328
|
+
attr_accessor :error
|
3329
|
+
|
3330
|
+
# Optional. Streaming error.
|
3331
|
+
# Corresponds to the JSON property `streamingErrorReason`
|
3332
|
+
# @return [String]
|
3333
|
+
attr_accessor :streaming_error_reason
|
3334
|
+
|
3335
|
+
def initialize(**args)
|
3336
|
+
update!(**args)
|
3337
|
+
end
|
3338
|
+
|
3339
|
+
# Update properties of this object
|
3340
|
+
def update!(**args)
|
3341
|
+
@error = args[:error] if args.key?(:error)
|
3342
|
+
@streaming_error_reason = args[:streaming_error_reason] if args.key?(:streaming_error_reason)
|
3343
|
+
end
|
3344
|
+
end
|
3345
|
+
|
3346
|
+
# Represents an entity in the data source. For example, the `Account` object in
|
3347
|
+
# Salesforce.
|
3348
|
+
class GoogleCloudDiscoveryengineV1DataConnectorSourceEntity
|
3349
|
+
include Google::Apis::Core::Hashable
|
3350
|
+
|
3351
|
+
# Output only. The full resource name of the associated data store for the
|
3352
|
+
# source entity. Format: `projects/*/locations/*/collections/*/dataStores/*`.
|
3353
|
+
# When the connector is initialized by the DataConnectorService.
|
3354
|
+
# SetUpDataConnector method, a DataStore is automatically created for each
|
3355
|
+
# source entity.
|
3356
|
+
# Corresponds to the JSON property `dataStore`
|
3357
|
+
# @return [String]
|
3358
|
+
attr_accessor :data_store
|
3359
|
+
|
3360
|
+
# The name of the entity. Supported values by data source: * Salesforce: `Lead`,
|
3361
|
+
# `Opportunity`, `Contact`, `Account`, `Case`, `Contract`, `Campaign` * Jira: `
|
3362
|
+
# Issue` * Confluence: `Content`, `Space`
|
3363
|
+
# Corresponds to the JSON property `entityName`
|
3364
|
+
# @return [String]
|
3365
|
+
attr_accessor :entity_name
|
3366
|
+
|
3367
|
+
# Config to data store for `HEALTHCARE_FHIR` vertical.
|
3368
|
+
# Corresponds to the JSON property `healthcareFhirConfig`
|
3369
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1HealthcareFhirConfig]
|
3370
|
+
attr_accessor :healthcare_fhir_config
|
3371
|
+
|
3372
|
+
# The parameters for the entity to facilitate data ingestion in json string
|
3373
|
+
# format.
|
3374
|
+
# Corresponds to the JSON property `jsonParams`
|
3375
|
+
# @return [String]
|
3376
|
+
attr_accessor :json_params
|
3377
|
+
|
3378
|
+
# Attributes for indexing. Key: Field name. Value: The key property to map a
|
3379
|
+
# field to, such as `title`, and `description`. Supported key properties: * `
|
3380
|
+
# title`: The title for data record. This would be displayed on search results. *
|
3381
|
+
# `description`: The description for data record. This would be displayed on
|
3382
|
+
# search results.
|
3383
|
+
# Corresponds to the JSON property `keyPropertyMappings`
|
3384
|
+
# @return [Hash<String,String>]
|
3385
|
+
attr_accessor :key_property_mappings
|
3386
|
+
|
3387
|
+
# The parameters for the entity to facilitate data ingestion in structured json
|
3388
|
+
# format.
|
3389
|
+
# Corresponds to the JSON property `params`
|
3390
|
+
# @return [Hash<String,Object>]
|
3391
|
+
attr_accessor :params
|
3392
|
+
|
3393
|
+
# Defines the structure and layout of a type of document data.
|
3394
|
+
# Corresponds to the JSON property `startingSchema`
|
3395
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1Schema]
|
3396
|
+
attr_accessor :starting_schema
|
3397
|
+
|
3398
|
+
def initialize(**args)
|
3399
|
+
update!(**args)
|
3400
|
+
end
|
3401
|
+
|
3402
|
+
# Update properties of this object
|
3403
|
+
def update!(**args)
|
3404
|
+
@data_store = args[:data_store] if args.key?(:data_store)
|
3405
|
+
@entity_name = args[:entity_name] if args.key?(:entity_name)
|
3406
|
+
@healthcare_fhir_config = args[:healthcare_fhir_config] if args.key?(:healthcare_fhir_config)
|
3407
|
+
@json_params = args[:json_params] if args.key?(:json_params)
|
3408
|
+
@key_property_mappings = args[:key_property_mappings] if args.key?(:key_property_mappings)
|
3409
|
+
@params = args[:params] if args.key?(:params)
|
3410
|
+
@starting_schema = args[:starting_schema] if args.key?(:starting_schema)
|
3411
|
+
end
|
3412
|
+
end
|
3413
|
+
|
3414
|
+
# DataStore captures global settings and configs at the DataStore level.
|
3415
|
+
class GoogleCloudDiscoveryengineV1DataStore
|
3416
|
+
include Google::Apis::Core::Hashable
|
3417
|
+
|
3418
|
+
# Immutable. Whether data in the DataStore has ACL information. If set to `true`,
|
3419
|
+
# the source data must have ACL. ACL will be ingested when data is ingested by
|
3420
|
+
# DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore,
|
3421
|
+
# Document can't be accessed by calling DocumentService.GetDocument or
|
3422
|
+
# DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC`
|
3423
|
+
# industry vertical with non-`PUBLIC_WEBSITE` content config.
|
3424
|
+
# Corresponds to the JSON property `aclEnabled`
|
3425
|
+
# @return [Boolean]
|
3426
|
+
attr_accessor :acl_enabled
|
3427
|
+
alias_method :acl_enabled?, :acl_enabled
|
3428
|
+
|
3429
|
+
# Configuration data for advance site search.
|
3430
|
+
# Corresponds to the JSON property `advancedSiteSearchConfig`
|
3431
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig]
|
3432
|
+
attr_accessor :advanced_site_search_config
|
3433
|
+
|
3434
|
+
# Estimation of data size per data store.
|
3435
|
+
# Corresponds to the JSON property `billingEstimation`
|
3436
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataStoreBillingEstimation]
|
3437
|
+
attr_accessor :billing_estimation
|
3438
|
+
|
3439
|
+
# Configurations used to enable CMEK data encryption with Cloud KMS keys.
|
3440
|
+
# Corresponds to the JSON property `cmekConfig`
|
3441
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1CmekConfig]
|
3442
|
+
attr_accessor :cmek_config
|
3443
|
+
|
3444
|
+
# Immutable. The content config of the data store. If this field is unset, the
|
3445
|
+
# server behavior defaults to ContentConfig.NO_CONTENT.
|
3446
|
+
# Corresponds to the JSON property `contentConfig`
|
3447
|
+
# @return [String]
|
3448
|
+
attr_accessor :content_config
|
3449
|
+
|
3450
|
+
# Output only. Timestamp the DataStore was created at.
|
3451
|
+
# Corresponds to the JSON property `createTime`
|
3452
|
+
# @return [String]
|
3453
|
+
attr_accessor :create_time
|
3454
|
+
|
3455
|
+
# Output only. The id of the default Schema associated to this data store.
|
3456
|
+
# Corresponds to the JSON property `defaultSchemaId`
|
3457
|
+
# @return [String]
|
3458
|
+
attr_accessor :default_schema_id
|
3459
|
+
|
3460
|
+
# Required. The data store display name. This field must be a UTF-8 encoded
|
3461
|
+
# string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT
|
3462
|
+
# error is returned.
|
3463
|
+
# Corresponds to the JSON property `displayName`
|
3464
|
+
# @return [String]
|
3465
|
+
attr_accessor :display_name
|
3466
|
+
|
3467
|
+
# A singleton resource of DataStore. If it's empty when DataStore is created and
|
3468
|
+
# DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the default
|
3469
|
+
# parser will default to digital parser.
|
3470
|
+
# Corresponds to the JSON property `documentProcessingConfig`
|
3471
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DocumentProcessingConfig]
|
3472
|
+
attr_accessor :document_processing_config
|
2808
3473
|
|
2809
3474
|
# Config to data store for `HEALTHCARE_FHIR` vertical.
|
2810
3475
|
# Corresponds to the JSON property `healthcareFhirConfig`
|
@@ -2995,6 +3660,34 @@ module Google
|
|
2995
3660
|
end
|
2996
3661
|
end
|
2997
3662
|
|
3663
|
+
# Metadata related to the progress of the CollectionService.UpdateCollection
|
3664
|
+
# operation. This will be returned by the google.longrunning.Operation.metadata
|
3665
|
+
# field.
|
3666
|
+
class GoogleCloudDiscoveryengineV1DeleteCollectionMetadata
|
3667
|
+
include Google::Apis::Core::Hashable
|
3668
|
+
|
3669
|
+
# Operation create time.
|
3670
|
+
# Corresponds to the JSON property `createTime`
|
3671
|
+
# @return [String]
|
3672
|
+
attr_accessor :create_time
|
3673
|
+
|
3674
|
+
# Operation last update time. If the operation is done, this is also the finish
|
3675
|
+
# time.
|
3676
|
+
# Corresponds to the JSON property `updateTime`
|
3677
|
+
# @return [String]
|
3678
|
+
attr_accessor :update_time
|
3679
|
+
|
3680
|
+
def initialize(**args)
|
3681
|
+
update!(**args)
|
3682
|
+
end
|
3683
|
+
|
3684
|
+
# Update properties of this object
|
3685
|
+
def update!(**args)
|
3686
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
3687
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
3688
|
+
end
|
3689
|
+
end
|
3690
|
+
|
2998
3691
|
# Metadata related to the progress of the DataStoreService.DeleteDataStore
|
2999
3692
|
# operation. This will be returned by the google.longrunning.Operation.metadata
|
3000
3693
|
# field.
|
@@ -3160,6 +3853,69 @@ module Google
|
|
3160
3853
|
end
|
3161
3854
|
end
|
3162
3855
|
|
3856
|
+
# Defines target endpoints used to connect to third-party sources.
|
3857
|
+
class GoogleCloudDiscoveryengineV1DestinationConfig
|
3858
|
+
include Google::Apis::Core::Hashable
|
3859
|
+
|
3860
|
+
# Optional. The destinations for the corresponding key.
|
3861
|
+
# Corresponds to the JSON property `destinations`
|
3862
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DestinationConfigDestination>]
|
3863
|
+
attr_accessor :destinations
|
3864
|
+
|
3865
|
+
# Additional parameters for this destination config in json string format.
|
3866
|
+
# Corresponds to the JSON property `jsonParams`
|
3867
|
+
# @return [String]
|
3868
|
+
attr_accessor :json_params
|
3869
|
+
|
3870
|
+
# Optional. Unique destination identifier that is supported by the connector.
|
3871
|
+
# Corresponds to the JSON property `key`
|
3872
|
+
# @return [String]
|
3873
|
+
attr_accessor :key
|
3874
|
+
|
3875
|
+
# Optional. Additional parameters for this destination config in structured json
|
3876
|
+
# format.
|
3877
|
+
# Corresponds to the JSON property `params`
|
3878
|
+
# @return [Hash<String,Object>]
|
3879
|
+
attr_accessor :params
|
3880
|
+
|
3881
|
+
def initialize(**args)
|
3882
|
+
update!(**args)
|
3883
|
+
end
|
3884
|
+
|
3885
|
+
# Update properties of this object
|
3886
|
+
def update!(**args)
|
3887
|
+
@destinations = args[:destinations] if args.key?(:destinations)
|
3888
|
+
@json_params = args[:json_params] if args.key?(:json_params)
|
3889
|
+
@key = args[:key] if args.key?(:key)
|
3890
|
+
@params = args[:params] if args.key?(:params)
|
3891
|
+
end
|
3892
|
+
end
|
3893
|
+
|
3894
|
+
# Defines a target endpoint
|
3895
|
+
class GoogleCloudDiscoveryengineV1DestinationConfigDestination
|
3896
|
+
include Google::Apis::Core::Hashable
|
3897
|
+
|
3898
|
+
# Publicly routable host.
|
3899
|
+
# Corresponds to the JSON property `host`
|
3900
|
+
# @return [String]
|
3901
|
+
attr_accessor :host
|
3902
|
+
|
3903
|
+
# Optional. Target port number accepted by the destination.
|
3904
|
+
# Corresponds to the JSON property `port`
|
3905
|
+
# @return [Fixnum]
|
3906
|
+
attr_accessor :port
|
3907
|
+
|
3908
|
+
def initialize(**args)
|
3909
|
+
update!(**args)
|
3910
|
+
end
|
3911
|
+
|
3912
|
+
# Update properties of this object
|
3913
|
+
def update!(**args)
|
3914
|
+
@host = args[:host] if args.key?(:host)
|
3915
|
+
@port = args[:port] if args.key?(:port)
|
3916
|
+
end
|
3917
|
+
end
|
3918
|
+
|
3163
3919
|
# Metadata related to the progress of the SiteSearchEngineService.
|
3164
3920
|
# DisableAdvancedSiteSearch operation. This will be returned by the google.
|
3165
3921
|
# longrunning.Operation.metadata field.
|
@@ -3499,6 +4255,12 @@ module Google
|
|
3499
4255
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1EngineCommonConfig]
|
3500
4256
|
attr_accessor :common_config
|
3501
4257
|
|
4258
|
+
# Optional. Configuration for configurable billing approach. See go/vais-
|
4259
|
+
# repricing-billing-dd for more details.
|
4260
|
+
# Corresponds to the JSON property `configurableBillingApproach`
|
4261
|
+
# @return [String]
|
4262
|
+
attr_accessor :configurable_billing_approach
|
4263
|
+
|
3502
4264
|
# Output only. Timestamp the Recommendation Engine was created at.
|
3503
4265
|
# Corresponds to the JSON property `createTime`
|
3504
4266
|
# @return [String]
|
@@ -3531,7 +4293,8 @@ module Google
|
|
3531
4293
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
3532
4294
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
3533
4295
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
3534
|
-
# personalization-memory` -
|
4296
|
+
# personalization-memory` * `disable-image-generation` * `disable-video-
|
4297
|
+
# generation`
|
3535
4298
|
# Corresponds to the JSON property `features`
|
3536
4299
|
# @return [Hash<String,String>]
|
3537
4300
|
attr_accessor :features
|
@@ -3582,6 +4345,7 @@ module Google
|
|
3582
4345
|
@chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
|
3583
4346
|
@chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
|
3584
4347
|
@common_config = args[:common_config] if args.key?(:common_config)
|
4348
|
+
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
3585
4349
|
@create_time = args[:create_time] if args.key?(:create_time)
|
3586
4350
|
@data_store_ids = args[:data_store_ids] if args.key?(:data_store_ids)
|
3587
4351
|
@disable_analytics = args[:disable_analytics] if args.key?(:disable_analytics)
|
@@ -3972,6 +4736,47 @@ module Google
|
|
3972
4736
|
end
|
3973
4737
|
end
|
3974
4738
|
|
4739
|
+
# The configuration for the identity data synchronization runs.
|
4740
|
+
class GoogleCloudDiscoveryengineV1IdentityScheduleConfig
|
4741
|
+
include Google::Apis::Core::Hashable
|
4742
|
+
|
4743
|
+
# Represents civil time (or occasionally physical time). This type can represent
|
4744
|
+
# a civil time in one of a few possible ways: * When utc_offset is set and
|
4745
|
+
# time_zone is unset: a civil time on a calendar day with a particular offset
|
4746
|
+
# from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
|
4747
|
+
# calendar day in a particular time zone. * When neither time_zone nor
|
4748
|
+
# utc_offset is set: a civil time on a calendar day in local time. The date is
|
4749
|
+
# relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
|
4750
|
+
# the DateTime is considered not to have a specific year, month, or day
|
4751
|
+
# respectively. This type may also be used to represent a physical time if all
|
4752
|
+
# the date and time fields are set and either case of the `time_offset` oneof is
|
4753
|
+
# set. Consider using `Timestamp` message for physical time instead. If your use
|
4754
|
+
# case also would like to store the user's timezone, that can be done in another
|
4755
|
+
# field. This type is more flexible than some applications may want. Make sure
|
4756
|
+
# to document and validate your application's limitations.
|
4757
|
+
# Corresponds to the JSON property `nextSyncTime`
|
4758
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleTypeDateTime]
|
4759
|
+
attr_accessor :next_sync_time
|
4760
|
+
|
4761
|
+
# Optional. The refresh interval to sync the Access Control List information for
|
4762
|
+
# the documents ingested by this connector. If not set, the access control list
|
4763
|
+
# will be refreshed at the default interval of 30 minutes. The identity refresh
|
4764
|
+
# interval can be at least 30 minutes and at most 7 days.
|
4765
|
+
# Corresponds to the JSON property `refreshInterval`
|
4766
|
+
# @return [String]
|
4767
|
+
attr_accessor :refresh_interval
|
4768
|
+
|
4769
|
+
def initialize(**args)
|
4770
|
+
update!(**args)
|
4771
|
+
end
|
4772
|
+
|
4773
|
+
# Update properties of this object
|
4774
|
+
def update!(**args)
|
4775
|
+
@next_sync_time = args[:next_sync_time] if args.key?(:next_sync_time)
|
4776
|
+
@refresh_interval = args[:refresh_interval] if args.key?(:refresh_interval)
|
4777
|
+
end
|
4778
|
+
end
|
4779
|
+
|
3975
4780
|
# Identity Provider Config.
|
3976
4781
|
class GoogleCloudDiscoveryengineV1IdpConfig
|
3977
4782
|
include Google::Apis::Core::Hashable
|
@@ -4340,6 +5145,11 @@ module Google
|
|
4340
5145
|
# @return [String]
|
4341
5146
|
attr_accessor :create_time
|
4342
5147
|
|
5148
|
+
# Customer provided configurations.
|
5149
|
+
# Corresponds to the JSON property `customerProvidedConfig`
|
5150
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig]
|
5151
|
+
attr_accessor :customer_provided_config
|
5152
|
+
|
4343
5153
|
# Output only. Full resource name of the project, for example `projects/`project`
|
4344
5154
|
# `. Note that when making requests, project number and project id are both
|
4345
5155
|
# acceptable, but the server will always respond in project number.
|
@@ -4347,16 +5157,90 @@ module Google
|
|
4347
5157
|
# @return [String]
|
4348
5158
|
attr_accessor :name
|
4349
5159
|
|
4350
|
-
# Output only. The timestamp when this project is successfully provisioned.
|
4351
|
-
# Empty value means this project is still provisioning and is not ready for use.
|
4352
|
-
# Corresponds to the JSON property `provisionCompletionTime`
|
5160
|
+
# Output only. The timestamp when this project is successfully provisioned.
|
5161
|
+
# Empty value means this project is still provisioning and is not ready for use.
|
5162
|
+
# Corresponds to the JSON property `provisionCompletionTime`
|
5163
|
+
# @return [String]
|
5164
|
+
attr_accessor :provision_completion_time
|
5165
|
+
|
5166
|
+
# Output only. A map of terms of services. The key is the `id` of ServiceTerms.
|
5167
|
+
# Corresponds to the JSON property `serviceTermsMap`
|
5168
|
+
# @return [Hash<String,Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1ProjectServiceTerms>]
|
5169
|
+
attr_accessor :service_terms_map
|
5170
|
+
|
5171
|
+
def initialize(**args)
|
5172
|
+
update!(**args)
|
5173
|
+
end
|
5174
|
+
|
5175
|
+
# Update properties of this object
|
5176
|
+
def update!(**args)
|
5177
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
5178
|
+
@customer_provided_config = args[:customer_provided_config] if args.key?(:customer_provided_config)
|
5179
|
+
@name = args[:name] if args.key?(:name)
|
5180
|
+
@provision_completion_time = args[:provision_completion_time] if args.key?(:provision_completion_time)
|
5181
|
+
@service_terms_map = args[:service_terms_map] if args.key?(:service_terms_map)
|
5182
|
+
end
|
5183
|
+
end
|
5184
|
+
|
5185
|
+
# Customer provided configurations.
|
5186
|
+
class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig
|
5187
|
+
include Google::Apis::Core::Hashable
|
5188
|
+
|
5189
|
+
# Configuration for NotebookLM.
|
5190
|
+
# Corresponds to the JSON property `notebooklmConfig`
|
5191
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig]
|
5192
|
+
attr_accessor :notebooklm_config
|
5193
|
+
|
5194
|
+
def initialize(**args)
|
5195
|
+
update!(**args)
|
5196
|
+
end
|
5197
|
+
|
5198
|
+
# Update properties of this object
|
5199
|
+
def update!(**args)
|
5200
|
+
@notebooklm_config = args[:notebooklm_config] if args.key?(:notebooklm_config)
|
5201
|
+
end
|
5202
|
+
end
|
5203
|
+
|
5204
|
+
# Configuration for NotebookLM.
|
5205
|
+
class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig
|
5206
|
+
include Google::Apis::Core::Hashable
|
5207
|
+
|
5208
|
+
# Configuration for customer defined Model Armor templates to be used for
|
5209
|
+
# sanitizing user prompts and LLM responses.
|
5210
|
+
# Corresponds to the JSON property `modelArmorConfig`
|
5211
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
|
5212
|
+
attr_accessor :model_armor_config
|
5213
|
+
|
5214
|
+
def initialize(**args)
|
5215
|
+
update!(**args)
|
5216
|
+
end
|
5217
|
+
|
5218
|
+
# Update properties of this object
|
5219
|
+
def update!(**args)
|
5220
|
+
@model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
|
5221
|
+
end
|
5222
|
+
end
|
5223
|
+
|
5224
|
+
# Configuration for customer defined Model Armor templates to be used for
|
5225
|
+
# sanitizing user prompts and LLM responses.
|
5226
|
+
class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig
|
5227
|
+
include Google::Apis::Core::Hashable
|
5228
|
+
|
5229
|
+
# Optional. The resource name of the Model Armor Template for sanitizing LLM
|
5230
|
+
# responses. Format: projects/`project`/locations/`location`/templates/`
|
5231
|
+
# template_id` If not specified, no sanitization will be applied to the LLM
|
5232
|
+
# response.
|
5233
|
+
# Corresponds to the JSON property `responseTemplate`
|
4353
5234
|
# @return [String]
|
4354
|
-
attr_accessor :
|
5235
|
+
attr_accessor :response_template
|
4355
5236
|
|
4356
|
-
#
|
4357
|
-
#
|
4358
|
-
#
|
4359
|
-
|
5237
|
+
# Optional. The resource name of the Model Armor Template for sanitizing user
|
5238
|
+
# prompts. Format: projects/`project`/locations/`location`/templates/`
|
5239
|
+
# template_id` If not specified, no sanitization will be applied to the user
|
5240
|
+
# prompt.
|
5241
|
+
# Corresponds to the JSON property `userPromptTemplate`
|
5242
|
+
# @return [String]
|
5243
|
+
attr_accessor :user_prompt_template
|
4360
5244
|
|
4361
5245
|
def initialize(**args)
|
4362
5246
|
update!(**args)
|
@@ -4364,10 +5248,8 @@ module Google
|
|
4364
5248
|
|
4365
5249
|
# Update properties of this object
|
4366
5250
|
def update!(**args)
|
4367
|
-
@
|
4368
|
-
@
|
4369
|
-
@provision_completion_time = args[:provision_completion_time] if args.key?(:provision_completion_time)
|
4370
|
-
@service_terms_map = args[:service_terms_map] if args.key?(:service_terms_map)
|
5251
|
+
@response_template = args[:response_template] if args.key?(:response_template)
|
5252
|
+
@user_prompt_template = args[:user_prompt_template] if args.key?(:user_prompt_template)
|
4371
5253
|
end
|
4372
5254
|
end
|
4373
5255
|
|
@@ -5311,6 +6193,19 @@ module Google
|
|
5311
6193
|
end
|
5312
6194
|
end
|
5313
6195
|
|
6196
|
+
# Metadata for DataConnectorService.SetUpDataConnector method.
|
6197
|
+
class GoogleCloudDiscoveryengineV1SetUpDataConnectorMetadata
|
6198
|
+
include Google::Apis::Core::Hashable
|
6199
|
+
|
6200
|
+
def initialize(**args)
|
6201
|
+
update!(**args)
|
6202
|
+
end
|
6203
|
+
|
6204
|
+
# Update properties of this object
|
6205
|
+
def update!(**args)
|
6206
|
+
end
|
6207
|
+
end
|
6208
|
+
|
5314
6209
|
# Metadata for single-regional CMEKs.
|
5315
6210
|
class GoogleCloudDiscoveryengineV1SingleRegionKey
|
5316
6211
|
include Google::Apis::Core::Hashable
|
@@ -5513,6 +6408,42 @@ module Google
|
|
5513
6408
|
end
|
5514
6409
|
end
|
5515
6410
|
|
6411
|
+
# Tenant information for a connector source. This includes some of the same
|
6412
|
+
# information stored in the Credential message, but is limited to only what is
|
6413
|
+
# needed to provide a list of accessible tenants to the user.
|
6414
|
+
class GoogleCloudDiscoveryengineV1Tenant
|
6415
|
+
include Google::Apis::Core::Hashable
|
6416
|
+
|
6417
|
+
# Optional display name for the tenant, e.g. "My Slack Team".
|
6418
|
+
# Corresponds to the JSON property `displayName`
|
6419
|
+
# @return [String]
|
6420
|
+
attr_accessor :display_name
|
6421
|
+
|
6422
|
+
# The tenant's instance ID. Examples: Jira ("8594f221-9797-5f78-1fa4-
|
6423
|
+
# 485e198d7cd0"), Slack ("T123456").
|
6424
|
+
# Corresponds to the JSON property `id`
|
6425
|
+
# @return [String]
|
6426
|
+
attr_accessor :id
|
6427
|
+
|
6428
|
+
# The URI of the tenant, if applicable. For example, the URI of a Jira instance
|
6429
|
+
# is https://my-jira-instance.atlassian.net, and a Slack tenant does not have a
|
6430
|
+
# URI.
|
6431
|
+
# Corresponds to the JSON property `uri`
|
6432
|
+
# @return [String]
|
6433
|
+
attr_accessor :uri
|
6434
|
+
|
6435
|
+
def initialize(**args)
|
6436
|
+
update!(**args)
|
6437
|
+
end
|
6438
|
+
|
6439
|
+
# Update properties of this object
|
6440
|
+
def update!(**args)
|
6441
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
6442
|
+
@id = args[:id] if args.key?(:id)
|
6443
|
+
@uri = args[:uri] if args.key?(:uri)
|
6444
|
+
end
|
6445
|
+
end
|
6446
|
+
|
5516
6447
|
# Metadata related to the progress of the TrainCustomModel operation. This is
|
5517
6448
|
# returned by the google.longrunning.Operation.metadata field.
|
5518
6449
|
class GoogleCloudDiscoveryengineV1TrainCustomModelMetadata
|
@@ -8842,6 +9773,12 @@ module Google
|
|
8842
9773
|
# @return [String]
|
8843
9774
|
attr_accessor :domain
|
8844
9775
|
|
9776
|
+
# The mime type of the document. https://www.iana.org/assignments/media-types/
|
9777
|
+
# media-types.xhtml.
|
9778
|
+
# Corresponds to the JSON property `mimeType`
|
9779
|
+
# @return [String]
|
9780
|
+
attr_accessor :mime_type
|
9781
|
+
|
8845
9782
|
# Page identifier.
|
8846
9783
|
# Corresponds to the JSON property `pageIdentifier`
|
8847
9784
|
# @return [String]
|
@@ -8866,6 +9803,7 @@ module Google
|
|
8866
9803
|
def update!(**args)
|
8867
9804
|
@document = args[:document] if args.key?(:document)
|
8868
9805
|
@domain = args[:domain] if args.key?(:domain)
|
9806
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
8869
9807
|
@page_identifier = args[:page_identifier] if args.key?(:page_identifier)
|
8870
9808
|
@title = args[:title] if args.key?(:title)
|
8871
9809
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -11728,6 +12666,11 @@ module Google
|
|
11728
12666
|
attr_accessor :incremental_sync_disabled
|
11729
12667
|
alias_method :incremental_sync_disabled?, :incremental_sync_disabled
|
11730
12668
|
|
12669
|
+
# Required data connector parameters in json string format.
|
12670
|
+
# Corresponds to the JSON property `jsonParams`
|
12671
|
+
# @return [String]
|
12672
|
+
attr_accessor :json_params
|
12673
|
+
|
11731
12674
|
# Input only. The KMS key to be used to protect the DataStores managed by this
|
11732
12675
|
# connector. Must be set for requests that need to comply with CMEK Org Policy
|
11733
12676
|
# protections. If this field is set and processed successfully, the DataStores
|
@@ -11776,27 +12719,7 @@ module Google
|
|
11776
12719
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleTypeDateTime]
|
11777
12720
|
attr_accessor :next_sync_time
|
11778
12721
|
|
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`.
|
12722
|
+
# Required data connector parameters in structured json format.
|
11800
12723
|
# Corresponds to the JSON property `params`
|
11801
12724
|
# @return [Hash<String,Object>]
|
11802
12725
|
attr_accessor :params
|
@@ -11890,6 +12813,7 @@ module Google
|
|
11890
12813
|
@identity_schedule_config = args[:identity_schedule_config] if args.key?(:identity_schedule_config)
|
11891
12814
|
@incremental_refresh_interval = args[:incremental_refresh_interval] if args.key?(:incremental_refresh_interval)
|
11892
12815
|
@incremental_sync_disabled = args[:incremental_sync_disabled] if args.key?(:incremental_sync_disabled)
|
12816
|
+
@json_params = args[:json_params] if args.key?(:json_params)
|
11893
12817
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
11894
12818
|
@last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time)
|
11895
12819
|
@latest_pause_time = args[:latest_pause_time] if args.key?(:latest_pause_time)
|
@@ -12057,6 +12981,12 @@ module Google
|
|
12057
12981
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig]
|
12058
12982
|
attr_accessor :healthcare_fhir_config
|
12059
12983
|
|
12984
|
+
# The parameters for the entity to facilitate data ingestion in json string
|
12985
|
+
# format.
|
12986
|
+
# Corresponds to the JSON property `jsonParams`
|
12987
|
+
# @return [String]
|
12988
|
+
attr_accessor :json_params
|
12989
|
+
|
12060
12990
|
# Attributes for indexing. Key: Field name. Value: The key property to map a
|
12061
12991
|
# field to, such as `title`, and `description`. Supported key properties: * `
|
12062
12992
|
# title`: The title for data record. This would be displayed on search results. *
|
@@ -12066,9 +12996,8 @@ module Google
|
|
12066
12996
|
# @return [Hash<String,String>]
|
12067
12997
|
attr_accessor :key_property_mappings
|
12068
12998
|
|
12069
|
-
# The parameters for the entity to facilitate data ingestion
|
12070
|
-
#
|
12071
|
-
# column ID.
|
12999
|
+
# The parameters for the entity to facilitate data ingestion in structured json
|
13000
|
+
# format.
|
12072
13001
|
# Corresponds to the JSON property `params`
|
12073
13002
|
# @return [Hash<String,Object>]
|
12074
13003
|
attr_accessor :params
|
@@ -12087,6 +13016,7 @@ module Google
|
|
12087
13016
|
@data_store = args[:data_store] if args.key?(:data_store)
|
12088
13017
|
@entity_name = args[:entity_name] if args.key?(:entity_name)
|
12089
13018
|
@healthcare_fhir_config = args[:healthcare_fhir_config] if args.key?(:healthcare_fhir_config)
|
13019
|
+
@json_params = args[:json_params] if args.key?(:json_params)
|
12090
13020
|
@key_property_mappings = args[:key_property_mappings] if args.key?(:key_property_mappings)
|
12091
13021
|
@params = args[:params] if args.key?(:params)
|
12092
13022
|
@starting_schema = args[:starting_schema] if args.key?(:starting_schema)
|
@@ -12622,12 +13552,18 @@ module Google
|
|
12622
13552
|
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination>]
|
12623
13553
|
attr_accessor :destinations
|
12624
13554
|
|
13555
|
+
# Additional parameters for this destination config in json string format.
|
13556
|
+
# Corresponds to the JSON property `jsonParams`
|
13557
|
+
# @return [String]
|
13558
|
+
attr_accessor :json_params
|
13559
|
+
|
12625
13560
|
# Optional. Unique destination identifier that is supported by the connector.
|
12626
13561
|
# Corresponds to the JSON property `key`
|
12627
13562
|
# @return [String]
|
12628
13563
|
attr_accessor :key
|
12629
13564
|
|
12630
|
-
# Optional. Additional parameters for this destination config
|
13565
|
+
# Optional. Additional parameters for this destination config in structured json
|
13566
|
+
# format.
|
12631
13567
|
# Corresponds to the JSON property `params`
|
12632
13568
|
# @return [Hash<String,Object>]
|
12633
13569
|
attr_accessor :params
|
@@ -12639,6 +13575,7 @@ module Google
|
|
12639
13575
|
# Update properties of this object
|
12640
13576
|
def update!(**args)
|
12641
13577
|
@destinations = args[:destinations] if args.key?(:destinations)
|
13578
|
+
@json_params = args[:json_params] if args.key?(:json_params)
|
12642
13579
|
@key = args[:key] if args.key?(:key)
|
12643
13580
|
@params = args[:params] if args.key?(:params)
|
12644
13581
|
end
|
@@ -13365,6 +14302,12 @@ module Google
|
|
13365
14302
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineCommonConfig]
|
13366
14303
|
attr_accessor :common_config
|
13367
14304
|
|
14305
|
+
# Optional. Configuration for configurable billing approach. See go/vais-
|
14306
|
+
# repricing-billing-dd for more details.
|
14307
|
+
# Corresponds to the JSON property `configurableBillingApproach`
|
14308
|
+
# @return [String]
|
14309
|
+
attr_accessor :configurable_billing_approach
|
14310
|
+
|
13368
14311
|
# Output only. Timestamp the Recommendation Engine was created at.
|
13369
14312
|
# Corresponds to the JSON property `createTime`
|
13370
14313
|
# @return [String]
|
@@ -13397,7 +14340,8 @@ module Google
|
|
13397
14340
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
13398
14341
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
13399
14342
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
13400
|
-
# personalization-memory` -
|
14343
|
+
# personalization-memory` * `disable-image-generation` * `disable-video-
|
14344
|
+
# generation`
|
13401
14345
|
# Corresponds to the JSON property `features`
|
13402
14346
|
# @return [Hash<String,String>]
|
13403
14347
|
attr_accessor :features
|
@@ -13458,6 +14402,7 @@ module Google
|
|
13458
14402
|
@chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
|
13459
14403
|
@chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
|
13460
14404
|
@common_config = args[:common_config] if args.key?(:common_config)
|
14405
|
+
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
13461
14406
|
@create_time = args[:create_time] if args.key?(:create_time)
|
13462
14407
|
@data_store_ids = args[:data_store_ids] if args.key?(:data_store_ids)
|
13463
14408
|
@disable_analytics = args[:disable_analytics] if args.key?(:disable_analytics)
|
@@ -17069,6 +18014,11 @@ module Google
|
|
17069
18014
|
# @return [String]
|
17070
18015
|
attr_accessor :create_time
|
17071
18016
|
|
18017
|
+
# Customer provided configurations.
|
18018
|
+
# Corresponds to the JSON property `customerProvidedConfig`
|
18019
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig]
|
18020
|
+
attr_accessor :customer_provided_config
|
18021
|
+
|
17072
18022
|
# Output only. Full resource name of the project, for example `projects/`project`
|
17073
18023
|
# `. Note that when making requests, project number and project id are both
|
17074
18024
|
# acceptable, but the server will always respond in project number.
|
@@ -17094,12 +18044,84 @@ module Google
|
|
17094
18044
|
# Update properties of this object
|
17095
18045
|
def update!(**args)
|
17096
18046
|
@create_time = args[:create_time] if args.key?(:create_time)
|
18047
|
+
@customer_provided_config = args[:customer_provided_config] if args.key?(:customer_provided_config)
|
17097
18048
|
@name = args[:name] if args.key?(:name)
|
17098
18049
|
@provision_completion_time = args[:provision_completion_time] if args.key?(:provision_completion_time)
|
17099
18050
|
@service_terms_map = args[:service_terms_map] if args.key?(:service_terms_map)
|
17100
18051
|
end
|
17101
18052
|
end
|
17102
18053
|
|
18054
|
+
# Customer provided configurations.
|
18055
|
+
class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig
|
18056
|
+
include Google::Apis::Core::Hashable
|
18057
|
+
|
18058
|
+
# Configuration for NotebookLM.
|
18059
|
+
# Corresponds to the JSON property `notebooklmConfig`
|
18060
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig]
|
18061
|
+
attr_accessor :notebooklm_config
|
18062
|
+
|
18063
|
+
def initialize(**args)
|
18064
|
+
update!(**args)
|
18065
|
+
end
|
18066
|
+
|
18067
|
+
# Update properties of this object
|
18068
|
+
def update!(**args)
|
18069
|
+
@notebooklm_config = args[:notebooklm_config] if args.key?(:notebooklm_config)
|
18070
|
+
end
|
18071
|
+
end
|
18072
|
+
|
18073
|
+
# Configuration for NotebookLM.
|
18074
|
+
class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig
|
18075
|
+
include Google::Apis::Core::Hashable
|
18076
|
+
|
18077
|
+
# Configuration for customer defined Model Armor templates to be used for
|
18078
|
+
# sanitizing user prompts and LLM responses.
|
18079
|
+
# Corresponds to the JSON property `modelArmorConfig`
|
18080
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
|
18081
|
+
attr_accessor :model_armor_config
|
18082
|
+
|
18083
|
+
def initialize(**args)
|
18084
|
+
update!(**args)
|
18085
|
+
end
|
18086
|
+
|
18087
|
+
# Update properties of this object
|
18088
|
+
def update!(**args)
|
18089
|
+
@model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
|
18090
|
+
end
|
18091
|
+
end
|
18092
|
+
|
18093
|
+
# Configuration for customer defined Model Armor templates to be used for
|
18094
|
+
# sanitizing user prompts and LLM responses.
|
18095
|
+
class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig
|
18096
|
+
include Google::Apis::Core::Hashable
|
18097
|
+
|
18098
|
+
# Optional. The resource name of the Model Armor Template for sanitizing LLM
|
18099
|
+
# responses. Format: projects/`project`/locations/`location`/templates/`
|
18100
|
+
# template_id` If not specified, no sanitization will be applied to the LLM
|
18101
|
+
# response.
|
18102
|
+
# Corresponds to the JSON property `responseTemplate`
|
18103
|
+
# @return [String]
|
18104
|
+
attr_accessor :response_template
|
18105
|
+
|
18106
|
+
# Optional. The resource name of the Model Armor Template for sanitizing user
|
18107
|
+
# prompts. Format: projects/`project`/locations/`location`/templates/`
|
18108
|
+
# template_id` If not specified, no sanitization will be applied to the user
|
18109
|
+
# prompt.
|
18110
|
+
# Corresponds to the JSON property `userPromptTemplate`
|
18111
|
+
# @return [String]
|
18112
|
+
attr_accessor :user_prompt_template
|
18113
|
+
|
18114
|
+
def initialize(**args)
|
18115
|
+
update!(**args)
|
18116
|
+
end
|
18117
|
+
|
18118
|
+
# Update properties of this object
|
18119
|
+
def update!(**args)
|
18120
|
+
@response_template = args[:response_template] if args.key?(:response_template)
|
18121
|
+
@user_prompt_template = args[:user_prompt_template] if args.key?(:user_prompt_template)
|
18122
|
+
end
|
18123
|
+
end
|
18124
|
+
|
17103
18125
|
# Metadata about the terms of service.
|
17104
18126
|
class GoogleCloudDiscoveryengineV1alphaProjectServiceTerms
|
17105
18127
|
include Google::Apis::Core::Hashable
|
@@ -17209,6 +18231,13 @@ module Google
|
|
17209
18231
|
attr_accessor :accept_biz_qos
|
17210
18232
|
alias_method :accept_biz_qos?, :accept_biz_qos
|
17211
18233
|
|
18234
|
+
# Optional. Indicates if the current request is for Biz edition (= true) or not (
|
18235
|
+
# = false).
|
18236
|
+
# Corresponds to the JSON property `isBiz`
|
18237
|
+
# @return [Boolean]
|
18238
|
+
attr_accessor :is_biz
|
18239
|
+
alias_method :is_biz?, :is_biz
|
18240
|
+
|
17212
18241
|
def initialize(**args)
|
17213
18242
|
update!(**args)
|
17214
18243
|
end
|
@@ -17216,6 +18245,7 @@ module Google
|
|
17216
18245
|
# Update properties of this object
|
17217
18246
|
def update!(**args)
|
17218
18247
|
@accept_biz_qos = args[:accept_biz_qos] if args.key?(:accept_biz_qos)
|
18248
|
+
@is_biz = args[:is_biz] if args.key?(:is_biz)
|
17219
18249
|
end
|
17220
18250
|
end
|
17221
18251
|
|
@@ -19208,7 +20238,8 @@ module Google
|
|
19208
20238
|
# A 0-indexed integer that specifies the current offset (that is, starting
|
19209
20239
|
# result location, amongst the Documents deemed by the API as relevant) in
|
19210
20240
|
# search results. This field is only considered if page_token is unset. If this
|
19211
|
-
# field is negative, an `INVALID_ARGUMENT` is returned.
|
20241
|
+
# field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be
|
20242
|
+
# capped to a reasonable threshold.
|
19212
20243
|
# Corresponds to the JSON property `offset`
|
19213
20244
|
# @return [Fixnum]
|
19214
20245
|
attr_accessor :offset
|
@@ -19361,6 +20392,14 @@ module Google
|
|
19361
20392
|
attr_accessor :safe_search
|
19362
20393
|
alias_method :safe_search?, :safe_search
|
19363
20394
|
|
20395
|
+
# SearchAddonSpec is used to disable add-ons for search as per new repricing
|
20396
|
+
# model. Refer go/vais-repricing-prd. By default if the SearchAddonSpec is not
|
20397
|
+
# specified, we consider that the customer wants to enable them wherever
|
20398
|
+
# applicable.
|
20399
|
+
# Corresponds to the JSON property `searchAddonSpec`
|
20400
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec]
|
20401
|
+
attr_accessor :search_addon_spec
|
20402
|
+
|
19364
20403
|
# Specification for search as you type in search requests.
|
19365
20404
|
# Corresponds to the JSON property `searchAsYouTypeSpec`
|
19366
20405
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec]
|
@@ -19480,6 +20519,7 @@ module Google
|
|
19480
20519
|
@relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
|
19481
20520
|
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
|
19482
20521
|
@safe_search = args[:safe_search] if args.key?(:safe_search)
|
20522
|
+
@search_addon_spec = args[:search_addon_spec] if args.key?(:search_addon_spec)
|
19483
20523
|
@search_as_you_type_spec = args[:search_as_you_type_spec] if args.key?(:search_as_you_type_spec)
|
19484
20524
|
@serving_config = args[:serving_config] if args.key?(:serving_config)
|
19485
20525
|
@session = args[:session] if args.key?(:session)
|
@@ -20292,6 +21332,17 @@ module Google
|
|
20292
21332
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec
|
20293
21333
|
include Google::Apis::Core::Hashable
|
20294
21334
|
|
21335
|
+
# Optional. Allowlist of fields that can be used for natural language filter
|
21336
|
+
# extraction. By default, if this is unspecified, all indexable fields are
|
21337
|
+
# eligible for natural language filter extraction (but are not guaranteed to be
|
21338
|
+
# used). If any fields are specified in allowed_field_names, only the fields
|
21339
|
+
# that are both marked as indexable in the schema and specified in the allowlist
|
21340
|
+
# will be eligible for natural language filter extraction. Note: for multi-
|
21341
|
+
# datastore search, this is not yet supported, and will be ignored.
|
21342
|
+
# Corresponds to the JSON property `allowedFieldNames`
|
21343
|
+
# @return [Array<String>]
|
21344
|
+
attr_accessor :allowed_field_names
|
21345
|
+
|
20295
21346
|
# Optional. Controls behavior of how extracted filters are applied to the search.
|
20296
21347
|
# The default behavior depends on the request. For single datastore structured
|
20297
21348
|
# search, the default is `HARD_FILTER`. For multi-datastore search, the default
|
@@ -20324,6 +21375,7 @@ module Google
|
|
20324
21375
|
|
20325
21376
|
# Update properties of this object
|
20326
21377
|
def update!(**args)
|
21378
|
+
@allowed_field_names = args[:allowed_field_names] if args.key?(:allowed_field_names)
|
20327
21379
|
@extracted_filter_behavior = args[:extracted_filter_behavior] if args.key?(:extracted_filter_behavior)
|
20328
21380
|
@filter_extraction_condition = args[:filter_extraction_condition] if args.key?(:filter_extraction_condition)
|
20329
21381
|
@geo_search_query_detection_field_names = args[:geo_search_query_detection_field_names] if args.key?(:geo_search_query_detection_field_names)
|
@@ -20399,6 +21451,46 @@ module Google
|
|
20399
21451
|
end
|
20400
21452
|
end
|
20401
21453
|
|
21454
|
+
# SearchAddonSpec is used to disable add-ons for search as per new repricing
|
21455
|
+
# model. Refer go/vais-repricing-prd. By default if the SearchAddonSpec is not
|
21456
|
+
# specified, we consider that the customer wants to enable them wherever
|
21457
|
+
# applicable.
|
21458
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec
|
21459
|
+
include Google::Apis::Core::Hashable
|
21460
|
+
|
21461
|
+
# Optional. If true, generative answer add-on is disabled. Generative answer add-
|
21462
|
+
# on includes natural language to filters and simple answers.
|
21463
|
+
# Corresponds to the JSON property `disableGenerativeAnswerAddOn`
|
21464
|
+
# @return [Boolean]
|
21465
|
+
attr_accessor :disable_generative_answer_add_on
|
21466
|
+
alias_method :disable_generative_answer_add_on?, :disable_generative_answer_add_on
|
21467
|
+
|
21468
|
+
# Optional. If true, disables event re-ranking and personalization to optimize
|
21469
|
+
# KPIs & personalize results.
|
21470
|
+
# Corresponds to the JSON property `disableKpiPersonalizationAddOn`
|
21471
|
+
# @return [Boolean]
|
21472
|
+
attr_accessor :disable_kpi_personalization_add_on
|
21473
|
+
alias_method :disable_kpi_personalization_add_on?, :disable_kpi_personalization_add_on
|
21474
|
+
|
21475
|
+
# Optional. If true, semantic add-on is disabled. Semantic add-on includes
|
21476
|
+
# embeddings and jetstream.
|
21477
|
+
# Corresponds to the JSON property `disableSemanticAddOn`
|
21478
|
+
# @return [Boolean]
|
21479
|
+
attr_accessor :disable_semantic_add_on
|
21480
|
+
alias_method :disable_semantic_add_on?, :disable_semantic_add_on
|
21481
|
+
|
21482
|
+
def initialize(**args)
|
21483
|
+
update!(**args)
|
21484
|
+
end
|
21485
|
+
|
21486
|
+
# Update properties of this object
|
21487
|
+
def update!(**args)
|
21488
|
+
@disable_generative_answer_add_on = args[:disable_generative_answer_add_on] if args.key?(:disable_generative_answer_add_on)
|
21489
|
+
@disable_kpi_personalization_add_on = args[:disable_kpi_personalization_add_on] if args.key?(:disable_kpi_personalization_add_on)
|
21490
|
+
@disable_semantic_add_on = args[:disable_semantic_add_on] if args.key?(:disable_semantic_add_on)
|
21491
|
+
end
|
21492
|
+
end
|
21493
|
+
|
20402
21494
|
# Specification for search as you type in search requests.
|
20403
21495
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec
|
20404
21496
|
include Google::Apis::Core::Hashable
|
@@ -24410,6 +25502,12 @@ module Google
|
|
24410
25502
|
attr_accessor :enable_autocomplete
|
24411
25503
|
alias_method :enable_autocomplete?, :enable_autocomplete
|
24412
25504
|
|
25505
|
+
# Optional. If set to true, the widget will enable the create agent button.
|
25506
|
+
# Corresponds to the JSON property `enableCreateAgentButton`
|
25507
|
+
# @return [Boolean]
|
25508
|
+
attr_accessor :enable_create_agent_button
|
25509
|
+
alias_method :enable_create_agent_button?, :enable_create_agent_button
|
25510
|
+
|
24413
25511
|
# Optional. If set to true, the widget will enable people search.
|
24414
25512
|
# Corresponds to the JSON property `enablePeopleSearch`
|
24415
25513
|
# @return [Boolean]
|
@@ -24445,7 +25543,8 @@ module Google
|
|
24445
25543
|
# Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery`
|
24446
25544
|
# * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-
|
24447
25545
|
# chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
24448
|
-
# personalization-memory` -
|
25546
|
+
# personalization-memory` * `disable-image-generation` * `disable-video-
|
25547
|
+
# generation`
|
24449
25548
|
# Corresponds to the JSON property `features`
|
24450
25549
|
# @return [Hash<String,String>]
|
24451
25550
|
attr_accessor :features
|
@@ -24476,6 +25575,7 @@ module Google
|
|
24476
25575
|
@default_search_request_order_by = args[:default_search_request_order_by] if args.key?(:default_search_request_order_by)
|
24477
25576
|
@disable_user_events_collection = args[:disable_user_events_collection] if args.key?(:disable_user_events_collection)
|
24478
25577
|
@enable_autocomplete = args[:enable_autocomplete] if args.key?(:enable_autocomplete)
|
25578
|
+
@enable_create_agent_button = args[:enable_create_agent_button] if args.key?(:enable_create_agent_button)
|
24479
25579
|
@enable_people_search = args[:enable_people_search] if args.key?(:enable_people_search)
|
24480
25580
|
@enable_quality_feedback = args[:enable_quality_feedback] if args.key?(:enable_quality_feedback)
|
24481
25581
|
@enable_safe_search = args[:enable_safe_search] if args.key?(:enable_safe_search)
|
@@ -26207,6 +27307,12 @@ module Google
|
|
26207
27307
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaEngineCommonConfig]
|
26208
27308
|
attr_accessor :common_config
|
26209
27309
|
|
27310
|
+
# Optional. Configuration for configurable billing approach. See go/vais-
|
27311
|
+
# repricing-billing-dd for more details.
|
27312
|
+
# Corresponds to the JSON property `configurableBillingApproach`
|
27313
|
+
# @return [String]
|
27314
|
+
attr_accessor :configurable_billing_approach
|
27315
|
+
|
26210
27316
|
# Output only. Timestamp the Recommendation Engine was created at.
|
26211
27317
|
# Corresponds to the JSON property `createTime`
|
26212
27318
|
# @return [String]
|
@@ -26239,7 +27345,8 @@ module Google
|
|
26239
27345
|
# settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
|
26240
27346
|
# gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
|
26241
27347
|
# org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
|
26242
|
-
# personalization-memory` -
|
27348
|
+
# personalization-memory` * `disable-image-generation` * `disable-video-
|
27349
|
+
# generation`
|
26243
27350
|
# Corresponds to the JSON property `features`
|
26244
27351
|
# @return [Hash<String,String>]
|
26245
27352
|
attr_accessor :features
|
@@ -26290,6 +27397,7 @@ module Google
|
|
26290
27397
|
@chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
|
26291
27398
|
@chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
|
26292
27399
|
@common_config = args[:common_config] if args.key?(:common_config)
|
27400
|
+
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
26293
27401
|
@create_time = args[:create_time] if args.key?(:create_time)
|
26294
27402
|
@data_store_ids = args[:data_store_ids] if args.key?(:data_store_ids)
|
26295
27403
|
@disable_analytics = args[:disable_analytics] if args.key?(:disable_analytics)
|
@@ -27410,6 +28518,11 @@ module Google
|
|
27410
28518
|
# @return [String]
|
27411
28519
|
attr_accessor :create_time
|
27412
28520
|
|
28521
|
+
# Customer provided configurations.
|
28522
|
+
# Corresponds to the JSON property `customerProvidedConfig`
|
28523
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig]
|
28524
|
+
attr_accessor :customer_provided_config
|
28525
|
+
|
27413
28526
|
# Output only. Full resource name of the project, for example `projects/`project`
|
27414
28527
|
# `. Note that when making requests, project number and project id are both
|
27415
28528
|
# acceptable, but the server will always respond in project number.
|
@@ -27435,12 +28548,84 @@ module Google
|
|
27435
28548
|
# Update properties of this object
|
27436
28549
|
def update!(**args)
|
27437
28550
|
@create_time = args[:create_time] if args.key?(:create_time)
|
28551
|
+
@customer_provided_config = args[:customer_provided_config] if args.key?(:customer_provided_config)
|
27438
28552
|
@name = args[:name] if args.key?(:name)
|
27439
28553
|
@provision_completion_time = args[:provision_completion_time] if args.key?(:provision_completion_time)
|
27440
28554
|
@service_terms_map = args[:service_terms_map] if args.key?(:service_terms_map)
|
27441
28555
|
end
|
27442
28556
|
end
|
27443
28557
|
|
28558
|
+
# Customer provided configurations.
|
28559
|
+
class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig
|
28560
|
+
include Google::Apis::Core::Hashable
|
28561
|
+
|
28562
|
+
# Configuration for NotebookLM.
|
28563
|
+
# Corresponds to the JSON property `notebooklmConfig`
|
28564
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig]
|
28565
|
+
attr_accessor :notebooklm_config
|
28566
|
+
|
28567
|
+
def initialize(**args)
|
28568
|
+
update!(**args)
|
28569
|
+
end
|
28570
|
+
|
28571
|
+
# Update properties of this object
|
28572
|
+
def update!(**args)
|
28573
|
+
@notebooklm_config = args[:notebooklm_config] if args.key?(:notebooklm_config)
|
28574
|
+
end
|
28575
|
+
end
|
28576
|
+
|
28577
|
+
# Configuration for NotebookLM.
|
28578
|
+
class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig
|
28579
|
+
include Google::Apis::Core::Hashable
|
28580
|
+
|
28581
|
+
# Configuration for customer defined Model Armor templates to be used for
|
28582
|
+
# sanitizing user prompts and LLM responses.
|
28583
|
+
# Corresponds to the JSON property `modelArmorConfig`
|
28584
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
|
28585
|
+
attr_accessor :model_armor_config
|
28586
|
+
|
28587
|
+
def initialize(**args)
|
28588
|
+
update!(**args)
|
28589
|
+
end
|
28590
|
+
|
28591
|
+
# Update properties of this object
|
28592
|
+
def update!(**args)
|
28593
|
+
@model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
|
28594
|
+
end
|
28595
|
+
end
|
28596
|
+
|
28597
|
+
# Configuration for customer defined Model Armor templates to be used for
|
28598
|
+
# sanitizing user prompts and LLM responses.
|
28599
|
+
class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig
|
28600
|
+
include Google::Apis::Core::Hashable
|
28601
|
+
|
28602
|
+
# Optional. The resource name of the Model Armor Template for sanitizing LLM
|
28603
|
+
# responses. Format: projects/`project`/locations/`location`/templates/`
|
28604
|
+
# template_id` If not specified, no sanitization will be applied to the LLM
|
28605
|
+
# response.
|
28606
|
+
# Corresponds to the JSON property `responseTemplate`
|
28607
|
+
# @return [String]
|
28608
|
+
attr_accessor :response_template
|
28609
|
+
|
28610
|
+
# Optional. The resource name of the Model Armor Template for sanitizing user
|
28611
|
+
# prompts. Format: projects/`project`/locations/`location`/templates/`
|
28612
|
+
# template_id` If not specified, no sanitization will be applied to the user
|
28613
|
+
# prompt.
|
28614
|
+
# Corresponds to the JSON property `userPromptTemplate`
|
28615
|
+
# @return [String]
|
28616
|
+
attr_accessor :user_prompt_template
|
28617
|
+
|
28618
|
+
def initialize(**args)
|
28619
|
+
update!(**args)
|
28620
|
+
end
|
28621
|
+
|
28622
|
+
# Update properties of this object
|
28623
|
+
def update!(**args)
|
28624
|
+
@response_template = args[:response_template] if args.key?(:response_template)
|
28625
|
+
@user_prompt_template = args[:user_prompt_template] if args.key?(:user_prompt_template)
|
28626
|
+
end
|
28627
|
+
end
|
28628
|
+
|
27444
28629
|
# Metadata about the terms of service.
|
27445
28630
|
class GoogleCloudDiscoveryengineV1betaProjectServiceTerms
|
27446
28631
|
include Google::Apis::Core::Hashable
|
@@ -27955,7 +29140,8 @@ module Google
|
|
27955
29140
|
# A 0-indexed integer that specifies the current offset (that is, starting
|
27956
29141
|
# result location, amongst the Documents deemed by the API as relevant) in
|
27957
29142
|
# search results. This field is only considered if page_token is unset. If this
|
27958
|
-
# field is negative, an `INVALID_ARGUMENT` is returned.
|
29143
|
+
# field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be
|
29144
|
+
# capped to a reasonable threshold.
|
27959
29145
|
# Corresponds to the JSON property `offset`
|
27960
29146
|
# @return [Fixnum]
|
27961
29147
|
attr_accessor :offset
|
@@ -28108,6 +29294,14 @@ module Google
|
|
28108
29294
|
attr_accessor :safe_search
|
28109
29295
|
alias_method :safe_search?, :safe_search
|
28110
29296
|
|
29297
|
+
# SearchAddonSpec is used to disable add-ons for search as per new repricing
|
29298
|
+
# model. Refer go/vais-repricing-prd. By default if the SearchAddonSpec is not
|
29299
|
+
# specified, we consider that the customer wants to enable them wherever
|
29300
|
+
# applicable.
|
29301
|
+
# Corresponds to the JSON property `searchAddonSpec`
|
29302
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec]
|
29303
|
+
attr_accessor :search_addon_spec
|
29304
|
+
|
28111
29305
|
# Specification for search as you type in search requests.
|
28112
29306
|
# Corresponds to the JSON property `searchAsYouTypeSpec`
|
28113
29307
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec]
|
@@ -28217,6 +29411,7 @@ module Google
|
|
28217
29411
|
@relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
|
28218
29412
|
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
|
28219
29413
|
@safe_search = args[:safe_search] if args.key?(:safe_search)
|
29414
|
+
@search_addon_spec = args[:search_addon_spec] if args.key?(:search_addon_spec)
|
28220
29415
|
@search_as_you_type_spec = args[:search_as_you_type_spec] if args.key?(:search_as_you_type_spec)
|
28221
29416
|
@serving_config = args[:serving_config] if args.key?(:serving_config)
|
28222
29417
|
@session = args[:session] if args.key?(:session)
|
@@ -29028,6 +30223,17 @@ module Google
|
|
29028
30223
|
class GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec
|
29029
30224
|
include Google::Apis::Core::Hashable
|
29030
30225
|
|
30226
|
+
# Optional. Allowlist of fields that can be used for natural language filter
|
30227
|
+
# extraction. By default, if this is unspecified, all indexable fields are
|
30228
|
+
# eligible for natural language filter extraction (but are not guaranteed to be
|
30229
|
+
# used). If any fields are specified in allowed_field_names, only the fields
|
30230
|
+
# that are both marked as indexable in the schema and specified in the allowlist
|
30231
|
+
# will be eligible for natural language filter extraction. Note: for multi-
|
30232
|
+
# datastore search, this is not yet supported, and will be ignored.
|
30233
|
+
# Corresponds to the JSON property `allowedFieldNames`
|
30234
|
+
# @return [Array<String>]
|
30235
|
+
attr_accessor :allowed_field_names
|
30236
|
+
|
29031
30237
|
# Optional. Controls behavior of how extracted filters are applied to the search.
|
29032
30238
|
# The default behavior depends on the request. For single datastore structured
|
29033
30239
|
# search, the default is `HARD_FILTER`. For multi-datastore search, the default
|
@@ -29060,6 +30266,7 @@ module Google
|
|
29060
30266
|
|
29061
30267
|
# Update properties of this object
|
29062
30268
|
def update!(**args)
|
30269
|
+
@allowed_field_names = args[:allowed_field_names] if args.key?(:allowed_field_names)
|
29063
30270
|
@extracted_filter_behavior = args[:extracted_filter_behavior] if args.key?(:extracted_filter_behavior)
|
29064
30271
|
@filter_extraction_condition = args[:filter_extraction_condition] if args.key?(:filter_extraction_condition)
|
29065
30272
|
@geo_search_query_detection_field_names = args[:geo_search_query_detection_field_names] if args.key?(:geo_search_query_detection_field_names)
|
@@ -29135,6 +30342,46 @@ module Google
|
|
29135
30342
|
end
|
29136
30343
|
end
|
29137
30344
|
|
30345
|
+
# SearchAddonSpec is used to disable add-ons for search as per new repricing
|
30346
|
+
# model. Refer go/vais-repricing-prd. By default if the SearchAddonSpec is not
|
30347
|
+
# specified, we consider that the customer wants to enable them wherever
|
30348
|
+
# applicable.
|
30349
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec
|
30350
|
+
include Google::Apis::Core::Hashable
|
30351
|
+
|
30352
|
+
# Optional. If true, generative answer add-on is disabled. Generative answer add-
|
30353
|
+
# on includes natural language to filters and simple answers.
|
30354
|
+
# Corresponds to the JSON property `disableGenerativeAnswerAddOn`
|
30355
|
+
# @return [Boolean]
|
30356
|
+
attr_accessor :disable_generative_answer_add_on
|
30357
|
+
alias_method :disable_generative_answer_add_on?, :disable_generative_answer_add_on
|
30358
|
+
|
30359
|
+
# Optional. If true, disables event re-ranking and personalization to optimize
|
30360
|
+
# KPIs & personalize results.
|
30361
|
+
# Corresponds to the JSON property `disableKpiPersonalizationAddOn`
|
30362
|
+
# @return [Boolean]
|
30363
|
+
attr_accessor :disable_kpi_personalization_add_on
|
30364
|
+
alias_method :disable_kpi_personalization_add_on?, :disable_kpi_personalization_add_on
|
30365
|
+
|
30366
|
+
# Optional. If true, semantic add-on is disabled. Semantic add-on includes
|
30367
|
+
# embeddings and jetstream.
|
30368
|
+
# Corresponds to the JSON property `disableSemanticAddOn`
|
30369
|
+
# @return [Boolean]
|
30370
|
+
attr_accessor :disable_semantic_add_on
|
30371
|
+
alias_method :disable_semantic_add_on?, :disable_semantic_add_on
|
30372
|
+
|
30373
|
+
def initialize(**args)
|
30374
|
+
update!(**args)
|
30375
|
+
end
|
30376
|
+
|
30377
|
+
# Update properties of this object
|
30378
|
+
def update!(**args)
|
30379
|
+
@disable_generative_answer_add_on = args[:disable_generative_answer_add_on] if args.key?(:disable_generative_answer_add_on)
|
30380
|
+
@disable_kpi_personalization_add_on = args[:disable_kpi_personalization_add_on] if args.key?(:disable_kpi_personalization_add_on)
|
30381
|
+
@disable_semantic_add_on = args[:disable_semantic_add_on] if args.key?(:disable_semantic_add_on)
|
30382
|
+
end
|
30383
|
+
end
|
30384
|
+
|
29138
30385
|
# Specification for search as you type in search requests.
|
29139
30386
|
class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec
|
29140
30387
|
include Google::Apis::Core::Hashable
|
@@ -29840,18 +31087,16 @@ module Google
|
|
29840
31087
|
class GoogleCloudNotebooklmV1alphaAudioOverview
|
29841
31088
|
include Google::Apis::Core::Hashable
|
29842
31089
|
|
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
31090
|
# Output only. Unique ID of the audio overview.
|
29851
31091
|
# Corresponds to the JSON property `audioOverviewId`
|
29852
31092
|
# @return [String]
|
29853
31093
|
attr_accessor :audio_overview_id
|
29854
31094
|
|
31095
|
+
# Options used during audio overview generation.
|
31096
|
+
# Corresponds to the JSON property `generationOptions`
|
31097
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaAudioOverviewGenerationOptions]
|
31098
|
+
attr_accessor :generation_options
|
31099
|
+
|
29855
31100
|
# The language code of the generated audio overview. Use the BCP 47 language
|
29856
31101
|
# code (e.g. "en", "es", "hi", etc.).
|
29857
31102
|
# Corresponds to the JSON property `languageCode`
|
@@ -29871,11 +31116,6 @@ module Google
|
|
29871
31116
|
# @return [String]
|
29872
31117
|
attr_accessor :name
|
29873
31118
|
|
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
31119
|
# The status of the audio overview.
|
29880
31120
|
# Corresponds to the JSON property `status`
|
29881
31121
|
# @return [String]
|
@@ -29887,12 +31127,11 @@ module Google
|
|
29887
31127
|
|
29888
31128
|
# Update properties of this object
|
29889
31129
|
def update!(**args)
|
29890
|
-
@audio = args[:audio] if args.key?(:audio)
|
29891
31130
|
@audio_overview_id = args[:audio_overview_id] if args.key?(:audio_overview_id)
|
31131
|
+
@generation_options = args[:generation_options] if args.key?(:generation_options)
|
29892
31132
|
@language_code = args[:language_code] if args.key?(:language_code)
|
29893
31133
|
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
29894
31134
|
@name = args[:name] if args.key?(:name)
|
29895
|
-
@playback_url = args[:playback_url] if args.key?(:playback_url)
|
29896
31135
|
@status = args[:status] if args.key?(:status)
|
29897
31136
|
end
|
29898
31137
|
end
|