google-apis-retail_v2beta 0.98.0 → 0.99.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0bd1ef22229d3a34291155b0c242c0a7ea3b1084de79fb45501b11f6392c4867
4
- data.tar.gz: 60f302643401620cab75eadef8dd49c5f5b6ba1cb003eb3f6a156bc14fe63526
3
+ metadata.gz: 8ca804f54d9e81afec240ece9eb82dc0fc0a1d58ea40f80ab89ef347e67ef05d
4
+ data.tar.gz: 5ea60f41799d7cdf0bcd76d63a89177f1419abe42100ab096023103a3ab266a7
5
5
  SHA512:
6
- metadata.gz: dfe54d2516a88811810fbf6d8ab0b2b15a063efaa782f3e2b5b0ea72b9bd3a50bf0081192100f4d03198aa32a015a59b08631b6a3381a03586a76a835923027c
7
- data.tar.gz: 40f37214fc142c0bbb06bb3099db43d949162cfe8fd946455a46a11f77b007e6d9ae813deb5362081fbdc986db19e5ccfaea96005a38933ba49c3d77747dbed8
6
+ metadata.gz: 2c4780e31659da222be349f01c4861f063e444a9a8f4c0660f7985b7231c51ce9e8d226ddad8cc349cdc0fa89a1390407dee1de916611a5b0df3918c174672bd
7
+ data.tar.gz: 9e73ba98f3a4cb5409dd8fd6e918d7d994c92c9dd48313d85322769ffcca597aa377bff67d8278a4febcdb4a88eb7582982abbe861cf9e5883c4d64ae93a7efa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-retail_v2beta
2
2
 
3
+ ### v0.99.0 (2024-06-16)
4
+
5
+ * Regenerated from discovery document revision 20240610
6
+
3
7
  ### v0.98.0 (2024-05-19)
4
8
 
5
9
  * Regenerated from discovery document revision 20240509
@@ -3661,32 +3661,6 @@ module Google
3661
3661
  end
3662
3662
  end
3663
3663
 
3664
- # Common metadata related to the progress of the operations.
3665
- class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
3666
- include Google::Apis::Core::Hashable
3667
-
3668
- # Operation create time.
3669
- # Corresponds to the JSON property `createTime`
3670
- # @return [String]
3671
- attr_accessor :create_time
3672
-
3673
- # Operation last update time. If the operation is done, this is also the finish
3674
- # time.
3675
- # Corresponds to the JSON property `updateTime`
3676
- # @return [String]
3677
- attr_accessor :update_time
3678
-
3679
- def initialize(**args)
3680
- update!(**args)
3681
- end
3682
-
3683
- # Update properties of this object
3684
- def update!(**args)
3685
- @create_time = args[:create_time] if args.key?(:create_time)
3686
- @update_time = args[:update_time] if args.key?(:update_time)
3687
- end
3688
- end
3689
-
3690
3664
  # Metadata associated with a create operation.
3691
3665
  class GoogleCloudRetailV2betaCreateModelMetadata
3692
3666
  include Google::Apis::Core::Hashable
@@ -4658,127 +4632,6 @@ module Google
4658
4632
  end
4659
4633
  end
4660
4634
 
4661
- # Represents a link between a Merchant Center account and a branch. After a link
4662
- # is established, products from the linked Merchant Center account are streamed
4663
- # to the linked branch.
4664
- class GoogleCloudRetailV2betaMerchantCenterAccountLink
4665
- include Google::Apis::Core::Hashable
4666
-
4667
- # Required. The branch ID (e.g. 0/1/2) within the catalog that products from
4668
- # merchant_center_account_id are streamed to. When updating this field, an empty
4669
- # value will use the currently configured default branch. However, changing the
4670
- # default branch later on won't change the linked branch here. A single branch
4671
- # ID can only have one linked Merchant Center account ID.
4672
- # Corresponds to the JSON property `branchId`
4673
- # @return [String]
4674
- attr_accessor :branch_id
4675
-
4676
- # Criteria for the Merchant Center feeds to be ingested via the link. All offers
4677
- # will be ingested if the list is empty. Otherwise the offers will be ingested
4678
- # from selected feeds.
4679
- # Corresponds to the JSON property `feedFilters`
4680
- # @return [Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter>]
4681
- attr_accessor :feed_filters
4682
-
4683
- # The FeedLabel used to perform filtering. Note: this replaces [region_id](https:
4684
- # //developers.google.com/shopping-content/reference/rest/v2.1/products#Product.
4685
- # FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.
4686
- # Corresponds to the JSON property `feedLabel`
4687
- # @return [String]
4688
- attr_accessor :feed_label
4689
-
4690
- # Output only. Immutable. MerchantCenterAccountLink identifier, which is the
4691
- # final component of name. This field is auto generated and follows the
4692
- # convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/
4693
- # catalogs/default_catalog/merchantCenterAccountLinks/id_1`.
4694
- # Corresponds to the JSON property `id`
4695
- # @return [String]
4696
- attr_accessor :id
4697
-
4698
- # Language of the title/description and other string attributes. Use language
4699
- # tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO
4700
- # 639-1. This specifies the language of offers in Merchant Center that will be
4701
- # accepted. If empty, no language filtering will be performed. Example value: `
4702
- # en`.
4703
- # Corresponds to the JSON property `languageCode`
4704
- # @return [String]
4705
- attr_accessor :language_code
4706
-
4707
- # Required. The linked [Merchant center account id](https://developers.google.
4708
- # com/shopping-content/guides/accountstatuses). The account must be a standalone
4709
- # account or a sub-account of a MCA.
4710
- # Corresponds to the JSON property `merchantCenterAccountId`
4711
- # @return [Fixnum]
4712
- attr_accessor :merchant_center_account_id
4713
-
4714
- # Output only. Immutable. Full resource name of the Merchant Center Account Link,
4715
- # such as `projects/*/locations/global/catalogs/default_catalog/
4716
- # merchantCenterAccountLinks/merchant_center_account_link`.
4717
- # Corresponds to the JSON property `name`
4718
- # @return [String]
4719
- attr_accessor :name
4720
-
4721
- # Output only. Google Cloud project ID.
4722
- # Corresponds to the JSON property `projectId`
4723
- # @return [String]
4724
- attr_accessor :project_id
4725
-
4726
- # Optional. An optional arbitrary string that could be used as a tag for
4727
- # tracking link source.
4728
- # Corresponds to the JSON property `source`
4729
- # @return [String]
4730
- attr_accessor :source
4731
-
4732
- # Output only. Represents the state of the link.
4733
- # Corresponds to the JSON property `state`
4734
- # @return [String]
4735
- attr_accessor :state
4736
-
4737
- def initialize(**args)
4738
- update!(**args)
4739
- end
4740
-
4741
- # Update properties of this object
4742
- def update!(**args)
4743
- @branch_id = args[:branch_id] if args.key?(:branch_id)
4744
- @feed_filters = args[:feed_filters] if args.key?(:feed_filters)
4745
- @feed_label = args[:feed_label] if args.key?(:feed_label)
4746
- @id = args[:id] if args.key?(:id)
4747
- @language_code = args[:language_code] if args.key?(:language_code)
4748
- @merchant_center_account_id = args[:merchant_center_account_id] if args.key?(:merchant_center_account_id)
4749
- @name = args[:name] if args.key?(:name)
4750
- @project_id = args[:project_id] if args.key?(:project_id)
4751
- @source = args[:source] if args.key?(:source)
4752
- @state = args[:state] if args.key?(:state)
4753
- end
4754
- end
4755
-
4756
- # Merchant Center Feed filter criterion.
4757
- class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
4758
- include Google::Apis::Core::Hashable
4759
-
4760
- # Merchant Center primary feed ID.
4761
- # Corresponds to the JSON property `primaryFeedId`
4762
- # @return [Fixnum]
4763
- attr_accessor :primary_feed_id
4764
-
4765
- # Merchant Center primary feed name. The name is used for the display purposes
4766
- # only.
4767
- # Corresponds to the JSON property `primaryFeedName`
4768
- # @return [String]
4769
- attr_accessor :primary_feed_name
4770
-
4771
- def initialize(**args)
4772
- update!(**args)
4773
- end
4774
-
4775
- # Update properties of this object
4776
- def update!(**args)
4777
- @primary_feed_id = args[:primary_feed_id] if args.key?(:primary_feed_id)
4778
- @primary_feed_name = args[:primary_feed_name] if args.key?(:primary_feed_name)
4779
- end
4780
- end
4781
-
4782
4635
  # Merchant Center Feed filter criterion.
4783
4636
  class GoogleCloudRetailV2betaMerchantCenterFeedFilter
4784
4637
  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.98.0"
19
+ GEM_VERSION = "0.99.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
@@ -742,12 +742,6 @@ module Google
742
742
  include Google::Apis::Core::JsonObjectSupport
743
743
  end
744
744
 
745
- class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
746
- class Representation < Google::Apis::Core::JsonRepresentation; end
747
-
748
- include Google::Apis::Core::JsonObjectSupport
749
- end
750
-
751
745
  class GoogleCloudRetailV2betaCreateModelMetadata
752
746
  class Representation < Google::Apis::Core::JsonRepresentation; end
753
747
 
@@ -928,18 +922,6 @@ module Google
928
922
  include Google::Apis::Core::JsonObjectSupport
929
923
  end
930
924
 
931
- class GoogleCloudRetailV2betaMerchantCenterAccountLink
932
- class Representation < Google::Apis::Core::JsonRepresentation; end
933
-
934
- include Google::Apis::Core::JsonObjectSupport
935
- end
936
-
937
- class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
938
- class Representation < Google::Apis::Core::JsonRepresentation; end
939
-
940
- include Google::Apis::Core::JsonObjectSupport
941
- end
942
-
943
925
  class GoogleCloudRetailV2betaMerchantCenterFeedFilter
944
926
  class Representation < Google::Apis::Core::JsonRepresentation; end
945
927
 
@@ -2510,14 +2492,6 @@ module Google
2510
2492
  end
2511
2493
  end
2512
2494
 
2513
- class GoogleCloudRetailV2betaCreateMerchantCenterAccountLinkMetadata
2514
- # @private
2515
- class Representation < Google::Apis::Core::JsonRepresentation
2516
- property :create_time, as: 'createTime'
2517
- property :update_time, as: 'updateTime'
2518
- end
2519
- end
2520
-
2521
2495
  class GoogleCloudRetailV2betaCreateModelMetadata
2522
2496
  # @private
2523
2497
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2802,31 +2776,6 @@ module Google
2802
2776
  end
2803
2777
  end
2804
2778
 
2805
- class GoogleCloudRetailV2betaMerchantCenterAccountLink
2806
- # @private
2807
- class Representation < Google::Apis::Core::JsonRepresentation
2808
- property :branch_id, as: 'branchId'
2809
- collection :feed_filters, as: 'feedFilters', class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter, decorator: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter::Representation
2810
-
2811
- property :feed_label, as: 'feedLabel'
2812
- property :id, as: 'id'
2813
- property :language_code, as: 'languageCode'
2814
- property :merchant_center_account_id, :numeric_string => true, as: 'merchantCenterAccountId'
2815
- property :name, as: 'name'
2816
- property :project_id, as: 'projectId'
2817
- property :source, as: 'source'
2818
- property :state, as: 'state'
2819
- end
2820
- end
2821
-
2822
- class GoogleCloudRetailV2betaMerchantCenterAccountLinkMerchantCenterFeedFilter
2823
- # @private
2824
- class Representation < Google::Apis::Core::JsonRepresentation
2825
- property :primary_feed_id, :numeric_string => true, as: 'primaryFeedId'
2826
- property :primary_feed_name, as: 'primaryFeedName'
2827
- end
2828
- end
2829
-
2830
2779
  class GoogleCloudRetailV2betaMerchantCenterFeedFilter
2831
2780
  # @private
2832
2781
  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_v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.98.0
4
+ version: 0.99.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-26 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_v2beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.98.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-retail_v2beta/v0.99.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-retail_v2beta
63
63
  post_install_message:
64
64
  rdoc_options: []