google-apis-discoveryengine_v1alpha 0.80.0 → 0.81.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +502 -2
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +207 -0
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +403 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 02cf3c8c16dcd1e75bb9640c7b6bba10ab3a1c36ecf6d9587beb3727169cb7aa
|
|
4
|
+
data.tar.gz: 8d93e41ef3c9a1dbd36feea24fa52201c9a8426458654664b1b22c8c9b8132bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5414c928d5481ae043b9d20d446655cc72ba89bd75aabb86e77d07677fdbecdd6a631c5a1cfc3fbb1ca5f71dea4e985b6465bcf644ecebae8dd01c677d570301
|
|
7
|
+
data.tar.gz: 68bb4a4320cc7978650ca50bc0d61a299f1f2ca01053533607b578bf40073ce3690e4b044d7876cc3f46a2aa458c49497516121b6f08a10939a78c7ca73e5120
|
data/CHANGELOG.md
CHANGED
|
@@ -5331,6 +5331,13 @@ module Google
|
|
|
5331
5331
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
|
|
5332
5332
|
attr_accessor :model_armor_config
|
|
5333
5333
|
|
|
5334
|
+
# Optional. Whether to disable the notebook sharing feature for the project.
|
|
5335
|
+
# Default to false if not specified.
|
|
5336
|
+
# Corresponds to the JSON property `optOutNotebookSharing`
|
|
5337
|
+
# @return [Boolean]
|
|
5338
|
+
attr_accessor :opt_out_notebook_sharing
|
|
5339
|
+
alias_method :opt_out_notebook_sharing?, :opt_out_notebook_sharing
|
|
5340
|
+
|
|
5334
5341
|
def initialize(**args)
|
|
5335
5342
|
update!(**args)
|
|
5336
5343
|
end
|
|
@@ -5338,6 +5345,7 @@ module Google
|
|
|
5338
5345
|
# Update properties of this object
|
|
5339
5346
|
def update!(**args)
|
|
5340
5347
|
@model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
|
|
5348
|
+
@opt_out_notebook_sharing = args[:opt_out_notebook_sharing] if args.key?(:opt_out_notebook_sharing)
|
|
5341
5349
|
end
|
|
5342
5350
|
end
|
|
5343
5351
|
|
|
@@ -6785,6 +6793,62 @@ module Google
|
|
|
6785
6793
|
end
|
|
6786
6794
|
end
|
|
6787
6795
|
|
|
6796
|
+
# Configures metadata that is used for End User entities.
|
|
6797
|
+
class GoogleCloudDiscoveryengineV1UserStore
|
|
6798
|
+
include Google::Apis::Core::Hashable
|
|
6799
|
+
|
|
6800
|
+
# Optional. The default subscription LicenseConfig for the UserStore, if
|
|
6801
|
+
# UserStore.enable_license_auto_register is true, new users will automatically
|
|
6802
|
+
# register under the default subscription. If default LicenseConfig doesn't have
|
|
6803
|
+
# remaining license seats left, new users will not be assigned with license and
|
|
6804
|
+
# will be blocked for Vertex AI Search features. This is used if `
|
|
6805
|
+
# license_assignment_tier_rules` is not configured.
|
|
6806
|
+
# Corresponds to the JSON property `defaultLicenseConfig`
|
|
6807
|
+
# @return [String]
|
|
6808
|
+
attr_accessor :default_license_config
|
|
6809
|
+
|
|
6810
|
+
# The display name of the User Store.
|
|
6811
|
+
# Corresponds to the JSON property `displayName`
|
|
6812
|
+
# @return [String]
|
|
6813
|
+
attr_accessor :display_name
|
|
6814
|
+
|
|
6815
|
+
# Optional. Whether to enable license auto update for users in this User Store.
|
|
6816
|
+
# If true, users with expired licenses will automatically be updated to use the
|
|
6817
|
+
# default license config as long as the default license config has seats left.
|
|
6818
|
+
# Corresponds to the JSON property `enableExpiredLicenseAutoUpdate`
|
|
6819
|
+
# @return [Boolean]
|
|
6820
|
+
attr_accessor :enable_expired_license_auto_update
|
|
6821
|
+
alias_method :enable_expired_license_auto_update?, :enable_expired_license_auto_update
|
|
6822
|
+
|
|
6823
|
+
# Optional. Whether to enable license auto register for users in this User Store.
|
|
6824
|
+
# If true, new users will automatically register under the default license
|
|
6825
|
+
# config as long as the default license config has seats left.
|
|
6826
|
+
# Corresponds to the JSON property `enableLicenseAutoRegister`
|
|
6827
|
+
# @return [Boolean]
|
|
6828
|
+
attr_accessor :enable_license_auto_register
|
|
6829
|
+
alias_method :enable_license_auto_register?, :enable_license_auto_register
|
|
6830
|
+
|
|
6831
|
+
# Immutable. The full resource name of the User Store, in the format of `
|
|
6832
|
+
# projects/`project`/locations/`location`/userStores/`user_store``. This field
|
|
6833
|
+
# must be a UTF-8 encoded string with a length limit of 1024 characters.
|
|
6834
|
+
# Corresponds to the JSON property `name`
|
|
6835
|
+
# @return [String]
|
|
6836
|
+
attr_accessor :name
|
|
6837
|
+
|
|
6838
|
+
def initialize(**args)
|
|
6839
|
+
update!(**args)
|
|
6840
|
+
end
|
|
6841
|
+
|
|
6842
|
+
# Update properties of this object
|
|
6843
|
+
def update!(**args)
|
|
6844
|
+
@default_license_config = args[:default_license_config] if args.key?(:default_license_config)
|
|
6845
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
6846
|
+
@enable_expired_license_auto_update = args[:enable_expired_license_auto_update] if args.key?(:enable_expired_license_auto_update)
|
|
6847
|
+
@enable_license_auto_register = args[:enable_license_auto_register] if args.key?(:enable_license_auto_register)
|
|
6848
|
+
@name = args[:name] if args.key?(:name)
|
|
6849
|
+
end
|
|
6850
|
+
end
|
|
6851
|
+
|
|
6788
6852
|
# Config to store data store type configuration for workspace data
|
|
6789
6853
|
class GoogleCloudDiscoveryengineV1WorkspaceConfig
|
|
6790
6854
|
include Google::Apis::Core::Hashable
|
|
@@ -10739,6 +10803,140 @@ module Google
|
|
|
10739
10803
|
end
|
|
10740
10804
|
end
|
|
10741
10805
|
|
|
10806
|
+
# Canned query resource of Assistant. It represents a short-cut to a predefined
|
|
10807
|
+
# conversation start.
|
|
10808
|
+
class GoogleCloudDiscoveryengineV1alphaCannedQuery
|
|
10809
|
+
include Google::Apis::Core::Hashable
|
|
10810
|
+
|
|
10811
|
+
# The text pieces for the canned query, which can be localized.
|
|
10812
|
+
# Corresponds to the JSON property `defaultTexts`
|
|
10813
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts]
|
|
10814
|
+
attr_accessor :default_texts
|
|
10815
|
+
|
|
10816
|
+
# The display name of the canned query. It must be a UTF-8 encoded string with a
|
|
10817
|
+
# length limit of 128 characters.
|
|
10818
|
+
# Corresponds to the JSON property `displayName`
|
|
10819
|
+
# @return [String]
|
|
10820
|
+
attr_accessor :display_name
|
|
10821
|
+
|
|
10822
|
+
# Whether this canned query is enabled.
|
|
10823
|
+
# Corresponds to the JSON property `enabled`
|
|
10824
|
+
# @return [Boolean]
|
|
10825
|
+
attr_accessor :enabled
|
|
10826
|
+
alias_method :enabled?, :enabled
|
|
10827
|
+
|
|
10828
|
+
# Output only. Whether this is a Google-defined, read-only canned query.
|
|
10829
|
+
# Corresponds to the JSON property `googleDefined`
|
|
10830
|
+
# @return [Boolean]
|
|
10831
|
+
attr_accessor :google_defined
|
|
10832
|
+
alias_method :google_defined?, :google_defined
|
|
10833
|
+
|
|
10834
|
+
# Optional. The translations of the text attributes. The keys should be BCP-47
|
|
10835
|
+
# language codes.
|
|
10836
|
+
# Corresponds to the JSON property `localizedTexts`
|
|
10837
|
+
# @return [Hash<String,Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts>]
|
|
10838
|
+
attr_accessor :localized_texts
|
|
10839
|
+
|
|
10840
|
+
# Immutable. Resource name of the canned query. Format: `projects/`project`/
|
|
10841
|
+
# locations/`location`/collections/`collection`/engines/`engine`/assistants/`
|
|
10842
|
+
# assistant`/cannedQueries/`canned_query`` It must be a UTF-8 encoded string
|
|
10843
|
+
# with a length limit of 1024 characters.
|
|
10844
|
+
# Corresponds to the JSON property `name`
|
|
10845
|
+
# @return [String]
|
|
10846
|
+
attr_accessor :name
|
|
10847
|
+
|
|
10848
|
+
# Optional. The capabilities the Assistant needs to have to use this canned
|
|
10849
|
+
# query.
|
|
10850
|
+
# Corresponds to the JSON property `requiredCapabilities`
|
|
10851
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCannedQueryAssistantCapability>]
|
|
10852
|
+
attr_accessor :required_capabilities
|
|
10853
|
+
|
|
10854
|
+
def initialize(**args)
|
|
10855
|
+
update!(**args)
|
|
10856
|
+
end
|
|
10857
|
+
|
|
10858
|
+
# Update properties of this object
|
|
10859
|
+
def update!(**args)
|
|
10860
|
+
@default_texts = args[:default_texts] if args.key?(:default_texts)
|
|
10861
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
10862
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
|
10863
|
+
@google_defined = args[:google_defined] if args.key?(:google_defined)
|
|
10864
|
+
@localized_texts = args[:localized_texts] if args.key?(:localized_texts)
|
|
10865
|
+
@name = args[:name] if args.key?(:name)
|
|
10866
|
+
@required_capabilities = args[:required_capabilities] if args.key?(:required_capabilities)
|
|
10867
|
+
end
|
|
10868
|
+
end
|
|
10869
|
+
|
|
10870
|
+
# Capability of an assistant needed to use this canned query.
|
|
10871
|
+
class GoogleCloudDiscoveryengineV1alphaCannedQueryAssistantCapability
|
|
10872
|
+
include Google::Apis::Core::Hashable
|
|
10873
|
+
|
|
10874
|
+
# The name of the action that the Assistant needs to have set up to use this
|
|
10875
|
+
# canned query.
|
|
10876
|
+
# Corresponds to the JSON property `actionName`
|
|
10877
|
+
# @return [String]
|
|
10878
|
+
attr_accessor :action_name
|
|
10879
|
+
|
|
10880
|
+
def initialize(**args)
|
|
10881
|
+
update!(**args)
|
|
10882
|
+
end
|
|
10883
|
+
|
|
10884
|
+
# Update properties of this object
|
|
10885
|
+
def update!(**args)
|
|
10886
|
+
@action_name = args[:action_name] if args.key?(:action_name)
|
|
10887
|
+
end
|
|
10888
|
+
end
|
|
10889
|
+
|
|
10890
|
+
# The text pieces for the canned query, which can be localized.
|
|
10891
|
+
class GoogleCloudDiscoveryengineV1alphaCannedQueryCannedQueryTexts
|
|
10892
|
+
include Google::Apis::Core::Hashable
|
|
10893
|
+
|
|
10894
|
+
# Optional. The prefix that `suggested_prompts` should start with.
|
|
10895
|
+
# Corresponds to the JSON property `prefix`
|
|
10896
|
+
# @return [String]
|
|
10897
|
+
attr_accessor :prefix
|
|
10898
|
+
|
|
10899
|
+
# Required. The prompts the canned query will offer to the user.
|
|
10900
|
+
# Corresponds to the JSON property `suggestedPrompts`
|
|
10901
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCannedQuerySuggestedPrompt>]
|
|
10902
|
+
attr_accessor :suggested_prompts
|
|
10903
|
+
|
|
10904
|
+
# Required. The title that is for the end user.
|
|
10905
|
+
# Corresponds to the JSON property `title`
|
|
10906
|
+
# @return [String]
|
|
10907
|
+
attr_accessor :title
|
|
10908
|
+
|
|
10909
|
+
def initialize(**args)
|
|
10910
|
+
update!(**args)
|
|
10911
|
+
end
|
|
10912
|
+
|
|
10913
|
+
# Update properties of this object
|
|
10914
|
+
def update!(**args)
|
|
10915
|
+
@prefix = args[:prefix] if args.key?(:prefix)
|
|
10916
|
+
@suggested_prompts = args[:suggested_prompts] if args.key?(:suggested_prompts)
|
|
10917
|
+
@title = args[:title] if args.key?(:title)
|
|
10918
|
+
end
|
|
10919
|
+
end
|
|
10920
|
+
|
|
10921
|
+
# A suggested prompt for the canned query.
|
|
10922
|
+
class GoogleCloudDiscoveryengineV1alphaCannedQuerySuggestedPrompt
|
|
10923
|
+
include Google::Apis::Core::Hashable
|
|
10924
|
+
|
|
10925
|
+
# Required. The text of the suggested prompt.
|
|
10926
|
+
# Corresponds to the JSON property `promptText`
|
|
10927
|
+
# @return [String]
|
|
10928
|
+
attr_accessor :prompt_text
|
|
10929
|
+
|
|
10930
|
+
def initialize(**args)
|
|
10931
|
+
update!(**args)
|
|
10932
|
+
end
|
|
10933
|
+
|
|
10934
|
+
# Update properties of this object
|
|
10935
|
+
def update!(**args)
|
|
10936
|
+
@prompt_text = args[:prompt_text] if args.key?(:prompt_text)
|
|
10937
|
+
end
|
|
10938
|
+
end
|
|
10939
|
+
|
|
10742
10940
|
# Request message for GroundedGenerationService.CheckGrounding method.
|
|
10743
10941
|
class GoogleCloudDiscoveryengineV1alphaCheckGroundingRequest
|
|
10744
10942
|
include Google::Apis::Core::Hashable
|
|
@@ -14051,6 +14249,35 @@ module Google
|
|
|
14051
14249
|
end
|
|
14052
14250
|
end
|
|
14053
14251
|
|
|
14252
|
+
# Metadata related to the progress of the UserStoreService.DeleteUserStore
|
|
14253
|
+
# operation. This will be returned by the google.longrunning.Operation.metadata
|
|
14254
|
+
# field. Delete UserStore will delete all the end users under the user store,
|
|
14255
|
+
# return the number of end users successfully deleted or failed to delete in the
|
|
14256
|
+
# metadata.
|
|
14257
|
+
class GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata
|
|
14258
|
+
include Google::Apis::Core::Hashable
|
|
14259
|
+
|
|
14260
|
+
# The number of end users under the user store that failed to be deleted.
|
|
14261
|
+
# Corresponds to the JSON property `failureCount`
|
|
14262
|
+
# @return [Fixnum]
|
|
14263
|
+
attr_accessor :failure_count
|
|
14264
|
+
|
|
14265
|
+
# The number of end users under the user store that were successfully deleted.
|
|
14266
|
+
# Corresponds to the JSON property `successCount`
|
|
14267
|
+
# @return [Fixnum]
|
|
14268
|
+
attr_accessor :success_count
|
|
14269
|
+
|
|
14270
|
+
def initialize(**args)
|
|
14271
|
+
update!(**args)
|
|
14272
|
+
end
|
|
14273
|
+
|
|
14274
|
+
# Update properties of this object
|
|
14275
|
+
def update!(**args)
|
|
14276
|
+
@failure_count = args[:failure_count] if args.key?(:failure_count)
|
|
14277
|
+
@success_count = args[:success_count] if args.key?(:success_count)
|
|
14278
|
+
end
|
|
14279
|
+
end
|
|
14280
|
+
|
|
14054
14281
|
# Defines target endpoints used to connect to third-party sources.
|
|
14055
14282
|
class GoogleCloudDiscoveryengineV1alphaDestinationConfig
|
|
14056
14283
|
include Google::Apis::Core::Hashable
|
|
@@ -14168,6 +14395,64 @@ module Google
|
|
|
14168
14395
|
end
|
|
14169
14396
|
end
|
|
14170
14397
|
|
|
14398
|
+
# Request message for LicenseConfigService.DistributeLicenseConfig method.
|
|
14399
|
+
class GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigRequest
|
|
14400
|
+
include Google::Apis::Core::Hashable
|
|
14401
|
+
|
|
14402
|
+
# Optional. Distribute seats to this license config instead of creating a new
|
|
14403
|
+
# one. If not specified, a new license config will be created from the billing
|
|
14404
|
+
# account license config.
|
|
14405
|
+
# Corresponds to the JSON property `licenseConfigId`
|
|
14406
|
+
# @return [String]
|
|
14407
|
+
attr_accessor :license_config_id
|
|
14408
|
+
|
|
14409
|
+
# Required. The number of licenses to distribute.
|
|
14410
|
+
# Corresponds to the JSON property `licenseCount`
|
|
14411
|
+
# @return [Fixnum]
|
|
14412
|
+
attr_accessor :license_count
|
|
14413
|
+
|
|
14414
|
+
# Required. The target GCP project region to distribute the license config to.
|
|
14415
|
+
# Corresponds to the JSON property `location`
|
|
14416
|
+
# @return [String]
|
|
14417
|
+
attr_accessor :location
|
|
14418
|
+
|
|
14419
|
+
# Required. The target GCP project number to distribute the license config to.
|
|
14420
|
+
# Corresponds to the JSON property `projectNumber`
|
|
14421
|
+
# @return [Fixnum]
|
|
14422
|
+
attr_accessor :project_number
|
|
14423
|
+
|
|
14424
|
+
def initialize(**args)
|
|
14425
|
+
update!(**args)
|
|
14426
|
+
end
|
|
14427
|
+
|
|
14428
|
+
# Update properties of this object
|
|
14429
|
+
def update!(**args)
|
|
14430
|
+
@license_config_id = args[:license_config_id] if args.key?(:license_config_id)
|
|
14431
|
+
@license_count = args[:license_count] if args.key?(:license_count)
|
|
14432
|
+
@location = args[:location] if args.key?(:location)
|
|
14433
|
+
@project_number = args[:project_number] if args.key?(:project_number)
|
|
14434
|
+
end
|
|
14435
|
+
end
|
|
14436
|
+
|
|
14437
|
+
# Response message for LicenseConfigService.DistributeLicenseConfig method.
|
|
14438
|
+
class GoogleCloudDiscoveryengineV1alphaDistributeLicenseConfigResponse
|
|
14439
|
+
include Google::Apis::Core::Hashable
|
|
14440
|
+
|
|
14441
|
+
# Information about users' licenses.
|
|
14442
|
+
# Corresponds to the JSON property `licenseConfig`
|
|
14443
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLicenseConfig]
|
|
14444
|
+
attr_accessor :license_config
|
|
14445
|
+
|
|
14446
|
+
def initialize(**args)
|
|
14447
|
+
update!(**args)
|
|
14448
|
+
end
|
|
14449
|
+
|
|
14450
|
+
# Update properties of this object
|
|
14451
|
+
def update!(**args)
|
|
14452
|
+
@license_config = args[:license_config] if args.key?(:license_config)
|
|
14453
|
+
end
|
|
14454
|
+
end
|
|
14455
|
+
|
|
14171
14456
|
# Document captures all raw metadata information of items to be recommended or
|
|
14172
14457
|
# searched.
|
|
14173
14458
|
class GoogleCloudDiscoveryengineV1alphaDocument
|
|
@@ -17644,6 +17929,32 @@ module Google
|
|
|
17644
17929
|
end
|
|
17645
17930
|
end
|
|
17646
17931
|
|
|
17932
|
+
# Response message for the CannedQueryService.ListCannedQueries method.
|
|
17933
|
+
class GoogleCloudDiscoveryengineV1alphaListCannedQueriesResponse
|
|
17934
|
+
include Google::Apis::Core::Hashable
|
|
17935
|
+
|
|
17936
|
+
# The list of CannedQuerys matching the request.
|
|
17937
|
+
# Corresponds to the JSON property `cannedQueries`
|
|
17938
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCannedQuery>]
|
|
17939
|
+
attr_accessor :canned_queries
|
|
17940
|
+
|
|
17941
|
+
# A token that can be sent as ListCannedQueriesRequest.page_token to retrieve
|
|
17942
|
+
# the next page. If this field is omitted, there are no subsequent pages.
|
|
17943
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
17944
|
+
# @return [String]
|
|
17945
|
+
attr_accessor :next_page_token
|
|
17946
|
+
|
|
17947
|
+
def initialize(**args)
|
|
17948
|
+
update!(**args)
|
|
17949
|
+
end
|
|
17950
|
+
|
|
17951
|
+
# Update properties of this object
|
|
17952
|
+
def update!(**args)
|
|
17953
|
+
@canned_queries = args[:canned_queries] if args.key?(:canned_queries)
|
|
17954
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
17955
|
+
end
|
|
17956
|
+
end
|
|
17957
|
+
|
|
17647
17958
|
# Response message for ChunkService.ListChunks method.
|
|
17648
17959
|
class GoogleCloudDiscoveryengineV1alphaListChunksResponse
|
|
17649
17960
|
include Google::Apis::Core::Hashable
|
|
@@ -18707,6 +19018,13 @@ module Google
|
|
|
18707
19018
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
|
|
18708
19019
|
attr_accessor :model_armor_config
|
|
18709
19020
|
|
|
19021
|
+
# Optional. Whether to disable the notebook sharing feature for the project.
|
|
19022
|
+
# Default to false if not specified.
|
|
19023
|
+
# Corresponds to the JSON property `optOutNotebookSharing`
|
|
19024
|
+
# @return [Boolean]
|
|
19025
|
+
attr_accessor :opt_out_notebook_sharing
|
|
19026
|
+
alias_method :opt_out_notebook_sharing?, :opt_out_notebook_sharing
|
|
19027
|
+
|
|
18710
19028
|
def initialize(**args)
|
|
18711
19029
|
update!(**args)
|
|
18712
19030
|
end
|
|
@@ -18714,6 +19032,7 @@ module Google
|
|
|
18714
19032
|
# Update properties of this object
|
|
18715
19033
|
def update!(**args)
|
|
18716
19034
|
@model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
|
|
19035
|
+
@opt_out_notebook_sharing = args[:opt_out_notebook_sharing] if args.key?(:opt_out_notebook_sharing)
|
|
18717
19036
|
end
|
|
18718
19037
|
end
|
|
18719
19038
|
|
|
@@ -20438,6 +20757,60 @@ module Google
|
|
|
20438
20757
|
end
|
|
20439
20758
|
end
|
|
20440
20759
|
|
|
20760
|
+
# Request message for LicenseConfigService.RetractLicenseConfig method.
|
|
20761
|
+
class GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest
|
|
20762
|
+
include Google::Apis::Core::Hashable
|
|
20763
|
+
|
|
20764
|
+
# Optional. If set to true, retract the entire license config. Otherwise,
|
|
20765
|
+
# retract the specified license count.
|
|
20766
|
+
# Corresponds to the JSON property `fullRetract`
|
|
20767
|
+
# @return [Boolean]
|
|
20768
|
+
attr_accessor :full_retract
|
|
20769
|
+
alias_method :full_retract?, :full_retract
|
|
20770
|
+
|
|
20771
|
+
# Required. Full resource name of LicenseConfig. Format: `projects/`project`/
|
|
20772
|
+
# locations/`location`/licenseConfigs/`license_config_id``.
|
|
20773
|
+
# Corresponds to the JSON property `licenseConfig`
|
|
20774
|
+
# @return [String]
|
|
20775
|
+
attr_accessor :license_config
|
|
20776
|
+
|
|
20777
|
+
# Optional. The number of licenses to retract. Only used when full_retract is
|
|
20778
|
+
# false.
|
|
20779
|
+
# Corresponds to the JSON property `licenseCount`
|
|
20780
|
+
# @return [Fixnum]
|
|
20781
|
+
attr_accessor :license_count
|
|
20782
|
+
|
|
20783
|
+
def initialize(**args)
|
|
20784
|
+
update!(**args)
|
|
20785
|
+
end
|
|
20786
|
+
|
|
20787
|
+
# Update properties of this object
|
|
20788
|
+
def update!(**args)
|
|
20789
|
+
@full_retract = args[:full_retract] if args.key?(:full_retract)
|
|
20790
|
+
@license_config = args[:license_config] if args.key?(:license_config)
|
|
20791
|
+
@license_count = args[:license_count] if args.key?(:license_count)
|
|
20792
|
+
end
|
|
20793
|
+
end
|
|
20794
|
+
|
|
20795
|
+
# Response message for LicenseConfigService.RetractLicenseConfig method.
|
|
20796
|
+
class GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigResponse
|
|
20797
|
+
include Google::Apis::Core::Hashable
|
|
20798
|
+
|
|
20799
|
+
# Information about users' licenses.
|
|
20800
|
+
# Corresponds to the JSON property `licenseConfig`
|
|
20801
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLicenseConfig]
|
|
20802
|
+
attr_accessor :license_config
|
|
20803
|
+
|
|
20804
|
+
def initialize(**args)
|
|
20805
|
+
update!(**args)
|
|
20806
|
+
end
|
|
20807
|
+
|
|
20808
|
+
# Update properties of this object
|
|
20809
|
+
def update!(**args)
|
|
20810
|
+
@license_config = args[:license_config] if args.key?(:license_config)
|
|
20811
|
+
end
|
|
20812
|
+
end
|
|
20813
|
+
|
|
20441
20814
|
# Safety rating corresponding to the generated content.
|
|
20442
20815
|
class GoogleCloudDiscoveryengineV1alphaSafetyRating
|
|
20443
20816
|
include Google::Apis::Core::Hashable
|
|
@@ -25343,6 +25716,62 @@ module Google
|
|
|
25343
25716
|
end
|
|
25344
25717
|
end
|
|
25345
25718
|
|
|
25719
|
+
# Configures metadata that is used for End User entities.
|
|
25720
|
+
class GoogleCloudDiscoveryengineV1alphaUserStore
|
|
25721
|
+
include Google::Apis::Core::Hashable
|
|
25722
|
+
|
|
25723
|
+
# Optional. The default subscription LicenseConfig for the UserStore, if
|
|
25724
|
+
# UserStore.enable_license_auto_register is true, new users will automatically
|
|
25725
|
+
# register under the default subscription. If default LicenseConfig doesn't have
|
|
25726
|
+
# remaining license seats left, new users will not be assigned with license and
|
|
25727
|
+
# will be blocked for Vertex AI Search features. This is used if `
|
|
25728
|
+
# license_assignment_tier_rules` is not configured.
|
|
25729
|
+
# Corresponds to the JSON property `defaultLicenseConfig`
|
|
25730
|
+
# @return [String]
|
|
25731
|
+
attr_accessor :default_license_config
|
|
25732
|
+
|
|
25733
|
+
# The display name of the User Store.
|
|
25734
|
+
# Corresponds to the JSON property `displayName`
|
|
25735
|
+
# @return [String]
|
|
25736
|
+
attr_accessor :display_name
|
|
25737
|
+
|
|
25738
|
+
# Optional. Whether to enable license auto update for users in this User Store.
|
|
25739
|
+
# If true, users with expired licenses will automatically be updated to use the
|
|
25740
|
+
# default license config as long as the default license config has seats left.
|
|
25741
|
+
# Corresponds to the JSON property `enableExpiredLicenseAutoUpdate`
|
|
25742
|
+
# @return [Boolean]
|
|
25743
|
+
attr_accessor :enable_expired_license_auto_update
|
|
25744
|
+
alias_method :enable_expired_license_auto_update?, :enable_expired_license_auto_update
|
|
25745
|
+
|
|
25746
|
+
# Optional. Whether to enable license auto register for users in this User Store.
|
|
25747
|
+
# If true, new users will automatically register under the default license
|
|
25748
|
+
# config as long as the default license config has seats left.
|
|
25749
|
+
# Corresponds to the JSON property `enableLicenseAutoRegister`
|
|
25750
|
+
# @return [Boolean]
|
|
25751
|
+
attr_accessor :enable_license_auto_register
|
|
25752
|
+
alias_method :enable_license_auto_register?, :enable_license_auto_register
|
|
25753
|
+
|
|
25754
|
+
# Immutable. The full resource name of the User Store, in the format of `
|
|
25755
|
+
# projects/`project`/locations/`location`/userStores/`user_store``. This field
|
|
25756
|
+
# must be a UTF-8 encoded string with a length limit of 1024 characters.
|
|
25757
|
+
# Corresponds to the JSON property `name`
|
|
25758
|
+
# @return [String]
|
|
25759
|
+
attr_accessor :name
|
|
25760
|
+
|
|
25761
|
+
def initialize(**args)
|
|
25762
|
+
update!(**args)
|
|
25763
|
+
end
|
|
25764
|
+
|
|
25765
|
+
# Update properties of this object
|
|
25766
|
+
def update!(**args)
|
|
25767
|
+
@default_license_config = args[:default_license_config] if args.key?(:default_license_config)
|
|
25768
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
25769
|
+
@enable_expired_license_auto_update = args[:enable_expired_license_auto_update] if args.key?(:enable_expired_license_auto_update)
|
|
25770
|
+
@enable_license_auto_register = args[:enable_license_auto_register] if args.key?(:enable_license_auto_register)
|
|
25771
|
+
@name = args[:name] if args.key?(:name)
|
|
25772
|
+
end
|
|
25773
|
+
end
|
|
25774
|
+
|
|
25346
25775
|
# Standard characteristics of a video media view.
|
|
25347
25776
|
class GoogleCloudDiscoveryengineV1alphaVideoCharacteristics
|
|
25348
25777
|
include Google::Apis::Core::Hashable
|
|
@@ -25564,6 +25993,12 @@ module Google
|
|
|
25564
25993
|
# @return [Hash<String,Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigUiComponentField>]
|
|
25565
25994
|
attr_accessor :fields_ui_components_map
|
|
25566
25995
|
|
|
25996
|
+
# Output only. Whether the subscription is gemini bundle or not.
|
|
25997
|
+
# Corresponds to the JSON property `geminiBundle`
|
|
25998
|
+
# @return [Boolean]
|
|
25999
|
+
attr_accessor :gemini_bundle
|
|
26000
|
+
alias_method :gemini_bundle?, :gemini_bundle
|
|
26001
|
+
|
|
25567
26002
|
# Describes the homepage setting of the widget. It includes all homepage related
|
|
25568
26003
|
# settings and configurations, such as shortcuts.
|
|
25569
26004
|
# Corresponds to the JSON property `homepageSetting`
|
|
@@ -25657,6 +26092,7 @@ module Google
|
|
|
25657
26092
|
@experimental_features = args[:experimental_features] if args.key?(:experimental_features)
|
|
25658
26093
|
@facet_field = args[:facet_field] if args.key?(:facet_field)
|
|
25659
26094
|
@fields_ui_components_map = args[:fields_ui_components_map] if args.key?(:fields_ui_components_map)
|
|
26095
|
+
@gemini_bundle = args[:gemini_bundle] if args.key?(:gemini_bundle)
|
|
25660
26096
|
@homepage_setting = args[:homepage_setting] if args.key?(:homepage_setting)
|
|
25661
26097
|
@industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
|
|
25662
26098
|
@llm_enabled = args[:llm_enabled] if args.key?(:llm_enabled)
|
|
@@ -25988,9 +26424,9 @@ module Google
|
|
|
25988
26424
|
include Google::Apis::Core::Hashable
|
|
25989
26425
|
|
|
25990
26426
|
# Optional. The shortcuts to display on the homepage. LINT.IfChange(
|
|
25991
|
-
# max_shortcuts_number) LINT.ThenChange(//depot/google3/cloud/console/web/ai/
|
|
26427
|
+
# max_shortcuts_number) LINT.ThenChange( //depot/google3/cloud/console/web/ai/
|
|
25992
26428
|
# unified_cloud_search/components/widget_preview/
|
|
25993
|
-
# widget_homepage_shortcut_config_form.ts:max_shortcuts_number)
|
|
26429
|
+
# widget_homepage_shortcut_config_form.ts:max_shortcuts_number )
|
|
25994
26430
|
# Corresponds to the JSON property `shortcuts`
|
|
25995
26431
|
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaWidgetConfigHomepageSettingShortcut>]
|
|
25996
26432
|
attr_accessor :shortcuts
|
|
@@ -29341,6 +29777,13 @@ module Google
|
|
|
29341
29777
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig]
|
|
29342
29778
|
attr_accessor :model_armor_config
|
|
29343
29779
|
|
|
29780
|
+
# Optional. Whether to disable the notebook sharing feature for the project.
|
|
29781
|
+
# Default to false if not specified.
|
|
29782
|
+
# Corresponds to the JSON property `optOutNotebookSharing`
|
|
29783
|
+
# @return [Boolean]
|
|
29784
|
+
attr_accessor :opt_out_notebook_sharing
|
|
29785
|
+
alias_method :opt_out_notebook_sharing?, :opt_out_notebook_sharing
|
|
29786
|
+
|
|
29344
29787
|
def initialize(**args)
|
|
29345
29788
|
update!(**args)
|
|
29346
29789
|
end
|
|
@@ -29348,6 +29791,7 @@ module Google
|
|
|
29348
29791
|
# Update properties of this object
|
|
29349
29792
|
def update!(**args)
|
|
29350
29793
|
@model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
|
|
29794
|
+
@opt_out_notebook_sharing = args[:opt_out_notebook_sharing] if args.key?(:opt_out_notebook_sharing)
|
|
29351
29795
|
end
|
|
29352
29796
|
end
|
|
29353
29797
|
|
|
@@ -31746,6 +32190,62 @@ module Google
|
|
|
31746
32190
|
end
|
|
31747
32191
|
end
|
|
31748
32192
|
|
|
32193
|
+
# Configures metadata that is used for End User entities.
|
|
32194
|
+
class GoogleCloudDiscoveryengineV1betaUserStore
|
|
32195
|
+
include Google::Apis::Core::Hashable
|
|
32196
|
+
|
|
32197
|
+
# Optional. The default subscription LicenseConfig for the UserStore, if
|
|
32198
|
+
# UserStore.enable_license_auto_register is true, new users will automatically
|
|
32199
|
+
# register under the default subscription. If default LicenseConfig doesn't have
|
|
32200
|
+
# remaining license seats left, new users will not be assigned with license and
|
|
32201
|
+
# will be blocked for Vertex AI Search features. This is used if `
|
|
32202
|
+
# license_assignment_tier_rules` is not configured.
|
|
32203
|
+
# Corresponds to the JSON property `defaultLicenseConfig`
|
|
32204
|
+
# @return [String]
|
|
32205
|
+
attr_accessor :default_license_config
|
|
32206
|
+
|
|
32207
|
+
# The display name of the User Store.
|
|
32208
|
+
# Corresponds to the JSON property `displayName`
|
|
32209
|
+
# @return [String]
|
|
32210
|
+
attr_accessor :display_name
|
|
32211
|
+
|
|
32212
|
+
# Optional. Whether to enable license auto update for users in this User Store.
|
|
32213
|
+
# If true, users with expired licenses will automatically be updated to use the
|
|
32214
|
+
# default license config as long as the default license config has seats left.
|
|
32215
|
+
# Corresponds to the JSON property `enableExpiredLicenseAutoUpdate`
|
|
32216
|
+
# @return [Boolean]
|
|
32217
|
+
attr_accessor :enable_expired_license_auto_update
|
|
32218
|
+
alias_method :enable_expired_license_auto_update?, :enable_expired_license_auto_update
|
|
32219
|
+
|
|
32220
|
+
# Optional. Whether to enable license auto register for users in this User Store.
|
|
32221
|
+
# If true, new users will automatically register under the default license
|
|
32222
|
+
# config as long as the default license config has seats left.
|
|
32223
|
+
# Corresponds to the JSON property `enableLicenseAutoRegister`
|
|
32224
|
+
# @return [Boolean]
|
|
32225
|
+
attr_accessor :enable_license_auto_register
|
|
32226
|
+
alias_method :enable_license_auto_register?, :enable_license_auto_register
|
|
32227
|
+
|
|
32228
|
+
# Immutable. The full resource name of the User Store, in the format of `
|
|
32229
|
+
# projects/`project`/locations/`location`/userStores/`user_store``. This field
|
|
32230
|
+
# must be a UTF-8 encoded string with a length limit of 1024 characters.
|
|
32231
|
+
# Corresponds to the JSON property `name`
|
|
32232
|
+
# @return [String]
|
|
32233
|
+
attr_accessor :name
|
|
32234
|
+
|
|
32235
|
+
def initialize(**args)
|
|
32236
|
+
update!(**args)
|
|
32237
|
+
end
|
|
32238
|
+
|
|
32239
|
+
# Update properties of this object
|
|
32240
|
+
def update!(**args)
|
|
32241
|
+
@default_license_config = args[:default_license_config] if args.key?(:default_license_config)
|
|
32242
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
32243
|
+
@enable_expired_license_auto_update = args[:enable_expired_license_auto_update] if args.key?(:enable_expired_license_auto_update)
|
|
32244
|
+
@enable_license_auto_register = args[:enable_license_auto_register] if args.key?(:enable_license_auto_register)
|
|
32245
|
+
@name = args[:name] if args.key?(:name)
|
|
32246
|
+
end
|
|
32247
|
+
end
|
|
32248
|
+
|
|
31749
32249
|
# Config to store data store type configuration for workspace data
|
|
31750
32250
|
class GoogleCloudDiscoveryengineV1betaWorkspaceConfig
|
|
31751
32251
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module DiscoveryengineV1alpha
|
|
18
18
|
# Version of the google-apis-discoveryengine_v1alpha gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.81.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 = "
|
|
25
|
+
REVISION = "20251023"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|