google-apis-retail_v2alpha 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: 92cf3745fc4b4ff33a5818a4c254b685a38a7ec15ac4452cb956f886b2b8e108
4
- data.tar.gz: ac17146bbc29f2d22e5b533bf7023d65fc073795cb9ed25332493b025741a2d2
3
+ metadata.gz: e677abc0697fdb02d29f6f330b78de634776d166c5513e1d4b87e1c91d603376
4
+ data.tar.gz: e0a6fb2e1df0782ad87fa57f6c77526c0eff8156b13fef887f6eee03a8bcb830
5
5
  SHA512:
6
- metadata.gz: 05dc18b261940fe33bae48339f7767f6d2d07ebb3614ed618748f17d793c6933b36622dbf52264dae84a64dbbc6e8713415a9e403b9320d10a7dd03a3333f792
7
- data.tar.gz: 1d83aeec73ac81ffd94a7a2f037a0079ef96b9574fa9eb8a9cebc9467cf141bee5ab63a2392959b2c2739a59628525005fbbf4458a2b5d66eccb7c4ee99dcaab
6
+ metadata.gz: 0f75d70c9333adb5eb5f5c794d735f6deb40b12f16fc0c94fd68a52d65995ccecb260e576f7b13ac7a0383df944c228ed9f31b0551271a4f77ba4cedbe95e18e
7
+ data.tar.gz: 6e2cdb328ade37dc1fe2a32593a18e331d48c9d850de9bf38ea683492678fc4c90ad56ed7c7fba0772d1c1931de29c2ae00b288066762ddd7559ef0c0c34b1c0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2alpha
2
2
 
3
+ ### v0.7.0 (2021-05-11)
4
+
5
+ * Regenerated from discovery document revision 20210430
6
+
3
7
  ### v0.6.0 (2021-04-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20210326
@@ -197,7 +197,8 @@ module Google
197
197
  # @return [String]
198
198
  attr_accessor :catalog_item
199
199
 
200
- # GCS file path of the import source. Can be set for batch operation error.
200
+ # Cloud Storage file path of the import source. Can be set for batch operation
201
+ # error.
201
202
  # Corresponds to the JSON property `gcsPath`
202
203
  # @return [String]
203
204
  attr_accessor :gcs_path
@@ -522,8 +523,8 @@ module Google
522
523
  # @return [String]
523
524
  attr_accessor :gcs_staging_dir
524
525
 
525
- # The project id (can be project # or id) that the BigQuery source is in with a
526
- # length limit of 128 characters. If not specified, inherits the project id from
526
+ # The project ID (can be project # or ID) that the BigQuery source is in with a
527
+ # length limit of 128 characters. If not specified, inherits the project ID from
527
528
  # the parent request.
528
529
  # Corresponds to the JSON property `projectId`
529
530
  # @return [String]
@@ -726,7 +727,7 @@ module Google
726
727
  # product imports: * `product` (default): One JSON Product per line. Each
727
728
  # product must have a valid Product.id. * `product_merchant_center`: See [
728
729
  # Importing catalog data from Merchant Center](https://cloud.google.com/retail/
729
- # recommendations-ai/docs/upload-catalog#mcc). Supported values for user events
730
+ # recommendations-ai/docs/upload-catalog#mc). Supported values for user events
730
731
  # imports: * `user_event` (default): One JSON UserEvent per line. * `
731
732
  # user_event_ga360`: Using https://support.google.com/analytics/answer/3437719?
732
733
  # hl=en.
@@ -739,8 +740,8 @@ module Google
739
740
  # bucket/directory/object.json`) or a pattern matching one or more files, such
740
741
  # as `gs://bucket/directory/*.json`. A request can contain at most 100 files,
741
742
  # and each file can be up to 2 GB. See [Importing product information](https://
742
- # cloud.google.com/recommendations-ai/docs/upload-catalog) for the expected file
743
- # format and setup instructions.
743
+ # cloud.google.com/retail/recommendations-ai/docs/upload-catalog) for the
744
+ # expected file format and setup instructions.
744
745
  # Corresponds to the JSON property `inputUris`
745
746
  # @return [Array<String>]
746
747
  attr_accessor :input_uris
@@ -1020,12 +1021,17 @@ module Google
1020
1021
  # @return [String]
1021
1022
  attr_accessor :filter
1022
1023
 
1023
- # The labels for the predict request. * Label keys can contain lowercase letters,
1024
- # digits and hyphens, must start with a letter, and must end with a letter or
1025
- # digit. * Non-zero label values can contain lowercase letters, digits and
1026
- # hyphens, must start with a letter, and must end with a letter or digit. * No
1027
- # more than 64 labels can be associated with a given request. See https://goo.gl/
1028
- # xmQnxf for more information on and examples of labels.
1024
+ # The labels applied to a resource must meet the following requirements: * Each
1025
+ # resource can have multiple labels, up to a maximum of 64. * Each label must be
1026
+ # a key-value pair. * Keys have a minimum length of 1 character and a maximum
1027
+ # length of 63 characters, and cannot be empty. Values can be empty, and have a
1028
+ # maximum length of 63 characters. * Keys and values can contain only lowercase
1029
+ # letters, numeric characters, underscores, and dashes. All characters must use
1030
+ # UTF-8 encoding, and international characters are allowed. * The key portion of
1031
+ # a label must be unique. However, you can use the same key with multiple
1032
+ # resources. * Keys must start with a lowercase letter or international
1033
+ # character. See [Google Cloud Document](https://cloud.google.com/resource-
1034
+ # manager/docs/creating-managing-labels#requirements) for more details.
1029
1035
  # Corresponds to the JSON property `labels`
1030
1036
  # @return [Hash<String,String>]
1031
1037
  attr_accessor :labels
@@ -1791,6 +1797,12 @@ module Google
1791
1797
  # @return [String]
1792
1798
  attr_accessor :search_query
1793
1799
 
1800
+ # Represents the user sessions to aggregate user behavior within a time period.
1801
+ # If not set, heuristics will be used to autogenerate one.
1802
+ # Corresponds to the JSON property `sessionId`
1803
+ # @return [String]
1804
+ attr_accessor :session_id
1805
+
1794
1806
  # Complete URL (window.location.href) of the user's current page. When using the
1795
1807
  # client side event reporting with JavaScript pixel and Google Tag Manager, this
1796
1808
  # value is filled in automatically. Maximum length 5,000 characters.
@@ -1808,7 +1820,9 @@ module Google
1808
1820
  # a visitor on a single device. This unique identifier should not change if the
1809
1821
  # visitor log in/out of the website. The field must be a UTF-8 encoded string
1810
1822
  # with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is
1811
- # returned.
1823
+ # returned. The field should not contain PII or user-data. We recommend to use
1824
+ # Google Analystics [Client ID](https://developers.google.com/analytics/
1825
+ # devguides/collection/analyticsjs/field-reference#clientId) for this field.
1812
1826
  # Corresponds to the JSON property `visitorId`
1813
1827
  # @return [String]
1814
1828
  attr_accessor :visitor_id
@@ -1831,6 +1845,7 @@ module Google
1831
1845
  @purchase_transaction = args[:purchase_transaction] if args.key?(:purchase_transaction)
1832
1846
  @referrer_uri = args[:referrer_uri] if args.key?(:referrer_uri)
1833
1847
  @search_query = args[:search_query] if args.key?(:search_query)
1848
+ @session_id = args[:session_id] if args.key?(:session_id)
1834
1849
  @uri = args[:uri] if args.key?(:uri)
1835
1850
  @user_info = args[:user_info] if args.key?(:user_info)
1836
1851
  @visitor_id = args[:visitor_id] if args.key?(:visitor_id)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2alpha
18
18
  # Version of the google-apis-retail_v2alpha 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.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210326"
25
+ REVISION = "20210430"
26
26
  end
27
27
  end
28
28
  end
@@ -908,6 +908,7 @@ module Google
908
908
 
909
909
  property :referrer_uri, as: 'referrerUri'
910
910
  property :search_query, as: 'searchQuery'
911
+ property :session_id, as: 'sessionId'
911
912
  property :uri, as: 'uri'
912
913
  property :user_info, as: 'userInfo', class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo, decorator: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaUserInfo::Representation
913
914
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2alpha
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: 2021-04-05 00:00:00.000000000 Z
11
+ date: 2021-05-18 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_v2alpha/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.6.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2alpha/v0.7.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-retail_v2alpha
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Retail API V2alpha