google-apis-merchantapi_lfp_v1beta 0.5.0 → 0.6.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/merchantapi_lfp_v1beta/classes.rb +175 -0
- data/lib/google/apis/merchantapi_lfp_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/merchantapi_lfp_v1beta/representations.rb +70 -0
- data/lib/google/apis/merchantapi_lfp_v1beta/service.rb +31 -0
- metadata +3 -3
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 03bb26ad0879249a509edadfe6e76b387751b02c54d1dc7cc29b1e4a89084121
         | 
| 4 | 
            +
              data.tar.gz: 0b706cc1fb0a720d75f6300fb2c83773c155ca42eda360d9f77d968633e3ec96
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: ced7556afd380b277fd45628a57c537ffa8a6a2ffc66796754a8bc8b1b2d5b1d800c15f8ea9918173db8b4f669bbfc1d7c66717812f958184a2d090f0e99ba5e
         | 
| 7 | 
            +
              data.tar.gz: 5ba7649903ec638f937134c86dbd5517c10dbe436bd81ac142bace12ddc9e7ce1c74c878d66853417e5701a8054f0fd214c4565a550ce19573ea910244add7ce
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    
| @@ -22,6 +22,65 @@ module Google | |
| 22 22 | 
             
              module Apis
         | 
| 23 23 | 
             
                module MerchantapiLfpV1beta
         | 
| 24 24 |  | 
| 25 | 
            +
                  # Country-specific settings for the merchant.
         | 
| 26 | 
            +
                  class CountrySettings
         | 
| 27 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 28 | 
            +
                  
         | 
| 29 | 
            +
                    # True if this merchant has enabled free local listings in MC.
         | 
| 30 | 
            +
                    # Corresponds to the JSON property `freeLocalListingsEnabled`
         | 
| 31 | 
            +
                    # @return [Boolean]
         | 
| 32 | 
            +
                    attr_accessor :free_local_listings_enabled
         | 
| 33 | 
            +
                    alias_method :free_local_listings_enabled?, :free_local_listings_enabled
         | 
| 34 | 
            +
                  
         | 
| 35 | 
            +
                    # Output only. The verification state of this merchant's instock serving feature.
         | 
| 36 | 
            +
                    # Corresponds to the JSON property `instockServingVerificationState`
         | 
| 37 | 
            +
                    # @return [String]
         | 
| 38 | 
            +
                    attr_accessor :instock_serving_verification_state
         | 
| 39 | 
            +
                  
         | 
| 40 | 
            +
                    # Output only. The verification state of this merchant's inventory check.
         | 
| 41 | 
            +
                    # Corresponds to the JSON property `inventoryVerificationState`
         | 
| 42 | 
            +
                    # @return [String]
         | 
| 43 | 
            +
                    attr_accessor :inventory_verification_state
         | 
| 44 | 
            +
                  
         | 
| 45 | 
            +
                    # True if this merchant has enabled local inventory ads in MC.
         | 
| 46 | 
            +
                    # Corresponds to the JSON property `localInventoryAdsEnabled`
         | 
| 47 | 
            +
                    # @return [Boolean]
         | 
| 48 | 
            +
                    attr_accessor :local_inventory_ads_enabled
         | 
| 49 | 
            +
                    alias_method :local_inventory_ads_enabled?, :local_inventory_ads_enabled
         | 
| 50 | 
            +
                  
         | 
| 51 | 
            +
                    # Output only. The verification state of this merchant's pickup serving feature.
         | 
| 52 | 
            +
                    # Corresponds to the JSON property `pickupServingVerificationState`
         | 
| 53 | 
            +
                    # @return [String]
         | 
| 54 | 
            +
                    attr_accessor :pickup_serving_verification_state
         | 
| 55 | 
            +
                  
         | 
| 56 | 
            +
                    # Output only. The product page type selected by this merchant.
         | 
| 57 | 
            +
                    # Corresponds to the JSON property `productPageType`
         | 
| 58 | 
            +
                    # @return [String]
         | 
| 59 | 
            +
                    attr_accessor :product_page_type
         | 
| 60 | 
            +
                  
         | 
| 61 | 
            +
                    # Required. The [CLDR territory code](https://github.com/unicode-org/cldr/blob/
         | 
| 62 | 
            +
                    # latest/common/main/en.xml) for the country for which these settings are
         | 
| 63 | 
            +
                    # defined.
         | 
| 64 | 
            +
                    # Corresponds to the JSON property `regionCode`
         | 
| 65 | 
            +
                    # @return [String]
         | 
| 66 | 
            +
                    attr_accessor :region_code
         | 
| 67 | 
            +
                  
         | 
| 68 | 
            +
                    def initialize(**args)
         | 
| 69 | 
            +
                       update!(**args)
         | 
| 70 | 
            +
                    end
         | 
| 71 | 
            +
                  
         | 
| 72 | 
            +
                    # Update properties of this object
         | 
| 73 | 
            +
                    def update!(**args)
         | 
| 74 | 
            +
                      @free_local_listings_enabled = args[:free_local_listings_enabled] if args.key?(:free_local_listings_enabled)
         | 
| 75 | 
            +
                      @instock_serving_verification_state = args[:instock_serving_verification_state] if args.key?(:instock_serving_verification_state)
         | 
| 76 | 
            +
                      @inventory_verification_state = args[:inventory_verification_state] if args.key?(:inventory_verification_state)
         | 
| 77 | 
            +
                      @local_inventory_ads_enabled = args[:local_inventory_ads_enabled] if args.key?(:local_inventory_ads_enabled)
         | 
| 78 | 
            +
                      @pickup_serving_verification_state = args[:pickup_serving_verification_state] if args.key?(:pickup_serving_verification_state)
         | 
| 79 | 
            +
                      @product_page_type = args[:product_page_type] if args.key?(:product_page_type)
         | 
| 80 | 
            +
                      @region_code = args[:region_code] if args.key?(:region_code)
         | 
| 81 | 
            +
                    end
         | 
| 82 | 
            +
                  end
         | 
| 83 | 
            +
                  
         | 
| 25 84 | 
             
                  # A generic empty message that you can re-use to avoid defining duplicated empty
         | 
| 26 85 | 
             
                  # messages in your APIs. A typical example is to use it as the request or the
         | 
| 27 86 | 
             
                  # response type of an API method. For instance: service Foo ` rpc Bar(google.
         | 
| @@ -38,6 +97,47 @@ module Google | |
| 38 97 | 
             
                    end
         | 
| 39 98 | 
             
                  end
         | 
| 40 99 |  | 
| 100 | 
            +
                  # The inventory statistics for a merchant.
         | 
| 101 | 
            +
                  class InventoryStats
         | 
| 102 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 103 | 
            +
                  
         | 
| 104 | 
            +
                    # Number of entries (understanding entry as a pair of product and store) that
         | 
| 105 | 
            +
                    # were built based on provided inventories/sales and submitted to Google.
         | 
| 106 | 
            +
                    # Corresponds to the JSON property `submittedEntries`
         | 
| 107 | 
            +
                    # @return [Fixnum]
         | 
| 108 | 
            +
                    attr_accessor :submitted_entries
         | 
| 109 | 
            +
                  
         | 
| 110 | 
            +
                    # Number of submitted in stock entries.
         | 
| 111 | 
            +
                    # Corresponds to the JSON property `submittedInStockEntries`
         | 
| 112 | 
            +
                    # @return [Fixnum]
         | 
| 113 | 
            +
                    attr_accessor :submitted_in_stock_entries
         | 
| 114 | 
            +
                  
         | 
| 115 | 
            +
                    # Number of products from provided inventories/sales that were created from
         | 
| 116 | 
            +
                    # matches to existing online products provided by the merchant or to the Google
         | 
| 117 | 
            +
                    # catalog.
         | 
| 118 | 
            +
                    # Corresponds to the JSON property `submittedProducts`
         | 
| 119 | 
            +
                    # @return [Fixnum]
         | 
| 120 | 
            +
                    attr_accessor :submitted_products
         | 
| 121 | 
            +
                  
         | 
| 122 | 
            +
                    # Number of entries that were built based on provided inventories/sales and
         | 
| 123 | 
            +
                    # couldn't be submitted to Google due to errors like missing product.
         | 
| 124 | 
            +
                    # Corresponds to the JSON property `unsubmittedEntries`
         | 
| 125 | 
            +
                    # @return [Fixnum]
         | 
| 126 | 
            +
                    attr_accessor :unsubmitted_entries
         | 
| 127 | 
            +
                  
         | 
| 128 | 
            +
                    def initialize(**args)
         | 
| 129 | 
            +
                       update!(**args)
         | 
| 130 | 
            +
                    end
         | 
| 131 | 
            +
                  
         | 
| 132 | 
            +
                    # Update properties of this object
         | 
| 133 | 
            +
                    def update!(**args)
         | 
| 134 | 
            +
                      @submitted_entries = args[:submitted_entries] if args.key?(:submitted_entries)
         | 
| 135 | 
            +
                      @submitted_in_stock_entries = args[:submitted_in_stock_entries] if args.key?(:submitted_in_stock_entries)
         | 
| 136 | 
            +
                      @submitted_products = args[:submitted_products] if args.key?(:submitted_products)
         | 
| 137 | 
            +
                      @unsubmitted_entries = args[:unsubmitted_entries] if args.key?(:unsubmitted_entries)
         | 
| 138 | 
            +
                    end
         | 
| 139 | 
            +
                  end
         | 
| 140 | 
            +
                  
         | 
| 41 141 | 
             
                  # Local Inventory for the merchant.
         | 
| 42 142 | 
             
                  class LfpInventory
         | 
| 43 143 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -153,6 +253,50 @@ module Google | |
| 153 253 | 
             
                    end
         | 
| 154 254 | 
             
                  end
         | 
| 155 255 |  | 
| 256 | 
            +
                  # The LFP state of a merchant.
         | 
| 257 | 
            +
                  class LfpMerchantState
         | 
| 258 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 259 | 
            +
                  
         | 
| 260 | 
            +
                    # Country-specific settings for the merchant.
         | 
| 261 | 
            +
                    # Corresponds to the JSON property `countrySettings`
         | 
| 262 | 
            +
                    # @return [Array<Google::Apis::MerchantapiLfpV1beta::CountrySettings>]
         | 
| 263 | 
            +
                    attr_accessor :country_settings
         | 
| 264 | 
            +
                  
         | 
| 265 | 
            +
                    # The inventory statistics for a merchant.
         | 
| 266 | 
            +
                    # Corresponds to the JSON property `inventoryStats`
         | 
| 267 | 
            +
                    # @return [Google::Apis::MerchantapiLfpV1beta::InventoryStats]
         | 
| 268 | 
            +
                    attr_accessor :inventory_stats
         | 
| 269 | 
            +
                  
         | 
| 270 | 
            +
                    # Number of [GBPs](https://www.google.com/business/) this merchant has access to.
         | 
| 271 | 
            +
                    # Corresponds to the JSON property `linkedGbps`
         | 
| 272 | 
            +
                    # @return [Fixnum]
         | 
| 273 | 
            +
                    attr_accessor :linked_gbps
         | 
| 274 | 
            +
                  
         | 
| 275 | 
            +
                    # Identifier. The name of the `LfpMerchantState` resource. Format: `accounts/`
         | 
| 276 | 
            +
                    # account`/lfpMerchantStates/`target_merchant``
         | 
| 277 | 
            +
                    # Corresponds to the JSON property `name`
         | 
| 278 | 
            +
                    # @return [String]
         | 
| 279 | 
            +
                    attr_accessor :name
         | 
| 280 | 
            +
                  
         | 
| 281 | 
            +
                    # Output only. The state per store from the specified merchant.
         | 
| 282 | 
            +
                    # Corresponds to the JSON property `storeStates`
         | 
| 283 | 
            +
                    # @return [Array<Google::Apis::MerchantapiLfpV1beta::LfpStoreState>]
         | 
| 284 | 
            +
                    attr_accessor :store_states
         | 
| 285 | 
            +
                  
         | 
| 286 | 
            +
                    def initialize(**args)
         | 
| 287 | 
            +
                       update!(**args)
         | 
| 288 | 
            +
                    end
         | 
| 289 | 
            +
                  
         | 
| 290 | 
            +
                    # Update properties of this object
         | 
| 291 | 
            +
                    def update!(**args)
         | 
| 292 | 
            +
                      @country_settings = args[:country_settings] if args.key?(:country_settings)
         | 
| 293 | 
            +
                      @inventory_stats = args[:inventory_stats] if args.key?(:inventory_stats)
         | 
| 294 | 
            +
                      @linked_gbps = args[:linked_gbps] if args.key?(:linked_gbps)
         | 
| 295 | 
            +
                      @name = args[:name] if args.key?(:name)
         | 
| 296 | 
            +
                      @store_states = args[:store_states] if args.key?(:store_states)
         | 
| 297 | 
            +
                    end
         | 
| 298 | 
            +
                  end
         | 
| 299 | 
            +
                  
         | 
| 156 300 | 
             
                  # A sale for the merchant.
         | 
| 157 301 | 
             
                  class LfpSale
         | 
| 158 302 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -346,6 +490,37 @@ module Google | |
| 346 490 | 
             
                    end
         | 
| 347 491 | 
             
                  end
         | 
| 348 492 |  | 
| 493 | 
            +
                  # The state of a specific merchant's store.
         | 
| 494 | 
            +
                  class LfpStoreState
         | 
| 495 | 
            +
                    include Google::Apis::Core::Hashable
         | 
| 496 | 
            +
                  
         | 
| 497 | 
            +
                    # Output only. The store matching state.
         | 
| 498 | 
            +
                    # Corresponds to the JSON property `matchingState`
         | 
| 499 | 
            +
                    # @return [String]
         | 
| 500 | 
            +
                    attr_accessor :matching_state
         | 
| 501 | 
            +
                  
         | 
| 502 | 
            +
                    # The hint of why the matching has failed (only set if matching_state is FAILED).
         | 
| 503 | 
            +
                    # Corresponds to the JSON property `matchingStateHint`
         | 
| 504 | 
            +
                    # @return [String]
         | 
| 505 | 
            +
                    attr_accessor :matching_state_hint
         | 
| 506 | 
            +
                  
         | 
| 507 | 
            +
                    # Required. Immutable. The identifier of this store.
         | 
| 508 | 
            +
                    # Corresponds to the JSON property `storeCode`
         | 
| 509 | 
            +
                    # @return [String]
         | 
| 510 | 
            +
                    attr_accessor :store_code
         | 
| 511 | 
            +
                  
         | 
| 512 | 
            +
                    def initialize(**args)
         | 
| 513 | 
            +
                       update!(**args)
         | 
| 514 | 
            +
                    end
         | 
| 515 | 
            +
                  
         | 
| 516 | 
            +
                    # Update properties of this object
         | 
| 517 | 
            +
                    def update!(**args)
         | 
| 518 | 
            +
                      @matching_state = args[:matching_state] if args.key?(:matching_state)
         | 
| 519 | 
            +
                      @matching_state_hint = args[:matching_state_hint] if args.key?(:matching_state_hint)
         | 
| 520 | 
            +
                      @store_code = args[:store_code] if args.key?(:store_code)
         | 
| 521 | 
            +
                    end
         | 
| 522 | 
            +
                  end
         | 
| 523 | 
            +
                  
         | 
| 349 524 | 
             
                  # Response message for the ListLfpStores method.
         | 
| 350 525 | 
             
                  class ListLfpStoresResponse
         | 
| 351 526 | 
             
                    include Google::Apis::Core::Hashable
         | 
| @@ -16,13 +16,13 @@ module Google | |
| 16 16 | 
             
              module Apis
         | 
| 17 17 | 
             
                module MerchantapiLfpV1beta
         | 
| 18 18 | 
             
                  # Version of the google-apis-merchantapi_lfp_v1beta gem
         | 
| 19 | 
            -
                  GEM_VERSION = "0. | 
| 19 | 
            +
                  GEM_VERSION = "0.6.0"
         | 
| 20 20 |  | 
| 21 21 | 
             
                  # Version of the code generator used to generate this client
         | 
| 22 22 | 
             
                  GENERATOR_VERSION = "0.16.0"
         | 
| 23 23 |  | 
| 24 24 | 
             
                  # Revision of the discovery document this client was generated from
         | 
| 25 | 
            -
                  REVISION = " | 
| 25 | 
            +
                  REVISION = "20250401"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -22,18 +22,36 @@ module Google | |
| 22 22 | 
             
              module Apis
         | 
| 23 23 | 
             
                module MerchantapiLfpV1beta
         | 
| 24 24 |  | 
| 25 | 
            +
                  class CountrySettings
         | 
| 26 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 27 | 
            +
                  
         | 
| 28 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 29 | 
            +
                  end
         | 
| 30 | 
            +
                  
         | 
| 25 31 | 
             
                  class Empty
         | 
| 26 32 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 27 33 |  | 
| 28 34 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 29 35 | 
             
                  end
         | 
| 30 36 |  | 
| 37 | 
            +
                  class InventoryStats
         | 
| 38 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 39 | 
            +
                  
         | 
| 40 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 41 | 
            +
                  end
         | 
| 42 | 
            +
                  
         | 
| 31 43 | 
             
                  class LfpInventory
         | 
| 32 44 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 33 45 |  | 
| 34 46 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 35 47 | 
             
                  end
         | 
| 36 48 |  | 
| 49 | 
            +
                  class LfpMerchantState
         | 
| 50 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 51 | 
            +
                  
         | 
| 52 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 53 | 
            +
                  end
         | 
| 54 | 
            +
                  
         | 
| 37 55 | 
             
                  class LfpSale
         | 
| 38 56 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 39 57 |  | 
| @@ -46,6 +64,12 @@ module Google | |
| 46 64 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 47 65 | 
             
                  end
         | 
| 48 66 |  | 
| 67 | 
            +
                  class LfpStoreState
         | 
| 68 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 69 | 
            +
                  
         | 
| 70 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 71 | 
            +
                  end
         | 
| 72 | 
            +
                  
         | 
| 49 73 | 
             
                  class ListLfpStoresResponse
         | 
| 50 74 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 51 75 |  | 
| @@ -70,12 +94,35 @@ module Google | |
| 70 94 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 71 95 | 
             
                  end
         | 
| 72 96 |  | 
| 97 | 
            +
                  class CountrySettings
         | 
| 98 | 
            +
                    # @private
         | 
| 99 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 100 | 
            +
                      property :free_local_listings_enabled, as: 'freeLocalListingsEnabled'
         | 
| 101 | 
            +
                      property :instock_serving_verification_state, as: 'instockServingVerificationState'
         | 
| 102 | 
            +
                      property :inventory_verification_state, as: 'inventoryVerificationState'
         | 
| 103 | 
            +
                      property :local_inventory_ads_enabled, as: 'localInventoryAdsEnabled'
         | 
| 104 | 
            +
                      property :pickup_serving_verification_state, as: 'pickupServingVerificationState'
         | 
| 105 | 
            +
                      property :product_page_type, as: 'productPageType'
         | 
| 106 | 
            +
                      property :region_code, as: 'regionCode'
         | 
| 107 | 
            +
                    end
         | 
| 108 | 
            +
                  end
         | 
| 109 | 
            +
                  
         | 
| 73 110 | 
             
                  class Empty
         | 
| 74 111 | 
             
                    # @private
         | 
| 75 112 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 76 113 | 
             
                    end
         | 
| 77 114 | 
             
                  end
         | 
| 78 115 |  | 
| 116 | 
            +
                  class InventoryStats
         | 
| 117 | 
            +
                    # @private
         | 
| 118 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 119 | 
            +
                      property :submitted_entries, :numeric_string => true, as: 'submittedEntries'
         | 
| 120 | 
            +
                      property :submitted_in_stock_entries, :numeric_string => true, as: 'submittedInStockEntries'
         | 
| 121 | 
            +
                      property :submitted_products, :numeric_string => true, as: 'submittedProducts'
         | 
| 122 | 
            +
                      property :unsubmitted_entries, :numeric_string => true, as: 'unsubmittedEntries'
         | 
| 123 | 
            +
                    end
         | 
| 124 | 
            +
                  end
         | 
| 125 | 
            +
                  
         | 
| 79 126 | 
             
                  class LfpInventory
         | 
| 80 127 | 
             
                    # @private
         | 
| 81 128 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -97,6 +144,20 @@ module Google | |
| 97 144 | 
             
                    end
         | 
| 98 145 | 
             
                  end
         | 
| 99 146 |  | 
| 147 | 
            +
                  class LfpMerchantState
         | 
| 148 | 
            +
                    # @private
         | 
| 149 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 150 | 
            +
                      collection :country_settings, as: 'countrySettings', class: Google::Apis::MerchantapiLfpV1beta::CountrySettings, decorator: Google::Apis::MerchantapiLfpV1beta::CountrySettings::Representation
         | 
| 151 | 
            +
                  
         | 
| 152 | 
            +
                      property :inventory_stats, as: 'inventoryStats', class: Google::Apis::MerchantapiLfpV1beta::InventoryStats, decorator: Google::Apis::MerchantapiLfpV1beta::InventoryStats::Representation
         | 
| 153 | 
            +
                  
         | 
| 154 | 
            +
                      property :linked_gbps, :numeric_string => true, as: 'linkedGbps'
         | 
| 155 | 
            +
                      property :name, as: 'name'
         | 
| 156 | 
            +
                      collection :store_states, as: 'storeStates', class: Google::Apis::MerchantapiLfpV1beta::LfpStoreState, decorator: Google::Apis::MerchantapiLfpV1beta::LfpStoreState::Representation
         | 
| 157 | 
            +
                  
         | 
| 158 | 
            +
                    end
         | 
| 159 | 
            +
                  end
         | 
| 160 | 
            +
                  
         | 
| 100 161 | 
             
                  class LfpSale
         | 
| 101 162 | 
             
                    # @private
         | 
| 102 163 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -133,6 +194,15 @@ module Google | |
| 133 194 | 
             
                    end
         | 
| 134 195 | 
             
                  end
         | 
| 135 196 |  | 
| 197 | 
            +
                  class LfpStoreState
         | 
| 198 | 
            +
                    # @private
         | 
| 199 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 200 | 
            +
                      property :matching_state, as: 'matchingState'
         | 
| 201 | 
            +
                      property :matching_state_hint, as: 'matchingStateHint'
         | 
| 202 | 
            +
                      property :store_code, as: 'storeCode'
         | 
| 203 | 
            +
                    end
         | 
| 204 | 
            +
                  end
         | 
| 205 | 
            +
                  
         | 
| 136 206 | 
             
                  class ListLfpStoresResponse
         | 
| 137 207 | 
             
                    # @private
         | 
| 138 208 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -86,6 +86,37 @@ module Google | |
| 86 86 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 87 87 | 
             
                    end
         | 
| 88 88 |  | 
| 89 | 
            +
                    # Gets the LFP state of a merchant
         | 
| 90 | 
            +
                    # @param [String] name
         | 
| 91 | 
            +
                    #   Required. The name of the state to retrieve. Format: `accounts/`account`/
         | 
| 92 | 
            +
                    #   lfpMerchantStates/`target_merchant``
         | 
| 93 | 
            +
                    # @param [String] fields
         | 
| 94 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 95 | 
            +
                    # @param [String] quota_user
         | 
| 96 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 97 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 98 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 99 | 
            +
                    #   Request-specific options
         | 
| 100 | 
            +
                    #
         | 
| 101 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 102 | 
            +
                    # @yieldparam result [Google::Apis::MerchantapiLfpV1beta::LfpMerchantState] parsed result object
         | 
| 103 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 104 | 
            +
                    #
         | 
| 105 | 
            +
                    # @return [Google::Apis::MerchantapiLfpV1beta::LfpMerchantState]
         | 
| 106 | 
            +
                    #
         | 
| 107 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 108 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 109 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 110 | 
            +
                    def get_account_lfp_merchant_state(name, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 111 | 
            +
                      command = make_simple_command(:get, 'lfp/v1beta/{+name}', options)
         | 
| 112 | 
            +
                      command.response_representation = Google::Apis::MerchantapiLfpV1beta::LfpMerchantState::Representation
         | 
| 113 | 
            +
                      command.response_class = Google::Apis::MerchantapiLfpV1beta::LfpMerchantState
         | 
| 114 | 
            +
                      command.params['name'] = name unless name.nil?
         | 
| 115 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 116 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 117 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 118 | 
            +
                    end
         | 
| 119 | 
            +
                    
         | 
| 89 120 | 
             
                    # Inserts a `LfpSale` for the given merchant.
         | 
| 90 121 | 
             
                    # @param [String] parent
         | 
| 91 122 | 
             
                    #   Required. The LFP provider account. Format: `accounts/`lfp_partner``
         | 
    
        metadata
    CHANGED
    
    | @@ -1,13 +1,13 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-apis-merchantapi_lfp_v1beta
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.6.0
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Google LLC
         | 
| 8 8 | 
             
            bindir: bin
         | 
| 9 9 | 
             
            cert_chain: []
         | 
| 10 | 
            -
            date: 2025- | 
| 10 | 
            +
            date: 2025-04-16 00:00:00.000000000 Z
         | 
| 11 11 | 
             
            dependencies:
         | 
| 12 12 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 13 13 | 
             
              name: google-apis-core
         | 
| @@ -57,7 +57,7 @@ licenses: | |
| 57 57 | 
             
            metadata:
         | 
| 58 58 | 
             
              bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
         | 
| 59 59 | 
             
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_lfp_v1beta/CHANGELOG.md
         | 
| 60 | 
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_lfp_v1beta/v0. | 
| 60 | 
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_lfp_v1beta/v0.6.0
         | 
| 61 61 | 
             
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_lfp_v1beta
         | 
| 62 62 | 
             
            rdoc_options: []
         | 
| 63 63 | 
             
            require_paths:
         |