google-apis-retail_v2 0.95.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: 47d1e969ecf6040acf9dbe24d6df84de8a08df0ed4c4671f6381f35a4165a526
4
- data.tar.gz: 5c08eaa7fe4ae2cdaba189a284a6d72b1efa15d1167113193cd08ff3b9d0f536
3
+ metadata.gz: 3fd8697d5829438dc21320ba97eaf35959976dbd13cf92245169dd60e5f3cff1
4
+ data.tar.gz: d31017f9417041504a9f7115f27464fc1220cf54152f300b5f8f68969bed93d5
5
5
  SHA512:
6
- metadata.gz: 92b4abb4125c25a0ff232c94133f0ba27a34d4c501f4cfc3e262c807f85c9625a1d62f97971b8d8881bbb5225bba02983707e7a15d02deb792f15930bbf0e612
7
- data.tar.gz: 911ce85f265fbe7e79519633607058f7c38e965375315b6c76e05aadca216ac556434e3ffb044aaa7cb2b1d205c8fed4311d2bcf4277e12824ef1cb588223d07
6
+ metadata.gz: 4b26167459fbe81f9cf8f8c56af8fb0c6311e703bfd754386eb46f51e2aad881ad82773dd975ffe882bc0ad7bd812aad17875c7ee337655218993012d5000635
7
+ data.tar.gz: 2daf5c8b86964a980845af6f181d2f81c267cd15f488587d6c8f252a6bf4c567dfaa4ab5e8d83400e3289c062681a0f08f1e2b73ccbd5bfab4d4fa7b88729804
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.95.0 (2024-05-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20240509
@@ -7402,32 +7402,6 @@ module Google
7402
7402
  end
7403
7403
  end
7404
7404
 
7405
- # Common metadata related to the progress of the operations.
7406
- class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
7407
- include Google::Apis::Core::Hashable
7408
-
7409
- # Operation create time.
7410
- # Corresponds to the JSON property `createTime`
7411
- # @return [String]
7412
- attr_accessor :create_time
7413
-
7414
- # Operation last update time. If the operation is done, this is also the finish
7415
- # time.
7416
- # Corresponds to the JSON property `updateTime`
7417
- # @return [String]
7418
- attr_accessor :update_time
7419
-
7420
- def initialize(**args)
7421
- update!(**args)
7422
- end
7423
-
7424
- # Update properties of this object
7425
- def update!(**args)
7426
- @create_time = args[:create_time] if args.key?(:create_time)
7427
- @update_time = args[:update_time] if args.key?(:update_time)
7428
- end
7429
- end
7430
-
7431
7405
  # Metadata associated with a create operation.
7432
7406
  class GoogleCloudRetailV2betaCreateModelMetadata
7433
7407
  include Google::Apis::Core::Hashable
@@ -7775,127 +7749,6 @@ module Google
7775
7749
  end
7776
7750
  end
7777
7751
 
7778
- # Represents a link between a Merchant Center account and a branch. After a link
7779
- # is established, products from the linked Merchant Center account are streamed
7780
- # to the linked branch.
7781
- class GoogleCloudRetailV2betaMerchantCenterAccountLink
7782
- include Google::Apis::Core::Hashable
7783
-
7784
- # Required. The branch ID (e.g. 0/1/2) within the catalog that products from
7785
- # merchant_center_account_id are streamed to. When updating this field, an empty
7786
- # value will use the currently configured default branch. However, changing the
7787
- # default branch later on won't change the linked branch here. A single branch
7788
- # ID can only have one linked Merchant Center account ID.
7789
- # Corresponds to the JSON property `branchId`
7790
- # @return [String]
7791
- attr_accessor :branch_id
7792
-
7793
- # Criteria for the Merchant Center feeds to be ingested via the link. All offers
7794
- # will be ingested if the list is empty. Otherwise the offers will be ingested
7795
- # from selected feeds.
7796
- # Corresponds to the JSON property `feedFilters`
7797
- # @return [Array<Google::Apis::RetailV2::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter>]
7798
- attr_accessor :feed_filters
7799
-
7800
- # The FeedLabel used to perform filtering. Note: this replaces [region_id](https:
7801
- # //developers.google.com/shopping-content/reference/rest/v2.1/products#Product.
7802
- # FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.
7803
- # Corresponds to the JSON property `feedLabel`
7804
- # @return [String]
7805
- attr_accessor :feed_label
7806
-
7807
- # Output only. Immutable. MerchantCenterAccountLink identifier, which is the
7808
- # final component of name. This field is auto generated and follows the
7809
- # convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/
7810
- # catalogs/default_catalog/merchantCenterAccountLinks/id_1`.
7811
- # Corresponds to the JSON property `id`
7812
- # @return [String]
7813
- attr_accessor :id
7814
-
7815
- # Language of the title/description and other string attributes. Use language
7816
- # tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO
7817
- # 639-1. This specifies the language of offers in Merchant Center that will be
7818
- # accepted. If empty, no language filtering will be performed. Example value: `
7819
- # en`.
7820
- # Corresponds to the JSON property `languageCode`
7821
- # @return [String]
7822
- attr_accessor :language_code
7823
-
7824
- # Required. The linked [Merchant center account id](https://developers.google.
7825
- # com/shopping-content/guides/accountstatuses). The account must be a standalone
7826
- # account or a sub-account of a MCA.
7827
- # Corresponds to the JSON property `merchantCenterAccountId`
7828
- # @return [Fixnum]
7829
- attr_accessor :merchant_center_account_id
7830
-
7831
- # Output only. Immutable. Full resource name of the Merchant Center Account Link,
7832
- # such as `projects/*/locations/global/catalogs/default_catalog/
7833
- # merchantCenterAccountLinks/merchant_center_account_link`.
7834
- # Corresponds to the JSON property `name`
7835
- # @return [String]
7836
- attr_accessor :name
7837
-
7838
- # Output only. Google Cloud project ID.
7839
- # Corresponds to the JSON property `projectId`
7840
- # @return [String]
7841
- attr_accessor :project_id
7842
-
7843
- # Optional. An optional arbitrary string that could be used as a tag for
7844
- # tracking link source.
7845
- # Corresponds to the JSON property `source`
7846
- # @return [String]
7847
- attr_accessor :source
7848
-
7849
- # Output only. Represents the state of the link.
7850
- # Corresponds to the JSON property `state`
7851
- # @return [String]
7852
- attr_accessor :state
7853
-
7854
- def initialize(**args)
7855
- update!(**args)
7856
- end
7857
-
7858
- # Update properties of this object
7859
- def update!(**args)
7860
- @branch_id = args[:branch_id] if args.key?(:branch_id)
7861
- @feed_filters = args[:feed_filters] if args.key?(:feed_filters)
7862
- @feed_label = args[:feed_label] if args.key?(:feed_label)
7863
- @id = args[:id] if args.key?(:id)
7864
- @language_code = args[:language_code] if args.key?(:language_code)
7865
- @merchant_center_account_id = args[:merchant_center_account_id] if args.key?(:merchant_center_account_id)
7866
- @name = args[:name] if args.key?(:name)
7867
- @project_id = args[:project_id] if args.key?(:project_id)
7868
- @source = args[:source] if args.key?(:source)
7869
- @state = args[:state] if args.key?(:state)
7870
- end
7871
- end
7872
-
7873
- # Merchant Center Feed filter criterion.
7874
- class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
7875
- include Google::Apis::Core::Hashable
7876
-
7877
- # Merchant Center primary feed ID.
7878
- # Corresponds to the JSON property `primaryFeedId`
7879
- # @return [Fixnum]
7880
- attr_accessor :primary_feed_id
7881
-
7882
- # Merchant Center primary feed name. The name is used for the display purposes
7883
- # only.
7884
- # Corresponds to the JSON property `primaryFeedName`
7885
- # @return [String]
7886
- attr_accessor :primary_feed_name
7887
-
7888
- def initialize(**args)
7889
- update!(**args)
7890
- end
7891
-
7892
- # Update properties of this object
7893
- def update!(**args)
7894
- @primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
7895
- @primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
7896
- end
7897
- end
7898
-
7899
7752
  # Metadata that describes the training and serving parameters of a Model. A
7900
7753
  # Model can be associated with a ServingConfig and then queried through the
7901
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.95.0"
19
+ GEM_VERSION = "0.96.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240509"
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
@@ -75,8 +75,8 @@ module Google
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
77
  # @param [Boolean] enable_attribute_suggestions
78
- # If true, attribute suggestions are enabled and provided in response. This
79
- # field is only available for "cloud-retail" dataset.
78
+ # If true, attribute suggestions are enabled and provided in the response. This
79
+ # field is only available for the "cloud-retail" dataset.
80
80
  # @param [String] entity
81
81
  # The entity for customers who run multiple entities, domains, sites, or regions,
82
82
  # for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`,
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.95.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-05-19 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
@@ -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.95.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: []