google-apis-discoveryengine_v1beta 0.7.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 +8 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +219 -36
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +94 -2
- data/lib/google/apis/discoveryengine_v1beta/service.rb +709 -59
- 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
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-discoveryengine_v1beta
|
2
2
|
|
3
|
+
### v0.9.0 (2023-03-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230306
|
6
|
+
|
7
|
+
### v0.8.0 (2023-03-05)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230227
|
10
|
+
|
3
11
|
### v0.7.0 (2023-02-26)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230209
|
@@ -105,9 +105,10 @@ module Google
|
|
105
105
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingErrorContext]
|
106
106
|
attr_accessor :context
|
107
107
|
|
108
|
-
# The error payload that is populated on LRO import APIs
|
109
|
-
# cloud.discoveryengine.v1alpha.DocumentService.
|
110
|
-
# discoveryengine.v1alpha.UserEventService.
|
108
|
+
# The error payload that is populated on LRO import APIs, including the
|
109
|
+
# following: * `google.cloud.discoveryengine.v1alpha.DocumentService.
|
110
|
+
# ImportDocuments` * `google.cloud.discoveryengine.v1alpha.UserEventService.
|
111
|
+
# ImportUserEvents`
|
111
112
|
# Corresponds to the JSON property `importPayload`
|
112
113
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingImportErrorContext]
|
113
114
|
attr_accessor :import_payload
|
@@ -117,26 +118,6 @@ module Google
|
|
117
118
|
# @return [String]
|
118
119
|
attr_accessor :message
|
119
120
|
|
120
|
-
# The API request payload, represented as a protocol buffer. Most API request
|
121
|
-
# types are supported. For example: "type.googleapis.com/google.cloud.
|
122
|
-
# discoveryengine.v1alpha.DocumentService.CreateDocumentRequest" "type.
|
123
|
-
# googleapis.com/google.cloud.discoveryengine.v1alpha.UserEventService.
|
124
|
-
# WriteUserEventRequest"
|
125
|
-
# Corresponds to the JSON property `requestPayload`
|
126
|
-
# @return [Hash<String,Object>]
|
127
|
-
attr_accessor :request_payload
|
128
|
-
|
129
|
-
# The API response payload, represented as a protocol buffer. This is used to
|
130
|
-
# log some "soft errors", where the response is valid but we consider there are
|
131
|
-
# some quality issues like unjoined events. The following API responses are
|
132
|
-
# supported and no PII is included: "google.cloud.discoveryengine.v1alpha.
|
133
|
-
# RecommendationService.Recommend" "google.cloud.discoveryengine.v1alpha.
|
134
|
-
# UserEventService.WriteUserEvent" "google.cloud.discoveryengine.v1alpha.
|
135
|
-
# UserEventService.CollectUserEvent"
|
136
|
-
# Corresponds to the JSON property `responsePayload`
|
137
|
-
# @return [Hash<String,Object>]
|
138
|
-
attr_accessor :response_payload
|
139
|
-
|
140
121
|
# Describes a running service that sends errors.
|
141
122
|
# Corresponds to the JSON property `serviceContext`
|
142
123
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingServiceContext]
|
@@ -161,8 +142,6 @@ module Google
|
|
161
142
|
@context = args[:context] if args.key?(:context)
|
162
143
|
@import_payload = args[:import_payload] if args.key?(:import_payload)
|
163
144
|
@message = args[:message] if args.key?(:message)
|
164
|
-
@request_payload = args[:request_payload] if args.key?(:request_payload)
|
165
|
-
@response_payload = args[:response_payload] if args.key?(:response_payload)
|
166
145
|
@service_context = args[:service_context] if args.key?(:service_context)
|
167
146
|
@status = args[:status] if args.key?(:status)
|
168
147
|
end
|
@@ -187,9 +166,10 @@ module Google
|
|
187
166
|
end
|
188
167
|
end
|
189
168
|
|
190
|
-
# The error payload that is populated on LRO import APIs
|
191
|
-
# cloud.discoveryengine.v1alpha.DocumentService.
|
192
|
-
# discoveryengine.v1alpha.UserEventService.
|
169
|
+
# The error payload that is populated on LRO import APIs, including the
|
170
|
+
# following: * `google.cloud.discoveryengine.v1alpha.DocumentService.
|
171
|
+
# ImportDocuments` * `google.cloud.discoveryengine.v1alpha.UserEventService.
|
172
|
+
# ImportUserEvents`
|
193
173
|
class GoogleCloudDiscoveryengineLoggingImportErrorContext
|
194
174
|
include Google::Apis::Core::Hashable
|
195
175
|
|
@@ -238,7 +218,7 @@ module Google
|
|
238
218
|
class GoogleCloudDiscoveryengineLoggingServiceContext
|
239
219
|
include Google::Apis::Core::Hashable
|
240
220
|
|
241
|
-
# An identifier of the service
|
221
|
+
# An identifier of the service—for example, `discoveryengine.googleapis.com`.
|
242
222
|
# Corresponds to the JSON property `service`
|
243
223
|
# @return [String]
|
244
224
|
attr_accessor :service
|
@@ -258,8 +238,8 @@ module Google
|
|
258
238
|
class GoogleCloudDiscoveryengineLoggingSourceLocation
|
259
239
|
include Google::Apis::Core::Hashable
|
260
240
|
|
261
|
-
# Human-readable name of a function or method
|
262
|
-
# discoveryengine.v1alpha.RecommendationService.Recommend
|
241
|
+
# Human-readable name of a function or method—for example, `google.cloud.
|
242
|
+
# discoveryengine.v1alpha.RecommendationService.Recommend`.
|
263
243
|
# Corresponds to the JSON property `functionName`
|
264
244
|
# @return [String]
|
265
245
|
attr_accessor :function_name
|
@@ -274,6 +254,209 @@ module Google
|
|
274
254
|
end
|
275
255
|
end
|
276
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
|
+
|
277
460
|
# Metadata related to the progress of the ImportDocuments operation. This will
|
278
461
|
# be returned by the google.longrunning.Operation.metadata field.
|
279
462
|
class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
|
@@ -582,9 +765,9 @@ module Google
|
|
582
765
|
attr_accessor :json_data
|
583
766
|
|
584
767
|
# Immutable. The full resource name of the document. Format: `projects/`project`/
|
585
|
-
# locations/`location`/dataStores/`data_store`/branches
|
586
|
-
# document_id``. This field must be a UTF-8 encoded string
|
587
|
-
# of 1024 characters.
|
768
|
+
# locations/`location`/collections/`collection`/dataStores/`data_store`/branches/
|
769
|
+
# `branch`/documents/`document_id``. This field must be a UTF-8 encoded string
|
770
|
+
# with a length limit of 1024 characters.
|
588
771
|
# Corresponds to the JSON property `name`
|
589
772
|
# @return [String]
|
590
773
|
attr_accessor :name
|
@@ -632,8 +815,8 @@ module Google
|
|
632
815
|
attr_accessor :id
|
633
816
|
|
634
817
|
# Required. The Document resource full name, of the form: projects/`project\_id`/
|
635
|
-
# locations/`location`/dataStores/`data\_store\_id`/
|
636
|
-
# documents/`document\_id`
|
818
|
+
# locations/`location`/collections/`collection\_id`/dataStores/`data\_store\_id`/
|
819
|
+
# branches/`branch\_id`/documents/`document\_id`
|
637
820
|
# Corresponds to the JSON property `name`
|
638
821
|
# @return [String]
|
639
822
|
attr_accessor :name
|
@@ -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
|
|
@@ -307,8 +343,6 @@ module Google
|
|
307
343
|
property :import_payload, as: 'importPayload', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingImportErrorContext, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingImportErrorContext::Representation
|
308
344
|
|
309
345
|
property :message, as: 'message'
|
310
|
-
hash :request_payload, as: 'requestPayload'
|
311
|
-
hash :response_payload, as: 'responsePayload'
|
312
346
|
property :service_context, as: 'serviceContext', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingServiceContext, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingServiceContext::Representation
|
313
347
|
|
314
348
|
property :status, as: 'status', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
|
@@ -348,6 +382,64 @@ module Google
|
|
348
382
|
end
|
349
383
|
end
|
350
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
|
+
|
351
443
|
class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
|
352
444
|
# @private
|
353
445
|
class Representation < Google::Apis::Core::JsonRepresentation
|