# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/marketingplatform/admin/v1alpha/marketingplatform_admin.proto

require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/api/client_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/marketingplatform/admin/v1alpha/resources_pb'
require 'google/protobuf/empty_pb'


descriptor_data = "\nDgoogle/marketingplatform/admin/v1alpha/marketingplatform_admin.proto\x12&google.marketingplatform.admin.v1alpha\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x36google/marketingplatform/admin/v1alpha/resources.proto\x1a\x1bgoogle/protobuf/empty.proto\"b\n\x16GetOrganizationRequest\x12H\n\x04name\x18\x01 \x01(\tB:\xe0\x41\x02\xfa\x41\x34\n2marketingplatformadmin.googleapis.com/Organization\"\xa7\x01\n ListAnalyticsAccountLinksRequest\x12R\n\x06parent\x18\x01 \x01(\tBB\xe0\x41\x02\xfa\x41<\x12:marketingplatformadmin.googleapis.com/AnalyticsAccountLink\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x9b\x01\n!ListAnalyticsAccountLinksResponse\x12]\n\x17\x61nalytics_account_links\x18\x01 \x03(\x0b\x32<.google.marketingplatform.admin.v1alpha.AnalyticsAccountLink\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xda\x01\n!CreateAnalyticsAccountLinkRequest\x12R\n\x06parent\x18\x01 \x01(\tBB\xe0\x41\x02\xfa\x41<\x12:marketingplatformadmin.googleapis.com/AnalyticsAccountLink\x12\x61\n\x16\x61nalytics_account_link\x18\x02 \x01(\x0b\x32<.google.marketingplatform.admin.v1alpha.AnalyticsAccountLinkB\x03\xe0\x41\x02\"u\n!DeleteAnalyticsAccountLinkRequest\x12P\n\x04name\x18\x01 \x01(\tBB\xe0\x41\x02\xfa\x41<\n:marketingplatformadmin.googleapis.com/AnalyticsAccountLink\"\xec\x01\n\x1eSetPropertyServiceLevelRequest\x12#\n\x16\x61nalytics_account_link\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12J\n\x12\x61nalytics_property\x18\x02 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&analyticsadmin.googleapis.com/Property\x12Y\n\rservice_level\x18\x03 \x01(\x0e\x32=.google.marketingplatform.admin.v1alpha.AnalyticsServiceLevelB\x03\xe0\x41\x02\"!\n\x1fSetPropertyServiceLevelResponse*\x87\x01\n\x15\x41nalyticsServiceLevel\x12\'\n#ANALYTICS_SERVICE_LEVEL_UNSPECIFIED\x10\x00\x12$\n ANALYTICS_SERVICE_LEVEL_STANDARD\x10\x01\x12\x1f\n\x1b\x41NALYTICS_SERVICE_LEVEL_360\x10\x02\x32\xb2\x0b\n\x1dMarketingplatformAdminService\x12\xb7\x01\n\x0fGetOrganization\x12>.google.marketingplatform.admin.v1alpha.GetOrganizationRequest\x1a\x34.google.marketingplatform.admin.v1alpha.Organization\".\xda\x41\x04name\x82\xd3\xe4\x93\x02!\x12\x1f/v1alpha/{name=organizations/*}\x12\xfa\x01\n\x19ListAnalyticsAccountLinks\x12H.google.marketingplatform.admin.v1alpha.ListAnalyticsAccountLinksRequest\x1aI.google.marketingplatform.admin.v1alpha.ListAnalyticsAccountLinksResponse\"H\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x39\x12\x37/v1alpha/{parent=organizations/*}/analyticsAccountLinks\x12\x9e\x02\n\x1a\x43reateAnalyticsAccountLink\x12I.google.marketingplatform.admin.v1alpha.CreateAnalyticsAccountLinkRequest\x1a<.google.marketingplatform.admin.v1alpha.AnalyticsAccountLink\"w\xda\x41\x1dparent,analytics_account_link\x82\xd3\xe4\x93\x02Q\"7/v1alpha/{parent=organizations/*}/analyticsAccountLinks:\x16\x61nalytics_account_link\x12\xc7\x01\n\x1a\x44\x65leteAnalyticsAccountLink\x12I.google.marketingplatform.admin.v1alpha.DeleteAnalyticsAccountLinkRequest\x1a\x16.google.protobuf.Empty\"F\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39*7/v1alpha/{name=organizations/*/analyticsAccountLinks/*}\x12\xb2\x02\n\x17SetPropertyServiceLevel\x12\x46.google.marketingplatform.admin.v1alpha.SetPropertyServiceLevelRequest\x1aG.google.marketingplatform.admin.v1alpha.SetPropertyServiceLevelResponse\"\x85\x01\xda\x41\x16\x61nalytics_account_link\x82\xd3\xe4\x93\x02\x66\"a/v1alpha/{analytics_account_link=organizations/*/analyticsAccountLinks/*}:setPropertyServiceLevel:\x01*\x1a\xb9\x01\xca\x41%marketingplatformadmin.googleapis.com\xd2\x41\x8d\x01https://www.googleapis.com/auth/marketingplatformadmin.analytics.read,https://www.googleapis.com/auth/marketingplatformadmin.analytics.updateB\xe9\x02\n.com.google.ads.marketingplatform.admin.v1alphaB\x1bMarketingplatformAdminProtoP\x01ZKgoogle.golang.org/genproto/googleapis/marketingplatform/admin/v1alpha;admin\xaa\x02*Google.Ads.MarketingPlatform.Admin.V1Alpha\xca\x02*Google\\Ads\\MarketingPlatform\\Admin\\V1alpha\xea\x02.Google::Ads::MarketingPlatform::Admin::V1alpha\xea\x41?\n&analyticsadmin.googleapis.com/Property\x12\x15properties/{property}b\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.marketingplatform.admin.v1alpha.AnalyticsAccountLink", "google/marketingplatform/admin/v1alpha/resources.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 MarketingPlatform
      module Admin
        module V1alpha
          GetOrganizationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.marketingplatform.admin.v1alpha.GetOrganizationRequest").msgclass
          ListAnalyticsAccountLinksRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.marketingplatform.admin.v1alpha.ListAnalyticsAccountLinksRequest").msgclass
          ListAnalyticsAccountLinksResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.marketingplatform.admin.v1alpha.ListAnalyticsAccountLinksResponse").msgclass
          CreateAnalyticsAccountLinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.marketingplatform.admin.v1alpha.CreateAnalyticsAccountLinkRequest").msgclass
          DeleteAnalyticsAccountLinkRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.marketingplatform.admin.v1alpha.DeleteAnalyticsAccountLinkRequest").msgclass
          SetPropertyServiceLevelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.marketingplatform.admin.v1alpha.SetPropertyServiceLevelRequest").msgclass
          SetPropertyServiceLevelResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.marketingplatform.admin.v1alpha.SetPropertyServiceLevelResponse").msgclass
          AnalyticsServiceLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.marketingplatform.admin.v1alpha.AnalyticsServiceLevel").enummodule
        end
      end
    end
  end
end
