google-apis-retail_v2beta 0.1.0 → 0.6.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: 443fdb223da8ca51f54e4c90bf2cd815ebf0afe6ca150ec9dab4db36aa45fb35
4
- data.tar.gz: 1785de40f1459b459bcbbcc488e2aeacf7bb12662539742467690fe9be454995
3
+ metadata.gz: 8e4c9b6f61716b441d9527107dae77e7e364ccfd6e10832d561126f96a51d552
4
+ data.tar.gz: 345b2644a668eb1887d7ce956c7831305c121d8d6b15a2a35bdd00649607bebf
5
5
  SHA512:
6
- metadata.gz: 51e6dfd9dfd12226993e59552152707e32bdff348c88639235fa8b1912781d3e70007782991787748c107d7c0fa546598345b890bc98fbfbe4c4739944e6a5d9
7
- data.tar.gz: 508920b039535c9fd252ab3a6f02bfc7e30335dd461ba713cf5a52c56d0b4abe2900550706a6be515567bb47b1f3815dbcf824b25ead894e5b5233f9fb4743a7
6
+ metadata.gz: 7aa96ad3b9a65b3e619ff3b13085ac9b3d87fa45e997b8279ad171c742018e1c8c92f57c00778b75b7b08bdad043590682dc6c423435a5913abd27f6bb429c81
7
+ data.tar.gz: 2c227135eaf42d1863271e4ed6fd6a12e0fcfd54a7987ea65fc7c3f421ed94370a144517fd4444c27a4120e85f80eb52949d2ec513cdc6fa3ec6da83baefa67f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-retail_v2beta
2
2
 
3
+ ### v0.6.0 (2021-04-02)
4
+
5
+ * Regenerated from discovery document revision 20210326
6
+
7
+ ### v0.5.0 (2021-03-20)
8
+
9
+ * Regenerated from discovery document revision 20210312
10
+ * Regenerated using generator version 0.2.0
11
+
12
+ ### v0.4.0 (2021-03-06)
13
+
14
+ * Regenerated from discovery document revision 20210226
15
+ * Unspecified changes
16
+
17
+ ### v0.3.0 (2021-02-20)
18
+
19
+ * Regenerated from discovery document revision 20210212
20
+
21
+ ### v0.2.0 (2021-02-13)
22
+
23
+ * Regenerated from discovery document revision 20210205
24
+
3
25
  ### v0.1.0 (2021-02-05)
4
26
 
5
27
  * Regenerated from discovery document revision 20210129
@@ -31,7 +31,7 @@ module Google
31
31
  # This is NOT the gem version.
32
32
  VERSION = 'V2beta'
33
33
 
34
- # View and manage your data across Google Cloud Platform services
34
+ # See, edit, configure, and delete your Google Cloud Platform data
35
35
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
36
36
  end
37
37
  end
@@ -1325,10 +1325,11 @@ module Google
1325
1325
  # expression is enclosed in parentheses, and must be separated from the tag
1326
1326
  # values by a space. `-"tagA"` is also supported and is equivalent to `NOT "tagA"
1327
1327
  # `. Tag values must be double quoted UTF-8 encoded strings with a size limit of
1328
- # 1,000 characters. * filterOutOfStockItems. Restricts predictions to products
1329
- # that do not have a stockState value of OUT_OF_STOCK. Examples: * tag=("Red" OR
1330
- # "Blue") tag="New-Arrival" tag=(NOT "promotional") * filterOutOfStockItems tag=(
1331
- # -"promotional") * filterOutOfStockItems If your filter blocks all prediction
1328
+ # 1,000 characters. Note: "Recently viewed" models don't support tag filtering
1329
+ # at the moment. * filterOutOfStockItems. Restricts predictions to products that
1330
+ # do not have a stockState value of OUT_OF_STOCK. Examples: * tag=("Red" OR "
1331
+ # Blue") tag="New-Arrival" tag=(NOT "promotional") * filterOutOfStockItems tag=(-
1332
+ # "promotional") * filterOutOfStockItems If your filter blocks all prediction
1332
1333
  # results, nothing will be returned. If you want generic (unfiltered) popular
1333
1334
  # products to be returned instead, set `strictFiltering` to false in `
1334
1335
  # PredictRequest.params`.
@@ -1533,9 +1534,8 @@ module Google
1533
1534
  # "vendor456"]`, "lengths_cm": `"numbers":[2.3, 15.4]`, "heights_cm": `"numbers"
1534
1535
  # :[8.1, 6.4]` ``. This field needs to pass all below criteria, otherwise an
1535
1536
  # INVALID_ARGUMENT error is returned: * Max entries count: 150 by default; 100
1536
- # for Type.VARIANT. * Max indexable entries count: 150 by default; 40 for Type.
1537
- # VARIANT. * Max searchable entries count: 30. * The key must be a UTF-8 encoded
1538
- # string with a length limit of 128 characters.
1537
+ # for Type.VARIANT. * The key must be a UTF-8 encoded string with a length limit
1538
+ # of 128 characters.
1539
1539
  # Corresponds to the JSON property `attributes`
1540
1540
  # @return [Hash<String,Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCustomAttribute>]
1541
1541
  attr_accessor :attributes
@@ -1553,7 +1553,7 @@ module Google
1553
1553
  # @return [Fixnum]
1554
1554
  attr_accessor :available_quantity
1555
1555
 
1556
- # The timestamp when this Product becomes available recommendation and search.
1556
+ # The timestamp when this Product becomes available for recommendation.
1557
1557
  # Corresponds to the JSON property `availableTime`
1558
1558
  # @return [String]
1559
1559
  attr_accessor :available_time
@@ -1598,9 +1598,10 @@ module Google
1598
1598
  # @return [String]
1599
1599
  attr_accessor :id
1600
1600
 
1601
- # Product images for the product. A maximum of 300 images are allowed. Google
1602
- # Merchant Center property [image_link](https://support.google.com/merchants/
1603
- # answer/6324350). Schema.org property [Product.image](https://schema.org/image).
1601
+ # Product images for the product.Highly recommended to put the main image to the
1602
+ # first. A maximum of 300 images are allowed. Google Merchant Center property [
1603
+ # image_link](https://support.google.com/merchants/answer/6324350). Schema.org
1604
+ # property [Product.image](https://schema.org/image).
1604
1605
  # Corresponds to the JSON property `images`
1605
1606
  # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImage>]
1606
1607
  attr_accessor :images
@@ -1641,7 +1642,7 @@ module Google
1641
1642
  attr_accessor :tags
1642
1643
 
1643
1644
  # Required. Product title. This field must be a UTF-8 encoded string with a
1644
- # length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is
1645
+ # length limit of 1,000 characters. Otherwise, an INVALID_ARGUMENT error is
1645
1646
  # returned. Google Merchant Center property [title](https://support.google.com/
1646
1647
  # merchants/answer/6324415). Schema.org property [Product.name](https://schema.
1647
1648
  # org/name).
@@ -1649,7 +1650,8 @@ module Google
1649
1650
  # @return [String]
1650
1651
  attr_accessor :title
1651
1652
 
1652
- # Immutable. The type of the product. This field is output-only.
1653
+ # Immutable. The type of the product. This field is output-only. Default to
1654
+ # Catalog.product_level_config.ingestion_product_type if unset.
1653
1655
  # Corresponds to the JSON property `type`
1654
1656
  # @return [String]
1655
1657
  attr_accessor :type
@@ -1782,8 +1784,8 @@ module Google
1782
1784
  # this field is set to an invalid value other than these, an INVALID_ARGUMENT
1783
1785
  # error is returned. If this field is `variant` and
1784
1786
  # merchant_center_product_id_field is `itemGroupId`, an INVALID_ARGUMENT error
1785
- # is returned. See [Using catalog levels](/retail/recommendations-ai/docs/
1786
- # catalog#catalog-levels) for more details.
1787
+ # is returned. See [Using product levels](https://cloud.google.com/retail/
1788
+ # recommendations-ai/docs/catalog#product-levels) for more details.
1787
1789
  # Corresponds to the JSON property `ingestionProductType`
1788
1790
  # @return [String]
1789
1791
  attr_accessor :ingestion_product_type
@@ -1796,8 +1798,8 @@ module Google
1796
1798
  # the item group. If this field is set to an invalid value other than these, an
1797
1799
  # INVALID_ARGUMENT error is returned. If this field is `itemGroupId` and
1798
1800
  # ingestion_product_type is `variant`, an INVALID_ARGUMENT error is returned.
1799
- # See [Using catalog levels](/retail/recommendations-ai/docs/catalog#catalog-
1800
- # levels) for more details.
1801
+ # See [Using product levels](https://cloud.google.com/retail/recommendations-ai/
1802
+ # docs/catalog#product-levels) for more details.
1801
1803
  # Corresponds to the JSON property `merchantCenterProductIdField`
1802
1804
  # @return [String]
1803
1805
  attr_accessor :merchant_center_product_id_field
@@ -2033,9 +2035,10 @@ module Google
2033
2035
  # Required. User event type. Allowed values are: * `add-to-cart`: Products being
2034
2036
  # added to cart. * `category-page-view`: Special pages such as sale or promotion
2035
2037
  # pages viewed. * `detail-page-view`: Products detail page viewed. * `home-page-
2036
- # view`: Homepage viewed. * `purchase-complete`: User finishing a purchase. * `
2037
- # search`: Product search. * `shopping-cart-page-view`: User viewing a shopping
2038
- # cart.
2038
+ # view`: Homepage viewed. * `promotion-offered`: Promotion is offered to a user.
2039
+ # * `promotion-not-offered`: Promotion is not offered to a user. * `purchase-
2040
+ # complete`: User finishing a purchase. * `search`: Product search. * `shopping-
2041
+ # cart-page-view`: User viewing a shopping cart.
2039
2042
  # Corresponds to the JSON property `eventType`
2040
2043
  # @return [String]
2041
2044
  attr_accessor :event_type
@@ -2282,323 +2285,6 @@ module Google
2282
2285
  end
2283
2286
  end
2284
2287
 
2285
- # Configuration of destination for Export related errors.
2286
- class GoogleCloudRetailV2mainExportErrorsConfig
2287
- include Google::Apis::Core::Hashable
2288
-
2289
- # Google Cloud Storage path for import errors. This must be an empty, existing
2290
- # Cloud Storage bucket. Export errors will be written to a file in this bucket,
2291
- # one per line, as a JSON-encoded `google.rpc.Status` message.
2292
- # Corresponds to the JSON property `gcsPrefix`
2293
- # @return [String]
2294
- attr_accessor :gcs_prefix
2295
-
2296
- def initialize(**args)
2297
- update!(**args)
2298
- end
2299
-
2300
- # Update properties of this object
2301
- def update!(**args)
2302
- @gcs_prefix = args[:gcs_prefix] if args.key?(:gcs_prefix)
2303
- end
2304
- end
2305
-
2306
- # Metadata related to the progress of the Export operation. This will be
2307
- # returned by the google.longrunning.Operation.metadata field.
2308
- class GoogleCloudRetailV2mainExportMetadata
2309
- include Google::Apis::Core::Hashable
2310
-
2311
- # Operation create time.
2312
- # Corresponds to the JSON property `createTime`
2313
- # @return [String]
2314
- attr_accessor :create_time
2315
-
2316
- # Operation last update time. If the operation is done, this is also the finish
2317
- # time.
2318
- # Corresponds to the JSON property `updateTime`
2319
- # @return [String]
2320
- attr_accessor :update_time
2321
-
2322
- def initialize(**args)
2323
- update!(**args)
2324
- end
2325
-
2326
- # Update properties of this object
2327
- def update!(**args)
2328
- @create_time = args[:create_time] if args.key?(:create_time)
2329
- @update_time = args[:update_time] if args.key?(:update_time)
2330
- end
2331
- end
2332
-
2333
- # Response of the ExportProductsRequest. If the long running operation is done,
2334
- # then this message is returned by the google.longrunning.Operations.response
2335
- # field if the operation was successful.
2336
- class GoogleCloudRetailV2mainExportProductsResponse
2337
- include Google::Apis::Core::Hashable
2338
-
2339
- # A sample of errors encountered while processing the request.
2340
- # Corresponds to the JSON property `errorSamples`
2341
- # @return [Array<Google::Apis::RetailV2beta::GoogleRpcStatus>]
2342
- attr_accessor :error_samples
2343
-
2344
- # Configuration of destination for Export related errors.
2345
- # Corresponds to the JSON property `errorsConfig`
2346
- # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2mainExportErrorsConfig]
2347
- attr_accessor :errors_config
2348
-
2349
- def initialize(**args)
2350
- update!(**args)
2351
- end
2352
-
2353
- # Update properties of this object
2354
- def update!(**args)
2355
- @error_samples = args[:error_samples] if args.key?(:error_samples)
2356
- @errors_config = args[:errors_config] if args.key?(:errors_config)
2357
- end
2358
- end
2359
-
2360
- # Response of the ExportUserEventsRequest. If the long running operation was
2361
- # successful, then this message is returned by the google.longrunning.Operations.
2362
- # response field if the operation was successful.
2363
- class GoogleCloudRetailV2mainExportUserEventsResponse
2364
- include Google::Apis::Core::Hashable
2365
-
2366
- # A sample of errors encountered while processing the request.
2367
- # Corresponds to the JSON property `errorSamples`
2368
- # @return [Array<Google::Apis::RetailV2beta::GoogleRpcStatus>]
2369
- attr_accessor :error_samples
2370
-
2371
- # Configuration of destination for Export related errors.
2372
- # Corresponds to the JSON property `errorsConfig`
2373
- # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2mainExportErrorsConfig]
2374
- attr_accessor :errors_config
2375
-
2376
- def initialize(**args)
2377
- update!(**args)
2378
- end
2379
-
2380
- # Update properties of this object
2381
- def update!(**args)
2382
- @error_samples = args[:error_samples] if args.key?(:error_samples)
2383
- @errors_config = args[:errors_config] if args.key?(:errors_config)
2384
- end
2385
- end
2386
-
2387
- # Configuration of destination for Import related errors.
2388
- class GoogleCloudRetailV2mainImportErrorsConfig
2389
- include Google::Apis::Core::Hashable
2390
-
2391
- # Google Cloud Storage path for import errors. This must be an empty, existing
2392
- # Cloud Storage bucket. Import errors will be written to a file in this bucket,
2393
- # one per line, as a JSON-encoded `google.rpc.Status` message.
2394
- # Corresponds to the JSON property `gcsPrefix`
2395
- # @return [String]
2396
- attr_accessor :gcs_prefix
2397
-
2398
- def initialize(**args)
2399
- update!(**args)
2400
- end
2401
-
2402
- # Update properties of this object
2403
- def update!(**args)
2404
- @gcs_prefix = args[:gcs_prefix] if args.key?(:gcs_prefix)
2405
- end
2406
- end
2407
-
2408
- # Metadata related to the progress of the Import operation. This will be
2409
- # returned by the google.longrunning.Operation.metadata field.
2410
- class GoogleCloudRetailV2mainImportMetadata
2411
- include Google::Apis::Core::Hashable
2412
-
2413
- # Operation create time.
2414
- # Corresponds to the JSON property `createTime`
2415
- # @return [String]
2416
- attr_accessor :create_time
2417
-
2418
- # Count of entries that encountered errors while processing.
2419
- # Corresponds to the JSON property `failureCount`
2420
- # @return [Fixnum]
2421
- attr_accessor :failure_count
2422
-
2423
- # Count of entries that were processed successfully.
2424
- # Corresponds to the JSON property `successCount`
2425
- # @return [Fixnum]
2426
- attr_accessor :success_count
2427
-
2428
- # Operation last update time. If the operation is done, this is also the finish
2429
- # time.
2430
- # Corresponds to the JSON property `updateTime`
2431
- # @return [String]
2432
- attr_accessor :update_time
2433
-
2434
- def initialize(**args)
2435
- update!(**args)
2436
- end
2437
-
2438
- # Update properties of this object
2439
- def update!(**args)
2440
- @create_time = args[:create_time] if args.key?(:create_time)
2441
- @failure_count = args[:failure_count] if args.key?(:failure_count)
2442
- @success_count = args[:success_count] if args.key?(:success_count)
2443
- @update_time = args[:update_time] if args.key?(:update_time)
2444
- end
2445
- end
2446
-
2447
- # Response of the ImportProductsRequest. If the long running operation is done,
2448
- # then this message is returned by the google.longrunning.Operations.response
2449
- # field if the operation was successful.
2450
- class GoogleCloudRetailV2mainImportProductsResponse
2451
- include Google::Apis::Core::Hashable
2452
-
2453
- # A sample of errors encountered while processing the request.
2454
- # Corresponds to the JSON property `errorSamples`
2455
- # @return [Array<Google::Apis::RetailV2beta::GoogleRpcStatus>]
2456
- attr_accessor :error_samples
2457
-
2458
- # Configuration of destination for Import related errors.
2459
- # Corresponds to the JSON property `errorsConfig`
2460
- # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2mainImportErrorsConfig]
2461
- attr_accessor :errors_config
2462
-
2463
- def initialize(**args)
2464
- update!(**args)
2465
- end
2466
-
2467
- # Update properties of this object
2468
- def update!(**args)
2469
- @error_samples = args[:error_samples] if args.key?(:error_samples)
2470
- @errors_config = args[:errors_config] if args.key?(:errors_config)
2471
- end
2472
- end
2473
-
2474
- # Response of the ImportUserEventsRequest. If the long running operation was
2475
- # successful, then this message is returned by the google.longrunning.Operations.
2476
- # response field if the operation was successful.
2477
- class GoogleCloudRetailV2mainImportUserEventsResponse
2478
- include Google::Apis::Core::Hashable
2479
-
2480
- # A sample of errors encountered while processing the request.
2481
- # Corresponds to the JSON property `errorSamples`
2482
- # @return [Array<Google::Apis::RetailV2beta::GoogleRpcStatus>]
2483
- attr_accessor :error_samples
2484
-
2485
- # Configuration of destination for Import related errors.
2486
- # Corresponds to the JSON property `errorsConfig`
2487
- # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2mainImportErrorsConfig]
2488
- attr_accessor :errors_config
2489
-
2490
- # A summary of import result. The UserEventImportSummary summarizes the import
2491
- # status for user events.
2492
- # Corresponds to the JSON property `importSummary`
2493
- # @return [Google::Apis::RetailV2beta::GoogleCloudRetailV2mainUserEventImportSummary]
2494
- attr_accessor :import_summary
2495
-
2496
- def initialize(**args)
2497
- update!(**args)
2498
- end
2499
-
2500
- # Update properties of this object
2501
- def update!(**args)
2502
- @error_samples = args[:error_samples] if args.key?(:error_samples)
2503
- @errors_config = args[:errors_config] if args.key?(:errors_config)
2504
- @import_summary = args[:import_summary] if args.key?(:import_summary)
2505
- end
2506
- end
2507
-
2508
- # Metadata related to the progress of the Purge operation. This will be returned
2509
- # by the google.longrunning.Operation.metadata field.
2510
- class GoogleCloudRetailV2mainPurgeMetadata
2511
- include Google::Apis::Core::Hashable
2512
-
2513
- def initialize(**args)
2514
- update!(**args)
2515
- end
2516
-
2517
- # Update properties of this object
2518
- def update!(**args)
2519
- end
2520
- end
2521
-
2522
- # Response of the PurgeUserEventsRequest. If the long running operation is
2523
- # successfully done, then this message is returned by the google.longrunning.
2524
- # Operations.response field.
2525
- class GoogleCloudRetailV2mainPurgeUserEventsResponse
2526
- include Google::Apis::Core::Hashable
2527
-
2528
- # The total count of events purged as a result of the operation.
2529
- # Corresponds to the JSON property `purgedEventsCount`
2530
- # @return [Fixnum]
2531
- attr_accessor :purged_events_count
2532
-
2533
- def initialize(**args)
2534
- update!(**args)
2535
- end
2536
-
2537
- # Update properties of this object
2538
- def update!(**args)
2539
- @purged_events_count = args[:purged_events_count] if args.key?(:purged_events_count)
2540
- end
2541
- end
2542
-
2543
- # Metadata for RejoinUserEvents method.
2544
- class GoogleCloudRetailV2mainRejoinUserEventsMetadata
2545
- include Google::Apis::Core::Hashable
2546
-
2547
- def initialize(**args)
2548
- update!(**args)
2549
- end
2550
-
2551
- # Update properties of this object
2552
- def update!(**args)
2553
- end
2554
- end
2555
-
2556
- # Response message for RejoinUserEvents method.
2557
- class GoogleCloudRetailV2mainRejoinUserEventsResponse
2558
- include Google::Apis::Core::Hashable
2559
-
2560
- # Number of user events that were joined with latest product catalog.
2561
- # Corresponds to the JSON property `rejoinedUserEventsCount`
2562
- # @return [Fixnum]
2563
- attr_accessor :rejoined_user_events_count
2564
-
2565
- def initialize(**args)
2566
- update!(**args)
2567
- end
2568
-
2569
- # Update properties of this object
2570
- def update!(**args)
2571
- @rejoined_user_events_count = args[:rejoined_user_events_count] if args.key?(:rejoined_user_events_count)
2572
- end
2573
- end
2574
-
2575
- # A summary of import result. The UserEventImportSummary summarizes the import
2576
- # status for user events.
2577
- class GoogleCloudRetailV2mainUserEventImportSummary
2578
- include Google::Apis::Core::Hashable
2579
-
2580
- # Count of user events imported with complete existing catalog information.
2581
- # Corresponds to the JSON property `joinedEventsCount`
2582
- # @return [Fixnum]
2583
- attr_accessor :joined_events_count
2584
-
2585
- # Count of user events imported, but with catalog information not found in the
2586
- # imported catalog.
2587
- # Corresponds to the JSON property `unjoinedEventsCount`
2588
- # @return [Fixnum]
2589
- attr_accessor :unjoined_events_count
2590
-
2591
- def initialize(**args)
2592
- update!(**args)
2593
- end
2594
-
2595
- # Update properties of this object
2596
- def update!(**args)
2597
- @joined_events_count = args[:joined_events_count] if args.key?(:joined_events_count)
2598
- @unjoined_events_count = args[:unjoined_events_count] if args.key?(:unjoined_events_count)
2599
- end
2600
- end
2601
-
2602
2288
  # The response message for Operations.ListOperations.
2603
2289
  class GoogleLongrunningListOperationsResponse
2604
2290
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2beta
18
18
  # Version of the google-apis-retail_v2beta gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210129"
25
+ REVISION = "20210326"
26
26
  end
27
27
  end
28
28
  end
@@ -418,84 +418,6 @@ module Google
418
418
  include Google::Apis::Core::JsonObjectSupport
419
419
  end
420
420
 
421
- class GoogleCloudRetailV2mainExportErrorsConfig
422
- class Representation < Google::Apis::Core::JsonRepresentation; end
423
-
424
- include Google::Apis::Core::JsonObjectSupport
425
- end
426
-
427
- class GoogleCloudRetailV2mainExportMetadata
428
- class Representation < Google::Apis::Core::JsonRepresentation; end
429
-
430
- include Google::Apis::Core::JsonObjectSupport
431
- end
432
-
433
- class GoogleCloudRetailV2mainExportProductsResponse
434
- class Representation < Google::Apis::Core::JsonRepresentation; end
435
-
436
- include Google::Apis::Core::JsonObjectSupport
437
- end
438
-
439
- class GoogleCloudRetailV2mainExportUserEventsResponse
440
- class Representation < Google::Apis::Core::JsonRepresentation; end
441
-
442
- include Google::Apis::Core::JsonObjectSupport
443
- end
444
-
445
- class GoogleCloudRetailV2mainImportErrorsConfig
446
- class Representation < Google::Apis::Core::JsonRepresentation; end
447
-
448
- include Google::Apis::Core::JsonObjectSupport
449
- end
450
-
451
- class GoogleCloudRetailV2mainImportMetadata
452
- class Representation < Google::Apis::Core::JsonRepresentation; end
453
-
454
- include Google::Apis::Core::JsonObjectSupport
455
- end
456
-
457
- class GoogleCloudRetailV2mainImportProductsResponse
458
- class Representation < Google::Apis::Core::JsonRepresentation; end
459
-
460
- include Google::Apis::Core::JsonObjectSupport
461
- end
462
-
463
- class GoogleCloudRetailV2mainImportUserEventsResponse
464
- class Representation < Google::Apis::Core::JsonRepresentation; end
465
-
466
- include Google::Apis::Core::JsonObjectSupport
467
- end
468
-
469
- class GoogleCloudRetailV2mainPurgeMetadata
470
- class Representation < Google::Apis::Core::JsonRepresentation; end
471
-
472
- include Google::Apis::Core::JsonObjectSupport
473
- end
474
-
475
- class GoogleCloudRetailV2mainPurgeUserEventsResponse
476
- class Representation < Google::Apis::Core::JsonRepresentation; end
477
-
478
- include Google::Apis::Core::JsonObjectSupport
479
- end
480
-
481
- class GoogleCloudRetailV2mainRejoinUserEventsMetadata
482
- class Representation < Google::Apis::Core::JsonRepresentation; end
483
-
484
- include Google::Apis::Core::JsonObjectSupport
485
- end
486
-
487
- class GoogleCloudRetailV2mainRejoinUserEventsResponse
488
- class Representation < Google::Apis::Core::JsonRepresentation; end
489
-
490
- include Google::Apis::Core::JsonObjectSupport
491
- end
492
-
493
- class GoogleCloudRetailV2mainUserEventImportSummary
494
- class Representation < Google::Apis::Core::JsonRepresentation; end
495
-
496
- include Google::Apis::Core::JsonObjectSupport
497
- end
498
-
499
421
  class GoogleLongrunningListOperationsResponse
500
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
423
 
@@ -1139,114 +1061,6 @@ module Google
1139
1061
  end
1140
1062
  end
1141
1063
 
1142
- class GoogleCloudRetailV2mainExportErrorsConfig
1143
- # @private
1144
- class Representation < Google::Apis::Core::JsonRepresentation
1145
- property :gcs_prefix, as: 'gcsPrefix'
1146
- end
1147
- end
1148
-
1149
- class GoogleCloudRetailV2mainExportMetadata
1150
- # @private
1151
- class Representation < Google::Apis::Core::JsonRepresentation
1152
- property :create_time, as: 'createTime'
1153
- property :update_time, as: 'updateTime'
1154
- end
1155
- end
1156
-
1157
- class GoogleCloudRetailV2mainExportProductsResponse
1158
- # @private
1159
- class Representation < Google::Apis::Core::JsonRepresentation
1160
- collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
1161
-
1162
- property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2mainExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2mainExportErrorsConfig::Representation
1163
-
1164
- end
1165
- end
1166
-
1167
- class GoogleCloudRetailV2mainExportUserEventsResponse
1168
- # @private
1169
- class Representation < Google::Apis::Core::JsonRepresentation
1170
- collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
1171
-
1172
- property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2mainExportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2mainExportErrorsConfig::Representation
1173
-
1174
- end
1175
- end
1176
-
1177
- class GoogleCloudRetailV2mainImportErrorsConfig
1178
- # @private
1179
- class Representation < Google::Apis::Core::JsonRepresentation
1180
- property :gcs_prefix, as: 'gcsPrefix'
1181
- end
1182
- end
1183
-
1184
- class GoogleCloudRetailV2mainImportMetadata
1185
- # @private
1186
- class Representation < Google::Apis::Core::JsonRepresentation
1187
- property :create_time, as: 'createTime'
1188
- property :failure_count, :numeric_string => true, as: 'failureCount'
1189
- property :success_count, :numeric_string => true, as: 'successCount'
1190
- property :update_time, as: 'updateTime'
1191
- end
1192
- end
1193
-
1194
- class GoogleCloudRetailV2mainImportProductsResponse
1195
- # @private
1196
- class Representation < Google::Apis::Core::JsonRepresentation
1197
- collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
1198
-
1199
- property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2mainImportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2mainImportErrorsConfig::Representation
1200
-
1201
- end
1202
- end
1203
-
1204
- class GoogleCloudRetailV2mainImportUserEventsResponse
1205
- # @private
1206
- class Representation < Google::Apis::Core::JsonRepresentation
1207
- collection :error_samples, as: 'errorSamples', class: Google::Apis::RetailV2beta::GoogleRpcStatus, decorator: Google::Apis::RetailV2beta::GoogleRpcStatus::Representation
1208
-
1209
- property :errors_config, as: 'errorsConfig', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2mainImportErrorsConfig, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2mainImportErrorsConfig::Representation
1210
-
1211
- property :import_summary, as: 'importSummary', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2mainUserEventImportSummary, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2mainUserEventImportSummary::Representation
1212
-
1213
- end
1214
- end
1215
-
1216
- class GoogleCloudRetailV2mainPurgeMetadata
1217
- # @private
1218
- class Representation < Google::Apis::Core::JsonRepresentation
1219
- end
1220
- end
1221
-
1222
- class GoogleCloudRetailV2mainPurgeUserEventsResponse
1223
- # @private
1224
- class Representation < Google::Apis::Core::JsonRepresentation
1225
- property :purged_events_count, :numeric_string => true, as: 'purgedEventsCount'
1226
- end
1227
- end
1228
-
1229
- class GoogleCloudRetailV2mainRejoinUserEventsMetadata
1230
- # @private
1231
- class Representation < Google::Apis::Core::JsonRepresentation
1232
- end
1233
- end
1234
-
1235
- class GoogleCloudRetailV2mainRejoinUserEventsResponse
1236
- # @private
1237
- class Representation < Google::Apis::Core::JsonRepresentation
1238
- property :rejoined_user_events_count, :numeric_string => true, as: 'rejoinedUserEventsCount'
1239
- end
1240
- end
1241
-
1242
- class GoogleCloudRetailV2mainUserEventImportSummary
1243
- # @private
1244
- class Representation < Google::Apis::Core::JsonRepresentation
1245
- property :joined_events_count, :numeric_string => true, as: 'joinedEventsCount'
1246
- property :unjoined_events_count, :numeric_string => true, as: 'unjoinedEventsCount'
1247
- end
1248
- end
1249
-
1250
1064
  class GoogleLongrunningListOperationsResponse
1251
1065
  # @private
1252
1066
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -100,10 +100,8 @@ module Google
100
100
  # Required. Immutable. The fully qualified resource name of the catalog.
101
101
  # @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaCatalog] google_cloud_retail_v2beta_catalog_object
102
102
  # @param [String] update_mask
103
- # Indicates which fields in the provided Catalog to update. If not set, will
104
- # only update the Catalog.product_level_config field, which is also the only
105
- # currently supported field to update. If an unsupported or unknown field is
106
- # provided, an INVALID_ARGUMENT error is returned.
103
+ # Indicates which fields in the provided Catalog to update. If an unsupported or
104
+ # unknown field is provided, an INVALID_ARGUMENT error is returned.
107
105
  # @param [String] fields
108
106
  # Selector specifying which fields to include in a partial response.
109
107
  # @param [String] quota_user
@@ -217,7 +215,8 @@ module Google
217
215
  # Product to delete does not exist, a NOT_FOUND error is returned. The Product
218
216
  # to delete can neither be a Product.Type.COLLECTION Product member nor a
219
217
  # Product.Type.PRIMARY Product with more than one variants. Otherwise, an
220
- # INVALID_ARGUMENT error is returned.
218
+ # INVALID_ARGUMENT error is returned. All inventory information for the named
219
+ # Product will be deleted.
221
220
  # @param [String] fields
222
221
  # Selector specifying which fields to include in a partial response.
223
222
  # @param [String] quota_user
@@ -442,25 +441,12 @@ module Google
442
441
  # Makes a recommendation prediction.
443
442
  # @param [String] placement
444
443
  # Required. Full resource name of the format: `name=projects/*/locations/global/
445
- # catalogs/default_catalog/placements/*` The id of the recommendation engine
446
- # placement. This id is used to identify the set of models that will be used to
447
- # make the prediction. We currently support three placements with the following
448
- # IDs by default: * `shopping_cart`: Predicts products frequently bought
449
- # together with one or more products in the same shopping session. Commonly
450
- # displayed after `add-to-cart` events, on product detail pages, or on the
451
- # shopping cart page. * `home_page`: Predicts the next product that a user will
452
- # most likely engage with or purchase based on the shopping or viewing history
453
- # of the specified `userId` or `visitorId`. For example - Recommendations for
454
- # you. * `product_detail`: Predicts the next product that a user will most
455
- # likely engage with or purchase. The prediction is based on the shopping or
456
- # viewing history of the specified `userId` or `visitorId` and its relevance to
457
- # a specified `CatalogItem`. Typically used on product detail pages. For example
458
- # - More products like this. * `recently_viewed_default`: Returns up to 75
459
- # products recently viewed by the specified `userId` or `visitorId`, most recent
460
- # ones first. Returns nothing if neither of them has viewed any products yet.
461
- # For example - Recently viewed. The full list of available placements can be
462
- # seen at https://console.cloud.google.com/recommendation/catalogs/
463
- # default_catalog/placements
444
+ # catalogs/default_catalog/placements/*` The ID of the Recommendations AI
445
+ # placement. Before you can request predictions from your model, you must create
446
+ # at least one placement for it. For more information, see [Managing placements](
447
+ # https://cloud.google.com/retail/recommendations-ai/docs/manage-placements).
448
+ # The full list of available placements can be seen at https://console.cloud.
449
+ # google.com/recommendation/catalogs/default_catalog/placements
464
450
  # @param [Google::Apis::RetailV2beta::GoogleCloudRetailV2betaPredictRequest] google_cloud_retail_v2beta_predict_request_object
465
451
  # @param [String] fields
466
452
  # Selector specifying which fields to include in a partial response.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.6.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: 2021-02-08 00:00:00.000000000 Z
11
+ date: 2021-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-retail_v2beta/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-retail_v2beta
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.6
72
+ rubygems_version: 3.2.13
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Retail API V2beta