google-apis-discoveryengine_v1beta 0.62.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 +9 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +1036 -38
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +3 -3
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +425 -15
- data/lib/google/apis/discoveryengine_v1beta/service.rb +87 -0
- metadata +5 -5
@@ -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: []
|