google-apis-discoveryengine_v1beta 0.8.0 → 0.9.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 +4 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +203 -0
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +94 -0
- data/lib/google/apis/discoveryengine_v1beta/service.rb +289 -35
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a7dc238ff88d80936633fd34c32f9e36da3c26408355b5d28d04967a583b04d
|
4
|
+
data.tar.gz: bba354739717a7723cf850719e4485a77f275c44b23a084ef568e700d0ce48b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ffced84126a60497b7f37ddabb1d6625bc3b7dcf7058b508e4592d5d387a0f8e4702a5b2d15ee0cd8d96b3db900f02e75b8fcaf0cdf411dfc3b5b4df76a4463
|
7
|
+
data.tar.gz: 2bdfd155a9318a5991ee07ca86162800fc559e3ed13f99d8b7adc53bb665e2d6a94b27c7ca4953a0a84313a49eeac705bdbd82faabb286ea119766cae26f7968
|
data/CHANGELOG.md
CHANGED
@@ -254,6 +254,209 @@ module Google
|
|
254
254
|
end
|
255
255
|
end
|
256
256
|
|
257
|
+
# Defines circumstances to be checked before allowing a behavior
|
258
|
+
class GoogleCloudDiscoveryengineV1alphaCondition
|
259
|
+
include Google::Apis::Core::Hashable
|
260
|
+
|
261
|
+
# Optional. Range of time(s) specifying when condition is active. Maximum of 10
|
262
|
+
# time ranges.
|
263
|
+
# Corresponds to the JSON property `activeTimeRange`
|
264
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaConditionTimeRange>]
|
265
|
+
attr_accessor :active_time_range
|
266
|
+
|
267
|
+
# Optional. Search only A list of terms to match the query on. Maximum of 10
|
268
|
+
# query terms.
|
269
|
+
# Corresponds to the JSON property `queryTerms`
|
270
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaConditionQueryTerm>]
|
271
|
+
attr_accessor :query_terms
|
272
|
+
|
273
|
+
def initialize(**args)
|
274
|
+
update!(**args)
|
275
|
+
end
|
276
|
+
|
277
|
+
# Update properties of this object
|
278
|
+
def update!(**args)
|
279
|
+
@active_time_range = args[:active_time_range] if args.key?(:active_time_range)
|
280
|
+
@query_terms = args[:query_terms] if args.key?(:query_terms)
|
281
|
+
end
|
282
|
+
end
|
283
|
+
|
284
|
+
# Matcher for search request query
|
285
|
+
class GoogleCloudDiscoveryengineV1alphaConditionQueryTerm
|
286
|
+
include Google::Apis::Core::Hashable
|
287
|
+
|
288
|
+
# Whether the search query needs to exactly match the query term.
|
289
|
+
# Corresponds to the JSON property `fullMatch`
|
290
|
+
# @return [Boolean]
|
291
|
+
attr_accessor :full_match
|
292
|
+
alias_method :full_match?, :full_match
|
293
|
+
|
294
|
+
# The specific query value to match against Must be lowercase, must be UTF-8.
|
295
|
+
# Can have at most 3 space separated terms if full_match is true. Cannot be an
|
296
|
+
# empty string. Maximum length of 5000 characters.
|
297
|
+
# Corresponds to the JSON property `value`
|
298
|
+
# @return [String]
|
299
|
+
attr_accessor :value
|
300
|
+
|
301
|
+
def initialize(**args)
|
302
|
+
update!(**args)
|
303
|
+
end
|
304
|
+
|
305
|
+
# Update properties of this object
|
306
|
+
def update!(**args)
|
307
|
+
@full_match = args[:full_match] if args.key?(:full_match)
|
308
|
+
@value = args[:value] if args.key?(:value)
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
# Used for time-dependent conditions.
|
313
|
+
class GoogleCloudDiscoveryengineV1alphaConditionTimeRange
|
314
|
+
include Google::Apis::Core::Hashable
|
315
|
+
|
316
|
+
# End of time range. Range is inclusive. Must be in the future.
|
317
|
+
# Corresponds to the JSON property `endTime`
|
318
|
+
# @return [String]
|
319
|
+
attr_accessor :end_time
|
320
|
+
|
321
|
+
# Start of time range. Range is inclusive.
|
322
|
+
# Corresponds to the JSON property `startTime`
|
323
|
+
# @return [String]
|
324
|
+
attr_accessor :start_time
|
325
|
+
|
326
|
+
def initialize(**args)
|
327
|
+
update!(**args)
|
328
|
+
end
|
329
|
+
|
330
|
+
# Update properties of this object
|
331
|
+
def update!(**args)
|
332
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
333
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
# Defines a conditioned behavior to employ during serving. Must be attached to a
|
338
|
+
# [ServingConfig] to be considered at serving time. Permitted actions dependent
|
339
|
+
# on Solution Type.
|
340
|
+
class GoogleCloudDiscoveryengineV1alphaControl
|
341
|
+
include Google::Apis::Core::Hashable
|
342
|
+
|
343
|
+
# Output only. List of all [ServingConfig] ids this control is attached to. May
|
344
|
+
# take up to 10 minutes to update after changes.
|
345
|
+
# Corresponds to the JSON property `associatedServingConfigIds`
|
346
|
+
# @return [Array<String>]
|
347
|
+
attr_accessor :associated_serving_config_ids
|
348
|
+
|
349
|
+
# Adjusts order of products in returned list.
|
350
|
+
# Corresponds to the JSON property `boostAction`
|
351
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaControlBoostAction]
|
352
|
+
attr_accessor :boost_action
|
353
|
+
|
354
|
+
# Determines when the associated action will trigger. Omit to always apply the
|
355
|
+
# action. Currently only a single condition may be specified. Otherwise an
|
356
|
+
# INVALID ARGUMENT error is thrown.
|
357
|
+
# Corresponds to the JSON property `conditions`
|
358
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCondition>]
|
359
|
+
attr_accessor :conditions
|
360
|
+
|
361
|
+
# Required. Human readable name. The identifier used in UI views. Must be UTF-8
|
362
|
+
# encoded string. Length limit is 128 characters. Otherwise an INVALID ARGUMENT
|
363
|
+
# error is thrown.
|
364
|
+
# Corresponds to the JSON property `displayName`
|
365
|
+
# @return [String]
|
366
|
+
attr_accessor :display_name
|
367
|
+
|
368
|
+
# Specified which products may be included in results. Uses same filter as boost.
|
369
|
+
# Corresponds to the JSON property `filterAction`
|
370
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaControlFilterAction]
|
371
|
+
attr_accessor :filter_action
|
372
|
+
|
373
|
+
# Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/
|
374
|
+
# controls/*`
|
375
|
+
# Corresponds to the JSON property `name`
|
376
|
+
# @return [String]
|
377
|
+
attr_accessor :name
|
378
|
+
|
379
|
+
# Required. What solution the control belongs to. Must be compatible with
|
380
|
+
# vertical of resource. Otherwise an INVALID ARGUMENT error is thrown.
|
381
|
+
# Corresponds to the JSON property `solutionType`
|
382
|
+
# @return [String]
|
383
|
+
attr_accessor :solution_type
|
384
|
+
|
385
|
+
# Specifies the use case for the control. Affects what condition fields can be
|
386
|
+
# set. Only applies to SOLUTION_TYPE_SEARCH. Currently only allow one use case
|
387
|
+
# per control. Must be set when solution_type is SolutionType.
|
388
|
+
# SOLUTION_TYPE_SEARCH.
|
389
|
+
# Corresponds to the JSON property `useCases`
|
390
|
+
# @return [Array<String>]
|
391
|
+
attr_accessor :use_cases
|
392
|
+
|
393
|
+
def initialize(**args)
|
394
|
+
update!(**args)
|
395
|
+
end
|
396
|
+
|
397
|
+
# Update properties of this object
|
398
|
+
def update!(**args)
|
399
|
+
@associated_serving_config_ids = args[:associated_serving_config_ids] if args.key?(:associated_serving_config_ids)
|
400
|
+
@boost_action = args[:boost_action] if args.key?(:boost_action)
|
401
|
+
@conditions = args[:conditions] if args.key?(:conditions)
|
402
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
403
|
+
@filter_action = args[:filter_action] if args.key?(:filter_action)
|
404
|
+
@name = args[:name] if args.key?(:name)
|
405
|
+
@solution_type = args[:solution_type] if args.key?(:solution_type)
|
406
|
+
@use_cases = args[:use_cases] if args.key?(:use_cases)
|
407
|
+
end
|
408
|
+
end
|
409
|
+
|
410
|
+
# Adjusts order of products in returned list.
|
411
|
+
class GoogleCloudDiscoveryengineV1alphaControlBoostAction
|
412
|
+
include Google::Apis::Core::Hashable
|
413
|
+
|
414
|
+
# Required. Strength of the boost, which should be in [-1, 1]. Negative boost
|
415
|
+
# means demotion. Default is 0.0 (No-op).
|
416
|
+
# Corresponds to the JSON property `boost`
|
417
|
+
# @return [Float]
|
418
|
+
attr_accessor :boost
|
419
|
+
|
420
|
+
# Required. Specifies which products to apply the boost to. If no filter is
|
421
|
+
# provided all products will be boosted (No-op). Syntax documentation: https://
|
422
|
+
# cloud.google.com/retail/docs/filter-and-order Maximum length is 5000
|
423
|
+
# characters. Otherwise an INVALID ARGUMENT error is thrown.
|
424
|
+
# Corresponds to the JSON property `filter`
|
425
|
+
# @return [String]
|
426
|
+
attr_accessor :filter
|
427
|
+
|
428
|
+
def initialize(**args)
|
429
|
+
update!(**args)
|
430
|
+
end
|
431
|
+
|
432
|
+
# Update properties of this object
|
433
|
+
def update!(**args)
|
434
|
+
@boost = args[:boost] if args.key?(:boost)
|
435
|
+
@filter = args[:filter] if args.key?(:filter)
|
436
|
+
end
|
437
|
+
end
|
438
|
+
|
439
|
+
# Specified which products may be included in results. Uses same filter as boost.
|
440
|
+
class GoogleCloudDiscoveryengineV1alphaControlFilterAction
|
441
|
+
include Google::Apis::Core::Hashable
|
442
|
+
|
443
|
+
# Required. A filter to apply on the matching condition results. Required Syntax
|
444
|
+
# documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum
|
445
|
+
# length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown.
|
446
|
+
# Corresponds to the JSON property `filter`
|
447
|
+
# @return [String]
|
448
|
+
attr_accessor :filter
|
449
|
+
|
450
|
+
def initialize(**args)
|
451
|
+
update!(**args)
|
452
|
+
end
|
453
|
+
|
454
|
+
# Update properties of this object
|
455
|
+
def update!(**args)
|
456
|
+
@filter = args[:filter] if args.key?(:filter)
|
457
|
+
end
|
458
|
+
end
|
459
|
+
|
257
460
|
# Metadata related to the progress of the ImportDocuments operation. This will
|
258
461
|
# be returned by the google.longrunning.Operation.metadata field.
|
259
462
|
class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
|
@@ -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.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230306"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -64,6 +64,42 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class GoogleCloudDiscoveryengineV1alphaCondition
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class GoogleCloudDiscoveryengineV1alphaConditionQueryTerm
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class GoogleCloudDiscoveryengineV1alphaConditionTimeRange
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class GoogleCloudDiscoveryengineV1alphaControl
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class GoogleCloudDiscoveryengineV1alphaControlBoostAction
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class GoogleCloudDiscoveryengineV1alphaControlFilterAction
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
67
103
|
class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
|
68
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
105
|
|
@@ -346,6 +382,64 @@ module Google
|
|
346
382
|
end
|
347
383
|
end
|
348
384
|
|
385
|
+
class GoogleCloudDiscoveryengineV1alphaCondition
|
386
|
+
# @private
|
387
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
388
|
+
collection :active_time_range, as: 'activeTimeRange', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaConditionTimeRange, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaConditionTimeRange::Representation
|
389
|
+
|
390
|
+
collection :query_terms, as: 'queryTerms', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaConditionQueryTerm, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaConditionQueryTerm::Representation
|
391
|
+
|
392
|
+
end
|
393
|
+
end
|
394
|
+
|
395
|
+
class GoogleCloudDiscoveryengineV1alphaConditionQueryTerm
|
396
|
+
# @private
|
397
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
398
|
+
property :full_match, as: 'fullMatch'
|
399
|
+
property :value, as: 'value'
|
400
|
+
end
|
401
|
+
end
|
402
|
+
|
403
|
+
class GoogleCloudDiscoveryengineV1alphaConditionTimeRange
|
404
|
+
# @private
|
405
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
406
|
+
property :end_time, as: 'endTime'
|
407
|
+
property :start_time, as: 'startTime'
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
411
|
+
class GoogleCloudDiscoveryengineV1alphaControl
|
412
|
+
# @private
|
413
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
414
|
+
collection :associated_serving_config_ids, as: 'associatedServingConfigIds'
|
415
|
+
property :boost_action, as: 'boostAction', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaControlBoostAction, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaControlBoostAction::Representation
|
416
|
+
|
417
|
+
collection :conditions, as: 'conditions', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCondition, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCondition::Representation
|
418
|
+
|
419
|
+
property :display_name, as: 'displayName'
|
420
|
+
property :filter_action, as: 'filterAction', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaControlFilterAction, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaControlFilterAction::Representation
|
421
|
+
|
422
|
+
property :name, as: 'name'
|
423
|
+
property :solution_type, as: 'solutionType'
|
424
|
+
collection :use_cases, as: 'useCases'
|
425
|
+
end
|
426
|
+
end
|
427
|
+
|
428
|
+
class GoogleCloudDiscoveryengineV1alphaControlBoostAction
|
429
|
+
# @private
|
430
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
431
|
+
property :boost, as: 'boost'
|
432
|
+
property :filter, as: 'filter'
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
class GoogleCloudDiscoveryengineV1alphaControlFilterAction
|
437
|
+
# @private
|
438
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
439
|
+
property :filter, as: 'filter'
|
440
|
+
end
|
441
|
+
end
|
442
|
+
|
349
443
|
class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
|
350
444
|
# @private
|
351
445
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -286,6 +286,219 @@ module Google
|
|
286
286
|
execute_or_queue_command(command, &block)
|
287
287
|
end
|
288
288
|
|
289
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
290
|
+
# to poll the operation result at intervals as recommended by the API service.
|
291
|
+
# @param [String] name
|
292
|
+
# The name of the operation resource.
|
293
|
+
# @param [String] fields
|
294
|
+
# Selector specifying which fields to include in a partial response.
|
295
|
+
# @param [String] quota_user
|
296
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
297
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
298
|
+
# @param [Google::Apis::RequestOptions] options
|
299
|
+
# Request-specific options
|
300
|
+
#
|
301
|
+
# @yield [result, err] Result & error if block supplied
|
302
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation] parsed result object
|
303
|
+
# @yieldparam err [StandardError] error object if request failed
|
304
|
+
#
|
305
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation]
|
306
|
+
#
|
307
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
308
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
309
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
310
|
+
def get_project_location_collection_data_store_branch_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
311
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
312
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
|
313
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation
|
314
|
+
command.params['name'] = name unless name.nil?
|
315
|
+
command.query['fields'] = fields unless fields.nil?
|
316
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
317
|
+
execute_or_queue_command(command, &block)
|
318
|
+
end
|
319
|
+
|
320
|
+
# Lists operations that match the specified filter in the request. If the server
|
321
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
322
|
+
# @param [String] name
|
323
|
+
# The name of the operation's parent resource.
|
324
|
+
# @param [String] filter
|
325
|
+
# The standard list filter.
|
326
|
+
# @param [Fixnum] page_size
|
327
|
+
# The standard list page size.
|
328
|
+
# @param [String] page_token
|
329
|
+
# The standard list page token.
|
330
|
+
# @param [String] fields
|
331
|
+
# Selector specifying which fields to include in a partial response.
|
332
|
+
# @param [String] quota_user
|
333
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
334
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
335
|
+
# @param [Google::Apis::RequestOptions] options
|
336
|
+
# Request-specific options
|
337
|
+
#
|
338
|
+
# @yield [result, err] Result & error if block supplied
|
339
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse] parsed result object
|
340
|
+
# @yieldparam err [StandardError] error object if request failed
|
341
|
+
#
|
342
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse]
|
343
|
+
#
|
344
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
345
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
346
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
347
|
+
def list_project_location_collection_data_store_branch_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
348
|
+
command = make_simple_command(:get, 'v1beta/{+name}/operations', options)
|
349
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse::Representation
|
350
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse
|
351
|
+
command.params['name'] = name unless name.nil?
|
352
|
+
command.query['filter'] = filter unless filter.nil?
|
353
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
354
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
355
|
+
command.query['fields'] = fields unless fields.nil?
|
356
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
357
|
+
execute_or_queue_command(command, &block)
|
358
|
+
end
|
359
|
+
|
360
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
361
|
+
# to poll the operation result at intervals as recommended by the API service.
|
362
|
+
# @param [String] name
|
363
|
+
# The name of the operation resource.
|
364
|
+
# @param [String] fields
|
365
|
+
# Selector specifying which fields to include in a partial response.
|
366
|
+
# @param [String] quota_user
|
367
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
368
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
369
|
+
# @param [Google::Apis::RequestOptions] options
|
370
|
+
# Request-specific options
|
371
|
+
#
|
372
|
+
# @yield [result, err] Result & error if block supplied
|
373
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation] parsed result object
|
374
|
+
# @yieldparam err [StandardError] error object if request failed
|
375
|
+
#
|
376
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation]
|
377
|
+
#
|
378
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
379
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
380
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
381
|
+
def get_project_location_collection_data_store_model_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
382
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
383
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
|
384
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation
|
385
|
+
command.params['name'] = name unless name.nil?
|
386
|
+
command.query['fields'] = fields unless fields.nil?
|
387
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
388
|
+
execute_or_queue_command(command, &block)
|
389
|
+
end
|
390
|
+
|
391
|
+
# Lists operations that match the specified filter in the request. If the server
|
392
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
393
|
+
# @param [String] name
|
394
|
+
# The name of the operation's parent resource.
|
395
|
+
# @param [String] filter
|
396
|
+
# The standard list filter.
|
397
|
+
# @param [Fixnum] page_size
|
398
|
+
# The standard list page size.
|
399
|
+
# @param [String] page_token
|
400
|
+
# The standard list page token.
|
401
|
+
# @param [String] fields
|
402
|
+
# Selector specifying which fields to include in a partial response.
|
403
|
+
# @param [String] quota_user
|
404
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
405
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
406
|
+
# @param [Google::Apis::RequestOptions] options
|
407
|
+
# Request-specific options
|
408
|
+
#
|
409
|
+
# @yield [result, err] Result & error if block supplied
|
410
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse] parsed result object
|
411
|
+
# @yieldparam err [StandardError] error object if request failed
|
412
|
+
#
|
413
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse]
|
414
|
+
#
|
415
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
416
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
417
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
418
|
+
def list_project_location_collection_data_store_model_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
419
|
+
command = make_simple_command(:get, 'v1beta/{+name}/operations', options)
|
420
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse::Representation
|
421
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse
|
422
|
+
command.params['name'] = name unless name.nil?
|
423
|
+
command.query['filter'] = filter unless filter.nil?
|
424
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
425
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
426
|
+
command.query['fields'] = fields unless fields.nil?
|
427
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
428
|
+
execute_or_queue_command(command, &block)
|
429
|
+
end
|
430
|
+
|
431
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
432
|
+
# to poll the operation result at intervals as recommended by the API service.
|
433
|
+
# @param [String] name
|
434
|
+
# The name of the operation resource.
|
435
|
+
# @param [String] fields
|
436
|
+
# Selector specifying which fields to include in a partial response.
|
437
|
+
# @param [String] quota_user
|
438
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
439
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
440
|
+
# @param [Google::Apis::RequestOptions] options
|
441
|
+
# Request-specific options
|
442
|
+
#
|
443
|
+
# @yield [result, err] Result & error if block supplied
|
444
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation] parsed result object
|
445
|
+
# @yieldparam err [StandardError] error object if request failed
|
446
|
+
#
|
447
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation]
|
448
|
+
#
|
449
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
450
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
451
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
452
|
+
def get_project_location_collection_data_store_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
453
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
454
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
|
455
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation
|
456
|
+
command.params['name'] = name unless name.nil?
|
457
|
+
command.query['fields'] = fields unless fields.nil?
|
458
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
459
|
+
execute_or_queue_command(command, &block)
|
460
|
+
end
|
461
|
+
|
462
|
+
# Lists operations that match the specified filter in the request. If the server
|
463
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
464
|
+
# @param [String] name
|
465
|
+
# The name of the operation's parent resource.
|
466
|
+
# @param [String] filter
|
467
|
+
# The standard list filter.
|
468
|
+
# @param [Fixnum] page_size
|
469
|
+
# The standard list page size.
|
470
|
+
# @param [String] page_token
|
471
|
+
# The standard list page token.
|
472
|
+
# @param [String] fields
|
473
|
+
# Selector specifying which fields to include in a partial response.
|
474
|
+
# @param [String] quota_user
|
475
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
476
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
477
|
+
# @param [Google::Apis::RequestOptions] options
|
478
|
+
# Request-specific options
|
479
|
+
#
|
480
|
+
# @yield [result, err] Result & error if block supplied
|
481
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse] parsed result object
|
482
|
+
# @yieldparam err [StandardError] error object if request failed
|
483
|
+
#
|
484
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse]
|
485
|
+
#
|
486
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
487
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
488
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
489
|
+
def list_project_location_collection_data_store_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
490
|
+
command = make_simple_command(:get, 'v1beta/{+name}/operations', options)
|
491
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse::Representation
|
492
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse
|
493
|
+
command.params['name'] = name unless name.nil?
|
494
|
+
command.query['filter'] = filter unless filter.nil?
|
495
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
496
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
497
|
+
command.query['fields'] = fields unless fields.nil?
|
498
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
499
|
+
execute_or_queue_command(command, &block)
|
500
|
+
end
|
501
|
+
|
289
502
|
# Makes a recommendation, which requires a contextual user event.
|
290
503
|
# @param [String] serving_config
|
291
504
|
# Required. Full resource name of the format: projects/*/locations/global/
|
@@ -442,6 +655,77 @@ module Google
|
|
442
655
|
execute_or_queue_command(command, &block)
|
443
656
|
end
|
444
657
|
|
658
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
659
|
+
# to poll the operation result at intervals as recommended by the API service.
|
660
|
+
# @param [String] name
|
661
|
+
# The name of the operation resource.
|
662
|
+
# @param [String] fields
|
663
|
+
# Selector specifying which fields to include in a partial response.
|
664
|
+
# @param [String] quota_user
|
665
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
666
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
667
|
+
# @param [Google::Apis::RequestOptions] options
|
668
|
+
# Request-specific options
|
669
|
+
#
|
670
|
+
# @yield [result, err] Result & error if block supplied
|
671
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation] parsed result object
|
672
|
+
# @yieldparam err [StandardError] error object if request failed
|
673
|
+
#
|
674
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation]
|
675
|
+
#
|
676
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
677
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
678
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
679
|
+
def get_project_location_collection_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
680
|
+
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
681
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
|
682
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation
|
683
|
+
command.params['name'] = name unless name.nil?
|
684
|
+
command.query['fields'] = fields unless fields.nil?
|
685
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
686
|
+
execute_or_queue_command(command, &block)
|
687
|
+
end
|
688
|
+
|
689
|
+
# Lists operations that match the specified filter in the request. If the server
|
690
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
691
|
+
# @param [String] name
|
692
|
+
# The name of the operation's parent resource.
|
693
|
+
# @param [String] filter
|
694
|
+
# The standard list filter.
|
695
|
+
# @param [Fixnum] page_size
|
696
|
+
# The standard list page size.
|
697
|
+
# @param [String] page_token
|
698
|
+
# The standard list page token.
|
699
|
+
# @param [String] fields
|
700
|
+
# Selector specifying which fields to include in a partial response.
|
701
|
+
# @param [String] quota_user
|
702
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
703
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
704
|
+
# @param [Google::Apis::RequestOptions] options
|
705
|
+
# Request-specific options
|
706
|
+
#
|
707
|
+
# @yield [result, err] Result & error if block supplied
|
708
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse] parsed result object
|
709
|
+
# @yieldparam err [StandardError] error object if request failed
|
710
|
+
#
|
711
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse]
|
712
|
+
#
|
713
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
714
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
715
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
716
|
+
def list_project_location_collection_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
717
|
+
command = make_simple_command(:get, 'v1beta/{+name}/operations', options)
|
718
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse::Representation
|
719
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningListOperationsResponse
|
720
|
+
command.params['name'] = name unless name.nil?
|
721
|
+
command.query['filter'] = filter unless filter.nil?
|
722
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
723
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
724
|
+
command.query['fields'] = fields unless fields.nil?
|
725
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
726
|
+
execute_or_queue_command(command, &block)
|
727
|
+
end
|
728
|
+
|
445
729
|
# Creates a Document.
|
446
730
|
# @param [String] parent
|
447
731
|
# Required. The parent resource name, such as `projects/`project`/locations/`
|
@@ -711,13 +995,7 @@ module Google
|
|
711
995
|
end
|
712
996
|
|
713
997
|
# Lists operations that match the specified filter in the request. If the server
|
714
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
715
|
-
# binding allows API services to override the binding to use different resource
|
716
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
717
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
718
|
-
# service configuration. For backwards compatibility, the default name includes
|
719
|
-
# the operations collection id, however overriding users must ensure the name
|
720
|
-
# binding is the parent resource, without the operations collection id.
|
998
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
721
999
|
# @param [String] name
|
722
1000
|
# The name of the operation's parent resource.
|
723
1001
|
# @param [String] filter
|
@@ -788,13 +1066,7 @@ module Google
|
|
788
1066
|
end
|
789
1067
|
|
790
1068
|
# Lists operations that match the specified filter in the request. If the server
|
791
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
792
|
-
# binding allows API services to override the binding to use different resource
|
793
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
794
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
795
|
-
# service configuration. For backwards compatibility, the default name includes
|
796
|
-
# the operations collection id, however overriding users must ensure the name
|
797
|
-
# binding is the parent resource, without the operations collection id.
|
1069
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
798
1070
|
# @param [String] name
|
799
1071
|
# The name of the operation's parent resource.
|
800
1072
|
# @param [String] filter
|
@@ -865,13 +1137,7 @@ module Google
|
|
865
1137
|
end
|
866
1138
|
|
867
1139
|
# Lists operations that match the specified filter in the request. If the server
|
868
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
869
|
-
# binding allows API services to override the binding to use different resource
|
870
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
871
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
872
|
-
# service configuration. For backwards compatibility, the default name includes
|
873
|
-
# the operations collection id, however overriding users must ensure the name
|
874
|
-
# binding is the parent resource, without the operations collection id.
|
1140
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
875
1141
|
# @param [String] name
|
876
1142
|
# The name of the operation's parent resource.
|
877
1143
|
# @param [String] filter
|
@@ -1098,13 +1364,7 @@ module Google
|
|
1098
1364
|
end
|
1099
1365
|
|
1100
1366
|
# Lists operations that match the specified filter in the request. If the server
|
1101
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1102
|
-
# binding allows API services to override the binding to use different resource
|
1103
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
1104
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
1105
|
-
# service configuration. For backwards compatibility, the default name includes
|
1106
|
-
# the operations collection id, however overriding users must ensure the name
|
1107
|
-
# binding is the parent resource, without the operations collection id.
|
1367
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1108
1368
|
# @param [String] name
|
1109
1369
|
# The name of the operation's parent resource.
|
1110
1370
|
# @param [String] filter
|
@@ -1175,13 +1435,7 @@ module Google
|
|
1175
1435
|
end
|
1176
1436
|
|
1177
1437
|
# Lists operations that match the specified filter in the request. If the server
|
1178
|
-
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1179
|
-
# binding allows API services to override the binding to use different resource
|
1180
|
-
# name schemes, such as `users/*/operations`. To override the binding, API
|
1181
|
-
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
1182
|
-
# service configuration. For backwards compatibility, the default name includes
|
1183
|
-
# the operations collection id, however overriding users must ensure the name
|
1184
|
-
# binding is the parent resource, without the operations collection id.
|
1438
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
1185
1439
|
# @param [String] name
|
1186
1440
|
# The name of the operation's parent resource.
|
1187
1441
|
# @param [String] filter
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.9.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|