# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v19/services/product_link_invitation_service.proto

require 'google/protobuf'

require 'google/ads/google_ads/v19/enums/product_link_invitation_status_pb'
require 'google/ads/google_ads/v19/resources/product_link_invitation_pb'
require 'google/api/annotations_pb'
require 'google/api/client_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'


descriptor_data = "\nGgoogle/ads/googleads/v19/services/product_link_invitation_service.proto\x12!google.ads.googleads.v19.services\x1a\x43google/ads/googleads/v19/enums/product_link_invitation_status.proto\x1a@google/ads/googleads/v19/resources/product_link_invitation.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x9f\x01\n\"CreateProductLinkInvitationRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12_\n\x17product_link_invitation\x18\x02 \x01(\x0b\x32\x39.google.ads.googleads.v19.resources.ProductLinkInvitationB\x03\xe0\x41\x02\"q\n#CreateProductLinkInvitationResponse\x12J\n\rresource_name\x18\x01 \x01(\tB3\xfa\x41\x30\n.googleads.googleapis.com/ProductLinkInvitation\"\x98\x02\n\"UpdateProductLinkInvitationRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x88\x01\n\x1eproduct_link_invitation_status\x18\x02 \x01(\x0e\x32[.google.ads.googleads.v19.enums.ProductLinkInvitationStatusEnum.ProductLinkInvitationStatusB\x03\xe0\x41\x02\x12M\n\rresource_name\x18\x03 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.googleads.googleapis.com/ProductLinkInvitation\"q\n#UpdateProductLinkInvitationResponse\x12J\n\rresource_name\x18\x01 \x01(\tB3\xfa\x41\x30\n.googleads.googleapis.com/ProductLinkInvitation\"\x8d\x01\n\"RemoveProductLinkInvitationRequest\x12\x18\n\x0b\x63ustomer_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12M\n\rresource_name\x18\x02 \x01(\tB6\xe0\x41\x02\xfa\x41\x30\n.googleads.googleapis.com/ProductLinkInvitation\"q\n#RemoveProductLinkInvitationResponse\x12J\n\rresource_name\x18\x01 \x01(\tB3\xfa\x41\x30\n.googleads.googleapis.com/ProductLinkInvitation2\xcb\x07\n\x1cProductLinkInvitationService\x12\x9b\x02\n\x1b\x43reateProductLinkInvitation\x12\x45.google.ads.googleads.v19.services.CreateProductLinkInvitationRequest\x1a\x46.google.ads.googleads.v19.services.CreateProductLinkInvitationResponse\"m\xda\x41#customer_id,product_link_invitation\x82\xd3\xe4\x93\x02\x41\"</v19/customers/{customer_id=*}/productLinkInvitations:create:\x01*\x12\xb1\x02\n\x1bUpdateProductLinkInvitation\x12\x45.google.ads.googleads.v19.services.UpdateProductLinkInvitationRequest\x1a\x46.google.ads.googleads.v19.services.UpdateProductLinkInvitationResponse\"\x82\x01\xda\x41\x38\x63ustomer_id,product_link_invitation_status,resource_name\x82\xd3\xe4\x93\x02\x41\"</v19/customers/{customer_id=*}/productLinkInvitations:update:\x01*\x12\x91\x02\n\x1bRemoveProductLinkInvitation\x12\x45.google.ads.googleads.v19.services.RemoveProductLinkInvitationRequest\x1a\x46.google.ads.googleads.v19.services.RemoveProductLinkInvitationResponse\"c\xda\x41\x19\x63ustomer_id,resource_name\x82\xd3\xe4\x93\x02\x41\"</v19/customers/{customer_id=*}/productLinkInvitations:remove:\x01*\x1a\x45\xca\x41\x18googleads.googleapis.com\xd2\x41\'https://www.googleapis.com/auth/adwordsB\x8d\x02\n%com.google.ads.googleads.v19.servicesB!ProductLinkInvitationServiceProtoP\x01ZIgoogle.golang.org/genproto/googleapis/ads/googleads/v19/services;services\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V19.Services\xca\x02!Google\\Ads\\GoogleAds\\V19\\Services\xea\x02%Google::Ads::GoogleAds::V19::Servicesb\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
    ["google.ads.googleads.v19.resources.ProductLinkInvitation", "google/ads/googleads/v19/resources/product_link_invitation.proto"],
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Google
  module Ads
    module GoogleAds
      module V19
        module Services
          CreateProductLinkInvitationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v19.services.CreateProductLinkInvitationRequest").msgclass
          CreateProductLinkInvitationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v19.services.CreateProductLinkInvitationResponse").msgclass
          UpdateProductLinkInvitationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v19.services.UpdateProductLinkInvitationRequest").msgclass
          UpdateProductLinkInvitationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v19.services.UpdateProductLinkInvitationResponse").msgclass
          RemoveProductLinkInvitationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v19.services.RemoveProductLinkInvitationRequest").msgclass
          RemoveProductLinkInvitationResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.ads.googleads.v19.services.RemoveProductLinkInvitationResponse").msgclass
        end
      end
    end
  end
end
