lib/google/shopping/merchant/accounts/v1beta/programs_service/rest.rb
# frozen_string_literal: true # 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 # # https://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. # Auto-generated by gapic-generator-ruby. DO NOT EDIT! require "gapic/rest" require "gapic/config" require "gapic/config/method" require "google/shopping/merchant/accounts/v1beta/version" require "google/shopping/merchant/accounts/v1beta/programs_service/credentials" require "google/shopping/merchant/accounts/v1beta/programs_service/paths" require "google/shopping/merchant/accounts/v1beta/programs_service/rest/client" module Google module Shopping module Merchant module Accounts module V1beta ## # Service for program management. # # Programs provide a mechanism for adding functionality to merchant accounts. A # typical example of this is the [Free product # listings](https://support.google.com/merchants/topic/9240261?ref_topic=7257954,7259405,&sjid=796648681813264022-EU) # program, which enables products from a merchant's store to be shown across # Google for free. # # This service exposes methods to retrieve a merchant's # participation in all available programs, in addition to methods for # explicitly enabling or disabling participation in each program. # # To load this service and instantiate a REST client: # # require "google/shopping/merchant/accounts/v1beta/programs_service/rest" # client = ::Google::Shopping::Merchant::Accounts::V1beta::ProgramsService::Rest::Client.new # module ProgramsService # Client for the REST transport module Rest end end end end end end end helper_path = ::File.join __dir__, "rest", "helpers.rb" require "google/shopping/merchant/accounts/v1beta/programs_service/rest/helpers" if ::File.file? helper_path