google-apis-discoveryengine_v1beta 0.63.0 → 0.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a9543320339c8c82a86b75f3332849a1c870ecf0ad1b5785724b646557cf26c7
4
- data.tar.gz: 432d385fdca701210521100e6d26197e6fb91b81f4145743944177bc3a1b5b5e
3
+ metadata.gz: e92fda8db6fef3ec632d19dc9d5dd2288bc365ba09fd2c0eeea914431f77aa07
4
+ data.tar.gz: a386c5dfc926bd2996f6bb9c1137295939aa0c04215bd4013af51ae738a88a2c
5
5
  SHA512:
6
- metadata.gz: fa0dae033e446793e0ba4231bc48ce5c601a938a327dbb9232c6b2aba788cb1644b8bbf9697f39ac0b04b12fb244edfd311a50455ffa99c7fe6593abf199fab1
7
- data.tar.gz: 7e75f888cbfbffacce860c85902b7ec77c9dd0373d3f69cf082a3891e5585dff582e4809be79f67ffbe8197235f1d45a4ff5ceac27742c7bee0a639353e84689
6
+ metadata.gz: 2a4cfc85a9048dac892951f02a2f6488feae1bcb3441a200e341ed6614bcb69fadf3db923926d0fc20f24b45c4c6d942b55f42c50633c9e600b181a533480736
7
+ data.tar.gz: '082062878ac13d16a4e2f98cd11f40f60aa495cf6ff26efa11faa80ee6dd2d8abe4921c8e47f2d75ae43f25a9ee449073b98f93a7ddcee679704bc7d7c14bf65'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-discoveryengine_v1beta
2
2
 
3
+ ### v0.65.0 (2025-05-18)
4
+
5
+ * Regenerated from discovery document revision 20250514
6
+
7
+ ### v0.64.0 (2025-05-11)
8
+
9
+ * Regenerated from discovery document revision 20250508
10
+ * Regenerated using generator version 0.17.0
11
+
3
12
  ### v0.63.0 (2025-04-27)
4
13
 
5
14
  * Regenerated from discovery document revision 20250419
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/generative-ai-app-builder/d
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 2.7+.
86
+ This library is supported on Ruby 3.1+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -1622,10 +1622,10 @@ module Google
1622
1622
  # @return [String]
1623
1623
  attr_accessor :kms_key_name
1624
1624
 
1625
- # Immutable. The full resource name of the data store. Format: `projects/`
1626
- # project`/locations/`location`/collections/`collection_id`/dataStores/`
1627
- # data_store_id``. This field must be a UTF-8 encoded string with a length limit
1628
- # of 1024 characters.
1625
+ # Immutable. Identifier. The full resource name of the data store. Format: `
1626
+ # projects/`project`/locations/`location`/collections/`collection_id`/dataStores/
1627
+ # `data_store_id``. This field must be a UTF-8 encoded string with a length
1628
+ # limit of 1024 characters.
1629
1629
  # Corresponds to the JSON property `name`
1630
1630
  # @return [String]
1631
1631
  attr_accessor :name
@@ -1734,7 +1734,8 @@ module Google
1734
1734
  class GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore
1735
1735
  include Google::Apis::Core::Hashable
1736
1736
 
1737
- # If set true, the DataStore will not be available for serving search requests.
1737
+ # Optional. If set true, the DataStore will not be available for serving search
1738
+ # requests.
1738
1739
  # Corresponds to the JSON property `disabledForServing`
1739
1740
  # @return [Boolean]
1740
1741
  attr_accessor :disabled_for_serving
@@ -2265,12 +2266,12 @@ module Google
2265
2266
  # @return [String]
2266
2267
  attr_accessor :create_time
2267
2268
 
2268
- # The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and
2269
- # SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at
2270
- # most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple
2271
- # DataStores in the same Collection can be associated here. Note that when used
2272
- # in CreateEngineRequest, one DataStore id must be provided as the system will
2273
- # use it for necessary initializations.
2269
+ # Optional. The data stores associated with this engine. For
2270
+ # SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they
2271
+ # can only associate with at most one data store. If solution_type is
2272
+ # SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be
2273
+ # associated here. Note that when used in CreateEngineRequest, one DataStore id
2274
+ # must be provided as the system will use it for necessary initializations.
2274
2275
  # Corresponds to the JSON property `dataStoreIds`
2275
2276
  # @return [Array<String>]
2276
2277
  attr_accessor :data_store_ids
@@ -2287,9 +2288,9 @@ module Google
2287
2288
  # @return [String]
2288
2289
  attr_accessor :display_name
2289
2290
 
2290
- # The industry vertical that the engine registers. The restriction of the Engine
2291
- # industry vertical is based on DataStore: Vertical on Engine has to match
2292
- # vertical of the DataStore linked to the engine.
2291
+ # Optional. The industry vertical that the engine registers. The restriction of
2292
+ # the Engine industry vertical is based on DataStore: Vertical on Engine has to
2293
+ # match vertical of the DataStore linked to the engine.
2293
2294
  # Corresponds to the JSON property `industryVertical`
2294
2295
  # @return [String]
2295
2296
  attr_accessor :industry_vertical
@@ -2299,11 +2300,11 @@ module Google
2299
2300
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig]
2300
2301
  attr_accessor :media_recommendation_engine_config
2301
2302
 
2302
- # Immutable. The fully qualified resource name of the engine. This field must be
2303
- # a UTF-8 encoded string with a length limit of 1024 characters. Format: `
2304
- # projects/`project`/locations/`location`/collections/`collection`/engines/`
2305
- # engine`` engine should be 1-63 characters, and valid characters are /a-z0-9*/.
2306
- # Otherwise, an INVALID_ARGUMENT error is returned.
2303
+ # Immutable. Identifier. The fully qualified resource name of the engine. This
2304
+ # field must be a UTF-8 encoded string with a length limit of 1024 characters.
2305
+ # Format: `projects/`project`/locations/`location`/collections/`collection`/
2306
+ # engines/`engine`` engine should be 1-63 characters, and valid characters are /
2307
+ # a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned.
2307
2308
  # Corresponds to the JSON property `name`
2308
2309
  # @return [String]
2309
2310
  attr_accessor :name
@@ -5387,6 +5388,71 @@ module Google
5387
5388
  end
5388
5389
  end
5389
5390
 
5391
+ # Metadata related to the progress of the UserLicenseService.
5392
+ # BatchUpdateUserLicenses operation. This will be returned by the google.
5393
+ # longrunning.Operation.metadata field.
5394
+ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata
5395
+ include Google::Apis::Core::Hashable
5396
+
5397
+ # Operation create time.
5398
+ # Corresponds to the JSON property `createTime`
5399
+ # @return [String]
5400
+ attr_accessor :create_time
5401
+
5402
+ # Count of user licenses that failed to be updated.
5403
+ # Corresponds to the JSON property `failureCount`
5404
+ # @return [Fixnum]
5405
+ attr_accessor :failure_count
5406
+
5407
+ # Count of user licenses successfully updated.
5408
+ # Corresponds to the JSON property `successCount`
5409
+ # @return [Fixnum]
5410
+ attr_accessor :success_count
5411
+
5412
+ # Operation last update time. If the operation is done, this is also the finish
5413
+ # time.
5414
+ # Corresponds to the JSON property `updateTime`
5415
+ # @return [String]
5416
+ attr_accessor :update_time
5417
+
5418
+ def initialize(**args)
5419
+ update!(**args)
5420
+ end
5421
+
5422
+ # Update properties of this object
5423
+ def update!(**args)
5424
+ @create_time = args[:create_time] if args.key?(:create_time)
5425
+ @failure_count = args[:failure_count] if args.key?(:failure_count)
5426
+ @success_count = args[:success_count] if args.key?(:success_count)
5427
+ @update_time = args[:update_time] if args.key?(:update_time)
5428
+ end
5429
+ end
5430
+
5431
+ # Response message for UserLicenseService.BatchUpdateUserLicenses method.
5432
+ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse
5433
+ include Google::Apis::Core::Hashable
5434
+
5435
+ # A sample of errors encountered while processing the request.
5436
+ # Corresponds to the JSON property `errorSamples`
5437
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus>]
5438
+ attr_accessor :error_samples
5439
+
5440
+ # UserLicenses successfully updated.
5441
+ # Corresponds to the JSON property `userLicenses`
5442
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaUserLicense>]
5443
+ attr_accessor :user_licenses
5444
+
5445
+ def initialize(**args)
5446
+ update!(**args)
5447
+ end
5448
+
5449
+ # Update properties of this object
5450
+ def update!(**args)
5451
+ @error_samples = args[:error_samples] if args.key?(:error_samples)
5452
+ @user_licenses = args[:user_licenses] if args.key?(:user_licenses)
5453
+ end
5454
+ end
5455
+
5390
5456
  # Configurations used to enable CMEK data encryption with Cloud KMS keys.
5391
5457
  class GoogleCloudDiscoveryengineV1alphaCmekConfig
5392
5458
  include Google::Apis::Core::Hashable
@@ -6325,8 +6391,10 @@ module Google
6325
6391
  # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig>]
6326
6392
  attr_accessor :alert_policy_configs
6327
6393
 
6328
- # Indicates whether the connector is disabled for auto run. It can be used to
6329
- # pause periodical and real time sync.
6394
+ # Optional. Indicates whether the connector is disabled for auto run. It can be
6395
+ # used to pause periodical and real time sync. Update: with the introduction of
6396
+ # incremental_sync_disabled, auto_run_disabled is used to pause/disable only
6397
+ # full syncs
6330
6398
  # Corresponds to the JSON property `autoRunDisabled`
6331
6399
  # @return [Boolean]
6332
6400
  attr_accessor :auto_run_disabled
@@ -6351,11 +6419,17 @@ module Google
6351
6419
 
6352
6420
  # Output only. The type of connector. Each source can only map to one type. For
6353
6421
  # example, salesforce, confluence and jira have THIRD_PARTY connector type. It
6354
- # is notmutable once set by system.
6422
+ # is not mutable once set by system.
6355
6423
  # Corresponds to the JSON property `connectorType`
6356
6424
  # @return [String]
6357
6425
  attr_accessor :connector_type
6358
6426
 
6427
+ # Optional. Whether the END USER AUTHENTICATION connector is created in SaaS.
6428
+ # Corresponds to the JSON property `createEuaSaas`
6429
+ # @return [Boolean]
6430
+ attr_accessor :create_eua_saas
6431
+ alias_method :create_eua_saas?, :create_eua_saas
6432
+
6359
6433
  # Output only. Timestamp the DataConnector was created at.
6360
6434
  # Corresponds to the JSON property `createTime`
6361
6435
  # @return [String]
@@ -6400,6 +6474,20 @@ module Google
6400
6474
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig]
6401
6475
  attr_accessor :identity_schedule_config
6402
6476
 
6477
+ # Optional. The refresh interval specifically for incremental data syncs. If
6478
+ # unset, incremental syncs will use the default from env, set to 3hrs. The
6479
+ # minimum is 30 minutes and maximum is 7 days.
6480
+ # Corresponds to the JSON property `incrementalRefreshInterval`
6481
+ # @return [String]
6482
+ attr_accessor :incremental_refresh_interval
6483
+
6484
+ # Optional. Indicates whether incremental syncs are paused for this connector.
6485
+ # This is independent of auto_run_disabled.
6486
+ # Corresponds to the JSON property `incrementalSyncDisabled`
6487
+ # @return [Boolean]
6488
+ attr_accessor :incremental_sync_disabled
6489
+ alias_method :incremental_sync_disabled?, :incremental_sync_disabled
6490
+
6403
6491
  # Input only. The KMS key to be used to protect the DataStores managed by this
6404
6492
  # connector. Must be set for requests that need to comply with CMEK Org Policy
6405
6493
  # protections. If this field is set and processed successfully, the DataStores
@@ -6538,6 +6626,7 @@ module Google
6538
6626
  @blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
6539
6627
  @connector_modes = args[:connector_modes] if args.key?(:connector_modes)
6540
6628
  @connector_type = args[:connector_type] if args.key?(:connector_type)
6629
+ @create_eua_saas = args[:create_eua_saas] if args.key?(:create_eua_saas)
6541
6630
  @create_time = args[:create_time] if args.key?(:create_time)
6542
6631
  @data_source = args[:data_source] if args.key?(:data_source)
6543
6632
  @destination_configs = args[:destination_configs] if args.key?(:destination_configs)
@@ -6546,6 +6635,8 @@ module Google
6546
6635
  @errors = args[:errors] if args.key?(:errors)
6547
6636
  @identity_refresh_interval = args[:identity_refresh_interval] if args.key?(:identity_refresh_interval)
6548
6637
  @identity_schedule_config = args[:identity_schedule_config] if args.key?(:identity_schedule_config)
6638
+ @incremental_refresh_interval = args[:incremental_refresh_interval] if args.key?(:incremental_refresh_interval)
6639
+ @incremental_sync_disabled = args[:incremental_sync_disabled] if args.key?(:incremental_sync_disabled)
6549
6640
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
6550
6641
  @last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time)
6551
6642
  @latest_pause_time = args[:latest_pause_time] if args.key?(:latest_pause_time)
@@ -6780,10 +6871,10 @@ module Google
6780
6871
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaLanguageInfo]
6781
6872
  attr_accessor :language_info
6782
6873
 
6783
- # Immutable. The full resource name of the data store. Format: `projects/`
6784
- # project`/locations/`location`/collections/`collection_id`/dataStores/`
6785
- # data_store_id``. This field must be a UTF-8 encoded string with a length limit
6786
- # of 1024 characters.
6874
+ # Immutable. Identifier. The full resource name of the data store. Format: `
6875
+ # projects/`project`/locations/`location`/collections/`collection_id`/dataStores/
6876
+ # `data_store_id``. This field must be a UTF-8 encoded string with a length
6877
+ # limit of 1024 characters.
6787
6878
  # Corresponds to the JSON property `name`
6788
6879
  # @return [String]
6789
6880
  attr_accessor :name
@@ -6900,7 +6991,8 @@ module Google
6900
6991
  class GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore
6901
6992
  include Google::Apis::Core::Hashable
6902
6993
 
6903
- # If set true, the DataStore will not be available for serving search requests.
6994
+ # Optional. If set true, the DataStore will not be available for serving search
6995
+ # requests.
6904
6996
  # Corresponds to the JSON property `disabledForServing`
6905
6997
  # @return [Boolean]
6906
6998
  attr_accessor :disabled_for_serving
@@ -7575,12 +7667,12 @@ module Google
7575
7667
  # @return [String]
7576
7668
  attr_accessor :create_time
7577
7669
 
7578
- # The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and
7579
- # SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at
7580
- # most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple
7581
- # DataStores in the same Collection can be associated here. Note that when used
7582
- # in CreateEngineRequest, one DataStore id must be provided as the system will
7583
- # use it for necessary initializations.
7670
+ # Optional. The data stores associated with this engine. For
7671
+ # SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they
7672
+ # can only associate with at most one data store. If solution_type is
7673
+ # SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be
7674
+ # associated here. Note that when used in CreateEngineRequest, one DataStore id
7675
+ # must be provided as the system will use it for necessary initializations.
7584
7676
  # Corresponds to the JSON property `dataStoreIds`
7585
7677
  # @return [Array<String>]
7586
7678
  attr_accessor :data_store_ids
@@ -7597,9 +7689,9 @@ module Google
7597
7689
  # @return [String]
7598
7690
  attr_accessor :display_name
7599
7691
 
7600
- # The industry vertical that the engine registers. The restriction of the Engine
7601
- # industry vertical is based on DataStore: Vertical on Engine has to match
7602
- # vertical of the DataStore linked to the engine.
7692
+ # Optional. The industry vertical that the engine registers. The restriction of
7693
+ # the Engine industry vertical is based on DataStore: Vertical on Engine has to
7694
+ # match vertical of the DataStore linked to the engine.
7603
7695
  # Corresponds to the JSON property `industryVertical`
7604
7696
  # @return [String]
7605
7697
  attr_accessor :industry_vertical
@@ -7609,11 +7701,11 @@ module Google
7609
7701
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig]
7610
7702
  attr_accessor :media_recommendation_engine_config
7611
7703
 
7612
- # Immutable. The fully qualified resource name of the engine. This field must be
7613
- # a UTF-8 encoded string with a length limit of 1024 characters. Format: `
7614
- # projects/`project`/locations/`location`/collections/`collection`/engines/`
7615
- # engine`` engine should be 1-63 characters, and valid characters are /a-z0-9*/.
7616
- # Otherwise, an INVALID_ARGUMENT error is returned.
7704
+ # Immutable. Identifier. The fully qualified resource name of the engine. This
7705
+ # field must be a UTF-8 encoded string with a length limit of 1024 characters.
7706
+ # Format: `projects/`project`/locations/`location`/collections/`collection`/
7707
+ # engines/`engine`` engine should be 1-63 characters, and valid characters are /
7708
+ # a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned.
7617
7709
  # Corresponds to the JSON property `name`
7618
7710
  # @return [String]
7619
7711
  attr_accessor :name
@@ -10889,6 +10981,14 @@ module Google
10889
10981
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec]
10890
10982
  attr_accessor :boost_spec
10891
10983
 
10984
+ # Optional. Custom search operators which if specified will be used to filter
10985
+ # results from workspace data stores. For more information on custom search
10986
+ # operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/
10987
+ # 6172299).
10988
+ # Corresponds to the JSON property `customSearchOperators`
10989
+ # @return [String]
10990
+ attr_accessor :custom_search_operators
10991
+
10892
10992
  # Required. Full resource name of DataStore, such as `projects/`project`/
10893
10993
  # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
10894
10994
  # Corresponds to the JSON property `dataStore`
@@ -10909,6 +11009,7 @@ module Google
10909
11009
  # Update properties of this object
10910
11010
  def update!(**args)
10911
11011
  @boost_spec = args[:boost_spec] if args.key?(:boost_spec)
11012
+ @custom_search_operators = args[:custom_search_operators] if args.key?(:custom_search_operators)
10912
11013
  @data_store = args[:data_store] if args.key?(:data_store)
10913
11014
  @filter = args[:filter] if args.key?(:filter)
10914
11015
  end
@@ -12028,6 +12129,79 @@ module Google
12028
12129
  end
12029
12130
  end
12030
12131
 
12132
+ # User License information assigned by the admin.
12133
+ class GoogleCloudDiscoveryengineV1alphaUserLicense
12134
+ include Google::Apis::Core::Hashable
12135
+
12136
+ # Output only. User created timestamp.
12137
+ # Corresponds to the JSON property `createTime`
12138
+ # @return [String]
12139
+ attr_accessor :create_time
12140
+
12141
+ # Output only. User last logged in time. If the user has not logged in yet, this
12142
+ # field will be empty.
12143
+ # Corresponds to the JSON property `lastLoginTime`
12144
+ # @return [String]
12145
+ attr_accessor :last_login_time
12146
+
12147
+ # Output only. License assignment state of the user. If the user is assigned
12148
+ # with a license config, the user loggin will be assigned with the license; If
12149
+ # the user's license assignment state is unassigned or unspecified, no license
12150
+ # config will be associated to the user;
12151
+ # Corresponds to the JSON property `licenseAssignmentState`
12152
+ # @return [String]
12153
+ attr_accessor :license_assignment_state
12154
+
12155
+ # Optional. The full resource name of the Subscription(LicenseConfig) assigned
12156
+ # to the user.
12157
+ # Corresponds to the JSON property `licenseConfig`
12158
+ # @return [String]
12159
+ attr_accessor :license_config
12160
+
12161
+ # Output only. User update timestamp.
12162
+ # Corresponds to the JSON property `updateTime`
12163
+ # @return [String]
12164
+ attr_accessor :update_time
12165
+
12166
+ # Optional. The full resource name of the User, in the format of `projects/`
12167
+ # project`/locations/`location`/userStores/`user_store`/users/`user_id``. This
12168
+ # field must be a UTF-8 encoded string with a length limit of 2048 characters.
12169
+ # If the user field is empty, it's indicating the user has not logged in yet and
12170
+ # no User entity is created.
12171
+ # Corresponds to the JSON property `user`
12172
+ # @return [String]
12173
+ attr_accessor :user
12174
+
12175
+ # Required. Immutable. The user principal of the User, could be email address or
12176
+ # other prinical identifier. This field is immutable. Admin assign licenses
12177
+ # based on the user principal.
12178
+ # Corresponds to the JSON property `userPrincipal`
12179
+ # @return [String]
12180
+ attr_accessor :user_principal
12181
+
12182
+ # Optional. The user profile. We user user full name(First name + Last name) as
12183
+ # user profile.
12184
+ # Corresponds to the JSON property `userProfile`
12185
+ # @return [String]
12186
+ attr_accessor :user_profile
12187
+
12188
+ def initialize(**args)
12189
+ update!(**args)
12190
+ end
12191
+
12192
+ # Update properties of this object
12193
+ def update!(**args)
12194
+ @create_time = args[:create_time] if args.key?(:create_time)
12195
+ @last_login_time = args[:last_login_time] if args.key?(:last_login_time)
12196
+ @license_assignment_state = args[:license_assignment_state] if args.key?(:license_assignment_state)
12197
+ @license_config = args[:license_config] if args.key?(:license_config)
12198
+ @update_time = args[:update_time] if args.key?(:update_time)
12199
+ @user = args[:user] if args.key?(:user)
12200
+ @user_principal = args[:user_principal] if args.key?(:user_principal)
12201
+ @user_profile = args[:user_profile] if args.key?(:user_profile)
12202
+ end
12203
+ end
12204
+
12031
12205
  # Config to store data store type configuration for workspace data
12032
12206
  class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig
12033
12207
  include Google::Apis::Core::Hashable
@@ -14475,6 +14649,66 @@ module Google
14475
14649
  end
14476
14650
  end
14477
14651
 
14652
+ # Request message for UserLicenseService.BatchUpdateUserLicenses method.
14653
+ class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest
14654
+ include Google::Apis::Core::Hashable
14655
+
14656
+ # Optional. If true, if user licenses removed associated license config, the
14657
+ # user license will be deleted. By default which is false, the user license will
14658
+ # be updated to unassigned state.
14659
+ # Corresponds to the JSON property `deleteUnassignedUserLicenses`
14660
+ # @return [Boolean]
14661
+ attr_accessor :delete_unassigned_user_licenses
14662
+ alias_method :delete_unassigned_user_licenses?, :delete_unassigned_user_licenses
14663
+
14664
+ # Cloud Storage location for input content.
14665
+ # Corresponds to the JSON property `gcsSource`
14666
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGcsSource]
14667
+ attr_accessor :gcs_source
14668
+
14669
+ # The inline source for the input config for BatchUpdateUserLicenses method.
14670
+ # Corresponds to the JSON property `inlineSource`
14671
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource]
14672
+ attr_accessor :inline_source
14673
+
14674
+ def initialize(**args)
14675
+ update!(**args)
14676
+ end
14677
+
14678
+ # Update properties of this object
14679
+ def update!(**args)
14680
+ @delete_unassigned_user_licenses = args[:delete_unassigned_user_licenses] if args.key?(:delete_unassigned_user_licenses)
14681
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
14682
+ @inline_source = args[:inline_source] if args.key?(:inline_source)
14683
+ end
14684
+ end
14685
+
14686
+ # The inline source for the input config for BatchUpdateUserLicenses method.
14687
+ class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource
14688
+ include Google::Apis::Core::Hashable
14689
+
14690
+ # Optional. The list of fields to update.
14691
+ # Corresponds to the JSON property `updateMask`
14692
+ # @return [String]
14693
+ attr_accessor :update_mask
14694
+
14695
+ # Required. A list of user licenses to update. Each user license must have a
14696
+ # valid UserLicense.user_principal.
14697
+ # Corresponds to the JSON property `userLicenses`
14698
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserLicense>]
14699
+ attr_accessor :user_licenses
14700
+
14701
+ def initialize(**args)
14702
+ update!(**args)
14703
+ end
14704
+
14705
+ # Update properties of this object
14706
+ def update!(**args)
14707
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
14708
+ @user_licenses = args[:user_licenses] if args.key?(:user_licenses)
14709
+ end
14710
+ end
14711
+
14478
14712
  # Request message for SiteSearchEngineService.BatchVerifyTargetSites method.
14479
14713
  class GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest
14480
14714
  include Google::Apis::Core::Hashable
@@ -14862,7 +15096,8 @@ module Google
14862
15096
  alias_method :grounding_check_required?, :grounding_check_required
14863
15097
 
14864
15098
  # Confidence score for the claim in the answer candidate, in the range of [0, 1].
14865
- # This is set only when enable_claim_level_score is true.
15099
+ # This is set only when `CheckGroundingRequest.grounding_spec.
15100
+ # enable_claim_level_score` is true.
14866
15101
  # Corresponds to the JSON property `score`
14867
15102
  # @return [Float]
14868
15103
  attr_accessor :score
@@ -16401,10 +16636,10 @@ module Google
16401
16636
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLanguageInfo]
16402
16637
  attr_accessor :language_info
16403
16638
 
16404
- # Immutable. The full resource name of the data store. Format: `projects/`
16405
- # project`/locations/`location`/collections/`collection_id`/dataStores/`
16406
- # data_store_id``. This field must be a UTF-8 encoded string with a length limit
16407
- # of 1024 characters.
16639
+ # Immutable. Identifier. The full resource name of the data store. Format: `
16640
+ # projects/`project`/locations/`location`/collections/`collection_id`/dataStores/
16641
+ # `data_store_id``. This field must be a UTF-8 encoded string with a length
16642
+ # limit of 1024 characters.
16408
16643
  # Corresponds to the JSON property `name`
16409
16644
  # @return [String]
16410
16645
  attr_accessor :name
@@ -16520,7 +16755,8 @@ module Google
16520
16755
  class GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore
16521
16756
  include Google::Apis::Core::Hashable
16522
16757
 
16523
- # If set true, the DataStore will not be available for serving search requests.
16758
+ # Optional. If set true, the DataStore will not be available for serving search
16759
+ # requests.
16524
16760
  # Corresponds to the JSON property `disabledForServing`
16525
16761
  # @return [Boolean]
16526
16762
  attr_accessor :disabled_for_serving
@@ -17419,12 +17655,12 @@ module Google
17419
17655
  # @return [String]
17420
17656
  attr_accessor :create_time
17421
17657
 
17422
- # The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and
17423
- # SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at
17424
- # most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple
17425
- # DataStores in the same Collection can be associated here. Note that when used
17426
- # in CreateEngineRequest, one DataStore id must be provided as the system will
17427
- # use it for necessary initializations.
17658
+ # Optional. The data stores associated with this engine. For
17659
+ # SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they
17660
+ # can only associate with at most one data store. If solution_type is
17661
+ # SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be
17662
+ # associated here. Note that when used in CreateEngineRequest, one DataStore id
17663
+ # must be provided as the system will use it for necessary initializations.
17428
17664
  # Corresponds to the JSON property `dataStoreIds`
17429
17665
  # @return [Array<String>]
17430
17666
  attr_accessor :data_store_ids
@@ -17441,9 +17677,9 @@ module Google
17441
17677
  # @return [String]
17442
17678
  attr_accessor :display_name
17443
17679
 
17444
- # The industry vertical that the engine registers. The restriction of the Engine
17445
- # industry vertical is based on DataStore: Vertical on Engine has to match
17446
- # vertical of the DataStore linked to the engine.
17680
+ # Optional. The industry vertical that the engine registers. The restriction of
17681
+ # the Engine industry vertical is based on DataStore: Vertical on Engine has to
17682
+ # match vertical of the DataStore linked to the engine.
17447
17683
  # Corresponds to the JSON property `industryVertical`
17448
17684
  # @return [String]
17449
17685
  attr_accessor :industry_vertical
@@ -17453,11 +17689,11 @@ module Google
17453
17689
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig]
17454
17690
  attr_accessor :media_recommendation_engine_config
17455
17691
 
17456
- # Immutable. The fully qualified resource name of the engine. This field must be
17457
- # a UTF-8 encoded string with a length limit of 1024 characters. Format: `
17458
- # projects/`project`/locations/`location`/collections/`collection`/engines/`
17459
- # engine`` engine should be 1-63 characters, and valid characters are /a-z0-9*/.
17460
- # Otherwise, an INVALID_ARGUMENT error is returned.
17692
+ # Immutable. Identifier. The fully qualified resource name of the engine. This
17693
+ # field must be a UTF-8 encoded string with a length limit of 1024 characters.
17694
+ # Format: `projects/`project`/locations/`location`/collections/`collection`/
17695
+ # engines/`engine`` engine should be 1-63 characters, and valid characters are /
17696
+ # a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned.
17461
17697
  # Corresponds to the JSON property `name`
17462
17698
  # @return [String]
17463
17699
  attr_accessor :name
@@ -19677,6 +19913,32 @@ module Google
19677
19913
  end
19678
19914
  end
19679
19915
 
19916
+ # Response message for UserLicenseService.ListUserLicenses.
19917
+ class GoogleCloudDiscoveryengineV1betaListUserLicensesResponse
19918
+ include Google::Apis::Core::Hashable
19919
+
19920
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
19921
+ # field is omitted, there are no subsequent pages.
19922
+ # Corresponds to the JSON property `nextPageToken`
19923
+ # @return [String]
19924
+ attr_accessor :next_page_token
19925
+
19926
+ # All the customer's UserLicenses.
19927
+ # Corresponds to the JSON property `userLicenses`
19928
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserLicense>]
19929
+ attr_accessor :user_licenses
19930
+
19931
+ def initialize(**args)
19932
+ update!(**args)
19933
+ end
19934
+
19935
+ # Update properties of this object
19936
+ def update!(**args)
19937
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
19938
+ @user_licenses = args[:user_licenses] if args.key?(:user_licenses)
19939
+ end
19940
+ end
19941
+
19680
19942
  # Media-specific user event information.
19681
19943
  class GoogleCloudDiscoveryengineV1betaMediaInfo
19682
19944
  include Google::Apis::Core::Hashable
@@ -22299,6 +22561,14 @@ module Google
22299
22561
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec]
22300
22562
  attr_accessor :boost_spec
22301
22563
 
22564
+ # Optional. Custom search operators which if specified will be used to filter
22565
+ # results from workspace data stores. For more information on custom search
22566
+ # operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/
22567
+ # 6172299).
22568
+ # Corresponds to the JSON property `customSearchOperators`
22569
+ # @return [String]
22570
+ attr_accessor :custom_search_operators
22571
+
22302
22572
  # Required. Full resource name of DataStore, such as `projects/`project`/
22303
22573
  # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
22304
22574
  # Corresponds to the JSON property `dataStore`
@@ -22319,6 +22589,7 @@ module Google
22319
22589
  # Update properties of this object
22320
22590
  def update!(**args)
22321
22591
  @boost_spec = args[:boost_spec] if args.key?(:boost_spec)
22592
+ @custom_search_operators = args[:custom_search_operators] if args.key?(:custom_search_operators)
22322
22593
  @data_store = args[:data_store] if args.key?(:data_store)
22323
22594
  @filter = args[:filter] if args.key?(:filter)
22324
22595
  end
@@ -23031,12 +23302,6 @@ module Google
23031
23302
  # @return [String]
23032
23303
  attr_accessor :rewritten_query
23033
23304
 
23034
- # The SQL request that was generated from the natural language query
23035
- # understanding phase.
23036
- # Corresponds to the JSON property `sqlRequest`
23037
- # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest]
23038
- attr_accessor :sql_request
23039
-
23040
23305
  # The filters that were extracted from the input query represented in a
23041
23306
  # structured form.
23042
23307
  # Corresponds to the JSON property `structuredExtractedFilter`
@@ -23052,31 +23317,10 @@ module Google
23052
23317
  @classified_intents = args[:classified_intents] if args.key?(:classified_intents)
23053
23318
  @extracted_filters = args[:extracted_filters] if args.key?(:extracted_filters)
23054
23319
  @rewritten_query = args[:rewritten_query] if args.key?(:rewritten_query)
23055
- @sql_request = args[:sql_request] if args.key?(:sql_request)
23056
23320
  @structured_extracted_filter = args[:structured_extracted_filter] if args.key?(:structured_extracted_filter)
23057
23321
  end
23058
23322
  end
23059
23323
 
23060
- # The SQL request that was generated from the natural language query
23061
- # understanding phase.
23062
- class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest
23063
- include Google::Apis::Core::Hashable
23064
-
23065
- # Optional. The SQL query in text format.
23066
- # Corresponds to the JSON property `sqlQuery`
23067
- # @return [String]
23068
- attr_accessor :sql_query
23069
-
23070
- def initialize(**args)
23071
- update!(**args)
23072
- end
23073
-
23074
- # Update properties of this object
23075
- def update!(**args)
23076
- @sql_query = args[:sql_query] if args.key?(:sql_query)
23077
- end
23078
- end
23079
-
23080
23324
  # The filters that were extracted from the input query represented in a
23081
23325
  # structured form.
23082
23326
  class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter
@@ -25119,6 +25363,79 @@ module Google
25119
25363
  end
25120
25364
  end
25121
25365
 
25366
+ # User License information assigned by the admin.
25367
+ class GoogleCloudDiscoveryengineV1betaUserLicense
25368
+ include Google::Apis::Core::Hashable
25369
+
25370
+ # Output only. User created timestamp.
25371
+ # Corresponds to the JSON property `createTime`
25372
+ # @return [String]
25373
+ attr_accessor :create_time
25374
+
25375
+ # Output only. User last logged in time. If the user has not logged in yet, this
25376
+ # field will be empty.
25377
+ # Corresponds to the JSON property `lastLoginTime`
25378
+ # @return [String]
25379
+ attr_accessor :last_login_time
25380
+
25381
+ # Output only. License assignment state of the user. If the user is assigned
25382
+ # with a license config, the user loggin will be assigned with the license; If
25383
+ # the user's license assignment state is unassigned or unspecified, no license
25384
+ # config will be associated to the user;
25385
+ # Corresponds to the JSON property `licenseAssignmentState`
25386
+ # @return [String]
25387
+ attr_accessor :license_assignment_state
25388
+
25389
+ # Optional. The full resource name of the Subscription(LicenseConfig) assigned
25390
+ # to the user.
25391
+ # Corresponds to the JSON property `licenseConfig`
25392
+ # @return [String]
25393
+ attr_accessor :license_config
25394
+
25395
+ # Output only. User update timestamp.
25396
+ # Corresponds to the JSON property `updateTime`
25397
+ # @return [String]
25398
+ attr_accessor :update_time
25399
+
25400
+ # Optional. The full resource name of the User, in the format of `projects/`
25401
+ # project`/locations/`location`/userStores/`user_store`/users/`user_id``. This
25402
+ # field must be a UTF-8 encoded string with a length limit of 2048 characters.
25403
+ # If the user field is empty, it's indicating the user has not logged in yet and
25404
+ # no User entity is created.
25405
+ # Corresponds to the JSON property `user`
25406
+ # @return [String]
25407
+ attr_accessor :user
25408
+
25409
+ # Required. Immutable. The user principal of the User, could be email address or
25410
+ # other prinical identifier. This field is immutable. Admin assign licenses
25411
+ # based on the user principal.
25412
+ # Corresponds to the JSON property `userPrincipal`
25413
+ # @return [String]
25414
+ attr_accessor :user_principal
25415
+
25416
+ # Optional. The user profile. We user user full name(First name + Last name) as
25417
+ # user profile.
25418
+ # Corresponds to the JSON property `userProfile`
25419
+ # @return [String]
25420
+ attr_accessor :user_profile
25421
+
25422
+ def initialize(**args)
25423
+ update!(**args)
25424
+ end
25425
+
25426
+ # Update properties of this object
25427
+ def update!(**args)
25428
+ @create_time = args[:create_time] if args.key?(:create_time)
25429
+ @last_login_time = args[:last_login_time] if args.key?(:last_login_time)
25430
+ @license_assignment_state = args[:license_assignment_state] if args.key?(:license_assignment_state)
25431
+ @license_config = args[:license_config] if args.key?(:license_config)
25432
+ @update_time = args[:update_time] if args.key?(:update_time)
25433
+ @user = args[:user] if args.key?(:user)
25434
+ @user_principal = args[:user_principal] if args.key?(:user_principal)
25435
+ @user_profile = args[:user_profile] if args.key?(:user_profile)
25436
+ end
25437
+ end
25438
+
25122
25439
  # Config to store data store type configuration for workspace data
25123
25440
  class GoogleCloudDiscoveryengineV1betaWorkspaceConfig
25124
25441
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1beta
18
18
  # Version of the google-apis-discoveryengine_v1beta gem
19
- GEM_VERSION = "0.63.0"
19
+ GEM_VERSION = "0.65.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250419"
25
+ REVISION = "20250514"
26
26
  end
27
27
  end
28
28
  end
@@ -898,6 +898,18 @@ module Google
898
898
  include Google::Apis::Core::JsonObjectSupport
899
899
  end
900
900
 
901
+ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata
902
+ class Representation < Google::Apis::Core::JsonRepresentation; end
903
+
904
+ include Google::Apis::Core::JsonObjectSupport
905
+ end
906
+
907
+ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
901
913
  class GoogleCloudDiscoveryengineV1alphaCmekConfig
902
914
  class Representation < Google::Apis::Core::JsonRepresentation; end
903
915
 
@@ -1930,6 +1942,12 @@ module Google
1930
1942
  include Google::Apis::Core::JsonObjectSupport
1931
1943
  end
1932
1944
 
1945
+ class GoogleCloudDiscoveryengineV1alphaUserLicense
1946
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1947
+
1948
+ include Google::Apis::Core::JsonObjectSupport
1949
+ end
1950
+
1933
1951
  class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig
1934
1952
  class Representation < Google::Apis::Core::JsonRepresentation; end
1935
1953
 
@@ -2344,6 +2362,18 @@ module Google
2344
2362
  include Google::Apis::Core::JsonObjectSupport
2345
2363
  end
2346
2364
 
2365
+ class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest
2366
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2367
+
2368
+ include Google::Apis::Core::JsonObjectSupport
2369
+ end
2370
+
2371
+ class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource
2372
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2373
+
2374
+ include Google::Apis::Core::JsonObjectSupport
2375
+ end
2376
+
2347
2377
  class GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest
2348
2378
  class Representation < Google::Apis::Core::JsonRepresentation; end
2349
2379
 
@@ -3232,6 +3262,12 @@ module Google
3232
3262
  include Google::Apis::Core::JsonObjectSupport
3233
3263
  end
3234
3264
 
3265
+ class GoogleCloudDiscoveryengineV1betaListUserLicensesResponse
3266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3267
+
3268
+ include Google::Apis::Core::JsonObjectSupport
3269
+ end
3270
+
3235
3271
  class GoogleCloudDiscoveryengineV1betaMediaInfo
3236
3272
  class Representation < Google::Apis::Core::JsonRepresentation; end
3237
3273
 
@@ -3742,12 +3778,6 @@ module Google
3742
3778
  include Google::Apis::Core::JsonObjectSupport
3743
3779
  end
3744
3780
 
3745
- class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest
3746
- class Representation < Google::Apis::Core::JsonRepresentation; end
3747
-
3748
- include Google::Apis::Core::JsonObjectSupport
3749
- end
3750
-
3751
3781
  class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter
3752
3782
  class Representation < Google::Apis::Core::JsonRepresentation; end
3753
3783
 
@@ -4054,6 +4084,12 @@ module Google
4054
4084
  include Google::Apis::Core::JsonObjectSupport
4055
4085
  end
4056
4086
 
4087
+ class GoogleCloudDiscoveryengineV1betaUserLicense
4088
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4089
+
4090
+ include Google::Apis::Core::JsonObjectSupport
4091
+ end
4092
+
4057
4093
  class GoogleCloudDiscoveryengineV1betaWorkspaceConfig
4058
4094
  class Representation < Google::Apis::Core::JsonRepresentation; end
4059
4095
 
@@ -5575,6 +5611,26 @@ module Google
5575
5611
  end
5576
5612
  end
5577
5613
 
5614
+ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata
5615
+ # @private
5616
+ class Representation < Google::Apis::Core::JsonRepresentation
5617
+ property :create_time, as: 'createTime'
5618
+ property :failure_count, :numeric_string => true, as: 'failureCount'
5619
+ property :success_count, :numeric_string => true, as: 'successCount'
5620
+ property :update_time, as: 'updateTime'
5621
+ end
5622
+ end
5623
+
5624
+ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse
5625
+ # @private
5626
+ class Representation < Google::Apis::Core::JsonRepresentation
5627
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
5628
+
5629
+ collection :user_licenses, as: 'userLicenses', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaUserLicense, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaUserLicense::Representation
5630
+
5631
+ end
5632
+ end
5633
+
5578
5634
  class GoogleCloudDiscoveryengineV1alphaCmekConfig
5579
5635
  # @private
5580
5636
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5834,6 +5890,7 @@ module Google
5834
5890
  collection :blocking_reasons, as: 'blockingReasons'
5835
5891
  collection :connector_modes, as: 'connectorModes'
5836
5892
  property :connector_type, as: 'connectorType'
5893
+ property :create_eua_saas, as: 'createEuaSaas'
5837
5894
  property :create_time, as: 'createTime'
5838
5895
  property :data_source, as: 'dataSource'
5839
5896
  collection :destination_configs, as: 'destinationConfigs', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDestinationConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDestinationConfig::Representation
@@ -5847,6 +5904,8 @@ module Google
5847
5904
  property :identity_refresh_interval, as: 'identityRefreshInterval'
5848
5905
  property :identity_schedule_config, as: 'identityScheduleConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig::Representation
5849
5906
 
5907
+ property :incremental_refresh_interval, as: 'incrementalRefreshInterval'
5908
+ property :incremental_sync_disabled, as: 'incrementalSyncDisabled'
5850
5909
  property :kms_key_name, as: 'kmsKeyName'
5851
5910
  property :last_sync_time, as: 'lastSyncTime'
5852
5911
  property :latest_pause_time, as: 'latestPauseTime'
@@ -7007,6 +7066,7 @@ module Google
7007
7066
  class Representation < Google::Apis::Core::JsonRepresentation
7008
7067
  property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec::Representation
7009
7068
 
7069
+ property :custom_search_operators, as: 'customSearchOperators'
7010
7070
  property :data_store, as: 'dataStore'
7011
7071
  property :filter, as: 'filter'
7012
7072
  end
@@ -7323,6 +7383,20 @@ module Google
7323
7383
  end
7324
7384
  end
7325
7385
 
7386
+ class GoogleCloudDiscoveryengineV1alphaUserLicense
7387
+ # @private
7388
+ class Representation < Google::Apis::Core::JsonRepresentation
7389
+ property :create_time, as: 'createTime'
7390
+ property :last_login_time, as: 'lastLoginTime'
7391
+ property :license_assignment_state, as: 'licenseAssignmentState'
7392
+ property :license_config, as: 'licenseConfig'
7393
+ property :update_time, as: 'updateTime'
7394
+ property :user, as: 'user'
7395
+ property :user_principal, as: 'userPrincipal'
7396
+ property :user_profile, as: 'userProfile'
7397
+ end
7398
+ end
7399
+
7326
7400
  class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig
7327
7401
  # @private
7328
7402
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8030,6 +8104,26 @@ module Google
8030
8104
  end
8031
8105
  end
8032
8106
 
8107
+ class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest
8108
+ # @private
8109
+ class Representation < Google::Apis::Core::JsonRepresentation
8110
+ property :delete_unassigned_user_licenses, as: 'deleteUnassignedUserLicenses'
8111
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGcsSource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGcsSource::Representation
8112
+
8113
+ property :inline_source, as: 'inlineSource', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource::Representation
8114
+
8115
+ end
8116
+ end
8117
+
8118
+ class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource
8119
+ # @private
8120
+ class Representation < Google::Apis::Core::JsonRepresentation
8121
+ property :update_mask, as: 'updateMask'
8122
+ collection :user_licenses, as: 'userLicenses', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserLicense, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserLicense::Representation
8123
+
8124
+ end
8125
+ end
8126
+
8033
8127
  class GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest
8034
8128
  # @private
8035
8129
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9515,6 +9609,15 @@ module Google
9515
9609
  end
9516
9610
  end
9517
9611
 
9612
+ class GoogleCloudDiscoveryengineV1betaListUserLicensesResponse
9613
+ # @private
9614
+ class Representation < Google::Apis::Core::JsonRepresentation
9615
+ property :next_page_token, as: 'nextPageToken'
9616
+ collection :user_licenses, as: 'userLicenses', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserLicense, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserLicense::Representation
9617
+
9618
+ end
9619
+ end
9620
+
9518
9621
  class GoogleCloudDiscoveryengineV1betaMediaInfo
9519
9622
  # @private
9520
9623
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10172,6 +10275,7 @@ module Google
10172
10275
  class Representation < Google::Apis::Core::JsonRepresentation
10173
10276
  property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec::Representation
10174
10277
 
10278
+ property :custom_search_operators, as: 'customSearchOperators'
10175
10279
  property :data_store, as: 'dataStore'
10176
10280
  property :filter, as: 'filter'
10177
10281
  end
@@ -10368,20 +10472,11 @@ module Google
10368
10472
  collection :classified_intents, as: 'classifiedIntents'
10369
10473
  property :extracted_filters, as: 'extractedFilters'
10370
10474
  property :rewritten_query, as: 'rewrittenQuery'
10371
- property :sql_request, as: 'sqlRequest', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest::Representation
10372
-
10373
10475
  property :structured_extracted_filter, as: 'structuredExtractedFilter', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter::Representation
10374
10476
 
10375
10477
  end
10376
10478
  end
10377
10479
 
10378
- class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest
10379
- # @private
10380
- class Representation < Google::Apis::Core::JsonRepresentation
10381
- property :sql_query, as: 'sqlQuery'
10382
- end
10383
- end
10384
-
10385
10480
  class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter
10386
10481
  # @private
10387
10482
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10919,6 +11014,20 @@ module Google
10919
11014
  end
10920
11015
  end
10921
11016
 
11017
+ class GoogleCloudDiscoveryengineV1betaUserLicense
11018
+ # @private
11019
+ class Representation < Google::Apis::Core::JsonRepresentation
11020
+ property :create_time, as: 'createTime'
11021
+ property :last_login_time, as: 'lastLoginTime'
11022
+ property :license_assignment_state, as: 'licenseAssignmentState'
11023
+ property :license_config, as: 'licenseConfig'
11024
+ property :update_time, as: 'updateTime'
11025
+ property :user, as: 'user'
11026
+ property :user_principal, as: 'userPrincipal'
11027
+ property :user_profile, as: 'userProfile'
11028
+ end
11029
+ end
11030
+
10922
11031
  class GoogleCloudDiscoveryengineV1betaWorkspaceConfig
10923
11032
  # @private
10924
11033
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -763,10 +763,10 @@ module Google
763
763
 
764
764
  # Updates a DataStore
765
765
  # @param [String] name
766
- # Immutable. The full resource name of the data store. Format: `projects/`
767
- # project`/locations/`location`/collections/`collection_id`/dataStores/`
768
- # data_store_id``. This field must be a UTF-8 encoded string with a length limit
769
- # of 1024 characters.
766
+ # Immutable. Identifier. The full resource name of the data store. Format: `
767
+ # projects/`project`/locations/`location`/collections/`collection_id`/dataStores/
768
+ # `data_store_id``. This field must be a UTF-8 encoded string with a length
769
+ # limit of 1024 characters.
770
770
  # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDataStore] google_cloud_discoveryengine_v1beta_data_store_object
771
771
  # @param [String] update_mask
772
772
  # Indicates which fields in the provided DataStore to update. If an unsupported
@@ -3800,11 +3800,11 @@ module Google
3800
3800
 
3801
3801
  # Updates an Engine
3802
3802
  # @param [String] name
3803
- # Immutable. The fully qualified resource name of the engine. This field must be
3804
- # a UTF-8 encoded string with a length limit of 1024 characters. Format: `
3805
- # projects/`project`/locations/`location`/collections/`collection`/engines/`
3806
- # engine`` engine should be 1-63 characters, and valid characters are /a-z0-9*/.
3807
- # Otherwise, an INVALID_ARGUMENT error is returned.
3803
+ # Immutable. Identifier. The fully qualified resource name of the engine. This
3804
+ # field must be a UTF-8 encoded string with a length limit of 1024 characters.
3805
+ # Format: `projects/`project`/locations/`location`/collections/`collection`/
3806
+ # engines/`engine`` engine should be 1-63 characters, and valid characters are /
3807
+ # a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned.
3808
3808
  # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngine] google_cloud_discoveryengine_v1beta_engine_object
3809
3809
  # @param [String] update_mask
3810
3810
  # Indicates which fields in the provided Engine to update. If an unsupported or
@@ -5399,10 +5399,10 @@ module Google
5399
5399
 
5400
5400
  # Updates a DataStore
5401
5401
  # @param [String] name
5402
- # Immutable. The full resource name of the data store. Format: `projects/`
5403
- # project`/locations/`location`/collections/`collection_id`/dataStores/`
5404
- # data_store_id``. This field must be a UTF-8 encoded string with a length limit
5405
- # of 1024 characters.
5402
+ # Immutable. Identifier. The full resource name of the data store. Format: `
5403
+ # projects/`project`/locations/`location`/collections/`collection_id`/dataStores/
5404
+ # `data_store_id``. This field must be a UTF-8 encoded string with a length
5405
+ # limit of 1024 characters.
5406
5406
  # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDataStore] google_cloud_discoveryengine_v1beta_data_store_object
5407
5407
  # @param [String] update_mask
5408
5408
  # Indicates which fields in the provided DataStore to update. If an unsupported
@@ -9225,6 +9225,93 @@ module Google
9225
9225
  execute_or_queue_command(command, &block)
9226
9226
  end
9227
9227
 
9228
+ # Updates the User License. This method is used for batch assign/unassign
9229
+ # licenses to users.
9230
+ # @param [String] parent
9231
+ # Required. The parent UserStore resource name, format: `projects/`project`/
9232
+ # locations/`location`/userStores/`user_store_id``.
9233
+ # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest] google_cloud_discoveryengine_v1beta_batch_update_user_licenses_request_object
9234
+ # @param [String] fields
9235
+ # Selector specifying which fields to include in a partial response.
9236
+ # @param [String] quota_user
9237
+ # Available to use for quota purposes for server-side applications. Can be any
9238
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9239
+ # @param [Google::Apis::RequestOptions] options
9240
+ # Request-specific options
9241
+ #
9242
+ # @yield [result, err] Result & error if block supplied
9243
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation] parsed result object
9244
+ # @yieldparam err [StandardError] error object if request failed
9245
+ #
9246
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation]
9247
+ #
9248
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9249
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9250
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9251
+ def batch_project_location_user_store_update_user_licenses(parent, google_cloud_discoveryengine_v1beta_batch_update_user_licenses_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
9252
+ command = make_simple_command(:post, 'v1beta/{+parent}:batchUpdateUserLicenses', options)
9253
+ command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest::Representation
9254
+ command.request_object = google_cloud_discoveryengine_v1beta_batch_update_user_licenses_request_object
9255
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
9256
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation
9257
+ command.params['parent'] = parent unless parent.nil?
9258
+ command.query['fields'] = fields unless fields.nil?
9259
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9260
+ execute_or_queue_command(command, &block)
9261
+ end
9262
+
9263
+ # Lists the User Licenses.
9264
+ # @param [String] parent
9265
+ # Required. The parent UserStore resource name, format: `projects/`project`/
9266
+ # locations/`location`/userStores/`user_store_id``.
9267
+ # @param [String] filter
9268
+ # Optional. Filter for the list request. Supported fields: * `
9269
+ # license_assignment_state` Examples: * `license_assignment_state = ASSIGNED` to
9270
+ # list assigned user licenses. * `license_assignment_state = NO_LICENSE` to list
9271
+ # not licensed users. * `license_assignment_state = NO_LICENSE_ATTEMPTED_LOGIN`
9272
+ # to list users who attempted login but no license assigned. * `
9273
+ # license_assignment_state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users
9274
+ # who attempted login but no license assigned.
9275
+ # @param [Fixnum] page_size
9276
+ # Optional. Requested page size. Server may return fewer items than requested.
9277
+ # If unspecified, defaults to 10. The maximum value is 50; values above 50 will
9278
+ # be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is
9279
+ # returned.
9280
+ # @param [String] page_token
9281
+ # Optional. A page token, received from a previous `ListUserLicenses` call.
9282
+ # Provide this to retrieve the subsequent page. When paginating, all other
9283
+ # parameters provided to `ListUserLicenses` must match the call that provided
9284
+ # the page token.
9285
+ # @param [String] fields
9286
+ # Selector specifying which fields to include in a partial response.
9287
+ # @param [String] quota_user
9288
+ # Available to use for quota purposes for server-side applications. Can be any
9289
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9290
+ # @param [Google::Apis::RequestOptions] options
9291
+ # Request-specific options
9292
+ #
9293
+ # @yield [result, err] Result & error if block supplied
9294
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListUserLicensesResponse] parsed result object
9295
+ # @yieldparam err [StandardError] error object if request failed
9296
+ #
9297
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListUserLicensesResponse]
9298
+ #
9299
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9300
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9301
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9302
+ def list_project_location_user_store_user_licenses(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
9303
+ command = make_simple_command(:get, 'v1beta/{+parent}/userLicenses', options)
9304
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListUserLicensesResponse::Representation
9305
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListUserLicensesResponse
9306
+ command.params['parent'] = parent unless parent.nil?
9307
+ command.query['filter'] = filter unless filter.nil?
9308
+ command.query['pageSize'] = page_size unless page_size.nil?
9309
+ command.query['pageToken'] = page_token unless page_token.nil?
9310
+ command.query['fields'] = fields unless fields.nil?
9311
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9312
+ execute_or_queue_command(command, &block)
9313
+ end
9314
+
9228
9315
  # Gets the latest state of a long-running operation. Clients can use this method
9229
9316
  # to poll the operation result at intervals as recommended by the API service.
9230
9317
  # @param [String] name
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.63.0
4
+ version: 0.65.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-27 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.63.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.65.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '2.7'
69
+ version: '3.1'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.5
76
+ rubygems_version: 3.6.8
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Discovery Engine API V1beta
79
79
  test_files: []