Skip to content

Commit 8144f2d

Browse files
feat: Automated regeneration of discoveryengine v1 client (#24731)
Auto-created at 2025-10-26 10:07:30 +0000 using the toys pull request generator.
1 parent 537b76b commit 8144f2d

File tree

6 files changed

+389
-2
lines changed

6 files changed

+389
-2
lines changed

api_names_out.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209847,6 +209847,7 @@
209847209847
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig/notebooklmConfig": notebooklm_config
209848209848
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig": google_cloud_discoveryengine_v1_project_customer_provided_config_notebooklm_config
209849209849
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig/modelArmorConfig": model_armor_config
209850+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig/optOutNotebookSharing": opt_out_notebook_sharing
209850209851
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig": google_cloud_discoveryengine_v1_project_customer_provided_config_notebooklm_config_model_armor_config
209851209852
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig/responseTemplate": response_template
209852209853
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig/userPromptTemplate": user_prompt_template
@@ -210421,6 +210422,12 @@
210421210422
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1UserLicense/user": user
210422210423
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1UserLicense/userPrincipal": user_principal
210423210424
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1UserLicense/userProfile": user_profile
210425+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1UserStore": google_cloud_discoveryengine_v1_user_store
210426+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1UserStore/defaultLicenseConfig": default_license_config
210427+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1UserStore/displayName": display_name
210428+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1UserStore/enableExpiredLicenseAutoUpdate": enable_expired_license_auto_update
210429+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1UserStore/enableLicenseAutoRegister": enable_license_auto_register
210430+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1UserStore/name": name
210424210431
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1WorkspaceConfig": google_cloud_discoveryengine_v1_workspace_config
210425210432
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1WorkspaceConfig/dasherCustomerId": dasher_customer_id
210426210433
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1WorkspaceConfig/superAdminEmailAddress": super_admin_email_address
@@ -210967,6 +210974,9 @@
210967210974
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata": google_cloud_discoveryengine_v1alpha_delete_target_site_metadata
210968210975
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata/createTime": create_time
210969210976
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDeleteTargetSiteMetadata/updateTime": update_time
210977+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata": google_cloud_discoveryengine_v1alpha_delete_user_store_metadata
210978+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata/failureCount": failure_count
210979+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata/successCount": success_count
210970210980
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDestinationConfig": google_cloud_discoveryengine_v1alpha_destination_config
210971210981
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDestinationConfig/destinations": destinations
210972210982
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDestinationConfig/destinations/destination": destination
@@ -211284,6 +211294,7 @@
211284211294
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig/notebooklmConfig": notebooklm_config
211285211295
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig": google_cloud_discoveryengine_v1alpha_project_customer_provided_config_notebooklm_config
211286211296
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig/modelArmorConfig": model_armor_config
211297+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig/optOutNotebookSharing": opt_out_notebook_sharing
211287211298
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig": google_cloud_discoveryengine_v1alpha_project_customer_provided_config_notebooklm_config_model_armor_config
211288211299
? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig/responseTemplate"
211289211300
: response_template
@@ -212092,6 +212103,7 @@
212092212103
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig/notebooklmConfig": notebooklm_config
212093212104
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig": google_cloud_discoveryengine_v1beta_project_customer_provided_config_notebooklm_config
212094212105
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig/modelArmorConfig": model_armor_config
212106+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig/optOutNotebookSharing": opt_out_notebook_sharing
212095212107
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig": google_cloud_discoveryengine_v1beta_project_customer_provided_config_notebooklm_config_model_armor_config
212096212108
? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig/responseTemplate"
212097212109
: response_template
@@ -212375,6 +212387,12 @@
212375212387
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaUserLicense/updateTime": update_time
212376212388
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaUserLicense/userPrincipal": user_principal
212377212389
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaUserLicense/userProfile": user_profile
212390+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaUserStore": google_cloud_discoveryengine_v1beta_user_store
212391+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaUserStore/defaultLicenseConfig": default_license_config
212392+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaUserStore/displayName": display_name
212393+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaUserStore/enableExpiredLicenseAutoUpdate": enable_expired_license_auto_update
212394+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaUserStore/enableLicenseAutoRegister": enable_license_auto_register
212395+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaUserStore/name": name
212378212396
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaWorkspaceConfig": google_cloud_discoveryengine_v1beta_workspace_config
212379212397
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaWorkspaceConfig/dasherCustomerId": dasher_customer_id
212380212398
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaWorkspaceConfig/superAdminEmailAddress": super_admin_email_address
@@ -213113,6 +213131,16 @@
213113213131
"/discoveryengine:v1/discoveryengine.projects.locations.userEvents.write/writeAsync": write_async
213114213132
"/discoveryengine:v1/discoveryengine.projects.locations.userStores.batchUpdateUserLicenses": batch_project_location_user_store_update_user_licenses
213115213133
"/discoveryengine:v1/discoveryengine.projects.locations.userStores.batchUpdateUserLicenses/parent": parent
213134+
"/discoveryengine:v1/discoveryengine.projects.locations.userStores.create": create_project_location_user_store
213135+
"/discoveryengine:v1/discoveryengine.projects.locations.userStores.create/parent": parent
213136+
"/discoveryengine:v1/discoveryengine.projects.locations.userStores.create/userStoreId": user_store_id
213137+
"/discoveryengine:v1/discoveryengine.projects.locations.userStores.delete": delete_project_location_user_store
213138+
"/discoveryengine:v1/discoveryengine.projects.locations.userStores.delete/name": name
213139+
"/discoveryengine:v1/discoveryengine.projects.locations.userStores.get": get_project_location_user_store
213140+
"/discoveryengine:v1/discoveryengine.projects.locations.userStores.get/name": name
213141+
"/discoveryengine:v1/discoveryengine.projects.locations.userStores.patch": patch_project_location_user_store
213142+
"/discoveryengine:v1/discoveryengine.projects.locations.userStores.patch/name": name
213143+
"/discoveryengine:v1/discoveryengine.projects.locations.userStores.patch/updateMask": update_mask
213116213144
"/discoveryengine:v1/discoveryengine.projects.locations.userStores.userLicenses.list": list_project_location_user_store_user_licenses
213117213145
"/discoveryengine:v1/discoveryengine.projects.locations.userStores.userLicenses.list/filter": filter
213118213146
"/discoveryengine:v1/discoveryengine.projects.locations.userStores.userLicenses.list/pageSize": page_size

generated/google-apis-discoveryengine_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-discoveryengine_v1
22

3+
### v0.56.0 (2025-10-26)
4+
5+
* Regenerated from discovery document revision 20251020
6+
37
### v0.55.0 (2025-10-19)
48

59
* Regenerated from discovery document revision 20251017

generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/classes.rb

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10743,13 +10743,21 @@ class GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig
1074310743
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
1074410744
attr_accessor :model_armor_config
1074510745

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+
1074610753
def initialize(**args)
1074710754
update!(**args)
1074810755
end
1074910756

1075010757
# Update properties of this object
1075110758
def update!(**args)
1075210759
@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)
1075310761
end
1075410762
end
1075510763

@@ -15363,6 +15371,62 @@ def update!(**args)
1536315371
end
1536415372
end
1536515373

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+
1536615430
# Config to store data store type configuration for workspace data
1536715431
class GoogleCloudDiscoveryengineV1WorkspaceConfig
1536815432
include Google::Apis::Core::Hashable
@@ -19097,6 +19161,35 @@ def update!(**args)
1909719161
end
1909819162
end
1909919163

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+
1910019193
# Defines target endpoints used to connect to third-party sources.
1910119194
class GoogleCloudDiscoveryengineV1alphaDestinationConfig
1910219195
include Google::Apis::Core::Hashable
@@ -21363,13 +21456,21 @@ class GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmCo
2136321456
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
2136421457
attr_accessor :model_armor_config
2136521458

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+
2136621466
def initialize(**args)
2136721467
update!(**args)
2136821468
end
2136921469

2137021470
# Update properties of this object
2137121471
def update!(**args)
2137221472
@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)
2137321474
end
2137421475
end
2137521476

@@ -27448,13 +27549,21 @@ class GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmCon
2744827549
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
2744927550
attr_accessor :model_armor_config
2745027551

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+
2745127559
def initialize(**args)
2745227560
update!(**args)
2745327561
end
2745427562

2745527563
# Update properties of this object
2745627564
def update!(**args)
2745727565
@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)
2745827567
end
2745927568
end
2746027569

@@ -29853,6 +29962,62 @@ def update!(**args)
2985329962
end
2985429963
end
2985529964

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+
2985630021
# Config to store data store type configuration for workspace data
2985730022
class GoogleCloudDiscoveryengineV1betaWorkspaceConfig
2985830023
include Google::Apis::Core::Hashable

0 commit comments

Comments
 (0)