google-apis-discoveryengine_v1 0.35.0 → 0.37.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: b18400fa492eb4ce0d96fa9604b554730393ea9ad75ec75d8a7097cd500453b1
4
- data.tar.gz: 455a0128c128f3e9633fa59d9a2e4ab887e84af4b1354c2f821a65dc3a9c3b1e
3
+ metadata.gz: 4a1b7946b1b1c90e633d96f12e5cf01a983efd8a6119a89fd4f539aad1e7fd37
4
+ data.tar.gz: facbd9de71fc22cee051738d70a18bb4f670428240ea2b481e9c55eccf763d7f
5
5
  SHA512:
6
- metadata.gz: bf3d274e83055fe4fe0b8625233fcd938f9d045a0779e485da1fb9f935ca52bc0c790572ee33550b2a5b17c7ad6b7b1db7d56e0a350260c671e3deba83fcefda
7
- data.tar.gz: 4da7d77ae54bd8ec52e306481202723b6d0f6913bae5096c5421f1d230121a9fc1a6b4ff9e28eddd5b00a44f4e2dc6906e7dccf7b01ac15fc3620a68b4cfbf0c
6
+ metadata.gz: 68f7f5836e525377f1a9801b1d039f24bc654d3f627aba00e7749956e1640c95701d6d1dc4e3e65e0c6e531501f0763a9f6a317e42ac9304d9c5da73a7febf34
7
+ data.tar.gz: 730b0e21fa3bec15daad2877914ac8825e3e0c9a50b002ebfb2194264056c10b001afb747084facb88e985fc3dd60f370b18228ef0cd79d40dc44f5a22b6b90f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-discoveryengine_v1
2
2
 
3
+ ### v0.37.0 (2025-05-18)
4
+
5
+ * Regenerated from discovery document revision 20250514
6
+
7
+ ### v0.36.0 (2025-05-11)
8
+
9
+ * Regenerated from discovery document revision 20250508
10
+
3
11
  ### v0.35.0 (2025-05-04)
4
12
 
5
13
  * Regenerated from discovery document revision 20250425
@@ -2657,6 +2657,66 @@ module Google
2657
2657
  end
2658
2658
  end
2659
2659
 
2660
+ # Request message for UserLicenseService.BatchUpdateUserLicenses method.
2661
+ class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest
2662
+ include Google::Apis::Core::Hashable
2663
+
2664
+ # Optional. If true, if user licenses removed associated license config, the
2665
+ # user license will be deleted. By default which is false, the user license will
2666
+ # be updated to unassigned state.
2667
+ # Corresponds to the JSON property `deleteUnassignedUserLicenses`
2668
+ # @return [Boolean]
2669
+ attr_accessor :delete_unassigned_user_licenses
2670
+ alias_method :delete_unassigned_user_licenses?, :delete_unassigned_user_licenses
2671
+
2672
+ # Cloud Storage location for input content.
2673
+ # Corresponds to the JSON property `gcsSource`
2674
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GcsSource]
2675
+ attr_accessor :gcs_source
2676
+
2677
+ # The inline source for the input config for BatchUpdateUserLicenses method.
2678
+ # Corresponds to the JSON property `inlineSource`
2679
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource]
2680
+ attr_accessor :inline_source
2681
+
2682
+ def initialize(**args)
2683
+ update!(**args)
2684
+ end
2685
+
2686
+ # Update properties of this object
2687
+ def update!(**args)
2688
+ @delete_unassigned_user_licenses = args[:delete_unassigned_user_licenses] if args.key?(:delete_unassigned_user_licenses)
2689
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
2690
+ @inline_source = args[:inline_source] if args.key?(:inline_source)
2691
+ end
2692
+ end
2693
+
2694
+ # The inline source for the input config for BatchUpdateUserLicenses method.
2695
+ class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource
2696
+ include Google::Apis::Core::Hashable
2697
+
2698
+ # Optional. The list of fields to update.
2699
+ # Corresponds to the JSON property `updateMask`
2700
+ # @return [String]
2701
+ attr_accessor :update_mask
2702
+
2703
+ # Required. A list of user licenses to update. Each user license must have a
2704
+ # valid UserLicense.user_principal.
2705
+ # Corresponds to the JSON property `userLicenses`
2706
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserLicense>]
2707
+ attr_accessor :user_licenses
2708
+
2709
+ def initialize(**args)
2710
+ update!(**args)
2711
+ end
2712
+
2713
+ # Update properties of this object
2714
+ def update!(**args)
2715
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
2716
+ @user_licenses = args[:user_licenses] if args.key?(:user_licenses)
2717
+ end
2718
+ end
2719
+
2660
2720
  # Request message for SiteSearchEngineService.BatchVerifyTargetSites method.
2661
2721
  class GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest
2662
2722
  include Google::Apis::Core::Hashable
@@ -3044,7 +3104,8 @@ module Google
3044
3104
  alias_method :grounding_check_required?, :grounding_check_required
3045
3105
 
3046
3106
  # Confidence score for the claim in the answer candidate, in the range of [0, 1].
3047
- # This is set only when enable_claim_level_score is true.
3107
+ # This is set only when `CheckGroundingRequest.grounding_spec.
3108
+ # enable_claim_level_score` is true.
3048
3109
  # Corresponds to the JSON property `score`
3049
3110
  # @return [Float]
3050
3111
  attr_accessor :score
@@ -4537,10 +4598,10 @@ module Google
4537
4598
  # @return [String]
4538
4599
  attr_accessor :kms_key_name
4539
4600
 
4540
- # Immutable. The full resource name of the data store. Format: `projects/`
4541
- # project`/locations/`location`/collections/`collection_id`/dataStores/`
4542
- # data_store_id``. This field must be a UTF-8 encoded string with a length limit
4543
- # of 1024 characters.
4601
+ # Immutable. Identifier. The full resource name of the data store. Format: `
4602
+ # projects/`project`/locations/`location`/collections/`collection_id`/dataStores/
4603
+ # `data_store_id``. This field must be a UTF-8 encoded string with a length
4604
+ # limit of 1024 characters.
4544
4605
  # Corresponds to the JSON property `name`
4545
4606
  # @return [String]
4546
4607
  attr_accessor :name
@@ -4649,7 +4710,8 @@ module Google
4649
4710
  class GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore
4650
4711
  include Google::Apis::Core::Hashable
4651
4712
 
4652
- # If set true, the DataStore will not be available for serving search requests.
4713
+ # Optional. If set true, the DataStore will not be available for serving search
4714
+ # requests.
4653
4715
  # Corresponds to the JSON property `disabledForServing`
4654
4716
  # @return [Boolean]
4655
4717
  attr_accessor :disabled_for_serving
@@ -5518,12 +5580,12 @@ module Google
5518
5580
  # @return [String]
5519
5581
  attr_accessor :create_time
5520
5582
 
5521
- # The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and
5522
- # SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at
5523
- # most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple
5524
- # DataStores in the same Collection can be associated here. Note that when used
5525
- # in CreateEngineRequest, one DataStore id must be provided as the system will
5526
- # use it for necessary initializations.
5583
+ # Optional. The data stores associated with this engine. For
5584
+ # SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they
5585
+ # can only associate with at most one data store. If solution_type is
5586
+ # SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be
5587
+ # associated here. Note that when used in CreateEngineRequest, one DataStore id
5588
+ # must be provided as the system will use it for necessary initializations.
5527
5589
  # Corresponds to the JSON property `dataStoreIds`
5528
5590
  # @return [Array<String>]
5529
5591
  attr_accessor :data_store_ids
@@ -5540,9 +5602,9 @@ module Google
5540
5602
  # @return [String]
5541
5603
  attr_accessor :display_name
5542
5604
 
5543
- # The industry vertical that the engine registers. The restriction of the Engine
5544
- # industry vertical is based on DataStore: Vertical on Engine has to match
5545
- # vertical of the DataStore linked to the engine.
5605
+ # Optional. The industry vertical that the engine registers. The restriction of
5606
+ # the Engine industry vertical is based on DataStore: Vertical on Engine has to
5607
+ # match vertical of the DataStore linked to the engine.
5546
5608
  # Corresponds to the JSON property `industryVertical`
5547
5609
  # @return [String]
5548
5610
  attr_accessor :industry_vertical
@@ -5552,11 +5614,11 @@ module Google
5552
5614
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig]
5553
5615
  attr_accessor :media_recommendation_engine_config
5554
5616
 
5555
- # Immutable. The fully qualified resource name of the engine. This field must be
5556
- # a UTF-8 encoded string with a length limit of 1024 characters. Format: `
5557
- # projects/`project`/locations/`location`/collections/`collection`/engines/`
5558
- # engine`` engine should be 1-63 characters, and valid characters are /a-z0-9*/.
5559
- # Otherwise, an INVALID_ARGUMENT error is returned.
5617
+ # Immutable. Identifier. The fully qualified resource name of the engine. This
5618
+ # field must be a UTF-8 encoded string with a length limit of 1024 characters.
5619
+ # Format: `projects/`project`/locations/`location`/collections/`collection`/
5620
+ # engines/`engine`` engine should be 1-63 characters, and valid characters are /
5621
+ # a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned.
5560
5622
  # Corresponds to the JSON property `name`
5561
5623
  # @return [String]
5562
5624
  attr_accessor :name
@@ -7337,6 +7399,32 @@ module Google
7337
7399
  end
7338
7400
  end
7339
7401
 
7402
+ # Response message for UserLicenseService.ListUserLicenses.
7403
+ class GoogleCloudDiscoveryengineV1ListUserLicensesResponse
7404
+ include Google::Apis::Core::Hashable
7405
+
7406
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
7407
+ # field is omitted, there are no subsequent pages.
7408
+ # Corresponds to the JSON property `nextPageToken`
7409
+ # @return [String]
7410
+ attr_accessor :next_page_token
7411
+
7412
+ # All the customer's UserLicenses.
7413
+ # Corresponds to the JSON property `userLicenses`
7414
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserLicense>]
7415
+ attr_accessor :user_licenses
7416
+
7417
+ def initialize(**args)
7418
+ update!(**args)
7419
+ end
7420
+
7421
+ # Update properties of this object
7422
+ def update!(**args)
7423
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7424
+ @user_licenses = args[:user_licenses] if args.key?(:user_licenses)
7425
+ end
7426
+ end
7427
+
7340
7428
  # Media-specific user event information.
7341
7429
  class GoogleCloudDiscoveryengineV1MediaInfo
7342
7430
  include Google::Apis::Core::Hashable
@@ -9350,6 +9438,14 @@ module Google
9350
9438
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestBoostSpec]
9351
9439
  attr_accessor :boost_spec
9352
9440
 
9441
+ # Optional. Custom search operators which if specified will be used to filter
9442
+ # results from workspace data stores. For more information on custom search
9443
+ # operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/
9444
+ # 6172299).
9445
+ # Corresponds to the JSON property `customSearchOperators`
9446
+ # @return [String]
9447
+ attr_accessor :custom_search_operators
9448
+
9353
9449
  # Required. Full resource name of DataStore, such as `projects/`project`/
9354
9450
  # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
9355
9451
  # Corresponds to the JSON property `dataStore`
@@ -9370,6 +9466,7 @@ module Google
9370
9466
  # Update properties of this object
9371
9467
  def update!(**args)
9372
9468
  @boost_spec = args[:boost_spec] if args.key?(:boost_spec)
9469
+ @custom_search_operators = args[:custom_search_operators] if args.key?(:custom_search_operators)
9373
9470
  @data_store = args[:data_store] if args.key?(:data_store)
9374
9471
  @filter = args[:filter] if args.key?(:filter)
9375
9472
  end
@@ -11442,6 +11539,79 @@ module Google
11442
11539
  end
11443
11540
  end
11444
11541
 
11542
+ # User License information assigned by the admin.
11543
+ class GoogleCloudDiscoveryengineV1UserLicense
11544
+ include Google::Apis::Core::Hashable
11545
+
11546
+ # Output only. User created timestamp.
11547
+ # Corresponds to the JSON property `createTime`
11548
+ # @return [String]
11549
+ attr_accessor :create_time
11550
+
11551
+ # Output only. User last logged in time. If the user has not logged in yet, this
11552
+ # field will be empty.
11553
+ # Corresponds to the JSON property `lastLoginTime`
11554
+ # @return [String]
11555
+ attr_accessor :last_login_time
11556
+
11557
+ # Output only. License assignment state of the user. If the user is assigned
11558
+ # with a license config, the user loggin will be assigned with the license; If
11559
+ # the user's license assignment state is unassigned or unspecified, no license
11560
+ # config will be associated to the user;
11561
+ # Corresponds to the JSON property `licenseAssignmentState`
11562
+ # @return [String]
11563
+ attr_accessor :license_assignment_state
11564
+
11565
+ # Optional. The full resource name of the Subscription(LicenseConfig) assigned
11566
+ # to the user.
11567
+ # Corresponds to the JSON property `licenseConfig`
11568
+ # @return [String]
11569
+ attr_accessor :license_config
11570
+
11571
+ # Output only. User update timestamp.
11572
+ # Corresponds to the JSON property `updateTime`
11573
+ # @return [String]
11574
+ attr_accessor :update_time
11575
+
11576
+ # Optional. The full resource name of the User, in the format of `projects/`
11577
+ # project`/locations/`location`/userStores/`user_store`/users/`user_id``. This
11578
+ # field must be a UTF-8 encoded string with a length limit of 2048 characters.
11579
+ # If the user field is empty, it's indicating the user has not logged in yet and
11580
+ # no User entity is created.
11581
+ # Corresponds to the JSON property `user`
11582
+ # @return [String]
11583
+ attr_accessor :user
11584
+
11585
+ # Required. Immutable. The user principal of the User, could be email address or
11586
+ # other prinical identifier. This field is immutable. Admin assign licenses
11587
+ # based on the user principal.
11588
+ # Corresponds to the JSON property `userPrincipal`
11589
+ # @return [String]
11590
+ attr_accessor :user_principal
11591
+
11592
+ # Optional. The user profile. We user user full name(First name + Last name) as
11593
+ # user profile.
11594
+ # Corresponds to the JSON property `userProfile`
11595
+ # @return [String]
11596
+ attr_accessor :user_profile
11597
+
11598
+ def initialize(**args)
11599
+ update!(**args)
11600
+ end
11601
+
11602
+ # Update properties of this object
11603
+ def update!(**args)
11604
+ @create_time = args[:create_time] if args.key?(:create_time)
11605
+ @last_login_time = args[:last_login_time] if args.key?(:last_login_time)
11606
+ @license_assignment_state = args[:license_assignment_state] if args.key?(:license_assignment_state)
11607
+ @license_config = args[:license_config] if args.key?(:license_config)
11608
+ @update_time = args[:update_time] if args.key?(:update_time)
11609
+ @user = args[:user] if args.key?(:user)
11610
+ @user_principal = args[:user_principal] if args.key?(:user_principal)
11611
+ @user_profile = args[:user_profile] if args.key?(:user_profile)
11612
+ end
11613
+ end
11614
+
11445
11615
  # Config to store data store type configuration for workspace data
11446
11616
  class GoogleCloudDiscoveryengineV1WorkspaceConfig
11447
11617
  include Google::Apis::Core::Hashable
@@ -12453,6 +12623,71 @@ module Google
12453
12623
  end
12454
12624
  end
12455
12625
 
12626
+ # Metadata related to the progress of the UserLicenseService.
12627
+ # BatchUpdateUserLicenses operation. This will be returned by the google.
12628
+ # longrunning.Operation.metadata field.
12629
+ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata
12630
+ include Google::Apis::Core::Hashable
12631
+
12632
+ # Operation create time.
12633
+ # Corresponds to the JSON property `createTime`
12634
+ # @return [String]
12635
+ attr_accessor :create_time
12636
+
12637
+ # Count of user licenses that failed to be updated.
12638
+ # Corresponds to the JSON property `failureCount`
12639
+ # @return [Fixnum]
12640
+ attr_accessor :failure_count
12641
+
12642
+ # Count of user licenses successfully updated.
12643
+ # Corresponds to the JSON property `successCount`
12644
+ # @return [Fixnum]
12645
+ attr_accessor :success_count
12646
+
12647
+ # Operation last update time. If the operation is done, this is also the finish
12648
+ # time.
12649
+ # Corresponds to the JSON property `updateTime`
12650
+ # @return [String]
12651
+ attr_accessor :update_time
12652
+
12653
+ def initialize(**args)
12654
+ update!(**args)
12655
+ end
12656
+
12657
+ # Update properties of this object
12658
+ def update!(**args)
12659
+ @create_time = args[:create_time] if args.key?(:create_time)
12660
+ @failure_count = args[:failure_count] if args.key?(:failure_count)
12661
+ @success_count = args[:success_count] if args.key?(:success_count)
12662
+ @update_time = args[:update_time] if args.key?(:update_time)
12663
+ end
12664
+ end
12665
+
12666
+ # Response message for UserLicenseService.BatchUpdateUserLicenses method.
12667
+ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse
12668
+ include Google::Apis::Core::Hashable
12669
+
12670
+ # A sample of errors encountered while processing the request.
12671
+ # Corresponds to the JSON property `errorSamples`
12672
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleRpcStatus>]
12673
+ attr_accessor :error_samples
12674
+
12675
+ # UserLicenses successfully updated.
12676
+ # Corresponds to the JSON property `userLicenses`
12677
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaUserLicense>]
12678
+ attr_accessor :user_licenses
12679
+
12680
+ def initialize(**args)
12681
+ update!(**args)
12682
+ end
12683
+
12684
+ # Update properties of this object
12685
+ def update!(**args)
12686
+ @error_samples = args[:error_samples] if args.key?(:error_samples)
12687
+ @user_licenses = args[:user_licenses] if args.key?(:user_licenses)
12688
+ end
12689
+ end
12690
+
12456
12691
  # Configurations used to enable CMEK data encryption with Cloud KMS keys.
12457
12692
  class GoogleCloudDiscoveryengineV1alphaCmekConfig
12458
12693
  include Google::Apis::Core::Hashable
@@ -13391,8 +13626,10 @@ module Google
13391
13626
  # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig>]
13392
13627
  attr_accessor :alert_policy_configs
13393
13628
 
13394
- # Indicates whether the connector is disabled for auto run. It can be used to
13395
- # pause periodical and real time sync.
13629
+ # Optional. Indicates whether the connector is disabled for auto run. It can be
13630
+ # used to pause periodical and real time sync. Update: with the introduction of
13631
+ # incremental_sync_disabled, auto_run_disabled is used to pause/disable only
13632
+ # full syncs
13396
13633
  # Corresponds to the JSON property `autoRunDisabled`
13397
13634
  # @return [Boolean]
13398
13635
  attr_accessor :auto_run_disabled
@@ -13417,11 +13654,17 @@ module Google
13417
13654
 
13418
13655
  # Output only. The type of connector. Each source can only map to one type. For
13419
13656
  # example, salesforce, confluence and jira have THIRD_PARTY connector type. It
13420
- # is notmutable once set by system.
13657
+ # is not mutable once set by system.
13421
13658
  # Corresponds to the JSON property `connectorType`
13422
13659
  # @return [String]
13423
13660
  attr_accessor :connector_type
13424
13661
 
13662
+ # Optional. Whether the END USER AUTHENTICATION connector is created in SaaS.
13663
+ # Corresponds to the JSON property `createEuaSaas`
13664
+ # @return [Boolean]
13665
+ attr_accessor :create_eua_saas
13666
+ alias_method :create_eua_saas?, :create_eua_saas
13667
+
13425
13668
  # Output only. Timestamp the DataConnector was created at.
13426
13669
  # Corresponds to the JSON property `createTime`
13427
13670
  # @return [String]
@@ -13466,6 +13709,20 @@ module Google
13466
13709
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig]
13467
13710
  attr_accessor :identity_schedule_config
13468
13711
 
13712
+ # Optional. The refresh interval specifically for incremental data syncs. If
13713
+ # unset, incremental syncs will use the default from env, set to 3hrs. The
13714
+ # minimum is 30 minutes and maximum is 7 days.
13715
+ # Corresponds to the JSON property `incrementalRefreshInterval`
13716
+ # @return [String]
13717
+ attr_accessor :incremental_refresh_interval
13718
+
13719
+ # Optional. Indicates whether incremental syncs are paused for this connector.
13720
+ # This is independent of auto_run_disabled.
13721
+ # Corresponds to the JSON property `incrementalSyncDisabled`
13722
+ # @return [Boolean]
13723
+ attr_accessor :incremental_sync_disabled
13724
+ alias_method :incremental_sync_disabled?, :incremental_sync_disabled
13725
+
13469
13726
  # Input only. The KMS key to be used to protect the DataStores managed by this
13470
13727
  # connector. Must be set for requests that need to comply with CMEK Org Policy
13471
13728
  # protections. If this field is set and processed successfully, the DataStores
@@ -13604,6 +13861,7 @@ module Google
13604
13861
  @blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
13605
13862
  @connector_modes = args[:connector_modes] if args.key?(:connector_modes)
13606
13863
  @connector_type = args[:connector_type] if args.key?(:connector_type)
13864
+ @create_eua_saas = args[:create_eua_saas] if args.key?(:create_eua_saas)
13607
13865
  @create_time = args[:create_time] if args.key?(:create_time)
13608
13866
  @data_source = args[:data_source] if args.key?(:data_source)
13609
13867
  @destination_configs = args[:destination_configs] if args.key?(:destination_configs)
@@ -13612,6 +13870,8 @@ module Google
13612
13870
  @errors = args[:errors] if args.key?(:errors)
13613
13871
  @identity_refresh_interval = args[:identity_refresh_interval] if args.key?(:identity_refresh_interval)
13614
13872
  @identity_schedule_config = args[:identity_schedule_config] if args.key?(:identity_schedule_config)
13873
+ @incremental_refresh_interval = args[:incremental_refresh_interval] if args.key?(:incremental_refresh_interval)
13874
+ @incremental_sync_disabled = args[:incremental_sync_disabled] if args.key?(:incremental_sync_disabled)
13615
13875
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
13616
13876
  @last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time)
13617
13877
  @latest_pause_time = args[:latest_pause_time] if args.key?(:latest_pause_time)
@@ -13846,10 +14106,10 @@ module Google
13846
14106
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaLanguageInfo]
13847
14107
  attr_accessor :language_info
13848
14108
 
13849
- # Immutable. The full resource name of the data store. Format: `projects/`
13850
- # project`/locations/`location`/collections/`collection_id`/dataStores/`
13851
- # data_store_id``. This field must be a UTF-8 encoded string with a length limit
13852
- # of 1024 characters.
14109
+ # Immutable. Identifier. The full resource name of the data store. Format: `
14110
+ # projects/`project`/locations/`location`/collections/`collection_id`/dataStores/
14111
+ # `data_store_id``. This field must be a UTF-8 encoded string with a length
14112
+ # limit of 1024 characters.
13853
14113
  # Corresponds to the JSON property `name`
13854
14114
  # @return [String]
13855
14115
  attr_accessor :name
@@ -13966,7 +14226,8 @@ module Google
13966
14226
  class GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore
13967
14227
  include Google::Apis::Core::Hashable
13968
14228
 
13969
- # If set true, the DataStore will not be available for serving search requests.
14229
+ # Optional. If set true, the DataStore will not be available for serving search
14230
+ # requests.
13970
14231
  # Corresponds to the JSON property `disabledForServing`
13971
14232
  # @return [Boolean]
13972
14233
  attr_accessor :disabled_for_serving
@@ -14641,12 +14902,12 @@ module Google
14641
14902
  # @return [String]
14642
14903
  attr_accessor :create_time
14643
14904
 
14644
- # The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and
14645
- # SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at
14646
- # most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple
14647
- # DataStores in the same Collection can be associated here. Note that when used
14648
- # in CreateEngineRequest, one DataStore id must be provided as the system will
14649
- # use it for necessary initializations.
14905
+ # Optional. The data stores associated with this engine. For
14906
+ # SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they
14907
+ # can only associate with at most one data store. If solution_type is
14908
+ # SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be
14909
+ # associated here. Note that when used in CreateEngineRequest, one DataStore id
14910
+ # must be provided as the system will use it for necessary initializations.
14650
14911
  # Corresponds to the JSON property `dataStoreIds`
14651
14912
  # @return [Array<String>]
14652
14913
  attr_accessor :data_store_ids
@@ -14663,9 +14924,9 @@ module Google
14663
14924
  # @return [String]
14664
14925
  attr_accessor :display_name
14665
14926
 
14666
- # The industry vertical that the engine registers. The restriction of the Engine
14667
- # industry vertical is based on DataStore: Vertical on Engine has to match
14668
- # vertical of the DataStore linked to the engine.
14927
+ # Optional. The industry vertical that the engine registers. The restriction of
14928
+ # the Engine industry vertical is based on DataStore: Vertical on Engine has to
14929
+ # match vertical of the DataStore linked to the engine.
14669
14930
  # Corresponds to the JSON property `industryVertical`
14670
14931
  # @return [String]
14671
14932
  attr_accessor :industry_vertical
@@ -14675,11 +14936,11 @@ module Google
14675
14936
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig]
14676
14937
  attr_accessor :media_recommendation_engine_config
14677
14938
 
14678
- # Immutable. The fully qualified resource name of the engine. This field must be
14679
- # a UTF-8 encoded string with a length limit of 1024 characters. Format: `
14680
- # projects/`project`/locations/`location`/collections/`collection`/engines/`
14681
- # engine`` engine should be 1-63 characters, and valid characters are /a-z0-9*/.
14682
- # Otherwise, an INVALID_ARGUMENT error is returned.
14939
+ # Immutable. Identifier. The fully qualified resource name of the engine. This
14940
+ # field must be a UTF-8 encoded string with a length limit of 1024 characters.
14941
+ # Format: `projects/`project`/locations/`location`/collections/`collection`/
14942
+ # engines/`engine`` engine should be 1-63 characters, and valid characters are /
14943
+ # a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned.
14683
14944
  # Corresponds to the JSON property `name`
14684
14945
  # @return [String]
14685
14946
  attr_accessor :name
@@ -17955,6 +18216,14 @@ module Google
17955
18216
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec]
17956
18217
  attr_accessor :boost_spec
17957
18218
 
18219
+ # Optional. Custom search operators which if specified will be used to filter
18220
+ # results from workspace data stores. For more information on custom search
18221
+ # operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/
18222
+ # 6172299).
18223
+ # Corresponds to the JSON property `customSearchOperators`
18224
+ # @return [String]
18225
+ attr_accessor :custom_search_operators
18226
+
17958
18227
  # Required. Full resource name of DataStore, such as `projects/`project`/
17959
18228
  # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
17960
18229
  # Corresponds to the JSON property `dataStore`
@@ -17975,6 +18244,7 @@ module Google
17975
18244
  # Update properties of this object
17976
18245
  def update!(**args)
17977
18246
  @boost_spec = args[:boost_spec] if args.key?(:boost_spec)
18247
+ @custom_search_operators = args[:custom_search_operators] if args.key?(:custom_search_operators)
17978
18248
  @data_store = args[:data_store] if args.key?(:data_store)
17979
18249
  @filter = args[:filter] if args.key?(:filter)
17980
18250
  end
@@ -19094,6 +19364,79 @@ module Google
19094
19364
  end
19095
19365
  end
19096
19366
 
19367
+ # User License information assigned by the admin.
19368
+ class GoogleCloudDiscoveryengineV1alphaUserLicense
19369
+ include Google::Apis::Core::Hashable
19370
+
19371
+ # Output only. User created timestamp.
19372
+ # Corresponds to the JSON property `createTime`
19373
+ # @return [String]
19374
+ attr_accessor :create_time
19375
+
19376
+ # Output only. User last logged in time. If the user has not logged in yet, this
19377
+ # field will be empty.
19378
+ # Corresponds to the JSON property `lastLoginTime`
19379
+ # @return [String]
19380
+ attr_accessor :last_login_time
19381
+
19382
+ # Output only. License assignment state of the user. If the user is assigned
19383
+ # with a license config, the user loggin will be assigned with the license; If
19384
+ # the user's license assignment state is unassigned or unspecified, no license
19385
+ # config will be associated to the user;
19386
+ # Corresponds to the JSON property `licenseAssignmentState`
19387
+ # @return [String]
19388
+ attr_accessor :license_assignment_state
19389
+
19390
+ # Optional. The full resource name of the Subscription(LicenseConfig) assigned
19391
+ # to the user.
19392
+ # Corresponds to the JSON property `licenseConfig`
19393
+ # @return [String]
19394
+ attr_accessor :license_config
19395
+
19396
+ # Output only. User update timestamp.
19397
+ # Corresponds to the JSON property `updateTime`
19398
+ # @return [String]
19399
+ attr_accessor :update_time
19400
+
19401
+ # Optional. The full resource name of the User, in the format of `projects/`
19402
+ # project`/locations/`location`/userStores/`user_store`/users/`user_id``. This
19403
+ # field must be a UTF-8 encoded string with a length limit of 2048 characters.
19404
+ # If the user field is empty, it's indicating the user has not logged in yet and
19405
+ # no User entity is created.
19406
+ # Corresponds to the JSON property `user`
19407
+ # @return [String]
19408
+ attr_accessor :user
19409
+
19410
+ # Required. Immutable. The user principal of the User, could be email address or
19411
+ # other prinical identifier. This field is immutable. Admin assign licenses
19412
+ # based on the user principal.
19413
+ # Corresponds to the JSON property `userPrincipal`
19414
+ # @return [String]
19415
+ attr_accessor :user_principal
19416
+
19417
+ # Optional. The user profile. We user user full name(First name + Last name) as
19418
+ # user profile.
19419
+ # Corresponds to the JSON property `userProfile`
19420
+ # @return [String]
19421
+ attr_accessor :user_profile
19422
+
19423
+ def initialize(**args)
19424
+ update!(**args)
19425
+ end
19426
+
19427
+ # Update properties of this object
19428
+ def update!(**args)
19429
+ @create_time = args[:create_time] if args.key?(:create_time)
19430
+ @last_login_time = args[:last_login_time] if args.key?(:last_login_time)
19431
+ @license_assignment_state = args[:license_assignment_state] if args.key?(:license_assignment_state)
19432
+ @license_config = args[:license_config] if args.key?(:license_config)
19433
+ @update_time = args[:update_time] if args.key?(:update_time)
19434
+ @user = args[:user] if args.key?(:user)
19435
+ @user_principal = args[:user_principal] if args.key?(:user_principal)
19436
+ @user_profile = args[:user_profile] if args.key?(:user_profile)
19437
+ end
19438
+ end
19439
+
19097
19440
  # Config to store data store type configuration for workspace data
19098
19441
  class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig
19099
19442
  include Google::Apis::Core::Hashable
@@ -19957,10 +20300,10 @@ module Google
19957
20300
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaLanguageInfo]
19958
20301
  attr_accessor :language_info
19959
20302
 
19960
- # Immutable. The full resource name of the data store. Format: `projects/`
19961
- # project`/locations/`location`/collections/`collection_id`/dataStores/`
19962
- # data_store_id``. This field must be a UTF-8 encoded string with a length limit
19963
- # of 1024 characters.
20303
+ # Immutable. Identifier. The full resource name of the data store. Format: `
20304
+ # projects/`project`/locations/`location`/collections/`collection_id`/dataStores/
20305
+ # `data_store_id``. This field must be a UTF-8 encoded string with a length
20306
+ # limit of 1024 characters.
19964
20307
  # Corresponds to the JSON property `name`
19965
20308
  # @return [String]
19966
20309
  attr_accessor :name
@@ -20076,7 +20419,8 @@ module Google
20076
20419
  class GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore
20077
20420
  include Google::Apis::Core::Hashable
20078
20421
 
20079
- # If set true, the DataStore will not be available for serving search requests.
20422
+ # Optional. If set true, the DataStore will not be available for serving search
20423
+ # requests.
20080
20424
  # Corresponds to the JSON property `disabledForServing`
20081
20425
  # @return [Boolean]
20082
20426
  attr_accessor :disabled_for_serving
@@ -20618,12 +20962,12 @@ module Google
20618
20962
  # @return [String]
20619
20963
  attr_accessor :create_time
20620
20964
 
20621
- # The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and
20622
- # SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at
20623
- # most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple
20624
- # DataStores in the same Collection can be associated here. Note that when used
20625
- # in CreateEngineRequest, one DataStore id must be provided as the system will
20626
- # use it for necessary initializations.
20965
+ # Optional. The data stores associated with this engine. For
20966
+ # SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they
20967
+ # can only associate with at most one data store. If solution_type is
20968
+ # SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be
20969
+ # associated here. Note that when used in CreateEngineRequest, one DataStore id
20970
+ # must be provided as the system will use it for necessary initializations.
20627
20971
  # Corresponds to the JSON property `dataStoreIds`
20628
20972
  # @return [Array<String>]
20629
20973
  attr_accessor :data_store_ids
@@ -20640,9 +20984,9 @@ module Google
20640
20984
  # @return [String]
20641
20985
  attr_accessor :display_name
20642
20986
 
20643
- # The industry vertical that the engine registers. The restriction of the Engine
20644
- # industry vertical is based on DataStore: Vertical on Engine has to match
20645
- # vertical of the DataStore linked to the engine.
20987
+ # Optional. The industry vertical that the engine registers. The restriction of
20988
+ # the Engine industry vertical is based on DataStore: Vertical on Engine has to
20989
+ # match vertical of the DataStore linked to the engine.
20646
20990
  # Corresponds to the JSON property `industryVertical`
20647
20991
  # @return [String]
20648
20992
  attr_accessor :industry_vertical
@@ -20652,11 +20996,11 @@ module Google
20652
20996
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig]
20653
20997
  attr_accessor :media_recommendation_engine_config
20654
20998
 
20655
- # Immutable. The fully qualified resource name of the engine. This field must be
20656
- # a UTF-8 encoded string with a length limit of 1024 characters. Format: `
20657
- # projects/`project`/locations/`location`/collections/`collection`/engines/`
20658
- # engine`` engine should be 1-63 characters, and valid characters are /a-z0-9*/.
20659
- # Otherwise, an INVALID_ARGUMENT error is returned.
20999
+ # Immutable. Identifier. The fully qualified resource name of the engine. This
21000
+ # field must be a UTF-8 encoded string with a length limit of 1024 characters.
21001
+ # Format: `projects/`project`/locations/`location`/collections/`collection`/
21002
+ # engines/`engine`` engine should be 1-63 characters, and valid characters are /
21003
+ # a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned.
20660
21004
  # Corresponds to the JSON property `name`
20661
21005
  # @return [String]
20662
21006
  attr_accessor :name
@@ -23086,6 +23430,14 @@ module Google
23086
23430
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec]
23087
23431
  attr_accessor :boost_spec
23088
23432
 
23433
+ # Optional. Custom search operators which if specified will be used to filter
23434
+ # results from workspace data stores. For more information on custom search
23435
+ # operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/
23436
+ # 6172299).
23437
+ # Corresponds to the JSON property `customSearchOperators`
23438
+ # @return [String]
23439
+ attr_accessor :custom_search_operators
23440
+
23089
23441
  # Required. Full resource name of DataStore, such as `projects/`project`/
23090
23442
  # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
23091
23443
  # Corresponds to the JSON property `dataStore`
@@ -23106,6 +23458,7 @@ module Google
23106
23458
  # Update properties of this object
23107
23459
  def update!(**args)
23108
23460
  @boost_spec = args[:boost_spec] if args.key?(:boost_spec)
23461
+ @custom_search_operators = args[:custom_search_operators] if args.key?(:custom_search_operators)
23109
23462
  @data_store = args[:data_store] if args.key?(:data_store)
23110
23463
  @filter = args[:filter] if args.key?(:filter)
23111
23464
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1
18
18
  # Version of the google-apis-discoveryengine_v1 gem
19
- GEM_VERSION = "0.35.0"
19
+ GEM_VERSION = "0.37.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250425"
25
+ REVISION = "20250514"
26
26
  end
27
27
  end
28
28
  end
@@ -466,6 +466,18 @@ module Google
466
466
  include Google::Apis::Core::JsonObjectSupport
467
467
  end
468
468
 
469
+ class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
475
+ class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
469
481
  class GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest
470
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
483
 
@@ -1252,6 +1264,12 @@ module Google
1252
1264
  include Google::Apis::Core::JsonObjectSupport
1253
1265
  end
1254
1266
 
1267
+ class GoogleCloudDiscoveryengineV1ListUserLicensesResponse
1268
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1269
+
1270
+ include Google::Apis::Core::JsonObjectSupport
1271
+ end
1272
+
1255
1273
  class GoogleCloudDiscoveryengineV1MediaInfo
1256
1274
  class Representation < Google::Apis::Core::JsonRepresentation; end
1257
1275
 
@@ -1828,6 +1846,12 @@ module Google
1828
1846
  include Google::Apis::Core::JsonObjectSupport
1829
1847
  end
1830
1848
 
1849
+ class GoogleCloudDiscoveryengineV1UserLicense
1850
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1851
+
1852
+ include Google::Apis::Core::JsonObjectSupport
1853
+ end
1854
+
1831
1855
  class GoogleCloudDiscoveryengineV1WorkspaceConfig
1832
1856
  class Representation < Google::Apis::Core::JsonRepresentation; end
1833
1857
 
@@ -2008,6 +2032,18 @@ module Google
2008
2032
  include Google::Apis::Core::JsonObjectSupport
2009
2033
  end
2010
2034
 
2035
+ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata
2036
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2037
+
2038
+ include Google::Apis::Core::JsonObjectSupport
2039
+ end
2040
+
2041
+ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse
2042
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2043
+
2044
+ include Google::Apis::Core::JsonObjectSupport
2045
+ end
2046
+
2011
2047
  class GoogleCloudDiscoveryengineV1alphaCmekConfig
2012
2048
  class Representation < Google::Apis::Core::JsonRepresentation; end
2013
2049
 
@@ -3040,6 +3076,12 @@ module Google
3040
3076
  include Google::Apis::Core::JsonObjectSupport
3041
3077
  end
3042
3078
 
3079
+ class GoogleCloudDiscoveryengineV1alphaUserLicense
3080
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3081
+
3082
+ include Google::Apis::Core::JsonObjectSupport
3083
+ end
3084
+
3043
3085
  class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig
3044
3086
  class Representation < Google::Apis::Core::JsonRepresentation; end
3045
3087
 
@@ -4648,6 +4690,26 @@ module Google
4648
4690
  end
4649
4691
  end
4650
4692
 
4693
+ class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest
4694
+ # @private
4695
+ class Representation < Google::Apis::Core::JsonRepresentation
4696
+ property :delete_unassigned_user_licenses, as: 'deleteUnassignedUserLicenses'
4697
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GcsSource, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GcsSource::Representation
4698
+
4699
+ property :inline_source, as: 'inlineSource', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource::Representation
4700
+
4701
+ end
4702
+ end
4703
+
4704
+ class GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequestInlineSource
4705
+ # @private
4706
+ class Representation < Google::Apis::Core::JsonRepresentation
4707
+ property :update_mask, as: 'updateMask'
4708
+ collection :user_licenses, as: 'userLicenses', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserLicense, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserLicense::Representation
4709
+
4710
+ end
4711
+ end
4712
+
4651
4713
  class GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest
4652
4714
  # @private
4653
4715
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5958,6 +6020,15 @@ module Google
5958
6020
  end
5959
6021
  end
5960
6022
 
6023
+ class GoogleCloudDiscoveryengineV1ListUserLicensesResponse
6024
+ # @private
6025
+ class Representation < Google::Apis::Core::JsonRepresentation
6026
+ property :next_page_token, as: 'nextPageToken'
6027
+ collection :user_licenses, as: 'userLicenses', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserLicense, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserLicense::Representation
6028
+
6029
+ end
6030
+ end
6031
+
5961
6032
  class GoogleCloudDiscoveryengineV1MediaInfo
5962
6033
  # @private
5963
6034
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6445,6 +6516,7 @@ module Google
6445
6516
  class Representation < Google::Apis::Core::JsonRepresentation
6446
6517
  property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestBoostSpec::Representation
6447
6518
 
6519
+ property :custom_search_operators, as: 'customSearchOperators'
6448
6520
  property :data_store, as: 'dataStore'
6449
6521
  property :filter, as: 'filter'
6450
6522
  end
@@ -6965,6 +7037,20 @@ module Google
6965
7037
  end
6966
7038
  end
6967
7039
 
7040
+ class GoogleCloudDiscoveryengineV1UserLicense
7041
+ # @private
7042
+ class Representation < Google::Apis::Core::JsonRepresentation
7043
+ property :create_time, as: 'createTime'
7044
+ property :last_login_time, as: 'lastLoginTime'
7045
+ property :license_assignment_state, as: 'licenseAssignmentState'
7046
+ property :license_config, as: 'licenseConfig'
7047
+ property :update_time, as: 'updateTime'
7048
+ property :user, as: 'user'
7049
+ property :user_principal, as: 'userPrincipal'
7050
+ property :user_profile, as: 'userProfile'
7051
+ end
7052
+ end
7053
+
6968
7054
  class GoogleCloudDiscoveryengineV1WorkspaceConfig
6969
7055
  # @private
6970
7056
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7265,6 +7351,26 @@ module Google
7265
7351
  end
7266
7352
  end
7267
7353
 
7354
+ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata
7355
+ # @private
7356
+ class Representation < Google::Apis::Core::JsonRepresentation
7357
+ property :create_time, as: 'createTime'
7358
+ property :failure_count, :numeric_string => true, as: 'failureCount'
7359
+ property :success_count, :numeric_string => true, as: 'successCount'
7360
+ property :update_time, as: 'updateTime'
7361
+ end
7362
+ end
7363
+
7364
+ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse
7365
+ # @private
7366
+ class Representation < Google::Apis::Core::JsonRepresentation
7367
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1::GoogleRpcStatus::Representation
7368
+
7369
+ collection :user_licenses, as: 'userLicenses', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaUserLicense, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaUserLicense::Representation
7370
+
7371
+ end
7372
+ end
7373
+
7268
7374
  class GoogleCloudDiscoveryengineV1alphaCmekConfig
7269
7375
  # @private
7270
7376
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7524,6 +7630,7 @@ module Google
7524
7630
  collection :blocking_reasons, as: 'blockingReasons'
7525
7631
  collection :connector_modes, as: 'connectorModes'
7526
7632
  property :connector_type, as: 'connectorType'
7633
+ property :create_eua_saas, as: 'createEuaSaas'
7527
7634
  property :create_time, as: 'createTime'
7528
7635
  property :data_source, as: 'dataSource'
7529
7636
  collection :destination_configs, as: 'destinationConfigs', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDestinationConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDestinationConfig::Representation
@@ -7537,6 +7644,8 @@ module Google
7537
7644
  property :identity_refresh_interval, as: 'identityRefreshInterval'
7538
7645
  property :identity_schedule_config, as: 'identityScheduleConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig::Representation
7539
7646
 
7647
+ property :incremental_refresh_interval, as: 'incrementalRefreshInterval'
7648
+ property :incremental_sync_disabled, as: 'incrementalSyncDisabled'
7540
7649
  property :kms_key_name, as: 'kmsKeyName'
7541
7650
  property :last_sync_time, as: 'lastSyncTime'
7542
7651
  property :latest_pause_time, as: 'latestPauseTime'
@@ -8697,6 +8806,7 @@ module Google
8697
8806
  class Representation < Google::Apis::Core::JsonRepresentation
8698
8807
  property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec::Representation
8699
8808
 
8809
+ property :custom_search_operators, as: 'customSearchOperators'
8700
8810
  property :data_store, as: 'dataStore'
8701
8811
  property :filter, as: 'filter'
8702
8812
  end
@@ -9013,6 +9123,20 @@ module Google
9013
9123
  end
9014
9124
  end
9015
9125
 
9126
+ class GoogleCloudDiscoveryengineV1alphaUserLicense
9127
+ # @private
9128
+ class Representation < Google::Apis::Core::JsonRepresentation
9129
+ property :create_time, as: 'createTime'
9130
+ property :last_login_time, as: 'lastLoginTime'
9131
+ property :license_assignment_state, as: 'licenseAssignmentState'
9132
+ property :license_config, as: 'licenseConfig'
9133
+ property :update_time, as: 'updateTime'
9134
+ property :user, as: 'user'
9135
+ property :user_principal, as: 'userPrincipal'
9136
+ property :user_profile, as: 'userProfile'
9137
+ end
9138
+ end
9139
+
9016
9140
  class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig
9017
9141
  # @private
9018
9142
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10080,6 +10204,7 @@ module Google
10080
10204
  class Representation < Google::Apis::Core::JsonRepresentation
10081
10205
  property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec::Representation
10082
10206
 
10207
+ property :custom_search_operators, as: 'customSearchOperators'
10083
10208
  property :data_store, as: 'dataStore'
10084
10209
  property :filter, as: 'filter'
10085
10210
  end
@@ -649,10 +649,10 @@ module Google
649
649
 
650
650
  # Updates a DataStore
651
651
  # @param [String] name
652
- # Immutable. The full resource name of the data store. Format: `projects/`
653
- # project`/locations/`location`/collections/`collection_id`/dataStores/`
654
- # data_store_id``. This field must be a UTF-8 encoded string with a length limit
655
- # of 1024 characters.
652
+ # Immutable. Identifier. The full resource name of the data store. Format: `
653
+ # projects/`project`/locations/`location`/collections/`collection_id`/dataStores/
654
+ # `data_store_id``. This field must be a UTF-8 encoded string with a length
655
+ # limit of 1024 characters.
656
656
  # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataStore] google_cloud_discoveryengine_v1_data_store_object
657
657
  # @param [String] update_mask
658
658
  # Indicates which fields in the provided DataStore to update. If an unsupported
@@ -3578,11 +3578,11 @@ module Google
3578
3578
 
3579
3579
  # Updates an Engine
3580
3580
  # @param [String] name
3581
- # Immutable. The fully qualified resource name of the engine. This field must be
3582
- # a UTF-8 encoded string with a length limit of 1024 characters. Format: `
3583
- # projects/`project`/locations/`location`/collections/`collection`/engines/`
3584
- # engine`` engine should be 1-63 characters, and valid characters are /a-z0-9*/.
3585
- # Otherwise, an INVALID_ARGUMENT error is returned.
3581
+ # Immutable. Identifier. The fully qualified resource name of the engine. This
3582
+ # field must be a UTF-8 encoded string with a length limit of 1024 characters.
3583
+ # Format: `projects/`project`/locations/`location`/collections/`collection`/
3584
+ # engines/`engine`` engine should be 1-63 characters, and valid characters are /
3585
+ # a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned.
3586
3586
  # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Engine] google_cloud_discoveryengine_v1_engine_object
3587
3587
  # @param [String] update_mask
3588
3588
  # Indicates which fields in the provided Engine to update. If an unsupported or
@@ -4965,10 +4965,10 @@ module Google
4965
4965
 
4966
4966
  # Updates a DataStore
4967
4967
  # @param [String] name
4968
- # Immutable. The full resource name of the data store. Format: `projects/`
4969
- # project`/locations/`location`/collections/`collection_id`/dataStores/`
4970
- # data_store_id``. This field must be a UTF-8 encoded string with a length limit
4971
- # of 1024 characters.
4968
+ # Immutable. Identifier. The full resource name of the data store. Format: `
4969
+ # projects/`project`/locations/`location`/collections/`collection_id`/dataStores/
4970
+ # `data_store_id``. This field must be a UTF-8 encoded string with a length
4971
+ # limit of 1024 characters.
4972
4972
  # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataStore] google_cloud_discoveryengine_v1_data_store_object
4973
4973
  # @param [String] update_mask
4974
4974
  # Indicates which fields in the provided DataStore to update. If an unsupported
@@ -8024,6 +8024,93 @@ module Google
8024
8024
  execute_or_queue_command(command, &block)
8025
8025
  end
8026
8026
 
8027
+ # Updates the User License. This method is used for batch assign/unassign
8028
+ # licenses to users.
8029
+ # @param [String] parent
8030
+ # Required. The parent UserStore resource name, format: `projects/`project`/
8031
+ # locations/`location`/userStores/`user_store_id``.
8032
+ # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest] google_cloud_discoveryengine_v1_batch_update_user_licenses_request_object
8033
+ # @param [String] fields
8034
+ # Selector specifying which fields to include in a partial response.
8035
+ # @param [String] quota_user
8036
+ # Available to use for quota purposes for server-side applications. Can be any
8037
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8038
+ # @param [Google::Apis::RequestOptions] options
8039
+ # Request-specific options
8040
+ #
8041
+ # @yield [result, err] Result & error if block supplied
8042
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation] parsed result object
8043
+ # @yieldparam err [StandardError] error object if request failed
8044
+ #
8045
+ # @return [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation]
8046
+ #
8047
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8048
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8049
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8050
+ def batch_project_location_user_store_update_user_licenses(parent, google_cloud_discoveryengine_v1_batch_update_user_licenses_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
8051
+ command = make_simple_command(:post, 'v1/{+parent}:batchUpdateUserLicenses', options)
8052
+ command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest::Representation
8053
+ command.request_object = google_cloud_discoveryengine_v1_batch_update_user_licenses_request_object
8054
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation::Representation
8055
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation
8056
+ command.params['parent'] = parent unless parent.nil?
8057
+ command.query['fields'] = fields unless fields.nil?
8058
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8059
+ execute_or_queue_command(command, &block)
8060
+ end
8061
+
8062
+ # Lists the User Licenses.
8063
+ # @param [String] parent
8064
+ # Required. The parent UserStore resource name, format: `projects/`project`/
8065
+ # locations/`location`/userStores/`user_store_id``.
8066
+ # @param [String] filter
8067
+ # Optional. Filter for the list request. Supported fields: * `
8068
+ # license_assignment_state` Examples: * `license_assignment_state = ASSIGNED` to
8069
+ # list assigned user licenses. * `license_assignment_state = NO_LICENSE` to list
8070
+ # not licensed users. * `license_assignment_state = NO_LICENSE_ATTEMPTED_LOGIN`
8071
+ # to list users who attempted login but no license assigned. * `
8072
+ # license_assignment_state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users
8073
+ # who attempted login but no license assigned.
8074
+ # @param [Fixnum] page_size
8075
+ # Optional. Requested page size. Server may return fewer items than requested.
8076
+ # If unspecified, defaults to 10. The maximum value is 50; values above 50 will
8077
+ # be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is
8078
+ # returned.
8079
+ # @param [String] page_token
8080
+ # Optional. A page token, received from a previous `ListUserLicenses` call.
8081
+ # Provide this to retrieve the subsequent page. When paginating, all other
8082
+ # parameters provided to `ListUserLicenses` must match the call that provided
8083
+ # the page token.
8084
+ # @param [String] fields
8085
+ # Selector specifying which fields to include in a partial response.
8086
+ # @param [String] quota_user
8087
+ # Available to use for quota purposes for server-side applications. Can be any
8088
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8089
+ # @param [Google::Apis::RequestOptions] options
8090
+ # Request-specific options
8091
+ #
8092
+ # @yield [result, err] Result & error if block supplied
8093
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListUserLicensesResponse] parsed result object
8094
+ # @yieldparam err [StandardError] error object if request failed
8095
+ #
8096
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListUserLicensesResponse]
8097
+ #
8098
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8099
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8100
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8101
+ 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)
8102
+ command = make_simple_command(:get, 'v1/{+parent}/userLicenses', options)
8103
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListUserLicensesResponse::Representation
8104
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListUserLicensesResponse
8105
+ command.params['parent'] = parent unless parent.nil?
8106
+ command.query['filter'] = filter unless filter.nil?
8107
+ command.query['pageSize'] = page_size unless page_size.nil?
8108
+ command.query['pageToken'] = page_token unless page_token.nil?
8109
+ command.query['fields'] = fields unless fields.nil?
8110
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8111
+ execute_or_queue_command(command, &block)
8112
+ end
8113
+
8027
8114
  # Starts asynchronous cancellation on a long-running operation. The server makes
8028
8115
  # a best effort to cancel the operation, but success is not guaranteed. If the
8029
8116
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.35.0
4
+ version: 0.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.35.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.37.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1
62
62
  rdoc_options: []
63
63
  require_paths: