google-apis-retail_v2 0.94.0 → 0.96.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: e073db26a48a2422fd4d72009339e70e598c096bc9f726c7ed598d30193b15d1
4
- data.tar.gz: a7a851683f8d59cf1618bf060c2b6286131cfd0eca3b0a14cc2371565cca749b
3
+ metadata.gz: 3fd8697d5829438dc21320ba97eaf35959976dbd13cf92245169dd60e5f3cff1
4
+ data.tar.gz: d31017f9417041504a9f7115f27464fc1220cf54152f300b5f8f68969bed93d5
5
5
  SHA512:
6
- metadata.gz: 6ecd0a7a75d9ea5cb406a3f4fdb1cdf8027f7e26e3cda73628a1deb3852e118b915ff725d035a73129857f4b896eeef43810413131bc8cd4b077b6453e7d8d16
7
- data.tar.gz: 5e2b6918d97aa7540b7146ff9635cb2b58d497d3f28df7706c14bde55d43723dcfc34e39cc19b5912f26ee9932c107de0f2c58a9bf6de69f2b051ae0cf8700b4
6
+ metadata.gz: 4b26167459fbe81f9cf8f8c56af8fb0c6311e703bfd754386eb46f51e2aad881ad82773dd975ffe882bc0ad7bd812aad17875c7ee337655218993012d5000635
7
+ data.tar.gz: 2daf5c8b86964a980845af6f181d2f81c267cd15f488587d6c8f252a6bf4c567dfaa4ab5e8d83400e3289c062681a0f08f1e2b73ccbd5bfab4d4fa7b88729804
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-retail_v2
2
2
 
3
+ ### v0.96.0 (2024-06-16)
4
+
5
+ * Regenerated from discovery document revision 20240610
6
+
7
+ ### v0.95.0 (2024-05-19)
8
+
9
+ * Regenerated from discovery document revision 20240509
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.94.0 (2024-04-21)
4
13
 
5
14
  * Regenerated from discovery document revision 20240411
@@ -5745,12 +5745,13 @@ module Google
5745
5745
  attr_accessor :event_time
5746
5746
 
5747
5747
  # Required. User event type. Allowed values are: * `add-to-cart`: Products being
5748
- # added to cart. * `category-page-view`: Special pages such as sale or promotion
5749
- # pages viewed. * `detail-page-view`: Products detail page viewed. * `home-page-
5750
- # view`: Homepage viewed. * `promotion-offered`: Promotion is offered to a user.
5751
- # * `promotion-not-offered`: Promotion is not offered to a user. * `purchase-
5752
- # complete`: User finishing a purchase. * `search`: Product search. * `shopping-
5753
- # cart-page-view`: User viewing a shopping cart.
5748
+ # added to cart. * `remove-from-cart`: Products being removed from cart. * `
5749
+ # category-page-view`: Special pages such as sale or promotion pages viewed. * `
5750
+ # detail-page-view`: Products detail page viewed. * `home-page-view`: Homepage
5751
+ # viewed. * `promotion-offered`: Promotion is offered to a user. * `promotion-
5752
+ # not-offered`: Promotion is not offered to a user. * `purchase-complete`: User
5753
+ # finishing a purchase. * `search`: Product search. * `shopping-cart-page-view`:
5754
+ # User viewing a shopping cart.
5754
5755
  # Corresponds to the JSON property `eventType`
5755
5756
  # @return [String]
5756
5757
  attr_accessor :event_type
@@ -7401,32 +7402,6 @@ module Google
7401
7402
  end
7402
7403
  end
7403
7404
 
7404
- # Common metadata related to the progress of the operations.
7405
- class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
7406
- include Google::Apis::Core::Hashable
7407
-
7408
- # Operation create time.
7409
- # Corresponds to the JSON property `createTime`
7410
- # @return [String]
7411
- attr_accessor :create_time
7412
-
7413
- # Operation last update time. If the operation is done, this is also the finish
7414
- # time.
7415
- # Corresponds to the JSON property `updateTime`
7416
- # @return [String]
7417
- attr_accessor :update_time
7418
-
7419
- def initialize(**args)
7420
- update!(**args)
7421
- end
7422
-
7423
- # Update properties of this object
7424
- def update!(**args)
7425
- @create_time = args[:create_time] if args.key?(:create_time)
7426
- @update_time = args[:update_time] if args.key?(:update_time)
7427
- end
7428
- end
7429
-
7430
7405
  # Metadata associated with a create operation.
7431
7406
  class GoogleCloudRetailV2betaCreateModelMetadata
7432
7407
  include Google::Apis::Core::Hashable
@@ -7774,127 +7749,6 @@ module Google
7774
7749
  end
7775
7750
  end
7776
7751
 
7777
- # Represents a link between a Merchant Center account and a branch. After a link
7778
- # is established, products from the linked Merchant Center account are streamed
7779
- # to the linked branch.
7780
- class GoogleCloudRetailV2betaMerchantCenterAccountLink
7781
- include Google::Apis::Core::Hashable
7782
-
7783
- # Required. The branch ID (e.g. 0/1/2) within the catalog that products from
7784
- # merchant_center_account_id are streamed to. When updating this field, an empty
7785
- # value will use the currently configured default branch. However, changing the
7786
- # default branch later on won't change the linked branch here. A single branch
7787
- # ID can only have one linked Merchant Center account ID.
7788
- # Corresponds to the JSON property `branchId`
7789
- # @return [String]
7790
- attr_accessor :branch_id
7791
-
7792
- # Criteria for the Merchant Center feeds to be ingested via the link. All offers
7793
- # will be ingested if the list is empty. Otherwise the offers will be ingested
7794
- # from selected feeds.
7795
- # Corresponds to the JSON property `feedFilters`
7796
- # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter>]
7797
- attr_accessor :feed_filters
7798
-
7799
- # The FeedLabel used to perform filtering. Note: this replaces [region_id](https:
7800
- # //developers.google.com/shopping-content/reference/rest/v2.1/products#Product.
7801
- # FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.
7802
- # Corresponds to the JSON property `feedLabel`
7803
- # @return [String]
7804
- attr_accessor :feed_label
7805
-
7806
- # Output only. Immutable. MerchantCenterAccountLink identifier, which is the
7807
- # final component of name. This field is auto generated and follows the
7808
- # convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/
7809
- # catalogs/default_catalog/merchantCenterAccountLinks/id_1`.
7810
- # Corresponds to the JSON property `id`
7811
- # @return [String]
7812
- attr_accessor :id
7813
-
7814
- # Language of the title/description and other string attributes. Use language
7815
- # tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO
7816
- # 639-1. This specifies the language of offers in Merchant Center that will be
7817
- # accepted. If empty, no language filtering will be performed. Example value: `
7818
- # en`.
7819
- # Corresponds to the JSON property `languageCode`
7820
- # @return [String]
7821
- attr_accessor :language_code
7822
-
7823
- # Required. The linked [Merchant center account id](https://developers.google.
7824
- # com/shopping-content/guides/accountstatuses). The account must be a standalone
7825
- # account or a sub-account of a MCA.
7826
- # Corresponds to the JSON property `merchantCenterAccountId`
7827
- # @return [Fixnum]
7828
- attr_accessor :merchant_center_account_id
7829
-
7830
- # Output only. Immutable. Full resource name of the Merchant Center Account Link,
7831
- # such as `projects/*/locations/global/catalogs/default_catalog/
7832
- # merchantCenterAccountLinks/merchant_center_account_link`.
7833
- # Corresponds to the JSON property `name`
7834
- # @return [String]
7835
- attr_accessor :name
7836
-
7837
- # Output only. Google Cloud project ID.
7838
- # Corresponds to the JSON property `projectId`
7839
- # @return [String]
7840
- attr_accessor :project_id
7841
-
7842
- # Optional. An optional arbitrary string that could be used as a tag for
7843
- # tracking link source.
7844
- # Corresponds to the JSON property `source`
7845
- # @return [String]
7846
- attr_accessor :source
7847
-
7848
- # Output only. Represents the state of the link.
7849
- # Corresponds to the JSON property `state`
7850
- # @return [String]
7851
- attr_accessor :state
7852
-
7853
- def initialize(**args)
7854
- update!(**args)
7855
- end
7856
-
7857
- # Update properties of this object
7858
- def update!(**args)
7859
- @branch_id = args[:branch_id] if args.key?(:branch_id)
7860
- @feed_filters = args[:feed_filters] if args.key?(:feed_filters)
7861
- @feed_label = args[:feed_label] if args.key?(:feed_label)
7862
- @id = args[:id] if args.key?(:id)
7863
- @language_code = args[:language_code] if args.key?(:language_code)
7864
- @merchant_center_account_id = args[:merchant_center_account_id] if args.key?(:merchant_center_account_id)
7865
- @name = args[:name] if args.key?(:name)
7866
- @project_id = args[:project_id] if args.key?(:project_id)
7867
- @source = args[:source] if args.key?(:source)
7868
- @state = args[:state] if args.key?(:state)
7869
- end
7870
- end
7871
-
7872
- # Merchant Center Feed filter criterion.
7873
- class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
7874
- include Google::Apis::Core::Hashable
7875
-
7876
- # Merchant Center primary feed ID.
7877
- # Corresponds to the JSON property `primaryFeedId`
7878
- # @return [Fixnum]
7879
- attr_accessor :primary_feed_id
7880
-
7881
- # Merchant Center primary feed name. The name is used for the display purposes
7882
- # only.
7883
- # Corresponds to the JSON property `primaryFeedName`
7884
- # @return [String]
7885
- attr_accessor :primary_feed_name
7886
-
7887
- def initialize(**args)
7888
- update!(**args)
7889
- end
7890
-
7891
- # Update properties of this object
7892
- def update!(**args)
7893
- @primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
7894
- @primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
7895
- end
7896
- end
7897
-
7898
7752
  # Metadata that describes the training and serving parameters of a Model. A
7899
7753
  # Model can be associated with a ServingConfig and then queried through the
7900
7754
  # Predict API.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RetailV2
18
18
  # Version of the google-apis-retail_v2 gem
19
- GEM_VERSION = "0.94.0"
19
+ GEM_VERSION = "0.96.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240411"
25
+ REVISION = "20240610"
26
26
  end
27
27
  end
28
28
  end
@@ -1198,12 +1198,6 @@ module Google
1198
1198
  include Google::Apis::Core::JsonObjectSupport
1199
1199
  end
1200
1200
 
1201
- class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
1202
- class Representation < Google::Apis::Core::JsonRepresentation; end
1203
-
1204
- include Google::Apis::Core::JsonObjectSupport
1205
- end
1206
-
1207
1201
  class GoogleCloudRetailV2betaCreateModelMetadata
1208
1202
  class Representation < Google::Apis::Core::JsonRepresentation; end
1209
1203
 
@@ -1276,18 +1270,6 @@ module Google
1276
1270
  include Google::Apis::Core::JsonObjectSupport
1277
1271
  end
1278
1272
 
1279
- class GoogleCloudRetailV2betaMerchantCenterAccountLink
1280
- class Representation < Google::Apis::Core::JsonRepresentation; end
1281
-
1282
- include Google::Apis::Core::JsonObjectSupport
1283
- end
1284
-
1285
- class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
1286
- class Representation < Google::Apis::Core::JsonRepresentation; end
1287
-
1288
- include Google::Apis::Core::JsonObjectSupport
1289
- end
1290
-
1291
1273
  class GoogleCloudRetailV2betaModel
1292
1274
  class Representation < Google::Apis::Core::JsonRepresentation; end
1293
1275
 
@@ -3306,14 +3288,6 @@ module Google
3306
3288
  end
3307
3289
  end
3308
3290
 
3309
- class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
3310
- # @private
3311
- class Representation < Google::Apis::Core::JsonRepresentation
3312
- property :create_time, as: 'createTime'
3313
- property :update_time, as: 'updateTime'
3314
- end
3315
- end
3316
-
3317
3291
  class GoogleCloudRetailV2betaCreateModelMetadata
3318
3292
  # @private
3319
3293
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3428,31 +3402,6 @@ module Google
3428
3402
  end
3429
3403
  end
3430
3404
 
3431
- class GoogleCloudRetailV2betaMerchantCenterAccountLink
3432
- # @private
3433
- class Representation < Google::Apis::Core::JsonRepresentation
3434
- property :branch_id, as: 'branchId'
3435
- collection :feed_filters, as: 'feedFilters', class: Google::Apis::RetailV2::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter, decorator: Google::Apis::RetailV2::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter::Representation
3436
-
3437
- property :feed_label, as: 'feedLabel'
3438
- property :id, as: 'id'
3439
- property :language_code, as: 'languageCode'
3440
- property :merchant_center_account_id, :numeric_string => true, as: 'merchantCenterAccountId'
3441
- property :name, as: 'name'
3442
- property :project_id, as: 'projectId'
3443
- property :source, as: 'source'
3444
- property :state, as: 'state'
3445
- end
3446
- end
3447
-
3448
- class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
3449
- # @private
3450
- class Representation < Google::Apis::Core::JsonRepresentation
3451
- property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
3452
- property :primary_feed_name, as: 'primaryFeedName'
3453
- end
3454
- end
3455
-
3456
3405
  class GoogleCloudRetailV2betaModel
3457
3406
  # @private
3458
3407
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -74,6 +74,9 @@ module Google
74
74
  # types, e.g. `DESKTOP`, `MOBILE`. If it is empty, the suggestions are across
75
75
  # all device types. Supported formats: * `UNKNOWN_DEVICE_TYPE` * `DESKTOP` * `
76
76
  # MOBILE` * A customized string starts with `OTHER_`, e.g. `OTHER_IPHONE`.
77
+ # @param [Boolean] enable_attribute_suggestions
78
+ # If true, attribute suggestions are enabled and provided in the response. This
79
+ # field is only available for the "cloud-retail" dataset.
77
80
  # @param [String] entity
78
81
  # The entity for customers who run multiple entities, domains, sites, or regions,
79
82
  # for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`,
@@ -118,13 +121,14 @@ module Google
118
121
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
119
122
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
120
123
  # @raise [Google::Apis::AuthorizationError] Authorization is required
121
- def complete_project_location_catalog_query(catalog, dataset: nil, device_type: nil, entity: nil, language_codes: nil, max_suggestions: nil, query: nil, visitor_id: nil, fields: nil, quota_user: nil, options: nil, &block)
124
+ def complete_project_location_catalog_query(catalog, dataset: nil, device_type: nil, enable_attribute_suggestions: nil, entity: nil, language_codes: nil, max_suggestions: nil, query: nil, visitor_id: nil, fields: nil, quota_user: nil, options: nil, &block)
122
125
  command = make_simple_command(:get, 'v2/{+catalog}:completeQuery', options)
123
126
  command.response_representation = Google::Apis::RetailV2::GoogleCloudRetailV2CompleteQueryResponse::Representation
124
127
  command.response_class = Google::Apis::RetailV2::GoogleCloudRetailV2CompleteQueryResponse
125
128
  command.params['catalog'] = catalog unless catalog.nil?
126
129
  command.query['dataset'] = dataset unless dataset.nil?
127
130
  command.query['deviceType'] = device_type unless device_type.nil?
131
+ command.query['enableAttributeSuggestions'] = enable_attribute_suggestions unless enable_attribute_suggestions.nil?
128
132
  command.query['entity'] = entity unless entity.nil?
129
133
  command.query['languageCodes'] = language_codes unless language_codes.nil?
130
134
  command.query['maxSuggestions'] = max_suggestions unless max_suggestions.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-retail_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.94.0
4
+ version: 0.96.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: 2024-04-21 00:00:00.000000000 Z
11
+ date: 2024-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-retail_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.94.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2/v0.96.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2
63
63
  post_install_message:
64
64
  rdoc_options: []