lib/google/shopping/merchant/accounts/v1beta/account_tax_services_pb.rb
# Generated by the protocol buffer compiler. DO NOT EDIT! # Source: google/shopping/merchant/accounts/v1beta/account_tax.proto for package 'google.shopping.merchant.accounts.v1beta' # Original file comments: # Copyright 2024 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/accounts/v1beta/account_tax_pb' module Google module Shopping module Merchant module Accounts module V1beta module AccountTaxService # Manages account level tax setting data. # # This API defines the following resource model: # # - [AccountTax][google.shopping.merchant.accounts.v1main.AccountTax] class Service include ::GRPC::GenericService self.marshal_class_method = :encode self.unmarshal_class_method = :decode self.service_name = 'google.shopping.merchant.accounts.v1beta.AccountTaxService' # Returns the tax rules that match the conditions of GetAccountTaxRequest rpc :GetAccountTax, ::Google::Shopping::Merchant::Accounts::V1beta::GetAccountTaxRequest, ::Google::Shopping::Merchant::Accounts::V1beta::AccountTax # Lists the tax settings of the sub-accounts only in your # Merchant Center account. # This method can only be called on a multi-client account, otherwise it'll # return an error. rpc :ListAccountTax, ::Google::Shopping::Merchant::Accounts::V1beta::ListAccountTaxRequest, ::Google::Shopping::Merchant::Accounts::V1beta::ListAccountTaxResponse # Updates the tax settings of the account. rpc :UpdateAccountTax, ::Google::Shopping::Merchant::Accounts::V1beta::UpdateAccountTaxRequest, ::Google::Shopping::Merchant::Accounts::V1beta::AccountTax end Stub = Service.rpc_stub_class end end end end end end