google-apis-discoveryengine_v1beta 0.63.0 → 0.64.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_v1beta/classes.rb +325 -29
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +3 -3
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +122 -15
- data/lib/google/apis/discoveryengine_v1beta/service.rb +87 -0
- 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: 0a8e8ddcedd99e43c603b2c6a3bd9606094a2a718cc6a9ec2d7810ecc558ecfe
|
4
|
+
data.tar.gz: b079ec900b52db23f65624a9f5371cf351d887f36b16c5ea997f5c094766dc0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20132ec7c533e64c355f39dd0be2680d742c73908e300dbeb80d2ae3cdf0de79756d055bef807924114b3a3ae32f526876ce36d75feb396814fe28377a954edc
|
7
|
+
data.tar.gz: 9e540de6e6e4096b87d0dcde0b0a4315e86bb56cbd51170f3998e1b8197d8dee661a6e5c2ea3db8de9f76776ecab3f36752f3bc5c762043f20e34c41c5fba74e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-discoveryengine_v1beta
|
2
2
|
|
3
|
+
### v0.64.0 (2025-05-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250508
|
6
|
+
* Regenerated using generator version 0.17.0
|
7
|
+
|
3
8
|
### v0.63.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
|
|
@@ -5387,6 +5387,71 @@ module Google
|
|
5387
5387
|
end
|
5388
5388
|
end
|
5389
5389
|
|
5390
|
+
# Metadata related to the progress of the UserLicenseService.
|
5391
|
+
# BatchUpdateUserLicenses operation. This will be returned by the google.
|
5392
|
+
# longrunning.Operation.metadata field.
|
5393
|
+
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata
|
5394
|
+
include Google::Apis::Core::Hashable
|
5395
|
+
|
5396
|
+
# Operation create time.
|
5397
|
+
# Corresponds to the JSON property `createTime`
|
5398
|
+
# @return [String]
|
5399
|
+
attr_accessor :create_time
|
5400
|
+
|
5401
|
+
# Count of user licenses that failed to be updated.
|
5402
|
+
# Corresponds to the JSON property `failureCount`
|
5403
|
+
# @return [Fixnum]
|
5404
|
+
attr_accessor :failure_count
|
5405
|
+
|
5406
|
+
# Count of user licenses successfully updated.
|
5407
|
+
# Corresponds to the JSON property `successCount`
|
5408
|
+
# @return [Fixnum]
|
5409
|
+
attr_accessor :success_count
|
5410
|
+
|
5411
|
+
# Operation last update time. If the operation is done, this is also the finish
|
5412
|
+
# time.
|
5413
|
+
# Corresponds to the JSON property `updateTime`
|
5414
|
+
# @return [String]
|
5415
|
+
attr_accessor :update_time
|
5416
|
+
|
5417
|
+
def initialize(**args)
|
5418
|
+
update!(**args)
|
5419
|
+
end
|
5420
|
+
|
5421
|
+
# Update properties of this object
|
5422
|
+
def update!(**args)
|
5423
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
5424
|
+
@failure_count = args[:failure_count] if args.key?(:failure_count)
|
5425
|
+
@success_count = args[:success_count] if args.key?(:success_count)
|
5426
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
5427
|
+
end
|
5428
|
+
end
|
5429
|
+
|
5430
|
+
# Response message for UserLicenseService.BatchUpdateUserLicenses method.
|
5431
|
+
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse
|
5432
|
+
include Google::Apis::Core::Hashable
|
5433
|
+
|
5434
|
+
# A sample of errors encountered while processing the request.
|
5435
|
+
# Corresponds to the JSON property `errorSamples`
|
5436
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus>]
|
5437
|
+
attr_accessor :error_samples
|
5438
|
+
|
5439
|
+
# UserLicenses successfully updated.
|
5440
|
+
# Corresponds to the JSON property `userLicenses`
|
5441
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaUserLicense>]
|
5442
|
+
attr_accessor :user_licenses
|
5443
|
+
|
5444
|
+
def initialize(**args)
|
5445
|
+
update!(**args)
|
5446
|
+
end
|
5447
|
+
|
5448
|
+
# Update properties of this object
|
5449
|
+
def update!(**args)
|
5450
|
+
@error_samples = args[:error_samples] if args.key?(:error_samples)
|
5451
|
+
@user_licenses = args[:user_licenses] if args.key?(:user_licenses)
|
5452
|
+
end
|
5453
|
+
end
|
5454
|
+
|
5390
5455
|
# Configurations used to enable CMEK data encryption with Cloud KMS keys.
|
5391
5456
|
class GoogleCloudDiscoveryengineV1alphaCmekConfig
|
5392
5457
|
include Google::Apis::Core::Hashable
|
@@ -6351,11 +6416,17 @@ module Google
|
|
6351
6416
|
|
6352
6417
|
# Output only. The type of connector. Each source can only map to one type. For
|
6353
6418
|
# example, salesforce, confluence and jira have THIRD_PARTY connector type. It
|
6354
|
-
# is
|
6419
|
+
# is not mutable once set by system.
|
6355
6420
|
# Corresponds to the JSON property `connectorType`
|
6356
6421
|
# @return [String]
|
6357
6422
|
attr_accessor :connector_type
|
6358
6423
|
|
6424
|
+
# Optional. Whether the END USER AUTHENTICATION connector is created in SaaS.
|
6425
|
+
# Corresponds to the JSON property `createEuaSaas`
|
6426
|
+
# @return [Boolean]
|
6427
|
+
attr_accessor :create_eua_saas
|
6428
|
+
alias_method :create_eua_saas?, :create_eua_saas
|
6429
|
+
|
6359
6430
|
# Output only. Timestamp the DataConnector was created at.
|
6360
6431
|
# Corresponds to the JSON property `createTime`
|
6361
6432
|
# @return [String]
|
@@ -6538,6 +6609,7 @@ module Google
|
|
6538
6609
|
@blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
|
6539
6610
|
@connector_modes = args[:connector_modes] if args.key?(:connector_modes)
|
6540
6611
|
@connector_type = args[:connector_type] if args.key?(:connector_type)
|
6612
|
+
@create_eua_saas = args[:create_eua_saas] if args.key?(:create_eua_saas)
|
6541
6613
|
@create_time = args[:create_time] if args.key?(:create_time)
|
6542
6614
|
@data_source = args[:data_source] if args.key?(:data_source)
|
6543
6615
|
@destination_configs = args[:destination_configs] if args.key?(:destination_configs)
|
@@ -10889,6 +10961,14 @@ module Google
|
|
10889
10961
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec]
|
10890
10962
|
attr_accessor :boost_spec
|
10891
10963
|
|
10964
|
+
# Optional. Custom search operators which if specified will be used to filter
|
10965
|
+
# results from workspace data stores. For more information on custom search
|
10966
|
+
# operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/
|
10967
|
+
# 6172299).
|
10968
|
+
# Corresponds to the JSON property `customSearchOperators`
|
10969
|
+
# @return [String]
|
10970
|
+
attr_accessor :custom_search_operators
|
10971
|
+
|
10892
10972
|
# Required. Full resource name of DataStore, such as `projects/`project`/
|
10893
10973
|
# locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
|
10894
10974
|
# Corresponds to the JSON property `dataStore`
|
@@ -10909,6 +10989,7 @@ module Google
|
|
10909
10989
|
# Update properties of this object
|
10910
10990
|
def update!(**args)
|
10911
10991
|
@boost_spec = args[:boost_spec] if args.key?(:boost_spec)
|
10992
|
+
@custom_search_operators = args[:custom_search_operators] if args.key?(:custom_search_operators)
|
10912
10993
|
@data_store = args[:data_store] if args.key?(:data_store)
|
10913
10994
|
@filter = args[:filter] if args.key?(:filter)
|
10914
10995
|
end
|
@@ -12028,6 +12109,79 @@ module Google
|
|
12028
12109
|
end
|
12029
12110
|
end
|
12030
12111
|
|
12112
|
+
# User License information assigned by the admin.
|
12113
|
+
class GoogleCloudDiscoveryengineV1alphaUserLicense
|
12114
|
+
include Google::Apis::Core::Hashable
|
12115
|
+
|
12116
|
+
# Output only. User created timestamp.
|
12117
|
+
# Corresponds to the JSON property `createTime`
|
12118
|
+
# @return [String]
|
12119
|
+
attr_accessor :create_time
|
12120
|
+
|
12121
|
+
# Output only. User last logged in time. If the user has not logged in yet, this
|
12122
|
+
# field will be empty.
|
12123
|
+
# Corresponds to the JSON property `lastLoginTime`
|
12124
|
+
# @return [String]
|
12125
|
+
attr_accessor :last_login_time
|
12126
|
+
|
12127
|
+
# Output only. License assignment state of the user. If the user is assigned
|
12128
|
+
# with a license config, the user loggin will be assigned with the license; If
|
12129
|
+
# the user's license assignment state is unassigned or unspecified, no license
|
12130
|
+
# config will be associated to the user;
|
12131
|
+
# Corresponds to the JSON property `licenseAssignmentState`
|
12132
|
+
# @return [String]
|
12133
|
+
attr_accessor :license_assignment_state
|
12134
|
+
|
12135
|
+
# Optional. The full resource name of the Subscription(LicenseConfig) assigned
|
12136
|
+
# to the user.
|
12137
|
+
# Corresponds to the JSON property `licenseConfig`
|
12138
|
+
# @return [String]
|
12139
|
+
attr_accessor :license_config
|
12140
|
+
|
12141
|
+
# Output only. User update timestamp.
|
12142
|
+
# Corresponds to the JSON property `updateTime`
|
12143
|
+
# @return [String]
|
12144
|
+
attr_accessor :update_time
|
12145
|
+
|
12146
|
+
# Optional. The full resource name of the User, in the format of `projects/`
|
12147
|
+
# project`/locations/`location`/userStores/`user_store`/users/`user_id``. This
|
12148
|
+
# field must be a UTF-8 encoded string with a length limit of 2048 characters.
|
12149
|
+
# If the user field is empty, it's indicating the user has not logged in yet and
|
12150
|
+
# no User entity is created.
|
12151
|
+
# Corresponds to the JSON property `user`
|
12152
|
+
# @return [String]
|
12153
|
+
attr_accessor :user
|
12154
|
+
|
12155
|
+
# Required. Immutable. The user principal of the User, could be email address or
|
12156
|
+
# other prinical identifier. This field is immutable. Admin assign licenses
|
12157
|
+
# based on the user principal.
|
12158
|
+
# Corresponds to the JSON property `userPrincipal`
|
12159
|
+
# @return [String]
|
12160
|
+
attr_accessor :user_principal
|
12161
|
+
|
12162
|
+
# Optional. The user profile. We user user full name(First name + Last name) as
|
12163
|
+
# user profile.
|
12164
|
+
# Corresponds to the JSON property `userProfile`
|
12165
|
+
# @return [String]
|
12166
|
+
attr_accessor :user_profile
|
12167
|
+
|
12168
|
+
def initialize(**args)
|
12169
|
+
update!(**args)
|
12170
|
+
end
|
12171
|
+
|
12172
|
+
# Update properties of this object
|
12173
|
+
def update!(**args)
|
12174
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
12175
|
+
@last_login_time = args[:last_login_time] if args.key?(:last_login_time)
|
12176
|
+
@license_assignment_state = args[:license_assignment_state] if args.key?(:license_assignment_state)
|
12177
|
+
@license_config = args[:license_config] if args.key?(:license_config)
|
12178
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
12179
|
+
@user = args[:user] if args.key?(:user)
|
12180
|
+
@user_principal = args[:user_principal] if args.key?(:user_principal)
|
12181
|
+
@user_profile = args[:user_profile] if args.key?(:user_profile)
|
12182
|
+
end
|
12183
|
+
end
|
12184
|
+
|
12031
12185
|
# Config to store data store type configuration for workspace data
|
12032
12186
|
class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig
|
12033
12187
|
include Google::Apis::Core::Hashable
|
@@ -14475,6 +14629,66 @@ module Google
|
|
14475
14629
|
end
|
14476
14630
|
end
|
14477
14631
|
|
14632
|
+
# Request message for UserLicenseService.BatchUpdateUserLicenses method.
|
14633
|
+
class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest
|
14634
|
+
include Google::Apis::Core::Hashable
|
14635
|
+
|
14636
|
+
# Optional. If true, if user licenses removed associated license config, the
|
14637
|
+
# user license will be deleted. By default which is false, the user license will
|
14638
|
+
# be updated to unassigned state.
|
14639
|
+
# Corresponds to the JSON property `deleteUnassignedUserLicenses`
|
14640
|
+
# @return [Boolean]
|
14641
|
+
attr_accessor :delete_unassigned_user_licenses
|
14642
|
+
alias_method :delete_unassigned_user_licenses?, :delete_unassigned_user_licenses
|
14643
|
+
|
14644
|
+
# Cloud Storage location for input content.
|
14645
|
+
# Corresponds to the JSON property `gcsSource`
|
14646
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGcsSource]
|
14647
|
+
attr_accessor :gcs_source
|
14648
|
+
|
14649
|
+
# The inline source for the input config for BatchUpdateUserLicenses method.
|
14650
|
+
# Corresponds to the JSON property `inlineSource`
|
14651
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource]
|
14652
|
+
attr_accessor :inline_source
|
14653
|
+
|
14654
|
+
def initialize(**args)
|
14655
|
+
update!(**args)
|
14656
|
+
end
|
14657
|
+
|
14658
|
+
# Update properties of this object
|
14659
|
+
def update!(**args)
|
14660
|
+
@delete_unassigned_user_licenses = args[:delete_unassigned_user_licenses] if args.key?(:delete_unassigned_user_licenses)
|
14661
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
14662
|
+
@inline_source = args[:inline_source] if args.key?(:inline_source)
|
14663
|
+
end
|
14664
|
+
end
|
14665
|
+
|
14666
|
+
# The inline source for the input config for BatchUpdateUserLicenses method.
|
14667
|
+
class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource
|
14668
|
+
include Google::Apis::Core::Hashable
|
14669
|
+
|
14670
|
+
# Optional. The list of fields to update.
|
14671
|
+
# Corresponds to the JSON property `updateMask`
|
14672
|
+
# @return [String]
|
14673
|
+
attr_accessor :update_mask
|
14674
|
+
|
14675
|
+
# Required. A list of user licenses to update. Each user license must have a
|
14676
|
+
# valid UserLicense.user_principal.
|
14677
|
+
# Corresponds to the JSON property `userLicenses`
|
14678
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserLicense>]
|
14679
|
+
attr_accessor :user_licenses
|
14680
|
+
|
14681
|
+
def initialize(**args)
|
14682
|
+
update!(**args)
|
14683
|
+
end
|
14684
|
+
|
14685
|
+
# Update properties of this object
|
14686
|
+
def update!(**args)
|
14687
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
14688
|
+
@user_licenses = args[:user_licenses] if args.key?(:user_licenses)
|
14689
|
+
end
|
14690
|
+
end
|
14691
|
+
|
14478
14692
|
# Request message for SiteSearchEngineService.BatchVerifyTargetSites method.
|
14479
14693
|
class GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest
|
14480
14694
|
include Google::Apis::Core::Hashable
|
@@ -14862,7 +15076,8 @@ module Google
|
|
14862
15076
|
alias_method :grounding_check_required?, :grounding_check_required
|
14863
15077
|
|
14864
15078
|
# Confidence score for the claim in the answer candidate, in the range of [0, 1].
|
14865
|
-
# This is set only when
|
15079
|
+
# This is set only when `CheckGroundingRequest.grounding_spec.
|
15080
|
+
# enable_claim_level_score` is true.
|
14866
15081
|
# Corresponds to the JSON property `score`
|
14867
15082
|
# @return [Float]
|
14868
15083
|
attr_accessor :score
|
@@ -19677,6 +19892,32 @@ module Google
|
|
19677
19892
|
end
|
19678
19893
|
end
|
19679
19894
|
|
19895
|
+
# Response message for UserLicenseService.ListUserLicenses.
|
19896
|
+
class GoogleCloudDiscoveryengineV1betaListUserLicensesResponse
|
19897
|
+
include Google::Apis::Core::Hashable
|
19898
|
+
|
19899
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
19900
|
+
# field is omitted, there are no subsequent pages.
|
19901
|
+
# Corresponds to the JSON property `nextPageToken`
|
19902
|
+
# @return [String]
|
19903
|
+
attr_accessor :next_page_token
|
19904
|
+
|
19905
|
+
# All the customer's UserLicenses.
|
19906
|
+
# Corresponds to the JSON property `userLicenses`
|
19907
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserLicense>]
|
19908
|
+
attr_accessor :user_licenses
|
19909
|
+
|
19910
|
+
def initialize(**args)
|
19911
|
+
update!(**args)
|
19912
|
+
end
|
19913
|
+
|
19914
|
+
# Update properties of this object
|
19915
|
+
def update!(**args)
|
19916
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
19917
|
+
@user_licenses = args[:user_licenses] if args.key?(:user_licenses)
|
19918
|
+
end
|
19919
|
+
end
|
19920
|
+
|
19680
19921
|
# Media-specific user event information.
|
19681
19922
|
class GoogleCloudDiscoveryengineV1betaMediaInfo
|
19682
19923
|
include Google::Apis::Core::Hashable
|
@@ -22299,6 +22540,14 @@ module Google
|
|
22299
22540
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec]
|
22300
22541
|
attr_accessor :boost_spec
|
22301
22542
|
|
22543
|
+
# Optional. Custom search operators which if specified will be used to filter
|
22544
|
+
# results from workspace data stores. For more information on custom search
|
22545
|
+
# operators, see [SearchOperators](https://support.google.com/cloudsearch/answer/
|
22546
|
+
# 6172299).
|
22547
|
+
# Corresponds to the JSON property `customSearchOperators`
|
22548
|
+
# @return [String]
|
22549
|
+
attr_accessor :custom_search_operators
|
22550
|
+
|
22302
22551
|
# Required. Full resource name of DataStore, such as `projects/`project`/
|
22303
22552
|
# locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
|
22304
22553
|
# Corresponds to the JSON property `dataStore`
|
@@ -22319,6 +22568,7 @@ module Google
|
|
22319
22568
|
# Update properties of this object
|
22320
22569
|
def update!(**args)
|
22321
22570
|
@boost_spec = args[:boost_spec] if args.key?(:boost_spec)
|
22571
|
+
@custom_search_operators = args[:custom_search_operators] if args.key?(:custom_search_operators)
|
22322
22572
|
@data_store = args[:data_store] if args.key?(:data_store)
|
22323
22573
|
@filter = args[:filter] if args.key?(:filter)
|
22324
22574
|
end
|
@@ -23031,12 +23281,6 @@ module Google
|
|
23031
23281
|
# @return [String]
|
23032
23282
|
attr_accessor :rewritten_query
|
23033
23283
|
|
23034
|
-
# The SQL request that was generated from the natural language query
|
23035
|
-
# understanding phase.
|
23036
|
-
# Corresponds to the JSON property `sqlRequest`
|
23037
|
-
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest]
|
23038
|
-
attr_accessor :sql_request
|
23039
|
-
|
23040
23284
|
# The filters that were extracted from the input query represented in a
|
23041
23285
|
# structured form.
|
23042
23286
|
# Corresponds to the JSON property `structuredExtractedFilter`
|
@@ -23052,31 +23296,10 @@ module Google
|
|
23052
23296
|
@classified_intents = args[:classified_intents] if args.key?(:classified_intents)
|
23053
23297
|
@extracted_filters = args[:extracted_filters] if args.key?(:extracted_filters)
|
23054
23298
|
@rewritten_query = args[:rewritten_query] if args.key?(:rewritten_query)
|
23055
|
-
@sql_request = args[:sql_request] if args.key?(:sql_request)
|
23056
23299
|
@structured_extracted_filter = args[:structured_extracted_filter] if args.key?(:structured_extracted_filter)
|
23057
23300
|
end
|
23058
23301
|
end
|
23059
23302
|
|
23060
|
-
# The SQL request that was generated from the natural language query
|
23061
|
-
# understanding phase.
|
23062
|
-
class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest
|
23063
|
-
include Google::Apis::Core::Hashable
|
23064
|
-
|
23065
|
-
# Optional. The SQL query in text format.
|
23066
|
-
# Corresponds to the JSON property `sqlQuery`
|
23067
|
-
# @return [String]
|
23068
|
-
attr_accessor :sql_query
|
23069
|
-
|
23070
|
-
def initialize(**args)
|
23071
|
-
update!(**args)
|
23072
|
-
end
|
23073
|
-
|
23074
|
-
# Update properties of this object
|
23075
|
-
def update!(**args)
|
23076
|
-
@sql_query = args[:sql_query] if args.key?(:sql_query)
|
23077
|
-
end
|
23078
|
-
end
|
23079
|
-
|
23080
23303
|
# The filters that were extracted from the input query represented in a
|
23081
23304
|
# structured form.
|
23082
23305
|
class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter
|
@@ -25119,6 +25342,79 @@ module Google
|
|
25119
25342
|
end
|
25120
25343
|
end
|
25121
25344
|
|
25345
|
+
# User License information assigned by the admin.
|
25346
|
+
class GoogleCloudDiscoveryengineV1betaUserLicense
|
25347
|
+
include Google::Apis::Core::Hashable
|
25348
|
+
|
25349
|
+
# Output only. User created timestamp.
|
25350
|
+
# Corresponds to the JSON property `createTime`
|
25351
|
+
# @return [String]
|
25352
|
+
attr_accessor :create_time
|
25353
|
+
|
25354
|
+
# Output only. User last logged in time. If the user has not logged in yet, this
|
25355
|
+
# field will be empty.
|
25356
|
+
# Corresponds to the JSON property `lastLoginTime`
|
25357
|
+
# @return [String]
|
25358
|
+
attr_accessor :last_login_time
|
25359
|
+
|
25360
|
+
# Output only. License assignment state of the user. If the user is assigned
|
25361
|
+
# with a license config, the user loggin will be assigned with the license; If
|
25362
|
+
# the user's license assignment state is unassigned or unspecified, no license
|
25363
|
+
# config will be associated to the user;
|
25364
|
+
# Corresponds to the JSON property `licenseAssignmentState`
|
25365
|
+
# @return [String]
|
25366
|
+
attr_accessor :license_assignment_state
|
25367
|
+
|
25368
|
+
# Optional. The full resource name of the Subscription(LicenseConfig) assigned
|
25369
|
+
# to the user.
|
25370
|
+
# Corresponds to the JSON property `licenseConfig`
|
25371
|
+
# @return [String]
|
25372
|
+
attr_accessor :license_config
|
25373
|
+
|
25374
|
+
# Output only. User update timestamp.
|
25375
|
+
# Corresponds to the JSON property `updateTime`
|
25376
|
+
# @return [String]
|
25377
|
+
attr_accessor :update_time
|
25378
|
+
|
25379
|
+
# Optional. The full resource name of the User, in the format of `projects/`
|
25380
|
+
# project`/locations/`location`/userStores/`user_store`/users/`user_id``. This
|
25381
|
+
# field must be a UTF-8 encoded string with a length limit of 2048 characters.
|
25382
|
+
# If the user field is empty, it's indicating the user has not logged in yet and
|
25383
|
+
# no User entity is created.
|
25384
|
+
# Corresponds to the JSON property `user`
|
25385
|
+
# @return [String]
|
25386
|
+
attr_accessor :user
|
25387
|
+
|
25388
|
+
# Required. Immutable. The user principal of the User, could be email address or
|
25389
|
+
# other prinical identifier. This field is immutable. Admin assign licenses
|
25390
|
+
# based on the user principal.
|
25391
|
+
# Corresponds to the JSON property `userPrincipal`
|
25392
|
+
# @return [String]
|
25393
|
+
attr_accessor :user_principal
|
25394
|
+
|
25395
|
+
# Optional. The user profile. We user user full name(First name + Last name) as
|
25396
|
+
# user profile.
|
25397
|
+
# Corresponds to the JSON property `userProfile`
|
25398
|
+
# @return [String]
|
25399
|
+
attr_accessor :user_profile
|
25400
|
+
|
25401
|
+
def initialize(**args)
|
25402
|
+
update!(**args)
|
25403
|
+
end
|
25404
|
+
|
25405
|
+
# Update properties of this object
|
25406
|
+
def update!(**args)
|
25407
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
25408
|
+
@last_login_time = args[:last_login_time] if args.key?(:last_login_time)
|
25409
|
+
@license_assignment_state = args[:license_assignment_state] if args.key?(:license_assignment_state)
|
25410
|
+
@license_config = args[:license_config] if args.key?(:license_config)
|
25411
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
25412
|
+
@user = args[:user] if args.key?(:user)
|
25413
|
+
@user_principal = args[:user_principal] if args.key?(:user_principal)
|
25414
|
+
@user_profile = args[:user_profile] if args.key?(:user_profile)
|
25415
|
+
end
|
25416
|
+
end
|
25417
|
+
|
25122
25418
|
# Config to store data store type configuration for workspace data
|
25123
25419
|
class GoogleCloudDiscoveryengineV1betaWorkspaceConfig
|
25124
25420
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DiscoveryengineV1beta
|
18
18
|
# Version of the google-apis-discoveryengine_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.64.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 = "20250508"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -898,6 +898,18 @@ module Google
|
|
898
898
|
include Google::Apis::Core::JsonObjectSupport
|
899
899
|
end
|
900
900
|
|
901
|
+
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata
|
902
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
903
|
+
|
904
|
+
include Google::Apis::Core::JsonObjectSupport
|
905
|
+
end
|
906
|
+
|
907
|
+
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
909
|
+
|
910
|
+
include Google::Apis::Core::JsonObjectSupport
|
911
|
+
end
|
912
|
+
|
901
913
|
class GoogleCloudDiscoveryengineV1alphaCmekConfig
|
902
914
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
903
915
|
|
@@ -1930,6 +1942,12 @@ module Google
|
|
1930
1942
|
include Google::Apis::Core::JsonObjectSupport
|
1931
1943
|
end
|
1932
1944
|
|
1945
|
+
class GoogleCloudDiscoveryengineV1alphaUserLicense
|
1946
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1947
|
+
|
1948
|
+
include Google::Apis::Core::JsonObjectSupport
|
1949
|
+
end
|
1950
|
+
|
1933
1951
|
class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig
|
1934
1952
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1935
1953
|
|
@@ -2344,6 +2362,18 @@ module Google
|
|
2344
2362
|
include Google::Apis::Core::JsonObjectSupport
|
2345
2363
|
end
|
2346
2364
|
|
2365
|
+
class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest
|
2366
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2367
|
+
|
2368
|
+
include Google::Apis::Core::JsonObjectSupport
|
2369
|
+
end
|
2370
|
+
|
2371
|
+
class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource
|
2372
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2373
|
+
|
2374
|
+
include Google::Apis::Core::JsonObjectSupport
|
2375
|
+
end
|
2376
|
+
|
2347
2377
|
class GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest
|
2348
2378
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2349
2379
|
|
@@ -3232,6 +3262,12 @@ module Google
|
|
3232
3262
|
include Google::Apis::Core::JsonObjectSupport
|
3233
3263
|
end
|
3234
3264
|
|
3265
|
+
class GoogleCloudDiscoveryengineV1betaListUserLicensesResponse
|
3266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3267
|
+
|
3268
|
+
include Google::Apis::Core::JsonObjectSupport
|
3269
|
+
end
|
3270
|
+
|
3235
3271
|
class GoogleCloudDiscoveryengineV1betaMediaInfo
|
3236
3272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3237
3273
|
|
@@ -3742,12 +3778,6 @@ module Google
|
|
3742
3778
|
include Google::Apis::Core::JsonObjectSupport
|
3743
3779
|
end
|
3744
3780
|
|
3745
|
-
class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest
|
3746
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3747
|
-
|
3748
|
-
include Google::Apis::Core::JsonObjectSupport
|
3749
|
-
end
|
3750
|
-
|
3751
3781
|
class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter
|
3752
3782
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3753
3783
|
|
@@ -4054,6 +4084,12 @@ module Google
|
|
4054
4084
|
include Google::Apis::Core::JsonObjectSupport
|
4055
4085
|
end
|
4056
4086
|
|
4087
|
+
class GoogleCloudDiscoveryengineV1betaUserLicense
|
4088
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4089
|
+
|
4090
|
+
include Google::Apis::Core::JsonObjectSupport
|
4091
|
+
end
|
4092
|
+
|
4057
4093
|
class GoogleCloudDiscoveryengineV1betaWorkspaceConfig
|
4058
4094
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4059
4095
|
|
@@ -5575,6 +5611,26 @@ module Google
|
|
5575
5611
|
end
|
5576
5612
|
end
|
5577
5613
|
|
5614
|
+
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata
|
5615
|
+
# @private
|
5616
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5617
|
+
property :create_time, as: 'createTime'
|
5618
|
+
property :failure_count, :numeric_string => true, as: 'failureCount'
|
5619
|
+
property :success_count, :numeric_string => true, as: 'successCount'
|
5620
|
+
property :update_time, as: 'updateTime'
|
5621
|
+
end
|
5622
|
+
end
|
5623
|
+
|
5624
|
+
class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse
|
5625
|
+
# @private
|
5626
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5627
|
+
collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
|
5628
|
+
|
5629
|
+
collection :user_licenses, as: 'userLicenses', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaUserLicense, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaUserLicense::Representation
|
5630
|
+
|
5631
|
+
end
|
5632
|
+
end
|
5633
|
+
|
5578
5634
|
class GoogleCloudDiscoveryengineV1alphaCmekConfig
|
5579
5635
|
# @private
|
5580
5636
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5834,6 +5890,7 @@ module Google
|
|
5834
5890
|
collection :blocking_reasons, as: 'blockingReasons'
|
5835
5891
|
collection :connector_modes, as: 'connectorModes'
|
5836
5892
|
property :connector_type, as: 'connectorType'
|
5893
|
+
property :create_eua_saas, as: 'createEuaSaas'
|
5837
5894
|
property :create_time, as: 'createTime'
|
5838
5895
|
property :data_source, as: 'dataSource'
|
5839
5896
|
collection :destination_configs, as: 'destinationConfigs', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDestinationConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDestinationConfig::Representation
|
@@ -7007,6 +7064,7 @@ module Google
|
|
7007
7064
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7008
7065
|
property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec::Representation
|
7009
7066
|
|
7067
|
+
property :custom_search_operators, as: 'customSearchOperators'
|
7010
7068
|
property :data_store, as: 'dataStore'
|
7011
7069
|
property :filter, as: 'filter'
|
7012
7070
|
end
|
@@ -7323,6 +7381,20 @@ module Google
|
|
7323
7381
|
end
|
7324
7382
|
end
|
7325
7383
|
|
7384
|
+
class GoogleCloudDiscoveryengineV1alphaUserLicense
|
7385
|
+
# @private
|
7386
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7387
|
+
property :create_time, as: 'createTime'
|
7388
|
+
property :last_login_time, as: 'lastLoginTime'
|
7389
|
+
property :license_assignment_state, as: 'licenseAssignmentState'
|
7390
|
+
property :license_config, as: 'licenseConfig'
|
7391
|
+
property :update_time, as: 'updateTime'
|
7392
|
+
property :user, as: 'user'
|
7393
|
+
property :user_principal, as: 'userPrincipal'
|
7394
|
+
property :user_profile, as: 'userProfile'
|
7395
|
+
end
|
7396
|
+
end
|
7397
|
+
|
7326
7398
|
class GoogleCloudDiscoveryengineV1alphaWorkspaceConfig
|
7327
7399
|
# @private
|
7328
7400
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8030,6 +8102,26 @@ module Google
|
|
8030
8102
|
end
|
8031
8103
|
end
|
8032
8104
|
|
8105
|
+
class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest
|
8106
|
+
# @private
|
8107
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8108
|
+
property :delete_unassigned_user_licenses, as: 'deleteUnassignedUserLicenses'
|
8109
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGcsSource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGcsSource::Representation
|
8110
|
+
|
8111
|
+
property :inline_source, as: 'inlineSource', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource::Representation
|
8112
|
+
|
8113
|
+
end
|
8114
|
+
end
|
8115
|
+
|
8116
|
+
class GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequestInlineSource
|
8117
|
+
# @private
|
8118
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8119
|
+
property :update_mask, as: 'updateMask'
|
8120
|
+
collection :user_licenses, as: 'userLicenses', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserLicense, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserLicense::Representation
|
8121
|
+
|
8122
|
+
end
|
8123
|
+
end
|
8124
|
+
|
8033
8125
|
class GoogleCloudDiscoveryengineV1betaBatchVerifyTargetSitesRequest
|
8034
8126
|
# @private
|
8035
8127
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9515,6 +9607,15 @@ module Google
|
|
9515
9607
|
end
|
9516
9608
|
end
|
9517
9609
|
|
9610
|
+
class GoogleCloudDiscoveryengineV1betaListUserLicensesResponse
|
9611
|
+
# @private
|
9612
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9613
|
+
property :next_page_token, as: 'nextPageToken'
|
9614
|
+
collection :user_licenses, as: 'userLicenses', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserLicense, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaUserLicense::Representation
|
9615
|
+
|
9616
|
+
end
|
9617
|
+
end
|
9618
|
+
|
9518
9619
|
class GoogleCloudDiscoveryengineV1betaMediaInfo
|
9519
9620
|
# @private
|
9520
9621
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10172,6 +10273,7 @@ module Google
|
|
10172
10273
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10173
10274
|
property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec::Representation
|
10174
10275
|
|
10276
|
+
property :custom_search_operators, as: 'customSearchOperators'
|
10175
10277
|
property :data_store, as: 'dataStore'
|
10176
10278
|
property :filter, as: 'filter'
|
10177
10279
|
end
|
@@ -10368,20 +10470,11 @@ module Google
|
|
10368
10470
|
collection :classified_intents, as: 'classifiedIntents'
|
10369
10471
|
property :extracted_filters, as: 'extractedFilters'
|
10370
10472
|
property :rewritten_query, as: 'rewrittenQuery'
|
10371
|
-
property :sql_request, as: 'sqlRequest', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest::Representation
|
10372
|
-
|
10373
10473
|
property :structured_extracted_filter, as: 'structuredExtractedFilter', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter::Representation
|
10374
10474
|
|
10375
10475
|
end
|
10376
10476
|
end
|
10377
10477
|
|
10378
|
-
class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest
|
10379
|
-
# @private
|
10380
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
10381
|
-
property :sql_query, as: 'sqlQuery'
|
10382
|
-
end
|
10383
|
-
end
|
10384
|
-
|
10385
10478
|
class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter
|
10386
10479
|
# @private
|
10387
10480
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10919,6 +11012,20 @@ module Google
|
|
10919
11012
|
end
|
10920
11013
|
end
|
10921
11014
|
|
11015
|
+
class GoogleCloudDiscoveryengineV1betaUserLicense
|
11016
|
+
# @private
|
11017
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11018
|
+
property :create_time, as: 'createTime'
|
11019
|
+
property :last_login_time, as: 'lastLoginTime'
|
11020
|
+
property :license_assignment_state, as: 'licenseAssignmentState'
|
11021
|
+
property :license_config, as: 'licenseConfig'
|
11022
|
+
property :update_time, as: 'updateTime'
|
11023
|
+
property :user, as: 'user'
|
11024
|
+
property :user_principal, as: 'userPrincipal'
|
11025
|
+
property :user_profile, as: 'userProfile'
|
11026
|
+
end
|
11027
|
+
end
|
11028
|
+
|
10922
11029
|
class GoogleCloudDiscoveryengineV1betaWorkspaceConfig
|
10923
11030
|
# @private
|
10924
11031
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9225,6 +9225,93 @@ module Google
|
|
9225
9225
|
execute_or_queue_command(command, &block)
|
9226
9226
|
end
|
9227
9227
|
|
9228
|
+
# Updates the User License. This method is used for batch assign/unassign
|
9229
|
+
# licenses to users.
|
9230
|
+
# @param [String] parent
|
9231
|
+
# Required. The parent UserStore resource name, format: `projects/`project`/
|
9232
|
+
# locations/`location`/userStores/`user_store_id``.
|
9233
|
+
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest] google_cloud_discoveryengine_v1beta_batch_update_user_licenses_request_object
|
9234
|
+
# @param [String] fields
|
9235
|
+
# Selector specifying which fields to include in a partial response.
|
9236
|
+
# @param [String] quota_user
|
9237
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9238
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9239
|
+
# @param [Google::Apis::RequestOptions] options
|
9240
|
+
# Request-specific options
|
9241
|
+
#
|
9242
|
+
# @yield [result, err] Result & error if block supplied
|
9243
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation] parsed result object
|
9244
|
+
# @yieldparam err [StandardError] error object if request failed
|
9245
|
+
#
|
9246
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation]
|
9247
|
+
#
|
9248
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9249
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9250
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9251
|
+
def batch_project_location_user_store_update_user_licenses(parent, google_cloud_discoveryengine_v1beta_batch_update_user_licenses_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
9252
|
+
command = make_simple_command(:post, 'v1beta/{+parent}:batchUpdateUserLicenses', options)
|
9253
|
+
command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaBatchUpdateUserLicensesRequest::Representation
|
9254
|
+
command.request_object = google_cloud_discoveryengine_v1beta_batch_update_user_licenses_request_object
|
9255
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
|
9256
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation
|
9257
|
+
command.params['parent'] = parent unless parent.nil?
|
9258
|
+
command.query['fields'] = fields unless fields.nil?
|
9259
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9260
|
+
execute_or_queue_command(command, &block)
|
9261
|
+
end
|
9262
|
+
|
9263
|
+
# Lists the User Licenses.
|
9264
|
+
# @param [String] parent
|
9265
|
+
# Required. The parent UserStore resource name, format: `projects/`project`/
|
9266
|
+
# locations/`location`/userStores/`user_store_id``.
|
9267
|
+
# @param [String] filter
|
9268
|
+
# Optional. Filter for the list request. Supported fields: * `
|
9269
|
+
# license_assignment_state` Examples: * `license_assignment_state = ASSIGNED` to
|
9270
|
+
# list assigned user licenses. * `license_assignment_state = NO_LICENSE` to list
|
9271
|
+
# not licensed users. * `license_assignment_state = NO_LICENSE_ATTEMPTED_LOGIN`
|
9272
|
+
# to list users who attempted login but no license assigned. * `
|
9273
|
+
# license_assignment_state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users
|
9274
|
+
# who attempted login but no license assigned.
|
9275
|
+
# @param [Fixnum] page_size
|
9276
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
9277
|
+
# If unspecified, defaults to 10. The maximum value is 50; values above 50 will
|
9278
|
+
# be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is
|
9279
|
+
# returned.
|
9280
|
+
# @param [String] page_token
|
9281
|
+
# Optional. A page token, received from a previous `ListUserLicenses` call.
|
9282
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
9283
|
+
# parameters provided to `ListUserLicenses` must match the call that provided
|
9284
|
+
# the page token.
|
9285
|
+
# @param [String] fields
|
9286
|
+
# Selector specifying which fields to include in a partial response.
|
9287
|
+
# @param [String] quota_user
|
9288
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9289
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9290
|
+
# @param [Google::Apis::RequestOptions] options
|
9291
|
+
# Request-specific options
|
9292
|
+
#
|
9293
|
+
# @yield [result, err] Result & error if block supplied
|
9294
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListUserLicensesResponse] parsed result object
|
9295
|
+
# @yieldparam err [StandardError] error object if request failed
|
9296
|
+
#
|
9297
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListUserLicensesResponse]
|
9298
|
+
#
|
9299
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9300
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9301
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9302
|
+
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)
|
9303
|
+
command = make_simple_command(:get, 'v1beta/{+parent}/userLicenses', options)
|
9304
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListUserLicensesResponse::Representation
|
9305
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListUserLicensesResponse
|
9306
|
+
command.params['parent'] = parent unless parent.nil?
|
9307
|
+
command.query['filter'] = filter unless filter.nil?
|
9308
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
9309
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
9310
|
+
command.query['fields'] = fields unless fields.nil?
|
9311
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9312
|
+
execute_or_queue_command(command, &block)
|
9313
|
+
end
|
9314
|
+
|
9228
9315
|
# Gets the latest state of a long-running operation. Clients can use this method
|
9229
9316
|
# to poll the operation result at intervals as recommended by the API service.
|
9230
9317
|
# @param [String] name
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-discoveryengine_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.64.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_v1beta/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.64.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
|
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 V1beta
|
79
79
|
test_files: []
|