Sha256: 9508b61e5db6ffbabefa488e6d843b89fc0119c65dbaefae5e79e3a467e2c7b7

Contents?: true

Size: 1.88 KB

Versions: 3

Compression:

Stored size: 1.88 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: google/shopping/merchant/lfp/v1beta/lfpinventory.proto for package 'google.shopping.merchant.lfp.v1beta'
# Original file comments:
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

require 'grpc'
require 'google/shopping/merchant/lfp/v1beta/lfpinventory_pb'

module Google
  module Shopping
    module Merchant
      module Lfp
        module V1beta
          module LfpInventoryService
            # Service for a [LFP
            # partner](https://support.google.com/merchants/answer/7676652) to submit local
            # inventories for a merchant.
            class Service

              include ::GRPC::GenericService

              self.marshal_class_method = :encode
              self.unmarshal_class_method = :decode
              self.service_name = 'google.shopping.merchant.lfp.v1beta.LfpInventoryService'

              # Inserts a `LfpInventory` resource for the given target merchant account. If
              # the resource already exists, it will be replaced. The inventory
              # automatically expires after 30 days.
              rpc :InsertLfpInventory, ::Google::Shopping::Merchant::Lfp::V1beta::InsertLfpInventoryRequest, ::Google::Shopping::Merchant::Lfp::V1beta::LfpInventory
            end

            Stub = Service.rpc_stub_class
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
google-shopping-merchant-lfp-v1beta-0.2.0 lib/google/shopping/merchant/lfp/v1beta/lfpinventory_services_pb.rb
google-shopping-merchant-lfp-v1beta-0.1.3 lib/google/shopping/merchant/lfp/v1beta/lfpinventory_services_pb.rb
google-shopping-merchant-lfp-v1beta-0.1.0 lib/google/shopping/merchant/lfp/v1beta/lfpinventory_services_pb.rb