google-apis-discoveryengine_v1alpha 0.60.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 +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +1088 -108
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +412 -15
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +138 -13
- metadata +5 -5
@@ -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: []
|