google-apis-discoveryengine_v1beta 0.12.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.12.0"
19
+ GEM_VERSION = "0.14.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 = "20230408"
25
+ REVISION = "20230525"
26
26
  end
27
27
  end
28
28
  end
@@ -64,6 +64,60 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class GoogleCloudDiscoveryengineV1ImportDocumentsMetadata
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleCloudDiscoveryengineV1ImportDocumentsResponse
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleCloudDiscoveryengineV1ImportErrorConfig
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudDiscoveryengineV1ImportUserEventsMetadata
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleCloudDiscoveryengineV1ImportUserEventsResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudDiscoveryengineV1PurgeDocumentsResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudDiscoveryengineV1Schema
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
67
121
  class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
68
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
123
 
@@ -94,12 +148,30 @@ module Google
94
148
  include Google::Apis::Core::JsonObjectSupport
95
149
  end
96
150
 
151
+ class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
97
163
  class GoogleCloudDiscoveryengineV1alphaSchema
98
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
165
 
100
166
  include Google::Apis::Core::JsonObjectSupport
101
167
  end
102
168
 
169
+ class GoogleCloudDiscoveryengineV1alphaTargetSite
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
103
175
  class GoogleCloudDiscoveryengineV1betaBigQuerySource
104
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
177
 
@@ -214,6 +286,24 @@ module Google
214
286
  include Google::Apis::Core::JsonObjectSupport
215
287
  end
216
288
 
289
+ class GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
217
307
  class GoogleCloudDiscoveryengineV1betaRecommendRequest
218
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
309
 
@@ -360,6 +450,90 @@ module Google
360
450
  end
361
451
  end
362
452
 
453
+ class GoogleCloudDiscoveryengineV1ImportDocumentsMetadata
454
+ # @private
455
+ class Representation < Google::Apis::Core::JsonRepresentation
456
+ property :create_time, as: 'createTime'
457
+ property :failure_count, :numeric_string => true, as: 'failureCount'
458
+ property :success_count, :numeric_string => true, as: 'successCount'
459
+ property :update_time, as: 'updateTime'
460
+ end
461
+ end
462
+
463
+ class GoogleCloudDiscoveryengineV1ImportDocumentsResponse
464
+ # @private
465
+ class Representation < Google::Apis::Core::JsonRepresentation
466
+ property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1ImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1ImportErrorConfig::Representation
467
+
468
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
469
+
470
+ end
471
+ end
472
+
473
+ class GoogleCloudDiscoveryengineV1ImportErrorConfig
474
+ # @private
475
+ class Representation < Google::Apis::Core::JsonRepresentation
476
+ property :gcs_prefix, as: 'gcsPrefix'
477
+ end
478
+ end
479
+
480
+ class GoogleCloudDiscoveryengineV1ImportUserEventsMetadata
481
+ # @private
482
+ class Representation < Google::Apis::Core::JsonRepresentation
483
+ property :create_time, as: 'createTime'
484
+ property :failure_count, :numeric_string => true, as: 'failureCount'
485
+ property :success_count, :numeric_string => true, as: 'successCount'
486
+ property :update_time, as: 'updateTime'
487
+ end
488
+ end
489
+
490
+ class GoogleCloudDiscoveryengineV1ImportUserEventsResponse
491
+ # @private
492
+ class Representation < Google::Apis::Core::JsonRepresentation
493
+ property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1ImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1ImportErrorConfig::Representation
494
+
495
+ collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
496
+
497
+ property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
498
+ property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
499
+ end
500
+ end
501
+
502
+ class GoogleCloudDiscoveryengineV1PurgeDocumentsMetadata
503
+ # @private
504
+ class Representation < Google::Apis::Core::JsonRepresentation
505
+ property :create_time, as: 'createTime'
506
+ property :failure_count, :numeric_string => true, as: 'failureCount'
507
+ property :success_count, :numeric_string => true, as: 'successCount'
508
+ property :update_time, as: 'updateTime'
509
+ end
510
+ end
511
+
512
+ class GoogleCloudDiscoveryengineV1PurgeDocumentsResponse
513
+ # @private
514
+ class Representation < Google::Apis::Core::JsonRepresentation
515
+ property :purge_count, :numeric_string => true, as: 'purgeCount'
516
+ collection :purge_sample, as: 'purgeSample'
517
+ end
518
+ end
519
+
520
+ class GoogleCloudDiscoveryengineV1Schema
521
+ # @private
522
+ class Representation < Google::Apis::Core::JsonRepresentation
523
+ property :json_schema, as: 'jsonSchema'
524
+ property :name, as: 'name'
525
+ hash :struct_schema, as: 'structSchema'
526
+ end
527
+ end
528
+
529
+ class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse
530
+ # @private
531
+ class Representation < Google::Apis::Core::JsonRepresentation
532
+ collection :target_sites, as: 'targetSites', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaTargetSite, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaTargetSite::Representation
533
+
534
+ end
535
+ end
536
+
363
537
  class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
364
538
  # @private
365
539
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -409,6 +583,24 @@ module Google
409
583
  end
410
584
  end
411
585
 
586
+ class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsMetadata
587
+ # @private
588
+ class Representation < Google::Apis::Core::JsonRepresentation
589
+ property :create_time, as: 'createTime'
590
+ property :failure_count, :numeric_string => true, as: 'failureCount'
591
+ property :success_count, :numeric_string => true, as: 'successCount'
592
+ property :update_time, as: 'updateTime'
593
+ end
594
+ end
595
+
596
+ class GoogleCloudDiscoveryengineV1alphaPurgeDocumentsResponse
597
+ # @private
598
+ class Representation < Google::Apis::Core::JsonRepresentation
599
+ property :purge_count, :numeric_string => true, as: 'purgeCount'
600
+ collection :purge_sample, as: 'purgeSample'
601
+ end
602
+ end
603
+
412
604
  class GoogleCloudDiscoveryengineV1alphaSchema
413
605
  # @private
414
606
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -418,6 +610,18 @@ module Google
418
610
  end
419
611
  end
420
612
 
613
+ class GoogleCloudDiscoveryengineV1alphaTargetSite
614
+ # @private
615
+ class Representation < Google::Apis::Core::JsonRepresentation
616
+ property :exact_match, as: 'exactMatch'
617
+ property :generated_uri_pattern, as: 'generatedUriPattern'
618
+ property :name, as: 'name'
619
+ property :provided_uri_pattern, as: 'providedUriPattern'
620
+ property :type, as: 'type'
621
+ property :update_time, as: 'updateTime'
622
+ end
623
+ end
624
+
421
625
  class GoogleCloudDiscoveryengineV1betaBigQuerySource
422
626
  # @private
423
627
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -466,6 +670,7 @@ module Google
466
670
  property :name, as: 'name'
467
671
  collection :promotion_ids, as: 'promotionIds'
468
672
  property :quantity, as: 'quantity'
673
+ property :uri, as: 'uri'
469
674
  end
470
675
  end
471
676
 
@@ -490,12 +695,14 @@ module Google
490
695
  class GoogleCloudDiscoveryengineV1betaImportDocumentsRequest
491
696
  # @private
492
697
  class Representation < Google::Apis::Core::JsonRepresentation
698
+ property :auto_generate_ids, as: 'autoGenerateIds'
493
699
  property :bigquery_source, as: 'bigquerySource', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaBigQuerySource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaBigQuerySource::Representation
494
700
 
495
701
  property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportErrorConfig::Representation
496
702
 
497
703
  property :gcs_source, as: 'gcsSource', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGcsSource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGcsSource::Representation
498
704
 
705
+ property :id_field, as: 'idField'
499
706
  property :inline_source, as: 'inlineSource', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaImportDocumentsRequestInlineSource::Representation
500
707
 
501
708
  property :reconciliation_mode, as: 'reconciliationMode'
@@ -608,6 +815,32 @@ module Google
608
815
  end
609
816
  end
610
817
 
818
+ class GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata
819
+ # @private
820
+ class Representation < Google::Apis::Core::JsonRepresentation
821
+ property :create_time, as: 'createTime'
822
+ property :failure_count, :numeric_string => true, as: 'failureCount'
823
+ property :success_count, :numeric_string => true, as: 'successCount'
824
+ property :update_time, as: 'updateTime'
825
+ end
826
+ end
827
+
828
+ class GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest
829
+ # @private
830
+ class Representation < Google::Apis::Core::JsonRepresentation
831
+ property :filter, as: 'filter'
832
+ property :force, as: 'force'
833
+ end
834
+ end
835
+
836
+ class GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse
837
+ # @private
838
+ class Representation < Google::Apis::Core::JsonRepresentation
839
+ property :purge_count, :numeric_string => true, as: 'purgeCount'
840
+ collection :purge_sample, as: 'purgeSample'
841
+ end
842
+ end
843
+
611
844
  class GoogleCloudDiscoveryengineV1betaRecommendRequest
612
845
  # @private
613
846
  class Representation < Google::Apis::Core::JsonRepresentation