google-apis-discoveryengine_v1alpha 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72020d972f060f202e08822ec349c894298051fc77fa419f7b71ea39f9dab7a7
4
- data.tar.gz: e20445ca485fc70e9354f08be22bafdbce4163b8a47ef35118d455911f6c0f3e
3
+ metadata.gz: cb0977f8f2baaca6c95a1fa9139a5b4d1f02e780b3e8ab456d1f1c94612cc066
4
+ data.tar.gz: d71148dc1b63db47f48485956d2dcd240acd1d09a2ae99d184ef704bff444883
5
5
  SHA512:
6
- metadata.gz: b16e70b37f72562a083c4f45e292b3f2f5dfc067aeb819d6c8f5d4df56908e68ac61bfce4d04e0659a9bab0a3e4d407a881ad552bf7c86690954e7760600b03d
7
- data.tar.gz: 574f3172fe9082cc35c5d4a290941961a6011c2b415291e6a6e426fa02a98445f843808e1e63b85cb2f003271611fbc32e73945e455b951f48cbd2e13f567242
6
+ metadata.gz: 32e98508876b84a4f3347bb0b0e8bbbd19b821151099fa6a319a96fb17e53e3d92b8185cd360886b8c4d3e49c807a3b107e15bbdb112266b4ca2d422cc38c572
7
+ data.tar.gz: 7f64aa9cb4efc04d9a8f8056fcf3479cb07e207340cdebfaa8b513110317c82c6b10da1c52c0f37fd6a2cfe80f5d27085d6ecd929df1fbdba33aa37a475404b6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1alpha
2
2
 
3
+ ### v0.7.0 (2023-03-19)
4
+
5
+ * Regenerated from discovery document revision 20230310
6
+
3
7
  ### v0.6.0 (2023-03-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20230227
@@ -346,6 +346,209 @@ module Google
346
346
  end
347
347
  end
348
348
 
349
+ # Defines circumstances to be checked before allowing a behavior
350
+ class GoogleCloudDiscoveryengineV1alphaCondition
351
+ include Google::Apis::Core::Hashable
352
+
353
+ # Optional. Range of time(s) specifying when condition is active. Maximum of 10
354
+ # time ranges.
355
+ # Corresponds to the JSON property `activeTimeRange`
356
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConditionTimeRange>]
357
+ attr_accessor :active_time_range
358
+
359
+ # Optional. Search only A list of terms to match the query on. Maximum of 10
360
+ # query terms.
361
+ # Corresponds to the JSON property `queryTerms`
362
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConditionQueryTerm>]
363
+ attr_accessor :query_terms
364
+
365
+ def initialize(**args)
366
+ update!(**args)
367
+ end
368
+
369
+ # Update properties of this object
370
+ def update!(**args)
371
+ @active_time_range = args[:active_time_range] if args.key?(:active_time_range)
372
+ @query_terms = args[:query_terms] if args.key?(:query_terms)
373
+ end
374
+ end
375
+
376
+ # Matcher for search request query
377
+ class GoogleCloudDiscoveryengineV1alphaConditionQueryTerm
378
+ include Google::Apis::Core::Hashable
379
+
380
+ # Whether the search query needs to exactly match the query term.
381
+ # Corresponds to the JSON property `fullMatch`
382
+ # @return [Boolean]
383
+ attr_accessor :full_match
384
+ alias_method :full_match?, :full_match
385
+
386
+ # The specific query value to match against Must be lowercase, must be UTF-8.
387
+ # Can have at most 3 space separated terms if full_match is true. Cannot be an
388
+ # empty string. Maximum length of 5000 characters.
389
+ # Corresponds to the JSON property `value`
390
+ # @return [String]
391
+ attr_accessor :value
392
+
393
+ def initialize(**args)
394
+ update!(**args)
395
+ end
396
+
397
+ # Update properties of this object
398
+ def update!(**args)
399
+ @full_match = args[:full_match] if args.key?(:full_match)
400
+ @value = args[:value] if args.key?(:value)
401
+ end
402
+ end
403
+
404
+ # Used for time-dependent conditions.
405
+ class GoogleCloudDiscoveryengineV1alphaConditionTimeRange
406
+ include Google::Apis::Core::Hashable
407
+
408
+ # End of time range. Range is inclusive. Must be in the future.
409
+ # Corresponds to the JSON property `endTime`
410
+ # @return [String]
411
+ attr_accessor :end_time
412
+
413
+ # Start of time range. Range is inclusive.
414
+ # Corresponds to the JSON property `startTime`
415
+ # @return [String]
416
+ attr_accessor :start_time
417
+
418
+ def initialize(**args)
419
+ update!(**args)
420
+ end
421
+
422
+ # Update properties of this object
423
+ def update!(**args)
424
+ @end_time = args[:end_time] if args.key?(:end_time)
425
+ @start_time = args[:start_time] if args.key?(:start_time)
426
+ end
427
+ end
428
+
429
+ # Defines a conditioned behavior to employ during serving. Must be attached to a
430
+ # [ServingConfig] to be considered at serving time. Permitted actions dependent
431
+ # on Solution Type.
432
+ class GoogleCloudDiscoveryengineV1alphaControl
433
+ include Google::Apis::Core::Hashable
434
+
435
+ # Output only. List of all [ServingConfig] ids this control is attached to. May
436
+ # take up to 10 minutes to update after changes.
437
+ # Corresponds to the JSON property `associatedServingConfigIds`
438
+ # @return [Array<String>]
439
+ attr_accessor :associated_serving_config_ids
440
+
441
+ # Adjusts order of products in returned list.
442
+ # Corresponds to the JSON property `boostAction`
443
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaControlBoostAction]
444
+ attr_accessor :boost_action
445
+
446
+ # Determines when the associated action will trigger. Omit to always apply the
447
+ # action. Currently only a single condition may be specified. Otherwise an
448
+ # INVALID ARGUMENT error is thrown.
449
+ # Corresponds to the JSON property `conditions`
450
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCondition>]
451
+ attr_accessor :conditions
452
+
453
+ # Required. Human readable name. The identifier used in UI views. Must be UTF-8
454
+ # encoded string. Length limit is 128 characters. Otherwise an INVALID ARGUMENT
455
+ # error is thrown.
456
+ # Corresponds to the JSON property `displayName`
457
+ # @return [String]
458
+ attr_accessor :display_name
459
+
460
+ # Specified which products may be included in results. Uses same filter as boost.
461
+ # Corresponds to the JSON property `filterAction`
462
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaControlFilterAction]
463
+ attr_accessor :filter_action
464
+
465
+ # Immutable. Fully qualified name `projects/*/locations/global/dataStore/*/
466
+ # controls/*`
467
+ # Corresponds to the JSON property `name`
468
+ # @return [String]
469
+ attr_accessor :name
470
+
471
+ # Required. What solution the control belongs to. Must be compatible with
472
+ # vertical of resource. Otherwise an INVALID ARGUMENT error is thrown.
473
+ # Corresponds to the JSON property `solutionType`
474
+ # @return [String]
475
+ attr_accessor :solution_type
476
+
477
+ # Specifies the use case for the control. Affects what condition fields can be
478
+ # set. Only applies to SOLUTION_TYPE_SEARCH. Currently only allow one use case
479
+ # per control. Must be set when solution_type is SolutionType.
480
+ # SOLUTION_TYPE_SEARCH.
481
+ # Corresponds to the JSON property `useCases`
482
+ # @return [Array<String>]
483
+ attr_accessor :use_cases
484
+
485
+ def initialize(**args)
486
+ update!(**args)
487
+ end
488
+
489
+ # Update properties of this object
490
+ def update!(**args)
491
+ @associated_serving_config_ids = args[:associated_serving_config_ids] if args.key?(:associated_serving_config_ids)
492
+ @boost_action = args[:boost_action] if args.key?(:boost_action)
493
+ @conditions = args[:conditions] if args.key?(:conditions)
494
+ @display_name = args[:display_name] if args.key?(:display_name)
495
+ @filter_action = args[:filter_action] if args.key?(:filter_action)
496
+ @name = args[:name] if args.key?(:name)
497
+ @solution_type = args[:solution_type] if args.key?(:solution_type)
498
+ @use_cases = args[:use_cases] if args.key?(:use_cases)
499
+ end
500
+ end
501
+
502
+ # Adjusts order of products in returned list.
503
+ class GoogleCloudDiscoveryengineV1alphaControlBoostAction
504
+ include Google::Apis::Core::Hashable
505
+
506
+ # Required. Strength of the boost, which should be in [-1, 1]. Negative boost
507
+ # means demotion. Default is 0.0 (No-op).
508
+ # Corresponds to the JSON property `boost`
509
+ # @return [Float]
510
+ attr_accessor :boost
511
+
512
+ # Required. Specifies which products to apply the boost to. If no filter is
513
+ # provided all products will be boosted (No-op). Syntax documentation: https://
514
+ # cloud.google.com/retail/docs/filter-and-order Maximum length is 5000
515
+ # characters. Otherwise an INVALID ARGUMENT error is thrown.
516
+ # Corresponds to the JSON property `filter`
517
+ # @return [String]
518
+ attr_accessor :filter
519
+
520
+ def initialize(**args)
521
+ update!(**args)
522
+ end
523
+
524
+ # Update properties of this object
525
+ def update!(**args)
526
+ @boost = args[:boost] if args.key?(:boost)
527
+ @filter = args[:filter] if args.key?(:filter)
528
+ end
529
+ end
530
+
531
+ # Specified which products may be included in results. Uses same filter as boost.
532
+ class GoogleCloudDiscoveryengineV1alphaControlFilterAction
533
+ include Google::Apis::Core::Hashable
534
+
535
+ # Required. A filter to apply on the matching condition results. Required Syntax
536
+ # documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum
537
+ # length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown.
538
+ # Corresponds to the JSON property `filter`
539
+ # @return [String]
540
+ attr_accessor :filter
541
+
542
+ def initialize(**args)
543
+ update!(**args)
544
+ end
545
+
546
+ # Update properties of this object
547
+ def update!(**args)
548
+ @filter = args[:filter] if args.key?(:filter)
549
+ end
550
+ end
551
+
349
552
  # A custom attribute that is not explicitly modeled in a resource, e.g.
350
553
  # UserEvent.
351
554
  class GoogleCloudDiscoveryengineV1alphaCustomAttribute
@@ -484,9 +687,12 @@ module Google
484
687
  include Google::Apis::Core::Hashable
485
688
 
486
689
  # The schema to use when parsing the data from the source. Supported values for
487
- # imports: * `user_event` (default): One JSON UserEvent per line. * `document` (
488
- # default): One JSON Document per line. Each document must have a valid Document.
489
- # id.
690
+ # document imports: * `document` (default): One JSON Document per line. Each
691
+ # document must have a valid Document.id. * `content`: Unstructured data (e.g.
692
+ # PDF, HTML). Each file matched by `input_uris` will become a document, with the
693
+ # ID set to the first 128 bits of SHA256(URI) encoded as a hex string. Supported
694
+ # values for user even imports: * `user_event` (default): One JSON UserEvent per
695
+ # line.
490
696
  # Corresponds to the JSON property `dataSchema`
491
697
  # @return [String]
492
698
  attr_accessor :data_schema
@@ -494,8 +700,8 @@ module Google
494
700
  # Required. Cloud Storage URIs to input files. URI can be up to 2000 characters
495
701
  # long. URIs can match the full object path (for example, `gs://bucket/directory/
496
702
  # object.json`) or a pattern matching one or more files, such as `gs://bucket/
497
- # directory/*.json`. A request can contain at most 100 files, and each file can
498
- # be up to 2 GB.
703
+ # directory/*.json`. A request can contain at most 100 files or 100000 files if
704
+ # the data_schema is `content`. And each file can be up to 2 GB.
499
705
  # Corresponds to the JSON property `inputUris`
500
706
  # @return [Array<String>]
501
707
  attr_accessor :input_uris
@@ -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.6.0"
19
+ GEM_VERSION = "0.7.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 = "20230227"
25
+ REVISION = "20230310"
26
26
  end
27
27
  end
28
28
  end
@@ -76,6 +76,42 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class GoogleCloudDiscoveryengineV1alphaCondition
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudDiscoveryengineV1alphaConditionQueryTerm
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleCloudDiscoveryengineV1alphaConditionTimeRange
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleCloudDiscoveryengineV1alphaControl
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudDiscoveryengineV1alphaControlBoostAction
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudDiscoveryengineV1alphaControlFilterAction
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
79
115
  class GoogleCloudDiscoveryengineV1alphaCustomAttribute
80
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
117
 
@@ -367,6 +403,64 @@ module Google
367
403
  end
368
404
  end
369
405
 
406
+ class GoogleCloudDiscoveryengineV1alphaCondition
407
+ # @private
408
+ class Representation < Google::Apis::Core::JsonRepresentation
409
+ collection :active_time_range, as: 'activeTimeRange', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConditionTimeRange, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConditionTimeRange::Representation
410
+
411
+ collection :query_terms, as: 'queryTerms', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConditionQueryTerm, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaConditionQueryTerm::Representation
412
+
413
+ end
414
+ end
415
+
416
+ class GoogleCloudDiscoveryengineV1alphaConditionQueryTerm
417
+ # @private
418
+ class Representation < Google::Apis::Core::JsonRepresentation
419
+ property :full_match, as: 'fullMatch'
420
+ property :value, as: 'value'
421
+ end
422
+ end
423
+
424
+ class GoogleCloudDiscoveryengineV1alphaConditionTimeRange
425
+ # @private
426
+ class Representation < Google::Apis::Core::JsonRepresentation
427
+ property :end_time, as: 'endTime'
428
+ property :start_time, as: 'startTime'
429
+ end
430
+ end
431
+
432
+ class GoogleCloudDiscoveryengineV1alphaControl
433
+ # @private
434
+ class Representation < Google::Apis::Core::JsonRepresentation
435
+ collection :associated_serving_config_ids, as: 'associatedServingConfigIds'
436
+ property :boost_action, as: 'boostAction', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaControlBoostAction, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaControlBoostAction::Representation
437
+
438
+ collection :conditions, as: 'conditions', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCondition, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCondition::Representation
439
+
440
+ property :display_name, as: 'displayName'
441
+ property :filter_action, as: 'filterAction', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaControlFilterAction, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaControlFilterAction::Representation
442
+
443
+ property :name, as: 'name'
444
+ property :solution_type, as: 'solutionType'
445
+ collection :use_cases, as: 'useCases'
446
+ end
447
+ end
448
+
449
+ class GoogleCloudDiscoveryengineV1alphaControlBoostAction
450
+ # @private
451
+ class Representation < Google::Apis::Core::JsonRepresentation
452
+ property :boost, as: 'boost'
453
+ property :filter, as: 'filter'
454
+ end
455
+ end
456
+
457
+ class GoogleCloudDiscoveryengineV1alphaControlFilterAction
458
+ # @private
459
+ class Representation < Google::Apis::Core::JsonRepresentation
460
+ property :filter, as: 'filter'
461
+ end
462
+ end
463
+
370
464
  class GoogleCloudDiscoveryengineV1alphaCustomAttribute
371
465
  # @private
372
466
  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::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
303
+ # @yieldparam err [StandardError] error object if request failed
304
+ #
305
+ # @return [Google::Apis::DiscoveryengineV1alpha::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, 'v1alpha/{+name}', options)
312
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
313
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::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::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse] parsed result object
340
+ # @yieldparam err [StandardError] error object if request failed
341
+ #
342
+ # @return [Google::Apis::DiscoveryengineV1alpha::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, 'v1alpha/{+name}/operations', options)
349
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
350
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::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::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
374
+ # @yieldparam err [StandardError] error object if request failed
375
+ #
376
+ # @return [Google::Apis::DiscoveryengineV1alpha::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, 'v1alpha/{+name}', options)
383
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
384
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::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::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse] parsed result object
411
+ # @yieldparam err [StandardError] error object if request failed
412
+ #
413
+ # @return [Google::Apis::DiscoveryengineV1alpha::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, 'v1alpha/{+name}/operations', options)
420
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
421
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::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::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
445
+ # @yieldparam err [StandardError] error object if request failed
446
+ #
447
+ # @return [Google::Apis::DiscoveryengineV1alpha::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, 'v1alpha/{+name}', options)
454
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
455
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::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::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse] parsed result object
482
+ # @yieldparam err [StandardError] error object if request failed
483
+ #
484
+ # @return [Google::Apis::DiscoveryengineV1alpha::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, 'v1alpha/{+name}/operations', options)
491
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
492
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::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::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
672
+ # @yieldparam err [StandardError] error object if request failed
673
+ #
674
+ # @return [Google::Apis::DiscoveryengineV1alpha::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, 'v1alpha/{+name}', options)
681
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
682
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::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::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse] parsed result object
709
+ # @yieldparam err [StandardError] error object if request failed
710
+ #
711
+ # @return [Google::Apis::DiscoveryengineV1alpha::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, 'v1alpha/{+name}/operations', options)
718
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
719
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::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`. NOTE: the `name`
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`. NOTE: the `name`
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`. NOTE: the `name`
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`. NOTE: the `name`
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`. NOTE: the `name`
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_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.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-05 00:00:00.000000000 Z
11
+ date: 2023-03-19 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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.7.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []