google-apis-discoveryengine_v1 0.34.0 → 0.36.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: 69ac08b333fcdcb897020d663c36893a9fcbc047736efedc0d6b5e089d44ed4d
4
- data.tar.gz: ccd2a9f2d4ac3d0bc0072d20729bd248130ec3b0a1d044f3d3fa28086f1b6d0f
3
+ metadata.gz: e9054e9baf295a06f1e1e110b97b4d1a4f7f22a0ca3b42cdefdf9f815b3e2731
4
+ data.tar.gz: 1cc7ffaed4bc3c4a65c9c81bdc4e429cc21df4bbdf3e552fb5bbe81e8a543dae
5
5
  SHA512:
6
- metadata.gz: fb6d70187260eb1ed48b895453172810863e24e6d6b9ad2470c52ea4fede338b3f47216b488c944d309a07f70ec7d549787fb9e8fae09163e0bf7cc93b4b202f
7
- data.tar.gz: 2a671f3477a9d0d96db8a057c90c236f83e64d94c899e085fcccb27176c5c763d0e99bc30b4a35001c5bc6b488ca969d550a597b303feb9f4ae040ee5b21b6e5
6
+ metadata.gz: 9b96404d3f5aa99304be0b9c1a047b5bb6355e676257bcbc222bb5c33d059666421ee7408543c60a7f91445b66037f54841a90ced67a5e892ad2879a239a6e05
7
+ data.tar.gz: 41a5b2a6304c0faae43a88f65714b0e3489dd54b730148c5ee08503f01517d5abd7419381b12f6427215eaeddac582796f98ad452f78d6e0010491a541880ef2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-discoveryengine_v1
2
2
 
3
+ ### v0.36.0 (2025-05-11)
4
+
5
+ * Regenerated from discovery document revision 20250508
6
+
7
+ ### v0.35.0 (2025-05-04)
8
+
9
+ * Regenerated from discovery document revision 20250425
10
+ * Regenerated using generator version 0.17.0
11
+
3
12
  ### v0.34.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
 
@@ -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
@@ -7337,6 +7398,32 @@ module Google
7337
7398
  end
7338
7399
  end
7339
7400
 
7401
+ # Response message for UserLicenseService.ListUserLicenses.
7402
+ class GoogleCloudDiscoveryengineV1ListUserLicensesResponse
7403
+ include Google::Apis::Core::Hashable
7404
+
7405
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
7406
+ # field is omitted, there are no subsequent pages.
7407
+ # Corresponds to the JSON property `nextPageToken`
7408
+ # @return [String]
7409
+ attr_accessor :next_page_token
7410
+
7411
+ # All the customer's UserLicenses.
7412
+ # Corresponds to the JSON property `userLicenses`
7413
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserLicense>]
7414
+ attr_accessor :user_licenses
7415
+
7416
+ def initialize(**args)
7417
+ update!(**args)
7418
+ end
7419
+
7420
+ # Update properties of this object
7421
+ def update!(**args)
7422
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
7423
+ @user_licenses = args[:user_licenses] if args.key?(:user_licenses)
7424
+ end
7425
+ end
7426
+
7340
7427
  # Media-specific user event information.
7341
7428
  class GoogleCloudDiscoveryengineV1MediaInfo
7342
7429
  include Google::Apis::Core::Hashable
@@ -9350,6 +9437,14 @@ module Google
9350
9437
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestBoostSpec]
9351
9438
  attr_accessor :boost_spec
9352
9439
 
9440
+ # Optional. Custom search operators which if specified will be used to filter
9441
+ # results from workspace data stores. For more information on custom search
9442
+ # operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/
9443
+ # 6172299).
9444
+ # Corresponds to the JSON property `customSearchOperators`
9445
+ # @return [String]
9446
+ attr_accessor :custom_search_operators
9447
+
9353
9448
  # Required. Full resource name of DataStore, such as `projects/`project`/
9354
9449
  # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
9355
9450
  # Corresponds to the JSON property `dataStore`
@@ -9370,6 +9465,7 @@ module Google
9370
9465
  # Update properties of this object
9371
9466
  def update!(**args)
9372
9467
  @boost_spec = args[:boost_spec] if args.key?(:boost_spec)
9468
+ @custom_search_operators = args[:custom_search_operators] if args.key?(:custom_search_operators)
9373
9469
  @data_store = args[:data_store] if args.key?(:data_store)
9374
9470
  @filter = args[:filter] if args.key?(:filter)
9375
9471
  end
@@ -11442,6 +11538,79 @@ module Google
11442
11538
  end
11443
11539
  end
11444
11540
 
11541
+ # User License information assigned by the admin.
11542
+ class GoogleCloudDiscoveryengineV1UserLicense
11543
+ include Google::Apis::Core::Hashable
11544
+
11545
+ # Output only. User created timestamp.
11546
+ # Corresponds to the JSON property `createTime`
11547
+ # @return [String]
11548
+ attr_accessor :create_time
11549
+
11550
+ # Output only. User last logged in time. If the user has not logged in yet, this
11551
+ # field will be empty.
11552
+ # Corresponds to the JSON property `lastLoginTime`
11553
+ # @return [String]
11554
+ attr_accessor :last_login_time
11555
+
11556
+ # Output only. License assignment state of the user. If the user is assigned
11557
+ # with a license config, the user loggin will be assigned with the license; If
11558
+ # the user's license assignment state is unassigned or unspecified, no license
11559
+ # config will be associated to the user;
11560
+ # Corresponds to the JSON property `licenseAssignmentState`
11561
+ # @return [String]
11562
+ attr_accessor :license_assignment_state
11563
+
11564
+ # Optional. The full resource name of the Subscription(LicenseConfig) assigned
11565
+ # to the user.
11566
+ # Corresponds to the JSON property `licenseConfig`
11567
+ # @return [String]
11568
+ attr_accessor :license_config
11569
+
11570
+ # Output only. User update timestamp.
11571
+ # Corresponds to the JSON property `updateTime`
11572
+ # @return [String]
11573
+ attr_accessor :update_time
11574
+
11575
+ # Optional. The full resource name of the User, in the format of `projects/`
11576
+ # project`/locations/`location`/userStores/`user_store`/users/`user_id``. This
11577
+ # field must be a UTF-8 encoded string with a length limit of 2048 characters.
11578
+ # If the user field is empty, it's indicating the user has not logged in yet and
11579
+ # no User entity is created.
11580
+ # Corresponds to the JSON property `user`
11581
+ # @return [String]
11582
+ attr_accessor :user
11583
+
11584
+ # Required. Immutable. The user principal of the User, could be email address or
11585
+ # other prinical identifier. This field is immutable. Admin assign licenses
11586
+ # based on the user principal.
11587
+ # Corresponds to the JSON property `userPrincipal`
11588
+ # @return [String]
11589
+ attr_accessor :user_principal
11590
+
11591
+ # Optional. The user profile. We user user full name(First name + Last name) as
11592
+ # user profile.
11593
+ # Corresponds to the JSON property `userProfile`
11594
+ # @return [String]
11595
+ attr_accessor :user_profile
11596
+
11597
+ def initialize(**args)
11598
+ update!(**args)
11599
+ end
11600
+
11601
+ # Update properties of this object
11602
+ def update!(**args)
11603
+ @create_time = args[:create_time] if args.key?(:create_time)
11604
+ @last_login_time = args[:last_login_time] if args.key?(:last_login_time)
11605
+ @license_assignment_state = args[:license_assignment_state] if args.key?(:license_assignment_state)
11606
+ @license_config = args[:license_config] if args.key?(:license_config)
11607
+ @update_time = args[:update_time] if args.key?(:update_time)
11608
+ @user = args[:user] if args.key?(:user)
11609
+ @user_principal = args[:user_principal] if args.key?(:user_principal)
11610
+ @user_profile = args[:user_profile] if args.key?(:user_profile)
11611
+ end
11612
+ end
11613
+
11445
11614
  # Config to store data store type configuration for workspace data
11446
11615
  class GoogleCloudDiscoveryengineV1WorkspaceConfig
11447
11616
  include Google::Apis::Core::Hashable
@@ -12453,6 +12622,71 @@ module Google
12453
12622
  end
12454
12623
  end
12455
12624
 
12625
+ # Metadata related to the progress of the UserLicenseService.
12626
+ # BatchUpdateUserLicenses operation. This will be returned by the google.
12627
+ # longrunning.Operation.metadata field.
12628
+ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata
12629
+ include Google::Apis::Core::Hashable
12630
+
12631
+ # Operation create time.
12632
+ # Corresponds to the JSON property `createTime`
12633
+ # @return [String]
12634
+ attr_accessor :create_time
12635
+
12636
+ # Count of user licenses that failed to be updated.
12637
+ # Corresponds to the JSON property `failureCount`
12638
+ # @return [Fixnum]
12639
+ attr_accessor :failure_count
12640
+
12641
+ # Count of user licenses successfully updated.
12642
+ # Corresponds to the JSON property `successCount`
12643
+ # @return [Fixnum]
12644
+ attr_accessor :success_count
12645
+
12646
+ # Operation last update time. If the operation is done, this is also the finish
12647
+ # time.
12648
+ # Corresponds to the JSON property `updateTime`
12649
+ # @return [String]
12650
+ attr_accessor :update_time
12651
+
12652
+ def initialize(**args)
12653
+ update!(**args)
12654
+ end
12655
+
12656
+ # Update properties of this object
12657
+ def update!(**args)
12658
+ @create_time = args[:create_time] if args.key?(:create_time)
12659
+ @failure_count = args[:failure_count] if args.key?(:failure_count)
12660
+ @success_count = args[:success_count] if args.key?(:success_count)
12661
+ @update_time = args[:update_time] if args.key?(:update_time)
12662
+ end
12663
+ end
12664
+
12665
+ # Response message for UserLicenseService.BatchUpdateUserLicenses method.
12666
+ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse
12667
+ include Google::Apis::Core::Hashable
12668
+
12669
+ # A sample of errors encountered while processing the request.
12670
+ # Corresponds to the JSON property `errorSamples`
12671
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleRpcStatus>]
12672
+ attr_accessor :error_samples
12673
+
12674
+ # UserLicenses successfully updated.
12675
+ # Corresponds to the JSON property `userLicenses`
12676
+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaUserLicense>]
12677
+ attr_accessor :user_licenses
12678
+
12679
+ def initialize(**args)
12680
+ update!(**args)
12681
+ end
12682
+
12683
+ # Update properties of this object
12684
+ def update!(**args)
12685
+ @error_samples = args[:error_samples] if args.key?(:error_samples)
12686
+ @user_licenses = args[:user_licenses] if args.key?(:user_licenses)
12687
+ end
12688
+ end
12689
+
12456
12690
  # Configurations used to enable CMEK data encryption with Cloud KMS keys.
12457
12691
  class GoogleCloudDiscoveryengineV1alphaCmekConfig
12458
12692
  include Google::Apis::Core::Hashable
@@ -13417,11 +13651,17 @@ module Google
13417
13651
 
13418
13652
  # Output only. The type of connector. Each source can only map to one type. For
13419
13653
  # example, salesforce, confluence and jira have THIRD_PARTY connector type. It
13420
- # is notmutable once set by system.
13654
+ # is not mutable once set by system.
13421
13655
  # Corresponds to the JSON property `connectorType`
13422
13656
  # @return [String]
13423
13657
  attr_accessor :connector_type
13424
13658
 
13659
+ # Optional. Whether the END USER AUTHENTICATION connector is created in SaaS.
13660
+ # Corresponds to the JSON property `createEuaSaas`
13661
+ # @return [Boolean]
13662
+ attr_accessor :create_eua_saas
13663
+ alias_method :create_eua_saas?, :create_eua_saas
13664
+
13425
13665
  # Output only. Timestamp the DataConnector was created at.
13426
13666
  # Corresponds to the JSON property `createTime`
13427
13667
  # @return [String]
@@ -13604,6 +13844,7 @@ module Google
13604
13844
  @blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
13605
13845
  @connector_modes = args[:connector_modes] if args.key?(:connector_modes)
13606
13846
  @connector_type = args[:connector_type] if args.key?(:connector_type)
13847
+ @create_eua_saas = args[:create_eua_saas] if args.key?(:create_eua_saas)
13607
13848
  @create_time = args[:create_time] if args.key?(:create_time)
13608
13849
  @data_source = args[:data_source] if args.key?(:data_source)
13609
13850
  @destination_configs = args[:destination_configs] if args.key?(:destination_configs)
@@ -17955,6 +18196,14 @@ module Google
17955
18196
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec]
17956
18197
  attr_accessor :boost_spec
17957
18198
 
18199
+ # Optional. Custom search operators which if specified will be used to filter
18200
+ # results from workspace data stores. For more information on custom search
18201
+ # operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/
18202
+ # 6172299).
18203
+ # Corresponds to the JSON property `customSearchOperators`
18204
+ # @return [String]
18205
+ attr_accessor :custom_search_operators
18206
+
17958
18207
  # Required. Full resource name of DataStore, such as `projects/`project`/
17959
18208
  # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
17960
18209
  # Corresponds to the JSON property `dataStore`
@@ -17975,6 +18224,7 @@ module Google
17975
18224
  # Update properties of this object
17976
18225
  def update!(**args)
17977
18226
  @boost_spec = args[:boost_spec] if args.key?(:boost_spec)
18227
+ @custom_search_operators = args[:custom_search_operators] if args.key?(:custom_search_operators)
17978
18228
  @data_store = args[:data_store] if args.key?(:data_store)
17979
18229
  @filter = args[:filter] if args.key?(:filter)
17980
18230
  end
@@ -19094,6 +19344,79 @@ module Google
19094
19344
  end
19095
19345
  end
19096
19346
 
19347
+ # User License information assigned by the admin.
19348
+ class GoogleCloudDiscoveryengineV1alphaUserLicense
19349
+ include Google::Apis::Core::Hashable
19350
+
19351
+ # Output only. User created timestamp.
19352
+ # Corresponds to the JSON property `createTime`
19353
+ # @return [String]
19354
+ attr_accessor :create_time
19355
+
19356
+ # Output only. User last logged in time. If the user has not logged in yet, this
19357
+ # field will be empty.
19358
+ # Corresponds to the JSON property `lastLoginTime`
19359
+ # @return [String]
19360
+ attr_accessor :last_login_time
19361
+
19362
+ # Output only. License assignment state of the user. If the user is assigned
19363
+ # with a license config, the user loggin will be assigned with the license; If
19364
+ # the user's license assignment state is unassigned or unspecified, no license
19365
+ # config will be associated to the user;
19366
+ # Corresponds to the JSON property `licenseAssignmentState`
19367
+ # @return [String]
19368
+ attr_accessor :license_assignment_state
19369
+
19370
+ # Optional. The full resource name of the Subscription(LicenseConfig) assigned
19371
+ # to the user.
19372
+ # Corresponds to the JSON property `licenseConfig`
19373
+ # @return [String]
19374
+ attr_accessor :license_config
19375
+
19376
+ # Output only. User update timestamp.
19377
+ # Corresponds to the JSON property `updateTime`
19378
+ # @return [String]
19379
+ attr_accessor :update_time
19380
+
19381
+ # Optional. The full resource name of the User, in the format of `projects/`
19382
+ # project`/locations/`location`/userStores/`user_store`/users/`user_id``. This
19383
+ # field must be a UTF-8 encoded string with a length limit of 2048 characters.
19384
+ # If the user field is empty, it's indicating the user has not logged in yet and
19385
+ # no User entity is created.
19386
+ # Corresponds to the JSON property `user`
19387
+ # @return [String]
19388
+ attr_accessor :user
19389
+
19390
+ # Required. Immutable. The user principal of the User, could be email address or
19391
+ # other prinical identifier. This field is immutable. Admin assign licenses
19392
+ # based on the user principal.
19393
+ # Corresponds to the JSON property `userPrincipal`
19394
+ # @return [String]
19395
+ attr_accessor :user_principal
19396
+
19397
+ # Optional. The user profile. We user user full name(First name + Last name) as
19398
+ # user profile.
19399
+ # Corresponds to the JSON property `userProfile`
19400
+ # @return [String]
19401
+ attr_accessor :user_profile
19402
+
19403
+ def initialize(**args)
19404
+ update!(**args)
19405
+ end
19406
+
19407
+ # Update properties of this object
19408
+ def update!(**args)
19409
+ @create_time = args[:create_time] if args.key?(:create_time)
19410
+ @last_login_time = args[:last_login_time] if args.key?(:last_login_time)
19411
+ @license_assignment_state = args[:license_assignment_state] if args.key?(:license_assignment_state)
19412
+ @license_config = args[:license_config] if args.key?(:license_config)
19413
+ @update_time = args[:update_time] if args.key?(:update_time)
19414
+ @user = args[:user] if args.key?(:user)
19415
+ @user_principal = args[:user_principal] if args.key?(:user_principal)
19416
+ @user_profile = args[:user_profile] if args.key?(:user_profile)
19417
+ end
19418
+ end
19419
+
19097
19420
  # Config to store data store type configuration for workspace data
19098
19421
  class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig
19099
19422
  include Google::Apis::Core::Hashable
@@ -23086,6 +23409,14 @@ module Google
23086
23409
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec]
23087
23410
  attr_accessor :boost_spec
23088
23411
 
23412
+ # Optional. Custom search operators which if specified will be used to filter
23413
+ # results from workspace data stores. For more information on custom search
23414
+ # operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/
23415
+ # 6172299).
23416
+ # Corresponds to the JSON property `customSearchOperators`
23417
+ # @return [String]
23418
+ attr_accessor :custom_search_operators
23419
+
23089
23420
  # Required. Full resource name of DataStore, such as `projects/`project`/
23090
23421
  # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
23091
23422
  # Corresponds to the JSON property `dataStore`
@@ -23106,6 +23437,7 @@ module Google
23106
23437
  # Update properties of this object
23107
23438
  def update!(**args)
23108
23439
  @boost_spec = args[:boost_spec] if args.key?(:boost_spec)
23440
+ @custom_search_operators = args[:custom_search_operators] if args.key?(:custom_search_operators)
23109
23441
  @data_store = args[:data_store] if args.key?(:data_store)
23110
23442
  @filter = args[:filter] if args.key?(:filter)
23111
23443
  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.34.0"
19
+ GEM_VERSION = "0.36.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 = "20250508"
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
@@ -8697,6 +8804,7 @@ module Google
8697
8804
  class Representation < Google::Apis::Core::JsonRepresentation
8698
8805
  property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec::Representation
8699
8806
 
8807
+ property :custom_search_operators, as: 'customSearchOperators'
8700
8808
  property :data_store, as: 'dataStore'
8701
8809
  property :filter, as: 'filter'
8702
8810
  end
@@ -9013,6 +9121,20 @@ module Google
9013
9121
  end
9014
9122
  end
9015
9123
 
9124
+ class GoogleCloudDiscoveryengineV1alphaUserLicense
9125
+ # @private
9126
+ class Representation < Google::Apis::Core::JsonRepresentation
9127
+ property :create_time, as: 'createTime'
9128
+ property :last_login_time, as: 'lastLoginTime'
9129
+ property :license_assignment_state, as: 'licenseAssignmentState'
9130
+ property :license_config, as: 'licenseConfig'
9131
+ property :update_time, as: 'updateTime'
9132
+ property :user, as: 'user'
9133
+ property :user_principal, as: 'userPrincipal'
9134
+ property :user_profile, as: 'userProfile'
9135
+ end
9136
+ end
9137
+
9016
9138
  class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig
9017
9139
  # @private
9018
9140
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10080,6 +10202,7 @@ module Google
10080
10202
  class Representation < Google::Apis::Core::JsonRepresentation
10081
10203
  property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec::Representation
10082
10204
 
10205
+ property :custom_search_operators, as: 'customSearchOperators'
10083
10206
  property :data_store, as: 'dataStore'
10084
10207
  property :filter, as: 'filter'
10085
10208
  end
@@ -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,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.0
4
+ version: 0.36.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.34.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.36.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:
@@ -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 V1
79
79
  test_files: []