diff --git a/api_names_out.yaml b/api_names_out.yaml index dfd53947380..51344b62481 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -209387,6 +209387,7 @@ "/discoveryengine:v1/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig/notebooklmConfig": notebooklm_config "/discoveryengine:v1/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig": google_cloud_discoveryengine_v1_project_customer_provided_config_notebooklm_config "/discoveryengine:v1/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig/modelArmorConfig": model_armor_config +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig/optOutNotebookSharing": opt_out_notebook_sharing "/discoveryengine:v1/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig": google_cloud_discoveryengine_v1_project_customer_provided_config_notebooklm_config_model_armor_config "/discoveryengine:v1/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig/responseTemplate": response_template "/discoveryengine:v1/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig/userPromptTemplate": user_prompt_template @@ -209961,6 +209962,12 @@ "/discoveryengine:v1/GoogleCloudDiscoveryengineV1UserLicense/user": user "/discoveryengine:v1/GoogleCloudDiscoveryengineV1UserLicense/userPrincipal": user_principal "/discoveryengine:v1/GoogleCloudDiscoveryengineV1UserLicense/userProfile": user_profile +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1UserStore": google_cloud_discoveryengine_v1_user_store +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1UserStore/defaultLicenseConfig": default_license_config +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1UserStore/displayName": display_name +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1UserStore/enableExpiredLicenseAutoUpdate": enable_expired_license_auto_update +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1UserStore/enableLicenseAutoRegister": enable_license_auto_register +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1UserStore/name": name "/discoveryengine:v1/GoogleCloudDiscoveryengineV1WorkspaceConfig": google_cloud_discoveryengine_v1_workspace_config "/discoveryengine:v1/GoogleCloudDiscoveryengineV1WorkspaceConfig/dasherCustomerId": dasher_customer_id "/discoveryengine:v1/GoogleCloudDiscoveryengineV1WorkspaceConfig/superAdminEmailAddress": super_admin_email_address @@ -210507,6 +210514,9 @@ "/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata": google_cloud_discoveryengine_v1alpha_delete_target_site_metadata "/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata/createTime": create_time "/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata/updateTime": update_time +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata": google_cloud_discoveryengine_v1alpha_delete_user_store_metadata +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata/failureCount": failure_count +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata/successCount": success_count "/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDestinationConfig": google_cloud_discoveryengine_v1alpha_destination_config "/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDestinationConfig/destinations": destinations "/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDestinationConfig/destinations/destination": destination @@ -210824,6 +210834,7 @@ "/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig/notebooklmConfig": notebooklm_config "/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig": google_cloud_discoveryengine_v1alpha_project_customer_provided_config_notebooklm_config "/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig/modelArmorConfig": model_armor_config +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig/optOutNotebookSharing": opt_out_notebook_sharing "/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig": google_cloud_discoveryengine_v1alpha_project_customer_provided_config_notebooklm_config_model_armor_config ? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig/responseTemplate" : response_template @@ -211632,6 +211643,7 @@ "/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig/notebooklmConfig": notebooklm_config "/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig": google_cloud_discoveryengine_v1beta_project_customer_provided_config_notebooklm_config "/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig/modelArmorConfig": model_armor_config +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig/optOutNotebookSharing": opt_out_notebook_sharing "/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig": google_cloud_discoveryengine_v1beta_project_customer_provided_config_notebooklm_config_model_armor_config ? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig/responseTemplate" : response_template @@ -211915,6 +211927,12 @@ "/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaUserLicense/updateTime": update_time "/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaUserLicense/userPrincipal": user_principal "/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaUserLicense/userProfile": user_profile +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaUserStore": google_cloud_discoveryengine_v1beta_user_store +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaUserStore/defaultLicenseConfig": default_license_config +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaUserStore/displayName": display_name +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaUserStore/enableExpiredLicenseAutoUpdate": enable_expired_license_auto_update +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaUserStore/enableLicenseAutoRegister": enable_license_auto_register +"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaUserStore/name": name "/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaWorkspaceConfig": google_cloud_discoveryengine_v1beta_workspace_config "/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaWorkspaceConfig/dasherCustomerId": dasher_customer_id "/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaWorkspaceConfig/superAdminEmailAddress": super_admin_email_address @@ -212653,6 +212671,16 @@ "/discoveryengine:v1/discoveryengine.projects.locations.userEvents.write/writeAsync": write_async "/discoveryengine:v1/discoveryengine.projects.locations.userStores.batchUpdateUserLicenses": batch_project_location_user_store_update_user_licenses "/discoveryengine:v1/discoveryengine.projects.locations.userStores.batchUpdateUserLicenses/parent": parent +"/discoveryengine:v1/discoveryengine.projects.locations.userStores.create": create_project_location_user_store +"/discoveryengine:v1/discoveryengine.projects.locations.userStores.create/parent": parent +"/discoveryengine:v1/discoveryengine.projects.locations.userStores.create/userStoreId": user_store_id +"/discoveryengine:v1/discoveryengine.projects.locations.userStores.delete": delete_project_location_user_store +"/discoveryengine:v1/discoveryengine.projects.locations.userStores.delete/name": name +"/discoveryengine:v1/discoveryengine.projects.locations.userStores.get": get_project_location_user_store +"/discoveryengine:v1/discoveryengine.projects.locations.userStores.get/name": name +"/discoveryengine:v1/discoveryengine.projects.locations.userStores.patch": patch_project_location_user_store +"/discoveryengine:v1/discoveryengine.projects.locations.userStores.patch/name": name +"/discoveryengine:v1/discoveryengine.projects.locations.userStores.patch/updateMask": update_mask "/discoveryengine:v1/discoveryengine.projects.locations.userStores.userLicenses.list": list_project_location_user_store_user_licenses "/discoveryengine:v1/discoveryengine.projects.locations.userStores.userLicenses.list/filter": filter "/discoveryengine:v1/discoveryengine.projects.locations.userStores.userLicenses.list/pageSize": page_size diff --git a/generated/google-apis-discoveryengine_v1/CHANGELOG.md b/generated/google-apis-discoveryengine_v1/CHANGELOG.md index 90bc0666c84..feac16353fc 100644 --- a/generated/google-apis-discoveryengine_v1/CHANGELOG.md +++ b/generated/google-apis-discoveryengine_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-discoveryengine_v1 +### v0.56.0 (2025-10-26) + +* Regenerated from discovery document revision 20251020 + ### v0.55.0 (2025-10-19) * Regenerated from discovery document revision 20251017 diff --git a/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/classes.rb b/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/classes.rb index 62aad87c2b1..ba86bfae70a 100644 --- a/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/classes.rb +++ b/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/classes.rb @@ -10743,6 +10743,13 @@ class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig] attr_accessor :model_armor_config + # Optional. Whether to disable the notebook sharing feature for the project. + # Default to false if not specified. + # Corresponds to the JSON property `optOutNotebookSharing` + # @return [Boolean] + attr_accessor :opt_out_notebook_sharing + alias_method :opt_out_notebook_sharing?, :opt_out_notebook_sharing + def initialize(**args) update!(**args) end @@ -10750,6 +10757,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config) + @opt_out_notebook_sharing = args[:opt_out_notebook_sharing] if args.key?(:opt_out_notebook_sharing) end end @@ -15363,6 +15371,62 @@ def update!(**args) end end + # Configures metadata that is used for End User entities. + class GoogleCloudDiscoveryengineV1UserStore + include Google::Apis::Core::Hashable + + # Optional. The default subscription LicenseConfig for the UserStore, if + # UserStore.enable_license_auto_register is true, new users will automatically + # register under the default subscription. If default LicenseConfig doesn't have + # remaining license seats left, new users will not be assigned with license and + # will be blocked for Vertex AI Search features. This is used if ` + # license_assignment_tier_rules` is not configured. + # Corresponds to the JSON property `defaultLicenseConfig` + # @return [String] + attr_accessor :default_license_config + + # The display name of the User Store. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Optional. Whether to enable license auto update for users in this User Store. + # If true, users with expired licenses will automatically be updated to use the + # default license config as long as the default license config has seats left. + # Corresponds to the JSON property `enableExpiredLicenseAutoUpdate` + # @return [Boolean] + attr_accessor :enable_expired_license_auto_update + alias_method :enable_expired_license_auto_update?, :enable_expired_license_auto_update + + # Optional. Whether to enable license auto register for users in this User Store. + # If true, new users will automatically register under the default license + # config as long as the default license config has seats left. + # Corresponds to the JSON property `enableLicenseAutoRegister` + # @return [Boolean] + attr_accessor :enable_license_auto_register + alias_method :enable_license_auto_register?, :enable_license_auto_register + + # Immutable. The full resource name of the User Store, in the format of ` + # projects/`project`/locations/`location`/userStores/`user_store``. This field + # must be a UTF-8 encoded string with a length limit of 1024 characters. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @default_license_config = args[:default_license_config] if args.key?(:default_license_config) + @display_name = args[:display_name] if args.key?(:display_name) + @enable_expired_license_auto_update = args[:enable_expired_license_auto_update] if args.key?(:enable_expired_license_auto_update) + @enable_license_auto_register = args[:enable_license_auto_register] if args.key?(:enable_license_auto_register) + @name = args[:name] if args.key?(:name) + end + end + # Config to store data store type configuration for workspace data class GoogleCloudDiscoveryengineV1WorkspaceConfig include Google::Apis::Core::Hashable @@ -19097,6 +19161,35 @@ def update!(**args) end end + # Metadata related to the progress of the UserStoreService.DeleteUserStore + # operation. This will be returned by the google.longrunning.Operation.metadata + # field. Delete UserStore will delete all the end users under the user store, + # return the number of end users successfully deleted or failed to delete in the + # metadata. + class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata + include Google::Apis::Core::Hashable + + # The number of end users under the user store that failed to be deleted. + # Corresponds to the JSON property `failureCount` + # @return [Fixnum] + attr_accessor :failure_count + + # The number of end users under the user store that were successfully deleted. + # Corresponds to the JSON property `successCount` + # @return [Fixnum] + attr_accessor :success_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @failure_count = args[:failure_count] if args.key?(:failure_count) + @success_count = args[:success_count] if args.key?(:success_count) + end + end + # Defines target endpoints used to connect to third-party sources. class GoogleCloudDiscoveryengineV1alphaDestinationConfig include Google::Apis::Core::Hashable @@ -21363,6 +21456,13 @@ class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmCo # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig] attr_accessor :model_armor_config + # Optional. Whether to disable the notebook sharing feature for the project. + # Default to false if not specified. + # Corresponds to the JSON property `optOutNotebookSharing` + # @return [Boolean] + attr_accessor :opt_out_notebook_sharing + alias_method :opt_out_notebook_sharing?, :opt_out_notebook_sharing + def initialize(**args) update!(**args) end @@ -21370,6 +21470,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config) + @opt_out_notebook_sharing = args[:opt_out_notebook_sharing] if args.key?(:opt_out_notebook_sharing) end end @@ -27448,6 +27549,13 @@ class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmCon # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig] attr_accessor :model_armor_config + # Optional. Whether to disable the notebook sharing feature for the project. + # Default to false if not specified. + # Corresponds to the JSON property `optOutNotebookSharing` + # @return [Boolean] + attr_accessor :opt_out_notebook_sharing + alias_method :opt_out_notebook_sharing?, :opt_out_notebook_sharing + def initialize(**args) update!(**args) end @@ -27455,6 +27563,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config) + @opt_out_notebook_sharing = args[:opt_out_notebook_sharing] if args.key?(:opt_out_notebook_sharing) end end @@ -29853,6 +29962,62 @@ def update!(**args) end end + # Configures metadata that is used for End User entities. + class GoogleCloudDiscoveryengineV1betaUserStore + include Google::Apis::Core::Hashable + + # Optional. The default subscription LicenseConfig for the UserStore, if + # UserStore.enable_license_auto_register is true, new users will automatically + # register under the default subscription. If default LicenseConfig doesn't have + # remaining license seats left, new users will not be assigned with license and + # will be blocked for Vertex AI Search features. This is used if ` + # license_assignment_tier_rules` is not configured. + # Corresponds to the JSON property `defaultLicenseConfig` + # @return [String] + attr_accessor :default_license_config + + # The display name of the User Store. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Optional. Whether to enable license auto update for users in this User Store. + # If true, users with expired licenses will automatically be updated to use the + # default license config as long as the default license config has seats left. + # Corresponds to the JSON property `enableExpiredLicenseAutoUpdate` + # @return [Boolean] + attr_accessor :enable_expired_license_auto_update + alias_method :enable_expired_license_auto_update?, :enable_expired_license_auto_update + + # Optional. Whether to enable license auto register for users in this User Store. + # If true, new users will automatically register under the default license + # config as long as the default license config has seats left. + # Corresponds to the JSON property `enableLicenseAutoRegister` + # @return [Boolean] + attr_accessor :enable_license_auto_register + alias_method :enable_license_auto_register?, :enable_license_auto_register + + # Immutable. The full resource name of the User Store, in the format of ` + # projects/`project`/locations/`location`/userStores/`user_store``. This field + # must be a UTF-8 encoded string with a length limit of 1024 characters. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @default_license_config = args[:default_license_config] if args.key?(:default_license_config) + @display_name = args[:display_name] if args.key?(:display_name) + @enable_expired_license_auto_update = args[:enable_expired_license_auto_update] if args.key?(:enable_expired_license_auto_update) + @enable_license_auto_register = args[:enable_license_auto_register] if args.key?(:enable_license_auto_register) + @name = args[:name] if args.key?(:name) + end + end + # Config to store data store type configuration for workspace data class GoogleCloudDiscoveryengineV1betaWorkspaceConfig include Google::Apis::Core::Hashable diff --git a/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/gem_version.rb b/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/gem_version.rb index 153da42304c..e4f2fe0cf00 100644 --- a/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/gem_version.rb +++ b/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module DiscoveryengineV1 # Version of the google-apis-discoveryengine_v1 gem - GEM_VERSION = "0.55.0" + GEM_VERSION = "0.56.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20251017" + REVISION = "20251020" end end end diff --git a/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/representations.rb b/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/representations.rb index 2b930264a9c..e5496fb5052 100644 --- a/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/representations.rb +++ b/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/representations.rb @@ -2386,6 +2386,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1UserStore + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1WorkspaceConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2962,6 +2968,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1alphaDestinationConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -4660,6 +4672,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1betaUserStore + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1betaWorkspaceConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -7676,6 +7694,7 @@ class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig class Representation < Google::Apis::Core::JsonRepresentation property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig::Representation + property :opt_out_notebook_sharing, as: 'optOutNotebookSharing' end end @@ -8819,6 +8838,17 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1UserStore + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :default_license_config, as: 'defaultLicenseConfig' + property :display_name, as: 'displayName' + property :enable_expired_license_auto_update, as: 'enableExpiredLicenseAutoUpdate' + property :enable_license_auto_register, as: 'enableLicenseAutoRegister' + property :name, as: 'name' + end + end + class GoogleCloudDiscoveryengineV1WorkspaceConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -9850,6 +9880,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :failure_count, :numeric_string => true, as: 'failureCount' + property :success_count, :numeric_string => true, as: 'successCount' + end + end + class GoogleCloudDiscoveryengineV1alphaDestinationConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -10472,6 +10510,7 @@ class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmCo class Representation < Google::Apis::Core::JsonRepresentation property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig::Representation + property :opt_out_notebook_sharing, as: 'optOutNotebookSharing' end end @@ -12093,6 +12132,7 @@ class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmCon class Representation < Google::Apis::Core::JsonRepresentation property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig::Representation + property :opt_out_notebook_sharing, as: 'optOutNotebookSharing' end end @@ -12675,6 +12715,17 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1betaUserStore + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :default_license_config, as: 'defaultLicenseConfig' + property :display_name, as: 'displayName' + property :enable_expired_license_auto_update, as: 'enableExpiredLicenseAutoUpdate' + property :enable_license_auto_register, as: 'enableLicenseAutoRegister' + property :name, as: 'name' + end + end + class GoogleCloudDiscoveryengineV1betaWorkspaceConfig # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/service.rb b/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/service.rb index 0db2a43ef5c..beadd7d53fe 100644 --- a/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/service.rb +++ b/generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/service.rb @@ -8817,6 +8817,145 @@ def batch_project_location_user_store_update_user_licenses(parent, google_cloud_ execute_or_queue_command(command, &block) end + # Creates a new User Store. + # @param [String] parent + # Required. The parent collection resource name, such as `projects/`project`/ + # locations/`location``. + # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore] google_cloud_discoveryengine_v1_user_store_object + # @param [String] user_store_id + # Required. The ID of the User Store to create. The ID must contain only letters + # (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum + # length is 63 characters. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + 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) + command = make_simple_command(:post, 'v1/{+parent}/userStores', options) + command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore::Representation + command.request_object = google_cloud_discoveryengine_v1_user_store_object + command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore::Representation + command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore + command.params['parent'] = parent unless parent.nil? + command.query['userStoreId'] = user_store_id unless user_store_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes the User Store. + # @param [String] name + # Required. The name of the User Store to delete. Format: `projects/`project`/ + # locations/`location`/userStores/`user_store_id`` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_location_user_store(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1/{+name}', options) + command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets the User Store. + # @param [String] name + # Required. The name of the User Store to get. Format: `projects/`project`/ + # locations/`location`/userStores/`user_store_id`` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_user_store(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore::Representation + command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates the User Store. + # @param [String] name + # Immutable. The full resource name of the User Store, in the format of ` + # projects/`project`/locations/`location`/userStores/`user_store``. This field + # must be a UTF-8 encoded string with a length limit of 1024 characters. + # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore] google_cloud_discoveryengine_v1_user_store_object + # @param [String] update_mask + # Optional. The list of fields to update. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + 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) + command = make_simple_command(:patch, 'v1/{+name}', options) + command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore::Representation + command.request_object = google_cloud_discoveryengine_v1_user_store_object + command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore::Representation + command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Lists the User Licenses. # @param [String] parent # Required. The parent UserStore resource name, format: `projects/`project`/