google-apis-discoveryengine_v1 0.55.0 → 0.56.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: 5919b26d5fb5299bd66003342263cdfecfa31e72a600deb26791e75c8a1055a7
4
- data.tar.gz: 4f0398e8353411fc18ca5949c8a4ce5f47b7f2ca86d2f0c1285eccdf61e9a7a7
3
+ metadata.gz: 9f1ffdd63ab9e630a5134585ad0b2ec5375adcdc25e9a49d0eb63db510273e56
4
+ data.tar.gz: c88fa7487735895194d91356cb1873e52e10ed1b36d58aee919e50fcd60fa4ae
5
5
  SHA512:
6
- metadata.gz: 3cc5a79fdf691dce78a740ede4f69409e741f1a886b8e6eac71f2528c9af87d6a1e1316eabaa889e8aa342d52b7e9daf4ef076ebad88c71ac70ce8ead136a386
7
- data.tar.gz: 641ccde092825df8eca367ad1f70086063f8e5fdfd3c64614b525ca33a0c2c7c82c254c99d80762eedc92615f59bb823ca68faaa4a77bca5de1bd333ca148f37
6
+ metadata.gz: 5adf8c87ba4b07a3095f064ae0db8879210cb430da5cdeb3469998d577ec0e71864bc9c429599f4b7b5eddefb2e297072e4db34378afc58a58d8d31532f36713
7
+ data.tar.gz: 02c03377891375ff9ae125639d2e09c326de6795c27030e47432d97fe83390d28053af987de0989d0c1b75071fc7ba040e377ccdeac5aab976f4cf86f451e0c6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1
2
2
 
3
+ ### v0.56.0 (2025-10-26)
4
+
5
+ * Regenerated from discovery document revision 20251020
6
+
3
7
  ### v0.55.0 (2025-10-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20251017
@@ -10743,6 +10743,13 @@ module Google
10743
10743
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
10744
10744
  attr_accessor :model_armor_config
10745
10745
 
10746
+ # Optional. Whether to disable the notebook sharing feature for the project.
10747
+ # Default to false if not specified.
10748
+ # Corresponds to the JSON property `optOutNotebookSharing`
10749
+ # @return [Boolean]
10750
+ attr_accessor :opt_out_notebook_sharing
10751
+ alias_method :opt_out_notebook_sharing?, :opt_out_notebook_sharing
10752
+
10746
10753
  def initialize(**args)
10747
10754
  update!(**args)
10748
10755
  end
@@ -10750,6 +10757,7 @@ module Google
10750
10757
  # Update properties of this object
10751
10758
  def update!(**args)
10752
10759
  @model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
10760
+ @opt_out_notebook_sharing = args[:opt_out_notebook_sharing] if args.key?(:opt_out_notebook_sharing)
10753
10761
  end
10754
10762
  end
10755
10763
 
@@ -15363,6 +15371,62 @@ module Google
15363
15371
  end
15364
15372
  end
15365
15373
 
15374
+ # Configures metadata that is used for End User entities.
15375
+ class GoogleCloudDiscoveryengineV1UserStore
15376
+ include Google::Apis::Core::Hashable
15377
+
15378
+ # Optional. The default subscription LicenseConfig for the UserStore, if
15379
+ # UserStore.enable_license_auto_register is true, new users will automatically
15380
+ # register under the default subscription. If default LicenseConfig doesn't have
15381
+ # remaining license seats left, new users will not be assigned with license and
15382
+ # will be blocked for Vertex AI Search features. This is used if `
15383
+ # license_assignment_tier_rules` is not configured.
15384
+ # Corresponds to the JSON property `defaultLicenseConfig`
15385
+ # @return [String]
15386
+ attr_accessor :default_license_config
15387
+
15388
+ # The display name of the User Store.
15389
+ # Corresponds to the JSON property `displayName`
15390
+ # @return [String]
15391
+ attr_accessor :display_name
15392
+
15393
+ # Optional. Whether to enable license auto update for users in this User Store.
15394
+ # If true, users with expired licenses will automatically be updated to use the
15395
+ # default license config as long as the default license config has seats left.
15396
+ # Corresponds to the JSON property `enableExpiredLicenseAutoUpdate`
15397
+ # @return [Boolean]
15398
+ attr_accessor :enable_expired_license_auto_update
15399
+ alias_method :enable_expired_license_auto_update?, :enable_expired_license_auto_update
15400
+
15401
+ # Optional. Whether to enable license auto register for users in this User Store.
15402
+ # If true, new users will automatically register under the default license
15403
+ # config as long as the default license config has seats left.
15404
+ # Corresponds to the JSON property `enableLicenseAutoRegister`
15405
+ # @return [Boolean]
15406
+ attr_accessor :enable_license_auto_register
15407
+ alias_method :enable_license_auto_register?, :enable_license_auto_register
15408
+
15409
+ # Immutable. The full resource name of the User Store, in the format of `
15410
+ # projects/`project`/locations/`location`/userStores/`user_store``. This field
15411
+ # must be a UTF-8 encoded string with a length limit of 1024 characters.
15412
+ # Corresponds to the JSON property `name`
15413
+ # @return [String]
15414
+ attr_accessor :name
15415
+
15416
+ def initialize(**args)
15417
+ update!(**args)
15418
+ end
15419
+
15420
+ # Update properties of this object
15421
+ def update!(**args)
15422
+ @default_license_config = args[:default_license_config] if args.key?(:default_license_config)
15423
+ @display_name = args[:display_name] if args.key?(:display_name)
15424
+ @enable_expired_license_auto_update = args[:enable_expired_license_auto_update] if args.key?(:enable_expired_license_auto_update)
15425
+ @enable_license_auto_register = args[:enable_license_auto_register] if args.key?(:enable_license_auto_register)
15426
+ @name = args[:name] if args.key?(:name)
15427
+ end
15428
+ end
15429
+
15366
15430
  # Config to store data store type configuration for workspace data
15367
15431
  class GoogleCloudDiscoveryengineV1WorkspaceConfig
15368
15432
  include Google::Apis::Core::Hashable
@@ -19097,6 +19161,35 @@ module Google
19097
19161
  end
19098
19162
  end
19099
19163
 
19164
+ # Metadata related to the progress of the UserStoreService.DeleteUserStore
19165
+ # operation. This will be returned by the google.longrunning.Operation.metadata
19166
+ # field. Delete UserStore will delete all the end users under the user store,
19167
+ # return the number of end users successfully deleted or failed to delete in the
19168
+ # metadata.
19169
+ class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata
19170
+ include Google::Apis::Core::Hashable
19171
+
19172
+ # The number of end users under the user store that failed to be deleted.
19173
+ # Corresponds to the JSON property `failureCount`
19174
+ # @return [Fixnum]
19175
+ attr_accessor :failure_count
19176
+
19177
+ # The number of end users under the user store that were successfully deleted.
19178
+ # Corresponds to the JSON property `successCount`
19179
+ # @return [Fixnum]
19180
+ attr_accessor :success_count
19181
+
19182
+ def initialize(**args)
19183
+ update!(**args)
19184
+ end
19185
+
19186
+ # Update properties of this object
19187
+ def update!(**args)
19188
+ @failure_count = args[:failure_count] if args.key?(:failure_count)
19189
+ @success_count = args[:success_count] if args.key?(:success_count)
19190
+ end
19191
+ end
19192
+
19100
19193
  # Defines target endpoints used to connect to third-party sources.
19101
19194
  class GoogleCloudDiscoveryengineV1alphaDestinationConfig
19102
19195
  include Google::Apis::Core::Hashable
@@ -21363,6 +21456,13 @@ module Google
21363
21456
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
21364
21457
  attr_accessor :model_armor_config
21365
21458
 
21459
+ # Optional. Whether to disable the notebook sharing feature for the project.
21460
+ # Default to false if not specified.
21461
+ # Corresponds to the JSON property `optOutNotebookSharing`
21462
+ # @return [Boolean]
21463
+ attr_accessor :opt_out_notebook_sharing
21464
+ alias_method :opt_out_notebook_sharing?, :opt_out_notebook_sharing
21465
+
21366
21466
  def initialize(**args)
21367
21467
  update!(**args)
21368
21468
  end
@@ -21370,6 +21470,7 @@ module Google
21370
21470
  # Update properties of this object
21371
21471
  def update!(**args)
21372
21472
  @model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
21473
+ @opt_out_notebook_sharing = args[:opt_out_notebook_sharing] if args.key?(:opt_out_notebook_sharing)
21373
21474
  end
21374
21475
  end
21375
21476
 
@@ -27448,6 +27549,13 @@ module Google
27448
27549
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
27449
27550
  attr_accessor :model_armor_config
27450
27551
 
27552
+ # Optional. Whether to disable the notebook sharing feature for the project.
27553
+ # Default to false if not specified.
27554
+ # Corresponds to the JSON property `optOutNotebookSharing`
27555
+ # @return [Boolean]
27556
+ attr_accessor :opt_out_notebook_sharing
27557
+ alias_method :opt_out_notebook_sharing?, :opt_out_notebook_sharing
27558
+
27451
27559
  def initialize(**args)
27452
27560
  update!(**args)
27453
27561
  end
@@ -27455,6 +27563,7 @@ module Google
27455
27563
  # Update properties of this object
27456
27564
  def update!(**args)
27457
27565
  @model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
27566
+ @opt_out_notebook_sharing = args[:opt_out_notebook_sharing] if args.key?(:opt_out_notebook_sharing)
27458
27567
  end
27459
27568
  end
27460
27569
 
@@ -29853,6 +29962,62 @@ module Google
29853
29962
  end
29854
29963
  end
29855
29964
 
29965
+ # Configures metadata that is used for End User entities.
29966
+ class GoogleCloudDiscoveryengineV1betaUserStore
29967
+ include Google::Apis::Core::Hashable
29968
+
29969
+ # Optional. The default subscription LicenseConfig for the UserStore, if
29970
+ # UserStore.enable_license_auto_register is true, new users will automatically
29971
+ # register under the default subscription. If default LicenseConfig doesn't have
29972
+ # remaining license seats left, new users will not be assigned with license and
29973
+ # will be blocked for Vertex AI Search features. This is used if `
29974
+ # license_assignment_tier_rules` is not configured.
29975
+ # Corresponds to the JSON property `defaultLicenseConfig`
29976
+ # @return [String]
29977
+ attr_accessor :default_license_config
29978
+
29979
+ # The display name of the User Store.
29980
+ # Corresponds to the JSON property `displayName`
29981
+ # @return [String]
29982
+ attr_accessor :display_name
29983
+
29984
+ # Optional. Whether to enable license auto update for users in this User Store.
29985
+ # If true, users with expired licenses will automatically be updated to use the
29986
+ # default license config as long as the default license config has seats left.
29987
+ # Corresponds to the JSON property `enableExpiredLicenseAutoUpdate`
29988
+ # @return [Boolean]
29989
+ attr_accessor :enable_expired_license_auto_update
29990
+ alias_method :enable_expired_license_auto_update?, :enable_expired_license_auto_update
29991
+
29992
+ # Optional. Whether to enable license auto register for users in this User Store.
29993
+ # If true, new users will automatically register under the default license
29994
+ # config as long as the default license config has seats left.
29995
+ # Corresponds to the JSON property `enableLicenseAutoRegister`
29996
+ # @return [Boolean]
29997
+ attr_accessor :enable_license_auto_register
29998
+ alias_method :enable_license_auto_register?, :enable_license_auto_register
29999
+
30000
+ # Immutable. The full resource name of the User Store, in the format of `
30001
+ # projects/`project`/locations/`location`/userStores/`user_store``. This field
30002
+ # must be a UTF-8 encoded string with a length limit of 1024 characters.
30003
+ # Corresponds to the JSON property `name`
30004
+ # @return [String]
30005
+ attr_accessor :name
30006
+
30007
+ def initialize(**args)
30008
+ update!(**args)
30009
+ end
30010
+
30011
+ # Update properties of this object
30012
+ def update!(**args)
30013
+ @default_license_config = args[:default_license_config] if args.key?(:default_license_config)
30014
+ @display_name = args[:display_name] if args.key?(:display_name)
30015
+ @enable_expired_license_auto_update = args[:enable_expired_license_auto_update] if args.key?(:enable_expired_license_auto_update)
30016
+ @enable_license_auto_register = args[:enable_license_auto_register] if args.key?(:enable_license_auto_register)
30017
+ @name = args[:name] if args.key?(:name)
30018
+ end
30019
+ end
30020
+
29856
30021
  # Config to store data store type configuration for workspace data
29857
30022
  class GoogleCloudDiscoveryengineV1betaWorkspaceConfig
29858
30023
  include Google::Apis::Core::Hashable
@@ -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.55.0"
19
+ GEM_VERSION = "0.56.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251017"
25
+ REVISION = "20251020"
26
26
  end
27
27
  end
28
28
  end
@@ -2386,6 +2386,12 @@ module Google
2386
2386
  include Google::Apis::Core::JsonObjectSupport
2387
2387
  end
2388
2388
 
2389
+ class GoogleCloudDiscoveryengineV1UserStore
2390
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2391
+
2392
+ include Google::Apis::Core::JsonObjectSupport
2393
+ end
2394
+
2389
2395
  class GoogleCloudDiscoveryengineV1WorkspaceConfig
2390
2396
  class Representation < Google::Apis::Core::JsonRepresentation; end
2391
2397
 
@@ -2962,6 +2968,12 @@ module Google
2962
2968
  include Google::Apis::Core::JsonObjectSupport
2963
2969
  end
2964
2970
 
2971
+ class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata
2972
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2973
+
2974
+ include Google::Apis::Core::JsonObjectSupport
2975
+ end
2976
+
2965
2977
  class GoogleCloudDiscoveryengineV1alphaDestinationConfig
2966
2978
  class Representation < Google::Apis::Core::JsonRepresentation; end
2967
2979
 
@@ -4660,6 +4672,12 @@ module Google
4660
4672
  include Google::Apis::Core::JsonObjectSupport
4661
4673
  end
4662
4674
 
4675
+ class GoogleCloudDiscoveryengineV1betaUserStore
4676
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4677
+
4678
+ include Google::Apis::Core::JsonObjectSupport
4679
+ end
4680
+
4663
4681
  class GoogleCloudDiscoveryengineV1betaWorkspaceConfig
4664
4682
  class Representation < Google::Apis::Core::JsonRepresentation; end
4665
4683
 
@@ -7676,6 +7694,7 @@ module Google
7676
7694
  class Representation < Google::Apis::Core::JsonRepresentation
7677
7695
  property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig::Representation
7678
7696
 
7697
+ property :opt_out_notebook_sharing, as: 'optOutNotebookSharing'
7679
7698
  end
7680
7699
  end
7681
7700
 
@@ -8819,6 +8838,17 @@ module Google
8819
8838
  end
8820
8839
  end
8821
8840
 
8841
+ class GoogleCloudDiscoveryengineV1UserStore
8842
+ # @private
8843
+ class Representation < Google::Apis::Core::JsonRepresentation
8844
+ property :default_license_config, as: 'defaultLicenseConfig'
8845
+ property :display_name, as: 'displayName'
8846
+ property :enable_expired_license_auto_update, as: 'enableExpiredLicenseAutoUpdate'
8847
+ property :enable_license_auto_register, as: 'enableLicenseAutoRegister'
8848
+ property :name, as: 'name'
8849
+ end
8850
+ end
8851
+
8822
8852
  class GoogleCloudDiscoveryengineV1WorkspaceConfig
8823
8853
  # @private
8824
8854
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9850,6 +9880,14 @@ module Google
9850
9880
  end
9851
9881
  end
9852
9882
 
9883
+ class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata
9884
+ # @private
9885
+ class Representation < Google::Apis::Core::JsonRepresentation
9886
+ property :failure_count, :numeric_string => true, as: 'failureCount'
9887
+ property :success_count, :numeric_string => true, as: 'successCount'
9888
+ end
9889
+ end
9890
+
9853
9891
  class GoogleCloudDiscoveryengineV1alphaDestinationConfig
9854
9892
  # @private
9855
9893
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10472,6 +10510,7 @@ module Google
10472
10510
  class Representation < Google::Apis::Core::JsonRepresentation
10473
10511
  property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig::Representation
10474
10512
 
10513
+ property :opt_out_notebook_sharing, as: 'optOutNotebookSharing'
10475
10514
  end
10476
10515
  end
10477
10516
 
@@ -12093,6 +12132,7 @@ module Google
12093
12132
  class Representation < Google::Apis::Core::JsonRepresentation
12094
12133
  property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig::Representation
12095
12134
 
12135
+ property :opt_out_notebook_sharing, as: 'optOutNotebookSharing'
12096
12136
  end
12097
12137
  end
12098
12138
 
@@ -12675,6 +12715,17 @@ module Google
12675
12715
  end
12676
12716
  end
12677
12717
 
12718
+ class GoogleCloudDiscoveryengineV1betaUserStore
12719
+ # @private
12720
+ class Representation < Google::Apis::Core::JsonRepresentation
12721
+ property :default_license_config, as: 'defaultLicenseConfig'
12722
+ property :display_name, as: 'displayName'
12723
+ property :enable_expired_license_auto_update, as: 'enableExpiredLicenseAutoUpdate'
12724
+ property :enable_license_auto_register, as: 'enableLicenseAutoRegister'
12725
+ property :name, as: 'name'
12726
+ end
12727
+ end
12728
+
12678
12729
  class GoogleCloudDiscoveryengineV1betaWorkspaceConfig
12679
12730
  # @private
12680
12731
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8817,6 +8817,145 @@ module Google
8817
8817
  execute_or_queue_command(command, &block)
8818
8818
  end
8819
8819
 
8820
+ # Creates a new User Store.
8821
+ # @param [String] parent
8822
+ # Required. The parent collection resource name, such as `projects/`project`/
8823
+ # locations/`location``.
8824
+ # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore] google_cloud_discoveryengine_v1_user_store_object
8825
+ # @param [String] user_store_id
8826
+ # Required. The ID of the User Store to create. The ID must contain only letters
8827
+ # (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum
8828
+ # length is 63 characters.
8829
+ # @param [String] fields
8830
+ # Selector specifying which fields to include in a partial response.
8831
+ # @param [String] quota_user
8832
+ # Available to use for quota purposes for server-side applications. Can be any
8833
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8834
+ # @param [Google::Apis::RequestOptions] options
8835
+ # Request-specific options
8836
+ #
8837
+ # @yield [result, err] Result & error if block supplied
8838
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore] parsed result object
8839
+ # @yieldparam err [StandardError] error object if request failed
8840
+ #
8841
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore]
8842
+ #
8843
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8844
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8845
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8846
+ def create_project_location_user_store(parent, google_cloud_discoveryengine_v1_user_store_object = nil, user_store_id: nil, fields: nil, quota_user: nil, options: nil, &block)
8847
+ command = make_simple_command(:post, 'v1/{+parent}/userStores', options)
8848
+ command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore::Representation
8849
+ command.request_object = google_cloud_discoveryengine_v1_user_store_object
8850
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore::Representation
8851
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore
8852
+ command.params['parent'] = parent unless parent.nil?
8853
+ command.query['userStoreId'] = user_store_id unless user_store_id.nil?
8854
+ command.query['fields'] = fields unless fields.nil?
8855
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8856
+ execute_or_queue_command(command, &block)
8857
+ end
8858
+
8859
+ # Deletes the User Store.
8860
+ # @param [String] name
8861
+ # Required. The name of the User Store to delete. Format: `projects/`project`/
8862
+ # locations/`location`/userStores/`user_store_id``
8863
+ # @param [String] fields
8864
+ # Selector specifying which fields to include in a partial response.
8865
+ # @param [String] quota_user
8866
+ # Available to use for quota purposes for server-side applications. Can be any
8867
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8868
+ # @param [Google::Apis::RequestOptions] options
8869
+ # Request-specific options
8870
+ #
8871
+ # @yield [result, err] Result & error if block supplied
8872
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation] parsed result object
8873
+ # @yieldparam err [StandardError] error object if request failed
8874
+ #
8875
+ # @return [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation]
8876
+ #
8877
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8878
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8879
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8880
+ def delete_project_location_user_store(name, fields: nil, quota_user: nil, options: nil, &block)
8881
+ command = make_simple_command(:delete, 'v1/{+name}', options)
8882
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation::Representation
8883
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation
8884
+ command.params['name'] = name unless name.nil?
8885
+ command.query['fields'] = fields unless fields.nil?
8886
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8887
+ execute_or_queue_command(command, &block)
8888
+ end
8889
+
8890
+ # Gets the User Store.
8891
+ # @param [String] name
8892
+ # Required. The name of the User Store to get. Format: `projects/`project`/
8893
+ # locations/`location`/userStores/`user_store_id``
8894
+ # @param [String] fields
8895
+ # Selector specifying which fields to include in a partial response.
8896
+ # @param [String] quota_user
8897
+ # Available to use for quota purposes for server-side applications. Can be any
8898
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8899
+ # @param [Google::Apis::RequestOptions] options
8900
+ # Request-specific options
8901
+ #
8902
+ # @yield [result, err] Result & error if block supplied
8903
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore] parsed result object
8904
+ # @yieldparam err [StandardError] error object if request failed
8905
+ #
8906
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore]
8907
+ #
8908
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8909
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8910
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8911
+ def get_project_location_user_store(name, fields: nil, quota_user: nil, options: nil, &block)
8912
+ command = make_simple_command(:get, 'v1/{+name}', options)
8913
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore::Representation
8914
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore
8915
+ command.params['name'] = name unless name.nil?
8916
+ command.query['fields'] = fields unless fields.nil?
8917
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8918
+ execute_or_queue_command(command, &block)
8919
+ end
8920
+
8921
+ # Updates the User Store.
8922
+ # @param [String] name
8923
+ # Immutable. The full resource name of the User Store, in the format of `
8924
+ # projects/`project`/locations/`location`/userStores/`user_store``. This field
8925
+ # must be a UTF-8 encoded string with a length limit of 1024 characters.
8926
+ # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore] google_cloud_discoveryengine_v1_user_store_object
8927
+ # @param [String] update_mask
8928
+ # Optional. The list of fields to update.
8929
+ # @param [String] fields
8930
+ # Selector specifying which fields to include in a partial response.
8931
+ # @param [String] quota_user
8932
+ # Available to use for quota purposes for server-side applications. Can be any
8933
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8934
+ # @param [Google::Apis::RequestOptions] options
8935
+ # Request-specific options
8936
+ #
8937
+ # @yield [result, err] Result & error if block supplied
8938
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore] parsed result object
8939
+ # @yieldparam err [StandardError] error object if request failed
8940
+ #
8941
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore]
8942
+ #
8943
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8944
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8945
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8946
+ def patch_project_location_user_store(name, google_cloud_discoveryengine_v1_user_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
8947
+ command = make_simple_command(:patch, 'v1/{+name}', options)
8948
+ command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore::Representation
8949
+ command.request_object = google_cloud_discoveryengine_v1_user_store_object
8950
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore::Representation
8951
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore
8952
+ command.params['name'] = name unless name.nil?
8953
+ command.query['updateMask'] = update_mask unless update_mask.nil?
8954
+ command.query['fields'] = fields unless fields.nil?
8955
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8956
+ execute_or_queue_command(command, &block)
8957
+ end
8958
+
8820
8959
  # Lists the User Licenses.
8821
8960
  # @param [String] parent
8822
8961
  # Required. The parent UserStore resource name, format: `projects/`project`/
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.55.0
4
+ version: 0.56.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.55.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.56.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: