google-apis-discoveryengine_v1 0.51.0 → 0.53.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.
@@ -1459,6 +1459,56 @@ module Google
1459
1459
  end
1460
1460
  end
1461
1461
 
1462
+ # Informations to support actions on the connector.
1463
+ class GoogleCloudDiscoveryengineV1ActionConfig
1464
+ include Google::Apis::Core::Hashable
1465
+
1466
+ # Optional. Action parameters in structured json format.
1467
+ # Corresponds to the JSON property `actionParams`
1468
+ # @return [Hash<String,Object>]
1469
+ attr_accessor :action_params
1470
+
1471
+ # Output only. The connector contains the necessary parameters and is configured
1472
+ # to support actions.
1473
+ # Corresponds to the JSON property `isActionConfigured`
1474
+ # @return [Boolean]
1475
+ attr_accessor :is_action_configured
1476
+ alias_method :is_action_configured?, :is_action_configured
1477
+
1478
+ # Optional. Action parameters in json string format.
1479
+ # Corresponds to the JSON property `jsonActionParams`
1480
+ # @return [String]
1481
+ attr_accessor :json_action_params
1482
+
1483
+ # Optional. The Service Directory resource name (projects/*/locations/*/
1484
+ # namespaces/*/services/*) representing a VPC network endpoint used to connect
1485
+ # to the data source's `instance_uri`, defined in DataConnector.params. Required
1486
+ # when VPC Service Controls are enabled.
1487
+ # Corresponds to the JSON property `serviceName`
1488
+ # @return [String]
1489
+ attr_accessor :service_name
1490
+
1491
+ # Optional. Whether to use static secrets for the connector. If true, the
1492
+ # secrets provided in the action_params will be ignored.
1493
+ # Corresponds to the JSON property `useStaticSecrets`
1494
+ # @return [Boolean]
1495
+ attr_accessor :use_static_secrets
1496
+ alias_method :use_static_secrets?, :use_static_secrets
1497
+
1498
+ def initialize(**args)
1499
+ update!(**args)
1500
+ end
1501
+
1502
+ # Update properties of this object
1503
+ def update!(**args)
1504
+ @action_params = args[:action_params] if args.key?(:action_params)
1505
+ @is_action_configured = args[:is_action_configured] if args.key?(:is_action_configured)
1506
+ @json_action_params = args[:json_action_params] if args.key?(:json_action_params)
1507
+ @service_name = args[:service_name] if args.key?(:service_name)
1508
+ @use_static_secrets = args[:use_static_secrets] if args.key?(:use_static_secrets)
1509
+ end
1510
+ end
1511
+
1462
1512
  # Request message for CompletionService.AdvancedCompleteQuery method. .
1463
1513
  class GoogleCloudDiscoveryengineV1AdvancedCompleteQueryRequest
1464
1514
  include Google::Apis::Core::Hashable
@@ -1891,6 +1941,56 @@ module Google
1891
1941
  end
1892
1942
  end
1893
1943
 
1944
+ # The connector level alert config.
1945
+ class GoogleCloudDiscoveryengineV1AlertPolicyConfig
1946
+ include Google::Apis::Core::Hashable
1947
+
1948
+ # Optional. The enrollment states of each alert.
1949
+ # Corresponds to the JSON property `alertEnrollments`
1950
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment>]
1951
+ attr_accessor :alert_enrollments
1952
+
1953
+ # Immutable. The fully qualified resource name of the AlertPolicy.
1954
+ # Corresponds to the JSON property `alertPolicyName`
1955
+ # @return [String]
1956
+ attr_accessor :alert_policy_name
1957
+
1958
+ def initialize(**args)
1959
+ update!(**args)
1960
+ end
1961
+
1962
+ # Update properties of this object
1963
+ def update!(**args)
1964
+ @alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
1965
+ @alert_policy_name = args[:alert_policy_name] if args.key?(:alert_policy_name)
1966
+ end
1967
+ end
1968
+
1969
+ # The alert enrollment status.
1970
+ class GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment
1971
+ include Google::Apis::Core::Hashable
1972
+
1973
+ # Immutable. The id of an alert.
1974
+ # Corresponds to the JSON property `alertId`
1975
+ # @return [String]
1976
+ attr_accessor :alert_id
1977
+
1978
+ # Required. The enrollment status of a customer.
1979
+ # Corresponds to the JSON property `enrollState`
1980
+ # @return [String]
1981
+ attr_accessor :enroll_state
1982
+
1983
+ def initialize(**args)
1984
+ update!(**args)
1985
+ end
1986
+
1987
+ # Update properties of this object
1988
+ def update!(**args)
1989
+ @alert_id = args[:alert_id] if args.key?(:alert_id)
1990
+ @enroll_state = args[:enroll_state] if args.key?(:enroll_state)
1991
+ end
1992
+ end
1993
+
1894
1994
  # AlloyDB source import data from.
1895
1995
  class GoogleCloudDiscoveryengineV1AlloyDbSource
1896
1996
  include Google::Apis::Core::Hashable
@@ -4253,6 +4353,12 @@ module Google
4253
4353
  # @return [String]
4254
4354
  attr_accessor :domain
4255
4355
 
4356
+ # The mime type of the document. https://www.iana.org/assignments/media-types/
4357
+ # media-types.xhtml.
4358
+ # Corresponds to the JSON property `mimeType`
4359
+ # @return [String]
4360
+ attr_accessor :mime_type
4361
+
4256
4362
  # Page identifier.
4257
4363
  # Corresponds to the JSON property `pageIdentifier`
4258
4364
  # @return [String]
@@ -4277,6 +4383,7 @@ module Google
4277
4383
  def update!(**args)
4278
4384
  @document = args[:document] if args.key?(:document)
4279
4385
  @domain = args[:domain] if args.key?(:domain)
4386
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
4280
4387
  @page_identifier = args[:page_identifier] if args.key?(:page_identifier)
4281
4388
  @title = args[:title] if args.key?(:title)
4282
4389
  @uri = args[:uri] if args.key?(:uri)
@@ -4374,6 +4481,31 @@ module Google
4374
4481
  end
4375
4482
  end
4376
4483
 
4484
+ # The configuration for the BAP connector.
4485
+ class GoogleCloudDiscoveryengineV1BapConfig
4486
+ include Google::Apis::Core::Hashable
4487
+
4488
+ # Optional. The actions enabled on the associated BAP connection.
4489
+ # Corresponds to the JSON property `enabledActions`
4490
+ # @return [Array<String>]
4491
+ attr_accessor :enabled_actions
4492
+
4493
+ # Required. The supported connector modes for the associated BAP connection.
4494
+ # Corresponds to the JSON property `supportedConnectorModes`
4495
+ # @return [Array<String>]
4496
+ attr_accessor :supported_connector_modes
4497
+
4498
+ def initialize(**args)
4499
+ update!(**args)
4500
+ end
4501
+
4502
+ # Update properties of this object
4503
+ def update!(**args)
4504
+ @enabled_actions = args[:enabled_actions] if args.key?(:enabled_actions)
4505
+ @supported_connector_modes = args[:supported_connector_modes] if args.key?(:supported_connector_modes)
4506
+ end
4507
+ end
4508
+
4377
4509
  # Metadata related to the progress of the SiteSearchEngineService.
4378
4510
  # BatchCreateTargetSites operation. This will be returned by the google.
4379
4511
  # longrunning.Operation.metadata field.
@@ -5455,6 +5587,42 @@ module Google
5455
5587
  end
5456
5588
  end
5457
5589
 
5590
+ # Collection is a container for configuring resources and access to a set of
5591
+ # DataStores.
5592
+ class GoogleCloudDiscoveryengineV1Collection
5593
+ include Google::Apis::Core::Hashable
5594
+
5595
+ # Output only. Timestamp the Collection was created at.
5596
+ # Corresponds to the JSON property `createTime`
5597
+ # @return [String]
5598
+ attr_accessor :create_time
5599
+
5600
+ # Required. The Collection display name. This field must be a UTF-8 encoded
5601
+ # string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT
5602
+ # error is returned.
5603
+ # Corresponds to the JSON property `displayName`
5604
+ # @return [String]
5605
+ attr_accessor :display_name
5606
+
5607
+ # Immutable. The full resource name of the Collection. Format: `projects/`
5608
+ # project`/locations/`location`/collections/`collection_id``. This field must be
5609
+ # a UTF-8 encoded string with a length limit of 1024 characters.
5610
+ # Corresponds to the JSON property `name`
5611
+ # @return [String]
5612
+ attr_accessor :name
5613
+
5614
+ def initialize(**args)
5615
+ update!(**args)
5616
+ end
5617
+
5618
+ # Update properties of this object
5619
+ def update!(**args)
5620
+ @create_time = args[:create_time] if args.key?(:create_time)
5621
+ @display_name = args[:display_name] if args.key?(:display_name)
5622
+ @name = args[:name] if args.key?(:name)
5623
+ end
5624
+ end
5625
+
5458
5626
  # Response message for CompletionService.CompleteQuery method.
5459
5627
  class GoogleCloudDiscoveryengineV1CompleteQueryResponse
5460
5628
  include Google::Apis::Core::Hashable
@@ -6476,10 +6644,528 @@ module Google
6476
6644
  # @return [String]
6477
6645
  attr_accessor :name
6478
6646
 
6479
- # Timestamp the model training was initiated.
6480
- # Corresponds to the JSON property `trainingStartTime`
6647
+ # Timestamp the model training was initiated.
6648
+ # Corresponds to the JSON property `trainingStartTime`
6649
+ # @return [String]
6650
+ attr_accessor :training_start_time
6651
+
6652
+ def initialize(**args)
6653
+ update!(**args)
6654
+ end
6655
+
6656
+ # Update properties of this object
6657
+ def update!(**args)
6658
+ @create_time = args[:create_time] if args.key?(:create_time)
6659
+ @display_name = args[:display_name] if args.key?(:display_name)
6660
+ @error_message = args[:error_message] if args.key?(:error_message)
6661
+ @metrics = args[:metrics] if args.key?(:metrics)
6662
+ @model_state = args[:model_state] if args.key?(:model_state)
6663
+ @model_version = args[:model_version] if args.key?(:model_version)
6664
+ @name = args[:name] if args.key?(:name)
6665
+ @training_start_time = args[:training_start_time] if args.key?(:training_start_time)
6666
+ end
6667
+ end
6668
+
6669
+ # Manages the connection to external data sources for all data stores grouped
6670
+ # under a Collection. It's a singleton resource of Collection. The
6671
+ # initialization is only supported through DataConnectorService.
6672
+ # SetUpDataConnector method, which will create a new Collection and initialize
6673
+ # its DataConnector.
6674
+ class GoogleCloudDiscoveryengineV1DataConnector
6675
+ include Google::Apis::Core::Hashable
6676
+
6677
+ # Optional. Whether the connector will be created with an ACL config. Currently
6678
+ # this field only affects Cloud Storage and BigQuery connectors.
6679
+ # Corresponds to the JSON property `aclEnabled`
6680
+ # @return [Boolean]
6681
+ attr_accessor :acl_enabled
6682
+ alias_method :acl_enabled?, :acl_enabled
6683
+
6684
+ # Informations to support actions on the connector.
6685
+ # Corresponds to the JSON property `actionConfig`
6686
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ActionConfig]
6687
+ attr_accessor :action_config
6688
+
6689
+ # Output only. State of the action connector. This reflects whether the action
6690
+ # connector is initializing, active or has encountered errors.
6691
+ # Corresponds to the JSON property `actionState`
6692
+ # @return [String]
6693
+ attr_accessor :action_state
6694
+
6695
+ # Optional. The connector level alert config.
6696
+ # Corresponds to the JSON property `alertPolicyConfigs`
6697
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AlertPolicyConfig>]
6698
+ attr_accessor :alert_policy_configs
6699
+
6700
+ # Optional. Indicates whether the connector is disabled for auto run. It can be
6701
+ # used to pause periodical and real time sync. Update: with the introduction of
6702
+ # incremental_sync_disabled, auto_run_disabled is used to pause/disable only
6703
+ # full syncs
6704
+ # Corresponds to the JSON property `autoRunDisabled`
6705
+ # @return [Boolean]
6706
+ attr_accessor :auto_run_disabled
6707
+ alias_method :auto_run_disabled?, :auto_run_disabled
6708
+
6709
+ # The configuration for the BAP connector.
6710
+ # Corresponds to the JSON property `bapConfig`
6711
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BapConfig]
6712
+ attr_accessor :bap_config
6713
+
6714
+ # Output only. User actions that must be completed before the connector can
6715
+ # start syncing data.
6716
+ # Corresponds to the JSON property `blockingReasons`
6717
+ # @return [Array<String>]
6718
+ attr_accessor :blocking_reasons
6719
+
6720
+ # Optional. The modes enabled for this connector. Default state is
6721
+ # CONNECTOR_MODE_UNSPECIFIED.
6722
+ # Corresponds to the JSON property `connectorModes`
6723
+ # @return [Array<String>]
6724
+ attr_accessor :connector_modes
6725
+
6726
+ # Output only. The type of connector. Each source can only map to one type. For
6727
+ # example, salesforce, confluence and jira have THIRD_PARTY connector type. It
6728
+ # is not mutable once set by system.
6729
+ # Corresponds to the JSON property `connectorType`
6730
+ # @return [String]
6731
+ attr_accessor :connector_type
6732
+
6733
+ # Optional. Whether the END USER AUTHENTICATION connector is created in SaaS.
6734
+ # Corresponds to the JSON property `createEuaSaas`
6735
+ # @return [Boolean]
6736
+ attr_accessor :create_eua_saas
6737
+ alias_method :create_eua_saas?, :create_eua_saas
6738
+
6739
+ # Output only. Timestamp the DataConnector was created at.
6740
+ # Corresponds to the JSON property `createTime`
6741
+ # @return [String]
6742
+ attr_accessor :create_time
6743
+
6744
+ # Required. The name of the data source. Supported values: `salesforce`, `jira`,
6745
+ # `confluence`, `bigquery`.
6746
+ # Corresponds to the JSON property `dataSource`
6747
+ # @return [String]
6748
+ attr_accessor :data_source
6749
+
6750
+ # Optional. Any target destinations used to connect to third-party services.
6751
+ # Corresponds to the JSON property `destinationConfigs`
6752
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DestinationConfig>]
6753
+ attr_accessor :destination_configs
6754
+
6755
+ # Any params and credentials used specifically for EUA connectors.
6756
+ # Corresponds to the JSON property `endUserConfig`
6757
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig]
6758
+ attr_accessor :end_user_config
6759
+
6760
+ # List of entities from the connected data source to ingest.
6761
+ # Corresponds to the JSON property `entities`
6762
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnectorSourceEntity>]
6763
+ attr_accessor :entities
6764
+
6765
+ # Output only. The errors from initialization or from the latest connector run.
6766
+ # Corresponds to the JSON property `errors`
6767
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleRpcStatus>]
6768
+ attr_accessor :errors
6769
+
6770
+ # Any params and credentials used specifically for hybrid connectors supporting
6771
+ # FEDERATED mode.
6772
+ # Corresponds to the JSON property `federatedConfig`
6773
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig]
6774
+ attr_accessor :federated_config
6775
+
6776
+ # Optional. If the connector is a hybrid connector, determines whether ingestion
6777
+ # is enabled and appropriate resources are provisioned during connector creation.
6778
+ # If the connector is not a hybrid connector, this field is ignored.
6779
+ # Corresponds to the JSON property `hybridIngestionDisabled`
6780
+ # @return [Boolean]
6781
+ attr_accessor :hybrid_ingestion_disabled
6782
+ alias_method :hybrid_ingestion_disabled?, :hybrid_ingestion_disabled
6783
+
6784
+ # The refresh interval to sync the Access Control List information for the
6785
+ # documents ingested by this connector. If not set, the access control list will
6786
+ # be refreshed at the default interval of 30 minutes. The identity refresh
6787
+ # interval can be at least 30 minutes and at most 7 days.
6788
+ # Corresponds to the JSON property `identityRefreshInterval`
6789
+ # @return [String]
6790
+ attr_accessor :identity_refresh_interval
6791
+
6792
+ # The configuration for the identity data synchronization runs.
6793
+ # Corresponds to the JSON property `identityScheduleConfig`
6794
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1IdentityScheduleConfig]
6795
+ attr_accessor :identity_schedule_config
6796
+
6797
+ # Optional. The refresh interval specifically for incremental data syncs. If
6798
+ # unset, incremental syncs will use the default from env, set to 3hrs. The
6799
+ # minimum is 30 minutes and maximum is 7 days. Applicable to only 3P connectors.
6800
+ # When the refresh interval is set to the same value as the incremental refresh
6801
+ # interval, incremental sync will be disabled.
6802
+ # Corresponds to the JSON property `incrementalRefreshInterval`
6803
+ # @return [String]
6804
+ attr_accessor :incremental_refresh_interval
6805
+
6806
+ # Optional. Indicates whether incremental syncs are paused for this connector.
6807
+ # This is independent of auto_run_disabled. Applicable to only 3P connectors.
6808
+ # When the refresh interval is set to the same value as the incremental refresh
6809
+ # interval, incremental sync will be disabled, i.e. set to true.
6810
+ # Corresponds to the JSON property `incrementalSyncDisabled`
6811
+ # @return [Boolean]
6812
+ attr_accessor :incremental_sync_disabled
6813
+ alias_method :incremental_sync_disabled?, :incremental_sync_disabled
6814
+
6815
+ # Required data connector parameters in json string format.
6816
+ # Corresponds to the JSON property `jsonParams`
6817
+ # @return [String]
6818
+ attr_accessor :json_params
6819
+
6820
+ # Input only. The KMS key to be used to protect the DataStores managed by this
6821
+ # connector. Must be set for requests that need to comply with CMEK Org Policy
6822
+ # protections. If this field is set and processed successfully, the DataStores
6823
+ # created by this connector will be protected by the KMS key.
6824
+ # Corresponds to the JSON property `kmsKeyName`
6825
+ # @return [String]
6826
+ attr_accessor :kms_key_name
6827
+
6828
+ # Output only. For periodic connectors only, the last time a data sync was
6829
+ # completed.
6830
+ # Corresponds to the JSON property `lastSyncTime`
6831
+ # @return [String]
6832
+ attr_accessor :last_sync_time
6833
+
6834
+ # Output only. The most recent timestamp when this DataConnector was paused,
6835
+ # affecting all functionalities such as data synchronization. Pausing a
6836
+ # connector has the following effects: - All functionalities, including data
6837
+ # synchronization, are halted. - Any ongoing data synchronization job will be
6838
+ # canceled. - No future data synchronization runs will be scheduled nor can be
6839
+ # triggered.
6840
+ # Corresponds to the JSON property `latestPauseTime`
6841
+ # @return [String]
6842
+ attr_accessor :latest_pause_time
6843
+
6844
+ # Output only. The full resource name of the Data Connector. Format: `projects/*/
6845
+ # locations/*/collections/*/dataConnector`.
6846
+ # Corresponds to the JSON property `name`
6847
+ # @return [String]
6848
+ attr_accessor :name
6849
+
6850
+ # Represents civil time (or occasionally physical time). This type can represent
6851
+ # a civil time in one of a few possible ways: * When utc_offset is set and
6852
+ # time_zone is unset: a civil time on a calendar day with a particular offset
6853
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
6854
+ # calendar day in a particular time zone. * When neither time_zone nor
6855
+ # utc_offset is set: a civil time on a calendar day in local time. The date is
6856
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
6857
+ # the DateTime is considered not to have a specific year, month, or day
6858
+ # respectively. This type may also be used to represent a physical time if all
6859
+ # the date and time fields are set and either case of the `time_offset` oneof is
6860
+ # set. Consider using `Timestamp` message for physical time instead. If your use
6861
+ # case also would like to store the user's timezone, that can be done in another
6862
+ # field. This type is more flexible than some applications may want. Make sure
6863
+ # to document and validate your application's limitations.
6864
+ # Corresponds to the JSON property `nextSyncTime`
6865
+ # @return [Google::Apis::DiscoveryengineV1::GoogleTypeDateTime]
6866
+ attr_accessor :next_sync_time
6867
+
6868
+ # Required data connector parameters in structured json format.
6869
+ # Corresponds to the JSON property `params`
6870
+ # @return [Hash<String,Object>]
6871
+ attr_accessor :params
6872
+
6873
+ # Output only. The tenant project ID associated with private connectivity
6874
+ # connectors. This project must be allowlisted by in order for the connector to
6875
+ # function.
6876
+ # Corresponds to the JSON property `privateConnectivityProjectId`
6877
+ # @return [String]
6878
+ attr_accessor :private_connectivity_project_id
6879
+
6880
+ # Output only. real-time sync state
6881
+ # Corresponds to the JSON property `realtimeState`
6882
+ # @return [String]
6883
+ attr_accessor :realtime_state
6884
+
6885
+ # The configuration for realtime sync to store additional params for realtime
6886
+ # sync.
6887
+ # Corresponds to the JSON property `realtimeSyncConfig`
6888
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig]
6889
+ attr_accessor :realtime_sync_config
6890
+
6891
+ # Required. The refresh interval for data sync. If duration is set to 0, the
6892
+ # data will be synced in real time. The streaming feature is not supported yet.
6893
+ # The minimum is 30 minutes and maximum is 7 days. When the refresh interval is
6894
+ # set to the same value as the incremental refresh interval, incremental sync
6895
+ # will be disabled.
6896
+ # Corresponds to the JSON property `refreshInterval`
6897
+ # @return [String]
6898
+ attr_accessor :refresh_interval
6899
+
6900
+ # Optional. Specifies keys to be removed from the 'params' field. This is only
6901
+ # active when 'params' is included in the 'update_mask' in an
6902
+ # UpdateDataConnectorRequest. Deletion takes precedence if a key is both in '
6903
+ # remove_param_keys' and present in the 'params' field of the request.
6904
+ # Corresponds to the JSON property `removeParamKeys`
6905
+ # @return [Array<String>]
6906
+ attr_accessor :remove_param_keys
6907
+
6908
+ # Output only. State of the connector.
6909
+ # Corresponds to the JSON property `state`
6910
+ # @return [String]
6911
+ attr_accessor :state
6912
+
6913
+ # Output only. The static IP addresses used by this connector.
6914
+ # Corresponds to the JSON property `staticIpAddresses`
6915
+ # @return [Array<String>]
6916
+ attr_accessor :static_ip_addresses
6917
+
6918
+ # Optional. Whether customer has enabled static IP addresses for this connector.
6919
+ # Corresponds to the JSON property `staticIpEnabled`
6920
+ # @return [Boolean]
6921
+ attr_accessor :static_ip_enabled
6922
+ alias_method :static_ip_enabled?, :static_ip_enabled
6923
+
6924
+ # The data synchronization mode supported by the data connector.
6925
+ # Corresponds to the JSON property `syncMode`
6926
+ # @return [String]
6927
+ attr_accessor :sync_mode
6928
+
6929
+ # Output only. Timestamp the DataConnector was last updated.
6930
+ # Corresponds to the JSON property `updateTime`
6931
+ # @return [String]
6932
+ attr_accessor :update_time
6933
+
6934
+ def initialize(**args)
6935
+ update!(**args)
6936
+ end
6937
+
6938
+ # Update properties of this object
6939
+ def update!(**args)
6940
+ @acl_enabled = args[:acl_enabled] if args.key?(:acl_enabled)
6941
+ @action_config = args[:action_config] if args.key?(:action_config)
6942
+ @action_state = args[:action_state] if args.key?(:action_state)
6943
+ @alert_policy_configs = args[:alert_policy_configs] if args.key?(:alert_policy_configs)
6944
+ @auto_run_disabled = args[:auto_run_disabled] if args.key?(:auto_run_disabled)
6945
+ @bap_config = args[:bap_config] if args.key?(:bap_config)
6946
+ @blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
6947
+ @connector_modes = args[:connector_modes] if args.key?(:connector_modes)
6948
+ @connector_type = args[:connector_type] if args.key?(:connector_type)
6949
+ @create_eua_saas = args[:create_eua_saas] if args.key?(:create_eua_saas)
6950
+ @create_time = args[:create_time] if args.key?(:create_time)
6951
+ @data_source = args[:data_source] if args.key?(:data_source)
6952
+ @destination_configs = args[:destination_configs] if args.key?(:destination_configs)
6953
+ @end_user_config = args[:end_user_config] if args.key?(:end_user_config)
6954
+ @entities = args[:entities] if args.key?(:entities)
6955
+ @errors = args[:errors] if args.key?(:errors)
6956
+ @federated_config = args[:federated_config] if args.key?(:federated_config)
6957
+ @hybrid_ingestion_disabled = args[:hybrid_ingestion_disabled] if args.key?(:hybrid_ingestion_disabled)
6958
+ @identity_refresh_interval = args[:identity_refresh_interval] if args.key?(:identity_refresh_interval)
6959
+ @identity_schedule_config = args[:identity_schedule_config] if args.key?(:identity_schedule_config)
6960
+ @incremental_refresh_interval = args[:incremental_refresh_interval] if args.key?(:incremental_refresh_interval)
6961
+ @incremental_sync_disabled = args[:incremental_sync_disabled] if args.key?(:incremental_sync_disabled)
6962
+ @json_params = args[:json_params] if args.key?(:json_params)
6963
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
6964
+ @last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time)
6965
+ @latest_pause_time = args[:latest_pause_time] if args.key?(:latest_pause_time)
6966
+ @name = args[:name] if args.key?(:name)
6967
+ @next_sync_time = args[:next_sync_time] if args.key?(:next_sync_time)
6968
+ @params = args[:params] if args.key?(:params)
6969
+ @private_connectivity_project_id = args[:private_connectivity_project_id] if args.key?(:private_connectivity_project_id)
6970
+ @realtime_state = args[:realtime_state] if args.key?(:realtime_state)
6971
+ @realtime_sync_config = args[:realtime_sync_config] if args.key?(:realtime_sync_config)
6972
+ @refresh_interval = args[:refresh_interval] if args.key?(:refresh_interval)
6973
+ @remove_param_keys = args[:remove_param_keys] if args.key?(:remove_param_keys)
6974
+ @state = args[:state] if args.key?(:state)
6975
+ @static_ip_addresses = args[:static_ip_addresses] if args.key?(:static_ip_addresses)
6976
+ @static_ip_enabled = args[:static_ip_enabled] if args.key?(:static_ip_enabled)
6977
+ @sync_mode = args[:sync_mode] if args.key?(:sync_mode)
6978
+ @update_time = args[:update_time] if args.key?(:update_time)
6979
+ end
6980
+ end
6981
+
6982
+ # Any params and credentials used specifically for EUA connectors.
6983
+ class GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig
6984
+ include Google::Apis::Core::Hashable
6985
+
6986
+ # Optional. Any additional parameters needed for EUA.
6987
+ # Corresponds to the JSON property `additionalParams`
6988
+ # @return [Hash<String,Object>]
6989
+ attr_accessor :additional_params
6990
+
6991
+ # Optional. Any authentication parameters specific to EUA connectors.
6992
+ # Corresponds to the JSON property `authParams`
6993
+ # @return [Hash<String,Object>]
6994
+ attr_accessor :auth_params
6995
+
6996
+ # Optional. Any authentication parameters specific to EUA connectors in json
6997
+ # string format.
6998
+ # Corresponds to the JSON property `jsonAuthParams`
6999
+ # @return [String]
7000
+ attr_accessor :json_auth_params
7001
+
7002
+ # Tenant information for a connector source. This includes some of the same
7003
+ # information stored in the Credential message, but is limited to only what is
7004
+ # needed to provide a list of accessible tenants to the user.
7005
+ # Corresponds to the JSON property `tenant`
7006
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Tenant]
7007
+ attr_accessor :tenant
7008
+
7009
+ def initialize(**args)
7010
+ update!(**args)
7011
+ end
7012
+
7013
+ # Update properties of this object
7014
+ def update!(**args)
7015
+ @additional_params = args[:additional_params] if args.key?(:additional_params)
7016
+ @auth_params = args[:auth_params] if args.key?(:auth_params)
7017
+ @json_auth_params = args[:json_auth_params] if args.key?(:json_auth_params)
7018
+ @tenant = args[:tenant] if args.key?(:tenant)
7019
+ end
7020
+ end
7021
+
7022
+ # Any params and credentials used specifically for hybrid connectors supporting
7023
+ # FEDERATED mode.
7024
+ class GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig
7025
+ include Google::Apis::Core::Hashable
7026
+
7027
+ # Optional. Any additional parameters needed for FEDERATED.
7028
+ # Corresponds to the JSON property `additionalParams`
7029
+ # @return [Hash<String,Object>]
7030
+ attr_accessor :additional_params
7031
+
7032
+ # Optional. Any authentication parameters specific to FEDERATED connectors.
7033
+ # Corresponds to the JSON property `authParams`
7034
+ # @return [Hash<String,Object>]
7035
+ attr_accessor :auth_params
7036
+
7037
+ # Optional. Any authentication parameters specific to FEDERATED connectors in
7038
+ # json string format.
7039
+ # Corresponds to the JSON property `jsonAuthParams`
7040
+ # @return [String]
7041
+ attr_accessor :json_auth_params
7042
+
7043
+ def initialize(**args)
7044
+ update!(**args)
7045
+ end
7046
+
7047
+ # Update properties of this object
7048
+ def update!(**args)
7049
+ @additional_params = args[:additional_params] if args.key?(:additional_params)
7050
+ @auth_params = args[:auth_params] if args.key?(:auth_params)
7051
+ @json_auth_params = args[:json_auth_params] if args.key?(:json_auth_params)
7052
+ end
7053
+ end
7054
+
7055
+ # The configuration for realtime sync to store additional params for realtime
7056
+ # sync.
7057
+ class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig
7058
+ include Google::Apis::Core::Hashable
7059
+
7060
+ # Optional. The ID of the Secret Manager secret used for webhook secret.
7061
+ # Corresponds to the JSON property `realtimeSyncSecret`
7062
+ # @return [String]
7063
+ attr_accessor :realtime_sync_secret
7064
+
7065
+ # Streaming error details.
7066
+ # Corresponds to the JSON property `streamingError`
7067
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError]
7068
+ attr_accessor :streaming_error
7069
+
7070
+ # Optional. Webhook url for the connector to specify additional params for
7071
+ # realtime sync.
7072
+ # Corresponds to the JSON property `webhookUri`
7073
+ # @return [String]
7074
+ attr_accessor :webhook_uri
7075
+
7076
+ def initialize(**args)
7077
+ update!(**args)
7078
+ end
7079
+
7080
+ # Update properties of this object
7081
+ def update!(**args)
7082
+ @realtime_sync_secret = args[:realtime_sync_secret] if args.key?(:realtime_sync_secret)
7083
+ @streaming_error = args[:streaming_error] if args.key?(:streaming_error)
7084
+ @webhook_uri = args[:webhook_uri] if args.key?(:webhook_uri)
7085
+ end
7086
+ end
7087
+
7088
+ # Streaming error details.
7089
+ class GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError
7090
+ include Google::Apis::Core::Hashable
7091
+
7092
+ # The `Status` type defines a logical error model that is suitable for different
7093
+ # programming environments, including REST APIs and RPC APIs. It is used by [
7094
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
7095
+ # data: error code, error message, and error details. You can find out more
7096
+ # about this error model and how to work with it in the [API Design Guide](https:
7097
+ # //cloud.google.com/apis/design/errors).
7098
+ # Corresponds to the JSON property `error`
7099
+ # @return [Google::Apis::DiscoveryengineV1::GoogleRpcStatus]
7100
+ attr_accessor :error
7101
+
7102
+ # Optional. Streaming error.
7103
+ # Corresponds to the JSON property `streamingErrorReason`
7104
+ # @return [String]
7105
+ attr_accessor :streaming_error_reason
7106
+
7107
+ def initialize(**args)
7108
+ update!(**args)
7109
+ end
7110
+
7111
+ # Update properties of this object
7112
+ def update!(**args)
7113
+ @error = args[:error] if args.key?(:error)
7114
+ @streaming_error_reason = args[:streaming_error_reason] if args.key?(:streaming_error_reason)
7115
+ end
7116
+ end
7117
+
7118
+ # Represents an entity in the data source. For example, the `Account` object in
7119
+ # Salesforce.
7120
+ class GoogleCloudDiscoveryengineV1DataConnectorSourceEntity
7121
+ include Google::Apis::Core::Hashable
7122
+
7123
+ # Output only. The full resource name of the associated data store for the
7124
+ # source entity. Format: `projects/*/locations/*/collections/*/dataStores/*`.
7125
+ # When the connector is initialized by the DataConnectorService.
7126
+ # SetUpDataConnector method, a DataStore is automatically created for each
7127
+ # source entity.
7128
+ # Corresponds to the JSON property `dataStore`
7129
+ # @return [String]
7130
+ attr_accessor :data_store
7131
+
7132
+ # The name of the entity. Supported values by data source: * Salesforce: `Lead`,
7133
+ # `Opportunity`, `Contact`, `Account`, `Case`, `Contract`, `Campaign` * Jira: `
7134
+ # Issue` * Confluence: `Content`, `Space`
7135
+ # Corresponds to the JSON property `entityName`
7136
+ # @return [String]
7137
+ attr_accessor :entity_name
7138
+
7139
+ # Config to data store for `HEALTHCARE_FHIR` vertical.
7140
+ # Corresponds to the JSON property `healthcareFhirConfig`
7141
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1HealthcareFhirConfig]
7142
+ attr_accessor :healthcare_fhir_config
7143
+
7144
+ # The parameters for the entity to facilitate data ingestion in json string
7145
+ # format.
7146
+ # Corresponds to the JSON property `jsonParams`
6481
7147
  # @return [String]
6482
- attr_accessor :training_start_time
7148
+ attr_accessor :json_params
7149
+
7150
+ # Attributes for indexing. Key: Field name. Value: The key property to map a
7151
+ # field to, such as `title`, and `description`. Supported key properties: * `
7152
+ # title`: The title for data record. This would be displayed on search results. *
7153
+ # `description`: The description for data record. This would be displayed on
7154
+ # search results.
7155
+ # Corresponds to the JSON property `keyPropertyMappings`
7156
+ # @return [Hash<String,String>]
7157
+ attr_accessor :key_property_mappings
7158
+
7159
+ # The parameters for the entity to facilitate data ingestion in structured json
7160
+ # format.
7161
+ # Corresponds to the JSON property `params`
7162
+ # @return [Hash<String,Object>]
7163
+ attr_accessor :params
7164
+
7165
+ # Defines the structure and layout of a type of document data.
7166
+ # Corresponds to the JSON property `startingSchema`
7167
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Schema]
7168
+ attr_accessor :starting_schema
6483
7169
 
6484
7170
  def initialize(**args)
6485
7171
  update!(**args)
@@ -6487,14 +7173,13 @@ module Google
6487
7173
 
6488
7174
  # Update properties of this object
6489
7175
  def update!(**args)
6490
- @create_time = args[:create_time] if args.key?(:create_time)
6491
- @display_name = args[:display_name] if args.key?(:display_name)
6492
- @error_message = args[:error_message] if args.key?(:error_message)
6493
- @metrics = args[:metrics] if args.key?(:metrics)
6494
- @model_state = args[:model_state] if args.key?(:model_state)
6495
- @model_version = args[:model_version] if args.key?(:model_version)
6496
- @name = args[:name] if args.key?(:name)
6497
- @training_start_time = args[:training_start_time] if args.key?(:training_start_time)
7176
+ @data_store = args[:data_store] if args.key?(:data_store)
7177
+ @entity_name = args[:entity_name] if args.key?(:entity_name)
7178
+ @healthcare_fhir_config = args[:healthcare_fhir_config] if args.key?(:healthcare_fhir_config)
7179
+ @json_params = args[:json_params] if args.key?(:json_params)
7180
+ @key_property_mappings = args[:key_property_mappings] if args.key?(:key_property_mappings)
7181
+ @params = args[:params] if args.key?(:params)
7182
+ @starting_schema = args[:starting_schema] if args.key?(:starting_schema)
6498
7183
  end
6499
7184
  end
6500
7185
 
@@ -6528,6 +7213,12 @@ module Google
6528
7213
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CmekConfig]
6529
7214
  attr_accessor :cmek_config
6530
7215
 
7216
+ # Optional. Configuration for configurable billing approach. See go/vais-
7217
+ # repricing-billing-dd for more details, only apply to non-Spark UCS Search.
7218
+ # Corresponds to the JSON property `configurableBillingApproach`
7219
+ # @return [String]
7220
+ attr_accessor :configurable_billing_approach
7221
+
6531
7222
  # Immutable. The content config of the data store. If this field is unset, the
6532
7223
  # server behavior defaults to ContentConfig.NO_CONTENT.
6533
7224
  # Corresponds to the JSON property `contentConfig`
@@ -6631,6 +7322,7 @@ module Google
6631
7322
  @advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
6632
7323
  @billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
6633
7324
  @cmek_config = args[:cmek_config] if args.key?(:cmek_config)
7325
+ @configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
6634
7326
  @content_config = args[:content_config] if args.key?(:content_config)
6635
7327
  @create_time = args[:create_time] if args.key?(:create_time)
6636
7328
  @default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
@@ -6747,6 +7439,34 @@ module Google
6747
7439
  end
6748
7440
  end
6749
7441
 
7442
+ # Metadata related to the progress of the CollectionService.UpdateCollection
7443
+ # operation. This will be returned by the google.longrunning.Operation.metadata
7444
+ # field.
7445
+ class GoogleCloudDiscoveryengineV1DeleteCollectionMetadata
7446
+ include Google::Apis::Core::Hashable
7447
+
7448
+ # Operation create time.
7449
+ # Corresponds to the JSON property `createTime`
7450
+ # @return [String]
7451
+ attr_accessor :create_time
7452
+
7453
+ # Operation last update time. If the operation is done, this is also the finish
7454
+ # time.
7455
+ # Corresponds to the JSON property `updateTime`
7456
+ # @return [String]
7457
+ attr_accessor :update_time
7458
+
7459
+ def initialize(**args)
7460
+ update!(**args)
7461
+ end
7462
+
7463
+ # Update properties of this object
7464
+ def update!(**args)
7465
+ @create_time = args[:create_time] if args.key?(:create_time)
7466
+ @update_time = args[:update_time] if args.key?(:update_time)
7467
+ end
7468
+ end
7469
+
6750
7470
  # Metadata related to the progress of the DataStoreService.DeleteDataStore
6751
7471
  # operation. This will be returned by the google.longrunning.Operation.metadata
6752
7472
  # field.
@@ -6912,6 +7632,69 @@ module Google
6912
7632
  end
6913
7633
  end
6914
7634
 
7635
+ # Defines target endpoints used to connect to third-party sources.
7636
+ class GoogleCloudDiscoveryengineV1DestinationConfig
7637
+ include Google::Apis::Core::Hashable
7638
+
7639
+ # Optional. The destinations for the corresponding key.
7640
+ # Corresponds to the JSON property `destinations`
7641
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DestinationConfigDestination>]
7642
+ attr_accessor :destinations
7643
+
7644
+ # Additional parameters for this destination config in json string format.
7645
+ # Corresponds to the JSON property `jsonParams`
7646
+ # @return [String]
7647
+ attr_accessor :json_params
7648
+
7649
+ # Optional. Unique destination identifier that is supported by the connector.
7650
+ # Corresponds to the JSON property `key`
7651
+ # @return [String]
7652
+ attr_accessor :key
7653
+
7654
+ # Optional. Additional parameters for this destination config in structured json
7655
+ # format.
7656
+ # Corresponds to the JSON property `params`
7657
+ # @return [Hash<String,Object>]
7658
+ attr_accessor :params
7659
+
7660
+ def initialize(**args)
7661
+ update!(**args)
7662
+ end
7663
+
7664
+ # Update properties of this object
7665
+ def update!(**args)
7666
+ @destinations = args[:destinations] if args.key?(:destinations)
7667
+ @json_params = args[:json_params] if args.key?(:json_params)
7668
+ @key = args[:key] if args.key?(:key)
7669
+ @params = args[:params] if args.key?(:params)
7670
+ end
7671
+ end
7672
+
7673
+ # Defines a target endpoint
7674
+ class GoogleCloudDiscoveryengineV1DestinationConfigDestination
7675
+ include Google::Apis::Core::Hashable
7676
+
7677
+ # Publicly routable host.
7678
+ # Corresponds to the JSON property `host`
7679
+ # @return [String]
7680
+ attr_accessor :host
7681
+
7682
+ # Optional. Target port number accepted by the destination.
7683
+ # Corresponds to the JSON property `port`
7684
+ # @return [Fixnum]
7685
+ attr_accessor :port
7686
+
7687
+ def initialize(**args)
7688
+ update!(**args)
7689
+ end
7690
+
7691
+ # Update properties of this object
7692
+ def update!(**args)
7693
+ @host = args[:host] if args.key?(:host)
7694
+ @port = args[:port] if args.key?(:port)
7695
+ end
7696
+ end
7697
+
6915
7698
  # Metadata related to the progress of the SiteSearchEngineService.
6916
7699
  # DisableAdvancedSiteSearch operation. This will be returned by the google.
6917
7700
  # longrunning.Operation.metadata field.
@@ -7589,6 +8372,12 @@ module Google
7589
8372
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineCommonConfig]
7590
8373
  attr_accessor :common_config
7591
8374
 
8375
+ # Optional. Configuration for configurable billing approach. See go/vais-
8376
+ # repricing-billing-dd for more details.
8377
+ # Corresponds to the JSON property `configurableBillingApproach`
8378
+ # @return [String]
8379
+ attr_accessor :configurable_billing_approach
8380
+
7592
8381
  # Output only. Timestamp the Recommendation Engine was created at.
7593
8382
  # Corresponds to the JSON property `createTime`
7594
8383
  # @return [String]
@@ -7621,7 +8410,8 @@ module Google
7621
8410
  # settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
7622
8411
  # gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
7623
8412
  # org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
7624
- # personalization-memory` - Enables personalization based on user preferences.
8413
+ # personalization-memory` * `disable-image-generation` * `disable-video-
8414
+ # generation` * `disable-onedrive-upload`
7625
8415
  # Corresponds to the JSON property `features`
7626
8416
  # @return [Hash<String,String>]
7627
8417
  attr_accessor :features
@@ -7672,6 +8462,7 @@ module Google
7672
8462
  @chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
7673
8463
  @chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
7674
8464
  @common_config = args[:common_config] if args.key?(:common_config)
8465
+ @configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
7675
8466
  @create_time = args[:create_time] if args.key?(:create_time)
7676
8467
  @data_store_ids = args[:data_store_ids] if args.key?(:data_store_ids)
7677
8468
  @disable_analytics = args[:disable_analytics] if args.key?(:disable_analytics)
@@ -8426,6 +9217,47 @@ module Google
8426
9217
  end
8427
9218
  end
8428
9219
 
9220
+ # The configuration for the identity data synchronization runs.
9221
+ class GoogleCloudDiscoveryengineV1IdentityScheduleConfig
9222
+ include Google::Apis::Core::Hashable
9223
+
9224
+ # Represents civil time (or occasionally physical time). This type can represent
9225
+ # a civil time in one of a few possible ways: * When utc_offset is set and
9226
+ # time_zone is unset: a civil time on a calendar day with a particular offset
9227
+ # from UTC. * When time_zone is set and utc_offset is unset: a civil time on a
9228
+ # calendar day in a particular time zone. * When neither time_zone nor
9229
+ # utc_offset is set: a civil time on a calendar day in local time. The date is
9230
+ # relative to the Proleptic Gregorian Calendar. If year, month, or day are 0,
9231
+ # the DateTime is considered not to have a specific year, month, or day
9232
+ # respectively. This type may also be used to represent a physical time if all
9233
+ # the date and time fields are set and either case of the `time_offset` oneof is
9234
+ # set. Consider using `Timestamp` message for physical time instead. If your use
9235
+ # case also would like to store the user's timezone, that can be done in another
9236
+ # field. This type is more flexible than some applications may want. Make sure
9237
+ # to document and validate your application's limitations.
9238
+ # Corresponds to the JSON property `nextSyncTime`
9239
+ # @return [Google::Apis::DiscoveryengineV1::GoogleTypeDateTime]
9240
+ attr_accessor :next_sync_time
9241
+
9242
+ # Optional. The refresh interval to sync the Access Control List information for
9243
+ # the documents ingested by this connector. If not set, the access control list
9244
+ # will be refreshed at the default interval of 30 minutes. The identity refresh
9245
+ # interval can be at least 30 minutes and at most 7 days.
9246
+ # Corresponds to the JSON property `refreshInterval`
9247
+ # @return [String]
9248
+ attr_accessor :refresh_interval
9249
+
9250
+ def initialize(**args)
9251
+ update!(**args)
9252
+ end
9253
+
9254
+ # Update properties of this object
9255
+ def update!(**args)
9256
+ @next_sync_time = args[:next_sync_time] if args.key?(:next_sync_time)
9257
+ @refresh_interval = args[:refresh_interval] if args.key?(:refresh_interval)
9258
+ end
9259
+ end
9260
+
8429
9261
  # Identity Provider Config.
8430
9262
  class GoogleCloudDiscoveryengineV1IdpConfig
8431
9263
  include Google::Apis::Core::Hashable
@@ -9672,6 +10504,11 @@ module Google
9672
10504
  # @return [String]
9673
10505
  attr_accessor :create_time
9674
10506
 
10507
+ # Customer provided configurations.
10508
+ # Corresponds to the JSON property `customerProvidedConfig`
10509
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig]
10510
+ attr_accessor :customer_provided_config
10511
+
9675
10512
  # Output only. Full resource name of the project, for example `projects/`project`
9676
10513
  # `. Note that when making requests, project number and project id are both
9677
10514
  # acceptable, but the server will always respond in project number.
@@ -9697,12 +10534,84 @@ module Google
9697
10534
  # Update properties of this object
9698
10535
  def update!(**args)
9699
10536
  @create_time = args[:create_time] if args.key?(:create_time)
10537
+ @customer_provided_config = args[:customer_provided_config] if args.key?(:customer_provided_config)
9700
10538
  @name = args[:name] if args.key?(:name)
9701
10539
  @provision_completion_time = args[:provision_completion_time] if args.key?(:provision_completion_time)
9702
10540
  @service_terms_map = args[:service_terms_map] if args.key?(:service_terms_map)
9703
10541
  end
9704
10542
  end
9705
10543
 
10544
+ # Customer provided configurations.
10545
+ class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig
10546
+ include Google::Apis::Core::Hashable
10547
+
10548
+ # Configuration for NotebookLM.
10549
+ # Corresponds to the JSON property `notebooklmConfig`
10550
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig]
10551
+ attr_accessor :notebooklm_config
10552
+
10553
+ def initialize(**args)
10554
+ update!(**args)
10555
+ end
10556
+
10557
+ # Update properties of this object
10558
+ def update!(**args)
10559
+ @notebooklm_config = args[:notebooklm_config] if args.key?(:notebooklm_config)
10560
+ end
10561
+ end
10562
+
10563
+ # Configuration for NotebookLM.
10564
+ class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig
10565
+ include Google::Apis::Core::Hashable
10566
+
10567
+ # Configuration for customer defined Model Armor templates to be used for
10568
+ # sanitizing user prompts and LLM responses.
10569
+ # Corresponds to the JSON property `modelArmorConfig`
10570
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
10571
+ attr_accessor :model_armor_config
10572
+
10573
+ def initialize(**args)
10574
+ update!(**args)
10575
+ end
10576
+
10577
+ # Update properties of this object
10578
+ def update!(**args)
10579
+ @model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
10580
+ end
10581
+ end
10582
+
10583
+ # Configuration for customer defined Model Armor templates to be used for
10584
+ # sanitizing user prompts and LLM responses.
10585
+ class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig
10586
+ include Google::Apis::Core::Hashable
10587
+
10588
+ # Optional. The resource name of the Model Armor Template for sanitizing LLM
10589
+ # responses. Format: projects/`project`/locations/`location`/templates/`
10590
+ # template_id` If not specified, no sanitization will be applied to the LLM
10591
+ # response.
10592
+ # Corresponds to the JSON property `responseTemplate`
10593
+ # @return [String]
10594
+ attr_accessor :response_template
10595
+
10596
+ # Optional. The resource name of the Model Armor Template for sanitizing user
10597
+ # prompts. Format: projects/`project`/locations/`location`/templates/`
10598
+ # template_id` If not specified, no sanitization will be applied to the user
10599
+ # prompt.
10600
+ # Corresponds to the JSON property `userPromptTemplate`
10601
+ # @return [String]
10602
+ attr_accessor :user_prompt_template
10603
+
10604
+ def initialize(**args)
10605
+ update!(**args)
10606
+ end
10607
+
10608
+ # Update properties of this object
10609
+ def update!(**args)
10610
+ @response_template = args[:response_template] if args.key?(:response_template)
10611
+ @user_prompt_template = args[:user_prompt_template] if args.key?(:user_prompt_template)
10612
+ end
10613
+ end
10614
+
9706
10615
  # Metadata about the terms of service.
9707
10616
  class GoogleCloudDiscoveryengineV1ProjectServiceTerms
9708
10617
  include Google::Apis::Core::Hashable
@@ -9812,6 +10721,13 @@ module Google
9812
10721
  attr_accessor :accept_biz_qos
9813
10722
  alias_method :accept_biz_qos?, :accept_biz_qos
9814
10723
 
10724
+ # Optional. Indicates if the current request is for Biz edition (= true) or not (
10725
+ # = false).
10726
+ # Corresponds to the JSON property `isBiz`
10727
+ # @return [Boolean]
10728
+ attr_accessor :is_biz
10729
+ alias_method :is_biz?, :is_biz
10730
+
9815
10731
  def initialize(**args)
9816
10732
  update!(**args)
9817
10733
  end
@@ -9819,6 +10735,7 @@ module Google
9819
10735
  # Update properties of this object
9820
10736
  def update!(**args)
9821
10737
  @accept_biz_qos = args[:accept_biz_qos] if args.key?(:accept_biz_qos)
10738
+ @is_biz = args[:is_biz] if args.key?(:is_biz)
9822
10739
  end
9823
10740
  end
9824
10741
 
@@ -10852,10 +11769,17 @@ module Google
10852
11769
  # @return [String]
10853
11770
  attr_accessor :language_code
10854
11771
 
11772
+ # Specification to enable natural language understanding capabilities for search
11773
+ # requests.
11774
+ # Corresponds to the JSON property `naturalLanguageQueryUnderstandingSpec`
11775
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestNaturalLanguageQueryUnderstandingSpec]
11776
+ attr_accessor :natural_language_query_understanding_spec
11777
+
10855
11778
  # A 0-indexed integer that specifies the current offset (that is, starting
10856
11779
  # result location, amongst the Documents deemed by the API as relevant) in
10857
11780
  # search results. This field is only considered if page_token is unset. If this
10858
- # field is negative, an `INVALID_ARGUMENT` is returned.
11781
+ # field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be
11782
+ # capped to a reasonable threshold.
10859
11783
  # Corresponds to the JSON property `offset`
10860
11784
  # @return [Fixnum]
10861
11785
  attr_accessor :offset
@@ -11077,6 +12001,7 @@ module Google
11077
12001
  @filter = args[:filter] if args.key?(:filter)
11078
12002
  @image_query = args[:image_query] if args.key?(:image_query)
11079
12003
  @language_code = args[:language_code] if args.key?(:language_code)
12004
+ @natural_language_query_understanding_spec = args[:natural_language_query_understanding_spec] if args.key?(:natural_language_query_understanding_spec)
11080
12005
  @offset = args[:offset] if args.key?(:offset)
11081
12006
  @one_box_page_size = args[:one_box_page_size] if args.key?(:one_box_page_size)
11082
12007
  @order_by = args[:order_by] if args.key?(:order_by)
@@ -11819,7 +12744,62 @@ module Google
11819
12744
 
11820
12745
  # Update properties of this object
11821
12746
  def update!(**args)
11822
- @image_bytes = args[:image_bytes] if args.key?(:image_bytes)
12747
+ @image_bytes = args[:image_bytes] if args.key?(:image_bytes)
12748
+ end
12749
+ end
12750
+
12751
+ # Specification to enable natural language understanding capabilities for search
12752
+ # requests.
12753
+ class GoogleCloudDiscoveryengineV1SearchRequestNaturalLanguageQueryUnderstandingSpec
12754
+ include Google::Apis::Core::Hashable
12755
+
12756
+ # Optional. Allowlist of fields that can be used for natural language filter
12757
+ # extraction. By default, if this is unspecified, all indexable fields are
12758
+ # eligible for natural language filter extraction (but are not guaranteed to be
12759
+ # used). If any fields are specified in allowed_field_names, only the fields
12760
+ # that are both marked as indexable in the schema and specified in the allowlist
12761
+ # will be eligible for natural language filter extraction. Note: for multi-
12762
+ # datastore search, this is not yet supported, and will be ignored.
12763
+ # Corresponds to the JSON property `allowedFieldNames`
12764
+ # @return [Array<String>]
12765
+ attr_accessor :allowed_field_names
12766
+
12767
+ # Optional. Controls behavior of how extracted filters are applied to the search.
12768
+ # The default behavior depends on the request. For single datastore structured
12769
+ # search, the default is `HARD_FILTER`. For multi-datastore search, the default
12770
+ # behavior is `SOFT_BOOST`. Location-based filters are always applied as hard
12771
+ # filters, and the `SOFT_BOOST` setting will not affect them. This field is only
12772
+ # used if SearchRequest.natural_language_query_understanding_spec.
12773
+ # filter_extraction_condition is set to FilterExtractionCondition.ENABLED.
12774
+ # Corresponds to the JSON property `extractedFilterBehavior`
12775
+ # @return [String]
12776
+ attr_accessor :extracted_filter_behavior
12777
+
12778
+ # The condition under which filter extraction should occur. Server behavior
12779
+ # defaults to `DISABLED`.
12780
+ # Corresponds to the JSON property `filterExtractionCondition`
12781
+ # @return [String]
12782
+ attr_accessor :filter_extraction_condition
12783
+
12784
+ # Field names used for location-based filtering, where geolocation filters are
12785
+ # detected in natural language search queries. Only valid when the
12786
+ # FilterExtractionCondition is set to `ENABLED`. If this field is set, it
12787
+ # overrides the field names set in ServingConfig.
12788
+ # geo_search_query_detection_field_names.
12789
+ # Corresponds to the JSON property `geoSearchQueryDetectionFieldNames`
12790
+ # @return [Array<String>]
12791
+ attr_accessor :geo_search_query_detection_field_names
12792
+
12793
+ def initialize(**args)
12794
+ update!(**args)
12795
+ end
12796
+
12797
+ # Update properties of this object
12798
+ def update!(**args)
12799
+ @allowed_field_names = args[:allowed_field_names] if args.key?(:allowed_field_names)
12800
+ @extracted_filter_behavior = args[:extracted_filter_behavior] if args.key?(:extracted_filter_behavior)
12801
+ @filter_extraction_condition = args[:filter_extraction_condition] if args.key?(:filter_extraction_condition)
12802
+ @geo_search_query_detection_field_names = args[:geo_search_query_detection_field_names] if args.key?(:geo_search_query_detection_field_names)
11823
12803
  end
11824
12804
  end
11825
12805
 
@@ -12907,6 +13887,61 @@ module Google
12907
13887
  end
12908
13888
  end
12909
13889
 
13890
+ # Metadata for DataConnectorService.SetUpDataConnector method.
13891
+ class GoogleCloudDiscoveryengineV1SetUpDataConnectorMetadata
13892
+ include Google::Apis::Core::Hashable
13893
+
13894
+ def initialize(**args)
13895
+ update!(**args)
13896
+ end
13897
+
13898
+ # Update properties of this object
13899
+ def update!(**args)
13900
+ end
13901
+ end
13902
+
13903
+ # Request for DataConnectorService.SetUpDataConnector method.
13904
+ class GoogleCloudDiscoveryengineV1SetUpDataConnectorRequest
13905
+ include Google::Apis::Core::Hashable
13906
+
13907
+ # Required. The display name of the Collection. Should be human readable, used
13908
+ # to display collections in the Console Dashboard. UTF-8 encoded string with
13909
+ # limit of 1024 characters.
13910
+ # Corresponds to the JSON property `collectionDisplayName`
13911
+ # @return [String]
13912
+ attr_accessor :collection_display_name
13913
+
13914
+ # Required. The ID to use for the Collection, which will become the final
13915
+ # component of the Collection's resource name. A new Collection is created as
13916
+ # part of the DataConnector setup. DataConnector is a singleton resource under
13917
+ # Collection, managing all DataStores of the Collection. This field must conform
13918
+ # to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length
13919
+ # limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
13920
+ # Corresponds to the JSON property `collectionId`
13921
+ # @return [String]
13922
+ attr_accessor :collection_id
13923
+
13924
+ # Manages the connection to external data sources for all data stores grouped
13925
+ # under a Collection. It's a singleton resource of Collection. The
13926
+ # initialization is only supported through DataConnectorService.
13927
+ # SetUpDataConnector method, which will create a new Collection and initialize
13928
+ # its DataConnector.
13929
+ # Corresponds to the JSON property `dataConnector`
13930
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnector]
13931
+ attr_accessor :data_connector
13932
+
13933
+ def initialize(**args)
13934
+ update!(**args)
13935
+ end
13936
+
13937
+ # Update properties of this object
13938
+ def update!(**args)
13939
+ @collection_display_name = args[:collection_display_name] if args.key?(:collection_display_name)
13940
+ @collection_id = args[:collection_id] if args.key?(:collection_id)
13941
+ @data_connector = args[:data_connector] if args.key?(:data_connector)
13942
+ end
13943
+ end
13944
+
12910
13945
  # Metadata for single-regional CMEKs.
12911
13946
  class GoogleCloudDiscoveryengineV1SingleRegionKey
12912
13947
  include Google::Apis::Core::Hashable
@@ -13441,6 +14476,42 @@ module Google
13441
14476
  end
13442
14477
  end
13443
14478
 
14479
+ # Tenant information for a connector source. This includes some of the same
14480
+ # information stored in the Credential message, but is limited to only what is
14481
+ # needed to provide a list of accessible tenants to the user.
14482
+ class GoogleCloudDiscoveryengineV1Tenant
14483
+ include Google::Apis::Core::Hashable
14484
+
14485
+ # Optional display name for the tenant, e.g. "My Slack Team".
14486
+ # Corresponds to the JSON property `displayName`
14487
+ # @return [String]
14488
+ attr_accessor :display_name
14489
+
14490
+ # The tenant's instance ID. Examples: Jira ("8594f221-9797-5f78-1fa4-
14491
+ # 485e198d7cd0"), Slack ("T123456").
14492
+ # Corresponds to the JSON property `id`
14493
+ # @return [String]
14494
+ attr_accessor :id
14495
+
14496
+ # The URI of the tenant, if applicable. For example, the URI of a Jira instance
14497
+ # is https://my-jira-instance.atlassian.net, and a Slack tenant does not have a
14498
+ # URI.
14499
+ # Corresponds to the JSON property `uri`
14500
+ # @return [String]
14501
+ attr_accessor :uri
14502
+
14503
+ def initialize(**args)
14504
+ update!(**args)
14505
+ end
14506
+
14507
+ # Update properties of this object
14508
+ def update!(**args)
14509
+ @display_name = args[:display_name] if args.key?(:display_name)
14510
+ @id = args[:id] if args.key?(:id)
14511
+ @uri = args[:uri] if args.key?(:uri)
14512
+ end
14513
+ end
14514
+
13444
14515
  # Defines text input.
13445
14516
  class GoogleCloudDiscoveryengineV1TextInput
13446
14517
  include Google::Apis::Core::Hashable
@@ -13877,12 +14948,11 @@ module Google
13877
14948
  # Search for Documents. * `view-item`: Detailed page view of a Document. * `view-
13878
14949
  # item-list`: View of a panel or ordered list of Documents. * `view-home-page`:
13879
14950
  # View of the home page. * `view-category-page`: View of a category page, e.g.
13880
- # Home > Men > Jeans * `add-feedback`: Add a user feedback. Retail-related
13881
- # values: * `add-to-cart`: Add an item(s) to cart, e.g. in Retail online
13882
- # shopping * `purchase`: Purchase an item(s) Media-related values: * `media-play`
13883
- # : Start/resume watching a video, playing a song, etc. * `media-complete`:
13884
- # Finished or stopped midway through a video, song, etc. Custom conversion value:
13885
- # * `conversion`: Customer defined conversion event.
14951
+ # Home > Men > Jeans Retail-related values: * `add-to-cart`: Add an item(s) to
14952
+ # cart, e.g. in Retail online shopping * `purchase`: Purchase an item(s) Media-
14953
+ # related values: * `media-play`: Start/resume watching a video, playing a song,
14954
+ # etc. * `media-complete`: Finished or stopped midway through a video, song, etc.
14955
+ # Custom conversion value: * `conversion`: Customer defined conversion event.
13886
14956
  # Corresponds to the JSON property `eventType`
13887
14957
  # @return [String]
13888
14958
  attr_accessor :event_type
@@ -14179,12 +15249,7 @@ module Google
14179
15249
  class GoogleCloudDiscoveryengineV1alphaActionConfig
14180
15250
  include Google::Apis::Core::Hashable
14181
15251
 
14182
- # Required. Params needed to support actions in the format of (Key, Value) pairs.
14183
- # Required parameters for sources that support OAUTH, i.e. `gmail`, `
14184
- # google_calendar`, `jira`, `workday`, `salesforce`, `confluence`: * Key: `
14185
- # client_id` * Value: type STRING. The client ID for the service provider to
14186
- # identify your application. * Key: `client_secret` * Value:type STRING. The
14187
- # client secret generated by the application's authorization server.
15252
+ # Optional. Action parameters in structured json format.
14188
15253
  # Corresponds to the JSON property `actionParams`
14189
15254
  # @return [Hash<String,Object>]
14190
15255
  attr_accessor :action_params
@@ -14196,6 +15261,11 @@ module Google
14196
15261
  attr_accessor :is_action_configured
14197
15262
  alias_method :is_action_configured?, :is_action_configured
14198
15263
 
15264
+ # Optional. Action parameters in json string format.
15265
+ # Corresponds to the JSON property `jsonActionParams`
15266
+ # @return [String]
15267
+ attr_accessor :json_action_params
15268
+
14199
15269
  # Optional. The Service Directory resource name (projects/*/locations/*/
14200
15270
  # namespaces/*/services/*) representing a VPC network endpoint used to connect
14201
15271
  # to the data source's `instance_uri`, defined in DataConnector.params. Required
@@ -14219,6 +15289,7 @@ module Google
14219
15289
  def update!(**args)
14220
15290
  @action_params = args[:action_params] if args.key?(:action_params)
14221
15291
  @is_action_configured = args[:is_action_configured] if args.key?(:is_action_configured)
15292
+ @json_action_params = args[:json_action_params] if args.key?(:json_action_params)
14222
15293
  @service_name = args[:service_name] if args.key?(:service_name)
14223
15294
  @use_static_secrets = args[:use_static_secrets] if args.key?(:use_static_secrets)
14224
15295
  end
@@ -15064,6 +16135,11 @@ module Google
15064
16135
  class GoogleCloudDiscoveryengineV1alphaBapConfig
15065
16136
  include Google::Apis::Core::Hashable
15066
16137
 
16138
+ # Optional. The actions enabled on the associated BAP connection.
16139
+ # Corresponds to the JSON property `enabledActions`
16140
+ # @return [Array<String>]
16141
+ attr_accessor :enabled_actions
16142
+
15067
16143
  # Required. The supported connector modes for the associated BAP connection.
15068
16144
  # Corresponds to the JSON property `supportedConnectorModes`
15069
16145
  # @return [Array<String>]
@@ -15075,6 +16151,7 @@ module Google
15075
16151
 
15076
16152
  # Update properties of this object
15077
16153
  def update!(**args)
16154
+ @enabled_actions = args[:enabled_actions] if args.key?(:enabled_actions)
15078
16155
  @supported_connector_modes = args[:supported_connector_modes] if args.key?(:supported_connector_modes)
15079
16156
  end
15080
16157
  end
@@ -16256,6 +17333,11 @@ module Google
16256
17333
  attr_accessor :incremental_sync_disabled
16257
17334
  alias_method :incremental_sync_disabled?, :incremental_sync_disabled
16258
17335
 
17336
+ # Required data connector parameters in json string format.
17337
+ # Corresponds to the JSON property `jsonParams`
17338
+ # @return [String]
17339
+ attr_accessor :json_params
17340
+
16259
17341
  # Input only. The KMS key to be used to protect the DataStores managed by this
16260
17342
  # connector. Must be set for requests that need to comply with CMEK Org Policy
16261
17343
  # protections. If this field is set and processed successfully, the DataStores
@@ -16304,27 +17386,7 @@ module Google
16304
17386
  # @return [Google::Apis::DiscoveryengineV1::GoogleTypeDateTime]
16305
17387
  attr_accessor :next_sync_time
16306
17388
 
16307
- # Required. Params needed to access the source in the format of (Key, Value)
16308
- # pairs. Required parameters for all data sources: * Key: `instance_uri` * Value:
16309
- # type STRING. The uri to access the data source. Required parameters for
16310
- # sources that support OAUTH, i.e. `salesforce`: * Key: `client_id` * Value:
16311
- # type STRING. The client ID for the third party service provider to identify
16312
- # your application. * Key: `client_secret` * Value:type STRING. The client
16313
- # secret generated by the third party authorization server. * Key: `access_token`
16314
- # * Value: type STRING. OAuth token for UCS to access to the protected resource.
16315
- # * Key: `refresh_token` * Value: type STRING. OAuth refresh token for UCS to
16316
- # obtain a new access token without user interaction. Required parameters for
16317
- # sources that support basic API token auth, i.e. `jira`, `confluence`: * Key: `
16318
- # user_account` * Value: type STRING. The username or email with the source. *
16319
- # Key: `api_token` * Value: type STRING. The API token generated for the source
16320
- # account, that is used for authenticating anywhere where you would have used a
16321
- # password. Example: ```json ` "instance_uri": "https://xxx.atlassian.net", "
16322
- # user_account": "xxxx.xxx@xxx.com", "api_token": "test-token" ` ``` Optional
16323
- # parameter to specify the authorization type to use for multiple authorization
16324
- # types support: * Key: `auth_type` * Value: type STRING. The authorization type
16325
- # for the data source. Supported values: `BASIC_AUTH`, `OAUTH`, `
16326
- # OAUTH_ACCESS_TOKEN`, `OAUTH_TWO_LEGGED`, `OAUTH_JWT_BEARER`, `
16327
- # OAUTH_PASSWORD_GRANT`, `JWT`, `API_TOKEN`, `FEDERATED_CREDENTIAL`.
17389
+ # Required data connector parameters in structured json format.
16328
17390
  # Corresponds to the JSON property `params`
16329
17391
  # @return [Hash<String,Object>]
16330
17392
  attr_accessor :params
@@ -16418,6 +17480,7 @@ module Google
16418
17480
  @identity_schedule_config = args[:identity_schedule_config] if args.key?(:identity_schedule_config)
16419
17481
  @incremental_refresh_interval = args[:incremental_refresh_interval] if args.key?(:incremental_refresh_interval)
16420
17482
  @incremental_sync_disabled = args[:incremental_sync_disabled] if args.key?(:incremental_sync_disabled)
17483
+ @json_params = args[:json_params] if args.key?(:json_params)
16421
17484
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
16422
17485
  @last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time)
16423
17486
  @latest_pause_time = args[:latest_pause_time] if args.key?(:latest_pause_time)
@@ -16451,6 +17514,12 @@ module Google
16451
17514
  # @return [Hash<String,Object>]
16452
17515
  attr_accessor :auth_params
16453
17516
 
17517
+ # Optional. Any authentication parameters specific to EUA connectors in json
17518
+ # string format.
17519
+ # Corresponds to the JSON property `jsonAuthParams`
17520
+ # @return [String]
17521
+ attr_accessor :json_auth_params
17522
+
16454
17523
  # Tenant information for a connector source. This includes some of the same
16455
17524
  # information stored in the Credential message, but is limited to only what is
16456
17525
  # needed to provide a list of accessible tenants to the user.
@@ -16466,6 +17535,7 @@ module Google
16466
17535
  def update!(**args)
16467
17536
  @additional_params = args[:additional_params] if args.key?(:additional_params)
16468
17537
  @auth_params = args[:auth_params] if args.key?(:auth_params)
17538
+ @json_auth_params = args[:json_auth_params] if args.key?(:json_auth_params)
16469
17539
  @tenant = args[:tenant] if args.key?(:tenant)
16470
17540
  end
16471
17541
  end
@@ -16480,11 +17550,17 @@ module Google
16480
17550
  # @return [Hash<String,Object>]
16481
17551
  attr_accessor :additional_params
16482
17552
 
16483
- # Optional. Any authentication parameters specific to FEDERATED.
17553
+ # Optional. Any authentication parameters specific to FEDERATED connectors.
16484
17554
  # Corresponds to the JSON property `authParams`
16485
17555
  # @return [Hash<String,Object>]
16486
17556
  attr_accessor :auth_params
16487
17557
 
17558
+ # Optional. Any authentication parameters specific to FEDERATED connectors in
17559
+ # json string format.
17560
+ # Corresponds to the JSON property `jsonAuthParams`
17561
+ # @return [String]
17562
+ attr_accessor :json_auth_params
17563
+
16488
17564
  def initialize(**args)
16489
17565
  update!(**args)
16490
17566
  end
@@ -16493,6 +17569,7 @@ module Google
16493
17569
  def update!(**args)
16494
17570
  @additional_params = args[:additional_params] if args.key?(:additional_params)
16495
17571
  @auth_params = args[:auth_params] if args.key?(:auth_params)
17572
+ @json_auth_params = args[:json_auth_params] if args.key?(:json_auth_params)
16496
17573
  end
16497
17574
  end
16498
17575
 
@@ -16585,6 +17662,12 @@ module Google
16585
17662
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig]
16586
17663
  attr_accessor :healthcare_fhir_config
16587
17664
 
17665
+ # The parameters for the entity to facilitate data ingestion in json string
17666
+ # format.
17667
+ # Corresponds to the JSON property `jsonParams`
17668
+ # @return [String]
17669
+ attr_accessor :json_params
17670
+
16588
17671
  # Attributes for indexing. Key: Field name. Value: The key property to map a
16589
17672
  # field to, such as `title`, and `description`. Supported key properties: * `
16590
17673
  # title`: The title for data record. This would be displayed on search results. *
@@ -16594,9 +17677,8 @@ module Google
16594
17677
  # @return [Hash<String,String>]
16595
17678
  attr_accessor :key_property_mappings
16596
17679
 
16597
- # The parameters for the entity to facilitate data ingestion. E.g. for BigQuery
16598
- # connectors: * Key: `document_id_column` * Value: type STRING. The value of the
16599
- # column ID.
17680
+ # The parameters for the entity to facilitate data ingestion in structured json
17681
+ # format.
16600
17682
  # Corresponds to the JSON property `params`
16601
17683
  # @return [Hash<String,Object>]
16602
17684
  attr_accessor :params
@@ -16615,6 +17697,7 @@ module Google
16615
17697
  @data_store = args[:data_store] if args.key?(:data_store)
16616
17698
  @entity_name = args[:entity_name] if args.key?(:entity_name)
16617
17699
  @healthcare_fhir_config = args[:healthcare_fhir_config] if args.key?(:healthcare_fhir_config)
17700
+ @json_params = args[:json_params] if args.key?(:json_params)
16618
17701
  @key_property_mappings = args[:key_property_mappings] if args.key?(:key_property_mappings)
16619
17702
  @params = args[:params] if args.key?(:params)
16620
17703
  @starting_schema = args[:starting_schema] if args.key?(:starting_schema)
@@ -16651,6 +17734,12 @@ module Google
16651
17734
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaCmekConfig]
16652
17735
  attr_accessor :cmek_config
16653
17736
 
17737
+ # Optional. Configuration for configurable billing approach. See go/vais-
17738
+ # repricing-billing-dd for more details, only apply to non-Spark UCS Search.
17739
+ # Corresponds to the JSON property `configurableBillingApproach`
17740
+ # @return [String]
17741
+ attr_accessor :configurable_billing_approach
17742
+
16654
17743
  # Immutable. The content config of the data store. If this field is unset, the
16655
17744
  # server behavior defaults to ContentConfig.NO_CONTENT.
16656
17745
  # Corresponds to the JSON property `contentConfig`
@@ -16769,6 +17858,7 @@ module Google
16769
17858
  @advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
16770
17859
  @billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
16771
17860
  @cmek_config = args[:cmek_config] if args.key?(:cmek_config)
17861
+ @configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
16772
17862
  @content_config = args[:content_config] if args.key?(:content_config)
16773
17863
  @create_time = args[:create_time] if args.key?(:create_time)
16774
17864
  @default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
@@ -17150,12 +18240,18 @@ module Google
17150
18240
  # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination>]
17151
18241
  attr_accessor :destinations
17152
18242
 
18243
+ # Additional parameters for this destination config in json string format.
18244
+ # Corresponds to the JSON property `jsonParams`
18245
+ # @return [String]
18246
+ attr_accessor :json_params
18247
+
17153
18248
  # Optional. Unique destination identifier that is supported by the connector.
17154
18249
  # Corresponds to the JSON property `key`
17155
18250
  # @return [String]
17156
18251
  attr_accessor :key
17157
18252
 
17158
- # Optional. Additional parameters for this destination config.
18253
+ # Optional. Additional parameters for this destination config in structured json
18254
+ # format.
17159
18255
  # Corresponds to the JSON property `params`
17160
18256
  # @return [Hash<String,Object>]
17161
18257
  attr_accessor :params
@@ -17167,6 +18263,7 @@ module Google
17167
18263
  # Update properties of this object
17168
18264
  def update!(**args)
17169
18265
  @destinations = args[:destinations] if args.key?(:destinations)
18266
+ @json_params = args[:json_params] if args.key?(:json_params)
17170
18267
  @key = args[:key] if args.key?(:key)
17171
18268
  @params = args[:params] if args.key?(:params)
17172
18269
  end
@@ -17536,6 +18633,12 @@ module Google
17536
18633
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineCommonConfig]
17537
18634
  attr_accessor :common_config
17538
18635
 
18636
+ # Optional. Configuration for configurable billing approach. See go/vais-
18637
+ # repricing-billing-dd for more details.
18638
+ # Corresponds to the JSON property `configurableBillingApproach`
18639
+ # @return [String]
18640
+ attr_accessor :configurable_billing_approach
18641
+
17539
18642
  # Output only. Timestamp the Recommendation Engine was created at.
17540
18643
  # Corresponds to the JSON property `createTime`
17541
18644
  # @return [String]
@@ -17568,7 +18671,8 @@ module Google
17568
18671
  # settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
17569
18672
  # gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
17570
18673
  # org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
17571
- # personalization-memory` - Enables personalization based on user preferences.
18674
+ # personalization-memory` * `disable-image-generation` * `disable-video-
18675
+ # generation` * `disable-onedrive-upload`
17572
18676
  # Corresponds to the JSON property `features`
17573
18677
  # @return [Hash<String,String>]
17574
18678
  attr_accessor :features
@@ -17629,6 +18733,7 @@ module Google
17629
18733
  @chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
17630
18734
  @chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
17631
18735
  @common_config = args[:common_config] if args.key?(:common_config)
18736
+ @configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
17632
18737
  @create_time = args[:create_time] if args.key?(:create_time)
17633
18738
  @data_store_ids = args[:data_store_ids] if args.key?(:data_store_ids)
17634
18739
  @disable_analytics = args[:disable_analytics] if args.key?(:disable_analytics)
@@ -19226,6 +20331,11 @@ module Google
19226
20331
  # @return [String]
19227
20332
  attr_accessor :create_time
19228
20333
 
20334
+ # Customer provided configurations.
20335
+ # Corresponds to the JSON property `customerProvidedConfig`
20336
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig]
20337
+ attr_accessor :customer_provided_config
20338
+
19229
20339
  # Output only. Full resource name of the project, for example `projects/`project`
19230
20340
  # `. Note that when making requests, project number and project id are both
19231
20341
  # acceptable, but the server will always respond in project number.
@@ -19251,12 +20361,84 @@ module Google
19251
20361
  # Update properties of this object
19252
20362
  def update!(**args)
19253
20363
  @create_time = args[:create_time] if args.key?(:create_time)
20364
+ @customer_provided_config = args[:customer_provided_config] if args.key?(:customer_provided_config)
19254
20365
  @name = args[:name] if args.key?(:name)
19255
20366
  @provision_completion_time = args[:provision_completion_time] if args.key?(:provision_completion_time)
19256
20367
  @service_terms_map = args[:service_terms_map] if args.key?(:service_terms_map)
19257
20368
  end
19258
20369
  end
19259
20370
 
20371
+ # Customer provided configurations.
20372
+ class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig
20373
+ include Google::Apis::Core::Hashable
20374
+
20375
+ # Configuration for NotebookLM.
20376
+ # Corresponds to the JSON property `notebooklmConfig`
20377
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig]
20378
+ attr_accessor :notebooklm_config
20379
+
20380
+ def initialize(**args)
20381
+ update!(**args)
20382
+ end
20383
+
20384
+ # Update properties of this object
20385
+ def update!(**args)
20386
+ @notebooklm_config = args[:notebooklm_config] if args.key?(:notebooklm_config)
20387
+ end
20388
+ end
20389
+
20390
+ # Configuration for NotebookLM.
20391
+ class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig
20392
+ include Google::Apis::Core::Hashable
20393
+
20394
+ # Configuration for customer defined Model Armor templates to be used for
20395
+ # sanitizing user prompts and LLM responses.
20396
+ # Corresponds to the JSON property `modelArmorConfig`
20397
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
20398
+ attr_accessor :model_armor_config
20399
+
20400
+ def initialize(**args)
20401
+ update!(**args)
20402
+ end
20403
+
20404
+ # Update properties of this object
20405
+ def update!(**args)
20406
+ @model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
20407
+ end
20408
+ end
20409
+
20410
+ # Configuration for customer defined Model Armor templates to be used for
20411
+ # sanitizing user prompts and LLM responses.
20412
+ class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig
20413
+ include Google::Apis::Core::Hashable
20414
+
20415
+ # Optional. The resource name of the Model Armor Template for sanitizing LLM
20416
+ # responses. Format: projects/`project`/locations/`location`/templates/`
20417
+ # template_id` If not specified, no sanitization will be applied to the LLM
20418
+ # response.
20419
+ # Corresponds to the JSON property `responseTemplate`
20420
+ # @return [String]
20421
+ attr_accessor :response_template
20422
+
20423
+ # Optional. The resource name of the Model Armor Template for sanitizing user
20424
+ # prompts. Format: projects/`project`/locations/`location`/templates/`
20425
+ # template_id` If not specified, no sanitization will be applied to the user
20426
+ # prompt.
20427
+ # Corresponds to the JSON property `userPromptTemplate`
20428
+ # @return [String]
20429
+ attr_accessor :user_prompt_template
20430
+
20431
+ def initialize(**args)
20432
+ update!(**args)
20433
+ end
20434
+
20435
+ # Update properties of this object
20436
+ def update!(**args)
20437
+ @response_template = args[:response_template] if args.key?(:response_template)
20438
+ @user_prompt_template = args[:user_prompt_template] if args.key?(:user_prompt_template)
20439
+ end
20440
+ end
20441
+
19260
20442
  # Metadata about the terms of service.
19261
20443
  class GoogleCloudDiscoveryengineV1alphaProjectServiceTerms
19262
20444
  include Google::Apis::Core::Hashable
@@ -20138,7 +21320,8 @@ module Google
20138
21320
  # A 0-indexed integer that specifies the current offset (that is, starting
20139
21321
  # result location, amongst the Documents deemed by the API as relevant) in
20140
21322
  # search results. This field is only considered if page_token is unset. If this
20141
- # field is negative, an `INVALID_ARGUMENT` is returned.
21323
+ # field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be
21324
+ # capped to a reasonable threshold.
20142
21325
  # Corresponds to the JSON property `offset`
20143
21326
  # @return [Fixnum]
20144
21327
  attr_accessor :offset
@@ -20291,6 +21474,13 @@ module Google
20291
21474
  attr_accessor :safe_search
20292
21475
  alias_method :safe_search?, :safe_search
20293
21476
 
21477
+ # SearchAddonSpec is used to disable add-ons for search as per new repricing
21478
+ # model. By default if the SearchAddonSpec is not specified, we consider that
21479
+ # the customer wants to enable them wherever applicable.
21480
+ # Corresponds to the JSON property `searchAddonSpec`
21481
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec]
21482
+ attr_accessor :search_addon_spec
21483
+
20294
21484
  # Specification for search as you type in search requests.
20295
21485
  # Corresponds to the JSON property `searchAsYouTypeSpec`
20296
21486
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec]
@@ -20410,6 +21600,7 @@ module Google
20410
21600
  @relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
20411
21601
  @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
20412
21602
  @safe_search = args[:safe_search] if args.key?(:safe_search)
21603
+ @search_addon_spec = args[:search_addon_spec] if args.key?(:search_addon_spec)
20413
21604
  @search_as_you_type_spec = args[:search_as_you_type_spec] if args.key?(:search_as_you_type_spec)
20414
21605
  @serving_config = args[:serving_config] if args.key?(:serving_config)
20415
21606
  @session = args[:session] if args.key?(:session)
@@ -21222,6 +22413,17 @@ module Google
21222
22413
  class GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec
21223
22414
  include Google::Apis::Core::Hashable
21224
22415
 
22416
+ # Optional. Allowlist of fields that can be used for natural language filter
22417
+ # extraction. By default, if this is unspecified, all indexable fields are
22418
+ # eligible for natural language filter extraction (but are not guaranteed to be
22419
+ # used). If any fields are specified in allowed_field_names, only the fields
22420
+ # that are both marked as indexable in the schema and specified in the allowlist
22421
+ # will be eligible for natural language filter extraction. Note: for multi-
22422
+ # datastore search, this is not yet supported, and will be ignored.
22423
+ # Corresponds to the JSON property `allowedFieldNames`
22424
+ # @return [Array<String>]
22425
+ attr_accessor :allowed_field_names
22426
+
21225
22427
  # Optional. Controls behavior of how extracted filters are applied to the search.
21226
22428
  # The default behavior depends on the request. For single datastore structured
21227
22429
  # search, the default is `HARD_FILTER`. For multi-datastore search, the default
@@ -21254,6 +22456,7 @@ module Google
21254
22456
 
21255
22457
  # Update properties of this object
21256
22458
  def update!(**args)
22459
+ @allowed_field_names = args[:allowed_field_names] if args.key?(:allowed_field_names)
21257
22460
  @extracted_filter_behavior = args[:extracted_filter_behavior] if args.key?(:extracted_filter_behavior)
21258
22461
  @filter_extraction_condition = args[:filter_extraction_condition] if args.key?(:filter_extraction_condition)
21259
22462
  @geo_search_query_detection_field_names = args[:geo_search_query_detection_field_names] if args.key?(:geo_search_query_detection_field_names)
@@ -21329,6 +22532,45 @@ module Google
21329
22532
  end
21330
22533
  end
21331
22534
 
22535
+ # SearchAddonSpec is used to disable add-ons for search as per new repricing
22536
+ # model. By default if the SearchAddonSpec is not specified, we consider that
22537
+ # the customer wants to enable them wherever applicable.
22538
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec
22539
+ include Google::Apis::Core::Hashable
22540
+
22541
+ # Optional. If true, generative answer add-on is disabled. Generative answer add-
22542
+ # on includes natural language to filters and simple answers.
22543
+ # Corresponds to the JSON property `disableGenerativeAnswerAddOn`
22544
+ # @return [Boolean]
22545
+ attr_accessor :disable_generative_answer_add_on
22546
+ alias_method :disable_generative_answer_add_on?, :disable_generative_answer_add_on
22547
+
22548
+ # Optional. If true, disables event re-ranking and personalization to optimize
22549
+ # KPIs & personalize results.
22550
+ # Corresponds to the JSON property `disableKpiPersonalizationAddOn`
22551
+ # @return [Boolean]
22552
+ attr_accessor :disable_kpi_personalization_add_on
22553
+ alias_method :disable_kpi_personalization_add_on?, :disable_kpi_personalization_add_on
22554
+
22555
+ # Optional. If true, semantic add-on is disabled. Semantic add-on includes
22556
+ # embeddings and jetstream.
22557
+ # Corresponds to the JSON property `disableSemanticAddOn`
22558
+ # @return [Boolean]
22559
+ attr_accessor :disable_semantic_add_on
22560
+ alias_method :disable_semantic_add_on?, :disable_semantic_add_on
22561
+
22562
+ def initialize(**args)
22563
+ update!(**args)
22564
+ end
22565
+
22566
+ # Update properties of this object
22567
+ def update!(**args)
22568
+ @disable_generative_answer_add_on = args[:disable_generative_answer_add_on] if args.key?(:disable_generative_answer_add_on)
22569
+ @disable_kpi_personalization_add_on = args[:disable_kpi_personalization_add_on] if args.key?(:disable_kpi_personalization_add_on)
22570
+ @disable_semantic_add_on = args[:disable_semantic_add_on] if args.key?(:disable_semantic_add_on)
22571
+ end
22572
+ end
22573
+
21332
22574
  # Specification for search as you type in search requests.
21333
22575
  class GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec
21334
22576
  include Google::Apis::Core::Hashable
@@ -23105,6 +24347,12 @@ module Google
23105
24347
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaCmekConfig]
23106
24348
  attr_accessor :cmek_config
23107
24349
 
24350
+ # Optional. Configuration for configurable billing approach. See go/vais-
24351
+ # repricing-billing-dd for more details, only apply to non-Spark UCS Search.
24352
+ # Corresponds to the JSON property `configurableBillingApproach`
24353
+ # @return [String]
24354
+ attr_accessor :configurable_billing_approach
24355
+
23108
24356
  # Immutable. The content config of the data store. If this field is unset, the
23109
24357
  # server behavior defaults to ContentConfig.NO_CONTENT.
23110
24358
  # Corresponds to the JSON property `contentConfig`
@@ -23218,6 +24466,7 @@ module Google
23218
24466
  @advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
23219
24467
  @billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
23220
24468
  @cmek_config = args[:cmek_config] if args.key?(:cmek_config)
24469
+ @configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
23221
24470
  @content_config = args[:content_config] if args.key?(:content_config)
23222
24471
  @create_time = args[:create_time] if args.key?(:create_time)
23223
24472
  @default_schema_id = args[:default_schema_id] if args.key?(:default_schema_id)
@@ -23851,6 +25100,12 @@ module Google
23851
25100
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineCommonConfig]
23852
25101
  attr_accessor :common_config
23853
25102
 
25103
+ # Optional. Configuration for configurable billing approach. See go/vais-
25104
+ # repricing-billing-dd for more details.
25105
+ # Corresponds to the JSON property `configurableBillingApproach`
25106
+ # @return [String]
25107
+ attr_accessor :configurable_billing_approach
25108
+
23854
25109
  # Output only. Timestamp the Recommendation Engine was created at.
23855
25110
  # Corresponds to the JSON property `createTime`
23856
25111
  # @return [String]
@@ -23883,7 +25138,8 @@ module Google
23883
25138
  # settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-
23884
25139
  # gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-
23885
25140
  # org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `
23886
- # personalization-memory` - Enables personalization based on user preferences.
25141
+ # personalization-memory` * `disable-image-generation` * `disable-video-
25142
+ # generation` * `disable-onedrive-upload`
23887
25143
  # Corresponds to the JSON property `features`
23888
25144
  # @return [Hash<String,String>]
23889
25145
  attr_accessor :features
@@ -23934,6 +25190,7 @@ module Google
23934
25190
  @chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
23935
25191
  @chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
23936
25192
  @common_config = args[:common_config] if args.key?(:common_config)
25193
+ @configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
23937
25194
  @create_time = args[:create_time] if args.key?(:create_time)
23938
25195
  @data_store_ids = args[:data_store_ids] if args.key?(:data_store_ids)
23939
25196
  @disable_analytics = args[:disable_analytics] if args.key?(:disable_analytics)
@@ -25054,6 +26311,11 @@ module Google
25054
26311
  # @return [String]
25055
26312
  attr_accessor :create_time
25056
26313
 
26314
+ # Customer provided configurations.
26315
+ # Corresponds to the JSON property `customerProvidedConfig`
26316
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig]
26317
+ attr_accessor :customer_provided_config
26318
+
25057
26319
  # Output only. Full resource name of the project, for example `projects/`project`
25058
26320
  # `. Note that when making requests, project number and project id are both
25059
26321
  # acceptable, but the server will always respond in project number.
@@ -25079,12 +26341,84 @@ module Google
25079
26341
  # Update properties of this object
25080
26342
  def update!(**args)
25081
26343
  @create_time = args[:create_time] if args.key?(:create_time)
26344
+ @customer_provided_config = args[:customer_provided_config] if args.key?(:customer_provided_config)
25082
26345
  @name = args[:name] if args.key?(:name)
25083
26346
  @provision_completion_time = args[:provision_completion_time] if args.key?(:provision_completion_time)
25084
26347
  @service_terms_map = args[:service_terms_map] if args.key?(:service_terms_map)
25085
26348
  end
25086
26349
  end
25087
26350
 
26351
+ # Customer provided configurations.
26352
+ class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig
26353
+ include Google::Apis::Core::Hashable
26354
+
26355
+ # Configuration for NotebookLM.
26356
+ # Corresponds to the JSON property `notebooklmConfig`
26357
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig]
26358
+ attr_accessor :notebooklm_config
26359
+
26360
+ def initialize(**args)
26361
+ update!(**args)
26362
+ end
26363
+
26364
+ # Update properties of this object
26365
+ def update!(**args)
26366
+ @notebooklm_config = args[:notebooklm_config] if args.key?(:notebooklm_config)
26367
+ end
26368
+ end
26369
+
26370
+ # Configuration for NotebookLM.
26371
+ class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig
26372
+ include Google::Apis::Core::Hashable
26373
+
26374
+ # Configuration for customer defined Model Armor templates to be used for
26375
+ # sanitizing user prompts and LLM responses.
26376
+ # Corresponds to the JSON property `modelArmorConfig`
26377
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
26378
+ attr_accessor :model_armor_config
26379
+
26380
+ def initialize(**args)
26381
+ update!(**args)
26382
+ end
26383
+
26384
+ # Update properties of this object
26385
+ def update!(**args)
26386
+ @model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
26387
+ end
26388
+ end
26389
+
26390
+ # Configuration for customer defined Model Armor templates to be used for
26391
+ # sanitizing user prompts and LLM responses.
26392
+ class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig
26393
+ include Google::Apis::Core::Hashable
26394
+
26395
+ # Optional. The resource name of the Model Armor Template for sanitizing LLM
26396
+ # responses. Format: projects/`project`/locations/`location`/templates/`
26397
+ # template_id` If not specified, no sanitization will be applied to the LLM
26398
+ # response.
26399
+ # Corresponds to the JSON property `responseTemplate`
26400
+ # @return [String]
26401
+ attr_accessor :response_template
26402
+
26403
+ # Optional. The resource name of the Model Armor Template for sanitizing user
26404
+ # prompts. Format: projects/`project`/locations/`location`/templates/`
26405
+ # template_id` If not specified, no sanitization will be applied to the user
26406
+ # prompt.
26407
+ # Corresponds to the JSON property `userPromptTemplate`
26408
+ # @return [String]
26409
+ attr_accessor :user_prompt_template
26410
+
26411
+ def initialize(**args)
26412
+ update!(**args)
26413
+ end
26414
+
26415
+ # Update properties of this object
26416
+ def update!(**args)
26417
+ @response_template = args[:response_template] if args.key?(:response_template)
26418
+ @user_prompt_template = args[:user_prompt_template] if args.key?(:user_prompt_template)
26419
+ end
26420
+ end
26421
+
25088
26422
  # Metadata about the terms of service.
25089
26423
  class GoogleCloudDiscoveryengineV1betaProjectServiceTerms
25090
26424
  include Google::Apis::Core::Hashable
@@ -25599,7 +26933,8 @@ module Google
25599
26933
  # A 0-indexed integer that specifies the current offset (that is, starting
25600
26934
  # result location, amongst the Documents deemed by the API as relevant) in
25601
26935
  # search results. This field is only considered if page_token is unset. If this
25602
- # field is negative, an `INVALID_ARGUMENT` is returned.
26936
+ # field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be
26937
+ # capped to a reasonable threshold.
25603
26938
  # Corresponds to the JSON property `offset`
25604
26939
  # @return [Fixnum]
25605
26940
  attr_accessor :offset
@@ -25752,6 +27087,13 @@ module Google
25752
27087
  attr_accessor :safe_search
25753
27088
  alias_method :safe_search?, :safe_search
25754
27089
 
27090
+ # SearchAddonSpec is used to disable add-ons for search as per new repricing
27091
+ # model. By default if the SearchAddonSpec is not specified, we consider that
27092
+ # the customer wants to enable them wherever applicable.
27093
+ # Corresponds to the JSON property `searchAddonSpec`
27094
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec]
27095
+ attr_accessor :search_addon_spec
27096
+
25755
27097
  # Specification for search as you type in search requests.
25756
27098
  # Corresponds to the JSON property `searchAsYouTypeSpec`
25757
27099
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec]
@@ -25861,6 +27203,7 @@ module Google
25861
27203
  @relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
25862
27204
  @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
25863
27205
  @safe_search = args[:safe_search] if args.key?(:safe_search)
27206
+ @search_addon_spec = args[:search_addon_spec] if args.key?(:search_addon_spec)
25864
27207
  @search_as_you_type_spec = args[:search_as_you_type_spec] if args.key?(:search_as_you_type_spec)
25865
27208
  @serving_config = args[:serving_config] if args.key?(:serving_config)
25866
27209
  @session = args[:session] if args.key?(:session)
@@ -26672,6 +28015,17 @@ module Google
26672
28015
  class GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec
26673
28016
  include Google::Apis::Core::Hashable
26674
28017
 
28018
+ # Optional. Allowlist of fields that can be used for natural language filter
28019
+ # extraction. By default, if this is unspecified, all indexable fields are
28020
+ # eligible for natural language filter extraction (but are not guaranteed to be
28021
+ # used). If any fields are specified in allowed_field_names, only the fields
28022
+ # that are both marked as indexable in the schema and specified in the allowlist
28023
+ # will be eligible for natural language filter extraction. Note: for multi-
28024
+ # datastore search, this is not yet supported, and will be ignored.
28025
+ # Corresponds to the JSON property `allowedFieldNames`
28026
+ # @return [Array<String>]
28027
+ attr_accessor :allowed_field_names
28028
+
26675
28029
  # Optional. Controls behavior of how extracted filters are applied to the search.
26676
28030
  # The default behavior depends on the request. For single datastore structured
26677
28031
  # search, the default is `HARD_FILTER`. For multi-datastore search, the default
@@ -26704,6 +28058,7 @@ module Google
26704
28058
 
26705
28059
  # Update properties of this object
26706
28060
  def update!(**args)
28061
+ @allowed_field_names = args[:allowed_field_names] if args.key?(:allowed_field_names)
26707
28062
  @extracted_filter_behavior = args[:extracted_filter_behavior] if args.key?(:extracted_filter_behavior)
26708
28063
  @filter_extraction_condition = args[:filter_extraction_condition] if args.key?(:filter_extraction_condition)
26709
28064
  @geo_search_query_detection_field_names = args[:geo_search_query_detection_field_names] if args.key?(:geo_search_query_detection_field_names)
@@ -26779,6 +28134,45 @@ module Google
26779
28134
  end
26780
28135
  end
26781
28136
 
28137
+ # SearchAddonSpec is used to disable add-ons for search as per new repricing
28138
+ # model. By default if the SearchAddonSpec is not specified, we consider that
28139
+ # the customer wants to enable them wherever applicable.
28140
+ class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec
28141
+ include Google::Apis::Core::Hashable
28142
+
28143
+ # Optional. If true, generative answer add-on is disabled. Generative answer add-
28144
+ # on includes natural language to filters and simple answers.
28145
+ # Corresponds to the JSON property `disableGenerativeAnswerAddOn`
28146
+ # @return [Boolean]
28147
+ attr_accessor :disable_generative_answer_add_on
28148
+ alias_method :disable_generative_answer_add_on?, :disable_generative_answer_add_on
28149
+
28150
+ # Optional. If true, disables event re-ranking and personalization to optimize
28151
+ # KPIs & personalize results.
28152
+ # Corresponds to the JSON property `disableKpiPersonalizationAddOn`
28153
+ # @return [Boolean]
28154
+ attr_accessor :disable_kpi_personalization_add_on
28155
+ alias_method :disable_kpi_personalization_add_on?, :disable_kpi_personalization_add_on
28156
+
28157
+ # Optional. If true, semantic add-on is disabled. Semantic add-on includes
28158
+ # embeddings and jetstream.
28159
+ # Corresponds to the JSON property `disableSemanticAddOn`
28160
+ # @return [Boolean]
28161
+ attr_accessor :disable_semantic_add_on
28162
+ alias_method :disable_semantic_add_on?, :disable_semantic_add_on
28163
+
28164
+ def initialize(**args)
28165
+ update!(**args)
28166
+ end
28167
+
28168
+ # Update properties of this object
28169
+ def update!(**args)
28170
+ @disable_generative_answer_add_on = args[:disable_generative_answer_add_on] if args.key?(:disable_generative_answer_add_on)
28171
+ @disable_kpi_personalization_add_on = args[:disable_kpi_personalization_add_on] if args.key?(:disable_kpi_personalization_add_on)
28172
+ @disable_semantic_add_on = args[:disable_semantic_add_on] if args.key?(:disable_semantic_add_on)
28173
+ end
28174
+ end
28175
+
26782
28176
  # Specification for search as you type in search requests.
26783
28177
  class GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec
26784
28178
  include Google::Apis::Core::Hashable
@@ -27456,6 +28850,13 @@ module Google
27456
28850
  # @return [Array<Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation>]
27457
28851
  attr_accessor :operations
27458
28852
 
28853
+ # Unordered list. Unreachable resources. Populated when the request sets `
28854
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
28855
+ # when attempting to list all resources across all supported locations.
28856
+ # Corresponds to the JSON property `unreachable`
28857
+ # @return [Array<String>]
28858
+ attr_accessor :unreachable
28859
+
27459
28860
  def initialize(**args)
27460
28861
  update!(**args)
27461
28862
  end
@@ -27464,6 +28865,7 @@ module Google
27464
28865
  def update!(**args)
27465
28866
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
27466
28867
  @operations = args[:operations] if args.key?(:operations)
28868
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
27467
28869
  end
27468
28870
  end
27469
28871