google-apis-discoveryengine_v1alpha 0.61.0 → 0.62.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 +5 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +346 -88
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +106 -15
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +138 -13
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eee465a4fd5cf32eed1fbf7aed0cfdedfcfd08c50e4884588ed71914bd7ac288
|
4
|
+
data.tar.gz: a15a29dadea92c7a49feeeb1e1631b981488dffbb396525da5d40f5243700151
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 480ef5a30e2a0302dfd8b5b0daaa09d6342886114ff78fcdca668c752f8e4d4c8f407b0a12d1f49042227da764c452037f47debd882e4c550ab816d2d0b3fdb2
|
7
|
+
data.tar.gz: 830d6286be41a736b712c02da08c30389965c723a00f1c28a02596579fe26237ac2f4ae1eb51910378f6cd513a49c777e4784e21d2fdd7253a65d5dcab3987d3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-discoveryengine_v1alpha
|
2
2
|
|
3
|
+
### v0.62.0 (2025-05-18)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250514
|
6
|
+
* Regenerated using generator version 0.17.0
|
7
|
+
|
3
8
|
### v0.61.0 (2025-04-27)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20250419
|
data/OVERVIEW.md
CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/generative-ai-app-builder/d
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby
|
86
|
+
This library is supported on Ruby 3.1+.
|
87
87
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
@@ -2501,10 +2501,10 @@ module Google
|
|
2501
2501
|
# @return [String]
|
2502
2502
|
attr_accessor :kms_key_name
|
2503
2503
|
|
2504
|
-
# Immutable. The full resource name of the data store. Format: `
|
2505
|
-
# project`/locations/`location`/collections/`collection_id`/dataStores
|
2506
|
-
# data_store_id``. This field must be a UTF-8 encoded string with a length
|
2507
|
-
# of 1024 characters.
|
2504
|
+
# Immutable. Identifier. The full resource name of the data store. Format: `
|
2505
|
+
# projects/`project`/locations/`location`/collections/`collection_id`/dataStores/
|
2506
|
+
# `data_store_id``. This field must be a UTF-8 encoded string with a length
|
2507
|
+
# limit of 1024 characters.
|
2508
2508
|
# Corresponds to the JSON property `name`
|
2509
2509
|
# @return [String]
|
2510
2510
|
attr_accessor :name
|
@@ -2613,7 +2613,8 @@ module Google
|
|
2613
2613
|
class GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore
|
2614
2614
|
include Google::Apis::Core::Hashable
|
2615
2615
|
|
2616
|
-
# If set true, the DataStore will not be available for serving search
|
2616
|
+
# Optional. If set true, the DataStore will not be available for serving search
|
2617
|
+
# requests.
|
2617
2618
|
# Corresponds to the JSON property `disabledForServing`
|
2618
2619
|
# @return [Boolean]
|
2619
2620
|
attr_accessor :disabled_for_serving
|
@@ -3144,12 +3145,12 @@ module Google
|
|
3144
3145
|
# @return [String]
|
3145
3146
|
attr_accessor :create_time
|
3146
3147
|
|
3147
|
-
# The data stores associated with this engine. For
|
3148
|
-
# SOLUTION_TYPE_RECOMMENDATION type of engines, they
|
3149
|
-
# most one data store. If solution_type is
|
3150
|
-
# DataStores in the same Collection can be
|
3151
|
-
# in CreateEngineRequest, one DataStore id
|
3152
|
-
# use it for necessary initializations.
|
3148
|
+
# Optional. The data stores associated with this engine. For
|
3149
|
+
# SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they
|
3150
|
+
# can only associate with at most one data store. If solution_type is
|
3151
|
+
# SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be
|
3152
|
+
# associated here. Note that when used in CreateEngineRequest, one DataStore id
|
3153
|
+
# must be provided as the system will use it for necessary initializations.
|
3153
3154
|
# Corresponds to the JSON property `dataStoreIds`
|
3154
3155
|
# @return [Array<String>]
|
3155
3156
|
attr_accessor :data_store_ids
|
@@ -3166,9 +3167,9 @@ module Google
|
|
3166
3167
|
# @return [String]
|
3167
3168
|
attr_accessor :display_name
|
3168
3169
|
|
3169
|
-
# The industry vertical that the engine registers. The restriction of
|
3170
|
-
# industry vertical is based on DataStore: Vertical on Engine has to
|
3171
|
-
# vertical of the DataStore linked to the engine.
|
3170
|
+
# Optional. The industry vertical that the engine registers. The restriction of
|
3171
|
+
# the Engine industry vertical is based on DataStore: Vertical on Engine has to
|
3172
|
+
# match vertical of the DataStore linked to the engine.
|
3172
3173
|
# Corresponds to the JSON property `industryVertical`
|
3173
3174
|
# @return [String]
|
3174
3175
|
attr_accessor :industry_vertical
|
@@ -3178,11 +3179,11 @@ module Google
|
|
3178
3179
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig]
|
3179
3180
|
attr_accessor :media_recommendation_engine_config
|
3180
3181
|
|
3181
|
-
# Immutable. The fully qualified resource name of the engine. This
|
3182
|
-
# a UTF-8 encoded string with a length limit of 1024 characters.
|
3183
|
-
# projects/`project`/locations/`location`/collections/`collection`/
|
3184
|
-
# engine`` engine should be 1-63 characters, and valid characters are /
|
3185
|
-
# Otherwise, an INVALID_ARGUMENT error is returned.
|
3182
|
+
# Immutable. Identifier. The fully qualified resource name of the engine. This
|
3183
|
+
# field must be a UTF-8 encoded string with a length limit of 1024 characters.
|
3184
|
+
# Format: `projects/`project`/locations/`location`/collections/`collection`/
|
3185
|
+
# engines/`engine`` engine should be 1-63 characters, and valid characters are /
|
3186
|
+
# a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned.
|
3186
3187
|
# Corresponds to the JSON property `name`
|
3187
3188
|
# @return [String]
|
3188
3189
|
attr_accessor :name
|
@@ -7845,6 +7846,131 @@ module Google
|
|
7845
7846
|
end
|
7846
7847
|
end
|
7847
7848
|
|
7849
|
+
# Metadata related to the progress of the UserLicenseService.
|
7850
|
+
# BatchUpdateUserLicenses operation. This will be returned by the google.
|
7851
|
+
# longrunning.Operation.metadata field.
|
7852
|
+
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata
|
7853
|
+
include Google::Apis::Core::Hashable
|
7854
|
+
|
7855
|
+
# Operation create time.
|
7856
|
+
# Corresponds to the JSON property `createTime`
|
7857
|
+
# @return [String]
|
7858
|
+
attr_accessor :create_time
|
7859
|
+
|
7860
|
+
# Count of user licenses that failed to be updated.
|
7861
|
+
# Corresponds to the JSON property `failureCount`
|
7862
|
+
# @return [Fixnum]
|
7863
|
+
attr_accessor :failure_count
|
7864
|
+
|
7865
|
+
# Count of user licenses successfully updated.
|
7866
|
+
# Corresponds to the JSON property `successCount`
|
7867
|
+
# @return [Fixnum]
|
7868
|
+
attr_accessor :success_count
|
7869
|
+
|
7870
|
+
# Operation last update time. If the operation is done, this is also the finish
|
7871
|
+
# time.
|
7872
|
+
# Corresponds to the JSON property `updateTime`
|
7873
|
+
# @return [String]
|
7874
|
+
attr_accessor :update_time
|
7875
|
+
|
7876
|
+
def initialize(**args)
|
7877
|
+
update!(**args)
|
7878
|
+
end
|
7879
|
+
|
7880
|
+
# Update properties of this object
|
7881
|
+
def update!(**args)
|
7882
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
7883
|
+
@failure_count = args[:failure_count] if args.key?(:failure_count)
|
7884
|
+
@success_count = args[:success_count] if args.key?(:success_count)
|
7885
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
7886
|
+
end
|
7887
|
+
end
|
7888
|
+
|
7889
|
+
# Request message for UserLicenseService.BatchUpdateUserLicenses method.
|
7890
|
+
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest
|
7891
|
+
include Google::Apis::Core::Hashable
|
7892
|
+
|
7893
|
+
# Optional. If true, if user licenses removed associated license config, the
|
7894
|
+
# user license will be deleted. By default which is false, the user license will
|
7895
|
+
# be updated to unassigned state.
|
7896
|
+
# Corresponds to the JSON property `deleteUnassignedUserLicenses`
|
7897
|
+
# @return [Boolean]
|
7898
|
+
attr_accessor :delete_unassigned_user_licenses
|
7899
|
+
alias_method :delete_unassigned_user_licenses?, :delete_unassigned_user_licenses
|
7900
|
+
|
7901
|
+
# Cloud Storage location for input content.
|
7902
|
+
# Corresponds to the JSON property `gcsSource`
|
7903
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource]
|
7904
|
+
attr_accessor :gcs_source
|
7905
|
+
|
7906
|
+
# The inline source for the input config for BatchUpdateUserLicenses method.
|
7907
|
+
# Corresponds to the JSON property `inlineSource`
|
7908
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource]
|
7909
|
+
attr_accessor :inline_source
|
7910
|
+
|
7911
|
+
def initialize(**args)
|
7912
|
+
update!(**args)
|
7913
|
+
end
|
7914
|
+
|
7915
|
+
# Update properties of this object
|
7916
|
+
def update!(**args)
|
7917
|
+
@delete_unassigned_user_licenses = args[:delete_unassigned_user_licenses] if args.key?(:delete_unassigned_user_licenses)
|
7918
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
7919
|
+
@inline_source = args[:inline_source] if args.key?(:inline_source)
|
7920
|
+
end
|
7921
|
+
end
|
7922
|
+
|
7923
|
+
# The inline source for the input config for BatchUpdateUserLicenses method.
|
7924
|
+
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource
|
7925
|
+
include Google::Apis::Core::Hashable
|
7926
|
+
|
7927
|
+
# Optional. The list of fields to update.
|
7928
|
+
# Corresponds to the JSON property `updateMask`
|
7929
|
+
# @return [String]
|
7930
|
+
attr_accessor :update_mask
|
7931
|
+
|
7932
|
+
# Required. A list of user licenses to update. Each user license must have a
|
7933
|
+
# valid UserLicense.user_principal.
|
7934
|
+
# Corresponds to the JSON property `userLicenses`
|
7935
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserLicense>]
|
7936
|
+
attr_accessor :user_licenses
|
7937
|
+
|
7938
|
+
def initialize(**args)
|
7939
|
+
update!(**args)
|
7940
|
+
end
|
7941
|
+
|
7942
|
+
# Update properties of this object
|
7943
|
+
def update!(**args)
|
7944
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
7945
|
+
@user_licenses = args[:user_licenses] if args.key?(:user_licenses)
|
7946
|
+
end
|
7947
|
+
end
|
7948
|
+
|
7949
|
+
# Response message for UserLicenseService.BatchUpdateUserLicenses method.
|
7950
|
+
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse
|
7951
|
+
include Google::Apis::Core::Hashable
|
7952
|
+
|
7953
|
+
# A sample of errors encountered while processing the request.
|
7954
|
+
# Corresponds to the JSON property `errorSamples`
|
7955
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus>]
|
7956
|
+
attr_accessor :error_samples
|
7957
|
+
|
7958
|
+
# UserLicenses successfully updated.
|
7959
|
+
# Corresponds to the JSON property `userLicenses`
|
7960
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserLicense>]
|
7961
|
+
attr_accessor :user_licenses
|
7962
|
+
|
7963
|
+
def initialize(**args)
|
7964
|
+
update!(**args)
|
7965
|
+
end
|
7966
|
+
|
7967
|
+
# Update properties of this object
|
7968
|
+
def update!(**args)
|
7969
|
+
@error_samples = args[:error_samples] if args.key?(:error_samples)
|
7970
|
+
@user_licenses = args[:user_licenses] if args.key?(:user_licenses)
|
7971
|
+
end
|
7972
|
+
end
|
7973
|
+
|
7848
7974
|
# Request message for SiteSearchEngineService.BatchVerifyTargetSites method.
|
7849
7975
|
class GoogleCloudDiscoveryengineV1alphaBatchVerifyTargetSitesRequest
|
7850
7976
|
include Google::Apis::Core::Hashable
|
@@ -8232,7 +8358,8 @@ module Google
|
|
8232
8358
|
alias_method :grounding_check_required?, :grounding_check_required
|
8233
8359
|
|
8234
8360
|
# Confidence score for the claim in the answer candidate, in the range of [0, 1].
|
8235
|
-
# This is set only when
|
8361
|
+
# This is set only when `CheckGroundingRequest.grounding_spec.
|
8362
|
+
# enable_claim_level_score` is true.
|
8236
8363
|
# Corresponds to the JSON property `score`
|
8237
8364
|
# @return [Float]
|
8238
8365
|
attr_accessor :score
|
@@ -10103,8 +10230,10 @@ module Google
|
|
10103
10230
|
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig>]
|
10104
10231
|
attr_accessor :alert_policy_configs
|
10105
10232
|
|
10106
|
-
# Indicates whether the connector is disabled for auto run. It can be
|
10107
|
-
# pause periodical and real time sync.
|
10233
|
+
# Optional. Indicates whether the connector is disabled for auto run. It can be
|
10234
|
+
# used to pause periodical and real time sync. Update: with the introduction of
|
10235
|
+
# incremental_sync_disabled, auto_run_disabled is used to pause/disable only
|
10236
|
+
# full syncs
|
10108
10237
|
# Corresponds to the JSON property `autoRunDisabled`
|
10109
10238
|
# @return [Boolean]
|
10110
10239
|
attr_accessor :auto_run_disabled
|
@@ -10129,11 +10258,17 @@ module Google
|
|
10129
10258
|
|
10130
10259
|
# Output only. The type of connector. Each source can only map to one type. For
|
10131
10260
|
# example, salesforce, confluence and jira have THIRD_PARTY connector type. It
|
10132
|
-
# is
|
10261
|
+
# is not mutable once set by system.
|
10133
10262
|
# Corresponds to the JSON property `connectorType`
|
10134
10263
|
# @return [String]
|
10135
10264
|
attr_accessor :connector_type
|
10136
10265
|
|
10266
|
+
# Optional. Whether the END USER AUTHENTICATION connector is created in SaaS.
|
10267
|
+
# Corresponds to the JSON property `createEuaSaas`
|
10268
|
+
# @return [Boolean]
|
10269
|
+
attr_accessor :create_eua_saas
|
10270
|
+
alias_method :create_eua_saas?, :create_eua_saas
|
10271
|
+
|
10137
10272
|
# Output only. Timestamp the DataConnector was created at.
|
10138
10273
|
# Corresponds to the JSON property `createTime`
|
10139
10274
|
# @return [String]
|
@@ -10178,6 +10313,20 @@ module Google
|
|
10178
10313
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig]
|
10179
10314
|
attr_accessor :identity_schedule_config
|
10180
10315
|
|
10316
|
+
# Optional. The refresh interval specifically for incremental data syncs. If
|
10317
|
+
# unset, incremental syncs will use the default from env, set to 3hrs. The
|
10318
|
+
# minimum is 30 minutes and maximum is 7 days.
|
10319
|
+
# Corresponds to the JSON property `incrementalRefreshInterval`
|
10320
|
+
# @return [String]
|
10321
|
+
attr_accessor :incremental_refresh_interval
|
10322
|
+
|
10323
|
+
# Optional. Indicates whether incremental syncs are paused for this connector.
|
10324
|
+
# This is independent of auto_run_disabled.
|
10325
|
+
# Corresponds to the JSON property `incrementalSyncDisabled`
|
10326
|
+
# @return [Boolean]
|
10327
|
+
attr_accessor :incremental_sync_disabled
|
10328
|
+
alias_method :incremental_sync_disabled?, :incremental_sync_disabled
|
10329
|
+
|
10181
10330
|
# Input only. The KMS key to be used to protect the DataStores managed by this
|
10182
10331
|
# connector. Must be set for requests that need to comply with CMEK Org Policy
|
10183
10332
|
# protections. If this field is set and processed successfully, the DataStores
|
@@ -10316,6 +10465,7 @@ module Google
|
|
10316
10465
|
@blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
|
10317
10466
|
@connector_modes = args[:connector_modes] if args.key?(:connector_modes)
|
10318
10467
|
@connector_type = args[:connector_type] if args.key?(:connector_type)
|
10468
|
+
@create_eua_saas = args[:create_eua_saas] if args.key?(:create_eua_saas)
|
10319
10469
|
@create_time = args[:create_time] if args.key?(:create_time)
|
10320
10470
|
@data_source = args[:data_source] if args.key?(:data_source)
|
10321
10471
|
@destination_configs = args[:destination_configs] if args.key?(:destination_configs)
|
@@ -10324,6 +10474,8 @@ module Google
|
|
10324
10474
|
@errors = args[:errors] if args.key?(:errors)
|
10325
10475
|
@identity_refresh_interval = args[:identity_refresh_interval] if args.key?(:identity_refresh_interval)
|
10326
10476
|
@identity_schedule_config = args[:identity_schedule_config] if args.key?(:identity_schedule_config)
|
10477
|
+
@incremental_refresh_interval = args[:incremental_refresh_interval] if args.key?(:incremental_refresh_interval)
|
10478
|
+
@incremental_sync_disabled = args[:incremental_sync_disabled] if args.key?(:incremental_sync_disabled)
|
10327
10479
|
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
10328
10480
|
@last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time)
|
10329
10481
|
@latest_pause_time = args[:latest_pause_time] if args.key?(:latest_pause_time)
|
@@ -10558,10 +10710,10 @@ module Google
|
|
10558
10710
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLanguageInfo]
|
10559
10711
|
attr_accessor :language_info
|
10560
10712
|
|
10561
|
-
# Immutable. The full resource name of the data store. Format: `
|
10562
|
-
# project`/locations/`location`/collections/`collection_id`/dataStores
|
10563
|
-
# data_store_id``. This field must be a UTF-8 encoded string with a length
|
10564
|
-
# of 1024 characters.
|
10713
|
+
# Immutable. Identifier. The full resource name of the data store. Format: `
|
10714
|
+
# projects/`project`/locations/`location`/collections/`collection_id`/dataStores/
|
10715
|
+
# `data_store_id``. This field must be a UTF-8 encoded string with a length
|
10716
|
+
# limit of 1024 characters.
|
10565
10717
|
# Corresponds to the JSON property `name`
|
10566
10718
|
# @return [String]
|
10567
10719
|
attr_accessor :name
|
@@ -10678,7 +10830,8 @@ module Google
|
|
10678
10830
|
class GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore
|
10679
10831
|
include Google::Apis::Core::Hashable
|
10680
10832
|
|
10681
|
-
# If set true, the DataStore will not be available for serving search
|
10833
|
+
# Optional. If set true, the DataStore will not be available for serving search
|
10834
|
+
# requests.
|
10682
10835
|
# Corresponds to the JSON property `disabledForServing`
|
10683
10836
|
# @return [Boolean]
|
10684
10837
|
attr_accessor :disabled_for_serving
|
@@ -11710,12 +11863,12 @@ module Google
|
|
11710
11863
|
# @return [String]
|
11711
11864
|
attr_accessor :create_time
|
11712
11865
|
|
11713
|
-
# The data stores associated with this engine. For
|
11714
|
-
# SOLUTION_TYPE_RECOMMENDATION type of engines, they
|
11715
|
-
# most one data store. If solution_type is
|
11716
|
-
# DataStores in the same Collection can be
|
11717
|
-
# in CreateEngineRequest, one DataStore id
|
11718
|
-
# use it for necessary initializations.
|
11866
|
+
# Optional. The data stores associated with this engine. For
|
11867
|
+
# SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they
|
11868
|
+
# can only associate with at most one data store. If solution_type is
|
11869
|
+
# SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be
|
11870
|
+
# associated here. Note that when used in CreateEngineRequest, one DataStore id
|
11871
|
+
# must be provided as the system will use it for necessary initializations.
|
11719
11872
|
# Corresponds to the JSON property `dataStoreIds`
|
11720
11873
|
# @return [Array<String>]
|
11721
11874
|
attr_accessor :data_store_ids
|
@@ -11732,9 +11885,9 @@ module Google
|
|
11732
11885
|
# @return [String]
|
11733
11886
|
attr_accessor :display_name
|
11734
11887
|
|
11735
|
-
# The industry vertical that the engine registers. The restriction of
|
11736
|
-
# industry vertical is based on DataStore: Vertical on Engine has to
|
11737
|
-
# vertical of the DataStore linked to the engine.
|
11888
|
+
# Optional. The industry vertical that the engine registers. The restriction of
|
11889
|
+
# the Engine industry vertical is based on DataStore: Vertical on Engine has to
|
11890
|
+
# match vertical of the DataStore linked to the engine.
|
11738
11891
|
# Corresponds to the JSON property `industryVertical`
|
11739
11892
|
# @return [String]
|
11740
11893
|
attr_accessor :industry_vertical
|
@@ -11744,11 +11897,11 @@ module Google
|
|
11744
11897
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig]
|
11745
11898
|
attr_accessor :media_recommendation_engine_config
|
11746
11899
|
|
11747
|
-
# Immutable. The fully qualified resource name of the engine. This
|
11748
|
-
# a UTF-8 encoded string with a length limit of 1024 characters.
|
11749
|
-
# projects/`project`/locations/`location`/collections/`collection`/
|
11750
|
-
# engine`` engine should be 1-63 characters, and valid characters are /
|
11751
|
-
# Otherwise, an INVALID_ARGUMENT error is returned.
|
11900
|
+
# Immutable. Identifier. The fully qualified resource name of the engine. This
|
11901
|
+
# field must be a UTF-8 encoded string with a length limit of 1024 characters.
|
11902
|
+
# Format: `projects/`project`/locations/`location`/collections/`collection`/
|
11903
|
+
# engines/`engine`` engine should be 1-63 characters, and valid characters are /
|
11904
|
+
# a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned.
|
11752
11905
|
# Corresponds to the JSON property `name`
|
11753
11906
|
# @return [String]
|
11754
11907
|
attr_accessor :name
|
@@ -14696,6 +14849,32 @@ module Google
|
|
14696
14849
|
end
|
14697
14850
|
end
|
14698
14851
|
|
14852
|
+
# Response message for UserLicenseService.ListUserLicenses.
|
14853
|
+
class GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse
|
14854
|
+
include Google::Apis::Core::Hashable
|
14855
|
+
|
14856
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
14857
|
+
# field is omitted, there are no subsequent pages.
|
14858
|
+
# Corresponds to the JSON property `nextPageToken`
|
14859
|
+
# @return [String]
|
14860
|
+
attr_accessor :next_page_token
|
14861
|
+
|
14862
|
+
# All the customer's UserLicenses.
|
14863
|
+
# Corresponds to the JSON property `userLicenses`
|
14864
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserLicense>]
|
14865
|
+
attr_accessor :user_licenses
|
14866
|
+
|
14867
|
+
def initialize(**args)
|
14868
|
+
update!(**args)
|
14869
|
+
end
|
14870
|
+
|
14871
|
+
# Update properties of this object
|
14872
|
+
def update!(**args)
|
14873
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
14874
|
+
@user_licenses = args[:user_licenses] if args.key?(:user_licenses)
|
14875
|
+
end
|
14876
|
+
end
|
14877
|
+
|
14699
14878
|
# Media-specific user event information.
|
14700
14879
|
class GoogleCloudDiscoveryengineV1alphaMediaInfo
|
14701
14880
|
include Google::Apis::Core::Hashable
|
@@ -17894,6 +18073,14 @@ module Google
|
|
17894
18073
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec]
|
17895
18074
|
attr_accessor :boost_spec
|
17896
18075
|
|
18076
|
+
# Optional. Custom search operators which if specified will be used to filter
|
18077
|
+
# results from workspace data stores. For more information on custom search
|
18078
|
+
# operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/
|
18079
|
+
# 6172299).
|
18080
|
+
# Corresponds to the JSON property `customSearchOperators`
|
18081
|
+
# @return [String]
|
18082
|
+
attr_accessor :custom_search_operators
|
18083
|
+
|
17897
18084
|
# Required. Full resource name of DataStore, such as `projects/`project`/
|
17898
18085
|
# locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
|
17899
18086
|
# Corresponds to the JSON property `dataStore`
|
@@ -17914,6 +18101,7 @@ module Google
|
|
17914
18101
|
# Update properties of this object
|
17915
18102
|
def update!(**args)
|
17916
18103
|
@boost_spec = args[:boost_spec] if args.key?(:boost_spec)
|
18104
|
+
@custom_search_operators = args[:custom_search_operators] if args.key?(:custom_search_operators)
|
17917
18105
|
@data_store = args[:data_store] if args.key?(:data_store)
|
17918
18106
|
@filter = args[:filter] if args.key?(:filter)
|
17919
18107
|
end
|
@@ -18626,12 +18814,6 @@ module Google
|
|
18626
18814
|
# @return [String]
|
18627
18815
|
attr_accessor :rewritten_query
|
18628
18816
|
|
18629
|
-
# The SQL request that was generated from the natural language query
|
18630
|
-
# understanding phase.
|
18631
|
-
# Corresponds to the JSON property `sqlRequest`
|
18632
|
-
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest]
|
18633
|
-
attr_accessor :sql_request
|
18634
|
-
|
18635
18817
|
# The filters that were extracted from the input query represented in a
|
18636
18818
|
# structured form.
|
18637
18819
|
# Corresponds to the JSON property `structuredExtractedFilter`
|
@@ -18647,31 +18829,10 @@ module Google
|
|
18647
18829
|
@classified_intents = args[:classified_intents] if args.key?(:classified_intents)
|
18648
18830
|
@extracted_filters = args[:extracted_filters] if args.key?(:extracted_filters)
|
18649
18831
|
@rewritten_query = args[:rewritten_query] if args.key?(:rewritten_query)
|
18650
|
-
@sql_request = args[:sql_request] if args.key?(:sql_request)
|
18651
18832
|
@structured_extracted_filter = args[:structured_extracted_filter] if args.key?(:structured_extracted_filter)
|
18652
18833
|
end
|
18653
18834
|
end
|
18654
18835
|
|
18655
|
-
# The SQL request that was generated from the natural language query
|
18656
|
-
# understanding phase.
|
18657
|
-
class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest
|
18658
|
-
include Google::Apis::Core::Hashable
|
18659
|
-
|
18660
|
-
# Optional. The SQL query in text format.
|
18661
|
-
# Corresponds to the JSON property `sqlQuery`
|
18662
|
-
# @return [String]
|
18663
|
-
attr_accessor :sql_query
|
18664
|
-
|
18665
|
-
def initialize(**args)
|
18666
|
-
update!(**args)
|
18667
|
-
end
|
18668
|
-
|
18669
|
-
# Update properties of this object
|
18670
|
-
def update!(**args)
|
18671
|
-
@sql_query = args[:sql_query] if args.key?(:sql_query)
|
18672
|
-
end
|
18673
|
-
end
|
18674
|
-
|
18675
18836
|
# The filters that were extracted from the input query represented in a
|
18676
18837
|
# structured form.
|
18677
18838
|
class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter
|
@@ -20996,6 +21157,79 @@ module Google
|
|
20996
21157
|
end
|
20997
21158
|
end
|
20998
21159
|
|
21160
|
+
# User License information assigned by the admin.
|
21161
|
+
class GoogleCloudDiscoveryengineV1alphaUserLicense
|
21162
|
+
include Google::Apis::Core::Hashable
|
21163
|
+
|
21164
|
+
# Output only. User created timestamp.
|
21165
|
+
# Corresponds to the JSON property `createTime`
|
21166
|
+
# @return [String]
|
21167
|
+
attr_accessor :create_time
|
21168
|
+
|
21169
|
+
# Output only. User last logged in time. If the user has not logged in yet, this
|
21170
|
+
# field will be empty.
|
21171
|
+
# Corresponds to the JSON property `lastLoginTime`
|
21172
|
+
# @return [String]
|
21173
|
+
attr_accessor :last_login_time
|
21174
|
+
|
21175
|
+
# Output only. License assignment state of the user. If the user is assigned
|
21176
|
+
# with a license config, the user loggin will be assigned with the license; If
|
21177
|
+
# the user's license assignment state is unassigned or unspecified, no license
|
21178
|
+
# config will be associated to the user;
|
21179
|
+
# Corresponds to the JSON property `licenseAssignmentState`
|
21180
|
+
# @return [String]
|
21181
|
+
attr_accessor :license_assignment_state
|
21182
|
+
|
21183
|
+
# Optional. The full resource name of the Subscription(LicenseConfig) assigned
|
21184
|
+
# to the user.
|
21185
|
+
# Corresponds to the JSON property `licenseConfig`
|
21186
|
+
# @return [String]
|
21187
|
+
attr_accessor :license_config
|
21188
|
+
|
21189
|
+
# Output only. User update timestamp.
|
21190
|
+
# Corresponds to the JSON property `updateTime`
|
21191
|
+
# @return [String]
|
21192
|
+
attr_accessor :update_time
|
21193
|
+
|
21194
|
+
# Optional. The full resource name of the User, in the format of `projects/`
|
21195
|
+
# project`/locations/`location`/userStores/`user_store`/users/`user_id``. This
|
21196
|
+
# field must be a UTF-8 encoded string with a length limit of 2048 characters.
|
21197
|
+
# If the user field is empty, it's indicating the user has not logged in yet and
|
21198
|
+
# no User entity is created.
|
21199
|
+
# Corresponds to the JSON property `user`
|
21200
|
+
# @return [String]
|
21201
|
+
attr_accessor :user
|
21202
|
+
|
21203
|
+
# Required. Immutable. The user principal of the User, could be email address or
|
21204
|
+
# other prinical identifier. This field is immutable. Admin assign licenses
|
21205
|
+
# based on the user principal.
|
21206
|
+
# Corresponds to the JSON property `userPrincipal`
|
21207
|
+
# @return [String]
|
21208
|
+
attr_accessor :user_principal
|
21209
|
+
|
21210
|
+
# Optional. The user profile. We user user full name(First name + Last name) as
|
21211
|
+
# user profile.
|
21212
|
+
# Corresponds to the JSON property `userProfile`
|
21213
|
+
# @return [String]
|
21214
|
+
attr_accessor :user_profile
|
21215
|
+
|
21216
|
+
def initialize(**args)
|
21217
|
+
update!(**args)
|
21218
|
+
end
|
21219
|
+
|
21220
|
+
# Update properties of this object
|
21221
|
+
def update!(**args)
|
21222
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
21223
|
+
@last_login_time = args[:last_login_time] if args.key?(:last_login_time)
|
21224
|
+
@license_assignment_state = args[:license_assignment_state] if args.key?(:license_assignment_state)
|
21225
|
+
@license_config = args[:license_config] if args.key?(:license_config)
|
21226
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
21227
|
+
@user = args[:user] if args.key?(:user)
|
21228
|
+
@user_principal = args[:user_principal] if args.key?(:user_principal)
|
21229
|
+
@user_profile = args[:user_profile] if args.key?(:user_profile)
|
21230
|
+
end
|
21231
|
+
end
|
21232
|
+
|
20999
21233
|
# WidgetConfig captures configs at the Widget level.
|
21000
21234
|
class GoogleCloudDiscoveryengineV1alphaWidgetConfig
|
21001
21235
|
include Google::Apis::Core::Hashable
|
@@ -21089,6 +21323,12 @@ module Google
|
|
21089
21323
|
attr_accessor :enable_conversational_search
|
21090
21324
|
alias_method :enable_conversational_search?, :enable_conversational_search
|
21091
21325
|
|
21326
|
+
# Optional. Output only. Whether to enable private knowledge graph.
|
21327
|
+
# Corresponds to the JSON property `enablePrivateKnowledgeGraph`
|
21328
|
+
# @return [Boolean]
|
21329
|
+
attr_accessor :enable_private_knowledge_graph
|
21330
|
+
alias_method :enable_private_knowledge_graph?, :enable_private_knowledge_graph
|
21331
|
+
|
21092
21332
|
# Turn on or off collecting the search result quality feedback from end users.
|
21093
21333
|
# Corresponds to the JSON property `enableQualityFeedback`
|
21094
21334
|
# @return [Boolean]
|
@@ -21232,6 +21472,7 @@ module Google
|
|
21232
21472
|
@display_name = args[:display_name] if args.key?(:display_name)
|
21233
21473
|
@enable_autocomplete = args[:enable_autocomplete] if args.key?(:enable_autocomplete)
|
21234
21474
|
@enable_conversational_search = args[:enable_conversational_search] if args.key?(:enable_conversational_search)
|
21475
|
+
@enable_private_knowledge_graph = args[:enable_private_knowledge_graph] if args.key?(:enable_private_knowledge_graph)
|
21235
21476
|
@enable_quality_feedback = args[:enable_quality_feedback] if args.key?(:enable_quality_feedback)
|
21236
21477
|
@enable_result_score = args[:enable_result_score] if args.key?(:enable_result_score)
|
21237
21478
|
@enable_safe_search = args[:enable_safe_search] if args.key?(:enable_safe_search)
|
@@ -22707,10 +22948,10 @@ module Google
|
|
22707
22948
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaLanguageInfo]
|
22708
22949
|
attr_accessor :language_info
|
22709
22950
|
|
22710
|
-
# Immutable. The full resource name of the data store. Format: `
|
22711
|
-
# project`/locations/`location`/collections/`collection_id`/dataStores
|
22712
|
-
# data_store_id``. This field must be a UTF-8 encoded string with a length
|
22713
|
-
# of 1024 characters.
|
22951
|
+
# Immutable. Identifier. The full resource name of the data store. Format: `
|
22952
|
+
# projects/`project`/locations/`location`/collections/`collection_id`/dataStores/
|
22953
|
+
# `data_store_id``. This field must be a UTF-8 encoded string with a length
|
22954
|
+
# limit of 1024 characters.
|
22714
22955
|
# Corresponds to the JSON property `name`
|
22715
22956
|
# @return [String]
|
22716
22957
|
attr_accessor :name
|
@@ -22826,7 +23067,8 @@ module Google
|
|
22826
23067
|
class GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore
|
22827
23068
|
include Google::Apis::Core::Hashable
|
22828
23069
|
|
22829
|
-
# If set true, the DataStore will not be available for serving search
|
23070
|
+
# Optional. If set true, the DataStore will not be available for serving search
|
23071
|
+
# requests.
|
22830
23072
|
# Corresponds to the JSON property `disabledForServing`
|
22831
23073
|
# @return [Boolean]
|
22832
23074
|
attr_accessor :disabled_for_serving
|
@@ -23368,12 +23610,12 @@ module Google
|
|
23368
23610
|
# @return [String]
|
23369
23611
|
attr_accessor :create_time
|
23370
23612
|
|
23371
|
-
# The data stores associated with this engine. For
|
23372
|
-
# SOLUTION_TYPE_RECOMMENDATION type of engines, they
|
23373
|
-
# most one data store. If solution_type is
|
23374
|
-
# DataStores in the same Collection can be
|
23375
|
-
# in CreateEngineRequest, one DataStore id
|
23376
|
-
# use it for necessary initializations.
|
23613
|
+
# Optional. The data stores associated with this engine. For
|
23614
|
+
# SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they
|
23615
|
+
# can only associate with at most one data store. If solution_type is
|
23616
|
+
# SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be
|
23617
|
+
# associated here. Note that when used in CreateEngineRequest, one DataStore id
|
23618
|
+
# must be provided as the system will use it for necessary initializations.
|
23377
23619
|
# Corresponds to the JSON property `dataStoreIds`
|
23378
23620
|
# @return [Array<String>]
|
23379
23621
|
attr_accessor :data_store_ids
|
@@ -23390,9 +23632,9 @@ module Google
|
|
23390
23632
|
# @return [String]
|
23391
23633
|
attr_accessor :display_name
|
23392
23634
|
|
23393
|
-
# The industry vertical that the engine registers. The restriction of
|
23394
|
-
# industry vertical is based on DataStore: Vertical on Engine has to
|
23395
|
-
# vertical of the DataStore linked to the engine.
|
23635
|
+
# Optional. The industry vertical that the engine registers. The restriction of
|
23636
|
+
# the Engine industry vertical is based on DataStore: Vertical on Engine has to
|
23637
|
+
# match vertical of the DataStore linked to the engine.
|
23396
23638
|
# Corresponds to the JSON property `industryVertical`
|
23397
23639
|
# @return [String]
|
23398
23640
|
attr_accessor :industry_vertical
|
@@ -23402,11 +23644,11 @@ module Google
|
|
23402
23644
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig]
|
23403
23645
|
attr_accessor :media_recommendation_engine_config
|
23404
23646
|
|
23405
|
-
# Immutable. The fully qualified resource name of the engine. This
|
23406
|
-
# a UTF-8 encoded string with a length limit of 1024 characters.
|
23407
|
-
# projects/`project`/locations/`location`/collections/`collection`/
|
23408
|
-
# engine`` engine should be 1-63 characters, and valid characters are /
|
23409
|
-
# Otherwise, an INVALID_ARGUMENT error is returned.
|
23647
|
+
# Immutable. Identifier. The fully qualified resource name of the engine. This
|
23648
|
+
# field must be a UTF-8 encoded string with a length limit of 1024 characters.
|
23649
|
+
# Format: `projects/`project`/locations/`location`/collections/`collection`/
|
23650
|
+
# engines/`engine`` engine should be 1-63 characters, and valid characters are /
|
23651
|
+
# a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned.
|
23410
23652
|
# Corresponds to the JSON property `name`
|
23411
23653
|
# @return [String]
|
23412
23654
|
attr_accessor :name
|
@@ -25836,6 +26078,14 @@ module Google
|
|
25836
26078
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec]
|
25837
26079
|
attr_accessor :boost_spec
|
25838
26080
|
|
26081
|
+
# Optional. Custom search operators which if specified will be used to filter
|
26082
|
+
# results from workspace data stores. For more information on custom search
|
26083
|
+
# operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/
|
26084
|
+
# 6172299).
|
26085
|
+
# Corresponds to the JSON property `customSearchOperators`
|
26086
|
+
# @return [String]
|
26087
|
+
attr_accessor :custom_search_operators
|
26088
|
+
|
25839
26089
|
# Required. Full resource name of DataStore, such as `projects/`project`/
|
25840
26090
|
# locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
|
25841
26091
|
# Corresponds to the JSON property `dataStore`
|
@@ -25856,6 +26106,7 @@ module Google
|
|
25856
26106
|
# Update properties of this object
|
25857
26107
|
def update!(**args)
|
25858
26108
|
@boost_spec = args[:boost_spec] if args.key?(:boost_spec)
|
26109
|
+
@custom_search_operators = args[:custom_search_operators] if args.key?(:custom_search_operators)
|
25859
26110
|
@data_store = args[:data_store] if args.key?(:data_store)
|
25860
26111
|
@filter = args[:filter] if args.key?(:filter)
|
25861
26112
|
end
|
@@ -26814,6 +27065,12 @@ module Google
|
|
26814
27065
|
# @return [Google::Apis::DiscoveryengineV1alpha::ApiservingMediaRequestInfo]
|
26815
27066
|
attr_accessor :media_request_info
|
26816
27067
|
|
27068
|
+
# The source id of the associated file. If not set, a source id will be
|
27069
|
+
# generated and a new tentative source will be created.
|
27070
|
+
# Corresponds to the JSON property `sourceId`
|
27071
|
+
# @return [String]
|
27072
|
+
attr_accessor :source_id
|
27073
|
+
|
26817
27074
|
def initialize(**args)
|
26818
27075
|
update!(**args)
|
26819
27076
|
end
|
@@ -26822,6 +27079,7 @@ module Google
|
|
26822
27079
|
def update!(**args)
|
26823
27080
|
@blob = args[:blob] if args.key?(:blob)
|
26824
27081
|
@media_request_info = args[:media_request_info] if args.key?(:media_request_info)
|
27082
|
+
@source_id = args[:source_id] if args.key?(:source_id)
|
26825
27083
|
end
|
26826
27084
|
end
|
26827
27085
|
|
@@ -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.62.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.17.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250514"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1240,6 +1240,30 @@ module Google
|
|
1240
1240
|
include Google::Apis::Core::JsonObjectSupport
|
1241
1241
|
end
|
1242
1242
|
|
1243
|
+
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata
|
1244
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1245
|
+
|
1246
|
+
include Google::Apis::Core::JsonObjectSupport
|
1247
|
+
end
|
1248
|
+
|
1249
|
+
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest
|
1250
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1251
|
+
|
1252
|
+
include Google::Apis::Core::JsonObjectSupport
|
1253
|
+
end
|
1254
|
+
|
1255
|
+
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource
|
1256
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1257
|
+
|
1258
|
+
include Google::Apis::Core::JsonObjectSupport
|
1259
|
+
end
|
1260
|
+
|
1261
|
+
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse
|
1262
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1263
|
+
|
1264
|
+
include Google::Apis::Core::JsonObjectSupport
|
1265
|
+
end
|
1266
|
+
|
1243
1267
|
class GoogleCloudDiscoveryengineV1alphaBatchVerifyTargetSitesRequest
|
1244
1268
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1245
1269
|
|
@@ -2350,6 +2374,12 @@ module Google
|
|
2350
2374
|
include Google::Apis::Core::JsonObjectSupport
|
2351
2375
|
end
|
2352
2376
|
|
2377
|
+
class GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse
|
2378
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2379
|
+
|
2380
|
+
include Google::Apis::Core::JsonObjectSupport
|
2381
|
+
end
|
2382
|
+
|
2353
2383
|
class GoogleCloudDiscoveryengineV1alphaMediaInfo
|
2354
2384
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2355
2385
|
|
@@ -2950,12 +2980,6 @@ module Google
|
|
2950
2980
|
include Google::Apis::Core::JsonObjectSupport
|
2951
2981
|
end
|
2952
2982
|
|
2953
|
-
class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest
|
2954
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2955
|
-
|
2956
|
-
include Google::Apis::Core::JsonObjectSupport
|
2957
|
-
end
|
2958
|
-
|
2959
2983
|
class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter
|
2960
2984
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2961
2985
|
|
@@ -3316,6 +3340,12 @@ module Google
|
|
3316
3340
|
include Google::Apis::Core::JsonObjectSupport
|
3317
3341
|
end
|
3318
3342
|
|
3343
|
+
class GoogleCloudDiscoveryengineV1alphaUserLicense
|
3344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3345
|
+
|
3346
|
+
include Google::Apis::Core::JsonObjectSupport
|
3347
|
+
end
|
3348
|
+
|
3319
3349
|
class GoogleCloudDiscoveryengineV1alphaWidgetConfig
|
3320
3350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3321
3351
|
|
@@ -6381,6 +6411,46 @@ module Google
|
|
6381
6411
|
end
|
6382
6412
|
end
|
6383
6413
|
|
6414
|
+
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata
|
6415
|
+
# @private
|
6416
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6417
|
+
property :create_time, as: 'createTime'
|
6418
|
+
property :failure_count, :numeric_string => true, as: 'failureCount'
|
6419
|
+
property :success_count, :numeric_string => true, as: 'successCount'
|
6420
|
+
property :update_time, as: 'updateTime'
|
6421
|
+
end
|
6422
|
+
end
|
6423
|
+
|
6424
|
+
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest
|
6425
|
+
# @private
|
6426
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6427
|
+
property :delete_unassigned_user_licenses, as: 'deleteUnassignedUserLicenses'
|
6428
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource::Representation
|
6429
|
+
|
6430
|
+
property :inline_source, as: 'inlineSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource::Representation
|
6431
|
+
|
6432
|
+
end
|
6433
|
+
end
|
6434
|
+
|
6435
|
+
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource
|
6436
|
+
# @private
|
6437
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6438
|
+
property :update_mask, as: 'updateMask'
|
6439
|
+
collection :user_licenses, as: 'userLicenses', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserLicense, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserLicense::Representation
|
6440
|
+
|
6441
|
+
end
|
6442
|
+
end
|
6443
|
+
|
6444
|
+
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse
|
6445
|
+
# @private
|
6446
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6447
|
+
collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus::Representation
|
6448
|
+
|
6449
|
+
collection :user_licenses, as: 'userLicenses', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserLicense, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserLicense::Representation
|
6450
|
+
|
6451
|
+
end
|
6452
|
+
end
|
6453
|
+
|
6384
6454
|
class GoogleCloudDiscoveryengineV1alphaBatchVerifyTargetSitesRequest
|
6385
6455
|
# @private
|
6386
6456
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6977,6 +7047,7 @@ module Google
|
|
6977
7047
|
collection :blocking_reasons, as: 'blockingReasons'
|
6978
7048
|
collection :connector_modes, as: 'connectorModes'
|
6979
7049
|
property :connector_type, as: 'connectorType'
|
7050
|
+
property :create_eua_saas, as: 'createEuaSaas'
|
6980
7051
|
property :create_time, as: 'createTime'
|
6981
7052
|
property :data_source, as: 'dataSource'
|
6982
7053
|
collection :destination_configs, as: 'destinationConfigs', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDestinationConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDestinationConfig::Representation
|
@@ -6990,6 +7061,8 @@ module Google
|
|
6990
7061
|
property :identity_refresh_interval, as: 'identityRefreshInterval'
|
6991
7062
|
property :identity_schedule_config, as: 'identityScheduleConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig::Representation
|
6992
7063
|
|
7064
|
+
property :incremental_refresh_interval, as: 'incrementalRefreshInterval'
|
7065
|
+
property :incremental_sync_disabled, as: 'incrementalSyncDisabled'
|
6993
7066
|
property :kms_key_name, as: 'kmsKeyName'
|
6994
7067
|
property :last_sync_time, as: 'lastSyncTime'
|
6995
7068
|
property :latest_pause_time, as: 'latestPauseTime'
|
@@ -8276,6 +8349,15 @@ module Google
|
|
8276
8349
|
end
|
8277
8350
|
end
|
8278
8351
|
|
8352
|
+
class GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse
|
8353
|
+
# @private
|
8354
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8355
|
+
property :next_page_token, as: 'nextPageToken'
|
8356
|
+
collection :user_licenses, as: 'userLicenses', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserLicense, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserLicense::Representation
|
8357
|
+
|
8358
|
+
end
|
8359
|
+
end
|
8360
|
+
|
8279
8361
|
class GoogleCloudDiscoveryengineV1alphaMediaInfo
|
8280
8362
|
# @private
|
8281
8363
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9088,6 +9170,7 @@ module Google
|
|
9088
9170
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9089
9171
|
property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec::Representation
|
9090
9172
|
|
9173
|
+
property :custom_search_operators, as: 'customSearchOperators'
|
9091
9174
|
property :data_store, as: 'dataStore'
|
9092
9175
|
property :filter, as: 'filter'
|
9093
9176
|
end
|
@@ -9284,20 +9367,11 @@ module Google
|
|
9284
9367
|
collection :classified_intents, as: 'classifiedIntents'
|
9285
9368
|
property :extracted_filters, as: 'extractedFilters'
|
9286
9369
|
property :rewritten_query, as: 'rewrittenQuery'
|
9287
|
-
property :sql_request, as: 'sqlRequest', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest::Representation
|
9288
|
-
|
9289
9370
|
property :structured_extracted_filter, as: 'structuredExtractedFilter', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter::Representation
|
9290
9371
|
|
9291
9372
|
end
|
9292
9373
|
end
|
9293
9374
|
|
9294
|
-
class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest
|
9295
|
-
# @private
|
9296
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
9297
|
-
property :sql_query, as: 'sqlQuery'
|
9298
|
-
end
|
9299
|
-
end
|
9300
|
-
|
9301
9375
|
class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter
|
9302
9376
|
# @private
|
9303
9377
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9914,6 +9988,20 @@ module Google
|
|
9914
9988
|
end
|
9915
9989
|
end
|
9916
9990
|
|
9991
|
+
class GoogleCloudDiscoveryengineV1alphaUserLicense
|
9992
|
+
# @private
|
9993
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9994
|
+
property :create_time, as: 'createTime'
|
9995
|
+
property :last_login_time, as: 'lastLoginTime'
|
9996
|
+
property :license_assignment_state, as: 'licenseAssignmentState'
|
9997
|
+
property :license_config, as: 'licenseConfig'
|
9998
|
+
property :update_time, as: 'updateTime'
|
9999
|
+
property :user, as: 'user'
|
10000
|
+
property :user_principal, as: 'userPrincipal'
|
10001
|
+
property :user_profile, as: 'userProfile'
|
10002
|
+
end
|
10003
|
+
end
|
10004
|
+
|
9917
10005
|
class GoogleCloudDiscoveryengineV1alphaWidgetConfig
|
9918
10006
|
# @private
|
9919
10007
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9938,6 +10026,7 @@ module Google
|
|
9938
10026
|
property :display_name, as: 'displayName'
|
9939
10027
|
property :enable_autocomplete, as: 'enableAutocomplete'
|
9940
10028
|
property :enable_conversational_search, as: 'enableConversationalSearch'
|
10029
|
+
property :enable_private_knowledge_graph, as: 'enablePrivateKnowledgeGraph'
|
9941
10030
|
property :enable_quality_feedback, as: 'enableQualityFeedback'
|
9942
10031
|
property :enable_result_score, as: 'enableResultScore'
|
9943
10032
|
property :enable_safe_search, as: 'enableSafeSearch'
|
@@ -11182,6 +11271,7 @@ module Google
|
|
11182
11271
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11183
11272
|
property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec::Representation
|
11184
11273
|
|
11274
|
+
property :custom_search_operators, as: 'customSearchOperators'
|
11185
11275
|
property :data_store, as: 'dataStore'
|
11186
11276
|
property :filter, as: 'filter'
|
11187
11277
|
end
|
@@ -11451,6 +11541,7 @@ module Google
|
|
11451
11541
|
|
11452
11542
|
property :media_request_info, as: 'mediaRequestInfo', class: Google::Apis::DiscoveryengineV1alpha::ApiservingMediaRequestInfo, decorator: Google::Apis::DiscoveryengineV1alpha::ApiservingMediaRequestInfo::Representation
|
11453
11543
|
|
11544
|
+
property :source_id, as: 'sourceId'
|
11454
11545
|
end
|
11455
11546
|
end
|
11456
11547
|
|
@@ -1382,10 +1382,10 @@ module Google
|
|
1382
1382
|
|
1383
1383
|
# Updates a DataStore
|
1384
1384
|
# @param [String] name
|
1385
|
-
# Immutable. The full resource name of the data store. Format: `
|
1386
|
-
# project`/locations/`location`/collections/`collection_id`/dataStores
|
1387
|
-
# data_store_id``. This field must be a UTF-8 encoded string with a length
|
1388
|
-
# of 1024 characters.
|
1385
|
+
# Immutable. Identifier. The full resource name of the data store. Format: `
|
1386
|
+
# projects/`project`/locations/`location`/collections/`collection_id`/dataStores/
|
1387
|
+
# `data_store_id``. This field must be a UTF-8 encoded string with a length
|
1388
|
+
# limit of 1024 characters.
|
1389
1389
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataStore] google_cloud_discoveryengine_v1alpha_data_store_object
|
1390
1390
|
# @param [String] update_mask
|
1391
1391
|
# Indicates which fields in the provided DataStore to update. If an unsupported
|
@@ -4691,11 +4691,11 @@ module Google
|
|
4691
4691
|
|
4692
4692
|
# Updates an Engine
|
4693
4693
|
# @param [String] name
|
4694
|
-
# Immutable. The fully qualified resource name of the engine. This
|
4695
|
-
# a UTF-8 encoded string with a length limit of 1024 characters.
|
4696
|
-
# projects/`project`/locations/`location`/collections/`collection`/
|
4697
|
-
# engine`` engine should be 1-63 characters, and valid characters are /
|
4698
|
-
# Otherwise, an INVALID_ARGUMENT error is returned.
|
4694
|
+
# Immutable. Identifier. The fully qualified resource name of the engine. This
|
4695
|
+
# field must be a UTF-8 encoded string with a length limit of 1024 characters.
|
4696
|
+
# Format: `projects/`project`/locations/`location`/collections/`collection`/
|
4697
|
+
# engines/`engine`` engine should be 1-63 characters, and valid characters are /
|
4698
|
+
# a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned.
|
4699
4699
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaEngine] google_cloud_discoveryengine_v1alpha_engine_object
|
4700
4700
|
# @param [String] update_mask
|
4701
4701
|
# Indicates which fields in the provided Engine to update. If an unsupported or
|
@@ -6361,10 +6361,10 @@ module Google
|
|
6361
6361
|
|
6362
6362
|
# Updates a DataStore
|
6363
6363
|
# @param [String] name
|
6364
|
-
# Immutable. The full resource name of the data store. Format: `
|
6365
|
-
# project`/locations/`location`/collections/`collection_id`/dataStores
|
6366
|
-
# data_store_id``. This field must be a UTF-8 encoded string with a length
|
6367
|
-
# of 1024 characters.
|
6364
|
+
# Immutable. Identifier. The full resource name of the data store. Format: `
|
6365
|
+
# projects/`project`/locations/`location`/collections/`collection_id`/dataStores/
|
6366
|
+
# `data_store_id``. This field must be a UTF-8 encoded string with a length
|
6367
|
+
# limit of 1024 characters.
|
6368
6368
|
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataStore] google_cloud_discoveryengine_v1alpha_data_store_object
|
6369
6369
|
# @param [String] update_mask
|
6370
6370
|
# Indicates which fields in the provided DataStore to update. If an unsupported
|
@@ -9657,6 +9657,44 @@ module Google
|
|
9657
9657
|
execute_or_queue_command(command, &block)
|
9658
9658
|
end
|
9659
9659
|
|
9660
|
+
# Uploads a file for Notebook LM to use. Creates a Source.
|
9661
|
+
# @param [String] parent
|
9662
|
+
# Required. The parent resource where the sources will be created. Format:
|
9663
|
+
# projects/`project`/locations/`location`/notebooks/`notebook`
|
9664
|
+
# @param [String] source_id
|
9665
|
+
# The source id of the associated file. If not set, a source id will be
|
9666
|
+
# generated and a new tentative source will be created.
|
9667
|
+
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileRequest] google_cloud_notebooklm_v1alpha_upload_source_file_request_object
|
9668
|
+
# @param [String] fields
|
9669
|
+
# Selector specifying which fields to include in a partial response.
|
9670
|
+
# @param [String] quota_user
|
9671
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9672
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9673
|
+
# @param [Google::Apis::RequestOptions] options
|
9674
|
+
# Request-specific options
|
9675
|
+
#
|
9676
|
+
# @yield [result, err] Result & error if block supplied
|
9677
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileResponse] parsed result object
|
9678
|
+
# @yieldparam err [StandardError] error object if request failed
|
9679
|
+
#
|
9680
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileResponse]
|
9681
|
+
#
|
9682
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9683
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9684
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9685
|
+
def upload_project_location_notebook_source_file(parent, source_id, google_cloud_notebooklm_v1alpha_upload_source_file_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
9686
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/sources/{sourceId}:uploadFile', options)
|
9687
|
+
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileRequest::Representation
|
9688
|
+
command.request_object = google_cloud_notebooklm_v1alpha_upload_source_file_request_object
|
9689
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileResponse::Representation
|
9690
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUploadSourceFileResponse
|
9691
|
+
command.params['parent'] = parent unless parent.nil?
|
9692
|
+
command.params['sourceId'] = source_id unless source_id.nil?
|
9693
|
+
command.query['fields'] = fields unless fields.nil?
|
9694
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9695
|
+
execute_or_queue_command(command, &block)
|
9696
|
+
end
|
9697
|
+
|
9660
9698
|
# Gets the latest state of a long-running operation. Clients can use this method
|
9661
9699
|
# to poll the operation result at intervals as recommended by the API service.
|
9662
9700
|
# @param [String] name
|
@@ -10426,6 +10464,41 @@ module Google
|
|
10426
10464
|
execute_or_queue_command(command, &block)
|
10427
10465
|
end
|
10428
10466
|
|
10467
|
+
# Updates the User License. This method is used for batch assign/unassign
|
10468
|
+
# licenses to users.
|
10469
|
+
# @param [String] parent
|
10470
|
+
# Required. The parent UserStore resource name, format: `projects/`project`/
|
10471
|
+
# locations/`location`/userStores/`user_store_id``.
|
10472
|
+
# @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest] google_cloud_discoveryengine_v1alpha_batch_update_user_licenses_request_object
|
10473
|
+
# @param [String] fields
|
10474
|
+
# Selector specifying which fields to include in a partial response.
|
10475
|
+
# @param [String] quota_user
|
10476
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10477
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10478
|
+
# @param [Google::Apis::RequestOptions] options
|
10479
|
+
# Request-specific options
|
10480
|
+
#
|
10481
|
+
# @yield [result, err] Result & error if block supplied
|
10482
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
|
10483
|
+
# @yieldparam err [StandardError] error object if request failed
|
10484
|
+
#
|
10485
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
|
10486
|
+
#
|
10487
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10488
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10489
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10490
|
+
def batch_project_location_user_store_update_user_licenses(parent, google_cloud_discoveryengine_v1alpha_batch_update_user_licenses_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
10491
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}:batchUpdateUserLicenses', options)
|
10492
|
+
command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest::Representation
|
10493
|
+
command.request_object = google_cloud_discoveryengine_v1alpha_batch_update_user_licenses_request_object
|
10494
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
|
10495
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
|
10496
|
+
command.params['parent'] = parent unless parent.nil?
|
10497
|
+
command.query['fields'] = fields unless fields.nil?
|
10498
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10499
|
+
execute_or_queue_command(command, &block)
|
10500
|
+
end
|
10501
|
+
|
10429
10502
|
# Gets the latest state of a long-running operation. Clients can use this method
|
10430
10503
|
# to poll the operation result at intervals as recommended by the API service.
|
10431
10504
|
# @param [String] name
|
@@ -10497,6 +10570,58 @@ module Google
|
|
10497
10570
|
execute_or_queue_command(command, &block)
|
10498
10571
|
end
|
10499
10572
|
|
10573
|
+
# Lists the User Licenses.
|
10574
|
+
# @param [String] parent
|
10575
|
+
# Required. The parent UserStore resource name, format: `projects/`project`/
|
10576
|
+
# locations/`location`/userStores/`user_store_id``.
|
10577
|
+
# @param [String] filter
|
10578
|
+
# Optional. Filter for the list request. Supported fields: * `
|
10579
|
+
# license_assignment_state` Examples: * `license_assignment_state = ASSIGNED` to
|
10580
|
+
# list assigned user licenses. * `license_assignment_state = NO_LICENSE` to list
|
10581
|
+
# not licensed users. * `license_assignment_state = NO_LICENSE_ATTEMPTED_LOGIN`
|
10582
|
+
# to list users who attempted login but no license assigned. * `
|
10583
|
+
# license_assignment_state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users
|
10584
|
+
# who attempted login but no license assigned.
|
10585
|
+
# @param [Fixnum] page_size
|
10586
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
10587
|
+
# If unspecified, defaults to 10. The maximum value is 50; values above 50 will
|
10588
|
+
# be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is
|
10589
|
+
# returned.
|
10590
|
+
# @param [String] page_token
|
10591
|
+
# Optional. A page token, received from a previous `ListUserLicenses` call.
|
10592
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
10593
|
+
# parameters provided to `ListUserLicenses` must match the call that provided
|
10594
|
+
# the page token.
|
10595
|
+
# @param [String] fields
|
10596
|
+
# Selector specifying which fields to include in a partial response.
|
10597
|
+
# @param [String] quota_user
|
10598
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
10599
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
10600
|
+
# @param [Google::Apis::RequestOptions] options
|
10601
|
+
# Request-specific options
|
10602
|
+
#
|
10603
|
+
# @yield [result, err] Result & error if block supplied
|
10604
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse] parsed result object
|
10605
|
+
# @yieldparam err [StandardError] error object if request failed
|
10606
|
+
#
|
10607
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse]
|
10608
|
+
#
|
10609
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10610
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10611
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10612
|
+
def list_project_location_user_store_user_licenses(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
10613
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/userLicenses', options)
|
10614
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse::Representation
|
10615
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse
|
10616
|
+
command.params['parent'] = parent unless parent.nil?
|
10617
|
+
command.query['filter'] = filter unless filter.nil?
|
10618
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
10619
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
10620
|
+
command.query['fields'] = fields unless fields.nil?
|
10621
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10622
|
+
execute_or_queue_command(command, &block)
|
10623
|
+
end
|
10624
|
+
|
10500
10625
|
# Gets the latest state of a long-running operation. Clients can use this method
|
10501
10626
|
# to poll the operation result at intervals as recommended by the API service.
|
10502
10627
|
# @param [String] name
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-discoveryengine_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.62.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.62.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -66,14 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
67
67
|
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
69
|
+
version: '3.1'
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.8
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Discovery Engine API V1alpha
|
79
79
|
test_files: []
|