google-apis-discoveryengine_v1alpha 0.61.0 → 0.63.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.
@@ -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.61.0"
19
+ GEM_VERSION = "0.63.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.16.0"
22
+ GENERATOR_VERSION = "0.17.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250419"
25
+ REVISION = "20250519"
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
 
@@ -1330,6 +1354,12 @@ module Google
1330
1354
  include Google::Apis::Core::JsonObjectSupport
1331
1355
  end
1332
1356
 
1357
+ class GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata
1358
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1359
+
1360
+ include Google::Apis::Core::JsonObjectSupport
1361
+ end
1362
+
1333
1363
  class GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata
1334
1364
  class Representation < Google::Apis::Core::JsonRepresentation; end
1335
1365
 
@@ -1348,6 +1378,12 @@ module Google
1348
1378
  include Google::Apis::Core::JsonObjectSupport
1349
1379
  end
1350
1380
 
1381
+ class GoogleCloudDiscoveryengineV1alphaChunkStructuredContent
1382
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1383
+
1384
+ include Google::Apis::Core::JsonObjectSupport
1385
+ end
1386
+
1351
1387
  class GoogleCloudDiscoveryengineV1alphaCloudSqlSource
1352
1388
  class Representation < Google::Apis::Core::JsonRepresentation; end
1353
1389
 
@@ -2350,6 +2386,12 @@ module Google
2350
2386
  include Google::Apis::Core::JsonObjectSupport
2351
2387
  end
2352
2388
 
2389
+ class GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse
2390
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2391
+
2392
+ include Google::Apis::Core::JsonObjectSupport
2393
+ end
2394
+
2353
2395
  class GoogleCloudDiscoveryengineV1alphaMediaInfo
2354
2396
  class Representation < Google::Apis::Core::JsonRepresentation; end
2355
2397
 
@@ -2950,12 +2992,6 @@ module Google
2950
2992
  include Google::Apis::Core::JsonObjectSupport
2951
2993
  end
2952
2994
 
2953
- class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest
2954
- class Representation < Google::Apis::Core::JsonRepresentation; end
2955
-
2956
- include Google::Apis::Core::JsonObjectSupport
2957
- end
2958
-
2959
2995
  class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter
2960
2996
  class Representation < Google::Apis::Core::JsonRepresentation; end
2961
2997
 
@@ -3316,6 +3352,12 @@ module Google
3316
3352
  include Google::Apis::Core::JsonObjectSupport
3317
3353
  end
3318
3354
 
3355
+ class GoogleCloudDiscoveryengineV1alphaUserLicense
3356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3357
+
3358
+ include Google::Apis::Core::JsonObjectSupport
3359
+ end
3360
+
3319
3361
  class GoogleCloudDiscoveryengineV1alphaWidgetConfig
3320
3362
  class Representation < Google::Apis::Core::JsonRepresentation; end
3321
3363
 
@@ -6381,6 +6423,46 @@ module Google
6381
6423
  end
6382
6424
  end
6383
6425
 
6426
+ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesMetadata
6427
+ # @private
6428
+ class Representation < Google::Apis::Core::JsonRepresentation
6429
+ property :create_time, as: 'createTime'
6430
+ property :failure_count, :numeric_string => true, as: 'failureCount'
6431
+ property :success_count, :numeric_string => true, as: 'successCount'
6432
+ property :update_time, as: 'updateTime'
6433
+ end
6434
+ end
6435
+
6436
+ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest
6437
+ # @private
6438
+ class Representation < Google::Apis::Core::JsonRepresentation
6439
+ property :delete_unassigned_user_licenses, as: 'deleteUnassignedUserLicenses'
6440
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGcsSource::Representation
6441
+
6442
+ property :inline_source, as: 'inlineSource', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource::Representation
6443
+
6444
+ end
6445
+ end
6446
+
6447
+ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequestInlineSource
6448
+ # @private
6449
+ class Representation < Google::Apis::Core::JsonRepresentation
6450
+ property :update_mask, as: 'updateMask'
6451
+ collection :user_licenses, as: 'userLicenses', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserLicense, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserLicense::Representation
6452
+
6453
+ end
6454
+ end
6455
+
6456
+ class GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesResponse
6457
+ # @private
6458
+ class Representation < Google::Apis::Core::JsonRepresentation
6459
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleRpcStatus::Representation
6460
+
6461
+ collection :user_licenses, as: 'userLicenses', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserLicense, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserLicense::Representation
6462
+
6463
+ end
6464
+ end
6465
+
6384
6466
  class GoogleCloudDiscoveryengineV1alphaBatchVerifyTargetSitesRequest
6385
6467
  # @private
6386
6468
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6532,6 +6614,8 @@ module Google
6532
6614
  # @private
6533
6615
  class Representation < Google::Apis::Core::JsonRepresentation
6534
6616
  collection :annotation_contents, as: 'annotationContents'
6617
+ collection :annotation_metadata, as: 'annotationMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata::Representation
6618
+
6535
6619
  property :chunk_metadata, as: 'chunkMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata::Representation
6536
6620
 
6537
6621
  property :content, as: 'content'
@@ -6547,6 +6631,15 @@ module Google
6547
6631
  end
6548
6632
  end
6549
6633
 
6634
+ class GoogleCloudDiscoveryengineV1alphaChunkAnnotationMetadata
6635
+ # @private
6636
+ class Representation < Google::Apis::Core::JsonRepresentation
6637
+ property :image_id, as: 'imageId'
6638
+ property :structured_content, as: 'structuredContent', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkStructuredContent, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkStructuredContent::Representation
6639
+
6640
+ end
6641
+ end
6642
+
6550
6643
  class GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata
6551
6644
  # @private
6552
6645
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6574,6 +6667,14 @@ module Google
6574
6667
  end
6575
6668
  end
6576
6669
 
6670
+ class GoogleCloudDiscoveryengineV1alphaChunkStructuredContent
6671
+ # @private
6672
+ class Representation < Google::Apis::Core::JsonRepresentation
6673
+ property :content, as: 'content'
6674
+ property :structure_type, as: 'structureType'
6675
+ end
6676
+ end
6677
+
6577
6678
  class GoogleCloudDiscoveryengineV1alphaCloudSqlSource
6578
6679
  # @private
6579
6680
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6977,6 +7078,7 @@ module Google
6977
7078
  collection :blocking_reasons, as: 'blockingReasons'
6978
7079
  collection :connector_modes, as: 'connectorModes'
6979
7080
  property :connector_type, as: 'connectorType'
7081
+ property :create_eua_saas, as: 'createEuaSaas'
6980
7082
  property :create_time, as: 'createTime'
6981
7083
  property :data_source, as: 'dataSource'
6982
7084
  collection :destination_configs, as: 'destinationConfigs', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDestinationConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDestinationConfig::Representation
@@ -6990,6 +7092,8 @@ module Google
6990
7092
  property :identity_refresh_interval, as: 'identityRefreshInterval'
6991
7093
  property :identity_schedule_config, as: 'identityScheduleConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig::Representation
6992
7094
 
7095
+ property :incremental_refresh_interval, as: 'incrementalRefreshInterval'
7096
+ property :incremental_sync_disabled, as: 'incrementalSyncDisabled'
6993
7097
  property :kms_key_name, as: 'kmsKeyName'
6994
7098
  property :last_sync_time, as: 'lastSyncTime'
6995
7099
  property :latest_pause_time, as: 'latestPauseTime'
@@ -8276,6 +8380,15 @@ module Google
8276
8380
  end
8277
8381
  end
8278
8382
 
8383
+ class GoogleCloudDiscoveryengineV1alphaListUserLicensesResponse
8384
+ # @private
8385
+ class Representation < Google::Apis::Core::JsonRepresentation
8386
+ property :next_page_token, as: 'nextPageToken'
8387
+ collection :user_licenses, as: 'userLicenses', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserLicense, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaUserLicense::Representation
8388
+
8389
+ end
8390
+ end
8391
+
8279
8392
  class GoogleCloudDiscoveryengineV1alphaMediaInfo
8280
8393
  # @private
8281
8394
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9088,6 +9201,7 @@ module Google
9088
9201
  class Representation < Google::Apis::Core::JsonRepresentation
9089
9202
  property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpec::Representation
9090
9203
 
9204
+ property :custom_search_operators, as: 'customSearchOperators'
9091
9205
  property :data_store, as: 'dataStore'
9092
9206
  property :filter, as: 'filter'
9093
9207
  end
@@ -9284,20 +9398,11 @@ module Google
9284
9398
  collection :classified_intents, as: 'classifiedIntents'
9285
9399
  property :extracted_filters, as: 'extractedFilters'
9286
9400
  property :rewritten_query, as: 'rewrittenQuery'
9287
- property :sql_request, as: 'sqlRequest', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest::Representation
9288
-
9289
9401
  property :structured_extracted_filter, as: 'structuredExtractedFilter', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter::Representation
9290
9402
 
9291
9403
  end
9292
9404
  end
9293
9405
 
9294
- class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest
9295
- # @private
9296
- class Representation < Google::Apis::Core::JsonRepresentation
9297
- property :sql_query, as: 'sqlQuery'
9298
- end
9299
- end
9300
-
9301
9406
  class GoogleCloudDiscoveryengineV1alphaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter
9302
9407
  # @private
9303
9408
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9914,6 +10019,20 @@ module Google
9914
10019
  end
9915
10020
  end
9916
10021
 
10022
+ class GoogleCloudDiscoveryengineV1alphaUserLicense
10023
+ # @private
10024
+ class Representation < Google::Apis::Core::JsonRepresentation
10025
+ property :create_time, as: 'createTime'
10026
+ property :last_login_time, as: 'lastLoginTime'
10027
+ property :license_assignment_state, as: 'licenseAssignmentState'
10028
+ property :license_config, as: 'licenseConfig'
10029
+ property :update_time, as: 'updateTime'
10030
+ property :user, as: 'user'
10031
+ property :user_principal, as: 'userPrincipal'
10032
+ property :user_profile, as: 'userProfile'
10033
+ end
10034
+ end
10035
+
9917
10036
  class GoogleCloudDiscoveryengineV1alphaWidgetConfig
9918
10037
  # @private
9919
10038
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9938,6 +10057,7 @@ module Google
9938
10057
  property :display_name, as: 'displayName'
9939
10058
  property :enable_autocomplete, as: 'enableAutocomplete'
9940
10059
  property :enable_conversational_search, as: 'enableConversationalSearch'
10060
+ property :enable_private_knowledge_graph, as: 'enablePrivateKnowledgeGraph'
9941
10061
  property :enable_quality_feedback, as: 'enableQualityFeedback'
9942
10062
  property :enable_result_score, as: 'enableResultScore'
9943
10063
  property :enable_safe_search, as: 'enableSafeSearch'
@@ -11182,6 +11302,7 @@ module Google
11182
11302
  class Representation < Google::Apis::Core::JsonRepresentation
11183
11303
  property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpec::Representation
11184
11304
 
11305
+ property :custom_search_operators, as: 'customSearchOperators'
11185
11306
  property :data_store, as: 'dataStore'
11186
11307
  property :filter, as: 'filter'
11187
11308
  end
@@ -11451,6 +11572,7 @@ module Google
11451
11572
 
11452
11573
  property :media_request_info, as: 'mediaRequestInfo', class: Google::Apis::DiscoveryengineV1alpha::ApiservingMediaRequestInfo, decorator: Google::Apis::DiscoveryengineV1alpha::ApiservingMediaRequestInfo::Representation
11453
11574
 
11575
+ property :source_id, as: 'sourceId'
11454
11576
  end
11455
11577
  end
11456
11578
 
@@ -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: `projects/`
1386
- # project`/locations/`location`/collections/`collection_id`/dataStores/`
1387
- # data_store_id``. This field must be a UTF-8 encoded string with a length limit
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 field must be
4695
- # a UTF-8 encoded string with a length limit of 1024 characters. Format: `
4696
- # projects/`project`/locations/`location`/collections/`collection`/engines/`
4697
- # engine`` engine should be 1-63 characters, and valid characters are /a-z0-9*/.
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: `projects/`
6365
- # project`/locations/`location`/collections/`collection_id`/dataStores/`
6366
- # data_store_id``. This field must be a UTF-8 encoded string with a length limit
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.61.0
4
+ version: 0.63.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-27 00:00:00.000000000 Z
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.61.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.63.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: '2.7'
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.5
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Discovery Engine API V1alpha
79
79
  test_files: []