# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/analytics/admin/v1alpha/resources.proto require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/protobuf/timestamp_pb' require 'google/protobuf/wrappers_pb' require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/analytics/admin/v1alpha/resources.proto", :syntax => :proto3) do add_message "google.analytics.admin.v1alpha.Account" do optional :name, :string, 1 optional :create_time, :message, 2, "google.protobuf.Timestamp" optional :update_time, :message, 3, "google.protobuf.Timestamp" optional :display_name, :string, 4 optional :region_code, :string, 5 optional :deleted, :bool, 6 end add_message "google.analytics.admin.v1alpha.Property" do optional :name, :string, 1 optional :create_time, :message, 3, "google.protobuf.Timestamp" optional :update_time, :message, 4, "google.protobuf.Timestamp" optional :parent, :string, 2 optional :display_name, :string, 5 optional :industry_category, :enum, 6, "google.analytics.admin.v1alpha.IndustryCategory" optional :time_zone, :string, 7 optional :currency_code, :string, 8 optional :service_level, :enum, 10, "google.analytics.admin.v1alpha.ServiceLevel" optional :delete_time, :message, 11, "google.protobuf.Timestamp" optional :expire_time, :message, 12, "google.protobuf.Timestamp" optional :account, :string, 13 end add_message "google.analytics.admin.v1alpha.AndroidAppDataStream" do optional :name, :string, 1 optional :firebase_app_id, :string, 2 optional :create_time, :message, 3, "google.protobuf.Timestamp" optional :update_time, :message, 4, "google.protobuf.Timestamp" optional :package_name, :string, 5 optional :display_name, :string, 6 end add_message "google.analytics.admin.v1alpha.IosAppDataStream" do optional :name, :string, 1 optional :firebase_app_id, :string, 2 optional :create_time, :message, 3, "google.protobuf.Timestamp" optional :update_time, :message, 4, "google.protobuf.Timestamp" optional :bundle_id, :string, 5 optional :display_name, :string, 6 end add_message "google.analytics.admin.v1alpha.WebDataStream" do optional :name, :string, 1 optional :measurement_id, :string, 2 optional :firebase_app_id, :string, 3 optional :create_time, :message, 4, "google.protobuf.Timestamp" optional :update_time, :message, 5, "google.protobuf.Timestamp" optional :default_uri, :string, 6 optional :display_name, :string, 7 end add_message "google.analytics.admin.v1alpha.DataStream" do optional :name, :string, 1 optional :type, :enum, 2, "google.analytics.admin.v1alpha.DataStream.DataStreamType" optional :display_name, :string, 3 optional :create_time, :message, 4, "google.protobuf.Timestamp" optional :update_time, :message, 5, "google.protobuf.Timestamp" oneof :stream_data do optional :web_stream_data, :message, 6, "google.analytics.admin.v1alpha.DataStream.WebStreamData" optional :android_app_stream_data, :message, 7, "google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData" optional :ios_app_stream_data, :message, 8, "google.analytics.admin.v1alpha.DataStream.IosAppStreamData" end end add_message "google.analytics.admin.v1alpha.DataStream.WebStreamData" do optional :measurement_id, :string, 1 optional :firebase_app_id, :string, 2 optional :default_uri, :string, 3 end add_message "google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData" do optional :firebase_app_id, :string, 1 optional :package_name, :string, 2 end add_message "google.analytics.admin.v1alpha.DataStream.IosAppStreamData" do optional :firebase_app_id, :string, 1 optional :bundle_id, :string, 2 end add_enum "google.analytics.admin.v1alpha.DataStream.DataStreamType" do value :DATA_STREAM_TYPE_UNSPECIFIED, 0 value :WEB_DATA_STREAM, 1 value :ANDROID_APP_DATA_STREAM, 2 value :IOS_APP_DATA_STREAM, 3 end add_message "google.analytics.admin.v1alpha.UserLink" do optional :name, :string, 1 optional :email_address, :string, 2 repeated :direct_roles, :string, 3 end add_message "google.analytics.admin.v1alpha.AuditUserLink" do optional :name, :string, 1 optional :email_address, :string, 2 repeated :direct_roles, :string, 3 repeated :effective_roles, :string, 4 end add_message "google.analytics.admin.v1alpha.FirebaseLink" do optional :name, :string, 1 optional :project, :string, 2 optional :create_time, :message, 3, "google.protobuf.Timestamp" end add_message "google.analytics.admin.v1alpha.GlobalSiteTag" do optional :name, :string, 1 optional :snippet, :string, 2 end add_message "google.analytics.admin.v1alpha.GoogleAdsLink" do optional :name, :string, 1 optional :customer_id, :string, 3 optional :can_manage_clients, :bool, 4 optional :ads_personalization_enabled, :message, 5, "google.protobuf.BoolValue" optional :create_time, :message, 7, "google.protobuf.Timestamp" optional :update_time, :message, 8, "google.protobuf.Timestamp" optional :creator_email_address, :string, 9 end add_message "google.analytics.admin.v1alpha.DataSharingSettings" do optional :name, :string, 1 optional :sharing_with_google_support_enabled, :bool, 2 optional :sharing_with_google_assigned_sales_enabled, :bool, 3 optional :sharing_with_google_any_sales_enabled, :bool, 4 optional :sharing_with_google_products_enabled, :bool, 5 optional :sharing_with_others_enabled, :bool, 6 end add_message "google.analytics.admin.v1alpha.AccountSummary" do optional :name, :string, 1 optional :account, :string, 2 optional :display_name, :string, 3 repeated :property_summaries, :message, 4, "google.analytics.admin.v1alpha.PropertySummary" end add_message "google.analytics.admin.v1alpha.PropertySummary" do optional :property, :string, 1 optional :display_name, :string, 2 end add_message "google.analytics.admin.v1alpha.MeasurementProtocolSecret" do optional :name, :string, 1 optional :display_name, :string, 2 optional :secret_value, :string, 3 end add_message "google.analytics.admin.v1alpha.ChangeHistoryEvent" do optional :id, :string, 1 optional :change_time, :message, 2, "google.protobuf.Timestamp" optional :actor_type, :enum, 3, "google.analytics.admin.v1alpha.ActorType" optional :user_actor_email, :string, 4 optional :changes_filtered, :bool, 5 repeated :changes, :message, 6, "google.analytics.admin.v1alpha.ChangeHistoryChange" end add_message "google.analytics.admin.v1alpha.ChangeHistoryChange" do optional :resource, :string, 1 optional :action, :enum, 2, "google.analytics.admin.v1alpha.ActionType" optional :resource_before_change, :message, 3, "google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource" optional :resource_after_change, :message, 4, "google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource" end add_message "google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource" do oneof :resource do optional :account, :message, 1, "google.analytics.admin.v1alpha.Account" optional :property, :message, 2, "google.analytics.admin.v1alpha.Property" optional :web_data_stream, :message, 3, "google.analytics.admin.v1alpha.WebDataStream" optional :android_app_data_stream, :message, 4, "google.analytics.admin.v1alpha.AndroidAppDataStream" optional :ios_app_data_stream, :message, 5, "google.analytics.admin.v1alpha.IosAppDataStream" optional :firebase_link, :message, 6, "google.analytics.admin.v1alpha.FirebaseLink" optional :google_ads_link, :message, 7, "google.analytics.admin.v1alpha.GoogleAdsLink" optional :google_signals_settings, :message, 8, "google.analytics.admin.v1alpha.GoogleSignalsSettings" optional :display_video_360_advertiser_link, :message, 9, "google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink" optional :display_video_360_advertiser_link_proposal, :message, 10, "google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal" optional :conversion_event, :message, 11, "google.analytics.admin.v1alpha.ConversionEvent" optional :measurement_protocol_secret, :message, 12, "google.analytics.admin.v1alpha.MeasurementProtocolSecret" optional :custom_dimension, :message, 13, "google.analytics.admin.v1alpha.CustomDimension" optional :custom_metric, :message, 14, "google.analytics.admin.v1alpha.CustomMetric" optional :data_retention_settings, :message, 15, "google.analytics.admin.v1alpha.DataRetentionSettings" end end add_message "google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink" do optional :name, :string, 1 optional :advertiser_id, :string, 2 optional :advertiser_display_name, :string, 3 optional :ads_personalization_enabled, :message, 4, "google.protobuf.BoolValue" optional :campaign_data_sharing_enabled, :message, 5, "google.protobuf.BoolValue" optional :cost_data_sharing_enabled, :message, 6, "google.protobuf.BoolValue" end add_message "google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal" do optional :name, :string, 1 optional :advertiser_id, :string, 2 optional :link_proposal_status_details, :message, 3, "google.analytics.admin.v1alpha.LinkProposalStatusDetails" optional :advertiser_display_name, :string, 4 optional :validation_email, :string, 5 optional :ads_personalization_enabled, :message, 6, "google.protobuf.BoolValue" optional :campaign_data_sharing_enabled, :message, 7, "google.protobuf.BoolValue" optional :cost_data_sharing_enabled, :message, 8, "google.protobuf.BoolValue" end add_message "google.analytics.admin.v1alpha.LinkProposalStatusDetails" do optional :link_proposal_initiating_product, :enum, 1, "google.analytics.admin.v1alpha.LinkProposalInitiatingProduct" optional :requestor_email, :string, 2 optional :link_proposal_state, :enum, 3, "google.analytics.admin.v1alpha.LinkProposalState" end add_message "google.analytics.admin.v1alpha.ConversionEvent" do optional :name, :string, 1 optional :event_name, :string, 2 optional :create_time, :message, 3, "google.protobuf.Timestamp" optional :deletable, :bool, 4 optional :custom, :bool, 5 end add_message "google.analytics.admin.v1alpha.GoogleSignalsSettings" do optional :name, :string, 1 optional :state, :enum, 3, "google.analytics.admin.v1alpha.GoogleSignalsState" optional :consent, :enum, 4, "google.analytics.admin.v1alpha.GoogleSignalsConsent" end add_message "google.analytics.admin.v1alpha.CustomDimension" do optional :name, :string, 1 optional :parameter_name, :string, 2 optional :display_name, :string, 3 optional :description, :string, 4 optional :scope, :enum, 5, "google.analytics.admin.v1alpha.CustomDimension.DimensionScope" optional :disallow_ads_personalization, :bool, 6 end add_enum "google.analytics.admin.v1alpha.CustomDimension.DimensionScope" do value :DIMENSION_SCOPE_UNSPECIFIED, 0 value :EVENT, 1 value :USER, 2 end add_message "google.analytics.admin.v1alpha.CustomMetric" do optional :name, :string, 1 optional :parameter_name, :string, 2 optional :display_name, :string, 3 optional :description, :string, 4 optional :measurement_unit, :enum, 5, "google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit" optional :scope, :enum, 6, "google.analytics.admin.v1alpha.CustomMetric.MetricScope" end add_enum "google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit" do value :MEASUREMENT_UNIT_UNSPECIFIED, 0 value :STANDARD, 1 value :CURRENCY, 2 value :FEET, 3 value :METERS, 4 value :KILOMETERS, 5 value :MILES, 6 value :MILLISECONDS, 7 value :SECONDS, 8 value :MINUTES, 9 value :HOURS, 10 end add_enum "google.analytics.admin.v1alpha.CustomMetric.MetricScope" do value :METRIC_SCOPE_UNSPECIFIED, 0 value :EVENT, 1 end add_message "google.analytics.admin.v1alpha.DataRetentionSettings" do optional :name, :string, 1 optional :event_data_retention, :enum, 2, "google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration" optional :reset_user_data_on_new_activity, :bool, 3 end add_enum "google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration" do value :RETENTION_DURATION_UNSPECIFIED, 0 value :TWO_MONTHS, 1 value :FOURTEEN_MONTHS, 3 value :TWENTY_SIX_MONTHS, 4 value :THIRTY_EIGHT_MONTHS, 5 value :FIFTY_MONTHS, 6 end add_enum "google.analytics.admin.v1alpha.IndustryCategory" do value :INDUSTRY_CATEGORY_UNSPECIFIED, 0 value :AUTOMOTIVE, 1 value :BUSINESS_AND_INDUSTRIAL_MARKETS, 2 value :FINANCE, 3 value :HEALTHCARE, 4 value :TECHNOLOGY, 5 value :TRAVEL, 6 value :OTHER, 7 value :ARTS_AND_ENTERTAINMENT, 8 value :BEAUTY_AND_FITNESS, 9 value :BOOKS_AND_LITERATURE, 10 value :FOOD_AND_DRINK, 11 value :GAMES, 12 value :HOBBIES_AND_LEISURE, 13 value :HOME_AND_GARDEN, 14 value :INTERNET_AND_TELECOM, 15 value :LAW_AND_GOVERNMENT, 16 value :NEWS, 17 value :ONLINE_COMMUNITIES, 18 value :PEOPLE_AND_SOCIETY, 19 value :PETS_AND_ANIMALS, 20 value :REAL_ESTATE, 21 value :REFERENCE, 22 value :SCIENCE, 23 value :SPORTS, 24 value :JOBS_AND_EDUCATION, 25 value :SHOPPING, 26 end add_enum "google.analytics.admin.v1alpha.ServiceLevel" do value :SERVICE_LEVEL_UNSPECIFIED, 0 value :GOOGLE_ANALYTICS_STANDARD, 1 value :GOOGLE_ANALYTICS_360, 2 end add_enum "google.analytics.admin.v1alpha.ActorType" do value :ACTOR_TYPE_UNSPECIFIED, 0 value :USER, 1 value :SYSTEM, 2 value :SUPPORT, 3 end add_enum "google.analytics.admin.v1alpha.ActionType" do value :ACTION_TYPE_UNSPECIFIED, 0 value :CREATED, 1 value :UPDATED, 2 value :DELETED, 3 end add_enum "google.analytics.admin.v1alpha.ChangeHistoryResourceType" do value :CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED, 0 value :ACCOUNT, 1 value :PROPERTY, 2 value :WEB_DATA_STREAM, 3 value :ANDROID_APP_DATA_STREAM, 4 value :IOS_APP_DATA_STREAM, 5 value :FIREBASE_LINK, 6 value :GOOGLE_ADS_LINK, 7 value :GOOGLE_SIGNALS_SETTINGS, 8 value :CONVERSION_EVENT, 9 value :MEASUREMENT_PROTOCOL_SECRET, 10 value :CUSTOM_DIMENSION, 11 value :CUSTOM_METRIC, 12 value :DATA_RETENTION_SETTINGS, 13 value :DISPLAY_VIDEO_360_ADVERTISER_LINK, 14 value :DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL, 15 end add_enum "google.analytics.admin.v1alpha.GoogleSignalsState" do value :GOOGLE_SIGNALS_STATE_UNSPECIFIED, 0 value :GOOGLE_SIGNALS_ENABLED, 1 value :GOOGLE_SIGNALS_DISABLED, 2 end add_enum "google.analytics.admin.v1alpha.GoogleSignalsConsent" do value :GOOGLE_SIGNALS_CONSENT_UNSPECIFIED, 0 value :GOOGLE_SIGNALS_CONSENT_CONSENTED, 2 value :GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED, 1 end add_enum "google.analytics.admin.v1alpha.LinkProposalInitiatingProduct" do value :LINK_PROPOSAL_INITIATING_PRODUCT_UNSPECIFIED, 0 value :GOOGLE_ANALYTICS, 1 value :LINKED_PRODUCT, 2 end add_enum "google.analytics.admin.v1alpha.LinkProposalState" do value :LINK_PROPOSAL_STATE_UNSPECIFIED, 0 value :AWAITING_REVIEW_FROM_GOOGLE_ANALYTICS, 1 value :AWAITING_REVIEW_FROM_LINKED_PRODUCT, 2 value :WITHDRAWN, 3 value :DECLINED, 4 value :EXPIRED, 5 value :OBSOLETE, 6 end end end module Google module Analytics module Admin module V1alpha Account = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.Account").msgclass Property = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.Property").msgclass AndroidAppDataStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AndroidAppDataStream").msgclass IosAppDataStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.IosAppDataStream").msgclass WebDataStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.WebDataStream").msgclass DataStream = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataStream").msgclass DataStream::WebStreamData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataStream.WebStreamData").msgclass DataStream::AndroidAppStreamData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataStream.AndroidAppStreamData").msgclass DataStream::IosAppStreamData = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataStream.IosAppStreamData").msgclass DataStream::DataStreamType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataStream.DataStreamType").enummodule UserLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.UserLink").msgclass AuditUserLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AuditUserLink").msgclass FirebaseLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.FirebaseLink").msgclass GlobalSiteTag = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GlobalSiteTag").msgclass GoogleAdsLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GoogleAdsLink").msgclass DataSharingSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataSharingSettings").msgclass AccountSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.AccountSummary").msgclass PropertySummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.PropertySummary").msgclass MeasurementProtocolSecret = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.MeasurementProtocolSecret").msgclass ChangeHistoryEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChangeHistoryEvent").msgclass ChangeHistoryChange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChangeHistoryChange").msgclass ChangeHistoryChange::ChangeHistoryResource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChangeHistoryChange.ChangeHistoryResource").msgclass DisplayVideo360AdvertiserLink = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink").msgclass DisplayVideo360AdvertiserLinkProposal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLinkProposal").msgclass LinkProposalStatusDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.LinkProposalStatusDetails").msgclass ConversionEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ConversionEvent").msgclass GoogleSignalsSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GoogleSignalsSettings").msgclass CustomDimension = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CustomDimension").msgclass CustomDimension::DimensionScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CustomDimension.DimensionScope").enummodule CustomMetric = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CustomMetric").msgclass CustomMetric::MeasurementUnit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CustomMetric.MeasurementUnit").enummodule CustomMetric::MetricScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.CustomMetric.MetricScope").enummodule DataRetentionSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataRetentionSettings").msgclass DataRetentionSettings::RetentionDuration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.DataRetentionSettings.RetentionDuration").enummodule IndustryCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.IndustryCategory").enummodule ServiceLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ServiceLevel").enummodule ActorType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ActorType").enummodule ActionType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ActionType").enummodule ChangeHistoryResourceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.ChangeHistoryResourceType").enummodule GoogleSignalsState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GoogleSignalsState").enummodule GoogleSignalsConsent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.GoogleSignalsConsent").enummodule LinkProposalInitiatingProduct = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.LinkProposalInitiatingProduct").enummodule LinkProposalState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.analytics.admin.v1alpha.LinkProposalState").enummodule end end end end